intl-messageformat 11.2.11 → 11.2.12

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.
Files changed (2) hide show
  1. package/index.d.ts +6 -7
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { MessageFormatElement, ParserOptions, parse } from "@formatjs/icu-messageformat-parser";
2
-
3
2
  //#region packages/ecma402-abstract/types/number.d.ts
4
3
  type NumberFormatNotation = "standard" | "scientific" | "engineering" | "compact";
5
4
  type RoundingPriorityType = "auto" | "morePrecision" | "lessPrecision";
@@ -120,12 +119,12 @@ declare enum ErrorCode {
120
119
  declare class FormatError extends Error {
121
120
  readonly code: ErrorCode;
122
121
  /**
123
- * Original message we're trying to format
124
- * `undefined` if we're only dealing w/ AST
125
- *
126
- * @type {(string | undefined)}
127
- * @memberof FormatError
128
- */
122
+ * Original message we're trying to format
123
+ * `undefined` if we're only dealing w/ AST
124
+ *
125
+ * @type {(string | undefined)}
126
+ * @memberof FormatError
127
+ */
129
128
  readonly originalMessage: string | undefined;
130
129
  constructor(msg: string, code: ErrorCode, originalMessage?: string);
131
130
  toString(): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intl-messageformat",
3
- "version": "11.2.11",
3
+ "version": "11.2.12",
4
4
  "description": "Formats ICU Message strings with number, date, plural, and select placeholders to create localized messages.",
5
5
  "keywords": [
6
6
  "globalization",
@@ -35,6 +35,6 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@formatjs/fast-memoize": "3.1.7",
38
- "@formatjs/icu-messageformat-parser": "3.5.14"
38
+ "@formatjs/icu-messageformat-parser": "3.5.15"
39
39
  }
40
40
  }