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

messages-modules

Package Overview
Dependencies
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

messages-modules - npm Package Compare versions

Comparing version 1.1.40 to 1.1.41

2

lib/babel-plugin/index.d.ts

@@ -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",

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