koffi-cream 2.16.0 → 2.16.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/README.md +3 -3
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -12,9 +12,9 @@ const some_func = lib.func('int some_func(int a, int b)')
|
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
> [!IMPORTANT]
|
|
15
|
-
> **koffi-cream is neither a fork nor a patch. It *is* the original Koffi**, only packaged differently to avoid downloading a *previously* megalithic[^1] package bloated with files unnecessary to the average user[^2].
|
|
15
|
+
> **koffi-cream is neither a fork nor a patch. It *is* the original Koffi**, only packaged differently to avoid downloading a *previously* megalithic[^1] package *still* bloated with files unnecessary to the average user[^2].
|
|
16
16
|
|
|
17
|
-
[^1]: ~~As of 2.14.0, Koffi weights 16.9 MB compressed and 86 MB uncompressed.~~ Not any more. Niels did an impressive work at shrinking the package size
|
|
17
|
+
[^1]: ~~As of 2.14.0, Koffi weights 16.9 MB compressed and 86 MB uncompressed.~~ Not any more. Niels did an impressive work at shrinking the package size down to 41.4 MB for 2.15.4 and 28.7 MB for 2.16.0. This is still quite big (fun fact: it's about the same size as the TypeScript 6.0 compiler :-) but it's definitely a huge improvement. Point 2 below still stands, though.
|
|
18
18
|
[^2]: Koffi's package includes 18 native binaries (of which 17 are not compatible with your platform), the build tools and the full C++/asm source code.
|
|
19
19
|
|
|
20
20
|
|
|
@@ -63,7 +63,7 @@ I do not plan to add the other builds. If you need one of these, you'll have to
|
|
|
63
63
|
## Version numbering
|
|
64
64
|
To make things easy on the user, `koffi-cream`'s version number will always be aligned with Koffi's.
|
|
65
65
|
|
|
66
|
-
Hence, there is no `koffi-cream` 1.x or 2.0; the first version published
|
|
66
|
+
Hence, there is no `koffi-cream` 1.x or 2.0; the first version published was 2.11.0 which shipped with Koffi 2.11.0 binaries.
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
## Related
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "koffi-cream",
|
|
3
|
-
"version": "2.16.
|
|
3
|
+
"version": "2.16.1",
|
|
4
4
|
"description": "A lighter packaging for Koffi, the fast and simple C FFI (foreign function interface) for Node.js",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Stephan 'Septh' Schreiber",
|
|
@@ -41,18 +41,18 @@
|
|
|
41
41
|
"main": "index.js",
|
|
42
42
|
"types": "index.d.ts",
|
|
43
43
|
"optionalDependencies": {
|
|
44
|
-
"@septh/koffi-win32-x64": "2.16.
|
|
45
|
-
"@septh/koffi-win32-arm64": "2.16.
|
|
46
|
-
"@septh/koffi-openbsd-x64": "2.16.
|
|
47
|
-
"@septh/koffi-linux-x64-musl": "2.16.
|
|
48
|
-
"@septh/koffi-linux-arm64-musl": "2.16.
|
|
49
|
-
"@septh/koffi-linux-x64-glibc": "2.16.
|
|
50
|
-
"@septh/koffi-linux-riscv64": "2.16.
|
|
51
|
-
"@septh/koffi-linux-loong64": "2.16.
|
|
52
|
-
"@septh/koffi-linux-arm64-glibc": "2.16.
|
|
53
|
-
"@septh/koffi-freebsd-x64": "2.16.
|
|
54
|
-
"@septh/koffi-freebsd-arm64": "2.16.
|
|
55
|
-
"@septh/koffi-darwin-x64": "2.16.
|
|
56
|
-
"@septh/koffi-darwin-arm64": "2.16.
|
|
44
|
+
"@septh/koffi-win32-x64": "2.16.1",
|
|
45
|
+
"@septh/koffi-win32-arm64": "2.16.1",
|
|
46
|
+
"@septh/koffi-openbsd-x64": "2.16.1",
|
|
47
|
+
"@septh/koffi-linux-x64-musl": "2.16.1",
|
|
48
|
+
"@septh/koffi-linux-arm64-musl": "2.16.1",
|
|
49
|
+
"@septh/koffi-linux-x64-glibc": "2.16.1",
|
|
50
|
+
"@septh/koffi-linux-riscv64": "2.16.1",
|
|
51
|
+
"@septh/koffi-linux-loong64": "2.16.1",
|
|
52
|
+
"@septh/koffi-linux-arm64-glibc": "2.16.1",
|
|
53
|
+
"@septh/koffi-freebsd-x64": "2.16.1",
|
|
54
|
+
"@septh/koffi-freebsd-arm64": "2.16.1",
|
|
55
|
+
"@septh/koffi-darwin-x64": "2.16.1",
|
|
56
|
+
"@septh/koffi-darwin-arm64": "2.16.1"
|
|
57
57
|
}
|
|
58
58
|
}
|