Skip to content

Commit

Permalink
Fix imports from js-graph-algorithms
Browse files Browse the repository at this point in the history
  • Loading branch information
backspace committed Feb 3, 2023
1 parent 84f16a1 commit 518aaf8
Show file tree
Hide file tree
Showing 3 changed files with 285 additions and 0 deletions.
269 changes: 269 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"build": "ember build --environment=production",
"lint:hbs": "ember-template-lint .",
"lint:js": "eslint .",
"postinstall": "patch-package",
"start": "ember serve",
"test": "ember test"
},
Expand Down Expand Up @@ -84,6 +85,7 @@
"moment-timezone": "0.5.0",
"node-sass": "^4.14.1",
"nokia-font": "backspace/nokia-font#primary",
"patch-package": "^6.5.1",
"pdfkit": "^0.10.0",
"pouchdb-adapter-memory": "^7.3.1",
"qunit-dom": "^1.0.0",
Expand Down
14 changes: 14 additions & 0 deletions patches/js-graph-algorithms+1.0.18.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/node_modules/js-graph-algorithms/src/jsgraphs.js b/node_modules/js-graph-algorithms/src/jsgraphs.js
index 12fbde5..1b112a6 100755
--- a/node_modules/js-graph-algorithms/src/jsgraphs.js
+++ b/node_modules/js-graph-algorithms/src/jsgraphs.js
@@ -1202,7 +1202,4 @@ var jsgraphs = jsgraphs || {};
jss.FordFulkerson = FordFulkerson;
})(jsgraphs);

-var module = module || {};
-if(module) {
- module.exports = jsgraphs;
-}
\ No newline at end of file
+module.exports = jsgraphs;

0 comments on commit 518aaf8

Please sign in to comment.