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

is-type-of

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-type-of - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

9

History.md
1.2.1 / 2018-09-22
==================
**fixes**
* [[`1468e4e`](http://github.com/node-modules/is-type-of/commit/1468e4e2d2a1221ff25187f430e5546db2fadacc)] - fix: hotfix is-class bug (#10) (fengmk2 <<fengmk2@gmail.com>>)
**others**
* [[`32aab2b`](http://github.com/node-modules/is-type-of/commit/32aab2b5431e76529f2cf9ddf1d112b99ed05394)] - chore: Improve some functions (#8) (Runrioter Wung <<runrioter@gmail.com>>)
1.2.0 / 2017-08-10

@@ -3,0 +12,0 @@ ==================

15

index.js

@@ -5,3 +5,4 @@ 'use strict';

var isStearm = require('isstream');
var isClass = require('is-class');
// wait for https://github.com/miguelmota/is-class/pull/6 merge
var isClass = require('is-class-hotfix');

@@ -34,9 +35,5 @@ /**

exports.finite = function (obj) {
return Number.isFinite(obj);
};
exports.finite = Number.isFinite;
exports.NaN = function (obj) {
return Number.isNaN(obj);
};
exports.NaN = Number.isNaN

@@ -113,5 +110,3 @@ exports.generator = function (obj) {

exports.array = function isArray(obj) {
return Array.isArray(obj);
};
exports.array = Array.isArray;

@@ -118,0 +113,0 @@ /**

{
"name": "is-type-of",
"version": "1.2.0",
"version": "1.2.1",
"description": "complete type checking for node",

@@ -30,3 +30,3 @@ "main": "index.js",

"core-util-is": "^1.0.2",
"is-class": "~0.0.4",
"is-class-hotfix": "~0.0.6",
"isstream": "~0.1.2"

@@ -33,0 +33,0 @@ },

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