Socket
Socket
Sign inDemoInstall

is-natural-number

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.1.0

index.js

43

package.json
{
"name": "is-natural-number",
"version": "2.0.0",
"version": "2.1.0",
"description": "Check if a number is a natural number",
"repository": "shinnn/is-natural-number.js",
"author": {
"name": "Shinnosuke Watanabe",
"url": "https://github.com/shinnn"
},
"author": "Shinnosuke Watanabe (https://github.com/shinnn)",
"scripts": {
"pretest": "jscs *.js && eslint *.js",
"test": "node test.js | tap-dot",
"coverage": "istanbul cover test.js",
"coveralls": "${npm_package_scripts_coverage} && istanbul-coveralls"
"pretest": "eslint --config @shinnn is-natural-number-cjs.js --ignore-path .gitignore .",
"test": "node --strong_mode --throw-deprecation --track-heap-objects test.js | tap-dot",
"coverage": "node --strong_mode node_modules/.bin/istanbul cover test.js"
},
"licenses": [
{
"type": "MIT",
"url": "https://github.com/shinnn/is-natural-number.js/blob/master/LICENSE"
}
],
"main": "is-natural-number-cjs.js",
"license": "MIT",
"jsnext:main": "index.jsnext.js",
"files": [
"is-natural-number-cjs.js"
"index.js",
"index.jsnext.js"
],

@@ -39,16 +31,9 @@ "keywords": [

"devDependencies": {
"eslint": "^0.14.1",
"istanbul": "^0.3.5",
"istanbul-coveralls": "^1.0.1",
"jscs": "^1.11.3",
"@shinnn/eslint-config": "^2.1.0",
"eslint": "^2.9.0",
"istanbul": "^0.4.3",
"require-uncached": "^1.0.2",
"tap-dot": "^1.0.0",
"tape": "^3.5.0"
},
"jscsConfig": {
"preset": "google",
"maximumLineLength": 98,
"requireBlocksOnNewline": true,
"validateLineBreaks": "LF"
"tap-dot": "^1.0.5",
"tape": "^4.5.1"
}
}

@@ -73,4 +73,4 @@ # is-natural-number.js

Copyright (c) 2014 - 2015 [Shinnosuke Watanabe](https://github.com/shinnn)
Copyright (c) 2014 - 2016 [Shinnosuke Watanabe](https://github.com/shinnn)
Licensed under [the MIT License](./LICENSE).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc