@builderbot/cli 1.3.2-y.0 → 1.3.4

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.
Files changed (2) hide show
  1. package/dist/index.cjs +6 -5
  2. package/package.json +2 -2
package/dist/index.cjs CHANGED
@@ -1634,7 +1634,8 @@ function checkParentPathsSync (src, srcStat, dest, funcName) {
1634
1634
  }
1635
1635
 
1636
1636
  function areIdentical$2 (srcStat, destStat) {
1637
- return destStat.ino && destStat.dev && destStat.ino === srcStat.ino && destStat.dev === srcStat.dev
1637
+ // stat.dev can be 0n on windows when node version >= 22.x.x
1638
+ return destStat.ino !== undefined && destStat.dev !== undefined && destStat.ino === srcStat.ino && destStat.dev === srcStat.dev
1638
1639
  }
1639
1640
 
1640
1641
  // return true if dest is a subdir of src, otherwise false.
@@ -2516,16 +2517,16 @@ function writeFileSync (file, obj, options = {}) {
2516
2517
  return fs.writeFileSync(file, str, options)
2517
2518
  }
2518
2519
 
2519
- const jsonfile$1 = {
2520
+ // NOTE: do not change this export format; required for ESM compat
2521
+ // see https://github.com/jprichardson/node-jsonfile/pull/162 for details
2522
+ var jsonfile$1 = {
2520
2523
  readFile,
2521
2524
  readFileSync,
2522
2525
  writeFile,
2523
2526
  writeFileSync
2524
2527
  };
2525
2528
 
2526
- var jsonfile_1 = jsonfile$1;
2527
-
2528
- const jsonFile$1 = jsonfile_1;
2529
+ const jsonFile$1 = jsonfile$1;
2529
2530
 
2530
2531
  var jsonfile = {
2531
2532
  // jsonfile exports
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builderbot/cli",
3
- "version": "1.3.2-y.0",
3
+ "version": "1.3.4",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "types": "dist/index.d.ts",
@@ -41,5 +41,5 @@
41
41
  "type": "git",
42
42
  "url": "https://github.com/codigoencasa/bot-whatsapp/tree/main/packages/cli"
43
43
  },
44
- "gitHead": "244b463082570e8b48813803df74f34392205d44"
44
+ "gitHead": "cd87c245c33c8da9be9386b498d561484021c1c9"
45
45
  }