usb 1.8.2 → 1.8.5
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 +5 -0
- package/binding.gyp +12 -2
- package/libusb.gypi +8 -0
- package/package.json +4 -9
- /package/prebuilds/android-arm/{node.napi.armv7.node → node.napi.node} +0 -0
- /package/prebuilds/android-arm64/{node.napi.armv8.node → node.napi.node} +0 -0
- package/prebuilds/darwin-x64+arm64/node.napi.node +0 -0
- /package/prebuilds/linux-arm/{node.napi.armv6.node → node.napi.node} +0 -0
- /package/prebuilds/linux-arm64/{node.napi.armv8.node → node.napi.node} +0 -0
- /package/prebuilds/linux-x64/{node.napi.musl.node → node.napi.node} +0 -0
- package/prebuilds/win32-ia32/node.napi.node +0 -0
- package/prebuilds/win32-x64/node.napi.node +0 -0
- package/prebuilds/linux-arm/node.napi.armv7.node +0 -0
- package/prebuilds/linux-x64/node.napi.glibc.node +0 -0
package/CHANGELOG.md
CHANGED
package/binding.gyp
CHANGED
|
@@ -49,8 +49,18 @@
|
|
|
49
49
|
}],
|
|
50
50
|
['OS=="mac"', {
|
|
51
51
|
'xcode_settings': {
|
|
52
|
-
'OTHER_CFLAGS': [
|
|
53
|
-
|
|
52
|
+
'OTHER_CFLAGS': [
|
|
53
|
+
'-std=c++1y',
|
|
54
|
+
'-stdlib=libc++',
|
|
55
|
+
'-arch x86_64',
|
|
56
|
+
'-arch arm64'
|
|
57
|
+
],
|
|
58
|
+
'OTHER_LDFLAGS': [
|
|
59
|
+
'-framework', 'CoreFoundation',
|
|
60
|
+
'-framework', 'IOKit',
|
|
61
|
+
'-arch x86_64',
|
|
62
|
+
'-arch arm64'
|
|
63
|
+
],
|
|
54
64
|
'SDKROOT': 'macosx',
|
|
55
65
|
'MACOSX_DEPLOYMENT_TARGET': '10.7',
|
|
56
66
|
},
|
package/libusb.gypi
CHANGED
|
@@ -103,6 +103,14 @@
|
|
|
103
103
|
'defines': [
|
|
104
104
|
'OS_DARWIN=1',
|
|
105
105
|
],
|
|
106
|
+
'xcode_settings': {
|
|
107
|
+
'OTHER_CFLAGS': [
|
|
108
|
+
'-arch x86_64',
|
|
109
|
+
'-arch arm64'
|
|
110
|
+
],
|
|
111
|
+
'CLANG_CXX_LIBRARY': 'libc++',
|
|
112
|
+
'MACOSX_DEPLOYMENT_TARGET': '10.7'
|
|
113
|
+
}
|
|
106
114
|
}],
|
|
107
115
|
[ 'OS == "win"', {
|
|
108
116
|
'sources': [
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "usb",
|
|
3
3
|
"description": "Library to access USB devices",
|
|
4
|
-
"version": "1.8.
|
|
4
|
+
"version": "1.8.5",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=10.16.0"
|
|
7
7
|
},
|
|
@@ -40,13 +40,8 @@
|
|
|
40
40
|
"full-test": "mocha --require coffeescript/register test/*.coffee",
|
|
41
41
|
"valgrind": "coffee -c test/*.coffee; valgrind --leak-check=full --show-possibly-lost=no node --expose-gc --trace-gc node_modules/mocha/bin/_mocha -R spec",
|
|
42
42
|
"prebuild": "prebuildify --napi --target 10.16.0 --strip",
|
|
43
|
-
"prebuild-
|
|
44
|
-
"
|
|
45
|
-
"prebuild-win32-x64": "prebuildify --napi --target 10.16.0 --strip",
|
|
46
|
-
"prebuild-linux-x86": "prebuildify-cross -i ghcr.io/node-usb/linux-x86 --napi --target 10.16.0 --strip",
|
|
47
|
-
"prebuild-linux-x64": "prebuildify-cross -i ghcr.io/node-usb/centos7-devtoolset7 -i ghcr.io/node-usb/alpine --napi --target 10.16.0 --strip --tag-libc",
|
|
48
|
-
"prebuild-linux-arm": "prebuildify-cross -i ghcr.io/node-usb/linux-arm64 -i ghcr.io/node-usb/linux-armv7 -i ghcr.io/node-usb/linux-armv6 --napi --target 10.16.0 --strip --tag-armv",
|
|
49
|
-
"prebuild-android-arm": "prebuildify-cross -i ghcr.io/node-usb/android-arm64 -i ghcr.io/node-usb/android-armv7 --napi --target 10.16.0 --strip --tag-armv",
|
|
43
|
+
"prebuild-cross": "prebuildify-cross --napi --target 10.16.0 --strip",
|
|
44
|
+
"prepublishOnly": "prebuildify-ci download",
|
|
50
45
|
"prebuild-download": "prebuildify-ci download"
|
|
51
46
|
},
|
|
52
47
|
"dependencies": {
|
|
@@ -55,7 +50,7 @@
|
|
|
55
50
|
},
|
|
56
51
|
"devDependencies": {
|
|
57
52
|
"coffeescript": "~2.4.1",
|
|
58
|
-
"mocha": "^9.
|
|
53
|
+
"mocha": "^9.2.0",
|
|
59
54
|
"node-gyp": "^7.1.2",
|
|
60
55
|
"prebuildify": "^4.2.1",
|
|
61
56
|
"prebuildify-ci": "^1.0.5",
|
|
File without changes
|
|
File without changes
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|