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

normalize-package-data

Package Overview
Dependencies
Maintainers
6
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

normalize-package-data - npm Package Compare versions

Comparing version 2.4.0 to 2.4.1

3

lib/fixer.js

@@ -302,3 +302,4 @@ var semver = require("semver")

typeof(data.license) !== 'string' ||
data.license.length < 1
data.license.length < 1 ||
data.license.trim() === ''
) {

@@ -305,0 +306,0 @@ this.warn("invalidLicense")

{
"name": "normalize-package-data",
"version": "2.4.0",
"version": "2.4.1",
"author": "Meryn Stol <merynstol@gmail.com>",

@@ -17,3 +17,3 @@ "description": "Normalizes data that can be found in package.json files.",

"hosted-git-info": "^2.1.4",
"is-builtin-module": "^1.0.0",
"is-builtin-module": "^3.0.0",
"semver": "2 || 3 || 4 || 5",

@@ -23,4 +23,4 @@ "validate-npm-package-license": "^3.0.1"

"devDependencies": {
"async": "^1.5.0",
"tap": "^2.2.0",
"async": "^2.6.1",
"tap": "^12.4.0",
"underscore": "^1.8.3"

@@ -27,0 +27,0 @@ },

@@ -97,3 +97,3 @@ # normalize-package-data [![Build Status](https://travis-ci.org/npm/normalize-package-data.png?branch=master)](https://travis-ci.org/npm/normalize-package-data)

The `license` field should be a valid *SPDX license expression* or one of the special values allowed by [validate-npm-package-license](https://npmjs.com/packages/validate-npm-package-license). See [documentation for the license field in package.json](https://docs.npmjs.com/files/package.json#license).
The `license` field should be a valid *SPDX license expression* or one of the special values allowed by [validate-npm-package-license](https://npmjs.com/package/validate-npm-package-license). See [documentation for the license field in package.json](https://docs.npmjs.com/files/package.json#license).

@@ -100,0 +100,0 @@ ## Credits

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