@lwrjs/static 0.16.11 → 0.16.13
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.
|
@@ -43,7 +43,7 @@ function mrtStaticUriTransformer() {
|
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
45
|
let basePathlessUri = uriDef.uri;
|
|
46
|
-
if (runtimeEnvironment?.basePath) {
|
|
46
|
+
if (runtimeEnvironment?.basePath && uriDef.uri.startsWith(runtimeEnvironment?.basePath)) {
|
|
47
47
|
basePathlessUri = uriDef.uri.replace(runtimeEnvironment?.basePath, "");
|
|
48
48
|
}
|
|
49
49
|
const uri = (0, import_shared_utils.getMrtArtifactUrl)(runtimeEnvironment?.basePath || "", basePathlessUri);
|
|
@@ -20,7 +20,7 @@ export default function mrtStaticUriTransformer() {
|
|
|
20
20
|
}
|
|
21
21
|
// Remove the basePath from the uri
|
|
22
22
|
let basePathlessUri = uriDef.uri;
|
|
23
|
-
if (runtimeEnvironment?.basePath) {
|
|
23
|
+
if (runtimeEnvironment?.basePath && uriDef.uri.startsWith(runtimeEnvironment?.basePath)) {
|
|
24
24
|
basePathlessUri = uriDef.uri.replace(runtimeEnvironment?.basePath, '');
|
|
25
25
|
}
|
|
26
26
|
const uri = getMrtArtifactUrl(runtimeEnvironment?.basePath || '', basePathlessUri);
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.16.
|
|
7
|
+
"version": "0.16.13",
|
|
8
8
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -56,13 +56,13 @@
|
|
|
56
56
|
"build/**/*.d.ts"
|
|
57
57
|
],
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@lwrjs/diagnostics": "0.16.
|
|
60
|
-
"@lwrjs/instrumentation": "0.16.
|
|
61
|
-
"@lwrjs/shared-utils": "0.16.
|
|
59
|
+
"@lwrjs/diagnostics": "0.16.13",
|
|
60
|
+
"@lwrjs/instrumentation": "0.16.13",
|
|
61
|
+
"@lwrjs/shared-utils": "0.16.13",
|
|
62
62
|
"lru-cache": "^10.4.3"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@lwrjs/types": "0.16.
|
|
65
|
+
"@lwrjs/types": "0.16.13",
|
|
66
66
|
"@types/express": "^4.17.21",
|
|
67
67
|
"jest": "^26.6.3",
|
|
68
68
|
"jest-express": "^1.12.0",
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"volta": {
|
|
77
77
|
"extends": "../../../package.json"
|
|
78
78
|
},
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "ce59acba60938107e2f6a5dc06d6308c782d3e7c"
|
|
80
80
|
}
|