Skip to content

Commit

Permalink
[GENERAL] [CHANGED] - Upgrade pretty-format to 29.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dprevost-LMI committed Jul 26, 2024
1 parent 95475ea commit 17a8774
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 52 deletions.
49 changes: 0 additions & 49 deletions flow-typed/npm/pretty-format_v26.x.x.js

This file was deleted.

2 changes: 1 addition & 1 deletion packages/react-native/Libraries/Utilities/HMRClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const HMRClient: HMRClientNativeInterface = {
data: data.map(item =>
typeof item === 'string'
? item
: prettyFormat(item, {
: prettyFormat.format(item, {
escapeString: true,
highlight: true,
maxDepth: 3,
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
"metro-source-map": "^0.80.3",
"mkdirp": "^0.5.1",
"nullthrows": "^1.1.1",
"pretty-format": "^26.5.2",
"pretty-format": "^29.7.0",
"promise": "^8.3.0",
"react-devtools-core": "^5.3.1",
"react-refresh": "^0.14.0",
Expand Down
11 changes: 10 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7389,7 +7389,7 @@ pretty-format@^24.9.0:
ansi-styles "^3.2.0"
react-is "^16.8.4"

pretty-format@^26.5.2, pretty-format@^26.6.2:
pretty-format@^26.6.2:
version "26.6.2"
resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-26.6.2.tgz#e35c2705f14cb7fe2fe94fa078345b444120fc93"
integrity sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==
Expand Down Expand Up @@ -7417,6 +7417,15 @@ pretty-format@^29.6.3:
ansi-styles "^5.0.0"
react-is "^18.0.0"

pretty-format@^29.7.0:
version "29.7.0"
resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.7.0.tgz#ca42c758310f365bfa71a0bda0a807160b776812"
integrity sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==
dependencies:
"@jest/schemas" "^29.6.3"
ansi-styles "^5.0.0"
react-is "^18.0.0"

prettyjson@^1.2.1:
version "1.2.5"
resolved "https://registry.yarnpkg.com/prettyjson/-/prettyjson-1.2.5.tgz#ef3cfffcc70505c032abc59785884b4027031835"
Expand Down

0 comments on commit 17a8774

Please sign in to comment.