Add schema-utils 3.0, mkdirp 1.0 and loader-utils 2.0 to package.json

to ensure compatibility with packaged modules (See #976310)
This commit is contained in:
Pirate Praveen 2020-12-06 17:23:43 +05:30
parent 9b82a72575
commit c63789a24b
No known key found for this signature in database
GPG key ID: 8F53E0193B294B75

View file

@ -3,6 +3,8 @@ Use debian packaged node modules when available
- Remove webpack-bundle-analyzer - Remove webpack-bundle-analyzer
- Resolve .json files - Resolve .json files
- Add more plugins to babel.config.js - Add more plugins to babel.config.js
- Add schema-utils 3.0, mkdirp 1.0 and loader-utils 2.0 to ensure compatibility
for packaged modules (See #976310)
--- a/config/webpack.config.js --- a/config/webpack.config.js
+++ b/config/webpack.config.js +++ b/config/webpack.config.js
@ -119,7 +121,7 @@ Use debian packaged node modules when available
"diff": "^3.4.0", "diff": "^3.4.0",
"document-register-element": "1.14.3", "document-register-element": "1.14.3",
"dompurify": "^2.0.11", "dompurify": "^2.0.11",
@@ -85,29 +62,18 @@ @@ -85,81 +62,55 @@
"editorconfig": "^0.15.3", "editorconfig": "^0.15.3",
"emoji-regex": "^7.0.3", "emoji-regex": "^7.0.3",
"emoji-unicode-version": "^0.2.1", "emoji-unicode-version": "^0.2.1",
@ -146,10 +148,14 @@ Use debian packaged node modules when available
- "jszip-utils": "^0.0.2", - "jszip-utils": "^0.0.2",
"katex": "^0.10.0", "katex": "^0.10.0",
- "lodash": "^4.17.20", - "lodash": "^4.17.20",
+ "loader-utils": "^2.0.0",
"marked": "^0.3.12", "marked": "^0.3.12",
"mermaid": "^8.5.2", "mermaid": "^8.5.2",
"mersenne-twister": "1.1.0", "mersenne-twister": "1.1.0",
@@ -117,49 +83,31 @@ "minimatch": "^3.0.4",
"miragejs": "^0.1.40",
+ "mkdirp": "^1.0.4",
"mock-apollo-client": "^0.4.0",
"monaco-editor": "^0.20.0", "monaco-editor": "^0.20.0",
"monaco-editor-webpack-plugin": "^1.9.0", "monaco-editor-webpack-plugin": "^1.9.0",
"monaco-yaml": "^2.4.1", "monaco-yaml": "^2.4.1",
@ -162,6 +168,7 @@ Use debian packaged node modules when available
- "prosemirror-model": "^1.6.4", - "prosemirror-model": "^1.6.4",
"raphael": "^2.2.7", "raphael": "^2.2.7",
- "raw-loader": "^4.0.0", - "raw-loader": "^4.0.0",
+ "schema-utils": "^3.0.0",
"select2": "3.5.2-browserify", "select2": "3.5.2-browserify",
"smooshpack": "^0.0.62", "smooshpack": "^0.0.62",
"sortablejs": "^1.10.2", "sortablejs": "^1.10.2",