Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

npm-bundled

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-bundled - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

8

index.js

@@ -86,8 +86,10 @@ 'use strict'

// Get a unique-ified array with a short-lived Set
const bd = Array.from(new Set(
this.parent ? Object.keys(pkg.dependencies || {}).concat(
const bdRaw = this.parent
? Object.keys(pkg.dependencies || {}).concat(
Object.keys(pkg.optionalDependencies || {}))
: pkg.bundleDependencies || pkg.bundledDependencies || []
))
const bd = Array.from(new Set(
Array.isArray(bdRaw) ? bdRaw : Object.keys(bdRaw)))
if (!bd.length)

@@ -94,0 +96,0 @@ return this.done()

{
"name": "npm-bundled",
"version": "1.0.2",
"version": "1.0.3",
"description": "list things in node_modules that are bundledDependencies, or transitive dependencies thereof",

@@ -5,0 +5,0 @@ "main": "index.js",

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