Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

koffi

Package Overview
Dependencies
Maintainers
1
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koffi - npm Package Compare versions

Comparing version 2.5.0-beta.2 to 2.5.0

build/2.5.0/koffi_darwin_arm64/koffi.node

13

CHANGELOG.md

@@ -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 @@

2

doc/functions.md

@@ -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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc