New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

is-too

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-too - npm Package Compare versions

Comparing version 2.3.0 to 2.4.0

test/truthiness.js

41

is-too.js

@@ -198,3 +198,44 @@ /*!

/**
* Is the subject exactly false?
*
* @method false
* @param {Object} subject
*/
false: function(x) {
return x === false
},
/**
* Is the subject falsy?
*
* @method false
* @param {Object} subject
*/
falsy: function(x) {
return !x
},
/**
* Is the subject exactly true?
*
* @method true
* @param {Object} subject
*/
true: function(x) {
return x === true
},
/**
* Is the subject truthy?
*
* @method truthy
* @param {Object} subject
*/
truthy: function(x) {
return !!x
},
// OBJECTS

@@ -201,0 +242,0 @@

2

package.json
{
"name": "is-too",
"description": "simple validations",
"version": "2.3.0",
"version": "2.4.0",
"keywords": [

@@ -6,0 +6,0 @@ "is",

@@ -44,2 +44,6 @@ # is-too

* `undef`
* `false`
* `falsy`
* `true`
* `truthy`
* Objects

@@ -46,0 +50,0 @@ * `object`

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