@syncbridge/syncbuild 0.5.8 → 0.5.9

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.
@@ -1,3 +1,4 @@
1
+ // noinspection ExceptionCaughtLocallyJS
1
2
  import fs from 'node:fs';
2
3
  import { createRequire } from 'node:module';
3
4
  import path from 'node:path';
@@ -61,12 +62,12 @@ export function _scanNativeDeps(parentPath, pkgName, externals, visited, ignoreN
61
62
  }
62
63
  if (pkgJson.dependencies) {
63
64
  for (const dep of Object.keys(pkgJson.dependencies)) {
64
- _scanNativeDeps(parentPath, dep, externals, visited);
65
+ _scanNativeDeps(pkgDir, dep, externals, visited);
65
66
  }
66
67
  }
67
68
  if (pkgJson.optionalDependencies) {
68
69
  for (const dep of Object.keys(pkgJson.optionalDependencies)) {
69
- _scanNativeDeps(parentPath, dep, externals, visited, true);
70
+ _scanNativeDeps(pkgDir, dep, externals, visited, true);
70
71
  }
71
72
  }
72
73
  }
package/constants.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import process from 'node:process';
2
- export const version = '0.5.8';
2
+ export const version = '0.5.9';
3
3
  // Environment variables
4
4
  export const NODE_ENV = process.env.NODE_ENV === 'test'
5
5
  ? 'test'
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@syncbridge/syncbuild",
3
- "version": "0.5.8",
3
+ "version": "0.5.9",
4
4
  "description": "SyncBridge Extension Package Builder",
5
5
  "author": "Panates Inc",
6
6
  "license": "MIT",
7
7
  "dependencies": {
8
- "@jsopen/objects": "^2.0.2",
8
+ "@jsopen/objects": "^2.1.1",
9
9
  "adm-zip": "^0.5.16",
10
10
  "ansi-colors": "^4.1.3",
11
11
  "commander": "^14.0.3",
12
12
  "cross-dirname": "^0.1.0",
13
- "esbuild": "^0.27.2",
13
+ "esbuild": "^0.27.3",
14
14
  "fast-glob": "^3.3.3",
15
15
  "jsonc-parser": "^3.3.1",
16
16
  "putil-varhelpers": "^1.7.0",
@@ -20,7 +20,7 @@
20
20
  "typescript": "^5.9.3"
21
21
  },
22
22
  "peerDependencies": {
23
- "@syncbridge/common": "^0.5.8"
23
+ "@syncbridge/common": "^0.5.9"
24
24
  },
25
25
  "type": "module",
26
26
  "module": "./index.js",