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

cascading-service-config

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cascading-service-config - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

csc.js

@@ -8,3 +8,3 @@ var url = require('url');

Object.keys(config).forEach(function(key) {
if (typeof config[key] != 'object') return;
if (typeof config[key] != 'object' || Array.isArray(config[key])) return;
config[key].__proto__ = services;

@@ -11,0 +11,0 @@ if (config[key].port == null) return;

{
"name": "cascading-service-config",
"version": "1.1.0",
"version": "1.1.1",
"description": "dry configuration for a multi-service system",

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

@@ -8,2 +8,3 @@ var csc = require('../');

"internalServiceProtocol": "http",
"arrayOfThings": [1,2,3],
"stoutmeal": {

@@ -43,2 +44,6 @@ "cookie": "authKey",

});
it('shouldnt mangle the prototype chain of arrays', function() {
var config = csc(lolconfig, 'stout');
assert.equal(config.arrayOfThings.forEach, [].forEach);
});
it('should transform root service objects to their location', function() {

@@ -45,0 +50,0 @@ var config = csc(lolconfig, 'stout');

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