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 2.2.0 to 2.2.1

4

lib/extractLink.js
var visit = require('visit-values')
var isString = require('util').isString

@@ -12,4 +13,5 @@ module.exports = function(json) {

var otherUrls = []
visit(json, function(value) {
if (!isString(value)) return
if (value.substr(0, 'http'.length) === 'http') {

@@ -16,0 +18,0 @@ return otherUrls.push(value)

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

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

@@ -12,4 +12,4 @@ # license report tool

```
> cd your/project/
> license-report
cd your/project/
license-report
```

@@ -19,6 +19,6 @@ by default, `license-report` outputs all licenses from `dependencies` and `devDependencies`.

```
> license-report --only=dev
license-report --only=dev
```
```
> license-report --only=prod
license-report --only=prod
```

@@ -25,0 +25,0 @@ explicit package.json:

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