@jsenv/plugin-supervisor 1.6.4 → 1.6.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.
@@ -1280,7 +1280,7 @@ const generateCodeToSuperviseScriptWithSrc = ({
1280
1280
  // https://nodejs.org/api/packages.html#resolving-user-conditions
1281
1281
  const readCustomConditionsFromProcessArgs = () => {
1282
1282
  const packageConditions = [];
1283
- process.execArgv.forEach(arg => {
1283
+ for (const arg of process.execArgv) {
1284
1284
  if (arg.includes("-C=")) {
1285
1285
  const packageCondition = arg.slice(0, "-C=".length);
1286
1286
  packageConditions.push(packageCondition);
@@ -1289,7 +1289,7 @@ const readCustomConditionsFromProcessArgs = () => {
1289
1289
  const packageCondition = arg.slice("--conditions=".length);
1290
1290
  packageConditions.push(packageCondition);
1291
1291
  }
1292
- });
1292
+ }
1293
1293
  return packageConditions;
1294
1294
  };
1295
1295
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/plugin-supervisor",
3
- "version": "1.6.4",
3
+ "version": "1.6.6",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,7 +26,7 @@
26
26
  "/dist/"
27
27
  ],
28
28
  "dependencies": {
29
- "@jsenv/ast": "6.5.0",
29
+ "@jsenv/ast": "6.5.2",
30
30
  "@jsenv/urls": "2.6.0",
31
31
  "@jsenv/sourcemap": "1.2.30",
32
32
  "launch-editor": "2.9.1"