@forge/isolated-vm
Advanced tools
Comparing version 3.3.8-next.0 to 3.3.8-next.1
# @forge/isolated-vm | ||
## 3.3.8-next.1 | ||
### Patch Changes | ||
- 75416b1: Removes support for native modules | ||
## 3.3.8-next.0 | ||
### Patch Changes | ||
- e008769: Changes version of isolated-vm dependency |
@@ -513,35 +513,2 @@ declare module '@forge/isolated-vm' { | ||
/** | ||
* C++ native module for v8 representation. | ||
*/ | ||
export class NativeModule { | ||
private __ivm_native_module: undefined; | ||
/** | ||
* Instantiate a native module with the full path to the compiled library. | ||
* For instance, filename would represent the path to a .node file | ||
* compiled using node-gyp. | ||
* | ||
* @param filename Full path to compiled library. | ||
*/ | ||
constructor(filename: string); | ||
/** | ||
* Instantiates the module with a Context by running the `InitForContext` | ||
* symbol, throws if that symbol is not present. | ||
* | ||
* Returned Reference<NativeModule> should be dereferenced into a context | ||
* | ||
* @param context Context to initialize the module with. | ||
*/ | ||
create(context: Context): Promise<Reference<any>>; | ||
/** | ||
* Synchronous version of `create` | ||
* | ||
* @param context Context to initialize the module with. | ||
*/ | ||
createSync(context: Context): Reference<any>; | ||
} | ||
export type InspectorSession = { | ||
@@ -548,0 +515,0 @@ dispatchProtocolMessage(message: string): void; |
{ | ||
"name": "@forge/isolated-vm", | ||
"version": "3.3.8-next.0", | ||
"version": "3.3.8-next.1", | ||
"description": "Access to multiple isolates", | ||
@@ -5,0 +5,0 @@ "main": "isolated-vm.js", |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
3
491429
146
2654