Use packaged versions of lodash and babel-plugin-lodash
This commit is contained in:
parent
97d7d949e4
commit
e702d624af
2 changed files with 13 additions and 2 deletions
3
debian/control
vendored
3
debian/control
vendored
|
@ -423,6 +423,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends},
|
||||||
node-axios (>= 0.17.1~),
|
node-axios (>= 0.17.1~),
|
||||||
node-babel7,
|
node-babel7,
|
||||||
node-babel-loader (>= 8.0~),
|
node-babel-loader (>= 8.0~),
|
||||||
|
node-babel-plugin-lodash,
|
||||||
node-bootstrap,
|
node-bootstrap,
|
||||||
node-brace-expansion (>= 1.1.8~),
|
node-brace-expansion (>= 1.1.8~),
|
||||||
node-cache-loader (>= 4.1~),
|
node-cache-loader (>= 4.1~),
|
||||||
|
@ -455,7 +456,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends},
|
||||||
node-jszip,
|
node-jszip,
|
||||||
node-jszip-utils (>= 0.0.2+dfsg-2~),
|
node-jszip-utils (>= 0.0.2+dfsg-2~),
|
||||||
node-katex (>= 0.10.2+dfsg-8~),
|
node-katex (>= 0.10.2+dfsg-8~),
|
||||||
node-lodash (>= 4.17.20+dfsg+~cs8.31.172~),
|
node-lodash (>= 4.17.21+dfsg+~cs8.31.189.20210220~),
|
||||||
node-marked (>= 0.3~),
|
node-marked (>= 0.3~),
|
||||||
node-mermaid (>= 8.9~),
|
node-mermaid (>= 8.9~),
|
||||||
node-minimatch,
|
node-minimatch,
|
||||||
|
|
12
debian/patches/0740-use-packaged-modules.patch
vendored
12
debian/patches/0740-use-packaged-modules.patch
vendored
|
@ -108,6 +108,15 @@ Use debian packaged node modules when available
|
||||||
};
|
};
|
||||||
--- a/package.json
|
--- a/package.json
|
||||||
+++ b/package.json
|
+++ b/package.json
|
||||||
|
@@ -76,7 +76,7 @@
|
||||||
|
"aws-sdk": "^2.637.0",
|
||||||
|
"axios": "^0.20.0",
|
||||||
|
"babel-loader": "^8.2.2",
|
||||||
|
- "babel-plugin-lodash": "^3.3.4",
|
||||||
|
+ "babel-plugin-lodash": "link:/usr/share/nodejs/babel-plugin-lodash",
|
||||||
|
"bootstrap": "4.4.1",
|
||||||
|
"cache-loader": "^4.1.0",
|
||||||
|
"clipboard": "^1.7.1",
|
||||||
@@ -113,26 +113,26 @@
|
@@ -113,26 +113,26 @@
|
||||||
"jquery": "^3.5.0",
|
"jquery": "^3.5.0",
|
||||||
"jquery.caret": "^0.3.1",
|
"jquery.caret": "^0.3.1",
|
||||||
|
@ -117,12 +126,13 @@ Use debian packaged node modules when available
|
||||||
- "jszip": "^3.1.3",
|
- "jszip": "^3.1.3",
|
||||||
- "jszip-utils": "^0.0.2",
|
- "jszip-utils": "^0.0.2",
|
||||||
- "katex": "^0.10.0",
|
- "katex": "^0.10.0",
|
||||||
|
- "lodash": "^4.17.20",
|
||||||
+ "js-cookie": "link:/usr/share/nodejs/js-cookie",
|
+ "js-cookie": "link:/usr/share/nodejs/js-cookie",
|
||||||
+ "js-yaml": "link:/usr/share/nodejs/js-yaml",
|
+ "js-yaml": "link:/usr/share/nodejs/js-yaml",
|
||||||
+ "jszip": "link:/usr/share/nodejs/jszip",
|
+ "jszip": "link:/usr/share/nodejs/jszip",
|
||||||
+ "jszip-utils": "link:/usr/share/nodejs/jszip",
|
+ "jszip-utils": "link:/usr/share/nodejs/jszip",
|
||||||
+ "katex": "link:/usr/share/nodejs/katex",
|
+ "katex": "link:/usr/share/nodejs/katex",
|
||||||
"lodash": "^4.17.20",
|
+ "lodash": "link:/usr/share/nodejs/lodash",
|
||||||
"marked": "^0.3.12",
|
"marked": "^0.3.12",
|
||||||
"mathjax": "3",
|
"mathjax": "3",
|
||||||
- "mermaid": "^8.9.0",
|
- "mermaid": "^8.9.0",
|
||||||
|
|
Loading…
Add table
Reference in a new issue