Socket
Socket
Sign inDemoInstall

v8-compile-cache

Package Overview
Dependencies
0
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.3 to 2.1.0

4

CHANGELOG.md
# `v8-module-cache` Changelog
## 2019-08-04, Version 2.1.0
* Fix Electron by calling the module wrapper with `Buffer` [#10](https://github.com/zertosh/v8-compile-cache/pull/10).
## 2019-05-10, Version 2.0.3

@@ -4,0 +8,0 @@

2

package.json
{
"name": "v8-compile-cache",
"version": "2.0.3",
"version": "2.1.0",
"description": "Require hook for automatic V8 compile cache persistence",

@@ -5,0 +5,0 @@ "main": "v8-compile-cache.js",

@@ -191,3 +191,5 @@ 'use strict';

const args = [mod.exports, require, mod, filename, dirname, process, global];
// `Buffer` is included for Electron.
// See https://github.com/zertosh/v8-compile-cache/pull/10#issuecomment-518042543
const args = [mod.exports, require, mod, filename, dirname, process, global, Buffer];
return compiledWrapper.apply(mod.exports, args);

@@ -194,0 +196,0 @@ };

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc