npm-bundled
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8160
199