Socket
Socket
Sign inDemoInstall

licensee

Package Overview
Dependencies
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

licensee - npm Package Compare versions

Comparing version 2.0.1 to 3.0.0

3

package.json
{
"name": "licensee",
"description": "check dependency licenses against rules",
"version": "2.0.1",
"version": "3.0.0",
"author": "Kyle E. Mitchell <kyle@kemitchell.com> (https://kemitchell.com/)",
"dependencies": {
"docopt": "^0.6.2",
"fs-access": "^1.0.0",

@@ -8,0 +9,0 @@ "read-package-tree": "^5.1.2",

@@ -1,9 +0,15 @@

Check dependency licenses against rules.
Check npm package dependency license metadata against rules.
# Configuration
Create a `.licensee.json` file at the root of your package. Here is an example.
Licensee accepts two kinds of configuration:
1. a rule about permitted licenses
2. a package whitelist of name-and-range pairs
You can set configuration with command flags or a `.licensee.json`
file at the root of your package, like so:
```json
{ "license": "(MIT OR BSD-2-Clause OR BSD-3-Clause OR ISC OR Apache-2.0 OR WTFPL OR Unlicense)",
{ "license": "(MIT OR BSD-2-Clause OR BSD-3-Clause OR Apache-2.0)",
"whitelist": { "optimist": "<=0.6.1" } }

@@ -10,0 +16,0 @@ ```

Sorry, the diff of this file is not supported yet

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