Comparing version 2.5.0-beta.2 to 2.5.0
@@ -5,2 +5,15 @@ # Changelog | ||
### Koffi 2.5 | ||
#### Koffi 2.5.0 | ||
**New features:** | ||
- Support [union types](unions.md) | ||
**Other fixes:** | ||
- Fix ABI for single-float aggregate return on i386 BSD systems | ||
- Don't mess with Node.js signal handling on POSIX systems | ||
### Koffi 2.4 | ||
@@ -7,0 +20,0 @@ |
@@ -12,3 +12,3 @@ # Function calls | ||
This library will be automatically unloaded once all references to it (including all the functions that use it, as described below). | ||
This library will be automatically unloaded once all references to it are gone (including all the functions that use it, as described below). | ||
@@ -15,0 +15,0 @@ Starting with *Koffi 2.3.20*, you can explicitly unload a library by calling `lib.unload()`. Any attempt to find or call a function from this library after unloading it will crash. |
@@ -107,3 +107,3 @@ # Union values | ||
const SendInput = user32.func('unsigned int __stdcall SendInput(unsigned int cInputs, INPUT *pInputs, int cbSize'); | ||
const SendInput = user32.func('unsigned int __stdcall SendInput(unsigned int cInputs, INPUT *pInputs, int cbSize)'); | ||
@@ -113,6 +113,6 @@ // Show/hide desktop with Win+D shortcut | ||
let events = [ | ||
make_keyboard_event(VK_WIN, true), | ||
make_keyboard_event(VK_LWIN, true), | ||
make_keyboard_event(VK_D, true), | ||
make_keyboard_event(VK_D, false), | ||
make_keyboard_event(VK_WIN, false) | ||
make_keyboard_event(VK_LWIN, false) | ||
]; | ||
@@ -119,0 +119,0 @@ |
{ | ||
"name": "koffi", | ||
"version": "2.5.0-beta.2", | ||
"stable": "2.4.2", | ||
"version": "2.5.0", | ||
"stable": "2.5.0", | ||
"description": "Fast and simple C FFI (foreign function interface) for Node.js", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 22 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 22 instances in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
83748949
0