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

java-properties

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

java-properties - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

8

lib/properties.js

@@ -29,6 +29,6 @@ /*

var get = function(key) {
var rawValue = objs[key];
if (rawValue) {
return interpolate(rawValue);
}
if (objs.hasOwnProperty(key)) {
return typeof objs[key] === 'undefined' ? '' : interpolate(objs[key]);
}
return undefined;
};

@@ -35,0 +35,0 @@ var set = function(key, value) {

{
"name": "java-properties",
"description": "Reads and interpolates Java .properties files",
"version": "0.1.4",
"version": "0.1.5",
"homepage": "http://github.com/mattdsteele/java-properties",

@@ -6,0 +6,0 @@ "author": {

@@ -105,3 +105,8 @@ 'use strict';

test.done();
},
'empty string' : function (test) {
test.expect(1);
test.equal('', props.get('property.emptyString'));
test.done();
}
};

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