New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

normalize-pkg

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

normalize-pkg - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

11

lib/schema.js

@@ -215,6 +215,9 @@ 'use strict';

}
if (fs.existsSync(path.resolve('cli.js'))) {
return true;
}
return null;
var files = utils.glob.sync([
'cli.js',
'generat*.js',
'updatefile.js'
]);
return files.length > 0;
}

@@ -221,0 +224,0 @@ },

{
"name": "normalize-pkg",
"description": "Normalize values in package.json to improve compatibility, programmatic readability and usefulness with third party libs.",
"version": "0.2.4",
"version": "0.2.5",
"homepage": "https://github.com/jonschlinkert/normalize-pkg/",

@@ -29,3 +29,3 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

"kind-of": "^3.0.2",
"lazy-cache": "^0.2.4",
"lazy-cache": "^1.0.2",
"matched": "^0.3.2",

@@ -36,3 +36,3 @@ "mixin-deep": "^1.1.3",

"parse-github-url": "^0.2.1",
"project-name": "^0.2.1",
"project-name": "^0.2.3",
"remote-origin-url": "^0.4.0",

@@ -61,2 +61,3 @@ "set-value": "^0.3.1",

"verb": {
"plugins": ["gulp-format-md"],
"related": {

@@ -63,0 +64,0 @@ "list": [

@@ -1,2 +0,2 @@

# normalize-pkg [![NPM version](https://badge.fury.io/js/normalize-pkg.svg)](http://badge.fury.io/js/normalize-pkg)
# normalize-pkg [![NPM version](https://img.shields.io/npm/v/normalize-pkg.svg)](https://www.npmjs.com/package/normalize-pkg)

@@ -65,3 +65,3 @@ > Normalize values in package.json to improve compatibility, programmatic readability and usefulness with third party libs.

* `value`: This can be any type of value. If it's a function, it will be called and passed the `key` and `value` currently defined for the property, and the entire `config` as the last argument. If it's any other value, that value will be used and will overwrite any existing value. If you only want to use a value if it's undefined, use `default` instead or a `value` function if conditional logic is required.
* `default`: Set the default value to use when the property is undefined. Only necessary if `value` is not defined.
+ `default`: Set the default value to use when the property is undefined. Only necessary if `value` is not defined.

@@ -107,8 +107,8 @@ ## Options

+ [github/jonschlinkert](https://github.com/jonschlinkert)
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
* [github/jonschlinkert](https://github.com/jonschlinkert)
* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
## License
Copyright © 2015 Jon Schlinkert
Copyright © 2015 [Jon Schlinkert](https://github.com/jonschlinkert)
Released under the MIT license.

@@ -118,2 +118,2 @@

_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on November 08, 2015._
_This file was generated by [verb](https://github.com/verbose/verb) on December 10, 2015._
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