@stoprocent/noble 1.14.2 → 1.14.3

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/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "license": "MIT",
7
7
  "name": "@stoprocent/noble",
8
8
  "description": "A Node.js BLE (Bluetooth Low Energy) central library.",
9
- "version": "1.14.2",
9
+ "version": "1.14.3",
10
10
  "repository": {
11
11
  "type": "git",
12
12
  "url": "https://github.com/stoprocent/noble.git"
@@ -31,8 +31,7 @@
31
31
  "debug": "^4.3.7",
32
32
  "napi-thread-safe-callback": "^0.0.6",
33
33
  "node-addon-api": "^8.1.0",
34
- "node-gyp-build": "^4.8.1",
35
- "patch-package": "^8.0.0"
34
+ "node-gyp-build": "^4.8.1"
36
35
  },
37
36
  "optionalDependencies": {
38
37
  "@stoprocent/bluetooth-hci-socket": "^1.3.0"
@@ -53,7 +52,7 @@
53
52
  "mocha": "^10.7.0",
54
53
  "nyc": "^17.0.0",
55
54
  "prebuildify": "^6.0.1",
56
- "prebuildify-cross": "^5.1.0",
55
+ "prebuildify-cross": "thegecko/prebuildify-cross#fix-docker",
57
56
  "semantic-release": "^24.1.1",
58
57
  "jshint": "^2.13.6",
59
58
  "prettier": "^3.3.3",
@@ -64,7 +63,6 @@
64
63
  },
65
64
  "scripts": {
66
65
  "install": "node-gyp-build",
67
- "postinstall": "patch-package",
68
66
  "lint": "eslint \"**/*.js\"",
69
67
  "lint-fix": "eslint \"**/*.js\" --fix",
70
68
  "prebuildify": "prebuildify --napi --target 14.0.0 --force --strip --verbose",
@@ -1,13 +0,0 @@
1
- diff --git a/node_modules/@vweevers/docker-pull/index.js b/node_modules/@vweevers/docker-pull/index.js
2
- index 67b3e73..bac4a84 100644
3
- --- a/node_modules/@vweevers/docker-pull/index.js
4
- +++ b/node_modules/@vweevers/docker-pull/index.js
5
- @@ -12,7 +12,7 @@ var pull = function (image, opts, cb) {
6
- image = parse(image)
7
- if (!image) throw new Error('Invalid image')
8
-
9
- - var request = docker({host: opts.host, version: opts.version || 'v1.21'})
10
- + var request = docker({host: opts.host, version: opts.version || 'v1.24'})
11
- var that = new events.EventEmitter()
12
- var layers = {}
13
- var progress = {}
@@ -1,13 +0,0 @@
1
- diff --git a/node_modules/docker-run/index.js b/node_modules/docker-run/index.js
2
- index ea7fc0d..1f08702 100644
3
- --- a/node_modules/docker-run/index.js
4
- +++ b/node_modules/docker-run/index.js
5
- @@ -14,7 +14,7 @@ var endsWith = function(str, suffix) {
6
- var run = function(image, opts) {
7
- if (!opts) opts = {}
8
-
9
- - var request = docker(opts.host, {version:'v1.14'})
10
- + var request = docker(opts.host, {version:'v1.24'})
11
- var that = new events.EventEmitter()
12
- var tty = !!opts.tty
13
-
@@ -1,26 +0,0 @@
1
- diff --git a/node_modules/prebuildify-cross/guest.js b/node_modules/prebuildify-cross/guest.js
2
- index dfd9eb7..c660f86 100644
3
- --- a/node_modules/prebuildify-cross/guest.js
4
- +++ b/node_modules/prebuildify-cross/guest.js
5
- @@ -10,18 +10,12 @@ const files = JSON.parse(process.env.PREBUILDIFY_CROSS_FILES)
6
- const argv = process.argv.slice(2)
7
-
8
- // Copy host files to working directory
9
- -for (const file of files) {
10
- - const a = path.join('/input', file)
11
- - const b = path.join(cwd, file)
12
- +fs.cpSync("/input", cwd, { recursive: true })
13
-
14
- - fs.mkdirSync(path.dirname(b), { recursive: true })
15
- - fs.copyFileSync(a, b, fs.constants.COPYFILE_EXCL)
16
- - fs.chmodSync(b, 0o644)
17
- +if (fs.existsSync(cwd + "/build")) {
18
- + fs.rmSync(cwd + "/build", { recursive: true, })
19
- }
20
-
21
- -// Use node_modules of host to avoid a second install step
22
- -fs.symlinkSync('/input/node_modules', path.join(cwd, 'node_modules'))
23
- -
24
- const stdio = ['ignore', 2, 2]
25
- const res = cp.spawnSync('npx', ['--no-install', 'prebuildify', ...argv], { cwd, stdio })
26
-