You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

messageformat-validator

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

messageformat-validator - npm Package Compare versions

Comparing version

to
3.0.0-beta.13

2

bin/cli.js

@@ -352,3 +352,3 @@ #!/usr/bin/env -S node --no-warnings --experimental-json-modules

const last = sorted.pop();
sorted.push(last.replace(/,(\s*($|\/\/[^\n]*))/, `${lastComma}$1`));
sorted.push(last.replace(/,(\s*(\/\/[^\n]*)?$)/, `${lastComma}$1`));
locales[locale.locale].contents = locales[locale.locale].contents.replace(Object.values(locales[locale.locale].parsed).join(''), sorted.join('\n'));

@@ -355,0 +355,0 @@ }

{
"name": "messageformat-validator",
"version": "3.0.0-beta.12",
"version": "3.0.0-beta.13",
"description": "Validates that ICU MessageFormat messages are well-formed, and that translated target messages are compatible with their source.",

@@ -5,0 +5,0 @@ "type": "module",