@flatjs/evolve 2.1.0-next.25 → 2.1.0-next.26

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- import{resolve}from"node:path";import{ensureSlash}from"@flatjs/common";export const normalizeEntryModuleAbsolutePath=(e,o)=>{const{projectCwd:s}=e,t=[];for(const[,e]of Object.entries(o)){const{entryModuleBase:o,entry:r}=e;if(o)for(const e of o){const o=ensureSlash(resolve(s,e),!0);t.push(o)}else for(const e of r){let o=resolve(s,e);/\.(ts|tsx|js|jsx)$/.test(o)&&(o=o.replace(/\/[^/]*$/,""));const r=ensureSlash(o,!0);t.push(r)}}return Array.from(new Set(t))};
1
+ import{resolve}from"node:path";import{ensureSlash}from"@flatjs/common";export const normalizeEntryModuleAbsolutePath=(e,o)=>{const{projectCwd:s}=e,t=[];for(const[,e]of Object.entries(o)){const{entryModuleBase:o,entry:r}=e;if(o)for(const e of o){const o=ensureSlash(resolve(s,e),!0);t.push(o)}else for(const e of r){let o=resolve(s,e);(/\.(ts|tsx|js|jsx)$/.test(o)||o.endsWith("/index"))&&(o=o.replace(/\/[^/]*$/,""));const r=ensureSlash(o,!0);t.push(r)}}return Array.from(new Set(t))};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flatjs/evolve",
3
- "version": "2.1.0-next.25",
3
+ "version": "2.1.0-next.26",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -42,10 +42,10 @@
42
42
  "@babel/core": "^7.24.7",
43
43
  "@flatjs/babel-plugin-import": "2.1.0-next.9",
44
44
  "@flatjs/common": "2.1.0-next.8",
45
- "@flatjs/evolve-preset-babel": "2.1.0-next.8",
45
+ "@flatjs/evolve-preset-babel": "2.1.0-next.9",
46
46
  "@flatjs/forge-postcss-plugin-pixel": "2.1.0-next.8",
47
- "@flatjs/graph": "2.1.0-next.11",
48
- "@flatjs/mock": "2.1.0-next.12",
47
+ "@flatjs/graph": "2.1.0-next.12",
48
+ "@flatjs/mock": "2.1.0-next.13",
49
49
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
50
50
  "@types/babel__core": "^7.20.5",
51
51
  "babel-loader": "^9.1.3",