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

confidence

Package Overview
Dependencies
Maintainers
4
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

confidence - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

8

lib/store.js

@@ -128,3 +128,3 @@ 'use strict';

if (node.hasOwnProperty('$default')) {
if (Object.prototype.hasOwnProperty.call(node, '$default')) {
exports._logApplied(applied, filter, node, '$default');

@@ -182,3 +182,3 @@ return internals.defaults(internals.filter(node.$default, criteria, applied), node.$base);

if (node.hasOwnProperty('$value')) {
if (Object.prototype.hasOwnProperty.call(node, '$value')) {
return internals.walk(node.$value, criteria, applied);

@@ -275,3 +275,3 @@ }

if (!range.hasOwnProperty('limit')) {
if (!Object.prototype.hasOwnProperty.call(range, 'limit')) {
return error('Range entry missing limit');

@@ -290,3 +290,3 @@ }

if (!range.hasOwnProperty('value')) {
if (!Object.prototype.hasOwnProperty.call(range, 'value')) {
return error('Range entry missing value');

@@ -293,0 +293,0 @@ }

{
"name": "confidence",
"description": "Configuration API",
"version": "3.0.1",
"version": "3.0.2",
"repository": "git://github.com/hapijs/confidence",

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

@@ -110,2 +110,3 @@ 'use strict';

},
noProto: Object.create(null),
$meta: {

@@ -150,4 +151,4 @@ something: 'else'

get('/key9', { animal: 'chicken' }, { env: 'production' });
get('/', { key1: 'abc', key2: 2, key3: { sub1: 0 }, key4: [12, 13, 14], key5: {}, ab: 6 });
get('/', { key1: 'abc', key2: 2, key3: { sub1: 0, sub2: '' }, key4: [12, 13, 14], key5: {}, ab: 6 }, { xfactor: 'yes' });
get('/', { key1: 'abc', key2: 2, key3: { sub1: 0 }, key4: [12, 13, 14], key5: {}, noProto: {}, ab: 6 });
get('/', { key1: 'abc', key2: 2, key3: { sub1: 0, sub2: '' }, key4: [12, 13, 14], key5: {}, noProto: {}, ab: 6 }, { xfactor: 'yes' });
get('/ab', 2, { random: { 1: 2 } }, [{ filter: 'random.1', valueId: '[object]', filterId: 'random_ab_test' }]);

@@ -154,0 +155,0 @@ get('/ab', { a: 5 }, { random: { 1: 3 } }, [{ filter: 'random.1', valueId: '3', filterId: 'random_ab_test' }]);

Sorry, the diff of this file is not supported yet

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