Skip to content
This repository has been archived by the owner on Sep 9, 2021. It is now read-only.

Commit

Permalink
chore(deps): update (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Feb 11, 2021
1 parent 2abd129 commit ad3ee93
Show file tree
Hide file tree
Showing 7 changed files with 19,559 additions and 3,202 deletions.
22,717 changes: 19,542 additions & 3,175 deletions package-lock.json

Large diffs are not rendered by default.

22 changes: 10 additions & 12 deletions package.json
Expand Up @@ -31,8 +31,7 @@
"pretest": "npm run lint",
"test": "npm run test:coverage",
"prepare": "npm run build",
"release": "standard-version",
"defaults": "webpack-defaults"
"release": "standard-version"
},
"files": [
"dist"
Expand All @@ -45,33 +44,32 @@
"schema-utils": "^3.0.0"
},
"devDependencies": {
"@babel/cli": "^7.12.8",
"@babel/core": "^7.12.9",
"@babel/preset-env": "^7.12.7",
"@babel/cli": "^7.12.13",
"@babel/core": "^7.12.13",
"@babel/preset-env": "^7.12.13",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@webpack-contrib/defaults": "^6.3.0",
"@webpack-contrib/eslint-config-webpack": "^3.0.0",
"babel-jest": "^26.6.3",
"cross-env": "^7.0.3",
"del": "^6.0.0",
"del-cli": "^3.0.1",
"eslint": "^7.14.0",
"eslint-config-prettier": "^6.15.0",
"eslint": "^7.19.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-import": "^2.22.1",
"express": "^4.17.1",
"get-port": "^5.1.1",
"html-webpack-plugin": "^4.5.0",
"husky": "^4.3.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.2",
"lint-staged": "^10.5.4",
"memfs": "^3.2.0",
"nanoid": "^3.1.20",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"puppeteer": "^5.5.0",
"standard-version": "^9.0.0",
"webpack": "^5.9.0"
"puppeteer": "^7.0.4",
"standard-version": "^9.1.0",
"webpack": "^5.21.2"
},
"keywords": [
"webpack"
Expand Down
5 changes: 2 additions & 3 deletions test/helpers/compile.js
@@ -1,5 +1,5 @@
export default (compiler) => {
return new Promise((resolve, reject) => {
export default (compiler) =>
new Promise((resolve, reject) => {
compiler.run((error, stats) => {
if (error) {
return reject(error);
Expand All @@ -8,4 +8,3 @@ export default (compiler) => {
return resolve(stats);
});
});
};
4 changes: 1 addition & 3 deletions test/helpers/getErrors.js
@@ -1,5 +1,3 @@
import normalizeErrors from "./normalizeErrors";

export default (stats) => {
return normalizeErrors(stats.compilation.errors);
};
export default (stats) => normalizeErrors(stats.compilation.errors);
4 changes: 1 addition & 3 deletions test/helpers/getWarnings.js
@@ -1,5 +1,3 @@
import normalizeErrors from "./normalizeErrors";

export default (stats) => {
return normalizeErrors(stats.compilation.warnings);
};
export default (stats) => normalizeErrors(stats.compilation.warnings);
5 changes: 2 additions & 3 deletions test/helpers/normalizeErrors.js
Expand Up @@ -12,8 +12,7 @@ function removeCWD(str) {
return str.replace(new RegExp(cwd, "g"), "");
}

export default (errors) => {
return errors.map((error) =>
export default (errors) =>
errors.map((error) =>
removeCWD(error.toString().split("\n").slice(0, 2).join("\n"))
);
};
4 changes: 1 addition & 3 deletions test/publicPath.test.js
Expand Up @@ -42,9 +42,7 @@ describe('"publicPath" option', () => {

it('should work and respect the "publicPath" option ("function")', async () => {
const compiler = getCompiler("./chunks/entry.js", {
publicPath: () => {
return `/public-path-static/`;
},
publicPath: () => `/public-path-static/`,
});
const stats = await compile(compiler);
const result = await getResultFromBrowser(stats);
Expand Down

0 comments on commit ad3ee93

Please sign in to comment.