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

intl-messageformat-parser

Package Overview
Dependencies
Maintainers
4
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 3.0.2 to 3.0.3

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [3.0.3](https://github.com/formatjs/formatjs/compare/intl-messageformat-parser@3.0.2...intl-messageformat-parser@3.0.3) (2019-08-07)
### Bug Fixes
* **intl-messageformat-parser:** normalize plural in nested select, fixes [#145](https://github.com/formatjs/formatjs/issues/145) ([215aa6d](https://github.com/formatjs/formatjs/commit/215aa6d))
## [3.0.2](https://github.com/formatjs/formatjs/compare/intl-messageformat-parser@3.0.1...intl-messageformat-parser@3.0.2) (2019-08-06)

@@ -8,0 +19,0 @@

2

dist/normalize.js

@@ -15,3 +15,3 @@ "use strict";

// If we're encountering a plural el
if (!types_1.isPluralElement(el)) {
if (!types_1.isPluralElement(el) && !types_1.isSelectElement(el)) {
return;

@@ -18,0 +18,0 @@ }

{
"name": "intl-messageformat-parser",
"version": "3.0.2",
"version": "3.0.3",
"description": "Parses ICU Message strings into an AST via JavaScript.",

@@ -46,3 +46,3 @@ "main": "dist/index",

"homepage": "https://github.com/formatjs/formatjs",
"gitHead": "5712b2950f1ca82c7ea987a88a490a28157838fc"
"gitHead": "e4991d253408fd29bbdbf20f9d133fa7f3714ac0"
}

@@ -5,3 +5,4 @@ import {

isLiteralElement,
LiteralElement
LiteralElement,
isSelectElement
} from './types';

@@ -21,3 +22,3 @@ import { parse } from './parser';

// If we're encountering a plural el
if (!isPluralElement(el)) {
if (!isPluralElement(el) && !isSelectElement(el)) {
return;

@@ -24,0 +25,0 @@ }

Sorry, the diff of this file is not supported yet

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