@timokunze/node-printer 0.6.15 → 0.6.17

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/README.md CHANGED
@@ -6,8 +6,7 @@ Native bind printers on POSIX and Windows OS from Node.js, electron and node-web
6
6
 
7
7
  * no dependecies;
8
8
  * native method wrappers from Windows and POSIX (which uses [CUPS 1.4/macOS 14](http://cups.org/)) APIs;
9
- * compatible with node v0.8.x, 0.9.x and v0.11.x (with 0.11.9 and 0.11.13);
10
- * compatible with node-webkit v0.8.x and 0.9.2;
9
+ * compatible with node v18, v20, v22;
11
10
  * `getPrinters()` to enumerate all installed printers with current jobs and statuses;
12
11
  * `getPrinter(printerName)` to get a specific/default printer info with current jobs and statuses;
13
12
  * `getPrinterDriverOptions(printerName)` ([POSIX](http://en.wikipedia.org/wiki/POSIX) only) to get a specific/default printer driver options such as supported paper size and other info
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@timokunze/node-printer",
3
3
  "description": "Node.js printer bindings",
4
- "version": "0.6.15",
4
+ "version": "0.6.17",
5
5
  "homepage": "https://github.com/TimoKunze/node-printer",
6
6
  "author": {
7
7
  "name": "Ion Lupascu",
@@ -41,13 +41,13 @@
41
41
  "main": "./lib/printer",
42
42
  "types": "types/index.d.ts",
43
43
  "devDependencies": {
44
- "node-gyp": "^11.1.0",
44
+ "node-gyp": "^11.4.2",
45
45
  "prebuild": "^13.0.1",
46
- "node-abi": "^3.74.0",
46
+ "node-abi": "^4.14.0",
47
47
  "patch-package": "^8.0.0"
48
48
  },
49
49
  "dependencies": {
50
- "nan": "^2.22.0",
50
+ "nan": "^2.23.0",
51
51
  "prebuild-install": "^7.1.3"
52
52
  }
53
53
  }
@@ -1,5 +1,5 @@
1
1
  diff --git a/node_modules/node-abi/abi_registry.json b/node_modules/node-abi/abi_registry.json
2
- index 15bbb76..8d6b059 100644
2
+ index 3b99939..18fcd39 100644
3
3
  --- a/node_modules/node-abi/abi_registry.json
4
4
  +++ b/node_modules/node-abi/abi_registry.json
5
5
  @@ -52,14 +52,14 @@
@@ -19,3 +19,12 @@ index 15bbb76..8d6b059 100644
19
19
  "lts": [
20
20
  "2022-10-25",
21
21
  "2023-10-18"
22
+ @@ -347,7 +347,7 @@
23
+ "future": false,
24
+ "lts": false,
25
+ "runtime": "electron",
26
+ - "target": "32.0.0-alpha.1"
27
+ + "target": "32.0.0"
28
+ },
29
+ {
30
+ "abi": "130",
@@ -1,13 +0,0 @@
1
- diff --git a/node_modules/nan/nan.h b/node_modules/nan/nan.h
2
- index 1ac7f74..abd64dd 100644
3
- --- a/node_modules/nan/nan.h
4
- +++ b/node_modules/nan/nan.h
5
- @@ -3042,7 +3042,7 @@ MakeMaybe(MaybeMaybe<T> v) {
6
-
7
- //=== ScriptOrigin =============================================================
8
-
9
- -#include "nan_scriptorigin.h" // NOLINT(build/include)
10
- +// #include nan_scriptorigin.h // NOLINT(build/include)
11
-
12
- } // end of namespace Nan
13
-
@@ -1,13 +0,0 @@
1
- diff --git a/node_modules/node-abi/abi_registry.json b/node_modules/node-abi/abi_registry.json
2
- index 14b44af..afd561e 100644
3
- --- a/node_modules/node-abi/abi_registry.json
4
- +++ b/node_modules/node-abi/abi_registry.json
5
- @@ -337,7 +337,7 @@
6
- "future": false,
7
- "lts": false,
8
- "runtime": "electron",
9
- - "target": "32.0.0-alpha.1"
10
- + "target": "32.0.0"
11
- },
12
- {
13
- "abi": "130",