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

intl-messageformat-parser

Package Overview
Dependencies
Maintainers
1
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

intl-messageformat-parser - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

package.json
{
"name": "intl-messageformat-parser",
"version": "0.3.0",
"version": "0.3.1",
"description": "Parses ICU message strings to an AST that can be used to format the messages for a person's locale.",

@@ -5,0 +5,0 @@ "main": "dist/parser.js",

@@ -11,4 +11,4 @@ intl-messageformat-parser

var photosMsg = 'On {takenDate, date, short} {name} took {numPhotos, plural,' +
'0= {no photos :(}' +
'1= {one photo.}' +
'=0 {no photos :(}' +
'=1 {one photo.}' +
'other {# photos!}}';

@@ -59,3 +59,3 @@

"type": "optionalFormatPattern",
"selector": "0=",
"selector": "=0",
"value": {

@@ -73,3 +73,3 @@ "type": "messageFormatPattern",

"type": "optionalFormatPattern",
"selector": "1=",
"selector": "=1",
"value": {

@@ -76,0 +76,0 @@ "type": "messageFormatPattern",

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