From 09f648a1f06c083a3578dbf17e8648734dc69466 Mon Sep 17 00:00:00 2001 From: Jan Kassens Date: Tue, 22 Aug 2023 10:41:04 -0400 Subject: [PATCH] Flow: upgrade to 0.215.0 (#27264) Simple bump of Flow and Hermes parser to keep us current. --- package.json | 8 ++--- scripts/flow/config/flowconfig | 2 +- yarn.lock | 62 +++++++++++++++++----------------- 3 files changed, 36 insertions(+), 36 deletions(-) diff --git a/package.json b/package.json index 08c86a621d66c..9ac794def9e98 100644 --- a/package.json +++ b/package.json @@ -64,14 +64,14 @@ "eslint-plugin-react-internal": "link:./scripts/eslint-rules", "fbjs-scripts": "^3.0.1", "filesize": "^6.0.1", - "flow-bin": "^0.214.0", - "flow-remove-types": "^2.214.0", + "flow-bin": "^0.215.0", + "flow-remove-types": "^2.215.0", "glob": "^7.1.6", "glob-stream": "^6.1.0", "google-closure-compiler": "^20230206.0.0", "gzip-size": "^5.1.1", - "hermes-eslint": "^0.9.0", - "hermes-parser": "^0.9.0", + "hermes-eslint": "^0.15.1", + "hermes-parser": "^0.15.1", "jest": "^29.4.2", "jest-cli": "^29.4.2", "jest-diff": "^29.4.2", diff --git a/scripts/flow/config/flowconfig b/scripts/flow/config/flowconfig index a6f748dbc4fe7..1cf697be4104f 100644 --- a/scripts/flow/config/flowconfig +++ b/scripts/flow/config/flowconfig @@ -36,4 +36,4 @@ munge_underscores=false %REACT_RENDERER_FLOW_OPTIONS% [version] -^0.214.0 +^0.215.0 diff --git a/yarn.lock b/yarn.lock index f69b8537e84d0..31e26d778d511 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7866,22 +7866,22 @@ flatted@^3.1.0: resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787" integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ== -flow-bin@^0.214.0: - version "0.214.0" - resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.214.0.tgz#3ace7984a69309392e056f96cf3bf8623fa93d1c" - integrity sha512-rPexleFynYsxsBAPHqRvCIqzcRZ9KkPjlFbuOATmFlHyG6vdy9V+SWPYdzBtgsfhGbj9PZ14pzv1zzgNd7rmvQ== - -flow-parser@^0.214.0: - version "0.214.0" - resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.214.0.tgz#455efc841ec015c62f6dec022cf6c61480f231a2" - integrity sha512-RW1Dh6BuT14DA7+gtNRKzgzvG3GTPdrceHCi4ddZ9VFGQ9HtO5L8wzxMGsor7XtInIrbWZZCSak0oxnBF7tApw== - -flow-remove-types@^2.214.0: - version "2.214.0" - resolved "https://registry.yarnpkg.com/flow-remove-types/-/flow-remove-types-2.214.0.tgz#8283b97f7374512504fd8cef250482cace7e44fd" - integrity sha512-nM2hr8JgvZVvQOnF9Hyk/V5SVLzV0fliIYNGu90jusYsTHt4B8ODMcoTKnzrDkFhYBzwurzN3SZEDDkQOtCucA== - dependencies: - flow-parser "^0.214.0" +flow-bin@^0.215.0: + version "0.215.0" + resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.215.0.tgz#6f6b42ab34a56758f381bbd0543173f06a20b7be" + integrity sha512-oleH4I3o1moLjN8wwfiiD4H9VVhgq6EP7y3xcrQaBMm0/qiYSmnhcSnqcDnc2KPTI9a+X2Z5BWSbO/lXeRTW5A== + +flow-parser@^0.215.0: + version "0.215.0" + resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.215.0.tgz#9b153fa27ab238bcc0bb1ff73b63bdb15d3f277d" + integrity sha512-8bjwzy8vi+fNDy8YoTBNtQUSZa53i7UWJJTunJojOtjab9cMNhOCwohionuMgDQUU0y21QTTtPOX6OQEOQT72A== + +flow-remove-types@^2.215.0: + version "2.215.0" + resolved "https://registry.yarnpkg.com/flow-remove-types/-/flow-remove-types-2.215.0.tgz#f1f6d5c8706ab3ea002ceb0bf5502b98a2b661f7" + integrity sha512-VU7DXzL3sWoGH2aeEYDAlz2Cj1Y9f3SgREakJSNcFFiDAb/eZvCVQAulEDn/FXqXR754emprq+mQUigFCz/IsQ== + dependencies: + flow-parser "^0.215.0" pirates "^3.0.2" vlq "^0.2.1" @@ -8611,26 +8611,26 @@ has@^1.0.1, has@^1.0.3: dependencies: function-bind "^1.1.1" -hermes-eslint@^0.9.0: - version "0.9.0" - resolved "https://registry.yarnpkg.com/hermes-eslint/-/hermes-eslint-0.9.0.tgz#f1423abe3dfd959257430d61a9bccd4700b59e09" - integrity sha512-rlkK51UpGwo0ZWg8hu8DVICth7RfGSvaEJzFflos8bDOYm/d842/J3IXi0lB9R9waOp4VGGSc8VDmh+a9p2Q2w== +hermes-eslint@^0.15.1: + version "0.15.1" + resolved "https://registry.yarnpkg.com/hermes-eslint/-/hermes-eslint-0.15.1.tgz#c5919a6fdbd151febc3d5ed8ff17e5433913528c" + integrity sha512-ArfT3oASsYOkCa29GOw34GR+kpHXqrhhYgXDadK3daJBejrMPbGlUbBTzTlGBuz1CGLxxdC5lwwv3OegPJzfDA== dependencies: esrecurse "^4.3.0" - hermes-estree "0.9.0" - hermes-parser "0.9.0" + hermes-estree "0.15.1" + hermes-parser "0.15.1" -hermes-estree@0.9.0: - version "0.9.0" - resolved "https://registry.yarnpkg.com/hermes-estree/-/hermes-estree-0.9.0.tgz#026e0abe6db1dcf50a81a79014b779a83db3b814" - integrity sha512-5DZ7Y0CbHVk8zPqgRCvqp8iw+P05svnQDI1aJFjdqCfXJ/1CZ+8aYpGlhJ29zCG5SE5duGTzSxogAYYI4QqXqw== +hermes-estree@0.15.1: + version "0.15.1" + resolved "https://registry.yarnpkg.com/hermes-estree/-/hermes-estree-0.15.1.tgz#d06d4ddf87e91857b0130a083a9d7696d7aec61f" + integrity sha512-XrQH+GATG/8DYbzlrVs6Vf/EDxLhYEHXvzt/Xve4b/NXXpsNLDN8bdBEKp5z0XeOMoL1XMEexxIIf1a5bH6kYA== -hermes-parser@0.9.0, hermes-parser@^0.9.0: - version "0.9.0" - resolved "https://registry.yarnpkg.com/hermes-parser/-/hermes-parser-0.9.0.tgz#ede3044d50479c61843cef5bbdcea83933d4e4ec" - integrity sha512-IcvJIlAn+9tpHkP+HTsxWKrIdQPp0gvGrrQmxlL4XnNS+Oh6R/Fpxbcoflm2kY3zgQjEvxZxLiK/2+k3/5wsrw== +hermes-parser@0.15.1, hermes-parser@^0.15.1: + version "0.15.1" + resolved "https://registry.yarnpkg.com/hermes-parser/-/hermes-parser-0.15.1.tgz#f02587be85228b22841d50f6839ae42a308e5100" + integrity sha512-38Re105dr4UZ0/EPRApWxtIOWWynQpdOYWO+7nFO8ADd2mXdaHKMCFAxIjkqACa1GLrAtrXqqaJdUYHi/QUbkA== dependencies: - hermes-estree "0.9.0" + hermes-estree "0.15.1" homedir-polyfill@^1.0.0, homedir-polyfill@^1.0.1: version "1.0.3"