Skip to content

Commit

Permalink
chore(deps): bump devDependencies (#307)
Browse files Browse the repository at this point in the history
* chore(deps): bump devDependencies

* snapshots updated
  • Loading branch information
piwysocki authored Jan 11, 2023
1 parent 90e0291 commit 8bad6d1
Show file tree
Hide file tree
Showing 4 changed files with 543 additions and 753 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test": "jest --coverage && eslint . && sh scripts/max-listeners-check.sh"
},
"devDependencies": {
"@logux/eslint-config": "^47.2.0",
"@logux/eslint-config": "^48.0.0",
"@size-limit/dual-publish": "workspace:^8.0.0",
"@size-limit/esbuild": "workspace:^8.0.0",
"@size-limit/file": "workspace:^8.0.0",
Expand All @@ -17,19 +17,19 @@
"@size-limit/time": "workspace:^8.0.0",
"@size-limit/webpack": "workspace:^8.0.0",
"@size-limit/webpack-why": "workspace:^8.0.0",
"clean-publish": "^4.0.1",
"clean-publish": "^4.1.1",
"cross-spawn": "^7.0.3",
"dual-publish": "^3.0.1",
"eslint": "^8.23.0",
"eslint": "^8.31.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.2.5",
"eslint-plugin-n": "^15.6.0",
"eslint-plugin-prefer-let": "^3.0.1",
"eslint-plugin-promise": "^6.0.1",
"jest": "^28.1.3",
"eslint-plugin-promise": "^6.1.1",
"jest": "^29.3.1",
"print-snapshots": "^0.4.2",
"redux": "^4.2.0",
"size-limit-node-esbuild": "^0.1.0"
"size-limit-node-esbuild": "^0.2.0"
},
"eslintConfig": {
"extends": "@logux/eslint-config",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ exports[`highlight passed results with --highlight-less flag 1`] = `
Size limit: 102400 B
Size: 102401 B gzipped
[33mTry to reduce size or increase limit in [1m\\"size-limit\\"[22m section of [1mpackage.json[22m[39m
[33mTry to reduce size or increase limit in [1m\"size-limit\"[22m section of [1mpackage.json[22m[39m
"
`;

Expand All @@ -31,21 +31,21 @@ exports[`only renders failed results with --hide-passed flag 1`] = `
Size limit: 102.4 kB
Size: 102.5 kB gzipped
[33mTry to reduce size or increase limit in [1m\\"size-limit\\"[22m section of [1mpackage.json[22m[39m
[33mTry to reduce size or increase limit in [1m\"size-limit\"[22m section of [1mpackage.json[22m[39m
"
`;

exports[`renders JSON results 1`] = `
"[
{
\\"name\\": \\"big fail\\"
"name": "big fail"
},
{
\\"name\\": \\"big fail\\",
\\"passed\\": false,
\\"size\\": 1000,
\\"running\\": 0.3,
\\"loading\\": 0.2
"name": "big fail",
"passed": false,
"size": 1000,
"running": 0.3,
"loading": 0.2
}
]
"
Expand Down Expand Up @@ -87,7 +87,7 @@ exports[`renders failed results 1`] = `
Size limit: 102.4 kB
Size: 102.5 kB gzipped
[33mTry to reduce size or increase limit in [1m\\"size-limit\\"[22m section of [1mpackage.json[22m[39m
[33mTry to reduce size or increase limit in [1m\"size-limit\"[22m section of [1mpackage.json[22m[39m
"
`;

Expand Down
126 changes: 63 additions & 63 deletions packages/size-limit/test/__snapshots__/run.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -64,52 +64,52 @@ exports[`shows brotli text when only brotli in config 1`] = `

exports[`shows debug 1`] = `
"{
\\"cwd\\": \\"/tmp/\\",
\\"configPath\\": \\"package.json\\",
\\"checks\\": [
"cwd": "/tmp/",
"configPath": "package.json",
"checks": [
{
\\"limit\\": \\"200 B\\",
\\"files\\": [
\\"/fixtures/integration/index.js\\"
"limit": "200 B",
"files": [
"/fixtures/integration/index.js"
],
\\"name\\": \\"index.js\\",
\\"sizeLimit\\": 200,
\\"highlightLess\\": true,
\\"webpackOutput\\": \\"/tmp/\\",
\\"webpackConfig\\": {
\\"entry\\": {
\\"index\\": [
\\"/fixtures/integration/index.js\\"
"name": "index.js",
"sizeLimit": 200,
"highlightLess": true,
"webpackOutput": "/tmp/",
"webpackConfig": {
"entry": {
"index": [
"/fixtures/integration/index.js"
]
},
\\"output\\": {
\\"path\\": \\"/tmp/\\"
"output": {
"path": "/tmp/"
},
\\"optimization\\": {
\\"concatenateModules\\": true
"optimization": {
"concatenateModules": true
},
\\"module\\": {
\\"rules\\": [
"module": {
"rules": [
{
\\"test\\": {},
\\"type\\": \\"asset/resource\\"
"test": {},
"type": "asset/resource"
}
]
},
\\"plugins\\": []
"plugins": []
},
\\"bundles\\": [
\\"/tmp/index.js\\"
"bundles": [
"/tmp/index.js"
],
\\"size\\": 141,
\\"loadTime\\": 0.01,
\\"runTime\\": 1,
\\"time\\": 1.01,
\\"passed\\": true
"size": 141,
"loadTime": 0.01,
"runTime": 1,
"time": 1.01,
"passed": true
}
],
\\"failed\\": false,
\\"missed\\": false
"failed": false,
"missed": false
}
Package size is 59 B less than limit
Expand All @@ -124,16 +124,16 @@ exports[`shows debug 1`] = `

exports[`shows debug on error 1`] = `
"{
\\"cwd\\": \\"/tmp/\\",
\\"configPath\\": \\"package.json\\",
\\"checks\\": [
\"cwd\": \"/tmp/\",
\"configPath\": \"package.json\",
\"checks\": [
{
\\"limit\\": \\"200 s\\",
\\"files\\": [
\\"/fixtures/internal-error/index.js\\"
\"limit\": \"200 s\",
\"files\": [
\"/fixtures/internal-error/index.js\"
],
\\"name\\": \\"index.js\\",
\\"timeLimit\\": 200
\"name\": \"index.js\",
\"timeLimit\": 200
}
]
}
Expand All @@ -156,7 +156,7 @@ exports[`shows error on time bigger than limit 1`] = `
Running time: 1 s  on Snapdragon 410
Total time: 1.1 s
[33mTry to reduce size or increase limit in [1m\\"size-limit\\"[22m section of [1mpackage.json[22m[39m
[33mTry to reduce size or increase limit in [1m\"size-limit\"[22m section of [1mpackage.json[22m[39m
"
`;
Expand All @@ -169,7 +169,7 @@ exports[`shows error on time bigger than limit. in silent mode 1`] = `
Running time: 1 s  on Snapdragon 410
Total time: 1.1 s
[33mTry to reduce size or increase limit in [1m\\"size-limit\\"[22m section of [1mpackage.json[22m[39m
[33mTry to reduce size or increase limit in [1m\"size-limit\"[22m section of [1mpackage.json[22m[39m
"
`;
Expand Down Expand Up @@ -403,10 +403,10 @@ exports[`throws on --why argument without webpack 1`] = `
exports[`throws on empty config 1`] = `
" ERROR  Size Limit config must not be empty
[32m\\"size-limit\\"[39m: [
[32m\"size-limit\"[39m: [
{
[32m\\"path\\"[39m: [33m\\"dist/bundle.js\\"[39m,
[32m\\"limit\\"[39m: [33m\\"10 kB\\"[39m
[32m\"path\"[39m: [33m\"dist/bundle.js\"[39m,
[32m\"limit\"[39m: [33m\"10 kB\"[39m
}
]
"
Expand All @@ -420,10 +420,10 @@ exports[`throws on gzip option without gzip plugin 1`] = `
exports[`throws on no config 1`] = `
" ERROR  Create Size Limit config in package.json
[32m\\"size-limit\\"[39m: [
[32m\"size-limit\"[39m: [
{
[32m\\"path\\"[39m: [33m\\"dist/bundle.js\\"[39m,
[32m\\"limit\\"[39m: [33m\\"10 kB\\"[39m
[32m\"path\"[39m: [33m\"dist/bundle.js\"[39m,
[32m\"limit\"[39m: [33m\"10 kB\"[39m
}
]
"
Expand All @@ -432,10 +432,10 @@ exports[`throws on no config 1`] = `
exports[`throws on non-array config 1`] = `
" ERROR  Size Limit config must contain an array
[32m\\"size-limit\\"[39m: [
[32m\"size-limit\"[39m: [
{
[32m\\"path\\"[39m: [33m\\"dist/bundle.js\\"[39m,
[32m\\"limit\\"[39m: [33m\\"10 kB\\"[39m
[32m\"path\"[39m: [33m\"dist/bundle.js\"[39m,
[32m\"limit\"[39m: [33m\"10 kB\"[39m
}
]
"
Expand All @@ -444,10 +444,10 @@ exports[`throws on non-array config 1`] = `
exports[`throws on non-object check 1`] = `
" ERROR  Size Limit config array should contain only objects
[32m\\"size-limit\\"[39m: [
[32m\"size-limit\"[39m: [
{
[32m\\"path\\"[39m: [33m\\"dist/bundle.js\\"[39m,
[32m\\"limit\\"[39m: [33m\\"10 kB\\"[39m
[32m\"path\"[39m: [33m\"dist/bundle.js\"[39m,
[32m\"limit\"[39m: [33m\"10 kB\"[39m
}
]
"
Expand All @@ -461,10 +461,10 @@ exports[`throws on non-string entry 1`] = `
exports[`throws on non-string path 1`] = `
" ERROR  The path in Size Limit config must be a string or an array of strings
[32m\\"size-limit\\"[39m: [
[32m\"size-limit\"[39m: [
{
[32m\\"path\\"[39m: [33m\\"dist/bundle.js\\"[39m,
[32m\\"limit\\"[39m: [33m\\"10 kB\\"[39m
[32m\"path\"[39m: [33m\"dist/bundle.js\"[39m,
[32m\"limit\"[39m: [33m\"10 kB\"[39m
}
]
"
Expand Down Expand Up @@ -541,12 +541,12 @@ Check the real performance cost of your front-end project to users
exports[`works in integration test with JSON 1`] = `
"[
{
\\"name\\": \\"index.js\\",
\\"passed\\": true,
\\"size\\": 141,
\\"sizeLimit\\": 200,
\\"running\\": 1,
\\"loading\\": 0.01
"name": "index.js",
"passed": true,
"size": 141,
"sizeLimit": 200,
"running": 1,
"loading": 0.01
}
]
"
Expand Down
Loading

0 comments on commit 8bad6d1

Please sign in to comment.