@formatjs/icu-messageformat-parser 2.3.1 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/types.d.ts CHANGED
@@ -125,4 +125,3 @@ export type IntlLocaleLike = {
125
125
  readonly hourCycle?: Intl.LocaleHourCycleKey;
126
126
  readonly hourCycles?: Array<Intl.LocaleHourCycleKey>;
127
127
  };
128
- //# sourceMappingURL=types.d.ts.map
package/manipulator.d.ts CHANGED
@@ -11,4 +11,3 @@ import { MessageFormatElement } from './types';
11
11
  * @param ast AST
12
12
  */
13
13
  export declare function hoistSelectors(ast: MessageFormatElement[]): MessageFormatElement[];
14
- //# sourceMappingURL=manipulator.d.ts.map
package/no-parser.d.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  export declare function parse(): void;
2
2
  export * from './types';
3
3
  export declare const _Parser: undefined;
4
- //# sourceMappingURL=no-parser.d.ts.map
package/package.json CHANGED
@@ -1,9 +1,32 @@
1
1
  {
2
2
  "name": "@formatjs/icu-messageformat-parser",
3
- "version": "2.3.1",
3
+ "version": "2.5.0",
4
4
  "main": "index.js",
5
5
  "module": "lib/index.js",
6
6
  "types": "index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "types": "./index.d.ts",
10
+ "import": "./lib/index.js",
11
+ "default": "./index.js"
12
+ },
13
+ "./no-parser": {
14
+ "types": "./no-parser.d.ts",
15
+ "import": "./lib/no-parser.js",
16
+ "default": "./no-parser.js"
17
+ },
18
+ "./printer": {
19
+ "types": "./printer.d.ts",
20
+ "import": "./lib/printer.js",
21
+ "default": "./printer.js"
22
+ },
23
+ "./manipulator": {
24
+ "types": "./manipulator.d.ts",
25
+ "import": "./lib/manipulator.js",
26
+ "default": "./manipulator.js"
27
+ },
28
+ "./package.json": "./package.json"
29
+ },
7
30
  "license": "MIT",
8
31
  "repository": {
9
32
  "type": "git",
@@ -11,8 +34,8 @@
11
34
  "directory": "packages/icu-messageformat-parser"
12
35
  },
13
36
  "dependencies": {
14
- "@formatjs/ecma402-abstract": "1.14.3",
15
- "@formatjs/icu-skeleton-parser": "1.3.18",
37
+ "@formatjs/ecma402-abstract": "1.16.0",
38
+ "@formatjs/icu-skeleton-parser": "1.5.0",
16
39
  "tslib": "^2.4.0"
17
40
  }
18
41
  }
package/parser.d.ts CHANGED
@@ -145,4 +145,3 @@ export declare class Parser {
145
145
  */
146
146
  private peek;
147
147
  }
148
- //# sourceMappingURL=parser.d.ts.map
package/printer.d.ts CHANGED
@@ -2,4 +2,3 @@ import { MessageFormatElement, DateTimeSkeleton } from './types';
2
2
  export declare function printAST(ast: MessageFormatElement[]): string;
3
3
  export declare function doPrintAST(ast: MessageFormatElement[], isInPlural: boolean): string;
4
4
  export declare function printDateTimeSkeleton(style: DateTimeSkeleton): string;
5
- //# sourceMappingURL=printer.d.ts.map
@@ -1,3 +1,2 @@
1
1
  export declare const SPACE_SEPARATOR_REGEX: RegExp;
2
2
  export declare const WHITE_SPACE_REGEX: RegExp;
3
- //# sourceMappingURL=regex.generated.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare const timeData: Record<string, string[]>;
2
- //# sourceMappingURL=time-data.generated.d.ts.map