From f13c8a741798890bca79e0770874d738ec2d06fe Mon Sep 17 00:00:00 2001 From: Alex Hunt Date: Tue, 1 Apr 2025 01:01:05 -0700 Subject: [PATCH] Update hermes-parser and related packages in fbsource to 0.27.0 (#50241) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/50241 Bump hermes-parser and related packages to [0.27.0](https://github.com/facebook/hermes/blob/main/tools/hermes-parser/js/CHANGELOG.md). Changelog: [Internal] Reviewed By: robhogan Differential Revision: D71805075 fbshipit-source-id: 685194c12ac037f74cc4fd54eb0d777a74507727 --- package.json | 10 +- .../eslint-plugin-react-native/package.json | 4 +- packages/eslint-plugin-specs/package.json | 4 +- .../react-native-babel-preset/package.json | 2 +- .../package.json | 2 +- packages/react-native-codegen/package.json | 4 +- .../__snapshots__/public-api-test.js.snap | 170 +++++++++--------- packages/react-native/package.json | 2 +- yarn.lock | 75 +++++--- 9 files changed, 149 insertions(+), 124 deletions(-) diff --git a/package.json b/package.json index a9d4d8943c3..df64a89e800 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "@typescript-eslint/parser": "^7.1.1", "ansi-styles": "^4.2.1", "babel-plugin-minify-dead-code-elimination": "^0.5.2", - "babel-plugin-syntax-hermes-parser": "0.25.1", + "babel-plugin-syntax-hermes-parser": "0.27.0", "babel-plugin-transform-define": "^2.1.4", "babel-plugin-transform-flow-enums": "^0.0.2", "chalk": "^4.0.0", @@ -79,11 +79,11 @@ "eslint-plugin-react-native": "^4.0.0", "eslint-plugin-redundant-undefined": "^0.4.0", "eslint-plugin-relay": "^1.8.3", - "flow-api-translator": "0.25.1", + "flow-api-translator": "0.27.0", "flow-bin": "^0.266.1", "glob": "^7.1.1", - "hermes-eslint": "0.25.1", - "hermes-transform": "0.25.1", + "hermes-eslint": "0.27.0", + "hermes-transform": "0.27.0", "inquirer": "^7.1.0", "jest": "^29.7.0", "jest-config": "^29.7.0", @@ -97,7 +97,7 @@ "node-fetch": "^2.2.0", "nullthrows": "^1.1.1", "prettier": "2.8.8", - "prettier-plugin-hermes-parser": "0.25.1", + "prettier-plugin-hermes-parser": "0.27.0", "react": "19.0.0", "react-test-renderer": "19.0.0", "rimraf": "^3.0.2", diff --git a/packages/eslint-plugin-react-native/package.json b/packages/eslint-plugin-react-native/package.json index ec5162c63d7..faa3c2c8e11 100644 --- a/packages/eslint-plugin-react-native/package.json +++ b/packages/eslint-plugin-react-native/package.json @@ -18,8 +18,8 @@ "bugs": "https://github.com/facebook/react-native/issues", "main": "index.js", "devDependencies": { - "babel-plugin-syntax-hermes-parser": "0.25.1", - "hermes-eslint": "0.25.1" + "babel-plugin-syntax-hermes-parser": "0.27.0", + "hermes-eslint": "0.27.0" }, "engines": { "node": ">=18" diff --git a/packages/eslint-plugin-specs/package.json b/packages/eslint-plugin-specs/package.json index 780fe734e68..6aa8328de58 100644 --- a/packages/eslint-plugin-specs/package.json +++ b/packages/eslint-plugin-specs/package.json @@ -32,8 +32,8 @@ "source-map-support": "0.5.0" }, "devDependencies": { - "babel-plugin-syntax-hermes-parser": "0.25.1", - "hermes-eslint": "0.25.1" + "babel-plugin-syntax-hermes-parser": "0.27.0", + "hermes-eslint": "0.27.0" }, "engines": { "node": ">=18" diff --git a/packages/react-native-babel-preset/package.json b/packages/react-native-babel-preset/package.json index 01049efe44a..7e3a1641558 100644 --- a/packages/react-native-babel-preset/package.json +++ b/packages/react-native-babel-preset/package.json @@ -56,7 +56,7 @@ "@babel/plugin-transform-unicode-regex": "^7.24.7", "@babel/template": "^7.25.0", "@react-native/babel-plugin-codegen": "0.80.0-main", - "babel-plugin-syntax-hermes-parser": "0.25.1", + "babel-plugin-syntax-hermes-parser": "0.27.0", "babel-plugin-transform-flow-enums": "^0.0.2", "react-refresh": "^0.14.0" }, diff --git a/packages/react-native-babel-transformer/package.json b/packages/react-native-babel-transformer/package.json index 22f3dc03fcf..0c4845f198d 100644 --- a/packages/react-native-babel-transformer/package.json +++ b/packages/react-native-babel-transformer/package.json @@ -17,7 +17,7 @@ "dependencies": { "@babel/core": "^7.25.2", "@react-native/babel-preset": "0.80.0-main", - "hermes-parser": "0.25.1", + "hermes-parser": "0.27.0", "nullthrows": "^1.1.1" }, "peerDependencies": { diff --git a/packages/react-native-codegen/package.json b/packages/react-native-codegen/package.json index 5029e1d60f0..7239d4f7345 100644 --- a/packages/react-native-codegen/package.json +++ b/packages/react-native-codegen/package.json @@ -30,7 +30,7 @@ ], "dependencies": { "glob": "^7.1.1", - "hermes-parser": "0.25.1", + "hermes-parser": "0.27.0", "invariant": "^2.2.4", "nullthrows": "^1.1.1", "yargs": "^17.6.2" @@ -44,7 +44,7 @@ "@babel/plugin-transform-optional-chaining": "^7.24.8", "@babel/preset-env": "^7.25.3", "chalk": "^4.0.0", - "hermes-estree": "0.25.1", + "hermes-estree": "0.27.0", "micromatch": "^4.0.4", "prettier": "2.8.8", "rimraf": "^3.0.2" diff --git a/packages/react-native/Libraries/__tests__/__snapshots__/public-api-test.js.snap b/packages/react-native/Libraries/__tests__/__snapshots__/public-api-test.js.snap index 5587b2b393d..f916debdb24 100644 --- a/packages/react-native/Libraries/__tests__/__snapshots__/public-api-test.js.snap +++ b/packages/react-native/Libraries/__tests__/__snapshots__/public-api-test.js.snap @@ -157,7 +157,7 @@ declare export default { get SectionList(): AnimatedSectionList, get Text(): AnimatedText, get View(): AnimatedView, - ...Animated, + ...typeof Animated, }; " `; @@ -185,25 +185,25 @@ export type { default as AnimatedDivision } from \\"./nodes/AnimatedDivision\\"; export type { default as AnimatedModulo } from \\"./nodes/AnimatedModulo\\"; export type { default as AnimatedMultiplication } from \\"./nodes/AnimatedMultiplication\\"; export type { default as AnimatedSubtraction } from \\"./nodes/AnimatedSubtraction\\"; -declare export const add: $FlowFixMe; -declare export const attachNativeEvent: $FlowFixMe; -declare export const createAnimatedComponent: $FlowFixMe; -declare export const decay: $FlowFixMe; -declare export const delay: $FlowFixMe; -declare export const diffClamp: $FlowFixMe; -declare export const divide: $FlowFixMe; -declare export const event: $FlowFixMe; -declare export const forkEvent: $FlowFixMe; -declare export const loop: $FlowFixMe; -declare export const modulo: $FlowFixMe; -declare export const multiply: $FlowFixMe; -declare export const parallel: $FlowFixMe; -declare export const sequence: $FlowFixMe; -declare export const spring: $FlowFixMe; -declare export const stagger: $FlowFixMe; -declare export const subtract: $FlowFixMe; -declare export const timing: $FlowFixMe; -declare export const unforkEvent: $FlowFixMe; +declare export const add: typeof AnimatedImplementation.add; +declare export const attachNativeEvent: typeof AnimatedImplementation.attachNativeEvent; +declare export const createAnimatedComponent: typeof AnimatedImplementation.createAnimatedComponent; +declare export const decay: typeof AnimatedImplementation.decay; +declare export const delay: typeof AnimatedImplementation.delay; +declare export const diffClamp: typeof AnimatedImplementation.diffClamp; +declare export const divide: typeof AnimatedImplementation.divide; +declare export const event: typeof AnimatedImplementation.event; +declare export const forkEvent: typeof AnimatedImplementation.forkEvent; +declare export const loop: typeof AnimatedImplementation.loop; +declare export const modulo: typeof AnimatedImplementation.modulo; +declare export const multiply: typeof AnimatedImplementation.multiply; +declare export const parallel: typeof AnimatedImplementation.parallel; +declare export const sequence: typeof AnimatedImplementation.sequence; +declare export const spring: typeof AnimatedImplementation.spring; +declare export const stagger: typeof AnimatedImplementation.stagger; +declare export const subtract: typeof AnimatedImplementation.subtract; +declare export const timing: typeof AnimatedImplementation.timing; +declare export const unforkEvent: typeof AnimatedImplementation.unforkEvent; " `; @@ -296,31 +296,31 @@ type AnimatedNumeric = | AnimatedValue; export type { AnimatedNumeric as Numeric }; declare export default { - Value: AnimatedValue, - ValueXY: AnimatedValueXY, - Color: AnimatedColor, - Interpolation: AnimatedInterpolation, - Node: AnimatedNode, - decay: decay, - timing: timing, - spring: spring, - add: add, - subtract: subtract, - divide: divide, - multiply: multiply, - modulo: modulo, - diffClamp: diffClamp, - delay: delay, - sequence: sequence, - parallel: parallel, - stagger: stagger, - loop: loop, - event: event, - createAnimatedComponent: createAnimatedComponent, - attachNativeEvent: attachNativeEvent, - forkEvent: forkEvent, - unforkEvent: unforkEvent, - Event: AnimatedEvent, + Value: typeof AnimatedValue, + ValueXY: typeof AnimatedValueXY, + Color: typeof AnimatedColor, + Interpolation: typeof AnimatedInterpolation, + Node: typeof AnimatedNode, + decay: typeof decay, + timing: typeof timing, + spring: typeof spring, + add: typeof add, + subtract: typeof subtract, + divide: typeof divide, + multiply: typeof multiply, + modulo: typeof modulo, + diffClamp: typeof diffClamp, + delay: typeof delay, + sequence: typeof sequence, + parallel: typeof parallel, + stagger: typeof stagger, + loop: typeof loop, + event: typeof event, + createAnimatedComponent: typeof createAnimatedComponent, + attachNativeEvent: typeof attachNativeEvent, + forkEvent: typeof forkEvent, + unforkEvent: typeof unforkEvent, + Event: typeof AnimatedEvent, }; " `; @@ -3389,17 +3389,17 @@ declare function registerInput(textField: HostInstance): void; declare function unregisterInput(textField: HostInstance): void; declare function isTextInput(textField: HostInstance): boolean; declare const TextInputState: { - currentlyFocusedInput: currentlyFocusedInput, - focusInput: focusInput, - blurInput: blurInput, - currentlyFocusedField: currentlyFocusedField, - focusField: focusField, - blurField: blurField, - focusTextInput: focusTextInput, - blurTextInput: blurTextInput, - registerInput: registerInput, - unregisterInput: unregisterInput, - isTextInput: isTextInput, + currentlyFocusedInput: typeof currentlyFocusedInput, + focusInput: typeof focusInput, + blurInput: typeof blurInput, + currentlyFocusedField: typeof currentlyFocusedField, + focusField: typeof focusField, + blurField: typeof blurField, + focusTextInput: typeof focusTextInput, + blurTextInput: typeof blurTextInput, + registerInput: typeof registerInput, + unregisterInput: typeof unregisterInput, + isTextInput: typeof isTextInput, }; declare export default typeof TextInputState; " @@ -3449,7 +3449,7 @@ declare const addPoolingTo: ( ... }; declare const PooledClass: { - addPoolingTo: addPoolingTo, + addPoolingTo: typeof addPoolingTo, oneArgumentPooler: Pooler, twoArgumentPooler: Pooler, threeArgumentPooler: Pooler, @@ -3523,7 +3523,7 @@ declare const TouchableMixinImpl: { withoutDefaultFocusAndBlur: { ... }, }; declare const TouchableImpl: { - Mixin: TouchableMixinImpl, + Mixin: typeof TouchableMixinImpl, renderDebugView: ({ color: ColorValue, hitSlop?: EdgeInsetsProp, @@ -3777,11 +3777,17 @@ exports[`public API should not change unintentionally Libraries/Components/View/ collapsable: true, collapsableChildren: true, needsOffscreenAlphaCompositing: true, - style: ReactNativeStyleAttributes, + style: typeof ReactNativeStyleAttributes, role: true, }; -declare const RCTView: { ...UIView, removeClippedSubviews: true }; -declare const ReactNativeViewAttributes: { UIView: UIView, RCTView: RCTView }; +declare const RCTView: { + ...typeof UIView, + removeClippedSubviews: true, +}; +declare const ReactNativeViewAttributes: { + UIView: typeof UIView, + RCTView: typeof RCTView, +}; declare export default typeof ReactNativeViewAttributes; " `; @@ -4238,11 +4244,11 @@ declare function unstable_setExceptionDecorator( declare function handleException(e: mixed, isFatal: boolean): void; declare function installConsoleErrorReporter(): void; declare const ExceptionsManager: { - decoratedExtraDataKey: decoratedExtraDataKey, - handleException: handleException, - installConsoleErrorReporter: installConsoleErrorReporter, - SyntheticError: SyntheticError, - unstable_setExceptionDecorator: unstable_setExceptionDecorator, + decoratedExtraDataKey: typeof decoratedExtraDataKey, + handleException: typeof handleException, + installConsoleErrorReporter: typeof installConsoleErrorReporter, + SyntheticError: typeof SyntheticError, + unstable_setExceptionDecorator: typeof unstable_setExceptionDecorator, }; declare export default typeof ExceptionsManager; " @@ -4556,7 +4562,7 @@ exports[`public API should not change unintentionally Libraries/Image/AssetRegis registerAsset: (asset: PackagerAsset) => number, getAssetByID: (assetId: number) => PackagerAsset, }; -declare module.exports: AssetRegistry; +declare module.exports: typeof AssetRegistry; " `; @@ -4924,7 +4930,7 @@ declare export default typeof NativeImageStoreIOS; exports[`public API should not change unintentionally Libraries/Image/RelativeImageStub.js 1`] = ` "declare const RelativeImageStub: number; -declare module.exports: RelativeImageStub; +declare module.exports: typeof RelativeImageStub; " `; @@ -5205,16 +5211,16 @@ declare const Presets: { spring: LayoutAnimationConfig, }; declare const LayoutAnimation: { - configureNext: configureNext, - create: create, + configureNext: typeof configureNext, + create: typeof create, Types: LayoutAnimationTypes, Properties: LayoutAnimationProperties, checkConfig(...args: Array): void, - Presets: Presets, + Presets: typeof Presets, easeInEaseOut: (onAnimationDidEnd?: OnAnimationDidEndCallback) => void, linear: (onAnimationDidEnd?: OnAnimationDidEndCallback) => void, spring: (onAnimationDidEnd?: OnAnimationDidEndCallback) => void, - setEnabled: setEnabled, + setEnabled: typeof setEnabled, }; declare export default typeof LayoutAnimation; " @@ -5269,7 +5275,7 @@ declare export default typeof FillRateHelper; `; exports[`public API should not change unintentionally Libraries/Lists/FlatList.js 1`] = ` -"declare const VirtualizedList: $FlowFixMe; +"declare const VirtualizedList: typeof VirtualizedLists.VirtualizedList; type RequiredProps = { data: ?$ReadOnly<$ArrayLike>, }; @@ -5350,7 +5356,7 @@ declare export default typeof FlatList; `; exports[`public API should not change unintentionally Libraries/Lists/SectionList.js 1`] = ` -"declare const VirtualizedSectionList: $FlowFixMe; +"declare const VirtualizedSectionList: typeof VirtualizedLists.VirtualizedSectionList; type DefaultSectionT = { [key: string]: any, }; @@ -6452,10 +6458,10 @@ declare export default typeof convertRequestBody; `; exports[`public API should not change unintentionally Libraries/Network/fetch.js 1`] = ` -"declare export const fetch: $FlowFixMe; -declare export const Headers: $FlowFixMe; -declare export const Request: $FlowFixMe; -declare export const Response: $FlowFixMe; +"declare export const fetch: typeof global.fetch; +declare export const Headers: typeof global.Headers; +declare export const Request: typeof global.Request; +declare export const Response: typeof global.Response; " `; @@ -7466,11 +7472,11 @@ declare const absoluteFill: { +top: 0, }; declare export default { - hairlineWidth: hairlineWidth, + hairlineWidth: typeof hairlineWidth, absoluteFill: any, - absoluteFillObject: absoluteFill, - compose: composeStyles, - flatten: flatten, + absoluteFillObject: typeof absoluteFill, + compose: typeof composeStyles, + flatten: typeof flatten, setStyleAttributePreprocessor( property: string, process: (nextProp: mixed) => mixed diff --git a/packages/react-native/package.json b/packages/react-native/package.json index f61df1f877d..d9e473a2fcb 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -118,7 +118,7 @@ "anser": "^1.4.9", "ansi-regex": "^5.0.0", "babel-jest": "^29.7.0", - "babel-plugin-syntax-hermes-parser": "0.25.1", + "babel-plugin-syntax-hermes-parser": "0.27.0", "base64-js": "^1.5.1", "chalk": "^4.0.0", "commander": "^12.0.0", diff --git a/yarn.lock b/yarn.lock index 2ca41494c62..11815a83ef6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2688,6 +2688,13 @@ babel-plugin-syntax-hermes-parser@0.25.1: dependencies: hermes-parser "0.25.1" +babel-plugin-syntax-hermes-parser@0.27.0: + version "0.27.0" + resolved "https://registry.yarnpkg.com/babel-plugin-syntax-hermes-parser/-/babel-plugin-syntax-hermes-parser-0.27.0.tgz#242c0b8fae6bf3588af4b7bd4895da38c3444a80" + integrity sha512-wI9SYVdVXNiJ1JZF1yWubtN9qFY3gDkuR5DibkxNOMLvDlUJkdBCycaCpdu6kIMRjeKEBZmDnOzgVPxS9eiS4g== + dependencies: + hermes-parser "0.27.0" + babel-plugin-transform-define@^2.1.4: version "2.1.4" resolved "https://registry.yarnpkg.com/babel-plugin-transform-define/-/babel-plugin-transform-define-2.1.4.tgz#8f7088211176a55a72788d584ceea9f691a021c1" @@ -4342,19 +4349,19 @@ flatted@^3.2.9: resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.3.1.tgz#21db470729a6734d4997002f439cb308987f567a" integrity sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw== -flow-api-translator@0.25.1: - version "0.25.1" - resolved "https://registry.yarnpkg.com/flow-api-translator/-/flow-api-translator-0.25.1.tgz#5aaf89aecd37384ab8ebdc948fe3afe5f81a7373" - integrity sha512-PI2IXcDUdnEZ5yErIhai4Ipufw0GpnIm/mrNNlbz07l8Lkzr72l4ycbo9mZx98+SV+wl84QLn8Gpt4uKxrM/kQ== +flow-api-translator@0.27.0: + version "0.27.0" + resolved "https://registry.yarnpkg.com/flow-api-translator/-/flow-api-translator-0.27.0.tgz#c10111bc6e19a2269e17a73b2109743d71348c4c" + integrity sha512-8/Ht4viNOA6Osbr80lYy3EjHJMGSx2bnqrQGwovCFBo61oh7nN//uTaNk4RCG5N9uQjsXtfYu/ZcHiaAbHlTZA== dependencies: "@babel/code-frame" "^7.16.0" "@typescript-eslint/parser" "7.2.0" "@typescript-eslint/visitor-keys" "7.2.0" flow-enums-runtime "^0.0.6" - hermes-eslint "0.25.1" - hermes-estree "0.25.1" - hermes-parser "0.25.1" - hermes-transform "0.25.1" + hermes-eslint "0.27.0" + hermes-estree "0.27.0" + hermes-parser "0.27.0" + hermes-transform "0.27.0" typescript "5.3.2" flow-bin@^0.266.1: @@ -4746,20 +4753,25 @@ hasown@^2.0.0, hasown@^2.0.1, hasown@^2.0.2: dependencies: function-bind "^1.1.2" -hermes-eslint@0.25.1: - version "0.25.1" - resolved "https://registry.yarnpkg.com/hermes-eslint/-/hermes-eslint-0.25.1.tgz#e7d2d845256705d5e2d5cf69dc79032ac3921bb3" - integrity sha512-nPz9+oyejT1zsIwoJ2pWdUvLcN1i+tbaWCOD8PpNBYQtnHXaPXImZp/6zZHnm3bo/DoFcAgh8+SNcxLFxh7m/A== +hermes-eslint@0.27.0: + version "0.27.0" + resolved "https://registry.yarnpkg.com/hermes-eslint/-/hermes-eslint-0.27.0.tgz#164d35fd5e68d061e290795bc2f720683e2f6657" + integrity sha512-skJvG1TcLgipCmp6QjojQL7kfnfeWQw0IMh7azETYIAYpX/0CO8sAhJMYU3XUKKeZX53cwnheJ41SkKtL52z/g== dependencies: esrecurse "^4.3.0" - hermes-estree "0.25.1" - hermes-parser "0.25.1" + hermes-estree "0.27.0" + hermes-parser "0.27.0" hermes-estree@0.25.1: version "0.25.1" resolved "https://registry.yarnpkg.com/hermes-estree/-/hermes-estree-0.25.1.tgz#6aeec17d1983b4eabf69721f3aa3eb705b17f480" integrity sha512-0wUoCcLp+5Ev5pDW2OriHC2MJCbwLwuRx+gAqMTOkGKJJiBCLjtrvy4PWUGn6MIVefecRpzoOZ/UV6iGdOr+Cw== +hermes-estree@0.27.0: + version "0.27.0" + resolved "https://registry.yarnpkg.com/hermes-estree/-/hermes-estree-0.27.0.tgz#656a307bc3b5d86f2967226171fb9cb56e79e72c" + integrity sha512-HC9/EVRYBNbcfavCk9K1pLuD37NxaU2eH7bWtVc3AhdwzUF9sG+IIAu/+hPEzT5hRBk5rGf34eYt7nLpECj1bw== + hermes-parser@0.25.1: version "0.25.1" resolved "https://registry.yarnpkg.com/hermes-parser/-/hermes-parser-0.25.1.tgz#5be0e487b2090886c62bd8a11724cd766d5f54d1" @@ -4767,17 +4779,24 @@ hermes-parser@0.25.1: dependencies: hermes-estree "0.25.1" -hermes-transform@0.25.1: - version "0.25.1" - resolved "https://registry.yarnpkg.com/hermes-transform/-/hermes-transform-0.25.1.tgz#78a4e82605269447d68426dc3d003e24dca89b7f" - integrity sha512-KSFRTAygJPclP7DMdQrmNrJaUn/h/tA7WSvP8USNK77L5ZSiyFv0019XcrVtlnYUoiEAp4591yD9L8s1d8/qqQ== +hermes-parser@0.27.0: + version "0.27.0" + resolved "https://registry.yarnpkg.com/hermes-parser/-/hermes-parser-0.27.0.tgz#a647a0da9d988052899262f035f4be848fb0fd9c" + integrity sha512-QK/6ZFbmrwUEGPKlVPvZq9LokksSwx+wtt/LGG+xTxSvbk+D0sMocI6kpSNEnuu77eWjyMH8J6dLBGuajVquTg== + dependencies: + hermes-estree "0.27.0" + +hermes-transform@0.27.0: + version "0.27.0" + resolved "https://registry.yarnpkg.com/hermes-transform/-/hermes-transform-0.27.0.tgz#803fbe27cc7f33e3d0d271e2b9c64ce8f368514b" + integrity sha512-p/mlVyQomOVN7hx63ArnrDMba3nREp8W8BjGI31c2eL9ZvAAcypBgwb3KQDMzd4ULnoClhqjI3bQHyemce+uuA== dependencies: "@babel/code-frame" "^7.16.0" esquery "^1.4.0" flow-enums-runtime "^0.0.6" - hermes-eslint "0.25.1" - hermes-estree "0.25.1" - hermes-parser "0.25.1" + hermes-eslint "0.27.0" + hermes-estree "0.27.0" + hermes-parser "0.27.0" string-width "4.2.3" homedir-polyfill@^1.0.0, homedir-polyfill@^1.0.1: @@ -7064,14 +7083,14 @@ prelude-ls@^1.2.1: resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== -prettier-plugin-hermes-parser@0.25.1: - version "0.25.1" - resolved "https://registry.yarnpkg.com/prettier-plugin-hermes-parser/-/prettier-plugin-hermes-parser-0.25.1.tgz#f7e82357f7fdcf5fcdf9e06dcc3bbafe03ed61eb" - integrity sha512-qVsgSt1ZLz7sxQyMmLM3b8JYIcUt4pkE+OCMEoUTe5G87ghNe9lluYMy7ptu1h0f3fAZ+zkifUV3JojMmQcKkg== +prettier-plugin-hermes-parser@0.27.0: + version "0.27.0" + resolved "https://registry.yarnpkg.com/prettier-plugin-hermes-parser/-/prettier-plugin-hermes-parser-0.27.0.tgz#c5f233a0dabe6fe46d8ae7842b2b4bd4311f1e8b" + integrity sha512-blg2qKwC1PWV5mS1jBiuPV/nFsfArViRMmwQhVfctrfVLTL+R3lR7OGETf/YKCEqgqHwfAdV2ElumYrg2UWdZA== dependencies: - hermes-estree "0.25.1" - hermes-parser "0.25.1" - prettier-plugin-hermes-parser "0.25.1" + hermes-estree "0.27.0" + hermes-parser "0.27.0" + prettier-plugin-hermes-parser "0.27.0" prettier@2.8.8: version "2.8.8"