@lwrjs/module-bundler 0.21.7 → 0.22.1

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.
@@ -129,7 +129,7 @@ var LwrModuleBundler = class {
129
129
  }
130
130
  const bundleUri = {
131
131
  artifactType: "bundle",
132
- uri: (0, import_path.join)(runtimeEnvironment.basePath || "", uri),
132
+ uri: (0, import_shared_utils.toForwardSlash)((0, import_path.join)(runtimeEnvironment.basePath || "", uri)),
133
133
  immutable: runtimeEnvironment.immutableAssets,
134
134
  entry: uri
135
135
  };
package/build/es/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { join } from 'path';
2
2
  import { LRUCache } from 'lru-cache';
3
3
  import { LwrUnresolvableError, descriptions, logger } from '@lwrjs/diagnostics';
4
- import { signBundle, getCacheKeyFromJson, InflightTasks, TaskPool, isLambdaEnv } from '@lwrjs/shared-utils';
4
+ import { signBundle, getCacheKeyFromJson, InflightTasks, TaskPool, isLambdaEnv, toForwardSlash, } from '@lwrjs/shared-utils';
5
5
  import { getTracer, BundleSpan, cacheCountStore } from '@lwrjs/instrumentation';
6
6
  const TASK_POOL = new TaskPool();
7
7
  export class LwrModuleBundler {
@@ -127,7 +127,7 @@ export class LwrModuleBundler {
127
127
  }
128
128
  const bundleUri = {
129
129
  artifactType: 'bundle',
130
- uri: join(runtimeEnvironment.basePath || '', uri),
130
+ uri: toForwardSlash(join(runtimeEnvironment.basePath || '', uri)),
131
131
  immutable: runtimeEnvironment.immutableAssets,
132
132
  entry: uri,
133
133
  };
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.21.7",
7
+ "version": "0.22.1",
8
8
  "homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
9
9
  "repository": {
10
10
  "type": "git",
@@ -43,15 +43,15 @@
43
43
  "build/**/*.d.ts"
44
44
  ],
45
45
  "dependencies": {
46
- "@lwrjs/diagnostics": "0.21.7",
47
- "@lwrjs/instrumentation": "0.21.7",
48
- "@lwrjs/shared-utils": "0.21.7",
46
+ "@lwrjs/diagnostics": "0.22.1",
47
+ "@lwrjs/instrumentation": "0.22.1",
48
+ "@lwrjs/shared-utils": "0.22.1",
49
49
  "@rollup/plugin-replace": "^5.0.7",
50
50
  "lru-cache": "^10.4.3",
51
51
  "rollup": "^2.79.2"
52
52
  },
53
53
  "devDependencies": {
54
- "@lwrjs/types": "0.21.7",
54
+ "@lwrjs/types": "0.22.1",
55
55
  "jest": "29.7.0",
56
56
  "ts-jest": "^29.2.6"
57
57
  },
@@ -59,10 +59,10 @@
59
59
  "esbuild": "^0.9.7"
60
60
  },
61
61
  "engines": {
62
- "node": ">=20.0.0"
62
+ "node": ">=22.0.0"
63
63
  },
64
64
  "volta": {
65
65
  "extends": "../../../package.json"
66
66
  },
67
- "gitHead": "685ec1660fd33420c61437bb3fcd37021036db12"
67
+ "gitHead": "29d44fb69ae394a4191c6a81024a8a81f2125556"
68
68
  }