Comparing version 2.3.7 to 2.3.8
@@ -7,2 +7,10 @@ # Changelog | ||
#### Koffi 2.3.8 | ||
**Main fixes:** | ||
- Disable non-ready union support | ||
- Simplify Windows stack allocation and drop NOACCESS and GUARD pages | ||
- Adjust Windows TEB SEH chain and GuaranteedStackBytes for Koffi calls | ||
#### Koffi 2.3.7 | ||
@@ -9,0 +17,0 @@ |
{ | ||
"name": "koffi", | ||
"version": "2.3.7", | ||
"stable": "2.3.7", | ||
"version": "2.3.8", | ||
"stable": "2.3.8", | ||
"description": "Fast and simple C FFI (foreign function interface) for Node.js", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
@@ -23,3 +23,3 @@ // This program is free software: you can redistribute it and/or modify | ||
'Int32' | 'Int32S' | 'UInt32' | 'UInt32S' | 'Int64' | 'Int64S' | 'UInt64' | 'UInt64S' | | ||
'String' | 'String16' | 'Pointer' | 'Record' | 'Union' | 'Array' | 'Float32' | 'Float64' | | ||
'String' | 'String16' | 'Pointer' | 'Record' /* | 'Union' */ | 'Array' | 'Float32' | 'Float64' | | ||
'Prototype' | 'Callback'; | ||
@@ -82,4 +82,4 @@ type ArrayHint = 'Array' | 'Typed' | 'String'; | ||
export function union(name: string, def: Record<string, TypeSpecWithAlignment>): IKoffiCType; | ||
export function union(def: Record<string, TypeSpecWithAlignment>): IKoffiCType; | ||
// export function union(name: string, def: Record<string, TypeSpecWithAlignment>): IKoffiCType; | ||
// export function union(def: Record<string, TypeSpecWithAlignment>): IKoffiCType; | ||
@@ -86,0 +86,0 @@ export function array(ref: TypeSpec, len: number, hint?: ArrayHint | null): IKoffiCType; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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 21 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 21 instances in 1 package
17780799