react-intl 5.24.5 → 5.24.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-intl",
3
- "version": "5.24.5",
3
+ "version": "5.24.6",
4
4
  "description": "Internationalize React apps. This library provides React components and an API to format dates, numbers, and strings, including pluralization and handling translations.",
5
5
  "keywords": [
6
6
  "intl",
@@ -130,7 +130,7 @@
130
130
  "dependencies": {
131
131
  "@formatjs/ecma402-abstract": "1.11.3",
132
132
  "@formatjs/icu-messageformat-parser": "2.0.18",
133
- "@formatjs/intl": "1.18.5",
133
+ "@formatjs/intl": "2.0.0",
134
134
  "@formatjs/intl-displaynames": "5.4.2",
135
135
  "@formatjs/intl-listformat": "6.5.2",
136
136
  "@types/hoist-non-react-statics": "^3.3.1",
@@ -2258,11 +2258,11 @@ var ReactIntl = (function() {
2258
2258
  }(IntlError);
2259
2259
 
2260
2260
  // bazel-out/darwin-fastbuild/bin/packages/intl/lib/src/utils.js
2261
- function filterProps(props, whitelist, defaults) {
2261
+ function filterProps(props, allowlist, defaults) {
2262
2262
  if (defaults === void 0) {
2263
2263
  defaults = {};
2264
2264
  }
2265
- return whitelist.reduce(function(filtered, name) {
2265
+ return allowlist.reduce(function(filtered, name) {
2266
2266
  if (name in props) {
2267
2267
  filtered[name] = props[name];
2268
2268
  } else if (name in defaults) {