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

the-thing-is

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

the-thing-is - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

6

package.json
{
"name": "the-thing-is",
"version": "0.2.0",
"version": "0.3.0",
"description": "Configuration drivin validation",

@@ -11,3 +11,3 @@ "main": "the-thing-is.js",

"type": "git",
"url": "git://github.com/mrDarcyMurphy/the-thing-is.git"
"url": "git://github.com/LoudBit/the-thing-is.git"
},

@@ -23,4 +23,4 @@ "keywords": [

"dependencies": {
"is-it": "~1.1.0"
"is-too": "^2.0.0"
}
}

@@ -66,5 +66,5 @@ var assert = require('assert')

})
describe("the('0').is(['string', 'aNumber', 'aInteger'])", function() {
describe("the('0').is(['string', 'numberString', 'integerString'])", function() {
it('returns true', function() {
assert.equal(the('0').is(['string', 'aNumber', 'aInteger']), true)
assert.equal(the('0').is(['string', 'numberString', 'integerString']), true)
})

@@ -105,3 +105,3 @@ })

var whatIExpect = [
'string', 'aInteger',
'string', 'integerString',
{

@@ -111,3 +111,3 @@ // this is a trick - `number:false` is true

number: false,
aInteger: true,
integerString: true,
gte: 0,

@@ -123,3 +123,3 @@ lte: 100

it("doesn't meet the expectations", function(){
the('0').is(['string', 'aInteger', {gte:0, lte:100}])
the('0').is(['string', 'integerString', {gte:0, lte:100}])
assert( the.last.error.length )

@@ -126,0 +126,0 @@ })

@@ -22,3 +22,3 @@ // The Thing Is

// Dependencies
var is = require('is-it')
var is = require('is-too')

@@ -25,0 +25,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