slnodejs 6.2.19 → 6.2.20
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/lib/preload.js
CHANGED
|
@@ -112,6 +112,11 @@ function main() {
|
|
|
112
112
|
}`;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
+
let proxy = '';
|
|
116
|
+
if (process.env.SL_proxy || process.env.SL_PROXY) {
|
|
117
|
+
proxy = `--proxy ${process.env.SL_proxy || process.env.SL_PROXY}`;
|
|
118
|
+
}
|
|
119
|
+
|
|
115
120
|
const [argv0, ...restArgv] = process.argv.map((x) =>
|
|
116
121
|
x.includes(' ') ? `"${x}"` : x,
|
|
117
122
|
);
|
|
@@ -123,6 +128,7 @@ function main() {
|
|
|
123
128
|
...projectRoot.split(' '),
|
|
124
129
|
...labId.split(' '),
|
|
125
130
|
...collectorUrl.split(' '),
|
|
131
|
+
...proxy.split(' '),
|
|
126
132
|
'--',
|
|
127
133
|
...restArgv,
|
|
128
134
|
].filter((x) => x); // remove unset arguments
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Auto-generated by generate-message-types.js - DO NOT EDIT
|
|
3
|
-
// Generated at: 2026-
|
|
3
|
+
// Generated at: 2026-06-03T09:36:33.625Z
|
|
4
4
|
// Message versions: common=2.5.0, node=1.0.0
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.ALL_MESSAGE_KEYS = exports.TestListenerMessages = exports.GeneralMessages = exports.ErrorNetworkMessages = exports.CdAgentMessages = exports.BuildScannerMessages = void 0;
|