@lwrjs/module-registry 0.15.0-alpha.2 → 0.15.0-alpha.20

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.
@@ -139,6 +139,7 @@ var LwrModuleRegistry = class {
139
139
  const {format, compat, debug, minify, bundle} = runtimeEnvironment;
140
140
  const locale = runtimeParams?.["locale"];
141
141
  const environment = runtimeParams?.["environment"];
142
+ const ssr = runtimeParams?.["ssr"];
142
143
  const {
143
144
  locker: {enabled: lockerEnabled}
144
145
  } = this.globalConfig;
@@ -153,7 +154,8 @@ var LwrModuleRegistry = class {
153
154
  bundle,
154
155
  lockerEnabled,
155
156
  locale,
156
- environment
157
+ environment,
158
+ ssr
157
159
  });
158
160
  const moduleLinked2 = moduleLinks.get(runtimeEnvKey);
159
161
  if (moduleLinked2) {
@@ -177,7 +179,8 @@ var LwrModuleRegistry = class {
177
179
  bundle,
178
180
  lockerEnabled,
179
181
  locale,
180
- environment
182
+ environment,
183
+ ssr
181
184
  }), moduleLinked);
182
185
  this.moduleLinkedCache.set(id, linkedMap);
183
186
  }
package/build/es/index.js CHANGED
@@ -132,6 +132,7 @@ export class LwrModuleRegistry {
132
132
  const { format, compat, debug, minify, bundle } = runtimeEnvironment;
133
133
  const locale = runtimeParams?.['locale'];
134
134
  const environment = runtimeParams?.['environment'];
135
+ const ssr = runtimeParams?.['ssr'];
135
136
  const { locker: { enabled: lockerEnabled }, } = this.globalConfig;
136
137
  const cacheDisabled = process.env.NOCACHE === 'true';
137
138
  if (cacheDisabled === false && this.moduleLinkedCache.has(id)) {
@@ -145,6 +146,7 @@ export class LwrModuleRegistry {
145
146
  lockerEnabled,
146
147
  locale,
147
148
  environment,
149
+ ssr,
148
150
  });
149
151
  const moduleLinked = moduleLinks.get(runtimeEnvKey);
150
152
  if (moduleLinked) {
@@ -175,6 +177,7 @@ export class LwrModuleRegistry {
175
177
  lockerEnabled,
176
178
  locale,
177
179
  environment,
180
+ ssr,
178
181
  }), moduleLinked);
179
182
  this.moduleLinkedCache.set(id, linkedMap);
180
183
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.15.0-alpha.2",
7
+ "version": "0.15.0-alpha.20",
8
8
  "homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
9
9
  "repository": {
10
10
  "type": "git",
@@ -37,18 +37,18 @@
37
37
  "build": "tsc -b"
38
38
  },
39
39
  "dependencies": {
40
- "@lwrjs/config": "0.15.0-alpha.2",
41
- "@lwrjs/diagnostics": "0.15.0-alpha.2",
42
- "@lwrjs/shared-utils": "0.15.0-alpha.2",
40
+ "@lwrjs/config": "0.15.0-alpha.20",
41
+ "@lwrjs/diagnostics": "0.15.0-alpha.20",
42
+ "@lwrjs/shared-utils": "0.15.0-alpha.20",
43
43
  "fs-extra": "^11.1.1",
44
- "rollup": "^2.78.0"
44
+ "rollup": "^2.79.2"
45
45
  },
46
46
  "devDependencies": {
47
- "@lwrjs/types": "0.15.0-alpha.2",
47
+ "@lwrjs/types": "0.15.0-alpha.20",
48
48
  "memfs": "^4.9.3"
49
49
  },
50
50
  "engines": {
51
51
  "node": ">=18.0.0"
52
52
  },
53
- "gitHead": "58fda4341e2aa0f571a63d83f4aa59865e6a54bd"
53
+ "gitHead": "112ed1a3472b68a90c6884422137006a5dcf032c"
54
54
  }