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.30 to 1.1.31

3

lib/index.js

@@ -185,4 +185,5 @@ "use strict";

Messages.prototype.injectIfMatchesFound = function () {
if (!this.getVariableNameCount)
if (!this.getVariableNameCount) {
return;
}
// Inject the messages at the beginning o the file.

@@ -189,0 +190,0 @@ this.programNodePath.node.body.unshift(template_1.default.ast("const ".concat(this.variableName, " = ").concat(getInjectedMessages(this.sourceFilePath, this.messagesFileExtension, this.getMessages), ";")));

{
"name": "messages-modules",
"version": "1.1.30",
"version": "1.1.31",
"description": "Messages (localized strings) that are scoped locally.",
"author": "Avansai (https://avansai.com)",
"keywords": [
"messages-modules",
"messages module",
"messages",
"MessageFormat",
"intl",
"i18n",
"internationalization"
],
"repository": {

@@ -10,4 +18,4 @@ "type": "git",

},
"main": "lib/index.js",
"types": "lib/index.d.ts",
"license": "MIT",
"author": "Avansai (https://avansai.com)",
"exports": {

@@ -17,2 +25,4 @@ ".": "./lib/index.js",

},
"main": "lib/index.js",
"types": "lib/index.d.ts",
"typesVersions": {

@@ -25,24 +35,17 @@ "*": {

},
"files": [
"lib"
],
"scripts": {
"build": "npm run prettier && npm run lint-fix && rm -Rf ./lib && tsc && npm run test",
"lint-fix": "eslint --ext .js --ext .jsx --ext .ts --ext .tsx --fix .",
"lint-check": "eslint --ext .js --ext .jsx --ext .ts --ext .tsx .",
"lint-check": "eslint --ext .js --ext .jsx --ext .ts --ext .tsx --ext .json .",
"lint-fix": "eslint --ext .js --ext .jsx --ext .ts --ext .tsx --ext .json --fix .",
"lint-print-config": "eslint --print-config ./eslintrc.yaml",
"prettier": "prettier --write .",
"test": "jest --coverage",
"release": "dotenv -- release-it --only-version"
"release": "dotenv -- release-it --only-version",
"test": "jest --coverage"
},
"license": "MIT",
"files": [
"lib"
],
"keywords": [
"messages-modules",
"messages module",
"messages",
"MessageFormat",
"intl",
"i18n",
"internationalization"
],
"dependencies": {
"properties-file": "^2.1.27"
},
"devDependencies": {

@@ -54,7 +57,7 @@ "@babel/cli": "^7.20.7",

"@types/jest": "^29.4.0",
"@types/node": "^18.11.18",
"@typescript-eslint/eslint-plugin": "^5.50.0",
"@typescript-eslint/parser": "^5.50.0",
"@types/node": "^18.13.0",
"@typescript-eslint/eslint-plugin": "^5.51.0",
"@typescript-eslint/parser": "^5.51.0",
"dotenv-cli": "^7.0.0",
"eslint": "^8.33.0",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",

@@ -65,2 +68,3 @@ "eslint-import-resolver-node": "^0.3.7",

"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-json-files": "^2.1.0",
"eslint-plugin-prefer-arrow-functions": "^3.1.4",

@@ -70,4 +74,4 @@ "eslint-plugin-prettier": "^4.2.1",

"eslint-plugin-unicorn": "^45.0.2",
"jest": "^29.4.1",
"prettier": "^2.8.3",
"jest": "^29.4.2",
"prettier": "^2.8.4",
"prettier-plugin-organize-imports": "^3.2.2",

@@ -80,5 +84,2 @@ "prettier-plugin-sh": "^0.12.8",

},
"dependencies": {
"properties-file": "^2.1.26"
},
"engines": {

@@ -85,0 +86,0 @@ "node": "^14.18.1 || >=16.0.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