@aomex/core
Advanced tools
Comparing version 0.0.24 to 0.0.25
# @aomex/core | ||
## 0.0.25 | ||
### Patch Changes | ||
- [`0e6ed2c`](https://github.com/aomex/aomex/commit/0e6ed2c611100dcfaafb6fb41357624ad9f5c67a) Thanks [@geekact](https://github.com/geekact)! - fix(core): skip absolute path and replace back slash to forward slash | ||
## 0.0.24 | ||
@@ -4,0 +10,0 @@ |
@@ -1541,9 +1541,13 @@ // src/utility/to-array.ts | ||
patterns.map(async (pattern2) => { | ||
pattern2 = path.posix.resolve(pattern2); | ||
if (!path.isAbsolute(pattern2)) { | ||
pattern2 = path.posix.resolve(pattern2); | ||
} | ||
pattern2 = pattern2.replace(/\\/g, path.posix.sep); | ||
if (!hasMagic(pattern2, { magicalBraces: true })) { | ||
const stats = await stat(pattern2); | ||
if (!stats.isFile()) { | ||
pattern2 = path.posix.resolve( | ||
pattern2 = path.posix.join( | ||
pattern2, | ||
`./**/*.{ts,js,mts,mjs,cts,cjs}` | ||
"**", | ||
"*.{ts,js,mts,mjs,cts,cjs}" | ||
); | ||
@@ -1550,0 +1554,0 @@ } |
{ | ||
"name": "@aomex/core", | ||
"version": "0.0.24", | ||
"version": "0.0.25", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
199166
2512