@plyaz/core 1.18.0 → 1.18.2

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.
@@ -49146,12 +49146,12 @@ var cachedVersion = "";
49146
49146
  function getPackageVersion() {
49147
49147
  if (cachedVersion) return cachedVersion;
49148
49148
  try {
49149
- const require2 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('entry-backend.js', document.baseURI).href)));
49149
+ const require2 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('entry-backend.cjs', document.baseURI).href)));
49150
49150
  const pkg = require2("../package.json");
49151
49151
  cachedVersion = pkg.version ?? "0.0.0";
49152
49152
  } catch {
49153
49153
  try {
49154
- const currentFile = url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('entry-backend.js', document.baseURI).href)));
49154
+ const currentFile = url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('entry-backend.cjs', document.baseURI).href)));
49155
49155
  const currentDir = path.dirname(currentFile);
49156
49156
  const pkgPath = path.join(currentDir, "..", "package.json");
49157
49157
  const pkg = JSON.parse(fs.readFileSync(pkgPath, "utf-8"));
@@ -50684,7 +50684,7 @@ var FileFeatureFlagProvider = class extends FeatureFlagProvider {
50684
50684
  resolveFilePath(filePath) {
50685
50685
  let pathToResolve = filePath;
50686
50686
  if (!pathToResolve) {
50687
- const __filename = url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('entry-backend.js', document.baseURI).href)));
50687
+ const __filename = url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('entry-backend.cjs', document.baseURI).href)));
50688
50688
  const __dirname = path__namespace.dirname(__filename);
50689
50689
  pathToResolve = path__namespace.join(__dirname, "../../../config/feature-provider.json");
50690
50690
  }
@@ -54008,5 +54008,5 @@ exports.snakeToCamel = snakeToCamel;
54008
54008
  exports.toBoolean = toBoolean;
54009
54009
  exports.toNumber = toNumber;
54010
54010
  exports.trimString = trimString;
54011
- //# sourceMappingURL=entry-backend.js.map
54012
- //# sourceMappingURL=entry-backend.js.map
54011
+ //# sourceMappingURL=entry-backend.cjs.map
54012
+ //# sourceMappingURL=entry-backend.cjs.map