Skip to content

Commit 6118585

Browse files
authored
chore: update dependencies to the latest version (#352)
1 parent c304201 commit 6118585

14 files changed

Lines changed: 857 additions & 857 deletions

package-lock.json

Lines changed: 534 additions & 529 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@
4949
"webpack": "^5.1.0"
5050
},
5151
"dependencies": {
52-
"schema-utils": "^4.0.0",
52+
"schema-utils": "^4.0.1",
5353
"serialize-javascript": "^6.0.1"
5454
},
5555
"devDependencies": {
56-
"@babel/cli": "^7.21.0",
57-
"@babel/core": "^7.21.4",
58-
"@babel/preset-env": "^7.21.4",
59-
"@commitlint/cli": "^17.5.1",
60-
"@commitlint/config-conventional": "^17.4.4",
56+
"@babel/cli": "^7.21.5",
57+
"@babel/core": "^7.21.5",
58+
"@babel/preset-env": "^7.21.5",
59+
"@commitlint/cli": "^17.6.1",
60+
"@commitlint/config-conventional": "^17.6.1",
6161
"@gfx/zopfli": "^1.0.15",
6262
"@types/node": "^18.15.11",
6363
"@types/serialize-javascript": "^5.0.2",
@@ -67,19 +67,19 @@
6767
"cspell": "^6.27.0",
6868
"del": "^6.1.1",
6969
"del-cli": "^4.0.0",
70-
"eslint": "^8.37.0",
70+
"eslint": "^8.39.0",
7171
"eslint-config-prettier": "^8.8.0",
7272
"eslint-plugin-import": "^2.27.5",
7373
"file-loader": "^6.2.0",
7474
"husky": "^8.0.3",
7575
"jest": "^29.5.0",
76-
"lint-staged": "^13.2.1",
77-
"memfs": "^3.4.13",
76+
"lint-staged": "^13.2.2",
77+
"memfs": "^3.5.1",
7878
"npm-run-all": "^4.1.5",
79-
"prettier": "^2.8.7",
79+
"prettier": "^2.8.8",
8080
"standard-version": "^9.3.0",
8181
"typescript": "^4.9.5",
82-
"webpack": "^5.77.0",
82+
"webpack": "^5.81.0",
8383
"webpack-stats-plugin": "^1.1.1",
8484
"workbox-webpack-plugin": "^6.5.4"
8585
},

src/index.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ const schema = require("./options.json");
2424
* @typedef {T | { valueOf(): T }} WithImplicitCoercion
2525
*/
2626

27-
/** @typedef {RegExp | string} Rule */
28-
29-
/** @typedef {Rule[] | Rule} Rules */
27+
/** @typedef {string | RegExp | string[] | RegExp[]} Rule */
3028

3129
/**
3230
* @typedef {{ [key: string]: any }} CustomOptions
@@ -65,9 +63,9 @@ const schema = require("./options.json");
6563
/**
6664
* @template T
6765
* @typedef {Object} BasePluginOptions
68-
* @property {Rules} [test]
69-
* @property {Rules} [include]
70-
* @property {Rules} [exclude]
66+
* @property {Rule} [test]
67+
* @property {Rule} [include]
68+
* @property {Rule} [exclude]
7169
* @property {number} [threshold]
7270
* @property {number} [minRatio]
7371
* @property {DeleteOriginalAssets} [deleteOriginalAssets]

0 commit comments

Comments
 (0)