@pandacss/node 0.53.7 → 0.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +16 -16
- package/dist/index.mjs +16 -16
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -1987,10 +1987,10 @@ var DiffEngine = class {
|
|
|
1987
1987
|
init_cjs_shims();
|
|
1988
1988
|
var import_logger2 = require("@pandacss/logger");
|
|
1989
1989
|
var import_chokidar = __toESM(require("chokidar"));
|
|
1990
|
+
var import_fast_glob = __toESM(require("fast-glob"));
|
|
1990
1991
|
var import_fs_extra = __toESM(require("fs-extra"));
|
|
1991
1992
|
var import_path2 = require("path");
|
|
1992
1993
|
var import_picomatch2 = __toESM(require("picomatch"));
|
|
1993
|
-
var import_tinyglobby = require("tinyglobby");
|
|
1994
1994
|
|
|
1995
1995
|
// src/glob-dirname.ts
|
|
1996
1996
|
init_cjs_shims();
|
|
@@ -1998,10 +1998,10 @@ var import_path = require("path");
|
|
|
1998
1998
|
var import_picomatch = __toESM(require("picomatch"));
|
|
1999
1999
|
function globDirname(globs) {
|
|
2000
2000
|
const rootDirs = /* @__PURE__ */ new Set();
|
|
2001
|
-
for (const
|
|
2002
|
-
const scan = import_picomatch.default.scan(
|
|
2001
|
+
for (const glob2 of globs) {
|
|
2002
|
+
const scan = import_picomatch.default.scan(glob2, { tokens: true });
|
|
2003
2003
|
if (!scan.isGlob) {
|
|
2004
|
-
rootDirs.add(
|
|
2004
|
+
rootDirs.add(glob2);
|
|
2005
2005
|
continue;
|
|
2006
2006
|
}
|
|
2007
2007
|
const nonGlobTokens = scan.tokens?.filter((token) => !token.isPrefix && !token.isGlob);
|
|
@@ -2047,7 +2047,7 @@ var nodeRuntime = {
|
|
|
2047
2047
|
if (!ignore.length) {
|
|
2048
2048
|
ignore.push("**/*.d.ts");
|
|
2049
2049
|
}
|
|
2050
|
-
return
|
|
2050
|
+
return import_fast_glob.default.sync(opts.include, { cwd: opts.cwd, ignore, absolute: true });
|
|
2051
2051
|
},
|
|
2052
2052
|
writeFile: import_fs_extra.default.writeFile,
|
|
2053
2053
|
writeFileSync: import_fs_extra.default.writeFileSync,
|
|
@@ -2312,21 +2312,21 @@ var import_path3 = require("path");
|
|
|
2312
2312
|
init_cjs_shims();
|
|
2313
2313
|
var import_glob_parent = __toESM(require("glob-parent"));
|
|
2314
2314
|
function parseGlob(pattern) {
|
|
2315
|
-
let
|
|
2315
|
+
let glob2 = pattern;
|
|
2316
2316
|
const base = (0, import_glob_parent.default)(pattern);
|
|
2317
2317
|
if (base !== ".") {
|
|
2318
|
-
|
|
2319
|
-
if (
|
|
2320
|
-
|
|
2318
|
+
glob2 = pattern.substring(base.length);
|
|
2319
|
+
if (glob2.charAt(0) === "/") {
|
|
2320
|
+
glob2 = glob2.substring(1);
|
|
2321
2321
|
}
|
|
2322
2322
|
}
|
|
2323
|
-
if (
|
|
2324
|
-
|
|
2323
|
+
if (glob2.substring(0, 2) === "./") {
|
|
2324
|
+
glob2 = glob2.substring(2);
|
|
2325
2325
|
}
|
|
2326
|
-
if (
|
|
2327
|
-
|
|
2326
|
+
if (glob2.charAt(0) === "/") {
|
|
2327
|
+
glob2 = glob2.substring(1);
|
|
2328
2328
|
}
|
|
2329
|
-
return { base, glob };
|
|
2329
|
+
return { base, glob: glob2 };
|
|
2330
2330
|
}
|
|
2331
2331
|
|
|
2332
2332
|
// src/parse-dependency.ts
|
|
@@ -2336,8 +2336,8 @@ function parseDependency(fileOrGlob) {
|
|
|
2336
2336
|
}
|
|
2337
2337
|
let message = null;
|
|
2338
2338
|
if ((0, import_is_glob.default)(fileOrGlob)) {
|
|
2339
|
-
const { base, glob } = parseGlob(fileOrGlob);
|
|
2340
|
-
message = { type: "dir-dependency", dir: (0, import_path3.normalize)((0, import_path3.resolve)(base)), glob };
|
|
2339
|
+
const { base, glob: glob2 } = parseGlob(fileOrGlob);
|
|
2340
|
+
message = { type: "dir-dependency", dir: (0, import_path3.normalize)((0, import_path3.resolve)(base)), glob: glob2 };
|
|
2341
2341
|
} else {
|
|
2342
2342
|
message = { type: "dependency", file: (0, import_path3.normalize)((0, import_path3.resolve)(fileOrGlob)) };
|
|
2343
2343
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -1962,10 +1962,10 @@ var DiffEngine = class {
|
|
|
1962
1962
|
init_esm_shims();
|
|
1963
1963
|
import { logger as logger2 } from "@pandacss/logger";
|
|
1964
1964
|
import chokidar from "chokidar";
|
|
1965
|
+
import glob from "fast-glob";
|
|
1965
1966
|
import fsExtra from "fs-extra";
|
|
1966
1967
|
import { dirname, extname, isAbsolute, join as join2, relative, resolve, sep } from "path";
|
|
1967
1968
|
import picomatch2 from "picomatch";
|
|
1968
|
-
import { globSync } from "tinyglobby";
|
|
1969
1969
|
|
|
1970
1970
|
// src/glob-dirname.ts
|
|
1971
1971
|
init_esm_shims();
|
|
@@ -1973,10 +1973,10 @@ import { join } from "path";
|
|
|
1973
1973
|
import picomatch from "picomatch";
|
|
1974
1974
|
function globDirname(globs) {
|
|
1975
1975
|
const rootDirs = /* @__PURE__ */ new Set();
|
|
1976
|
-
for (const
|
|
1977
|
-
const scan = picomatch.scan(
|
|
1976
|
+
for (const glob2 of globs) {
|
|
1977
|
+
const scan = picomatch.scan(glob2, { tokens: true });
|
|
1978
1978
|
if (!scan.isGlob) {
|
|
1979
|
-
rootDirs.add(
|
|
1979
|
+
rootDirs.add(glob2);
|
|
1980
1980
|
continue;
|
|
1981
1981
|
}
|
|
1982
1982
|
const nonGlobTokens = scan.tokens?.filter((token) => !token.isPrefix && !token.isGlob);
|
|
@@ -2022,7 +2022,7 @@ var nodeRuntime = {
|
|
|
2022
2022
|
if (!ignore.length) {
|
|
2023
2023
|
ignore.push("**/*.d.ts");
|
|
2024
2024
|
}
|
|
2025
|
-
return
|
|
2025
|
+
return glob.sync(opts.include, { cwd: opts.cwd, ignore, absolute: true });
|
|
2026
2026
|
},
|
|
2027
2027
|
writeFile: fsExtra.writeFile,
|
|
2028
2028
|
writeFileSync: fsExtra.writeFileSync,
|
|
@@ -2287,21 +2287,21 @@ import { normalize, resolve as resolve2 } from "path";
|
|
|
2287
2287
|
init_esm_shims();
|
|
2288
2288
|
import globParent from "glob-parent";
|
|
2289
2289
|
function parseGlob(pattern) {
|
|
2290
|
-
let
|
|
2290
|
+
let glob2 = pattern;
|
|
2291
2291
|
const base = globParent(pattern);
|
|
2292
2292
|
if (base !== ".") {
|
|
2293
|
-
|
|
2294
|
-
if (
|
|
2295
|
-
|
|
2293
|
+
glob2 = pattern.substring(base.length);
|
|
2294
|
+
if (glob2.charAt(0) === "/") {
|
|
2295
|
+
glob2 = glob2.substring(1);
|
|
2296
2296
|
}
|
|
2297
2297
|
}
|
|
2298
|
-
if (
|
|
2299
|
-
|
|
2298
|
+
if (glob2.substring(0, 2) === "./") {
|
|
2299
|
+
glob2 = glob2.substring(2);
|
|
2300
2300
|
}
|
|
2301
|
-
if (
|
|
2302
|
-
|
|
2301
|
+
if (glob2.charAt(0) === "/") {
|
|
2302
|
+
glob2 = glob2.substring(1);
|
|
2303
2303
|
}
|
|
2304
|
-
return { base, glob };
|
|
2304
|
+
return { base, glob: glob2 };
|
|
2305
2305
|
}
|
|
2306
2306
|
|
|
2307
2307
|
// src/parse-dependency.ts
|
|
@@ -2311,8 +2311,8 @@ function parseDependency(fileOrGlob) {
|
|
|
2311
2311
|
}
|
|
2312
2312
|
let message = null;
|
|
2313
2313
|
if (isGlob(fileOrGlob)) {
|
|
2314
|
-
const { base, glob } = parseGlob(fileOrGlob);
|
|
2315
|
-
message = { type: "dir-dependency", dir: normalize(resolve2(base)), glob };
|
|
2314
|
+
const { base, glob: glob2 } = parseGlob(fileOrGlob);
|
|
2315
|
+
message = { type: "dir-dependency", dir: normalize(resolve2(base)), glob: glob2 };
|
|
2316
2316
|
} else {
|
|
2317
2317
|
message = { type: "dependency", file: normalize(resolve2(fileOrGlob)) };
|
|
2318
2318
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/node",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.54.0",
|
|
4
4
|
"description": "The core css panda library",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"browserslist": "4.23.3",
|
|
36
36
|
"chokidar": "4.0.3",
|
|
37
|
-
"
|
|
37
|
+
"fast-glob": "3.3.3",
|
|
38
38
|
"fs-extra": "11.2.0",
|
|
39
39
|
"glob-parent": "6.0.2",
|
|
40
40
|
"is-glob": "4.0.3",
|
|
@@ -51,15 +51,15 @@
|
|
|
51
51
|
"ts-morph": "24.0.0",
|
|
52
52
|
"ts-pattern": "5.0.8",
|
|
53
53
|
"tsconfck": "3.0.2",
|
|
54
|
-
"@pandacss/config": "0.
|
|
55
|
-
"@pandacss/core": "0.
|
|
56
|
-
"@pandacss/generator": "0.
|
|
57
|
-
"@pandacss/reporter": "0.
|
|
58
|
-
"@pandacss/logger": "0.
|
|
59
|
-
"@pandacss/parser": "0.
|
|
60
|
-
"@pandacss/shared": "0.
|
|
61
|
-
"@pandacss/token-dictionary": "0.
|
|
62
|
-
"@pandacss/types": "0.
|
|
54
|
+
"@pandacss/config": "0.54.0",
|
|
55
|
+
"@pandacss/core": "0.54.0",
|
|
56
|
+
"@pandacss/generator": "0.54.0",
|
|
57
|
+
"@pandacss/reporter": "0.54.0",
|
|
58
|
+
"@pandacss/logger": "0.54.0",
|
|
59
|
+
"@pandacss/parser": "0.54.0",
|
|
60
|
+
"@pandacss/shared": "0.54.0",
|
|
61
|
+
"@pandacss/token-dictionary": "0.54.0",
|
|
62
|
+
"@pandacss/types": "0.54.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@types/picomatch": "3.0.2",
|