New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

isolated-vm

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

isolated-vm - npm Package Compare versions

Comparing version 3.3.5 to 3.3.6

tests/cleanup-race.js

15

isolated-vm.d.ts

@@ -295,3 +295,3 @@ declare module "isolated-vm" {

export class Reference<T = any> {
private __ivm_reference: undefined;
private __ivm_reference: T;
constructor(value: T);

@@ -413,3 +413,3 @@

private constructor();
private __ivm_deref: undefined;
private __ivm_deref: T;
}

@@ -424,3 +424,3 @@

export class ExternalCopy<T = any> {
private __ivm_external_copy: undefined;
private __ivm_external_copy: T;

@@ -476,3 +476,3 @@ /**

private constructor();
private __ivm_copy: undefined;
private __ivm_copy: T;
}

@@ -671,5 +671,6 @@

type ArgumentType<Options, Type> =
Options extends WithTransfer ? Type | CheckPromise<Options, Type> :
(Options extends WithTransfer ? Type | CheckPromise<Options, Type> :
Type extends Transferable ? Type | CheckPromise<Options, Type> :
Transferable | CheckPromise<Options, Transferable>;
Transferable | CheckPromise<Options, Transferable>) |
Copy<Type> | Dereference<Type>;

@@ -702,4 +703,4 @@ // Return type for functions that accept TransferOptions

type ApplyArguments<Value> = Value extends (...args: infer Args) => unknown ? Args : any[];
type ApplyArgumentThis<Value> = Value extends (this: infer This, ...args: unknown[]) => unknown ? This : never;
type ApplyArgumentThis<Value> = Value extends (this: infer This, ...args: unknown[]) => unknown ? This : undefined | null;
type ApplyResult<Value> = Value extends (...args: unknown[]) => infer Result ? Result : unknown;
}
{
"name": "isolated-vm",
"version": "3.3.5",
"version": "3.3.6",
"description": "Access to multiple isolates",

@@ -5,0 +5,0 @@ "main": "isolated-vm.js",

@@ -325,3 +325,6 @@ [![npm version](https://badgen.now.sh/npm/v/isolated-vm)](https://www.npmjs.com/package/isolated-vm)

**Note:** nodejs v14.8.0 enabled top-level await by default which has the effect of breaking the
return value of this function.
### Class: `Reference` *[transferable]*

@@ -328,0 +331,0 @@ A instance of [`Reference`](#class-reference-transferable) is a pointer to a value stored in any isolate.

@@ -35,3 +35,3 @@ // node-args: --expose-gc

const evaluateResult = module.evaluateSync();
strictEqual('This is awesome!', evaluateResult);
// strictEqual('This is awesome!', evaluateResult);
const reference = module.namespace;

@@ -38,0 +38,0 @@ strictEqual(reference.typeof, 'object');

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

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