@openzim/libzim 3.2.1 → 3.2.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 CHANGED
@@ -1,3 +1,8 @@
1
+ 3.2.2
2
+ * FIX: Module properly in ESM format
3
+ * FIX: Upgrade version of node-gyp
4
+ * NEW: macOS14 in the CI
5
+
1
6
  3.2.1
2
7
  * NEW: Use libzim 9.2.1
3
8
  * FIX: Module properly in ESM format
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- const bindings = require("bindings");
1
+ import bindings from "bindings";
2
2
 
3
3
  const {
4
4
  Archive,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@openzim/libzim",
3
3
  "main": "dist/index.js",
4
4
  "types": "dist/index.d.js",
5
- "version": "3.2.1",
5
+ "version": "3.2.2",
6
6
  "description": "Libzim bindings for NodeJS",
7
7
  "type": "module",
8
8
  "scripts": {
@@ -49,7 +49,7 @@
49
49
  "exec-then": "^1.3.1",
50
50
  "mkdirp": "^1.0.4",
51
51
  "node-addon-api": "^5.0.0",
52
- "node-gyp": "^9.3.1",
52
+ "node-gyp": "^10.1.0",
53
53
  "tqdm": "^2.0.3",
54
54
  "ts-node": "^10.9.1",
55
55
  "tsconfig-paths": "^4.0.0"
package/src/index.js CHANGED
@@ -1,4 +1,4 @@
1
- const bindings = require("bindings");
1
+ import bindings from "bindings";
2
2
 
3
3
  const {
4
4
  Archive,