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

babel-plugin-formatjs

Package Overview
Dependencies
Maintainers
2
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-formatjs - npm Package Compare versions

Comparing version 10.5.17 to 10.5.18

24

package.json
{
"name": "babel-plugin-formatjs",
"version": "10.5.17",
"version": "10.5.18",
"description": "Extracts string messages for translation from modules that use formatjs.",

@@ -14,13 +14,13 @@ "repository": {

"dependencies": {
"@babel/core": "^7.10.4",
"@babel/helper-plugin-utils": "^7.10.4",
"@babel/plugin-syntax-jsx": "7",
"@babel/traverse": "7",
"@babel/types": "^7.12.11",
"@types/babel__core": "^7.1.7",
"@types/babel__helper-plugin-utils": "^7.10.0",
"@types/babel__traverse": "^7.1.7",
"tslib": "^2.4.0",
"@formatjs/icu-messageformat-parser": "2.7.9",
"@formatjs/ts-transformer": "3.13.15"
"@babel/core": "^7.25.0",
"@babel/helper-plugin-utils": "^7.25.0",
"@babel/plugin-syntax-jsx": "^7.25.0",
"@babel/traverse": "^7.25.0",
"@babel/types": "^7.25.0",
"@types/babel__core": "^7.20.5",
"@types/babel__helper-plugin-utils": "^7.10.3",
"@types/babel__traverse": "^7.20.6",
"tslib": "^2.7.0",
"@formatjs/icu-messageformat-parser": "2.7.10",
"@formatjs/ts-transformer": "3.13.16"
},

@@ -27,0 +27,0 @@ "keywords": [

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.storeMessage = exports.wasExtracted = exports.tagAsExtracted = exports.evaluateMessageDescriptor = exports.createMessageDescriptor = exports.getMessageDescriptorKey = void 0;
exports.getMessageDescriptorKey = getMessageDescriptorKey;
exports.createMessageDescriptor = createMessageDescriptor;
exports.evaluateMessageDescriptor = evaluateMessageDescriptor;
exports.tagAsExtracted = tagAsExtracted;
exports.wasExtracted = wasExtracted;
exports.storeMessage = storeMessage;
const icu_messageformat_parser_1 = require("@formatjs/icu-messageformat-parser");

@@ -24,3 +29,2 @@ const ts_transformer_1 = require("@formatjs/ts-transformer");

}
exports.getMessageDescriptorKey = getMessageDescriptorKey;
function getMessageDescriptorValue(path, isMessageNode) {

@@ -54,3 +58,2 @@ if (!path) {

}
exports.createMessageDescriptor = createMessageDescriptor;
function evaluateMessageDescriptor(descriptorPath, isJSXSource = false, filename, idInterpolationPattern, overrideIdFn, preserveWhitespace) {

@@ -83,3 +86,2 @@ let id = getMessageDescriptorValue(descriptorPath.id);

}
exports.evaluateMessageDescriptor = evaluateMessageDescriptor;
function getICUMessageValue(messagePath, { isJSXSource = false } = {}, preserveWhitespace) {

@@ -125,3 +127,2 @@ if (!messagePath) {

}
exports.tagAsExtracted = tagAsExtracted;
/**

@@ -134,3 +135,2 @@ * Check if a node was extracted

}
exports.wasExtracted = wasExtracted;
/**

@@ -157,2 +157,1 @@ * Store a message in our global messages

}
exports.storeMessage = storeMessage;
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