Comparing version 2.3.21-beta.2 to 2.3.21-beta.3
{ | ||
"name": "koffi", | ||
"version": "2.3.21-beta.2", | ||
"version": "2.3.21-beta.3", | ||
"stable": "2.3.20", | ||
@@ -5,0 +5,0 @@ "description": "Fast and simple C FFI (foreign function interface) for Node.js", |
@@ -96,2 +96,4 @@ // Copyright 2023 Niels Martignène <niels.martignene@protonmail.com> | ||
export function opaque(): IKoffiCType; | ||
/** @deprecated */ export function handle(name: string): IKoffiCType; | ||
/** @deprecated */ export function handle(): IKoffiCType; | ||
@@ -109,4 +111,6 @@ export function pointer(value: TypeSpec): IKoffiCType; | ||
export function callback(definition: string): IKoffiCType; | ||
export function callback(name: string, result: TypeSpec, arguments: TypeSpec[]): IKoffiCType; | ||
export function proto(definition: string): IKoffiCType; | ||
export function proto(name: string, result: TypeSpec, arguments: TypeSpec[]): IKoffiCType; | ||
/** @deprecated */ export function callback(definition: string): IKoffiCType; | ||
/** @deprecated */ export function callback(name: string, result: TypeSpec, arguments: TypeSpec[]): IKoffiCType; | ||
@@ -113,0 +117,0 @@ export function register(callback: Function, type: TypeSpec): IKoffiRegisteredCallback; |
@@ -60,3 +60,4 @@ // Copyright 2023 Niels Martignène <niels.martignene@protonmail.com> | ||
// Deprecated functions | ||
handle: util.deprecate(native.opaque, 'The koffi.handle() function was deprecated in Koffi 2.1, use koffi.opaque() instead', 'KOFFI001') | ||
handle: util.deprecate(native.opaque, 'The koffi.handle() function was deprecated in Koffi 2.1, use koffi.opaque() instead', 'KOFFI001'), | ||
callback: util.deprecate(native.proto, 'The koffi.callback() function was deprecated in Koffi 2.4, use koffi.proto() instead', 'KOFFI002') | ||
}; |
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
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
67596679
6672