@anansi/webpack-config 14.3.10 → 15.0.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [15.0.0](https://github.com/ntucker/anansi/compare/@anansi/webpack-config@14.3.10...@anansi/webpack-config@15.0.0) (2023-03-24)
7
+
8
+ ### ⚠ 💥 BREAKING CHANGES
9
+
10
+ * Switched to SVGO 3, see its breaking changes: https://github.com/svg/svgo/releases/tag/v3.0.0
11
+
12
+ ### 📦 Package
13
+
14
+ * Make svgo peerdep 3 ([046f326](https://github.com/ntucker/anansi/commit/046f326e886a76dc4dc91d62864a0386bcf33428))
15
+ * Update all non-major dependencies ([#1913](https://github.com/ntucker/anansi/issues/1913)) ([ac1bfc0](https://github.com/ntucker/anansi/commit/ac1bfc09c229e48fdacd17c69456ea542d9d123a))
16
+ * Update svg processors (major) ([#1897](https://github.com/ntucker/anansi/issues/1897)) ([0cc8079](https://github.com/ntucker/anansi/commit/0cc80793c33c07afac85f422a23fa1c753183a85))
17
+
6
18
  ### [14.3.10](https://github.com/ntucker/anansi/compare/@anansi/webpack-config@14.3.9...@anansi/webpack-config@14.3.10) (2023-03-21)
7
19
 
8
20
  ### 📦 Package
package/index.d.ts CHANGED
@@ -27,7 +27,9 @@ export interface Options {
27
27
  env?: any;
28
28
  htmlOptions?: HtmlWebpackPlugin.Options | false;
29
29
  svgoOptions?: OptimizeOptions | false;
30
- svgrOptions?: any | false;
30
+ svgrOptions?:
31
+ | { svgoConfig?: OptimizeOptions; [key: string]: unknown }
32
+ | false;
31
33
  linariaOptions?: PluginOptions | false;
32
34
  cssExtractOptions?: MiniCssExtractPluginOptions | false;
33
35
  tsconfigPathsOptions?: TsconfigPathsOptions | false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anansi/webpack-config",
3
- "version": "14.3.10",
3
+ "version": "15.0.0",
4
4
  "description": "Production ready webpack for React",
5
5
  "main": "lib/index.js",
6
6
  "types": "./index.d.ts",
@@ -52,18 +52,18 @@
52
52
  "node": ">=14.15.0"
53
53
  },
54
54
  "devDependencies": {
55
- "@anansi/babel-preset": "4.1.1",
55
+ "@anansi/babel-preset": "4.1.2",
56
56
  "@babel/cli": "7.21.0",
57
57
  "@babel/core": "7.21.3",
58
58
  "debug": "4.3.4",
59
59
  "prettier-eslint-cli": "7.1.0",
60
- "rimraf": "4.4.0"
60
+ "rimraf": "4.4.1"
61
61
  },
62
62
  "dependencies": {
63
63
  "@babel/runtime": "^7.17.2",
64
64
  "@linaria/webpack5-loader": "4.1.15",
65
65
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
66
- "@svgr/webpack": "^6.5.1",
66
+ "@svgr/webpack": "^7.0.0",
67
67
  "@types/webpack-bundle-analyzer": "^4.6.0",
68
68
  "@vue/preload-webpack-plugin": "^2.0.0",
69
69
  "assert": "^2.0.0",
@@ -90,7 +90,7 @@
90
90
  "is-wsl": "^2.2.0",
91
91
  "markdown-loader": "^8.0.0",
92
92
  "mini-css-extract-plugin": "^2.7.5",
93
- "mkdirp": "^2.1.5",
93
+ "mkdirp": "^2.1.6",
94
94
  "os-browserify": "^0.3.0",
95
95
  "path": "^0.12.7",
96
96
  "path-browserify": "^1.0.1",
@@ -112,8 +112,8 @@
112
112
  "stream-http": "^3.2.0",
113
113
  "string_decoder": "^1.3.0",
114
114
  "strip-ansi": "^6.0.1",
115
- "svgo": "^2.8.0",
116
- "svgo-loader": "^3.0.3",
115
+ "svgo": "^3.0.2",
116
+ "svgo-loader": "^4.0.0",
117
117
  "terser-webpack-plugin": "^5.3.7",
118
118
  "timers-browserify": "^2.0.12",
119
119
  "tsconfig-paths-webpack-plugin": "^4.0.1",
@@ -138,7 +138,7 @@
138
138
  "react": "*",
139
139
  "react-refresh": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0-0 || ^0.12.0 || ^0.13.0 || ^0.14.0",
140
140
  "sass": "^1.3.0",
141
- "svgo": "^2.8.0",
141
+ "svgo": "^3.0.0",
142
142
  "webpack": "^5.12.0",
143
143
  "webpack-cli": "^4.1.0 || ^5.0.0",
144
144
  "webpack-dev-server": "^4.0.0"