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

@formatjs/icu-messageformat-parser

Package Overview
Dependencies
Maintainers
3
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@formatjs/icu-messageformat-parser - npm Package Compare versions

Comparing version 2.1.7 to 2.1.8

3

index.d.ts

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

import { ParserOptions } from './parser';
import { Parser, ParserOptions } from './parser';
import { MessageFormatElement } from './types';
export declare function parse(message: string, opts?: ParserOptions): MessageFormatElement[];
export * from './types';
export declare const _Parser: typeof Parser;
//# sourceMappingURL=index.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = void 0;
exports._Parser = exports.parse = void 0;
var tslib_1 = require("tslib");

@@ -48,1 +48,3 @@ var error_1 = require("./error");

tslib_1.__exportStar(require("./types"), exports);
// only for testing
exports._Parser = parser_1.Parser;

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

import { ParserOptions } from './parser';
import { Parser, ParserOptions } from './parser';
import { MessageFormatElement } from './types';
export declare function parse(message: string, opts?: ParserOptions): MessageFormatElement[];
export * from './types';
export declare const _Parser: typeof Parser;
//# sourceMappingURL=index.d.ts.map

@@ -44,1 +44,3 @@ import { __assign } from "tslib";

export * from './types';
// only for testing
export var _Parser = Parser;
export declare function parse(): void;
export * from './types';
export declare const _Parser: undefined;
//# sourceMappingURL=no-parser.d.ts.map

@@ -5,1 +5,2 @@ export function parse() {

export * from './types';
export var _Parser = undefined;

@@ -129,2 +129,6 @@ import type { NumberFormatOptions } from '@formatjs/ecma402-abstract';

export declare function createNumberElement(value: string, style?: string | null): NumberElement;
export declare type IntlLocaleLike = {
readonly hourCycle?: Intl.LocaleHourCycleKey;
readonly hourCycles?: Array<Intl.LocaleHourCycleKey>;
};
//# sourceMappingURL=types.d.ts.map
export declare function parse(): void;
export * from './types';
export declare const _Parser: undefined;
//# sourceMappingURL=no-parser.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = void 0;
exports._Parser = exports.parse = void 0;
var tslib_1 = require("tslib");

@@ -10,1 +10,2 @@ function parse() {

tslib_1.__exportStar(require("./types"), exports);
exports._Parser = undefined;
{
"name": "@formatjs/icu-messageformat-parser",
"version": "2.1.7",
"version": "2.1.8",
"main": "index.js",

@@ -5,0 +5,0 @@ "module": "lib/index.js",

@@ -129,2 +129,6 @@ import type { NumberFormatOptions } from '@formatjs/ecma402-abstract';

export declare function createNumberElement(value: string, style?: string | null): NumberElement;
export declare type IntlLocaleLike = {
readonly hourCycle?: Intl.LocaleHourCycleKey;
readonly hourCycles?: Array<Intl.LocaleHourCycleKey>;
};
//# sourceMappingURL=types.d.ts.map

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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