Socket
Socket
Sign inDemoInstall

v8-compile-cache

Package Overview
Dependencies
0
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.3.0 to 2.4.0

2

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

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

@@ -322,2 +322,4 @@ 'use strict';

: 'v8-compile-cache';
// Avoid cache incompatibility issues with Rosetta on Apple Silicon.
const arch = process.arch;
const version = typeof process.versions.v8 === 'string'

@@ -328,3 +330,3 @@ ? process.versions.v8

: 'node-' + process.version;
const cacheDir = path.join(os.tmpdir(), dirname, version);
const cacheDir = path.join(os.tmpdir(), dirname, arch, version);
return cacheDir;

@@ -331,0 +333,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