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

@package/value

Package Overview
Dependencies
Maintainers
5
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@package/value - npm Package Compare versions

Comparing version 0.0.15 to 0.0.16

2

index.js

@@ -66,3 +66,3 @@ "use strict";

? item
: typeof num === 'number' && num === num
: typeof num === 'number' && num === num && num !== Number.POSITIVE_INFINITY && num !== Number.NEGATIVE_INFINITY
? num

@@ -69,0 +69,0 @@ : Object.prototype.hasOwnProperty.call(force, (str = String(item)))

{
"name" : "@package/value",
"version" : "0.0.15",
"version" : "0.0.16",
"description" : "useful work around for existential getting/setting values in nested Objects",

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

"use strict";
var chai = require('chai');
var { expect: EXPECT } = require('chai');
var {value, assign, bless, coerce, empty, exists} = require('./');
const EXPECT = chai.expect;
suite('@package/value', function () {

@@ -82,2 +80,4 @@ test('<static> value', function (done) {

EXPECT(coerce('')).to.equal('');
EXPECT(coerce('123e4567890')).to.equal('123e4567890');
EXPECT(coerce('-123e4567890')).to.equal('-123e4567890');

@@ -84,0 +84,0 @@ var date = new Date();

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