messages-modules
Advanced tools
Comparing version 1.1.40 to 1.1.41
@@ -0,3 +1,3 @@ | ||
import type { PluginObj } from '@babel/core'; | ||
import { HijackTarget, KeyValueObject } from '../'; | ||
import type { PluginObj } from '@babel/core'; | ||
/** | ||
@@ -4,0 +4,0 @@ * Targets to hijack. |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getMessages = exports.hijackTargets = void 0; | ||
var node_fs_1 = require("node:fs"); | ||
var properties_file_1 = require("properties-file"); | ||
@@ -23,3 +24,3 @@ var __1 = require("../"); | ||
var getMessages = function (propertiesFilePath) { | ||
return (0, properties_file_1.propertiesToJson)(propertiesFilePath); | ||
return (0, properties_file_1.getProperties)((0, node_fs_1.readFileSync)(propertiesFilePath)); | ||
}; | ||
@@ -26,0 +27,0 @@ exports.getMessages = getMessages; |
{ | ||
"name": "messages-modules", | ||
"version": "1.1.40", | ||
"version": "1.1.41", | ||
"description": "Messages (localized strings) that are scoped locally.", | ||
@@ -46,3 +46,3 @@ "keywords": [ | ||
"dependencies": { | ||
"properties-file": "2.2.4" | ||
"properties-file": "3.0.0" | ||
}, | ||
@@ -54,8 +54,8 @@ "devDependencies": { | ||
"@types/babel__core": "7.20.0", | ||
"@types/jest": "29.5.0", | ||
"@types/node": "18.15.11", | ||
"@typescript-eslint/eslint-plugin": "5.58.0", | ||
"@typescript-eslint/parser": "5.58.0", | ||
"@types/jest": "29.5.1", | ||
"@types/node": "18.16.0", | ||
"@typescript-eslint/eslint-plugin": "5.59.0", | ||
"@typescript-eslint/parser": "5.59.0", | ||
"dotenv-cli": "7.2.1", | ||
"eslint": "8.38.0", | ||
"eslint": "8.39.0", | ||
"eslint-config-prettier": "8.8.0", | ||
@@ -72,3 +72,3 @@ "eslint-import-resolver-node": "0.3.7", | ||
"jest": "29.5.0", | ||
"prettier": "2.8.7", | ||
"prettier": "2.8.8", | ||
"prettier-plugin-organize-imports": "3.2.2", | ||
@@ -75,0 +75,0 @@ "prettier-plugin-sh": "0.12.8", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28816
460
+ Addedproperties-file@3.0.0(transitive)
- Removedproperties-file@2.2.4(transitive)
Updatedproperties-file@3.0.0