Socket
Socket
Sign inDemoInstall

npm-bundled

Package Overview
Dependencies
Maintainers
2
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.3 to 1.0.4

4

index.js

@@ -38,2 +38,3 @@ 'use strict'

this.seen = new Set()
this.didDone = false

@@ -118,3 +119,4 @@ this.children = 0

childDep (dep) {
if (this.node_modules.indexOf(dep) !== -1) {
if (this.node_modules.indexOf(dep) !== -1 && !this.seen.has(dep)) {
this.seen.add(dep)
this.child(dep)

@@ -121,0 +123,0 @@ } else if (this.parent) {

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

@@ -16,3 +16,3 @@ "main": "index.js",

"rimraf": "^2.6.1",
"tap": "^10.3.2"
"tap": "^12.0.1"
},

@@ -19,0 +19,0 @@ "scripts": {

@@ -7,2 +7,4 @@ # npm-bundled

[![Build Status](https://travis-ci.org/npm/npm-bundled.svg?branch=master)](https://travis-ci.org/npm/npm-bundled)
## USAGE

@@ -9,0 +11,0 @@

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