smartcard 3.1.0 → 3.2.1
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 +16 -7
- package/src/platform/pcsc.h +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "smartcard",
|
|
3
|
-
"version": "3.1
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"description": "PC/SC bindings for Node.js using N-API - ABI stable across Node.js versions",
|
|
5
5
|
"author": "Tom KP",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,9 +19,12 @@
|
|
|
19
19
|
"install": "node-gyp rebuild",
|
|
20
20
|
"build": "node-gyp rebuild",
|
|
21
21
|
"rebuild": "node-gyp rebuild",
|
|
22
|
-
"test": "node test/
|
|
23
|
-
"test:unit": "node test/unit.js",
|
|
24
|
-
"test:integration": "node test/
|
|
22
|
+
"test": "node --test test/integration/index.js && node --test test/unit/index.js",
|
|
23
|
+
"test:unit": "node --test test/unit/index.js",
|
|
24
|
+
"test:integration": "node --test test/integration/index.js",
|
|
25
|
+
"test:coverage": "c8 --include=lib/**/*.js node --test test/unit/index.js",
|
|
26
|
+
"test:types": "tsd",
|
|
27
|
+
"coverage:report": "c8 report --reporter=text --reporter=html"
|
|
25
28
|
},
|
|
26
29
|
"files": [
|
|
27
30
|
"lib/",
|
|
@@ -34,10 +37,13 @@
|
|
|
34
37
|
"node-addon-api": "^7.0.0"
|
|
35
38
|
},
|
|
36
39
|
"devDependencies": {
|
|
37
|
-
"node
|
|
40
|
+
"@types/node": "^25.0.3",
|
|
41
|
+
"c8": "^10.1.3",
|
|
42
|
+
"node-gyp": "^10.0.0",
|
|
43
|
+
"tsd": "^0.33.0"
|
|
38
44
|
},
|
|
39
45
|
"engines": {
|
|
40
|
-
"node": ">=
|
|
46
|
+
"node": ">=18.0.0"
|
|
41
47
|
},
|
|
42
48
|
"os": [
|
|
43
49
|
"darwin",
|
|
@@ -56,5 +62,8 @@
|
|
|
56
62
|
"node-addon-api",
|
|
57
63
|
"acr122",
|
|
58
64
|
"card-reader"
|
|
59
|
-
]
|
|
65
|
+
],
|
|
66
|
+
"tsd": {
|
|
67
|
+
"directory": "test/types"
|
|
68
|
+
}
|
|
60
69
|
}
|
package/src/platform/pcsc.h
CHANGED