New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@hapify/vm

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hapify/vm - npm Package Compare versions

Comparing version
1.4.0
to
1.4.1
pack/hapify-vm-1.4.1.tgz

Sorry, the diff of this file is not supported yet

+7
-0

@@ -6,2 +6,9 @@ # Changelog

## @hapify/vm [1.4.1](https://github.com/hapify/hapify/compare/@hapify/vm@1.4.0...@hapify/vm@1.4.1) (2023-03-02)
### Bug Fixes
* increase generator timeout limit ([#58](https://github.com/hapify/hapify/issues/58)) ([b56a9ae](https://github.com/hapify/hapify/commit/b56a9ae9ac8accf962e3ffb4e553ac0a932ccb0c))
# @hapify/vm [1.4.0](https://github.com/hapify/hapify/compare/@hapify/vm@1.3.0...@hapify/vm@1.4.0) (2021-04-21)

@@ -8,0 +15,0 @@

+1
-1
{
"name": "@hapify/vm",
"version": "1.4.0",
"version": "1.4.1",
"description": "Sandbox for JavaScript code",

@@ -5,0 +5,0 @@ "keywords": [

@@ -25,7 +25,7 @@ # Hapify VM

const options = {
timeout: 200, // Maximum script execution time. Default to 1000ms.
allowAnyOutput: true, // Allow the input script to return any data type. Default to false.
eval: true // Allow function constructors (Function, GeneratorFunction, etc)
timeout: 200, // Maximum script execution time. Default to 5000ms.
allowAnyOutput: true, // Allow the input script to return any data type. Default to false.
eval: true, // Allow function constructors (Function, GeneratorFunction, etc)
};
const result = new HapifyVM(options).run(script, { a: 1, b: 2 }); // result = 3
```

Sorry, the diff of this file is not supported yet