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

bidar

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bidar - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

16

lib/type.js

@@ -212,2 +212,6 @@ // Copyright 2012 The Obvious Corporation.

function isObject(x) {
return (typeof x) === OBJECT;
}
function isInt(x) {

@@ -293,2 +297,8 @@ if (!isNumber(x) || (x !== Math.floor(x)) || !isFinite(x)) {

function assertObject(x) {
if (!isObject(x)) {
failType(x, OBJECT);
}
}
function assertString(x) {

@@ -331,4 +341,5 @@ if (!isString(x)) {

assertInt: assertInt,
assertMap: assertMap,
assertNumber: assertNumber,
assertMap: assertMap,
assertObject: assertObject,
assertString: assertString,

@@ -348,4 +359,5 @@ assertUint: assertUint,

isFunction: isFunction,
isMap: isMap,
isNumber: isNumber,
isMap: isMap,
isObject: isObject,
isString: isString,

@@ -352,0 +364,0 @@ isUint: isUint,

8

package.json
{
"name": "bidar",
"version": "0.3.1",
"version": "0.3.2",
"keywords":

@@ -17,3 +17,7 @@ ["object", "serialization", "data", "graph"],

} ],
"author": "Dan Bornstein <danfuzz@milk.com>",
"author": {
"name": "Dan Bornstein",
"email": "danfuzz@milk.com",
"url": "http://www.milk.com/"
},
"maintainers": [ {

@@ -20,0 +24,0 @@ "name": "Dan Bornstein",

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