v8-compile-cache
Advanced tools
Comparing version 2.0.3 to 2.1.0
# `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 @@ |
{ | ||
"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 @@ }; |
16156
313