@lwrjs/shared-utils 0.13.0-alpha.21 → 0.13.0-alpha.22

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/build/cjs/env.cjs CHANGED
@@ -24,7 +24,9 @@ function getFeatureFlags() {
24
24
  SSR_WITH_CSR_FALLBACK: process.env.SSR_WITH_CSR_FALLBACK !== void 0 && process.env.SSR_WITH_CSR_FALLBACK.toLowerCase() === "true" ? true : false,
25
25
  EXPERIMENTAL_UNVERSIONED_ALIASES: process.env.EXPERIMENTAL_UNVERSIONED_ALIASES !== void 0 && process.env.EXPERIMENTAL_UNVERSIONED_ALIASES.toLowerCase() === "true" ? true : false,
26
26
  LWR_TRACING: process.env.LWR_TRACING !== void 0 && process.env.LWR_TRACING.toLowerCase() !== "off" ? process.env.LWR_TRACING : false,
27
- ENABLE_NONCE: process.env.ENABLE_NONCE !== void 0 && process.env.ENABLE_NONCE.toLowerCase() === "true" ? true : false
27
+ ENABLE_NONCE: process.env.ENABLE_NONCE !== void 0 && process.env.ENABLE_NONCE.toLowerCase() === "true" ? true : false,
28
+ DISABLE_LOADER_CACHE: process.env.DISABLE_LOADER_CACHE !== void 0 && process.env.DISABLE_LOADER_CACHE.toLowerCase() === "true" ? true : false,
29
+ MAX_VIEW_CACHE_TTL: process.env.MAX_VIEW_CACHE_TTL
28
30
  };
29
31
  }
30
32
  function isLambdaEnv() {
package/build/es/env.js CHANGED
@@ -31,6 +31,11 @@ export function getFeatureFlags() {
31
31
  ENABLE_NONCE: process.env.ENABLE_NONCE !== undefined && process.env.ENABLE_NONCE.toLowerCase() === 'true'
32
32
  ? true
33
33
  : false,
34
+ DISABLE_LOADER_CACHE: process.env.DISABLE_LOADER_CACHE !== undefined &&
35
+ process.env.DISABLE_LOADER_CACHE.toLowerCase() === 'true'
36
+ ? true
37
+ : false,
38
+ MAX_VIEW_CACHE_TTL: process.env.MAX_VIEW_CACHE_TTL,
34
39
  };
35
40
  }
36
41
  /**
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.13.0-alpha.21",
7
+ "version": "0.13.0-alpha.22",
8
8
  "homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
9
9
  "repository": {
10
10
  "type": "git",
@@ -37,7 +37,7 @@
37
37
  "build/**/*.d.ts"
38
38
  ],
39
39
  "dependencies": {
40
- "@lwrjs/diagnostics": "0.13.0-alpha.21",
40
+ "@lwrjs/diagnostics": "0.13.0-alpha.22",
41
41
  "es-module-lexer": "^1.5.3",
42
42
  "fast-json-stable-stringify": "^2.1.0",
43
43
  "magic-string": "^0.30.9",
@@ -50,12 +50,12 @@
50
50
  "slugify": "^1.4.5"
51
51
  },
52
52
  "devDependencies": {
53
- "@lwrjs/types": "0.13.0-alpha.21",
53
+ "@lwrjs/types": "0.13.0-alpha.22",
54
54
  "@types/mime-types": "2.1.4",
55
55
  "@types/path-to-regexp": "^1.7.0"
56
56
  },
57
57
  "engines": {
58
58
  "node": ">=18.0.0"
59
59
  },
60
- "gitHead": "d272dcd07881fa469ee73bd28d2f30f99957e122"
60
+ "gitHead": "a5af2e1674c93c9c0d4c250edba8f11302f33b70"
61
61
  }