node-sword-interface 1.0.55 → 1.0.57

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/binding.gyp CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "variables": {
3
3
  # Detect if we are building for iOS by checking an env var
4
- "is_ios%": "<!(python -c \"import os; print(1 if os.environ.get('PLATFORM') == 'ios' or os.environ.get('SDKROOT') and 'iPhone' in os.environ.get('SDKROOT') else 0)\")"
4
+ "is_ios%": "<!(python3 -c \"import os; print(1 if os.environ.get('PLATFORM') == 'ios' or os.environ.get('SDKROOT') and 'iPhone' in os.environ.get('SDKROOT') else 0)\")"
5
5
  },
6
6
  "targets": [
7
7
  {
@@ -71,6 +71,7 @@
71
71
  },
72
72
  {
73
73
  "target_name": "node_sword_interface",
74
+ "type": "loadable_module",
74
75
  "cflags!": [ "-fno-exceptions" ],
75
76
  "cflags_cc!": [ "-fno-exceptions -std=c++11 -pthread" ],
76
77
  "sources": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-sword-interface",
3
- "version": "1.0.55",
3
+ "version": "1.0.57",
4
4
  "description": "Javascript (N-API) interface to SWORD library",
5
5
  "keywords": [
6
6
  "C++",
@@ -31,7 +31,7 @@ fi
31
31
 
32
32
  # CLONE SWORD
33
33
  git clone https://github.com/ezra-bible-app/crosswire-sword-mirror sword
34
- git -C sword checkout 11e8b06
34
+ git -C sword checkout 1.9.0-2025-12-30
35
35
  patch --batch --forward -d sword -p 0 < patch/sword_globconf.patch
36
36
 
37
37
  # PATCHES
@@ -997,9 +997,9 @@ Napi::Value NodeSwordInterface::getSwordVersion(const Napi::CallbackInfo& info)
997
997
  Napi::HandleScope scope(env);
998
998
 
999
999
  #if defined(__ANDROID__)
1000
- string version = "1.9.0-2025-03-03";
1000
+ string version = "1.9.0-2025-12-30";
1001
1001
  #elif defined(__linux__) || defined(__APPLE__)
1002
- string version = "1.9.0-2025-03-03";
1002
+ string version = "1.9.0-2025-12-30";
1003
1003
  #elif _WIN32
1004
1004
  string version = "1.9.0-2025-03-03";
1005
1005
  #endif