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

providence

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

providence - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

10

modules/index.js

@@ -85,2 +85,4 @@ /**

this._firstValue = NOT_SET;
if (!skipDataCheck && this._options.getIn(DATA_PATH, NOT_SET) === NOT_SET) {

@@ -139,2 +141,6 @@ throw new Error('value at path [\'root\', \'data\'] is required!');

if (this._firstValue === NOT_SET) {
this._firstValue = resolvedValue;
}
return resolvedValue === NOT_SET ? notSetValue : resolvedValue;

@@ -147,2 +153,6 @@ };

Providence.prototype.firstValue = function () {
return this._firstValue === NOT_SET ? this.deref() : this._firstValue;
};
/**

@@ -149,0 +159,0 @@ * Return true if a keypath exists within the unboxed root data.

2

package.json
{
"name": "providence",
"version": "0.3.0",
"version": "0.4.0",
"description": "Reference a sub-structure of any data structure",

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

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