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

properties-file

Package Overview
Dependencies
Maintainers
1
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

properties-file - npm Package Compare versions

Comparing version 2.1.31 to 2.1.32

4

lib/file/index.js

@@ -15,5 +15,3 @@ "use strict";

var getProperties = function (filePath, encoding) {
if (!(0, node_fs_1.existsSync)(filePath)) {
throw new Error("file not found at ".concat(filePath));
}
// No need to check if the file exists first since this will already throw an error.
return (0, content_1.getProperties)((0, node_fs_1.readFileSync)(filePath, encoding !== null && encoding !== void 0 ? encoding : 'utf8'));

@@ -20,0 +18,0 @@ };

{
"name": "properties-file",
"version": "2.1.31",
"version": "2.1.32",
"description": ".properties file parser, JSON converter and Webpack loader.",

@@ -56,5 +56,5 @@ "keywords": [

"@release-it/conventional-changelog": "^5.1.1",
"@types/jest": "^29.4.0",
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
"@types/jest": "^29.5.0",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"dotenv-cli": "^7.1.0",

@@ -76,6 +76,6 @@ "eslint": "^8.36.0",

"prettier-plugin-sh": "^0.12.8",
"release-it": "^15.8.0",
"release-it": "^15.9.0",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
"typescript": "^5.0.2"
},

@@ -82,0 +82,0 @@ "engines": {

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