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

@coetry/simpletypes

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coetry/simpletypes - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

11

index.js

@@ -11,3 +11,3 @@ module.exports = {

function isANumber (x) {
if (typeof x === 'number') {
if (typeof x === 'number' && !isNan(x)) {
return true

@@ -30,3 +30,3 @@ }

function isAnObject (x) {
if (!isAnArray(x) && typeof x === 'object') {
if (!isAnArray(x) && typeof x === 'object' && x !== null) {
return true

@@ -50,1 +50,8 @@ }

}
function isUndefined (x) {
if (typeof x === 'undefined') {
return true
}
return false
}

2

package.json
{
"name": "@coetry/simpletypes",
"description": "simple type checks for js",
"version": "0.0.0",
"version": "0.0.1",
"repository": {

@@ -6,0 +6,0 @@ "url": "git://github.com/coetry/tx.git"

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