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 2.0.1 to 2.1.0

dist/printer.d.ts

6

CHANGELOG.md

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

# [2.1.0](https://github.com/formatjs/formatjs/compare/intl-messageformat-parser@2.0.1...intl-messageformat-parser@2.1.0) (2019-07-12)
### Features
- **intl-messageformat-parser:** add printer to print AST to string ([ec0eaa2](https://github.com/formatjs/formatjs/commit/ec0eaa2))
## [2.0.1](https://github.com/formatjs/formatjs/compare/intl-messageformat-parser@2.0.0...intl-messageformat-parser@2.0.1) (2019-07-09)

@@ -8,0 +14,0 @@

1

dist/index.d.ts

@@ -5,3 +5,4 @@ import { IParseOptions } from './parser';

export * from './parser';
export { printAST } from './printer';
export declare type ParseOptions = Options & IParseOptions;
export declare function parse(input: string, opts?: ParseOptions): MessageFormatElement[];

@@ -10,2 +10,4 @@ "use strict";

__export(require("./parser"));
var printer_1 = require("./printer");
exports.printAST = printer_1.printAST;
function parse(input, opts) {

@@ -12,0 +14,0 @@ var els = parser_1.parse(input, opts);

@@ -5,3 +5,4 @@ import { IParseOptions } from './parser';

export * from './parser';
export { printAST } from './printer';
export declare type ParseOptions = Options & IParseOptions;
export declare function parse(input: string, opts?: ParseOptions): MessageFormatElement[];

@@ -5,2 +5,3 @@ import { parse as pegParse } from './parser';

export * from './parser';
export { printAST } from './printer';
export function parse(input, opts) {

@@ -7,0 +8,0 @@ var els = pegParse(input, opts);

4

package.json
{
"name": "intl-messageformat-parser",
"version": "2.0.1",
"version": "2.1.0",
"description": "Parses ICU Message strings into an AST via JavaScript.",

@@ -44,3 +44,3 @@ "main": "dist/index.js",

"homepage": "https://github.com/formatjs/formatjs",
"gitHead": "2c91ba26cf80914198f1893a84a506094102a0e2"
"gitHead": "32078bc8d41e49050c8ba3288c51b3104a6da9e5"
}

@@ -6,2 +6,3 @@ import { parse as pegParse, IParseOptions } from './parser';

export * from './parser';
export { printAST } from './printer';

@@ -8,0 +9,0 @@ export type ParseOptions = Options & IParseOptions;

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