koffi 2.2.4 → 2.2.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.
Files changed (96) hide show
  1. package/{ChangeLog.md → CHANGELOG.md} +6 -0
  2. package/LICENSE.txt +160 -656
  3. package/README.md +1 -1
  4. package/doc/changes.md +1 -1
  5. package/doc/index.rst +1 -1
  6. package/doc/static/custom.css +3 -3
  7. package/package.json +4 -4
  8. package/src/cnoke/LICENSE.txt +160 -656
  9. package/src/cnoke/assets/FindCNoke.cmake +3 -3
  10. package/src/cnoke/assets/win_delay_hook.c +3 -3
  11. package/src/cnoke/cnoke.js +3 -3
  12. package/src/cnoke/package.json +2 -2
  13. package/src/core/libcc/libcc.cc +4 -4
  14. package/src/core/libcc/libcc.hh +3 -3
  15. package/src/koffi/CMakeLists.txt +3 -3
  16. package/src/koffi/benchmark/CMakeLists.txt +3 -3
  17. package/src/koffi/benchmark/atoi_koffi.js +3 -3
  18. package/src/koffi/benchmark/atoi_napi.cc +3 -3
  19. package/src/koffi/benchmark/atoi_napi.js +3 -3
  20. package/src/koffi/benchmark/atoi_node_ffi.js +3 -3
  21. package/src/koffi/benchmark/benchmark.js +3 -3
  22. package/src/koffi/benchmark/rand_koffi.js +3 -3
  23. package/src/koffi/benchmark/rand_napi.cc +3 -3
  24. package/src/koffi/benchmark/rand_napi.js +3 -3
  25. package/src/koffi/benchmark/rand_node_ffi.js +3 -3
  26. package/src/koffi/benchmark/raylib_cc.cc +3 -3
  27. package/src/koffi/benchmark/raylib_cc.js +3 -3
  28. package/src/koffi/benchmark/raylib_koffi.js +3 -3
  29. package/src/koffi/benchmark/raylib_node_ffi.js +3 -3
  30. package/src/koffi/benchmark/raylib_node_raylib.js +3 -3
  31. package/src/koffi/build/2.2.5/koffi_darwin_arm64.tar.gz +0 -0
  32. package/src/koffi/build/2.2.5/koffi_darwin_x64.tar.gz +0 -0
  33. package/src/koffi/build/2.2.5/koffi_freebsd_arm64.tar.gz +0 -0
  34. package/src/koffi/build/2.2.5/koffi_freebsd_ia32.tar.gz +0 -0
  35. package/src/koffi/build/2.2.5/koffi_freebsd_x64.tar.gz +0 -0
  36. package/src/koffi/build/2.2.5/koffi_linux_arm32hf.tar.gz +0 -0
  37. package/src/koffi/build/2.2.5/koffi_linux_arm64.tar.gz +0 -0
  38. package/src/koffi/build/2.2.5/koffi_linux_ia32.tar.gz +0 -0
  39. package/src/koffi/build/2.2.5/koffi_linux_riscv64hf64.tar.gz +0 -0
  40. package/src/koffi/build/2.2.5/koffi_linux_x64.tar.gz +0 -0
  41. package/src/koffi/build/2.2.5/koffi_openbsd_ia32.tar.gz +0 -0
  42. package/src/koffi/build/2.2.5/koffi_openbsd_x64.tar.gz +0 -0
  43. package/src/koffi/build/2.2.5/koffi_win32_arm64.tar.gz +0 -0
  44. package/src/koffi/build/2.2.5/koffi_win32_ia32.tar.gz +0 -0
  45. package/src/koffi/build/2.2.5/koffi_win32_x64.tar.gz +0 -0
  46. package/src/koffi/src/abi_arm32.cc +3 -3
  47. package/src/koffi/src/abi_arm32_fwd.S +3 -3
  48. package/src/koffi/src/abi_arm64.cc +3 -3
  49. package/src/koffi/src/abi_arm64_fwd.S +3 -3
  50. package/src/koffi/src/abi_arm64_fwd.asm +3 -3
  51. package/src/koffi/src/abi_riscv64.cc +3 -3
  52. package/src/koffi/src/abi_riscv64_fwd.S +3 -3
  53. package/src/koffi/src/abi_trampolines.inc +3 -3
  54. package/src/koffi/src/abi_x64_sysv.cc +3 -3
  55. package/src/koffi/src/abi_x64_sysv_fwd.S +3 -3
  56. package/src/koffi/src/abi_x64_win.cc +3 -3
  57. package/src/koffi/src/abi_x64_win_fwd.asm +3 -3
  58. package/src/koffi/src/abi_x86.cc +3 -3
  59. package/src/koffi/src/abi_x86_fwd.S +3 -3
  60. package/src/koffi/src/abi_x86_fwd.asm +3 -3
  61. package/src/koffi/src/call.cc +3 -3
  62. package/src/koffi/src/call.hh +3 -3
  63. package/src/koffi/src/ffi.cc +3 -3
  64. package/src/koffi/src/ffi.hh +3 -3
  65. package/src/koffi/src/index.js +3 -3
  66. package/src/koffi/src/parser.cc +3 -3
  67. package/src/koffi/src/parser.hh +3 -3
  68. package/src/koffi/src/util.cc +3 -3
  69. package/src/koffi/src/util.hh +3 -3
  70. package/src/koffi/src/win32.hh +3 -3
  71. package/src/koffi/test/CMakeLists.txt +3 -3
  72. package/src/koffi/test/async.js +3 -3
  73. package/src/koffi/test/callbacks.js +3 -3
  74. package/src/koffi/test/misc.c +3 -3
  75. package/src/koffi/test/raylib.js +3 -3
  76. package/src/koffi/test/sqlite.js +3 -3
  77. package/src/koffi/test/sync.js +3 -3
  78. package/src/koffi/test/win32.c +3 -3
  79. package/src/koffi/test/win32.js +3 -3
  80. package/src/koffi/tools/qemu.js +4 -4
  81. package/src/koffi/tools/write_trampolines.py +3 -3
  82. package/src/koffi/build/2.2.4/koffi_darwin_arm64.tar.gz +0 -0
  83. package/src/koffi/build/2.2.4/koffi_darwin_x64.tar.gz +0 -0
  84. package/src/koffi/build/2.2.4/koffi_freebsd_arm64.tar.gz +0 -0
  85. package/src/koffi/build/2.2.4/koffi_freebsd_ia32.tar.gz +0 -0
  86. package/src/koffi/build/2.2.4/koffi_freebsd_x64.tar.gz +0 -0
  87. package/src/koffi/build/2.2.4/koffi_linux_arm32hf.tar.gz +0 -0
  88. package/src/koffi/build/2.2.4/koffi_linux_arm64.tar.gz +0 -0
  89. package/src/koffi/build/2.2.4/koffi_linux_ia32.tar.gz +0 -0
  90. package/src/koffi/build/2.2.4/koffi_linux_riscv64hf64.tar.gz +0 -0
  91. package/src/koffi/build/2.2.4/koffi_linux_x64.tar.gz +0 -0
  92. package/src/koffi/build/2.2.4/koffi_openbsd_ia32.tar.gz +0 -0
  93. package/src/koffi/build/2.2.4/koffi_openbsd_x64.tar.gz +0 -0
  94. package/src/koffi/build/2.2.4/koffi_win32_arm64.tar.gz +0 -0
  95. package/src/koffi/build/2.2.4/koffi_win32_ia32.tar.gz +0 -0
  96. package/src/koffi/build/2.2.4/koffi_win32_x64.tar.gz +0 -0
