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

typeforce

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typeforce - npm Package Compare versions

Comparing version 1.14.0 to 1.15.0

5

index.js

@@ -12,7 +12,8 @@ var ERRORS = require('./errors')

var TYPES = {
arrayOf: function arrayOf (type) {
arrayOf: function arrayOf (type, arrayType) {
type = compile(type)
arrayType = compile(arrayType || NATIVE.Array)
function _arrayOf (array, strict) {
if (!NATIVE.Array(array)) return false
if (!arrayType(array)) return false
if (NATIVE.Nil(array)) return false

@@ -19,0 +20,0 @@

{
"name": "typeforce",
"version": "1.14.0",
"version": "1.15.0",
"description": "Another biased type checking solution for Javascript",

@@ -34,3 +34,3 @@ "keywords": [

"standard": "standard",
"unit": "node test/*.js | tap-dot"
"unit": "node test/*.js"
},

@@ -41,5 +41,4 @@ "dependencies": {},

"standard": "^9.0.0",
"tap-dot": "^1.0.5",
"tape": "^4.6.1"
}
}
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