Socket
Socket
Sign inDemoInstall

yow

Package Overview
Dependencies
3
Maintainers
1
Versions
106
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.45 to 1.0.46

3

is.js

@@ -18,3 +18,3 @@ var isType = module.exports.isType = function(obj, type) {

module.exports.isDate = function(obj) {
return isType(obj, 'Date');
return isType(obj, 'Date') && !isNaN(obj.getTime());
};

@@ -37,2 +37,1 @@

}
{
"name": "yow",
"version": "1.0.45",
"version": "1.0.46",
"description": "You Only Wish module",

@@ -5,0 +5,0 @@ "main": "yow.js",

@@ -50,3 +50,3 @@ # Yow

- **isString(object)** - Is object a **String** object?
- **isDate(object)** - Is object a **Date** object?
- **isDate(object)** - Is object a **Date** object (and contains a valid date)?
- **isFunction(object)** - Is object a **function** object?

@@ -53,0 +53,0 @@ - **isObject(object)** - Is object an object? BTW **null** is not an object.

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