package/README.md CHANGED
@@ -31,6 +31,6 @@ Major version increments can include breaking API changes, use the [migration gu
31
31
 
32
32
  # License
33
33
 
34
- This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
34
+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
35
35
 
36
36
  Find more information here: https://www.gnu.org/licenses/
package/doc/changes.md CHANGED
@@ -1,4 +1,4 @@
1
- {{ "```{include} " ~ root ~ "/ChangeLog.md" ~ "\n```" }}
1
+ {{ "```{include} " ~ root ~ "/CHANGELOG.md" ~ "\n```" }}
2
2
 
3
3
  ## Migration guide
4
4
 
package/doc/index.rst CHANGED
@@ -37,6 +37,6 @@ Table of contents
37
37
  License
38
38
  -------
39
39
 
40
- This program is free software: you can redistribute it and/or modify it under the terms of the **GNU Affero General Public License** as published by the Free Software Foundation, either **version 3 of the License**, or (at your option) any later version.
40
+ This program is free software: you can redistribute it and/or modify it under the terms of the **GNU Lesser General Public License** as published by the Free Software Foundation, either **version 3 of the License**, or (at your option) any later version.
41
41
 
42
42
  Find more information here: https://www.gnu.org/licenses/
@@ -1,14 +1,14 @@
1
1
  /* This program is free software: you can redistribute it and/or modify
2
- it under the terms of the GNU Affero General Public License as published by
2
+ it under the terms of the GNU Lesser General Public License as published by
3
3
  the Free Software Foundation, either version 3 of the License, or
4
4
  (at your option) any later version.
5
5
 
6
6
  This program is distributed in the hope that it will be useful,
7
7
  but WITHOUT ANY WARRANTY; without even the implied warranty of
8
8
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9
- GNU Affero General Public License for more details.
9
+ GNU Lesser General Public License for more details.
10
10
 
11
- You should have received a copy of the GNU Affero General Public License
11
+ You should have received a copy of the GNU Lesser General Public License
12
12
  along with this program. If not, see https://www.gnu.org/licenses/. */
13
13
 
14
14
  aside.footnote {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koffi",
3
- "version": "2.2.4",
4
- "stable": "2.2.4",
3
+ "version": "2.2.5",
4
+ "stable": "2.2.5",
5
5
  "description": "Fast and simple C FFI (foreign function interface) for Node.js",
6
6
  "keywords": [
7
7
  "foreign",
@@ -23,9 +23,9 @@
23
23
  "install": "cnoke --prebuild -d src/koffi",
24
24
  "test": "node src/koffi/qemu/qemu.js test"
25
25
  },
26
- "license": "AGPL-3.0",
26
+ "license": "LGPL-3.0",
27
27
  "dependencies": {
28
- "cnoke": "^3.2.1"
28
+ "cnoke": "^3.2.2"
29
29
  },
30
30
  "devDependencies": {
31
31
  "chalk": "^4.1.2",