Skip to content

Commit ae4400d

Browse files
upgrade dependencies
1 parent f6f0f7a commit ae4400d

File tree

10 files changed

+71
-2006
lines changed

10 files changed

+71
-2006
lines changed

js/dist/gn.js

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
(function(exports, undefined){
1+
( function ( ) {
22

3-
'use strict';
3+
'use strict' ;
4+
5+
var definition = function ( exports , undefined ) {
46

57

68
/* js/src/undirected */
@@ -2132,4 +2134,16 @@ var sparse_graph_t = function(){
21322134

21332135
exports.sparse_graph_t = sparse_graph_t;
21342136

2135-
})(typeof exports === 'undefined' ? this['gn'] = {} : exports);
2137+
return exports ;
2138+
} ;
2139+
if ( typeof exports === "object" ) {
2140+
definition( exports ) ;
2141+
}
2142+
else if ( typeof define === "function" && define.amd ) {
2143+
define( "aureooms-js-gn" , [ ] , function ( ) { return definition( { } ) ; } ) ;
2144+
}
2145+
else if ( typeof window === "object" && typeof window.document === "object" ) {
2146+
definition( window["gn"] = { } ) ;
2147+
}
2148+
else console.error( "unable to detect type of module to define for aureooms-js-gn") ;
2149+
} )( ) ;

js/dist/gn.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/dist/gn.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/index.js

Lines changed: 0 additions & 15 deletions
This file was deleted.

package.json

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
{
2-
"name": "aureooms-js-gn",
3-
"description": "graphs and networks code bricks for JavaScript",
4-
"version": "1.0.4",
5-
"main": "js/dist/gn.js",
6-
"dependencies": {},
7-
"devDependencies": {
8-
"aureooms-node-package": "^1.1.3",
9-
"aureooms-js-functools": "^0.0.5",
10-
"aureooms-js-algo": "^0.4.1"
11-
},
12-
"scripts": {
13-
"build": "./node_modules/.bin/aureooms-node-package-build",
14-
"test": "./node_modules/.bin/aureooms-node-package-test",
15-
"doc": "./node_modules/.bin/groc"
16-
},
17-
"repository": {
18-
"type": "git",
19-
"url": "https://github.com/aureooms/js-gn.git"
20-
},
21-
"keywords": [
22-
"js",
23-
"javascript",
24-
"algorithm",
25-
"adt",
26-
"template",
27-
"complexity",
28-
"graphs",
29-
"networks",
30-
"gn"
31-
],
32-
"author": "aureooms",
33-
"license": "AGPL-3.0",
34-
"bugs": {
35-
"url": "https://github.com/aureooms/js-gn/issues"
36-
},
37-
"homepage": "https://aureooms.github.io/js-gn"
38-
}
2+
"name": "aureooms-js-gn",
3+
"description": "graphs and networks code bricks for JavaScript",
4+
"version": "1.0.4",
5+
"main": "js/dist/gn.js",
6+
"dependencies": {},
7+
"devDependencies": {
8+
"aureooms-js-binomial-heap": "^10.0.0",
9+
"aureooms-js-functools": "^2.0.3",
10+
"aureooms-node-package": "^4.2.5"
11+
},
12+
"scripts": {
13+
"build": "./node_modules/.bin/aureooms-node-package-build",
14+
"test": "./node_modules/.bin/aureooms-node-package-test",
15+
"doc": "./node_modules/.bin/groc"
16+
},
17+
"repository": {
18+
"type": "git",
19+
"url": "https://github.com/aureooms/js-gn.git"
20+
},
21+
"keywords": [
22+
"js",
23+
"javascript",
24+
"algorithm",
25+
"adt",
26+
"template",
27+
"complexity",
28+
"graphs",
29+
"networks",
30+
"gn"
31+
],
32+
"author": "aureooms",
33+
"license": "AGPL-3.0",
34+
"bugs": {
35+
"url": "https://github.com/aureooms/js-gn/issues"
36+
},
37+
"homepage": "https://aureooms.github.io/js-gn"
38+
}

pkg.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"ns": "gn",
2+
"name": "gn",
33
"code": {
44
"main": [
55
"js",
@@ -14,4 +14,4 @@
1414
"src": "js/src/",
1515
"debug": false,
1616
"out": "js/dist/"
17-
}
17+
}

0 commit comments

Comments
 (0)