@flatjs/evolve 2.0.1 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- import{arraysIntersect,normalizeSemicolonFilterParts}from"@flatjs/common";import{resolveEntryMapInputFiles}from"./resolve-entry-map-input-files.js";export const filterActivedEntriesByModule=(t,e)=>{const r=normalizeSemicolonFilterParts(e),n={};for(const[e,o]of Object.entries(t)){r.find((t=>("string"==typeof t?new RegExp(`${t}`):t).test(e)))&&(n[e]=o)}return n};export const filterActivedEntriesByEntryInputs=async(t,e,r)=>{const n={};for(const[o,s]of Object.entries(e)){const e=await resolveEntryMapInputFiles(t,{[o]:s});arraysIntersect(e,r)&&(n[o]=s)}return n};
1
+ import{arraysIntersect,normalizeSemicolonFilterParts}from"@flatjs/common";import{resolveEntryMapInputFiles}from"./resolve-entry-map-input-files.js";export const filterActivedEntriesByModule=(t,e)=>{const r=normalizeSemicolonFilterParts(e),n={};for(const[e,o]of Object.entries(t)){r.find((t=>("string"==typeof t||"number"==typeof t?new RegExp(`${t}`):t).test(e)))&&(n[e]=o)}return n};export const filterActivedEntriesByEntryInputs=async(t,e,r)=>{const n={};for(const[o,s]of Object.entries(e)){const e=await resolveEntryMapInputFiles(t,{[o]:s});arraysIntersect(e,r)&&(n[o]=s)}return n};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flatjs/evolve",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -34,17 +34,17 @@
34
34
  "typecheck": "tsc --project ./tsconfig.json --noEmit"
35
35
  },
36
36
  "dependencies": {
37
- "@armit/config-loader": "^0.1.0",
38
- "@armit/file-utility": "^0.1.0",
39
- "@armit/git": "^0.1.0",
40
- "@armit/package": "^0.1.0",
41
- "@armit/worker-threads": "^0.1.0",
42
- "@babel/core": "7.23.5",
43
- "@flatjs/common": "2.0.1",
44
- "@flatjs/evolve-preset-babel": "2.0.1",
45
- "@flatjs/forge-postcss-plugin-pixel": "2.0.1",
46
- "@flatjs/graph": "2.0.1",
47
- "@flatjs/mock": "2.0.1",
37
+ "@armit/config-loader": "^0.1.4",
38
+ "@armit/file-utility": "^0.1.3",
39
+ "@armit/git": "^0.1.3",
40
+ "@armit/package": "^0.1.3",
41
+ "@armit/worker-threads": "^0.1.3",
42
+ "@babel/core": "7.23.9",
43
+ "@flatjs/common": "2.0.3",
44
+ "@flatjs/evolve-preset-babel": "2.0.3",
45
+ "@flatjs/forge-postcss-plugin-pixel": "2.0.3",
46
+ "@flatjs/graph": "2.0.3",
47
+ "@flatjs/mock": "2.0.3",
48
48
  "@pmmmwh/react-refresh-webpack-plugin": "0.5.11",
49
49
  "@types/babel__core": "7.20.5",
50
50
  "babel-loader": "9.1.3",
@@ -52,55 +52,55 @@
52
52
  "babel-plugin-import": "1.13.8",
53
53
  "better-opn": "3.0.2",
54
54
  "case-sensitive-paths-webpack-plugin": "2.4.0",
55
- "css-loader": "6.8.1",
56
- "cssnano": "6.0.1",
55
+ "css-loader": "6.9.1",
56
+ "cssnano": "6.0.3",
57
57
  "express": "4.18.2",
58
58
  "fork-ts-checker-webpack-plugin": "9.0.2",
59
- "happy-dom": "12.10.3",
60
- "html-webpack-plugin": "5.5.3",
61
- "image-minimizer-webpack-plugin": "3.8.3",
59
+ "happy-dom": "13.3.1",
60
+ "html-webpack-plugin": "5.6.0",
61
+ "image-minimizer-webpack-plugin": "4.0.0",
62
62
  "less": "4.2.0",
63
- "less-loader": "11.1.3",
63
+ "less-loader": "12.1.0",
64
64
  "listr": "0.14.3",
65
65
  "lodash": "4.17.21",
66
- "mini-css-extract-plugin": "2.7.6",
67
- "postcss": "8.4.31",
68
- "postcss-loader": "7.3.3",
66
+ "mini-css-extract-plugin": "2.7.7",
67
+ "postcss": "8.4.33",
68
+ "postcss-loader": "8.0.0",
69
69
  "react-refresh": "0.14.0",
70
- "svgo": "3.0.4",
70
+ "svgo": "3.2.0",
71
71
  "tarjan-graph": "3.0.0",
72
- "terser-webpack-plugin": "5.3.9",
72
+ "terser-webpack-plugin": "5.3.10",
73
73
  "tsconfig-paths-webpack-plugin": "4.1.0",
74
- "type-fest": "^4.8.2",
75
- "typescript": "5.3.2",
76
- "webpack": "5.89.0",
74
+ "type-fest": "^4.10.1",
75
+ "typescript": "5.3.3",
76
+ "webpack": "5.90.0",
77
77
  "webpack-bundle-analyzer": "4.10.1",
78
78
  "webpack-dev-server": "4.15.1",
79
79
  "webpack-sources": "3.2.3"
80
80
  },
81
81
  "devDependencies": {
82
- "@armit/eslint-config-bases": "^0.1.0",
83
- "@flatjs/testing": "2.0.1",
84
- "@swc/core": "1.3.100",
82
+ "@armit/eslint-config-bases": "^0.1.4",
83
+ "@flatjs/testing": "2.0.3",
84
+ "@swc/core": "1.3.106",
85
85
  "@types/express": "4.17.21",
86
86
  "@types/listr": "0.14.9",
87
- "@types/node": "20.10.1",
88
- "@vitest/coverage-istanbul": "0.34.6",
89
- "@vitest/ui": "0.34.6",
90
- "eslint": "8.54.0",
87
+ "@types/node": "20.11.6",
88
+ "@vitest/coverage-istanbul": "1.2.1",
89
+ "@vitest/ui": "1.2.1",
90
+ "eslint": "8.56.0",
91
91
  "imagemin-gifsicle": "7.0.0",
92
92
  "imagemin-jpegtran": "7.0.0",
93
93
  "imagemin-pngquant": "9.0.2",
94
94
  "imagemin-svgo": "10.0.1",
95
95
  "npm-run-all": "4.1.5",
96
- "prettier": "3.1.0",
96
+ "prettier": "3.2.4",
97
97
  "react": "18.2.0",
98
98
  "rimraf": "5.0.5",
99
99
  "swc-unplugin-ts": "1.0.2",
100
- "ts-node": "10.9.1",
101
- "vite-tsconfig-paths": "4.2.1",
102
- "vitest": "0.34.6",
103
- "vue-loader": "17.3.1"
100
+ "ts-node": "10.9.2",
101
+ "vite-tsconfig-paths": "4.3.1",
102
+ "vitest": "1.2.1",
103
+ "vue-loader": "17.4.2"
104
104
  },
105
105
  "peerDependencies": {
106
106
  "imagemin-gifsicle": ">=7.0.0",