webpack 5.12.1 → 5.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of webpack might be problematic. Click here for more details.

package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "webpack",
3
- "version": "5.12.1",
3
+ "version": "5.14.0",
4
4
  "author": "Tobias Koppers @sokra",
5
5
  "description": "Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.",
6
6
  "license": "MIT",
7
7
  "dependencies": {
8
8
  "@types/eslint-scope": "^3.7.0",
9
9
  "@types/estree": "^0.0.45",
10
- "@webassemblyjs/ast": "1.9.1",
11
- "@webassemblyjs/helper-module-context": "1.9.1",
12
- "@webassemblyjs/wasm-edit": "1.9.1",
13
- "@webassemblyjs/wasm-parser": "1.9.1",
10
+ "@webassemblyjs/ast": "1.11.0",
11
+ "@webassemblyjs/wasm-edit": "1.11.0",
12
+ "@webassemblyjs/wasm-parser": "1.11.0",
14
13
  "acorn": "^8.0.4",
15
14
  "browserslist": "^4.14.5",
16
15
  "chrome-trace-event": "^1.0.2",
17
- "enhanced-resolve": "^5.3.1",
16
+ "enhanced-resolve": "^5.7.0",
17
+ "es-module-lexer": "^0.3.26",
18
18
  "eslint-scope": "^5.1.1",
19
19
  "events": "^3.2.0",
20
20
  "glob-to-regexp": "^0.4.1",
@@ -26,7 +26,7 @@
26
26
  "pkg-dir": "^5.0.0",
27
27
  "schema-utils": "^3.0.0",
28
28
  "tapable": "^2.1.1",
29
- "terser-webpack-plugin": "^5.0.3",
29
+ "terser-webpack-plugin": "^5.1.1",
30
30
  "watchpack": "^2.0.0",
31
31
  "webpack-sources": "^2.1.1"
32
32
  },
@@ -38,6 +38,7 @@
38
38
  "devDependencies": {
39
39
  "@babel/core": "^7.11.1",
40
40
  "@babel/preset-react": "^7.10.4",
41
+ "@types/es-module-lexer": "^0.3.0",
41
42
  "@types/jest": "^26.0.15",
42
43
  "@types/node": "^14.14.10",
43
44
  "babel-loader": "^8.1.0",
@@ -55,7 +56,7 @@
55
56
  "eslint": "^7.14.0",
56
57
  "eslint-config-prettier": "^7.0.0",
57
58
  "eslint-plugin-jest": "^24.1.3",
58
- "eslint-plugin-jsdoc": "^30.7.8",
59
+ "eslint-plugin-jsdoc": "^31.0.3",
59
60
  "eslint-plugin-node": "^11.0.0",
60
61
  "eslint-plugin-prettier": "^3.1.4",
61
62
  "file-loader": "^6.0.0",
@@ -92,11 +93,11 @@
92
93
  "style-loader": "^2.0.0",
93
94
  "terser": "^5.5.0",
94
95
  "toml": "^3.0.0",
95
- "tooling": "webpack/tooling#v1.12.1",
96
+ "tooling": "webpack/tooling#v1.14.0",
96
97
  "ts-loader": "^8.0.2",
97
- "typescript": "^4.2.0-dev.20201130",
98
+ "typescript": "^4.2.0-beta",
98
99
  "url-loader": "^4.1.0",
99
- "wast-loader": "^1.9.0",
100
+ "wast-loader": "^1.11.0",
100
101
  "webassembly-feature": "1.3.0",
101
102
  "webpack-cli": "^4.3.0",
102
103
  "xxhashjs": "^0.2.2",
@@ -151,8 +152,8 @@
151
152
  "type-lint": "tsc",
152
153
  "typings-lint": "tsc -p tsconfig.test.json",
153
154
  "spellcheck": "cspell \"{.github,benchmark,bin,examples,hot,lib,schemas,setup,tooling}/**/*.{md,yml,yaml,js,json}\" \"*.md\"",
154
- "special-lint": "node node_modules/tooling/lockfile-lint && node node_modules/tooling/schemas-lint && node node_modules/tooling/inherit-types && node node_modules/tooling/format-schemas && node tooling/generate-runtime-code.js && node node_modules/tooling/format-file-header && node node_modules/tooling/compile-to-definitions && node node_modules/tooling/generate-types",
155
- "special-lint-fix": "node node_modules/tooling/inherit-types --write && node node_modules/tooling/format-schemas --write && node tooling/generate-runtime-code.js --write && node node_modules/tooling/format-file-header --write && node node_modules/tooling/compile-to-definitions --write && node node_modules/tooling/generate-types --write",
155
+ "special-lint": "node node_modules/tooling/lockfile-lint && node node_modules/tooling/schemas-lint && node node_modules/tooling/inherit-types && node node_modules/tooling/format-schemas && node tooling/generate-runtime-code.js && node node_modules/tooling/format-file-header && node node_modules/tooling/compile-to-definitions && node node_modules/tooling/generate-types --no-template-literals",
156
+ "special-lint-fix": "node node_modules/tooling/inherit-types --write && node node_modules/tooling/format-schemas --write && node tooling/generate-runtime-code.js --write && node node_modules/tooling/format-file-header --write && node node_modules/tooling/compile-to-definitions --write && node node_modules/tooling/generate-types --no-template-literals --write",
156
157
  "fix": "yarn code-lint --fix && yarn special-lint-fix && yarn pretty-lint-fix",
157
158
  "pretty-lint-base": "prettier \"*.{ts,json,yml,yaml,md}\" \"{setup,lib,bin,hot,benchmark,tooling,schemas}/**/*.json\" \"examples/*.md\"",
158
159
  "pretty-lint-base-all": "yarn pretty-lint-base \"*.js\" \"{setup,lib,bin,hot,benchmark,tooling,schemas}/**/*.js\" \"test/*.js\" \"test/helpers/*.js\" \"test/{configCases,watchCases,statsCases,hotCases,benchmarkCases}/**/webpack.config.js\" \"examples/**/webpack.config.js\"",
@@ -2861,6 +2861,10 @@
2861
2861
  ]
2862
2862
  }
2863
2863
  },
2864
+ "preferAbsolute": {
2865
+ "description": "Prefer to resolve server-relative URLs (starting with '/') as absolute paths before falling back to resolve in 'resolve.roots'.",
2866
+ "type": "boolean"
2867
+ },
2864
2868
  "preferRelative": {
2865
2869
  "description": "Prefer to resolve module requests as relative request and fallback to resolving as module.",
2866
2870
  "type": "boolean"
@@ -2888,7 +2892,7 @@
2888
2892
  }
2889
2893
  },
2890
2894
  "roots": {
2891
- "description": "A list of directories in which requests that are server-relative URLs (starting with '/') are resolved. On non-windows system these requests are tried to resolve as absolute path first.",
2895
+ "description": "A list of directories in which requests that are server-relative URLs (starting with '/') are resolved.",
2892
2896
  "type": "array",
2893
2897
  "items": {
2894
2898
  "description": "Directory in which requests that are server-relative URLs (starting with '/') are resolved.",