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

convict

Package Overview
Dependencies
Maintainers
5
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

convict - npm Package Compare versions

Comparing version 6.2.2 to 6.2.3

4

package.json

@@ -20,3 +20,3 @@ {

],
"version": "6.2.2",
"version": "6.2.3",
"license": "Apache-2.0",

@@ -40,3 +40,3 @@ "homepage": "https://github.com/mozilla/node-convict",

},
"gitHead": "4da12f88f77a3a4c1d61fee3bc5d16194892802d"
"gitHead": "deef5d77f4f6a714579387c2d67a051396477415"
}

@@ -14,4 +14,4 @@ /**

const FORBIDDEN_KEY_PATHS = [
'__proto__',
'this.constructor.prototype',
'__proto__.',
'this.constructor.prototype.',
]

@@ -571,4 +571,5 @@

set: function(k, v) {
for (const path of FORBIDDEN_KEY_PATHS) {
if (k.startsWith(`${path}.`)) {
for (const forbidden_key_path of FORBIDDEN_KEY_PATHS) {
if (k.startsWith(forbidden_key_path) ||
k.includes(`.${forbidden_key_path}`)) {
return this

@@ -575,0 +576,0 @@ }

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