@nitro/webpack 5.10.12 → 5.10.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nitro/webpack",
3
- "version": "5.10.12",
3
+ "version": "5.10.16",
4
4
  "description": "nitro webpack",
5
5
  "license": "MIT",
6
6
  "author": "The Nitro Team",
@@ -23,18 +23,18 @@
23
23
  "nitro"
24
24
  ],
25
25
  "dependencies": {
26
- "@babel/core": "7.15.0",
27
- "@babel/preset-env": "7.15.0",
26
+ "@babel/core": "7.15.8",
27
+ "@babel/preset-env": "7.15.8",
28
28
  "@babel/preset-react": "7.14.5",
29
- "@babel/plugin-proposal-decorators": "7.14.5",
29
+ "@babel/plugin-proposal-decorators": "7.15.8",
30
30
  "@babel/plugin-proposal-class-properties": "7.14.5",
31
31
  "@babel/plugin-syntax-dynamic-import": "7.8.3",
32
- "autoprefixer": "10.3.1",
32
+ "autoprefixer": "10.3.7",
33
33
  "case-sensitive-paths-webpack-plugin": "2.4.0",
34
34
  "css-loader": "5.2.7",
35
35
  "eslint": "7.32.0",
36
36
  "eslint-webpack-plugin": "2.5.4",
37
- "eslint-plugin-import": "2.24.0",
37
+ "eslint-plugin-import": "2.25.2",
38
38
  "file-loader": "6.2.0",
39
39
  "handlebars-loader": "1.7.1",
40
40
  "iconfont-webpack-plugin": "5.0.1",
@@ -43,20 +43,20 @@
43
43
  "js-config-webpack-plugin": "2.0.3",
44
44
  "mini-css-extract-plugin": "1.6.2",
45
45
  "optimize-css-assets-webpack-plugin": "5.0.8",
46
- "postcss": "8.3.6",
46
+ "postcss": "8.3.9",
47
47
  "postcss-loader": "4.2.0",
48
48
  "resolve-url-loader": "4.0.0",
49
- "sass": "1.37.5",
49
+ "sass": "1.42.1",
50
50
  "sass-loader": "10.1.1",
51
51
  "stylelint": "13.13.1",
52
52
  "stylelint-webpack-plugin": "2.2.2",
53
- "svgo": "2.4.0",
53
+ "svgo": "2.7.0",
54
54
  "ts-config-webpack-plugin": "2.0.3",
55
- "typescript": "4.3.5",
55
+ "typescript": "4.4.4",
56
56
  "url-loader": "4.1.1",
57
57
  "webpack": "4.46.0",
58
58
  "webpackbar": "4.0.0",
59
- "webpack-bundle-analyzer": "4.4.2"
59
+ "webpack-bundle-analyzer": "4.5.0"
60
60
  },
61
61
  "optionalDependencies": {
62
62
  "imagemin-gifsicle": "7.0.0",
@@ -219,7 +219,6 @@ module.exports = (options = { rules: {}, features: {} }) => {
219
219
  // images
220
220
  if (options.rules.image) {
221
221
  // image loader & minification
222
- const { extendDefaultPlugins } = require('svgo');
223
222
  const imageMinificationRule = {
224
223
  test: /\.(png|jpg|gif|svg|ico)$/,
225
224
  // Specify enforce: 'pre' to apply the loader before url-loader
@@ -243,12 +242,16 @@ module.exports = (options = { rules: {}, features: {} }) => {
243
242
  // speed: 2
244
243
  }),
245
244
  require('imagemin-svgo')({
246
- plugins: extendDefaultPlugins([
245
+ plugins: [
247
246
  {
248
- name: 'removeViewBox',
249
- active: false,
247
+ name: 'preset-default',
248
+ params: {
249
+ overrides: {
250
+ removeViewBox: false,
251
+ },
252
+ },
250
253
  },
251
- ]),
254
+ ],
252
255
  }),
253
256
  ],
254
257
  },