@formatjs/intl-displaynames 7.3.12 → 7.3.13

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 +9 -9
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -14,13 +14,13 @@ type CalendarCode = string;
14
14
  type DateTimeFieldCode = string;
15
15
  interface DisplayNamesData {
16
16
  /**
17
- * Note that for style fields, `short` and `narrow` might not exist.
18
- * At runtime, the fallback order will be narrow -> short -> long.
19
- */
17
+ * Note that for style fields, `short` and `narrow` might not exist.
18
+ * At runtime, the fallback order will be narrow -> short -> long.
19
+ */
20
20
  types: {
21
21
  /**
22
- * Maps language subtag like `zh-CN` to their display names.
23
- */
22
+ * Maps language subtag like `zh-CN` to their display names.
23
+ */
24
24
  language: {
25
25
  dialect: {
26
26
  narrow: Record<LanguageTag, string>;
@@ -60,10 +60,10 @@ interface DisplayNamesData {
60
60
  };
61
61
  };
62
62
  /**
63
- * Not in spec, but we need this to display both language and region in display name.
64
- * e.g. zh-Hans-SG + "{0}({1})" -> 简体中文(新加坡)
65
- * Here {0} is replaced by language display name and {1} is replaced by region display name.
66
- */
63
+ * Not in spec, but we need this to display both language and region in display name.
64
+ * e.g. zh-Hans-SG + "{0}({1})" -> 简体中文(新加坡)
65
+ * Here {0} is replaced by language display name and {1} is replaced by region display name.
66
+ */
67
67
  patterns: {
68
68
  locale: string;
69
69
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formatjs/intl-displaynames",
3
- "version": "7.3.12",
3
+ "version": "7.3.13",
4
4
  "description": "Polyfill for: https://tc39.es/proposal-intl-displaynames",
5
5
  "keywords": [
6
6
  "Intl",
@@ -30,6 +30,6 @@
30
30
  "./should-polyfill.js": "./should-polyfill.js"
31
31
  },
32
32
  "dependencies": {
33
- "@formatjs/intl-localematcher": "0.8.12"
33
+ "@formatjs/intl-localematcher": "0.8.13"
34
34
  }
35
35
  }