@flatjs/evolve 1.8.1-next.106 → 1.8.1-next.108
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,30 @@
|
|
1
1
|
# @flatjs/evolve
|
2
2
|
|
3
|
+
## 1.8.1-next.108
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- 75e16ab: change `circle-dependency` error to waring as default
|
8
|
+
- 7941f1e: bump version
|
9
|
+
- Updated dependencies [891a384]
|
10
|
+
- Updated dependencies [7941f1e]
|
11
|
+
- @flatjs/evolve-preset-babel@1.8.1-next.24
|
12
|
+
- @flatjs/forge-postcss-plugin-pixel@1.8.1-next.39
|
13
|
+
- @flatjs/common@1.8.1-next.39
|
14
|
+
- @flatjs/graph@1.8.1-next.58
|
15
|
+
- @flatjs/mock@1.8.1-next.82
|
16
|
+
|
17
|
+
## 1.8.1-next.107
|
18
|
+
|
19
|
+
### Patch Changes
|
20
|
+
|
21
|
+
- Updated dependencies [6a2ee9f]
|
22
|
+
- @flatjs/common@1.8.1-next.38
|
23
|
+
- @flatjs/graph@1.8.1-next.57
|
24
|
+
- @flatjs/evolve-preset-babel@1.8.1-next.23
|
25
|
+
- @flatjs/forge-postcss-plugin-pixel@1.8.1-next.38
|
26
|
+
- @flatjs/mock@1.8.1-next.81
|
27
|
+
|
3
28
|
## 1.8.1-next.106
|
4
29
|
|
5
30
|
### Patch Changes
|
@@ -1 +1 @@
|
|
1
|
-
import{relative}from"node:path";import{mergeOptions}from"@flatjs/common";import Graph from"tarjan-graph";import webpack from"webpack";const BASE_ERROR="Circular dependency detected:\r\n",PLUGIN_TITLE="CircularDependencyPlugin";export class CircularDependencyPlugin{constructor(o={}){this.options=mergeOptions({exclude:/node_modules/,include:/.*/,failOnError:!
|
1
|
+
import{relative}from"node:path";import{mergeOptions}from"@flatjs/common";import Graph from"tarjan-graph";import webpack from"webpack";const BASE_ERROR="Circular dependency detected:\r\n",PLUGIN_TITLE="CircularDependencyPlugin";export class CircularDependencyPlugin{constructor(o={}){this.options=mergeOptions({exclude:/node_modules/,include:/.*/,failOnError:!1,allowAsyncCycles:!1,projectCwd:process.cwd()},o)}apply(o){const e=this.options.projectCwd;o.hooks.compilation.tap(PLUGIN_TITLE,(o=>{o.hooks.optimizeModules.tap(PLUGIN_TITLE,(t=>{this.options.onStart&&this.options.onStart({compilation:o});const n=new(Graph.default||Graph);for(const e of t){const t=[];for(const n of e.dependencies){if(n.constructor&&"CommonJsSelfReferenceDependency"===n.constructor.name)continue;let r=null;r=o.moduleGraph?o.moduleGraph.getModule(n):n.module,r&&(r instanceof webpack.NormalModule&&r.resource&&(this.options.allowAsyncCycles&&n.weak||e!==r&&t.push(r.identifier())))}n.add(e.identifier(),t)}const r=n.getCycles();this.isCyclic(r,o,e),this.options.onEnd&&this.options.onEnd({compilation:o})}))}))}isCyclic(o,e,t){o.forEach((o=>{const n=o.slice().reverse().map((o=>{const t=e.findModule(o.name);return t instanceof webpack.NormalModule&&t.resource||null}));if(n.every((o=>!o||this.options.exclude.test(o)||!this.options.include.test(o))))return;const r=n.map((o=>relative(t,o)));if(this.options.onDetected){try{this.options.onDetected({paths:r.concat([r[0]]),compilation:e})}catch(o){e.errors.push(o)}return}const s=new Error(BASE_ERROR.concat(r.concat([r[0]]).join(" -> ")));this.options.failOnError?e.errors.push(s):e.warnings.push(s)}))}}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@flatjs/evolve",
|
3
|
-
"version": "1.8.1-next.
|
3
|
+
"version": "1.8.1-next.108",
|
4
4
|
"license": "MIT",
|
5
5
|
"type": "module",
|
6
6
|
"exports": {
|
@@ -37,17 +37,17 @@
|
|
37
37
|
"typecheck": "tsc --project ./tsconfig.json --noEmit"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@armit/config-loader": "^0.0.
|
41
|
-
"@armit/file-utility": "^0.0.
|
42
|
-
"@armit/git": "^0.0.
|
43
|
-
"@armit/package": "^0.0.
|
44
|
-
"@armit/worker-threads": "^0.0.
|
45
|
-
"@babel/core": "7.22.
|
46
|
-
"@flatjs/common": "1.8.1-next.
|
47
|
-
"@flatjs/evolve-preset-babel": "1.8.1-next.
|
48
|
-
"@flatjs/forge-postcss-plugin-pixel": "1.8.1-next.
|
49
|
-
"@flatjs/graph": "1.8.1-next.
|
50
|
-
"@flatjs/mock": "1.8.1-next.
|
40
|
+
"@armit/config-loader": "^0.0.54",
|
41
|
+
"@armit/file-utility": "^0.0.31",
|
42
|
+
"@armit/git": "^0.0.39",
|
43
|
+
"@armit/package": "^0.0.48",
|
44
|
+
"@armit/worker-threads": "^0.0.8",
|
45
|
+
"@babel/core": "7.22.17",
|
46
|
+
"@flatjs/common": "1.8.1-next.39",
|
47
|
+
"@flatjs/evolve-preset-babel": "1.8.1-next.24",
|
48
|
+
"@flatjs/forge-postcss-plugin-pixel": "1.8.1-next.39",
|
49
|
+
"@flatjs/graph": "1.8.1-next.58",
|
50
|
+
"@flatjs/mock": "1.8.1-next.82",
|
51
51
|
"@pmmmwh/react-refresh-webpack-plugin": "0.5.11",
|
52
52
|
"@types/babel__core": "7.20.1",
|
53
53
|
"babel-loader": "9.1.3",
|
@@ -59,7 +59,7 @@
|
|
59
59
|
"cssnano": "6.0.1",
|
60
60
|
"express": "4.18.2",
|
61
61
|
"fork-ts-checker-webpack-plugin": "8.0.0",
|
62
|
-
"happy-dom": "
|
62
|
+
"happy-dom": "11.0.6",
|
63
63
|
"html-webpack-plugin": "5.5.3",
|
64
64
|
"image-minimizer-webpack-plugin": "3.8.3",
|
65
65
|
"less": "4.2.0",
|
@@ -67,41 +67,41 @@
|
|
67
67
|
"listr": "0.14.3",
|
68
68
|
"lodash": "4.17.21",
|
69
69
|
"mini-css-extract-plugin": "2.7.6",
|
70
|
-
"postcss": "8.4.
|
70
|
+
"postcss": "8.4.29",
|
71
71
|
"postcss-loader": "7.3.3",
|
72
72
|
"react-refresh": "0.14.0",
|
73
73
|
"svgo": "3.0.2",
|
74
74
|
"tarjan-graph": "3.0.0",
|
75
75
|
"terser-webpack-plugin": "5.3.9",
|
76
76
|
"tsconfig-paths-webpack-plugin": "4.1.0",
|
77
|
-
"type-fest": "^4.
|
77
|
+
"type-fest": "^4.3.1",
|
78
78
|
"webpack": "5.88.2",
|
79
|
-
"webpack-bundle-analyzer": "4.9.
|
79
|
+
"webpack-bundle-analyzer": "4.9.1",
|
80
80
|
"webpack-dev-server": "4.15.1",
|
81
81
|
"webpack-sources": "3.2.3"
|
82
82
|
},
|
83
83
|
"devDependencies": {
|
84
|
-
"@armit/eslint-config-bases": "^0.0.
|
85
|
-
"@flatjs/testing": "1.8.1-next.
|
86
|
-
"@swc/core": "1.3.
|
84
|
+
"@armit/eslint-config-bases": "^0.0.26",
|
85
|
+
"@flatjs/testing": "1.8.1-next.42",
|
86
|
+
"@swc/core": "1.3.84",
|
87
87
|
"@types/express": "4.17.17",
|
88
|
-
"@types/listr": "0.14.
|
89
|
-
"@types/node": "20.
|
90
|
-
"@vitest/coverage-istanbul": "0.34.
|
91
|
-
"@vitest/ui": "0.34.
|
92
|
-
"eslint": "8.
|
88
|
+
"@types/listr": "0.14.5",
|
89
|
+
"@types/node": "20.6.0",
|
90
|
+
"@vitest/coverage-istanbul": "0.34.4",
|
91
|
+
"@vitest/ui": "0.34.4",
|
92
|
+
"eslint": "8.49.0",
|
93
93
|
"imagemin-gifsicle": "7.0.0",
|
94
94
|
"imagemin-jpegtran": "7.0.0",
|
95
95
|
"imagemin-pngquant": "9.0.2",
|
96
96
|
"imagemin-svgo": "10.0.1",
|
97
97
|
"npm-run-all": "4.1.5",
|
98
|
-
"prettier": "3.0.
|
98
|
+
"prettier": "3.0.3",
|
99
99
|
"react": "18.2.0",
|
100
100
|
"rimraf": "5.0.1",
|
101
101
|
"swc-unplugin-ts": "1.0.2",
|
102
102
|
"ts-node": "10.9.1",
|
103
|
-
"vite-tsconfig-paths": "4.2.
|
104
|
-
"vitest": "0.34.
|
103
|
+
"vite-tsconfig-paths": "4.2.1",
|
104
|
+
"vitest": "0.34.4",
|
105
105
|
"vue-loader": "17.2.2"
|
106
106
|
},
|
107
107
|
"peerDependencies": {
|