Socket
Socket
Sign inDemoInstall

is-odd

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-odd - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

7

index.js
/*!
* is-odd <https://github.com/jonschlinkert/is-odd>
*
* Copyright (c) 2015, Jon Schlinkert.
* Licensed under the MIT License.
* Copyright (c) 2015-2017, Jon Schlinkert.
* Released under the MIT License.
*/

@@ -16,3 +16,6 @@

}
if (Number(i) !== Math.floor(i)) {
throw new RangeError('is-odd expects an integer.');
}
return !!(~~i & 1);
};
{
"name": "is-odd",
"description": "Returns true if the given number is odd.",
"version": "0.1.1",
"version": "0.1.2",
"homepage": "https://github.com/jonschlinkert/is-odd",
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
"contributors": [
"Dmitry Semigradsky (http://brainstorage.me/semigradsky)",
"Jon Schlinkert (http://twitter.com/jonschlinkert)"
],
"repository": "jonschlinkert/is-odd",

@@ -23,3 +27,3 @@ "bugs": {

"dependencies": {
"is-number": "^1.1.0"
"is-number": "^3.0.0"
},

@@ -26,0 +30,0 @@ "devDependencies": {

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