intl-messageformat-parser
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -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 @@ |
@@ -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); |
{ | ||
"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; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
242128
32
6314