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.2.0 to 3.3.0

src/isolated_vm.h

2

include.js
'use strict';
const path = require('path');
console.log(path.join(__dirname, path.join('src', 'api')));
console.log(path.join(__dirname, 'src')));

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

*/
export class Reference<T> {
export class Reference<T = any> {
private __ivm_reference: undefined;

@@ -341,2 +341,9 @@ constructor(value: T);

/**
* Delete a property from this reference, as if using `delete reference[property]`
*/
delete(property: string): Promise<boolean>;
deleteIgnored(property: string): void;
deleteSync(property: string): boolean;
/**
* Will access a reference as if using reference[property] and return a reference to that value.

@@ -402,3 +409,3 @@ */

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

@@ -405,0 +412,0 @@

{
"name": "isolated-vm",
"version": "3.2.0",
"version": "3.3.0",
"description": "Access to multiple isolates",

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

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

* Amazon Linux AMI users should run: `sudo yum install gcc72 gcc72-c++`
* Arch Linux users should run: `sudo pacman -S make gcc python`

@@ -353,2 +354,10 @@ WHO IS USING ISOLATED-VM

##### `reference.delete(property)` *[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)*
##### `reference.deleteIgnored(property)`
##### `reference.deleteSync(property)`
* `property` *[transferable]* - The property to access on this object.
* **return** `true` or `false`
Delete a property from this reference, as if using `delete reference[property]`
##### `reference.get(property, options)` *[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)*

@@ -355,0 +364,0 @@ ##### `reference.getSync(property, options)`

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