babel-plugin-react-intl
Advanced tools
Comparing version 8.1.11 to 8.2.0
// /home/longlho/.cache/bazel/_bazel_longlho/576c18efaac10246ec115c72af79fca6/sandbox/linux-sandbox/168/execroot/formatjs/node_modules/@bazel/typescript/internal/ts_project_options_validator.js checked attributes for //packages/babel-plugin-react-intl:dist-base | ||
// /home/longlho/.cache/bazel/_bazel_longlho/576c18efaac10246ec115c72af79fca6/sandbox/linux-sandbox/123/execroot/formatjs/node_modules/@bazel/typescript/internal/ts_project_options_validator.js checked attributes for //packages/babel-plugin-react-intl:dist-base | ||
// composite: false | ||
@@ -4,0 +4,0 @@ // declaration: true |
@@ -56,3 +56,5 @@ "use strict"; | ||
} | ||
var message = getMessageDescriptorValue(messagePath); | ||
var message = getMessageDescriptorValue(messagePath) | ||
.trim() | ||
.replace(/\s+/gm, ' '); | ||
try { | ||
@@ -59,0 +61,0 @@ intl_messageformat_parser_1.parse(message); |
{ | ||
"name": "babel-plugin-react-intl", | ||
"version": "8.1.11", | ||
"version": "8.2.0", | ||
"description": "Extracts string messages for translation from modules that use React Intl.", | ||
@@ -17,3 +17,3 @@ "repository": { | ||
"@babel/types": "^7.9.5", | ||
"@formatjs/ts-transformer": "^2.8.0", | ||
"@formatjs/ts-transformer": "^2.9.0", | ||
"@types/babel__core": "^7.1.7", | ||
@@ -20,0 +20,0 @@ "@types/schema-utils": "^2.4.0", |
Sorry, the diff of this file is not supported yet
27454
514