Files

Return to Package Diff Home.
Brought to you by Intrinsic.

Package Diff: webpack @ 4.29.5 .. 4.29.6

lib/APIPlugin.js

@@ -58,12 +58,12 @@
REPLACEMENTS[key]
)
);
+ const type = REPLACEMENT_TYPES[key];
+ if (type) {
parser.hooks.evaluateTypeof
.for(key)
- .tap(
- "APIPlugin",
- ParserHelpers.evaluateToString(REPLACEMENT_TYPES[key])
- );
+ .tap("APIPlugin", ParserHelpers.evaluateToString(type));
+ }
});
};

lib/dependencies/HarmonyAcceptDependency.js

@@ -34,7 +34,10 @@
dep.range[0],
`function(__WEBPACK_OUTDATED_DEPENDENCIES__) { ${content}(`
);
- source.insert(dep.range[1], ")(__WEBPACK_OUTDATED_DEPENDENCIES__); }");
+ source.insert(
+ dep.range[1],
+ ")(__WEBPACK_OUTDATED_DEPENDENCIES__); }.bind(this)"
+ );
return;
}

package.json

@@ -1,14 +1,14 @@
{
"name": "webpack",
- "version": "4.29.5",
+ "version": "4.29.6",
"author": "Tobias Koppers @sokra",
"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.",
"license": "MIT",
"dependencies": {
- "@webassemblyjs/ast": "1.8.3",
- "@webassemblyjs/helper-module-context": "1.8.3",
- "@webassemblyjs/wasm-edit": "1.8.3",
- "@webassemblyjs/wasm-parser": "1.8.3",
+ "@webassemblyjs/ast": "1.8.5",
+ "@webassemblyjs/helper-module-context": "1.8.5",
+ "@webassemblyjs/wasm-edit": "1.8.5",
+ "@webassemblyjs/wasm-parser": "1.8.5",
"acorn": "^6.0.5",
"acorn-dynamic-import": "^4.0.0",
"ajv": "^6.1.0",
@@ -34,6 +34,7 @@
"@types/node": "^10.12.21",
"@types/tapable": "^1.0.1",
"@types/webpack-sources": "^0.1.4",
+ "@yarnpkg/lockfile": "^1.1.0",
"benchmark": "^2.1.1",
"bundle-loader": "~0.5.0",
"coffee-loader": "^0.9.0",
@@ -119,14 +120,14 @@
"build:examples": "cd examples && node buildAll.js",
"pretest": "yarn lint",
"prelint": "yarn setup",
- "lint": "yarn code-lint && yarn schema-lint && yarn type-lint && yarn special-lint",
+ "lint": "yarn code-lint && yarn jest-lint && yarn type-lint && yarn special-lint",
"code-lint": "eslint --cache \"{setup,lib,bin,hot,buildin,benchmark,tooling,schemas}/**/*.js\" \"test/*.js\" \"test/{configCases,watchCases,statsCases,hotCases}/**/webpack.config.js\" \"examples/**/webpack.config.js\"",
"type-lint": "tsc --pretty",
"special-lint": "node tooling/inherit-types && node tooling/format-schemas && node tooling/compile-to-definitions",
"special-lint-fix": "node tooling/inherit-types --write --override && node tooling/format-schemas --write && node tooling/compile-to-definitions --write",
"fix": "yarn code-lint --fix && yarn special-lint-fix",
"pretty": "prettier --loglevel warn --write \"*.{ts,js,json,yml,yaml}\" \"{setup,lib,bin,hot,buildin,benchmark,tooling,schemas}/**/*.{js,json}\" \"test/*.js\" \"test/{configCases,watchCases,statsCases,hotCases}/**/webpack.config.js\" \"examples/**/webpack.config.js\"",
- "schema-lint": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.lint.js\" --no-verbose",
+ "jest-lint": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.lint.js\" --no-verbose",
"benchmark": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.benchmark.js\" --runInBand",
"cover": "yarn cover:init && yarn cover:all && yarn cover:report",
"cover:init": "rimraf coverage",