🔧
This commit is contained in:
5
node_modules/tinyglobby/README.md
generated
vendored
5
node_modules/tinyglobby/README.md
generated
vendored
@@ -49,18 +49,21 @@ globSync(['src/**/*.ts'], { ignore: ['**/*.d.ts'] });
|
||||
|
||||
<!-- should be sorted by weekly download count -->
|
||||
- [`vite`](https://github.com/vitejs/vite)
|
||||
- [`pnpm`](https://github.com/pnpm/pnpm)
|
||||
- [`node-gyp`](https://github.com/nodejs/node-gyp)
|
||||
- [`eslint-import-resolver-typescript`](https://github.com/import-js/eslint-import-resolver-typescript)
|
||||
- [`vitest`](https://github.com/vitest-dev/vitest)
|
||||
- [`copy-webpack-plugin`](https://github.com/webpack-contrib/copy-webpack-plugin)
|
||||
- [`ts-morph`](https://github.com/dsherret/ts-morph)
|
||||
- [`nx`](https://github.com/nrwl/nx)
|
||||
- [`sort-package-json`](https://github.com/keithamus/sort-package-json)
|
||||
- [`unimport`](https://github.com/unjs/unimport)
|
||||
- [`tsup`](https://github.com/egoist/tsup)
|
||||
- [`vite-plugin-checker`](https://github.com/fi3ework/vite-plugin-checker)
|
||||
- [`lerna`](https://github.com/lerna/lerna)
|
||||
- [`cspell`](https://github.com/streetsidesoftware/cspell)
|
||||
- [`nuxt`](https://github.com/nuxt/nuxt)
|
||||
- [`postcss-mixins`](https://github.com/postcss/postcss-mixins)
|
||||
- [`astro`](https://github.com/withastro/astro)
|
||||
- [`unocss`](https://github.com/unocss/unocss)
|
||||
- [`vitepress`](https://github.com/vuejs/vitepress)
|
||||
- [`pkg-pr-new`](https://github.com/stackblitz-labs/pkg.pr.new)
|
||||
|
||||
4
node_modules/tinyglobby/dist/index.js
generated
vendored
4
node_modules/tinyglobby/dist/index.js
generated
vendored
@@ -164,7 +164,7 @@ function normalizePattern(pattern, expandDirectories, cwd, props, isIgnore) {
|
||||
}
|
||||
props.depthOffset = newCommonPath.length;
|
||||
props.commonPath = newCommonPath;
|
||||
props.root = newCommonPath.length > 0 ? `${cwd}/${newCommonPath.join("/")}` : cwd;
|
||||
props.root = newCommonPath.length > 0 ? import_node_path.default.posix.join(cwd, ...newCommonPath) : cwd;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
@@ -203,7 +203,7 @@ function getRelativePath(path2, cwd, root) {
|
||||
return import_node_path.posix.relative(cwd, `${root}/${path2}`) || ".";
|
||||
}
|
||||
function processPath(path2, cwd, root, isDirectory, absolute) {
|
||||
const relativePath = absolute ? path2.slice(root.length + 1) || "." : path2;
|
||||
const relativePath = absolute ? path2.slice(root === "/" ? 1 : root.length + 1) || "." : path2;
|
||||
if (root === cwd) {
|
||||
return isDirectory && relativePath !== "." ? relativePath.slice(0, -1) : relativePath;
|
||||
}
|
||||
|
||||
4
node_modules/tinyglobby/dist/index.mjs
generated
vendored
4
node_modules/tinyglobby/dist/index.mjs
generated
vendored
@@ -126,7 +126,7 @@ function normalizePattern(pattern, expandDirectories, cwd, props, isIgnore) {
|
||||
}
|
||||
props.depthOffset = newCommonPath.length;
|
||||
props.commonPath = newCommonPath;
|
||||
props.root = newCommonPath.length > 0 ? `${cwd}/${newCommonPath.join("/")}` : cwd;
|
||||
props.root = newCommonPath.length > 0 ? path.posix.join(cwd, ...newCommonPath) : cwd;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
@@ -165,7 +165,7 @@ function getRelativePath(path2, cwd, root) {
|
||||
return posix.relative(cwd, `${root}/${path2}`) || ".";
|
||||
}
|
||||
function processPath(path2, cwd, root, isDirectory, absolute) {
|
||||
const relativePath = absolute ? path2.slice(root.length + 1) || "." : path2;
|
||||
const relativePath = absolute ? path2.slice(root === "/" ? 1 : root.length + 1) || "." : path2;
|
||||
if (root === cwd) {
|
||||
return isDirectory && relativePath !== "." ? relativePath.slice(0, -1) : relativePath;
|
||||
}
|
||||
|
||||
14
node_modules/tinyglobby/package.json
generated
vendored
14
node_modules/tinyglobby/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "tinyglobby",
|
||||
"version": "0.2.12",
|
||||
"version": "0.2.13",
|
||||
"description": "A fast and minimal alternative to globby and fast-glob",
|
||||
"main": "dist/index.js",
|
||||
"module": "dist/index.mjs",
|
||||
@@ -33,16 +33,16 @@
|
||||
"url": "https://github.com/sponsors/SuperchupuDev"
|
||||
},
|
||||
"dependencies": {
|
||||
"fdir": "^6.4.3",
|
||||
"fdir": "^6.4.4",
|
||||
"picomatch": "^4.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^1.9.4",
|
||||
"@types/node": "^22.13.4",
|
||||
"@types/picomatch": "^3.0.2",
|
||||
"fs-fixture": "^2.7.0",
|
||||
"tsup": "^8.3.6",
|
||||
"typescript": "^5.7.3"
|
||||
"@types/node": "^22.14.1",
|
||||
"@types/picomatch": "^4.0.0",
|
||||
"fs-fixture": "^2.7.1",
|
||||
"tsup": "^8.4.0",
|
||||
"typescript": "^5.8.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12.0.0"
|
||||
|
||||
Reference in New Issue
Block a user