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/index.js CHANGED
@@ -211,11 +211,10 @@ var import_node_module3 = require("module");
211
211
  var import_node_path2 = require("path");
212
212
  var import_node_url2 = require("url");
213
213
  init_src();
214
- var import_meta = {};
215
214
  var isBrowser2 = typeof window !== "undefined" || typeof document !== "undefined";
216
215
  var NATIVE_UNAVAILABLE_MESSAGE = "[tailwind-styled/core] Native binding is required but not available.\nPlease ensure you have run: npm run build:rust";
217
216
  var _nodeRequire = (0, import_node_module3.createRequire)(
218
- typeof __filename !== "undefined" ? `file://${__filename}` : typeof import_meta !== "undefined" && __importMetaUrl ? __importMetaUrl : "file://unknown"
217
+ typeof __filename !== "undefined" ? `file://${__filename}` : false ? __importMetaUrl : "file://unknown"
219
218
  );
220
219
  var _loadNative = (path3) => _nodeRequire(path3);
221
220
  var nativeBinding = null;
@@ -231,7 +230,7 @@ var getBinding = () => {
231
230
  bindingLoadAttempted = true;
232
231
  try {
233
232
  const runtimeDir = isBrowser2 ? "" : (0, import_node_path2.dirname)(
234
- typeof __filename !== "undefined" ? __filename : typeof import_meta !== "undefined" && __importMetaUrl ? (0, import_node_url2.fileURLToPath)(__importMetaUrl) : process.cwd()
233
+ typeof __filename !== "undefined" ? __filename : false ? fileURLToPath2(__importMetaUrl) : process.cwd()
235
234
  );
236
235
  const result = isBrowser2 ? { path: null, source: "not-found", platform: "browser", tried: [] } : resolveNativeBinary(runtimeDir);
237
236
  if (result.path && result.path.endsWith(".node")) {