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

vm2

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vm2 - npm Package Compare versions

Comparing version 3.5.1 to 3.5.2

4

CHANGELOG.md

@@ -0,1 +1,5 @@

v3.5.2 (2017-10-04)
-------------------
[fix] Prevent slow unsafe alloc for Buffers
v3.5.1 (2017-10-04)

@@ -2,0 +6,0 @@ -------------------

3

lib/contextify.js

@@ -469,3 +469,4 @@ 'use strict'

const LocalBuffer = global.Buffer = Contextify.readonly(host.Buffer, {
allocUnsafe: function(size) { return this.alloc(size) }
allocUnsafe: function(size) { return this.alloc(size) },
allocUnsafeSlow: function(size) { return this.alloc(size) }
});

@@ -472,0 +473,0 @@

@@ -16,3 +16,3 @@ {

],
"version": "3.5.1",
"version": "3.5.2",
"main": "index.js",

@@ -19,0 +19,0 @@ "repository": {

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