@lwrjs/module-registry 0.12.0-alpha.13 → 0.12.0-alpha.15
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.
|
@@ -145,7 +145,7 @@ async function link(moduleRegistry, moduleDef, versionStrategy, uriStrategy, run
|
|
|
145
145
|
if (importMeta && importMeta.length > 0) {
|
|
146
146
|
importMeta.forEach(({statement, location}) => {
|
|
147
147
|
if (statement === "import.meta.env.SSR") {
|
|
148
|
-
codeStringBuilder.overwrite(location.startColumn, location.endColumn, "isServer");
|
|
148
|
+
codeStringBuilder.overwrite(location.startColumn, location.endColumn, "isServer()");
|
|
149
149
|
}
|
|
150
150
|
});
|
|
151
151
|
const {specifier: envSpecifier, version: envVersion} = await moduleRegistry.getModuleEntry({specifier: "lwr/environment"}, runtimeParams);
|
|
@@ -146,7 +146,7 @@ export async function link(moduleRegistry, moduleDef, versionStrategy, uriStrate
|
|
|
146
146
|
// Replace each "import.meta.env.SSR" statement with "isServer"
|
|
147
147
|
importMeta.forEach(({ statement, location }) => {
|
|
148
148
|
if (statement === 'import.meta.env.SSR') {
|
|
149
|
-
codeStringBuilder.overwrite(location.startColumn, location.endColumn, 'isServer');
|
|
149
|
+
codeStringBuilder.overwrite(location.startColumn, location.endColumn, 'isServer()');
|
|
150
150
|
}
|
|
151
151
|
});
|
|
152
152
|
const { specifier: envSpecifier, version: envVersion } = await moduleRegistry.getModuleEntry({ specifier: 'lwr/environment' }, runtimeParams);
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.12.0-alpha.
|
|
7
|
+
"version": "0.12.0-alpha.15",
|
|
8
8
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -30,16 +30,16 @@
|
|
|
30
30
|
"build/**/*.d.ts"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@lwrjs/config": "0.12.0-alpha.
|
|
34
|
-
"@lwrjs/diagnostics": "0.12.0-alpha.
|
|
35
|
-
"@lwrjs/shared-utils": "0.12.0-alpha.
|
|
33
|
+
"@lwrjs/config": "0.12.0-alpha.15",
|
|
34
|
+
"@lwrjs/diagnostics": "0.12.0-alpha.15",
|
|
35
|
+
"@lwrjs/shared-utils": "0.12.0-alpha.15",
|
|
36
36
|
"rollup": "^2.78.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@lwrjs/types": "0.12.0-alpha.
|
|
39
|
+
"@lwrjs/types": "0.12.0-alpha.15"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=18.0.0"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "ec5b8babc9f0b07389bcb5575665ceddd77b37a1"
|
|
45
45
|
}
|