Skip to content

Commit

Permalink
chore(deps): update (#512)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait authored Jan 21, 2021
1 parent deac978 commit 7b594f1
Show file tree
Hide file tree
Showing 7 changed files with 918 additions and 1,210 deletions.
2,067 changes: 891 additions & 1,176 deletions package-lock.json

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,45 +46,45 @@
"klona": "^2.0.4",
"loader-utils": "^2.0.0",
"schema-utils": "^3.0.0",
"semver": "^7.3.2"
"semver": "^7.3.4"
},
"devDependencies": {
"@babel/cli": "^7.12.8",
"@babel/core": "^7.12.8",
"@babel/preset-env": "^7.12.7",
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@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.2",
"cross-env": "^7.0.3",
"cssnano": "^4.1.10",
"del": "^6.0.0",
"del-cli": "^3.0.1",
"eslint": "^7.14.0",
"eslint-config-prettier": "^6.15.0",
"eslint": "^7.18.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-import": "^2.22.1",
"husky": "^4.3.0",
"husky": "^4.3.8",
"jest": "^26.6.3",
"less": "^3.12.2",
"less-loader": "^7.1.0",
"lint-staged": "^10.5.2",
"less": "^4.1.0",
"less-loader": "^7.2.1",
"lint-staged": "^10.5.3",
"memfs": "^3.2.0",
"midas": "^2.0.3",
"npm-run-all": "^4.1.5",
"postcss": "^8.1.7",
"postcss": "^8.2.4",
"postcss-dark-theme-class": "^0.5.1",
"postcss-import": "^13.0.0",
"postcss-import": "^14.0.0",
"postcss-js": "^3.0.3",
"postcss-nested": "^5.0.1",
"postcss-nested": "^5.0.3",
"postcss-short": "^5.0.0",
"prettier": "^2.2.0",
"sass": "^1.29.0",
"sass-loader": "^10.1.0",
"standard-version": "^9.0.0",
"sass": "^1.32.5",
"sass-loader": "^10.1.1",
"standard-version": "^9.1.0",
"strip-ansi": "^6.0.0",
"sugarss": "^3.0.3",
"webpack": "^5.6.0"
"webpack": "^5.16.0"
},
"keywords": [
"css",
Expand Down
6 changes: 2 additions & 4 deletions test/__snapshots__/postcssOptins.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -816,8 +816,7 @@ a {
}
@media (max-width: 500px) {
.phone_title {
.phone_title {
width: 100px
}
}
Expand Down Expand Up @@ -1078,8 +1077,7 @@ a {
}
@media (max-width: 500px) {
.phone_title {
.phone_title {
width: auto
}
}
Expand Down
5 changes: 2 additions & 3 deletions test/helpers/compile.js
Original file line number Diff line number Diff line change
@@ -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);
});
});
};
5 changes: 2 additions & 3 deletions test/helpers/getErrors.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import normalizeErrors from "./normalizeErrors";

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

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

export default (errors, shortError) => {
return errors.map((error) => {
export default (errors, shortError) =>
errors.map((error) => {
let errorMessage = error.toString();

if (shortError) {
Expand All @@ -26,4 +26,3 @@ export default (errors, shortError) => {

return removeCWD(errorMessage.split("\n").slice(0, 12).join("\n"));
});
};

0 comments on commit 7b594f1

Please sign in to comment.