@formatjs/intl 2.3.2 → 2.4.1
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/index.d.ts +17 -0
- package/index.d.ts.map +1 -0
- package/index.js +40 -0
- package/lib/index.d.ts +17 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +17 -0
- package/lib/src/create-intl.d.ts +11 -0
- package/lib/src/create-intl.d.ts.map +1 -0
- package/lib/src/create-intl.js +55 -0
- package/lib/src/dateTime.d.ts +38 -0
- package/lib/src/dateTime.d.ts.map +1 -0
- package/lib/src/dateTime.js +117 -0
- package/lib/src/displayName.d.ts +6 -0
- package/lib/src/displayName.d.ts.map +1 -0
- package/lib/src/displayName.js +22 -0
- package/lib/src/error.d.ts +34 -0
- package/lib/src/error.d.ts.map +1 -0
- package/lib/src/error.js +88 -0
- package/lib/src/list.d.ts +11 -0
- package/lib/src/list.d.ts.map +1 -0
- package/lib/src/list.js +61 -0
- package/lib/src/message.d.ts +16 -0
- package/lib/src/message.d.ts.map +1 -0
- package/lib/src/message.js +103 -0
- package/lib/src/number.d.ts +17 -0
- package/lib/src/number.d.ts.map +1 -0
- package/lib/src/number.js +54 -0
- package/lib/src/plural.d.ts +7 -0
- package/lib/src/plural.d.ts.map +1 -0
- package/lib/src/plural.js +19 -0
- package/lib/src/relativeTime.d.ts +7 -0
- package/lib/src/relativeTime.d.ts.map +1 -0
- package/lib/src/relativeTime.js +29 -0
- package/lib/src/types.d.ts +103 -0
- package/lib/src/types.d.ts.map +1 -0
- package/lib/src/types.js +1 -0
- package/lib/src/utils.d.ts +12 -0
- package/lib/src/utils.d.ts.map +1 -0
- package/lib/src/utils.js +162 -0
- package/package.json +10 -10
- package/src/create-intl.d.ts +11 -0
- package/src/create-intl.d.ts.map +1 -0
- package/src/create-intl.js +59 -0
- package/src/dateTime.d.ts +38 -0
- package/src/dateTime.d.ts.map +1 -0
- package/src/dateTime.js +126 -0
- package/src/displayName.d.ts +6 -0
- package/src/displayName.d.ts.map +1 -0
- package/src/displayName.js +26 -0
- package/src/error.d.ts +34 -0
- package/src/error.d.ts.map +1 -0
- package/src/error.js +91 -0
- package/src/list.d.ts +11 -0
- package/src/list.d.ts.map +1 -0
- package/src/list.js +66 -0
- package/src/message.d.ts +16 -0
- package/src/message.d.ts.map +1 -0
- package/src/message.js +107 -0
- package/src/number.d.ts +17 -0
- package/src/number.d.ts.map +1 -0
- package/src/number.js +60 -0
- package/src/plural.d.ts +7 -0
- package/src/plural.d.ts.map +1 -0
- package/src/plural.js +23 -0
- package/src/relativeTime.d.ts +7 -0
- package/src/relativeTime.d.ts.map +1 -0
- package/src/relativeTime.js +33 -0
- package/src/types.d.ts +103 -0
- package/src/types.d.ts.map +1 -0
- package/src/types.js +2 -0
- package/src/utils.d.ts +12 -0
- package/src/utils.d.ts.map +1 -0
- package/src/utils.js +169 -0
- package/BUILD +0 -79
- package/CHANGELOG.md +0 -537
- package/index.ts +0 -38
- package/src/create-intl.ts +0 -159
- package/src/dateTime.ts +0 -204
- package/src/displayName.ts +0 -54
- package/src/error.ts +0 -106
- package/src/list.ts +0 -119
- package/src/message.ts +0 -246
- package/src/number.ts +0 -101
- package/src/plural.ts +0 -45
- package/src/relativeTime.ts +0 -74
- package/src/types.ts +0 -234
- package/src/utils.ts +0 -177
- package/tests/__snapshots__/formatDate.test.ts.snap +0 -13
- package/tests/__snapshots__/formatMessage.test.ts.snap +0 -45
- package/tests/__snapshots__/formatNumber.test.ts.snap +0 -13
- package/tests/__snapshots__/formatRelativeTime.test.ts.snap +0 -19
- package/tests/__snapshots__/formatTime.test.ts.snap +0 -13
- package/tests/create-intl.test.ts +0 -60
- package/tests/error.test.ts +0 -25
- package/tests/formatDate.test.ts +0 -167
- package/tests/formatDisplayNames.test.ts +0 -63
- package/tests/formatList.test.ts +0 -51
- package/tests/formatMessage.test.ts +0 -495
- package/tests/formatNumber.test.ts +0 -172
- package/tests/formatPlural.test.ts +0 -119
- package/tests/formatRelativeTime.test.ts +0 -145
- package/tests/formatTime.test.ts +0 -234
- package/tests/global.d.ts +0 -7
- package/tsconfig.json +0 -5
package/CHANGELOG.md
DELETED
|
@@ -1,537 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
## [2.3.2](https://github.com/formatjs/formatjs/compare/@formatjs/intl@2.3.1...@formatjs/intl@2.3.2) (2022-08-18)
|
|
7
|
-
|
|
8
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
9
|
-
|
|
10
|
-
## [2.3.1](https://github.com/formatjs/formatjs/compare/@formatjs/intl@2.3.0...@formatjs/intl@2.3.1) (2022-07-04)
|
|
11
|
-
|
|
12
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
13
|
-
|
|
14
|
-
# [2.3.0](https://github.com/formatjs/formatjs/compare/@formatjs/intl@2.2.5...@formatjs/intl@2.3.0) (2022-06-06)
|
|
15
|
-
|
|
16
|
-
### Features
|
|
17
|
-
|
|
18
|
-
* **@formatjs/intl:** allow module augmentation for custom formatters ([#3634](https://github.com/formatjs/formatjs/issues/3634)) ([49b2588](https://github.com/formatjs/formatjs/commit/49b2588e1efe135debed9935cb217d2cb5937f07))
|
|
19
|
-
|
|
20
|
-
## [2.2.5](https://github.com/formatjs/formatjs/compare/@formatjs/intl@2.2.4...@formatjs/intl@2.2.5) (2022-05-24)
|
|
21
|
-
|
|
22
|
-
### Bug Fixes
|
|
23
|
-
|
|
24
|
-
* **@formatjs/intl:** add fractionalSecondDigits to list of options, fix [#3594](https://github.com/formatjs/formatjs/issues/3594) ([a2b7bc6](https://github.com/formatjs/formatjs/commit/a2b7bc6ea8426ee1ea76066fd5da6df8ebe7c153))
|
|
25
|
-
|
|
26
|
-
## [2.2.4](https://github.com/formatjs/formatjs/compare/@formatjs/intl@2.2.3...@formatjs/intl@2.2.4) (2022-05-23)
|
|
27
|
-
|
|
28
|
-
### Bug Fixes
|
|
29
|
-
|
|
30
|
-
* **@formatjs/intl:** fix Exclude usage, use Omit instead, fix [#3548](https://github.com/formatjs/formatjs/issues/3548) ([493b9eb](https://github.com/formatjs/formatjs/commit/493b9eb786d933145fbb66a1d9d62e1f35c14c72))
|
|
31
|
-
|
|
32
|
-
## [2.2.3](https://github.com/formatjs/formatjs/compare/@formatjs/intl@2.2.2...@formatjs/intl@2.2.3) (2022-05-19)
|
|
33
|
-
|
|
34
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
35
|
-
|
|
36
|
-
## [2.2.2](https://github.com/formatjs/formatjs/compare/@formatjs/intl@2.2.1...@formatjs/intl@2.2.2) (2022-05-19)
|
|
37
|
-
|
|
38
|
-
### Bug Fixes
|
|
39
|
-
|
|
40
|
-
* add actual default message to Missing translation ([#3574](https://github.com/formatjs/formatjs/issues/3574)) ([adb9844](https://github.com/formatjs/formatjs/commit/adb98449b66ccce4c4356f5abf23781be19955d9)), closes [#3573](https://github.com/formatjs/formatjs/issues/3573)
|
|
41
|
-
* **react-intl:** fix type issue with react18, fix [#3550](https://github.com/formatjs/formatjs/issues/3550) ([2567b93](https://github.com/formatjs/formatjs/commit/2567b932c5d18b097a43842563046c20ce0c49f1))
|
|
42
|
-
|
|
43
|
-
## [2.2.1](https://github.com/formatjs/formatjs/compare/@formatjs/intl@2.2.0...@formatjs/intl@2.2.1) (2022-04-27)
|
|
44
|
-
|
|
45
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
46
|
-
|
|
47
|
-
# [2.2.0](https://github.com/formatjs/formatjs/compare/@formatjs/intl@2.1.1...@formatjs/intl@2.2.0) (2022-04-17)
|
|
48
|
-
|
|
49
|
-
### Features
|
|
50
|
-
|
|
51
|
-
* **react-intl:** add onWarn ([#3506](https://github.com/formatjs/formatjs/issues/3506)) ([09273e3](https://github.com/formatjs/formatjs/commit/09273e3b183252bee0dbcbcb3066bb77d79c4de1))
|
|
52
|
-
|
|
53
|
-
## [2.1.1](https://github.com/formatjs/formatjs/compare/@formatjs/intl@2.1.0...@formatjs/intl@2.1.1) (2022-03-26)
|
|
54
|
-
|
|
55
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
56
|
-
|
|
57
|
-
# [2.1.0](https://github.com/formatjs/formatjs/compare/@formatjs/intl@2.0.0...@formatjs/intl@2.1.0) (2022-03-13)
|
|
58
|
-
|
|
59
|
-
### Features
|
|
60
|
-
|
|
61
|
-
* **@formatjs/intl:** add $t as an shorter hand alias for formatMessagge ([a0ab2d4](https://github.com/formatjs/formatjs/commit/a0ab2d431b0bb714fd9173b7492190fa006c88be))
|
|
62
|
-
|
|
63
|
-
# [2.0.0](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.18.5...@formatjs/intl@2.0.0) (2022-02-06)
|
|
64
|
-
|
|
65
|
-
### Features
|
|
66
|
-
|
|
67
|
-
* **eslint-plugin-formatjs:** rename `blacklist` to `blocklist`, fix [#3399](https://github.com/formatjs/formatjs/issues/3399) ([d363881](https://github.com/formatjs/formatjs/commit/d363881c87e6d792c4e933cd0167d1b3faa0897a))
|
|
68
|
-
|
|
69
|
-
### BREAKING CHANGES
|
|
70
|
-
|
|
71
|
-
* **eslint-plugin-formatjs:** This changes the rule name from `blacklist-elements` to `blocklist-elements`
|
|
72
|
-
|
|
73
|
-
## [1.18.5](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.18.4...@formatjs/intl@1.18.5) (2022-02-06)
|
|
74
|
-
|
|
75
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
76
|
-
|
|
77
|
-
## [1.18.4](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.18.3...@formatjs/intl@1.18.4) (2022-01-24)
|
|
78
|
-
|
|
79
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
80
|
-
|
|
81
|
-
## [1.18.3](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.18.2...@formatjs/intl@1.18.3) (2022-01-14)
|
|
82
|
-
|
|
83
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
84
|
-
|
|
85
|
-
## [1.18.2](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.18.1...@formatjs/intl@1.18.2) (2022-01-09)
|
|
86
|
-
|
|
87
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
88
|
-
|
|
89
|
-
## [1.18.1](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.18.0...@formatjs/intl@1.18.1) (2022-01-03)
|
|
90
|
-
|
|
91
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
92
|
-
|
|
93
|
-
# [1.18.0](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.17.0...@formatjs/intl@1.18.0) (2021-12-20)
|
|
94
|
-
|
|
95
|
-
### Features
|
|
96
|
-
|
|
97
|
-
* **react-intl:** Allow setting a stricter type for locale ([#3284](https://github.com/formatjs/formatjs/issues/3284)) ([c4693d4](https://github.com/formatjs/formatjs/commit/c4693d4c69d3e3036544524720b5a077f3b17786))
|
|
98
|
-
|
|
99
|
-
# [1.17.0](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.16.0...@formatjs/intl@1.17.0) (2021-12-01)
|
|
100
|
-
|
|
101
|
-
### Features
|
|
102
|
-
|
|
103
|
-
* support TS 4.5, fix [#3276](https://github.com/formatjs/formatjs/issues/3276) ([31e0699](https://github.com/formatjs/formatjs/commit/31e069972aa16e14532531b9e597cff73a3f4897))
|
|
104
|
-
|
|
105
|
-
# [1.16.0](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.15.2...@formatjs/intl@1.16.0) (2021-11-23)
|
|
106
|
-
|
|
107
|
-
### Features
|
|
108
|
-
|
|
109
|
-
* **react-intl:** allow setting a stricter type for message IDs ([#3242](https://github.com/formatjs/formatjs/issues/3242)) ([b7cac44](https://github.com/formatjs/formatjs/commit/b7cac443a2ecf791004138699959d46ddc3d4808))
|
|
110
|
-
|
|
111
|
-
## [1.15.2](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.15.1...@formatjs/intl@1.15.2) (2021-11-14)
|
|
112
|
-
|
|
113
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
114
|
-
|
|
115
|
-
## [1.15.1](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.15.0...@formatjs/intl@1.15.1) (2021-11-09)
|
|
116
|
-
|
|
117
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
118
|
-
|
|
119
|
-
# [1.15.0](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.14.3...@formatjs/intl@1.15.0) (2021-10-22)
|
|
120
|
-
|
|
121
|
-
### Features
|
|
122
|
-
|
|
123
|
-
* **@formatjs/intl:** add fallbackOnEmptyString option ([#3201](https://github.com/formatjs/formatjs/issues/3201)) ([5c67c28](https://github.com/formatjs/formatjs/commit/5c67c28b60aa361e076bb098a6d081c3f8a1fbd2))
|
|
124
|
-
* **@formatjs/intl:** upgrade to TS 4.4 ([8037bb2](https://github.com/formatjs/formatjs/commit/8037bb2e8c437d7033a3e0761606d54b916e9ff2))
|
|
125
|
-
|
|
126
|
-
## [1.14.3](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.14.2...@formatjs/intl@1.14.3) (2021-10-17)
|
|
127
|
-
|
|
128
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
129
|
-
|
|
130
|
-
## [1.14.2](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.14.1...@formatjs/intl@1.14.2) (2021-09-27)
|
|
131
|
-
|
|
132
|
-
### Bug Fixes
|
|
133
|
-
|
|
134
|
-
* **@formatjs/intl:** rm dep on @types/node ([245301f](https://github.com/formatjs/formatjs/commit/245301f72c77e487f1a3a9dcf6d88f459e4fa92f))
|
|
135
|
-
|
|
136
|
-
## [1.14.1](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.14.0...@formatjs/intl@1.14.1) (2021-08-21)
|
|
137
|
-
|
|
138
|
-
### Bug Fixes
|
|
139
|
-
|
|
140
|
-
* **@formatjs/intl:** fix missing deps, fix [#3122](https://github.com/formatjs/formatjs/issues/3122) ([117fc7d](https://github.com/formatjs/formatjs/commit/117fc7d3e69ac0f1c77b47b530601607f80b66f8))
|
|
141
|
-
|
|
142
|
-
# [1.14.0](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.13.5...@formatjs/intl@1.14.0) (2021-08-15)
|
|
143
|
-
|
|
144
|
-
### Features
|
|
145
|
-
|
|
146
|
-
* **@formatjs/fast-memoize:** remove unused Cache.has ([#3102](https://github.com/formatjs/formatjs/issues/3102)) ([5e9a425](https://github.com/formatjs/formatjs/commit/5e9a425519fd2b2473172687fccb58a6979ec81e))
|
|
147
|
-
|
|
148
|
-
## [1.13.5](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.13.4...@formatjs/intl@1.13.5) (2021-08-06)
|
|
149
|
-
|
|
150
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
151
|
-
|
|
152
|
-
## [1.13.4](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.13.3...@formatjs/intl@1.13.4) (2021-07-24)
|
|
153
|
-
|
|
154
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
155
|
-
|
|
156
|
-
## [1.13.3](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.13.2...@formatjs/intl@1.13.3) (2021-07-23)
|
|
157
|
-
|
|
158
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
159
|
-
|
|
160
|
-
## [1.13.2](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.13.1...@formatjs/intl@1.13.2) (2021-06-26)
|
|
161
|
-
|
|
162
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
163
|
-
|
|
164
|
-
## [1.13.1](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.13.0...@formatjs/intl@1.13.1) (2021-06-21)
|
|
165
|
-
|
|
166
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
167
|
-
|
|
168
|
-
# [1.13.0](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.12.1...@formatjs/intl@1.13.0) (2021-06-09)
|
|
169
|
-
|
|
170
|
-
### Features
|
|
171
|
-
|
|
172
|
-
* **@formatjs/intl:** add numberingSystem to NUMBER_FORMAT_OPTIONS ([#2953](https://github.com/formatjs/formatjs/issues/2953)) ([508c45d](https://github.com/formatjs/formatjs/commit/508c45d7631d701509c76ffb3da1cb901f77d808)), closes [#2952](https://github.com/formatjs/formatjs/issues/2952)
|
|
173
|
-
|
|
174
|
-
## [1.12.1](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.12.0...@formatjs/intl@1.12.1) (2021-06-05)
|
|
175
|
-
|
|
176
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
177
|
-
|
|
178
|
-
# [1.12.0](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.11.3...@formatjs/intl@1.12.0) (2021-06-05)
|
|
179
|
-
|
|
180
|
-
### Features
|
|
181
|
-
|
|
182
|
-
* **@formatjs/intl:** allow formatList & FormattedList to take in readonly array ([#2950](https://github.com/formatjs/formatjs/issues/2950)) ([1d7896c](https://github.com/formatjs/formatjs/commit/1d7896c6d2aff31e215fae07f16e7509484a8ba6))
|
|
183
|
-
|
|
184
|
-
## [1.11.3](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.11.2...@formatjs/intl@1.11.3) (2021-06-04)
|
|
185
|
-
|
|
186
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
187
|
-
|
|
188
|
-
## [1.11.2](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.11.1...@formatjs/intl@1.11.2) (2021-06-01)
|
|
189
|
-
|
|
190
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
191
|
-
|
|
192
|
-
## [1.11.1](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.11.0...@formatjs/intl@1.11.1) (2021-05-23)
|
|
193
|
-
|
|
194
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
195
|
-
|
|
196
|
-
# [1.11.0](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.10.8...@formatjs/intl@1.11.0) (2021-05-20)
|
|
197
|
-
|
|
198
|
-
### Features
|
|
199
|
-
|
|
200
|
-
* **@formatjs/intl:** add intl.formatListToParts, fix [#2901](https://github.com/formatjs/formatjs/issues/2901) ([eb40bd3](https://github.com/formatjs/formatjs/commit/eb40bd3e9c2e788c4e13e3ea94bcdd786b99c095))
|
|
201
|
-
|
|
202
|
-
## [1.10.8](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.10.7...@formatjs/intl@1.10.8) (2021-05-17)
|
|
203
|
-
|
|
204
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
205
|
-
|
|
206
|
-
## [1.10.7](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.10.6...@formatjs/intl@1.10.7) (2021-05-14)
|
|
207
|
-
|
|
208
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
209
|
-
|
|
210
|
-
## [1.10.6](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.10.5...@formatjs/intl@1.10.6) (2021-05-10)
|
|
211
|
-
|
|
212
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
213
|
-
|
|
214
|
-
## [1.10.5](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.10.4...@formatjs/intl@1.10.5) (2021-05-02)
|
|
215
|
-
|
|
216
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
217
|
-
|
|
218
|
-
## [1.10.4](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.10.3...@formatjs/intl@1.10.4) (2021-05-02)
|
|
219
|
-
|
|
220
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
221
|
-
|
|
222
|
-
## [1.10.3](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.10.2...@formatjs/intl@1.10.3) (2021-04-26)
|
|
223
|
-
|
|
224
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
225
|
-
|
|
226
|
-
## [1.10.2](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.10.1...@formatjs/intl@1.10.2) (2021-04-26)
|
|
227
|
-
|
|
228
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
229
|
-
|
|
230
|
-
## [1.10.1](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.10.0...@formatjs/intl@1.10.1) (2021-04-26)
|
|
231
|
-
|
|
232
|
-
### Bug Fixes
|
|
233
|
-
|
|
234
|
-
* **@formatjs/intl:** fix fast-memoize import ([2738741](https://github.com/formatjs/formatjs/commit/2738741fb9b0d442fe2f1ad0b335c2436d8bc579))
|
|
235
|
-
* **@formatjs/intl:** use fast-memoize esm fork ([d1a4509](https://github.com/formatjs/formatjs/commit/d1a45094a130107e019ce12e5038baf2febf397f))
|
|
236
|
-
|
|
237
|
-
# [1.10.0](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.9.8...@formatjs/intl@1.10.0) (2021-04-21)
|
|
238
|
-
|
|
239
|
-
### Bug Fixes
|
|
240
|
-
|
|
241
|
-
* **@formatjs/intl:** make IntlShape generic default to string, fix [#2821](https://github.com/formatjs/formatjs/issues/2821) ([08d48f2](https://github.com/formatjs/formatjs/commit/08d48f297529ef276f8991bc40c8e864dbd18c5b))
|
|
242
|
-
|
|
243
|
-
### Features
|
|
244
|
-
|
|
245
|
-
* **@formatjs/intl:** rename OptionalIntlConfig to IntlConfig and IntlConfig to ResolvedIntlConfig ([4a3dd6e](https://github.com/formatjs/formatjs/commit/4a3dd6ef7457b8de1ffea0b61624b91250c717d5))
|
|
246
|
-
|
|
247
|
-
## [1.9.8](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.9.7...@formatjs/intl@1.9.8) (2021-04-12)
|
|
248
|
-
|
|
249
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
250
|
-
|
|
251
|
-
## [1.9.7](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.9.6...@formatjs/intl@1.9.7) (2021-04-04)
|
|
252
|
-
|
|
253
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
254
|
-
|
|
255
|
-
## [1.9.6](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.9.5...@formatjs/intl@1.9.6) (2021-04-03)
|
|
256
|
-
|
|
257
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
258
|
-
|
|
259
|
-
## [1.9.5](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.9.4...@formatjs/intl@1.9.5) (2021-03-30)
|
|
260
|
-
|
|
261
|
-
### Bug Fixes
|
|
262
|
-
|
|
263
|
-
* **@formatjs/intl:** add more details to missing ID message ([506779b](https://github.com/formatjs/formatjs/commit/506779b951264d330aca7d20a470c14662b0887f)), closes [#1059](https://github.com/formatjs/formatjs/issues/1059)
|
|
264
|
-
|
|
265
|
-
## [1.9.4](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.9.3...@formatjs/intl@1.9.4) (2021-03-30)
|
|
266
|
-
|
|
267
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
268
|
-
|
|
269
|
-
## [1.9.3](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.9.2...@formatjs/intl@1.9.3) (2021-03-28)
|
|
270
|
-
|
|
271
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
272
|
-
|
|
273
|
-
## [1.9.2](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.9.1...@formatjs/intl@1.9.2) (2021-03-28)
|
|
274
|
-
|
|
275
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
276
|
-
|
|
277
|
-
## [1.9.1](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.9.0...@formatjs/intl@1.9.1) (2021-03-27)
|
|
278
|
-
|
|
279
|
-
### Bug Fixes
|
|
280
|
-
|
|
281
|
-
* **@formatjs/intl:** fix missing dep ([34a86ba](https://github.com/formatjs/formatjs/commit/34a86baa9913408fd0e549bbf720bb9161d637c6))
|
|
282
|
-
|
|
283
|
-
# [1.9.0](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.8.5...@formatjs/intl@1.9.0) (2021-03-27)
|
|
284
|
-
|
|
285
|
-
### Features
|
|
286
|
-
|
|
287
|
-
* **@formatjs/intl:** switch parser to @formatjs/icu-messageformat-parser (6x faster) ([4362bc5](https://github.com/formatjs/formatjs/commit/4362bc5582876f37fdaffe97bc9d8fbb73d83c7a))
|
|
288
|
-
|
|
289
|
-
## [1.8.5](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.8.4...@formatjs/intl@1.8.5) (2021-03-26)
|
|
290
|
-
|
|
291
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
292
|
-
|
|
293
|
-
## [1.8.4](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.8.3...@formatjs/intl@1.8.4) (2021-03-17)
|
|
294
|
-
|
|
295
|
-
### Bug Fixes
|
|
296
|
-
|
|
297
|
-
* **@formatjs/intl:** trim down dependencies thanks to TS4.2 ([31b7809](https://github.com/formatjs/formatjs/commit/31b7809e5359a3fc7fb76e9655dadbc5c9c23384))
|
|
298
|
-
|
|
299
|
-
## [1.8.3](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.8.2...@formatjs/intl@1.8.3) (2021-03-15)
|
|
300
|
-
|
|
301
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
302
|
-
|
|
303
|
-
## [1.8.2](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.8.1...@formatjs/intl@1.8.2) (2021-03-01)
|
|
304
|
-
|
|
305
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
306
|
-
|
|
307
|
-
## [1.8.1](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.8.0...@formatjs/intl@1.8.1) (2021-02-25)
|
|
308
|
-
|
|
309
|
-
### Bug Fixes
|
|
310
|
-
|
|
311
|
-
* bump tslib version dep ([37577d2](https://github.com/formatjs/formatjs/commit/37577d22bf28d23de1d8013ba0047cf221ad8840)), closes [#2645](https://github.com/formatjs/formatjs/issues/2645)
|
|
312
|
-
|
|
313
|
-
# [1.8.0](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.7.1...@formatjs/intl@1.8.0) (2021-02-25)
|
|
314
|
-
|
|
315
|
-
### Features
|
|
316
|
-
|
|
317
|
-
* **@formatjs/intl:** support TS4.2 ([ba56b9a](https://github.com/formatjs/formatjs/commit/ba56b9a14de58ea17e19ab6033bcb5f8c9c03bae))
|
|
318
|
-
|
|
319
|
-
## [1.7.1](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.7.0...@formatjs/intl@1.7.1) (2021-02-22)
|
|
320
|
-
|
|
321
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
322
|
-
|
|
323
|
-
# [1.7.0](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.6.8...@formatjs/intl@1.7.0) (2021-02-21)
|
|
324
|
-
|
|
325
|
-
### Bug Fixes
|
|
326
|
-
|
|
327
|
-
* **@formatjs/intl:** fix warning logic for AST, fix [#2610](https://github.com/formatjs/formatjs/issues/2610) ([04086bf](https://github.com/formatjs/formatjs/commit/04086bf939de06b0feff15d9bb54b2ae9aa3bc36))
|
|
328
|
-
|
|
329
|
-
### Features
|
|
330
|
-
|
|
331
|
-
* **@formatjs/intl:** rm __addMessages private method ([4337cc5](https://github.com/formatjs/formatjs/commit/4337cc5c5169793dbc22c8a4d9f17bee1527490c))
|
|
332
|
-
|
|
333
|
-
## [1.6.8](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.6.7...@formatjs/intl@1.6.8) (2021-02-13)
|
|
334
|
-
|
|
335
|
-
### Bug Fixes
|
|
336
|
-
|
|
337
|
-
* **@formatjs/intl:** support isolatedModules ([#2602](https://github.com/formatjs/formatjs/issues/2602)) ([b7284f4](https://github.com/formatjs/formatjs/commit/b7284f428db26e2345775f3dc652d1119ef91670))
|
|
338
|
-
|
|
339
|
-
## [1.6.7](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.6.6...@formatjs/intl@1.6.7) (2021-02-09)
|
|
340
|
-
|
|
341
|
-
### Bug Fixes
|
|
342
|
-
|
|
343
|
-
* **@formatjs/intl:** fix __addMessages issues with references ([f9266f9](https://github.com/formatjs/formatjs/commit/f9266f9af9f092377f6be975d938ec0b55b851d7))
|
|
344
|
-
|
|
345
|
-
## [1.6.6](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.6.4...@formatjs/intl@1.6.6) (2021-02-02)
|
|
346
|
-
|
|
347
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
348
|
-
|
|
349
|
-
## [1.6.5](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.6.4...@formatjs/intl@1.6.5) (2021-01-29)
|
|
350
|
-
|
|
351
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
352
|
-
|
|
353
|
-
## [1.6.4](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.6.3...@formatjs/intl@1.6.4) (2021-01-27)
|
|
354
|
-
|
|
355
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
356
|
-
|
|
357
|
-
## [1.6.3](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.6.2...@formatjs/intl@1.6.3) (2021-01-26)
|
|
358
|
-
|
|
359
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
360
|
-
|
|
361
|
-
## [1.6.2](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.6.1...@formatjs/intl@1.6.2) (2021-01-25)
|
|
362
|
-
|
|
363
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
364
|
-
|
|
365
|
-
## [1.6.1](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.6.0...@formatjs/intl@1.6.1) (2021-01-13)
|
|
366
|
-
|
|
367
|
-
### Bug Fixes
|
|
368
|
-
|
|
369
|
-
* **@formatjs/intl:** pass opts to getMessageFormat as well ([7f4fa56](https://github.com/formatjs/formatjs/commit/7f4fa564c22ceae5b735e01a5d78b72106128850))
|
|
370
|
-
|
|
371
|
-
# [1.6.0](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.5.1...@formatjs/intl@1.6.0) (2021-01-12)
|
|
372
|
-
|
|
373
|
-
### Features
|
|
374
|
-
|
|
375
|
-
* **@formatjs/intl:** add private method __addMessages to add extra messages ([82471d1](https://github.com/formatjs/formatjs/commit/82471d1aaeeecbb96cf6186c9ae66d25a884473d))
|
|
376
|
-
|
|
377
|
-
## [1.5.1](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.5.0...@formatjs/intl@1.5.1) (2021-01-08)
|
|
378
|
-
|
|
379
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
380
|
-
|
|
381
|
-
# [1.5.0](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.4.16...@formatjs/intl@1.5.0) (2021-01-06)
|
|
382
|
-
|
|
383
|
-
### Features
|
|
384
|
-
|
|
385
|
-
* **@formatjs/intl:** allow options to be pass into intl.formatMessage (e.g ignoreTag) ([a51bd76](https://github.com/formatjs/formatjs/commit/a51bd7636d53fb9d7165245765169ecc6b445af7))
|
|
386
|
-
|
|
387
|
-
## [1.4.16](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.4.15...@formatjs/intl@1.4.16) (2021-01-05)
|
|
388
|
-
|
|
389
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
390
|
-
|
|
391
|
-
## [1.4.15](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.4.14...@formatjs/intl@1.4.15) (2021-01-02)
|
|
392
|
-
|
|
393
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
394
|
-
|
|
395
|
-
## [1.4.14](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.4.13...@formatjs/intl@1.4.14) (2021-01-01)
|
|
396
|
-
|
|
397
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
398
|
-
|
|
399
|
-
## [1.4.13](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.4.12...@formatjs/intl@1.4.13) (2020-12-18)
|
|
400
|
-
|
|
401
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
402
|
-
|
|
403
|
-
## [1.4.12](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.4.11...@formatjs/intl@1.4.12) (2020-12-17)
|
|
404
|
-
|
|
405
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
406
|
-
|
|
407
|
-
## [1.4.11](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.4.10...@formatjs/intl@1.4.11) (2020-12-16)
|
|
408
|
-
|
|
409
|
-
### Bug Fixes
|
|
410
|
-
|
|
411
|
-
* **@formatjs/intl:** don't set default hour/minute when ([ccd7c90](https://github.com/formatjs/formatjs/commit/ccd7c90cf0456f884b2af1e6655163abdcb6dd77)), closes [#2410](https://github.com/formatjs/formatjs/issues/2410)
|
|
412
|
-
|
|
413
|
-
## [1.4.10](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.4.9...@formatjs/intl@1.4.10) (2020-11-27)
|
|
414
|
-
|
|
415
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
416
|
-
|
|
417
|
-
## [1.4.9](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.4.8...@formatjs/intl@1.4.9) (2020-11-26)
|
|
418
|
-
|
|
419
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
420
|
-
|
|
421
|
-
## [1.4.8](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.4.7...@formatjs/intl@1.4.8) (2020-11-21)
|
|
422
|
-
|
|
423
|
-
### Bug Fixes
|
|
424
|
-
|
|
425
|
-
* **@formatjs/intl:** only warn about non-AST messages during initialization, fix [#2258](https://github.com/formatjs/formatjs/issues/2258) ([36e40f4](https://github.com/formatjs/formatjs/commit/36e40f47de0b34424adba686f76dab6e329b40bf))
|
|
426
|
-
|
|
427
|
-
## [1.4.7](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.4.6...@formatjs/intl@1.4.7) (2020-11-20)
|
|
428
|
-
|
|
429
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
430
|
-
|
|
431
|
-
## [1.4.6](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.4.5...@formatjs/intl@1.4.6) (2020-11-19)
|
|
432
|
-
|
|
433
|
-
### Bug Fixes
|
|
434
|
-
|
|
435
|
-
* **@formatjs/intl:** fix type decl for createIntl, fix [#2320](https://github.com/formatjs/formatjs/issues/2320) ([f129d60](https://github.com/formatjs/formatjs/commit/f129d60241d304ae34c12c3c335160c45d4deb5b))
|
|
436
|
-
|
|
437
|
-
## [1.4.5](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.4.4...@formatjs/intl@1.4.5) (2020-11-12)
|
|
438
|
-
|
|
439
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
440
|
-
|
|
441
|
-
## [1.4.4](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.4.3...@formatjs/intl@1.4.4) (2020-11-09)
|
|
442
|
-
|
|
443
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
444
|
-
|
|
445
|
-
## [1.4.3](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.4.2...@formatjs/intl@1.4.3) (2020-11-09)
|
|
446
|
-
|
|
447
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
448
|
-
|
|
449
|
-
## [1.4.2](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.4.1...@formatjs/intl@1.4.2) (2020-11-05)
|
|
450
|
-
|
|
451
|
-
### Bug Fixes
|
|
452
|
-
|
|
453
|
-
* **@formatjs/intl:** fix default config for formatDateTimeRange ([60087d8](https://github.com/formatjs/formatjs/commit/60087d8df70d70b3c11dd733bb1961d389b0e211))
|
|
454
|
-
|
|
455
|
-
## [1.4.1](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.4.0...@formatjs/intl@1.4.1) (2020-11-05)
|
|
456
|
-
|
|
457
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
458
|
-
|
|
459
|
-
# [1.4.0](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.3.9...@formatjs/intl@1.4.0) (2020-11-05)
|
|
460
|
-
|
|
461
|
-
### Bug Fixes
|
|
462
|
-
|
|
463
|
-
* **@formatjs/intl:** lock down monorepo dep version ([ecfc07e](https://github.com/formatjs/formatjs/commit/ecfc07e2aa05892ac2d8a4b8fd69c039802cecf0))
|
|
464
|
-
|
|
465
|
-
### Features
|
|
466
|
-
|
|
467
|
-
* **@formatjs/intl:** add formatDateTimeRange per stage-3 spec ([b08ee67](https://github.com/formatjs/formatjs/commit/b08ee671dbaa3917cd91a368972d03e3c34cb184))
|
|
468
|
-
|
|
469
|
-
## [1.3.9](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.3.8...@formatjs/intl@1.3.9) (2020-11-04)
|
|
470
|
-
|
|
471
|
-
### Bug Fixes
|
|
472
|
-
|
|
473
|
-
* **react-intl:** make defaultRichTextElements warning less disruptive ([#2282](https://github.com/formatjs/formatjs/issues/2282)) ([d6cb50a](https://github.com/formatjs/formatjs/commit/d6cb50ac94c029c9386e7342ab877cd26c23c9f6))
|
|
474
|
-
|
|
475
|
-
## [1.3.8](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.3.7...@formatjs/intl@1.3.8) (2020-10-26)
|
|
476
|
-
|
|
477
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
478
|
-
|
|
479
|
-
## [1.3.7](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.3.6...@formatjs/intl@1.3.7) (2020-10-25)
|
|
480
|
-
|
|
481
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
482
|
-
|
|
483
|
-
## [1.3.6](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.3.5...@formatjs/intl@1.3.6) (2020-10-10)
|
|
484
|
-
|
|
485
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
486
|
-
|
|
487
|
-
## [1.3.5](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.3.4...@formatjs/intl@1.3.5) (2020-10-08)
|
|
488
|
-
|
|
489
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
490
|
-
|
|
491
|
-
## [1.3.4](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.3.3...@formatjs/intl@1.3.4) (2020-10-01)
|
|
492
|
-
|
|
493
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
494
|
-
|
|
495
|
-
## [1.3.3](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.3.2...@formatjs/intl@1.3.3) (2020-09-25)
|
|
496
|
-
|
|
497
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
498
|
-
|
|
499
|
-
## [1.3.2](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.3.1...@formatjs/intl@1.3.2) (2020-09-18)
|
|
500
|
-
|
|
501
|
-
### Bug Fixes
|
|
502
|
-
|
|
503
|
-
* **@formatjs/intl-displaynames:** follow ES2021 spec and make type option required ([#2103](https://github.com/formatjs/formatjs/issues/2103)) ([3e00688](https://github.com/formatjs/formatjs/commit/3e00688f955587ac155c9d6c2fa519b07df17a70))
|
|
504
|
-
|
|
505
|
-
## [1.3.1](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.3.0...@formatjs/intl@1.3.1) (2020-09-09)
|
|
506
|
-
|
|
507
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
508
|
-
|
|
509
|
-
# [1.3.0](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.2.2...@formatjs/intl@1.3.0) (2020-08-30)
|
|
510
|
-
|
|
511
|
-
### Features
|
|
512
|
-
|
|
513
|
-
* **@formatjs/intl:** TS to 4.0 ([a334a8f](https://github.com/formatjs/formatjs/commit/a334a8fe1a2c6c93fe21aabbf204cd3c9c9eee4a))
|
|
514
|
-
|
|
515
|
-
## [1.2.2](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.2.1...@formatjs/intl@1.2.2) (2020-08-28)
|
|
516
|
-
|
|
517
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
518
|
-
|
|
519
|
-
## [1.2.1](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.2.0...@formatjs/intl@1.2.1) (2020-08-25)
|
|
520
|
-
|
|
521
|
-
**Note:** Version bump only for package @formatjs/intl
|
|
522
|
-
|
|
523
|
-
# [1.2.0](https://github.com/formatjs/formatjs/compare/@formatjs/intl@1.1.0...@formatjs/intl@1.2.0) (2020-08-23)
|
|
524
|
-
|
|
525
|
-
### Features
|
|
526
|
-
|
|
527
|
-
* **@formatjs/intl:** expose createIntl, fix [#2015](https://github.com/formatjs/formatjs/issues/2015) ([a15cc1b](https://github.com/formatjs/formatjs/commit/a15cc1bb371cfe4990031f8af8be217493ff2b99))
|
|
528
|
-
|
|
529
|
-
# 1.1.0 (2020-08-22)
|
|
530
|
-
|
|
531
|
-
### Bug Fixes
|
|
532
|
-
|
|
533
|
-
* **@formatjs/intl:** force version bump ([b213686](https://github.com/formatjs/formatjs/commit/b2136862805f7b8ffe06281fe68f8a2e45c5e12c))
|
|
534
|
-
|
|
535
|
-
### Features
|
|
536
|
-
|
|
537
|
-
* **@formatjs/intl:** split out imperative API to a new package ([9292b1f](https://github.com/formatjs/formatjs/commit/9292b1f3cec6ca96f2c0f6a1da0456e7668d3011))
|
package/index.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import {MessageDescriptor} from './src/types'
|
|
2
|
-
export * from './src/types'
|
|
3
|
-
|
|
4
|
-
export function defineMessages<
|
|
5
|
-
K extends keyof any,
|
|
6
|
-
T = MessageDescriptor,
|
|
7
|
-
U extends Record<K, T> = Record<K, T>
|
|
8
|
-
>(msgs: U): U {
|
|
9
|
-
return msgs
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export function defineMessage<T>(msg: T): T {
|
|
13
|
-
return msg
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export {
|
|
17
|
-
createIntlCache,
|
|
18
|
-
filterProps,
|
|
19
|
-
DEFAULT_INTL_CONFIG,
|
|
20
|
-
createFormatters,
|
|
21
|
-
getNamedFormat,
|
|
22
|
-
} from './src/utils'
|
|
23
|
-
export * from './src/error'
|
|
24
|
-
export {formatMessage} from './src/message'
|
|
25
|
-
export type {FormatMessageFn} from './src/message'
|
|
26
|
-
export {
|
|
27
|
-
formatDate,
|
|
28
|
-
formatDateToParts,
|
|
29
|
-
formatTime,
|
|
30
|
-
formatTimeToParts,
|
|
31
|
-
} from './src/dateTime'
|
|
32
|
-
export {formatDisplayName} from './src/displayName'
|
|
33
|
-
export {formatList} from './src/list'
|
|
34
|
-
export {formatPlural} from './src/plural'
|
|
35
|
-
export {formatRelativeTime} from './src/relativeTime'
|
|
36
|
-
export {formatNumber, formatNumberToParts} from './src/number'
|
|
37
|
-
export {createIntl} from './src/create-intl'
|
|
38
|
-
export type {CreateIntlFn} from './src/create-intl'
|