@lwrjs/module-registry 0.12.0-alpha.15 → 0.12.0-alpha.16

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.15",
7
+ "version": "0.12.0-alpha.16",
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.15",
34
- "@lwrjs/diagnostics": "0.12.0-alpha.15",
35
- "@lwrjs/shared-utils": "0.12.0-alpha.15",
33
+ "@lwrjs/config": "0.12.0-alpha.16",
34
+ "@lwrjs/diagnostics": "0.12.0-alpha.16",
35
+ "@lwrjs/shared-utils": "0.12.0-alpha.16",
36
36
  "rollup": "^2.78.0"
37
37
  },
38
38
  "devDependencies": {
39
- "@lwrjs/types": "0.12.0-alpha.15"
39
+ "@lwrjs/types": "0.12.0-alpha.16"
40
40
  },
41
41
  "engines": {
42
42
  "node": ">=18.0.0"
43
43
  },
44
- "gitHead": "ec5b8babc9f0b07389bcb5575665ceddd77b37a1"
44
+ "gitHead": "4385e7e4aa6f2b1ffbeb64799675d8a3d8d7c0cd"
45
45
  }