@dry-software/cmake-js 7.3.1 → 7.3.2

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/changelog.md CHANGED
@@ -1,3 +1,7 @@
1
+ # v7.3.2 - 22/01/26
2
+
3
+ - chore: update dependencies
4
+
1
5
  # v7.3.1 - 23/03/25
2
6
 
3
7
  - feat(windows): support for arm64 node
package/lib/dist.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict'
2
2
  const environment = require('./environment')
3
3
  const path = require('path')
4
- const urljoin = require('url-join')
4
+ const { join: urlJoin } = require('node:path/posix');
5
5
  const fs = require('fs-extra')
6
6
  const CMLog = require('./cmLog')
7
7
  const TargetOptions = require('./targetOptions')
@@ -101,7 +101,7 @@ class Dist {
101
101
  }
102
102
  async _downloadShaSums() {
103
103
  if (this.targetOptions.runtime === 'node') {
104
- const sumUrl = urljoin(this.externalPath, 'SHASUMS256.txt')
104
+ const sumUrl = urlJoin(this.externalPath, 'SHASUMS256.txt')
105
105
  const log = this.log
106
106
  log.http('DIST', '\t- ' + sumUrl)
107
107
  return (await this.downloader.downloadString(sumUrl))
@@ -124,7 +124,7 @@ class Dist {
124
124
  const log = this.log
125
125
  const self = this
126
126
  const tarLocalPath = runtimePaths.get(self.targetOptions).tarPath
127
- const tarUrl = urljoin(self.externalPath, tarLocalPath)
127
+ const tarUrl = urlJoin(self.externalPath, tarLocalPath)
128
128
  log.http('DIST', '\t- ' + tarUrl)
129
129
 
130
130
  const sum = await this.downloader.downloadTgz(tarUrl, {
@@ -155,8 +155,8 @@ class Dist {
155
155
  for (const dirs of paths.winLibs) {
156
156
  const subDir = dirs.dir
157
157
  const fn = dirs.name
158
- const fPath = subDir ? urljoin(subDir, fn) : fn
159
- const libUrl = urljoin(self.externalPath, fPath)
158
+ const fPath = subDir ? urlJoin(subDir, fn) : fn
159
+ const libUrl = urlJoin(self.externalPath, fPath)
160
160
  log.http('DIST', '\t- ' + libUrl)
161
161
 
162
162
  await fs.ensureDir(path.join(self.internalPath, subDir))
package/package.json CHANGED
@@ -21,7 +21,7 @@
21
21
  "node-addon-api"
22
22
  ],
23
23
  "main": "lib",
24
- "version": "7.3.1",
24
+ "version": "7.3.2",
25
25
  "author": "Gábor Mező aka unbornchikken",
26
26
  "maintainers": [
27
27
  {
@@ -41,26 +41,28 @@
41
41
  "node": ">= 14.15.0"
42
42
  },
43
43
  "dependencies": {
44
- "axios": "^1.6.5",
45
- "debug": "^4",
46
- "fs-extra": "^11.2.0",
47
- "memory-stream": "^1.0.0",
48
- "node-api-headers": "^1.1.0",
49
- "npmlog": "^6.0.2",
50
- "rc": "^1.2.7",
51
- "semver": "^7.5.4",
52
- "tar": "^6.2.0",
53
- "url-join": "^4.0.1",
54
- "which": "^2.0.2",
55
- "yargs": "^17.7.2"
44
+ "axios": "1.13.2",
45
+ "debug": "4.4.3",
46
+ "fs-extra": "11.3.3",
47
+ "memory-stream": "1.0.0",
48
+ "node-api-headers": "1.7.0",
49
+ "npmlog": "7.0.1",
50
+ "rc": "1.2.8",
51
+ "semver": "7.7.3",
52
+ "tar": "7.5.6",
53
+ "url-join": "^5.0.0",
54
+ "which": "6.0.0",
55
+ "yargs": "18.0.0"
56
56
  },
57
57
  "devDependencies": {
58
- "eslint": "^8.56.0",
59
- "eslint-config-prettier": "^9.1.0",
60
- "mocha": "*",
61
- "nan": "^2.18.0",
62
- "node-addon-api": "^6.1.0",
63
- "prettier": "^3.2.2"
58
+ "@eslint/js": "^9.39.2",
59
+ "eslint": "9.39.2",
60
+ "eslint-config-prettier": "10.1.8",
61
+ "globals": "17.0.0",
62
+ "mocha": "11.3.0",
63
+ "nan": "2.24.0",
64
+ "node-addon-api": "8.5.0",
65
+ "prettier": "3.8.1"
64
66
  },
65
67
  "scripts": {
66
68
  "test": "mocha tests",