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

properties-reader

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

properties-reader - npm Package Compare versions

Comparing version 2.2.0 to 2.3.0

12

package.json
{
"name": "properties-reader",
"description": "Properties file reader for Node.js",
"version": "2.2.0",
"version": "2.3.0",
"author": {

@@ -23,3 +23,5 @@ "name": "Steve King",

"devDependencies": {
"jest": "^26.6.3"
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.2",
"jest": "^29.6.3"
},

@@ -44,4 +46,8 @@ "keywords": [

},
"funding": {
"type": "github",
"url": "https://github.com/steveukx/properties?sponsor=1"
},
"engines": {
"node": ">=10"
"node": ">=14"
},

@@ -48,0 +54,0 @@ "license": "MIT",

@@ -226,3 +226,6 @@ const {readFileSync, statSync} = require('fs');

if (typeof parsedValue === 'string' && typeof source[expanded[0]] === 'object') {
if (expanded[0] === '__proto__') {
Object.defineProperty(source, expanded[0], { value: parsedValue });
}
else if (typeof parsedValue === 'string' && typeof source[expanded[0]] === 'object') {
source[expanded[0]][''] = parsedValue;

@@ -229,0 +232,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