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

license-report

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

license-report - npm Package Compare versions

Comparing version 1.0.8 to 2.0.0

7

index.js

@@ -32,5 +32,8 @@ #!/usr/bin/env node

addAll(deps, depsIndex)
addAll(devDeps, depsIndex)
if(!config.only || config.only.indexOf('prod') > -1)
addAll(deps, depsIndex)
if(!config.only || config.only.indexOf('dev') > -1)
addAll(devDeps, depsIndex)
async.map(depsIndex, getPackageReportData, function(err, results) {

@@ -37,0 +40,0 @@ if (err) return console.error(err)

@@ -18,2 +18,7 @@ var rc = require('rc')

/*
export deps or dev deps. falsey -> output everything
*/
only: null,
/*
npm registry url

@@ -20,0 +25,0 @@ */

{
"name": "license-report",
"version": "1.0.8",
"version": "2.0.0",
"description": "creates a short report about project's dependencies (license, url etc)",

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

@@ -15,2 +15,10 @@ # license report tool

```
by default, `license-report` outputs all licenses from `dependencies` and `devDependencies`.
To specify one or the other, use `--only`
```
> license-report --only=dev
```
```
> license-report --only=prod
```
explicit package.json:

@@ -59,2 +67,2 @@ ```

![ironSource logo](ironsource.png)
![ironSource logo](ironsource.png)
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