@lwrjs/dev-proxy-server 0.12.0-alpha.4 → 0.12.0-alpha.6
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.
- package/build/cjs/index.cjs +1 -1
- package/build/es/index.js +1 -1
- package/package.json +5 -5
package/build/cjs/index.cjs
CHANGED
|
@@ -50,7 +50,7 @@ function findProxyConfiguration(rootDir, buildDir) {
|
|
|
50
50
|
return;
|
|
51
51
|
}
|
|
52
52
|
function readAndProcessProxyConfiguration(proxyConfigFile) {
|
|
53
|
-
const entries = import_fs.default.readFileSync(proxyConfigFile).toString().split("\n");
|
|
53
|
+
const entries = import_fs.default.readFileSync(proxyConfigFile).toString().trim().split("\n");
|
|
54
54
|
const proxyConfigs = entries.map((entry, idx) => {
|
|
55
55
|
const config = entry.split(" ");
|
|
56
56
|
if (config.length !== 2) {
|
package/build/es/index.js
CHANGED
|
@@ -37,7 +37,7 @@ export function findProxyConfiguration(rootDir, buildDir) {
|
|
|
37
37
|
return;
|
|
38
38
|
}
|
|
39
39
|
function readAndProcessProxyConfiguration(proxyConfigFile) {
|
|
40
|
-
const entries = fs.readFileSync(proxyConfigFile).toString().split('\n');
|
|
40
|
+
const entries = fs.readFileSync(proxyConfigFile).toString().trim().split('\n');
|
|
41
41
|
const proxyConfigs = entries.map((entry, idx) => {
|
|
42
42
|
const config = entry.split(' ');
|
|
43
43
|
if (config.length !== 2) {
|
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.6",
|
|
8
8
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
"build/**/*.d.ts"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@lwrjs/diagnostics": "0.12.0-alpha.
|
|
34
|
-
"@lwrjs/shared-utils": "0.12.0-alpha.
|
|
33
|
+
"@lwrjs/diagnostics": "0.12.0-alpha.6",
|
|
34
|
+
"@lwrjs/shared-utils": "0.12.0-alpha.6",
|
|
35
35
|
"express": "^4.18.2",
|
|
36
36
|
"http-proxy-middleware": "0.21.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@lwrjs/types": "0.12.0-alpha.
|
|
39
|
+
"@lwrjs/types": "0.12.0-alpha.6"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=18.0.0"
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"volta": {
|
|
45
45
|
"extends": "../../../package.json"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "d9428f6168feea04d3de54129a5861eb4590b26c"
|
|
48
48
|
}
|