Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

pear-shake

Package Overview
Dependencies
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pear-shake - npm Package Compare versions

Comparing version
2.0.1
to
2.0.2
+4
-4
index.js

@@ -34,3 +34,3 @@ 'use strict'

const target = [
const hosts = [
'darwin-arm64',

@@ -70,3 +70,3 @@ 'darwin-x64',

builtins,
target,
hosts,
resolve,

@@ -92,3 +92,3 @@ defer

let extensions
let conditions = opts.target.reduce((acc, host) => {
let conditions = (opts.hosts || hosts).reduce((acc, host) => {
acc.push(['node', ...host.split('-')])

@@ -107,3 +107,3 @@ acc.push(['node', 'bare', ...host.split('-')])

conditions,
hosts: opts.target,
hosts: opts.hosts || hosts,
linked: false,

@@ -110,0 +110,0 @@ ...opts

{
"name": "pear-shake",
"version": "2.0.1",
"version": "2.0.2",
"main": "index.js",

@@ -5,0 +5,0 @@ "type": "commonjs",