tailwind-styled-v4 5.0.39 → 5.0.40

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/engine.js CHANGED
@@ -1686,14 +1686,13 @@ async function generateRawCss(classes, cssEntryContent, root) {
1686
1686
  const compiler = await Promise.resolve(tw.compile(input, { loadStylesheet }));
1687
1687
  return compiler.build(classes);
1688
1688
  }
1689
- var import_node_module2, import_meta, require2, MAX_CACHE_MEMORY, _twEngine, _twEngineError;
1689
+ var import_node_module2, require2, MAX_CACHE_MEMORY, _twEngine, _twEngineError;
1690
1690
  var init_tailwindEngine = __esm({
1691
1691
  "packages/domain/compiler/src/tailwindEngine.ts"() {
1692
1692
  "use strict";
1693
1693
  import_node_module2 = require("module");
1694
- import_meta = {};
1695
1694
  require2 = (0, import_node_module2.createRequire)(
1696
- typeof __filename !== "undefined" ? `file://${__filename}` : typeof import_meta !== "undefined" && __importMetaUrl ? __importMetaUrl : "file://unknown"
1695
+ typeof __filename !== "undefined" ? `file://${__filename}` : false ? __importMetaUrl : "file://unknown"
1697
1696
  );
1698
1697
  MAX_CACHE_MEMORY = 256 * 1024;
1699
1698
  _twEngine = null;
@@ -1876,7 +1875,7 @@ function processTailwindCssWithTargets(css, targets) {
1876
1875
  }
1877
1876
  return result.css;
1878
1877
  }
1879
- var import_node_module3, import_meta2, require3, _cssCache, _cacheHits, _cacheMisses, MAX_CACHE_SIZE, MAX_CACHE_MEMORY2;
1878
+ var import_node_module3, require3, _cssCache, _cacheHits, _cacheMisses, MAX_CACHE_SIZE, MAX_CACHE_MEMORY2;
1880
1879
  var init_tailwindEngine2 = __esm({
1881
1880
  "packages/domain/compiler/src/compiler/tailwindEngine.ts"() {
1882
1881
  "use strict";
@@ -1885,9 +1884,8 @@ var init_tailwindEngine2 = __esm({
1885
1884
  init_cssGeneratorNative();
1886
1885
  init_cssCompilationNative();
1887
1886
  init_tailwindEngine();
1888
- import_meta2 = {};
1889
1887
  require3 = (0, import_node_module3.createRequire)(
1890
- typeof __filename !== "undefined" ? `file://${__filename}` : typeof import_meta2 !== "undefined" && __importMetaUrl ? __importMetaUrl : "file://unknown"
1888
+ typeof __filename !== "undefined" ? `file://${__filename}` : false ? __importMetaUrl : "file://unknown"
1891
1889
  );
1892
1890
  _cssCache = /* @__PURE__ */ new Map();
1893
1891
  _cacheHits = 0;
@@ -4138,8 +4136,8 @@ function getDirname2() {
4138
4136
  if (typeof __dirname !== "undefined") {
4139
4137
  return __dirname;
4140
4138
  }
4141
- if (typeof import_meta3 !== "undefined" && __importMetaUrl) {
4142
- return import_node_path5.default.dirname((0, import_node_url2.fileURLToPath)(__importMetaUrl));
4139
+ if (false) {
4140
+ return path6.dirname(fileURLToPath2(__importMetaUrl));
4143
4141
  }
4144
4142
  return process.cwd();
4145
4143
  }
@@ -4344,14 +4342,13 @@ function hasNativeWatchBinding() {
4344
4342
  return false;
4345
4343
  }
4346
4344
  }
4347
- var import_node_path5, import_node_url2, import_meta3, log2, isValidScannerBinding, createScannerBridgeLoader, scannerBridgeLoader, scannerGetBinding, resetScannerBridgeCache;
4345
+ var import_node_path5, import_node_url2, log2, isValidScannerBinding, createScannerBridgeLoader, scannerBridgeLoader, scannerGetBinding, resetScannerBridgeCache;
4348
4346
  var init_native_bridge = __esm({
4349
4347
  "packages/domain/scanner/src/native-bridge.ts"() {
4350
4348
  "use strict";
4351
- import_node_path5 = __toESM(require("path"), 1);
4349
+ import_node_path5 = require("path");
4352
4350
  import_node_url2 = require("url");
4353
4351
  init_src2();
4354
- import_meta3 = {};
4355
4352
  log2 = createDebugLogger("scanner:native");
4356
4353
  isValidScannerBinding = (module2) => {
4357
4354
  const candidate = module2;
@@ -4659,8 +4656,8 @@ function getRuntimeDir() {
4659
4656
  if (typeof __dirname !== "undefined" && __dirname.length > 0) {
4660
4657
  return __dirname;
4661
4658
  }
4662
- if (typeof import_meta4 !== "undefined" && __importMetaUrl) {
4663
- return import_node_path8.default.dirname((0, import_node_url4.fileURLToPath)(__importMetaUrl));
4659
+ if (false) {
4660
+ return import_node_path8.default.dirname(fileURLToPath4(__importMetaUrl));
4664
4661
  }
4665
4662
  return process.cwd();
4666
4663
  }
@@ -4669,8 +4666,8 @@ function resolveScannerWorkerModulePath() {
4669
4666
  if (typeof __dirname !== "undefined" && __dirname.length > 0) {
4670
4667
  return __dirname;
4671
4668
  }
4672
- if (typeof import_meta4 !== "undefined" && __importMetaUrl) {
4673
- return import_node_path8.default.dirname((0, import_node_url4.fileURLToPath)(__importMetaUrl));
4669
+ if (false) {
4670
+ return import_node_path8.default.dirname(fileURLToPath4(__importMetaUrl));
4674
4671
  }
4675
4672
  return process.cwd();
4676
4673
  })();
@@ -4943,7 +4940,7 @@ async function scanWorkspaceAsync(rootDir, options = {}) {
4943
4940
  return scanWorkspace2(rootDir, normalizedOptions);
4944
4941
  }
4945
4942
  }
4946
- var import_node_fs6, import_node_module6, import_node_path8, import_node_url4, import_node_worker_threads2, import_meta4, log3, SCAN_WORKER_TIMEOUT_MS, createNativeParserLoader, nativeParserLoader, DEFAULT_EXTENSIONS, DEFAULT_IGNORES;
4943
+ var import_node_fs6, import_node_module6, import_node_path8, import_node_url4, import_node_worker_threads2, log3, SCAN_WORKER_TIMEOUT_MS, createNativeParserLoader, nativeParserLoader, DEFAULT_EXTENSIONS, DEFAULT_IGNORES;
4947
4944
  var init_src3 = __esm({
4948
4945
  "packages/domain/scanner/src/index.ts"() {
4949
4946
  "use strict";
@@ -4959,7 +4956,6 @@ var init_src3 = __esm({
4959
4956
  init_schemas();
4960
4957
  init_schemas();
4961
4958
  init_native_bridge();
4962
- import_meta4 = {};
4963
4959
  log3 = createLogger2("scanner");
4964
4960
  SCAN_WORKER_TIMEOUT_MS = 12e4;
4965
4961
  createNativeParserLoader = () => {
@@ -5049,20 +5045,19 @@ var init_src3 = __esm({
5049
5045
  // packages/domain/engine/src/native-bridge.ts
5050
5046
  function getDirname3() {
5051
5047
  if (typeof __dirname !== "undefined") return __dirname;
5052
- if (typeof import_meta5 !== "undefined" && __importMetaUrl) {
5053
- return getDirname(__importMetaUrl);
5048
+ if (false) {
5049
+ return getEsmDirname(__importMetaUrl);
5054
5050
  }
5055
5051
  return process.cwd();
5056
5052
  }
5057
5053
  function getNativeEngineBinding() {
5058
5054
  return engineBindingLoader.get();
5059
5055
  }
5060
- var import_meta5, log4, isValidEngineBinding, createEngineBindingLoader, engineBindingLoader;
5056
+ var log4, isValidEngineBinding, createEngineBindingLoader, engineBindingLoader;
5061
5057
  var init_native_bridge2 = __esm({
5062
5058
  "packages/domain/engine/src/native-bridge.ts"() {
5063
5059
  "use strict";
5064
5060
  init_src2();
5065
- import_meta5 = {};
5066
5061
  log4 = createDebugLogger("engine:native");
5067
5062
  isValidEngineBinding = (module2) => {
5068
5063
  const candidate = module2;
@@ -7082,7 +7077,6 @@ init_cssToIr();
7082
7077
  var import_node_module7 = require("module");
7083
7078
  var import_node_path13 = __toESM(require("path"), 1);
7084
7079
  init_src2();
7085
- var import_meta6 = {};
7086
7080
  var watchBindingState = {
7087
7081
  binding: void 0
7088
7082
  };
@@ -7097,7 +7091,7 @@ var getBinding = () => {
7097
7091
  }
7098
7092
  const runtimeDir = typeof __dirname === "string" ? __dirname : process.cwd();
7099
7093
  const req = (0, import_node_module7.createRequire)(
7100
- typeof __filename !== "undefined" ? `file://${__filename}` : typeof import_meta6 !== "undefined" && __importMetaUrl ? __importMetaUrl : "file://unknown"
7094
+ typeof __filename !== "undefined" ? `file://${__filename}` : false ? __importMetaUrl : "file://unknown"
7101
7095
  );
7102
7096
  const _pa = `${process.platform}-${process.arch}`;
7103
7097
  const _paGnu = _pa === "linux-x64" ? "linux-x64-gnu" : _pa === "linux-arm64" ? "linux-arm64-gnu" : _pa;