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

intl-messageformat-parser

Package Overview
Dependencies
Maintainers
6
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 5.2.4 to 5.2.6-alpha.0

_validate_dist_options.optionsvalid.d.ts

10

lib/index.d.ts

@@ -1,8 +0,8 @@

import { IParseOptions } from './parser';
import { Options, MessageFormatElement } from './types';
export * from './types';
export * from './parser';
export * from './skeleton';
import { IParseOptions } from './src/parser';
import { Options, MessageFormatElement } from './src/types';
export * from './src/types';
export * from './src/parser';
export * from './src/skeleton';
export declare type ParseOptions = Options & IParseOptions;
export declare function parse(input: string, opts?: ParseOptions): MessageFormatElement[];
//# sourceMappingURL=index.d.ts.map

@@ -1,6 +0,6 @@

import { pegParse } from './parser';
import { normalizeHashtagInPlural } from './normalize';
export * from './types';
export * from './parser';
export * from './skeleton';
import { pegParse } from './src/parser';
import { normalizeHashtagInPlural } from './src/normalize';
export * from './src/types';
export * from './src/parser';
export * from './src/skeleton';
export function parse(input, opts) {

@@ -13,2 +13,1 @@ var els = pegParse(input, opts);

}
//# sourceMappingURL=index.js.map
{
"name": "intl-messageformat-parser",
"version": "5.2.4",
"version": "5.2.6-alpha.0",
"description": "Parses ICU Message strings into an AST via JavaScript.",
"main": "dist/index.js",
"main": "index.js",
"module": "lib/index.js",
"types": "lib/intl-messageformat-parser.d.ts",
"files": [
"dist",
"lib",
"src"
],
"types": "intl-messageformat-parser.d.ts",
"scripts": {

@@ -49,6 +44,6 @@ "clean": "rimraf dist lib *.tsbuildinfo",

"dependencies": {
"@formatjs/intl-numberformat": "^5.0.2"
"@formatjs/intl-numberformat": "^5.0.4-alpha.0"
},
"homepage": "https://github.com/formatjs/formatjs",
"gitHead": "315646645e3906f787df93b0d082ed9b98ad6f4f",
"gitHead": "8b0baec8eda5002715cf893274fe59782fc2d371",
"devDependencies": {

@@ -58,5 +53,5 @@ "@types/jest": "^25.2.1",

"pegjs": "^0.10.0",
"ts-jest": "^25.4.0",
"ts-jest": "^26.1.1",
"ts-pegjs": "^0.2.6"
}
}
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