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

baiji-normalizer

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

baiji-normalizer - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

4

index.js

@@ -279,3 +279,5 @@ /**

var maxCoerceLevel = opts.maxCoerceLevel || 3;
return coerceAll(val, maxCoerceLevel);
// needCoerce option: default to be `true`
var needCoerce = opts.coerce !== false;
return needCoerce ? coerceAll(val, maxCoerceLevel) : val;
}

@@ -282,0 +284,0 @@

{
"name": "baiji-normalizer",
"version": "1.0.6",
"version": "1.0.7",
"description": "Baiji Normalizer",

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

@@ -88,2 +88,5 @@ var chai = require('chai');

// with coerce = false
expect(new Normalizer({ a: '1' }, { coerce: false }).to('any')).to.eql({ a: '1' });
var circularExample = {};

@@ -90,0 +93,0 @@ circularExample.anotherCircularReference = circularExample;

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