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

config

Package Overview
Dependencies
Maintainers
2
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

config - npm Package Compare versions

Comparing version 2.0.2 to 3.0.0

8

History.md

@@ -0,1 +1,9 @@

3.0.0 / 2018-11-20
==================
* Ensure config array items and objects are sealed @fgheorghe
- This required a major version bump in case someone
- relied on the ability to mutate non-sealed data.
2.0.2 / 2018-08-28

@@ -2,0 +10,0 @@ ==================

@@ -425,2 +425,5 @@ // config.js (c) 2010-2015 Loren West and other contributors

} else if (Array.isArray(value)) {
// Ensure object items of this array are also immutable.
value.forEach((item, index) => { if (util.isObject(item) || Array.isArray(item)) util.makeImmutable(item) })
Object.defineProperty(object, propertyName, {

@@ -436,2 +439,5 @@ value: Object.freeze(value)

// Ensure new properties can not be added.
Object.preventExtensions(object)
// Call recursively if an object.

@@ -438,0 +444,0 @@ if (util.isObject(value)) {

2

package.json
{
"name": "config",
"version": "2.0.2",
"version": "3.0.0",
"main": "./lib/config.js",

@@ -5,0 +5,0 @@ "description": "Configuration control for production node deployments",

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