From 0243c4867854d854fd34da232d8ceb5bcf3db27e Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Mon, 2 Dec 2024 15:18:50 +0100 Subject: [PATCH 01/51] feat: restore config --- libs/@local/eslint/LICENSE.md | 607 +++ libs/@local/eslint/package.json | 27 + libs/@local/eslint/src/builtIn.ts | 93 + libs/@local/eslint/src/constants.ts | 2 + libs/@local/eslint/src/import.ts | 32 + libs/@local/eslint/src/index.ts | 73 + libs/@local/eslint/src/react.ts | 41 + libs/@local/eslint/src/storybook.ts | 32 + libs/@local/eslint/src/stylistic.ts | 17 + libs/@local/eslint/src/typescript.ts | 145 + libs/@local/eslint/src/unicorn.ts | 160 + libs/@local/eslint/tsconfig.build.json | 8 + libs/@local/eslint/tsconfig.json | 12 + yarn.lock | 5119 ++++++++++++++---------- 14 files changed, 4223 insertions(+), 2145 deletions(-) create mode 100644 libs/@local/eslint/LICENSE.md create mode 100644 libs/@local/eslint/package.json create mode 100644 libs/@local/eslint/src/builtIn.ts create mode 100644 libs/@local/eslint/src/constants.ts create mode 100644 libs/@local/eslint/src/import.ts create mode 100644 libs/@local/eslint/src/index.ts create mode 100644 libs/@local/eslint/src/react.ts create mode 100644 libs/@local/eslint/src/storybook.ts create mode 100644 libs/@local/eslint/src/stylistic.ts create mode 100644 libs/@local/eslint/src/typescript.ts create mode 100644 libs/@local/eslint/src/unicorn.ts create mode 100644 libs/@local/eslint/tsconfig.build.json create mode 100644 libs/@local/eslint/tsconfig.json diff --git a/libs/@local/eslint/LICENSE.md b/libs/@local/eslint/LICENSE.md new file mode 100644 index 00000000000..c7d627721e2 --- /dev/null +++ b/libs/@local/eslint/LICENSE.md @@ -0,0 +1,607 @@ +GNU Affero General Public License +================================= + +_Version 3, 19 November 2007_ +_Copyright © 2007 Free Software Foundation, Inc. <>_ + +Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed. + +## Preamble + +The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + +The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + +When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + +Developers that use our General Public Licenses protect your rights +with two steps: **(1)** assert copyright on the software, and **(2)** offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + +A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + +The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + +An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + +The precise terms and conditions for copying, distribution and +modification follow. + +## TERMS AND CONDITIONS + +### 0. Definitions + +“This License” refers to version 3 of the GNU Affero General Public License. + +“Copyright” also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + +“The Program” refers to any copyrightable work licensed under this +License. Each licensee is addressed as “you”. “Licensees” and +“recipients” may be individuals or organizations. + +To “modify” a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a “modified version” of the +earlier work or a work “based on” the earlier work. + +A “covered work” means either the unmodified Program or a work based +on the Program. + +To “propagate” a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + +To “convey” a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + +An interactive user interface displays “Appropriate Legal Notices” +to the extent that it includes a convenient and prominently visible +feature that **(1)** displays an appropriate copyright notice, and **(2)** +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + +### 1. Source Code + +The “source code” for a work means the preferred form of the work +for making modifications to it. “Object code” means any non-source +form of a work. + +A “Standard Interface” means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + +The “System Libraries” of an executable work include anything, other +than the work as a whole, that **(a)** is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and **(b)** serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +“Major Component”, in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + +The “Corresponding Source” for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + +The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + +The Corresponding Source for a work in source code form is that +same work. + +### 2. Basic Permissions + +All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + +You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + +Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + +### 3. Protecting Users' Legal Rights From Anti-Circumvention Law + +No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + +When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + +### 4. Conveying Verbatim Copies + +You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + +You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + +### 5. Conveying Modified Source Versions + +You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + +* **a)** The work must carry prominent notices stating that you modified +it, and giving a relevant date. +* **b)** The work must carry prominent notices stating that it is +released under this License and any conditions added under section 7. +This requirement modifies the requirement in section 4 to +“keep intact all notices”. +* **c)** You must license the entire work, as a whole, under this +License to anyone who comes into possession of a copy. This +License will therefore apply, along with any applicable section 7 +additional terms, to the whole of the work, and all its parts, +regardless of how they are packaged. This License gives no +permission to license the work in any other way, but it does not +invalidate such permission if you have separately received it. +* **d)** If the work has interactive user interfaces, each must display +Appropriate Legal Notices; however, if the Program has interactive +interfaces that do not display Appropriate Legal Notices, your +work need not make them do so. + +A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +“aggregate” if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + +### 6. Conveying Non-Source Forms + +You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + +* **a)** Convey the object code in, or embodied in, a physical product +(including a physical distribution medium), accompanied by the +Corresponding Source fixed on a durable physical medium +customarily used for software interchange. +* **b)** Convey the object code in, or embodied in, a physical product +(including a physical distribution medium), accompanied by a +written offer, valid for at least three years and valid for as +long as you offer spare parts or customer support for that product +model, to give anyone who possesses the object code either **(1)** a +copy of the Corresponding Source for all the software in the +product that is covered by this License, on a durable physical +medium customarily used for software interchange, for a price no +more than your reasonable cost of physically performing this +conveying of source, or **(2)** access to copy the +Corresponding Source from a network server at no charge. +* **c)** Convey individual copies of the object code with a copy of the +written offer to provide the Corresponding Source. This +alternative is allowed only occasionally and noncommercially, and +only if you received the object code with such an offer, in accord +with subsection 6b. +* **d)** Convey the object code by offering access from a designated +place (gratis or for a charge), and offer equivalent access to the +Corresponding Source in the same way through the same place at no +further charge. You need not require recipients to copy the +Corresponding Source along with the object code. If the place to +copy the object code is a network server, the Corresponding Source +may be on a different server (operated by you or a third party) +that supports equivalent copying facilities, provided you maintain +clear directions next to the object code saying where to find the +Corresponding Source. Regardless of what server hosts the +Corresponding Source, you remain obligated to ensure that it is +available for as long as needed to satisfy these requirements. +* **e)** Convey the object code using peer-to-peer transmission, provided +you inform other peers where the object code and Corresponding +Source of the work are being offered to the general public at no +charge under subsection 6d. + +A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + +A “User Product” is either **(1)** a “consumer product”, which means any +tangible personal property which is normally used for personal, family, +or household purposes, or **(2)** anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, “normally used” refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + +“Installation Information” for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + +If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + +The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + +Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + +### 7. Additional Terms + +“Additional permissions” are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + +When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + +Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + +* **a)** Disclaiming warranty or limiting liability differently from the +terms of sections 15 and 16 of this License; or +* **b)** Requiring preservation of specified reasonable legal notices or +author attributions in that material or in the Appropriate Legal +Notices displayed by works containing it; or +* **c)** Prohibiting misrepresentation of the origin of that material, or +requiring that modified versions of such material be marked in +reasonable ways as different from the original version; or +* **d)** Limiting the use for publicity purposes of names of licensors or +authors of the material; or +* **e)** Declining to grant rights under trademark law for use of some +trade names, trademarks, or service marks; or +* **f)** Requiring indemnification of licensors and authors of that +material by anyone who conveys the material (or modified versions of +it) with contractual assumptions of liability to the recipient, for +any liability that these contractual assumptions directly impose on +those licensors and authors. + +All other non-permissive additional terms are considered “further +restrictions” within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + +If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + +Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + +### 8. Termination + +You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + +However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated **(a)** +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and **(b)** permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + +Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + +Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + +### 9. Acceptance Not Required for Having Copies + +You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + +### 10. Automatic Licensing of Downstream Recipients + +Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + +An “entity transaction” is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + +You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + +### 11. Patents + +A “contributor” is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's “contributor version”. + +A contributor's “essential patent claims” are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, “control” includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + +Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + +In the following three paragraphs, a “patent license” is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To “grant” such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + +If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either **(1)** cause the Corresponding Source to be so +available, or **(2)** arrange to deprive yourself of the benefit of the +patent license for this particular work, or **(3)** arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. “Knowingly relying” means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + +If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + +A patent license is “discriminatory” if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license **(a)** in connection with copies of the covered work +conveyed by you (or copies made from those copies), or **(b)** primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + +Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + +### 12. No Surrender of Others' Freedom + +If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + +### 13. Remote Network Interaction; Use with the GNU General Public License + +Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + +Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + +### 14. Revised Versions of this License + +The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License “or any later version” applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + +If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + +Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + +### 15. Disclaimer of Warranty + +THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +### 16. Limitation of Liability + +IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + +### 17. Interpretation of Sections 15 and 16 + +If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. diff --git a/libs/@local/eslint/package.json b/libs/@local/eslint/package.json new file mode 100644 index 00000000000..cb615687231 --- /dev/null +++ b/libs/@local/eslint/package.json @@ -0,0 +1,27 @@ +{ + "name": "@local/eslint", + "version": "0.0.0-private", + "private": true, + "description": "Shared ESLint configuration", + "type": "module", + "main": "./dist/index.js", + "types": "./dist/index.d.ts", + "files": [ + "dist" + ], + "scripts": { + "build": "rimraf dist && tsc --build tsconfig.build.json" + }, + "dependencies": { + "effect": "3.11.0", + "eslint": "9.16.0", + "eslint-config-sheriff": "25.3.0", + "eslint-define-config": "2.1.0", + "eslint-plugin-storybook": "0.11.1" + }, + "devDependencies": { + "@types/eslint": "9.6.1", + "rimraf": "6.0.1", + "typescript": "5.7.2" + } +} diff --git a/libs/@local/eslint/src/builtIn.ts b/libs/@local/eslint/src/builtIn.ts new file mode 100644 index 00000000000..fcebb0afbe7 --- /dev/null +++ b/libs/@local/eslint/src/builtIn.ts @@ -0,0 +1,93 @@ +import { Option, pipe, Predicate, Array as ReadonlyArray } from "effect"; +import { defineFlatConfig, type FlatESLintConfig } from "eslint-define-config"; +import type { PartialDeep } from "type-fest"; + +import type { NoRestrictedImportsRule, Options } from "./index.js"; + +const mergeRestrictedImports = ( + current: NoRestrictedImportsRule, + override: NoRestrictedImportsRule, +): NoRestrictedImportsRule => ({ + paths: [...(current.paths ?? []), ...(override.paths ?? [])], + patterns: [...(current.patterns ?? []), ...(override.patterns ?? [])], +}); + +const noRestrictedImports = ( + config: FlatESLintConfig[], + overrides: () => NoRestrictedImportsRule[], +): FlatESLintConfig[] => { + // get the latest current `no-restricted-imports` rule value and merge with the + // overrides + const candidates = pipe( + config, + ReadonlyArray.map((entry) => entry.rules?.["no-restricted-imports"]), + ReadonlyArray.filter(Predicate.isNotUndefined), + ReadonlyArray.filterMap((entry) => + Array.isArray(entry) && entry.length === 2 + ? Option.some(entry[1]) + : Option.none(), + ), + ); + + const current = candidates.at(-1); + + // the value should be a dictionary with `paths` and `patterns` keys + if (!Predicate.isRecord(current) || Predicate.hasProperty(current, "name")) { + throw new Error( + "expected no-restricted-imports to follow the `paths` and `patterns` structure", + ); + } + + if (current.patterns?.some((pattern) => typeof pattern === "string")) { + throw new Error("expected patterns to be an array of objects"); + } + + const currentRule = current as NoRestrictedImportsRule; + + return defineFlatConfig([ + { + rules: { + "no-restricted-imports": [ + "error", + overrides().reduce(mergeRestrictedImports, currentRule), + ], + }, + } satisfies FlatESLintConfig, + ]); +}; + +export const builtIn = + (options: PartialDeep) => + (config: FlatESLintConfig[]): FlatESLintConfig[] => + defineFlatConfig([ + ...config, + { + rules: { + // Reason: Nesting ternary expressions can make code more difficult to understand. + // While true they are a staple of JS and too integrated into our codebase to remove. + // furthermore, `prettier` removes this concern by formatting them in a way that is easy to read. + "no-nested-ternary": "off", + // We always prefer arrow functions over function declarations. + // Generators cannot be written as arrow functions, therefore are + // allowed to be anonymous to accommodate effect. + "func-names": ["error", "always", { generators: "never" }], + // This is the same as sheriff's rule but allows for drafts to be modified + "no-param-reassign": [ + "error", + { + props: true, + ignorePropertyModificationsForRegex: + options.mutableParametersRegex?.() ?? [], + }, + ], + // Clashes with `@typescript-eslint/no-floating-promises` + "no-void": [ + "error", + { + allowAsStatement: true, + }, + ], + }, + }, + ...noRestrictedImports(config, options.noRestrictedImports ?? (() => [])), + ]); diff --git a/libs/@local/eslint/src/constants.ts b/libs/@local/eslint/src/constants.ts new file mode 100644 index 00000000000..0dc51ea13da --- /dev/null +++ b/libs/@local/eslint/src/constants.ts @@ -0,0 +1,2 @@ +export const JS_EXTENSIONS = "js,mjs,cjs,ts,mts,cts"; +export const JSX_EXTENSIONS = "jsx,tsx,mtsx,mjsx"; diff --git a/libs/@local/eslint/src/import.ts b/libs/@local/eslint/src/import.ts new file mode 100644 index 00000000000..3c148392ede --- /dev/null +++ b/libs/@local/eslint/src/import.ts @@ -0,0 +1,32 @@ +import { defineFlatConfig, type FlatESLintConfig } from "eslint-define-config"; + +export const importPlugin = (config: FlatESLintConfig[]): FlatESLintConfig[] => + defineFlatConfig([ + ...config, + { + rules: { + "import/order": [ + "error", + { + "newlines-between": "always", + // This is the same as the default, but with `internal` added + groups: [ + "builtin", + "external", + "internal", + "parent", + "sibling", + "index", + ], + }, + ], + // This clashes directly with file name endings as `./index.js` is required + "import/no-useless-path-segments": ["error", { noUselessIndex: false }], + // We no longer want to use CommonJS or AMD + "import/no-commonjs": "error", + "import/no-amd": "error", + // We want to avoid circular dependencies + "import/no-cycle": "error", + }, + }, + ]); diff --git a/libs/@local/eslint/src/index.ts b/libs/@local/eslint/src/index.ts new file mode 100644 index 00000000000..5e4c3fe9a4d --- /dev/null +++ b/libs/@local/eslint/src/index.ts @@ -0,0 +1,73 @@ +import { pipe } from "effect"; +import { sheriff, SheriffSettings } from "eslint-config-sheriff"; +import type { PartialDeep } from "type-fest"; + +import { builtIn } from "./builtIn.js"; +import { importPlugin } from "./import.js"; +import { react } from "./react.js"; +import { stylistic } from "./stylistic.js"; +import { typescript } from "./typescript.js"; +import { unicorn } from "./unicorn.js"; +import { storybook } from "./storybook.js"; +import { defineFlatConfig, FlatESLintConfig } from "eslint-define-config"; + +// A subset of the allowed rule config, because we're sane +export interface NoRestrictedImportsPath { + name: string; + message?: string; + importNames?: string[]; +} + +export interface NoRestrictedImportsPattern { + importNames?: [string, ...string[]]; + group: [string, ...string[]]; + importNamePattern?: string; + message?: string; + caseSensitive?: boolean; +} + +export interface NoRestrictedImportsRule { + paths?: (NoRestrictedImportsPath | string)[]; + patterns?: NoRestrictedImportsPattern[]; +} + +interface Modules { + frontend: "next" | "react" | false; + playwright: boolean; + tests: boolean; + storybook: boolean; +} + +export interface Options { + enabled: Modules; + noRestrictedImports(): NoRestrictedImportsRule[]; + mutableParametersRegex(): string[]; +} + +export const create = (options: PartialDeep): FlatESLintConfig[] => { + const sheriffOptions: SheriffSettings = { + react: options.enabled?.frontend === "react", + next: options.enabled?.frontend === "next", + // I want to move away from lodash, not add more of it + lodash: false, + playwright: options.enabled?.playwright ?? false, + jest: false, + vitest: options.enabled?.tests ?? false, + ignores: { + recommended: true, + inheritedFromGitignore: true, + }, + }; + + return pipe( + sheriff(sheriffOptions) as readonly FlatESLintConfig[], + defineFlatConfig, + builtIn(options), + importPlugin, + unicorn, + react(options), + typescript, + stylistic, + storybook(options), + ); +}; diff --git a/libs/@local/eslint/src/react.ts b/libs/@local/eslint/src/react.ts new file mode 100644 index 00000000000..11d31440e2a --- /dev/null +++ b/libs/@local/eslint/src/react.ts @@ -0,0 +1,41 @@ +import { defineFlatConfig, type FlatESLintConfig } from "eslint-define-config"; +import type { PartialDeep } from "type-fest"; + +import type { Options } from "./index.js"; + +export const react = + (options: PartialDeep) => + (config: FlatESLintConfig[]): FlatESLintConfig[] => { + if (!options.enabled?.frontend) { + return config; + } + + return defineFlatConfig([ + ...config, + { + rules: { + // disallows the use of `dangerouslySetInnerHTML` + "react/no-danger": "error", + // We make use of quite a few HOCs + // Typescript ensures that the props are passed correctly + // TODO: investigate if we want to enable this in the future + "react/jsx-props-no-spreading": "off", + // Personal preference + "react/no-multi-comp": "off", + // Personal preference, ensures that the code is more readable + "react/jsx-boolean-value": "error", + // Non-curly braces can lead to confusion and ambiguity + // N.B. This is a quite subjective rule + "react/jsx-curly-brace-presence": [ + "error", + { + props: "always", + children: "never", + // eslint-disable-next-line unicorn/prevent-abbreviations + propElementValues: "always", + }, + ], + }, + }, + ]); + }; diff --git a/libs/@local/eslint/src/storybook.ts b/libs/@local/eslint/src/storybook.ts new file mode 100644 index 00000000000..2fb7ab35e3f --- /dev/null +++ b/libs/@local/eslint/src/storybook.ts @@ -0,0 +1,32 @@ +// This configuration is here only as a stand-in until sheriff supports it, as flat configuration is currently only available in canary. +import { defineFlatConfig, type FlatESLintConfig } from "eslint-define-config"; +import type { PartialDeep } from "type-fest"; +import type { Options } from "./index.js"; + +import eslintPluginStorybook from "eslint-plugin-storybook"; + +export const storybook = + (options: PartialDeep) => + (config: FlatESLintConfig[]): FlatESLintConfig[] => { + if (!options.enabled?.storybook) { + return config; + } + + return defineFlatConfig([ + ...config, + ...(eslintPluginStorybook.configs[ + "flat/recommended" + ] as unknown as FlatESLintConfig[]), + { + rules: { + "storybook/no-uninstalled-addons": "error", + }, + }, + { + files: ["*.stories.{j,t}s{x,}"], + rules: { + "import/no-default-export": "off", + }, + }, + ]); + }; diff --git a/libs/@local/eslint/src/stylistic.ts b/libs/@local/eslint/src/stylistic.ts new file mode 100644 index 00000000000..dc4a029b4f3 --- /dev/null +++ b/libs/@local/eslint/src/stylistic.ts @@ -0,0 +1,17 @@ +import { defineFlatConfig, type FlatESLintConfig } from "eslint-define-config"; + +export const stylistic = (config: FlatESLintConfig[]): FlatESLintConfig[] => + defineFlatConfig([ + ...config, + { + rules: { + // Personal preference + "@stylistic/yield-star-spacing": ["error", "after"], + "@stylistic/generator-star-spacing": ["error", "after"], + // Forces multiline constructs to use an explicit return. + // This creates additional noise in the code, especially when + // using constructs such as `pipe` or `Effect.gen` + "arrow-return-style/arrow-return-style": "off", + }, + }, + ]); diff --git a/libs/@local/eslint/src/typescript.ts b/libs/@local/eslint/src/typescript.ts new file mode 100644 index 00000000000..6144e4b4926 --- /dev/null +++ b/libs/@local/eslint/src/typescript.ts @@ -0,0 +1,145 @@ +import { Predicate } from "effect"; +import type { Linter } from "eslint"; +import { defineFlatConfig, type FlatESLintConfig } from "eslint-define-config"; + +import { JS_EXTENSIONS, JSX_EXTENSIONS } from "./constants.js"; + +const namingConvention = ({ tsx }: { tsx: boolean }): Linter.RuleEntry => [ + "error", + // adapted from https://github.com/AndreaPontrandolfo/sheriff/blob/3a6e3c9873c4b8fbbfbd01b6051c55fd1e57609a/packages/eslint-config-sheriff/src/getTsNamingConventionRule.ts#L9 + { + selector: "default", + format: ["camelCase", tsx && "StrictPascalCase"].filter(Predicate.isString), + leadingUnderscore: "allow", + trailingUnderscore: "forbid", + }, + { + selector: "import", + format: ["camelCase", "StrictPascalCase"], + leadingUnderscore: "forbid", + trailingUnderscore: "forbid", + }, + { + selector: "variable", + format: ["camelCase", "UPPER_CASE"], + modifiers: ["const"], + types: ["string", "number"], + leadingUnderscore: "allow", + trailingUnderscore: "forbid", + }, + // allow constant variables in the global scope to be in UPPER_CASE, + // but they cannot be unused. + { + selector: "variable", + format: ["camelCase", "UPPER_CASE", "StrictPascalCase"], + modifiers: ["const", "global"], + leadingUnderscore: "forbid", + trailingUnderscore: "forbid", + }, + { + selector: "objectLiteralProperty", + format: null, + leadingUnderscore: "allowSingleOrDouble", + trailingUnderscore: "forbid", + }, + { + selector: "typeLike", + format: ["PascalCase"], + leadingUnderscore: "forbid", + trailingUnderscore: "forbid", + }, + // TODO: consider enabling this rule in the future: + // https://typescript-eslint.io/rules/naming-convention/#enforce-that-boolean-variables-are-prefixed-with-an-allowed-verb + { + selector: "variable", + modifiers: ["destructured"], + format: null, + }, + { + selector: "typeProperty", + format: null, + }, + // forbid common type prefixes/suffixes + { + selector: "interface", + format: ["PascalCase"], + custom: { + regex: "^I[A-Z]", + match: false, + }, + }, + { + selector: "typeAlias", + format: ["PascalCase"], + custom: { + regex: "^T[A-Z]", + match: false, + }, + }, + { + selector: "enum", + format: ["PascalCase"], + custom: { + regex: "^E[A-Z]", + match: false, + }, + }, +]; + +export const typescript = (config: FlatESLintConfig[]): FlatESLintConfig[] => + defineFlatConfig([ + ...config, + { + rules: { + // While a good idea, there are just too many places where this isn't the case yet + // TODO: consider introducing this rule in the future + "@typescript-eslint/explicit-module-boundary-types": "off", + // Allow unused variables that start with an underscore (goes hand in hand with + // the naming convention) + "@typescript-eslint/no-unused-vars": [ + "error", + { + args: "all", + argsIgnorePattern: "^_", + caughtErrors: "all", + caughtErrorsIgnorePattern: "^_", + destructuredArrayIgnorePattern: "^_", + // eslint-disable-next-line unicorn/prevent-abbreviations + varsIgnorePattern: "^_", + ignoreRestSiblings: true, + }, + ], + "@typescript-eslint/no-shadow": [ + "error", + { + hoist: "all", + allow: ["resolve", "reject", "done", "next", "err", "error", "_"], + ignoreTypeValueShadow: true, + ignoreFunctionTypeParameterNameValueShadow: true, + }, + ], + // Allow numbers in template expressions, as they are used quite frequently + // and do not really suffer from the reasons described in the rule documentation + "@typescript-eslint/restrict-template-expressions": [ + "error", + { allowNumber: true }, + ], + }, + }, + { + files: [`**/*{${JS_EXTENSIONS}}`], + rules: { + "@typescript-eslint/naming-convention": namingConvention({ + tsx: false, + }), + }, + }, + { + files: [`**/*{${JSX_EXTENSIONS}}`], + rules: { + "@typescript-eslint/naming-convention": namingConvention({ + tsx: true, + }), + }, + }, + ]); diff --git a/libs/@local/eslint/src/unicorn.ts b/libs/@local/eslint/src/unicorn.ts new file mode 100644 index 00000000000..c35f2c73fc9 --- /dev/null +++ b/libs/@local/eslint/src/unicorn.ts @@ -0,0 +1,160 @@ +/* eslint-disable unicorn/prevent-abbreviations */ +import { defineFlatConfig, type FlatESLintConfig } from "eslint-define-config"; + +const preventAbbreviations = (): FlatESLintConfig => ({ + rules: { + "unicorn/prevent-abbreviations": [ + "error", + { + checkFilenames: true, + checkProperties: true, + checkDefaultAndNamespaceImports: true, + checkShorthandImports: "internal", + extendDefaultReplacements: true, + replacements: { + // Offensive terms + whitelist: { + include: true, + allowList: true, + permitList: true, + passList: true, + }, + blacklist: { + exclude: true, + denyList: true, + blockList: true, + rejectList: true, + }, + master: { + primary: true, + host: true, + leader: true, + main: true, + trunk: true, + }, + slave: { + secondary: true, + guest: true, + follower: true, + replica: true, + branch: true, + }, + + // Gendered terms + man: { + person: true, + human: true, + individual: true, + being: true, + user: true, + }, + + // Reverse (some abbreviations are very well understood) + application: { + app: true, + }, + applications: { + apps: true, + }, + + // Disable some default replacements that are well understood + // and commonly used (or from other languages) + env: false, + impl: false, // <- `rust` + iter: false, // <- `rust` + temp: false, + tmp: { + temp: true, + }, + gen: false, // <- `rust` + `effect` + ctx: false, // <- `rust` + `effect` + dev: false, + prod: false, + fn: false, + func: { + fn: true, // mimic `rust` + }, + ref: false, // <- `rust` + `effect` + refs: false, // <- `rust` + `effect` + arg: false, + args: false, + param: false, + params: false, + props: false, + docs: false, + db: false, + + // Look in the future: + // really want to remove this, but it's too ingrained in our codebase + i: false, + nav: false, + + // Not part of `eslint-plugin-unicorn`, copied from `xo` + // with some modifications + bin: { + binary: true, + }, + eof: { + endOfFile: true, + }, + anim: { + animation: true, + }, + calc: { + calculate: true, + }, + dict: { + dictionary: true, + }, + dup: { + duplicate: true, + }, + enc: { + encode: true, + encryption: true, + }, + gfx: { + graphics: true, + }, + inc: { + increment: true, + }, + norm: { + normalize: true, + }, + notif: { + notification: true, + }, + perf: { + performance: true, + }, + proc: { + process: true, + }, + rand: { + random: true, + }, + sys: { + system: true, + }, + }, + }, + ], + }, +}); + +export const unicorn = (config: FlatESLintConfig[]): FlatESLintConfig[] => + defineFlatConfig([ + ...config, + { + rules: { + // I disagree why this is a bad idea, the documentation describes + // reduce as hard-to-read and less-performant. + // `Array#reduce()` is only less performant if used with an internal + // spread operator. It's also a very common pattern in functional + // programming. + "unicorn/no-array-reduce": "off", + }, + }, + preventAbbreviations(), + ]); diff --git a/libs/@local/eslint/tsconfig.build.json b/libs/@local/eslint/tsconfig.build.json new file mode 100644 index 00000000000..85f5f1162d1 --- /dev/null +++ b/libs/@local/eslint/tsconfig.build.json @@ -0,0 +1,8 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "declaration": true, + "outDir": "dist", + "paths": {} + } +} diff --git a/libs/@local/eslint/tsconfig.json b/libs/@local/eslint/tsconfig.json new file mode 100644 index 00000000000..2dc48b51fe0 --- /dev/null +++ b/libs/@local/eslint/tsconfig.json @@ -0,0 +1,12 @@ +{ + // TODO: hook this into the global TS config + "compilerOptions": { + "strict": true, + "allowJs": false, + "exactOptionalPropertyTypes": true, + "module": "NodeNext", + "moduleResolution": "NodeNext" + }, + "include": ["shims", "src", "eslint.config.js", "tsup.config.ts"], + "exclude": ["node-modules", "dist"] +} diff --git a/yarn.lock b/yarn.lock index 38ee93a00fb..6010f5b3dae 100644 --- a/yarn.lock +++ b/yarn.lock @@ -293,7 +293,7 @@ __metadata: "@blockprotocol/graph": "npm:0.4.0-canary.0" "@blockprotocol/type-system": "npm:0.1.2-canary.0" "@google-cloud/storage": "npm:7.14.0" - "@google-cloud/vertexai": "npm:1.9.2" + "@google-cloud/vertexai": "npm:1.9.0" "@local/advanced-types": "npm:0.0.0-private" "@local/eslint-config": "npm:0.0.0-private" "@local/hash-backend-utils": "npm:0.0.0-private" @@ -305,7 +305,7 @@ __metadata: "@local/status": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@sentry/cli": "npm:^2.39.1" - "@sentry/node": "npm:7.120.1" + "@sentry/node": "npm:7.120.0" "@temporalio/activity": "npm:1.11.5" "@temporalio/common": "npm:1.11.5" "@temporalio/proto": "npm:1.11.5" @@ -320,14 +320,15 @@ __metadata: "@types/lodash.pickby": "npm:4.6.9" "@types/md5": "npm:2.3.5" "@types/mime-types": "npm:2.1.4" - "@types/node": "npm:22.10.1" + "@types/node": "npm:22.10.0" "@types/papaparse": "npm:5.3.15" "@types/sanitize-html": "npm:2.13.0" - "@vitest/coverage-istanbul": "npm:2.1.8" + "@vitest/coverage-istanbul": "npm:2.1.6" ajv: "npm:8.17.1" ajv-formats: "npm:3.0.1" - axios: "npm:1.7.9" + axios: "npm:1.7.8" cache-manager: "npm:5.7.6" + cross-env: "npm:7.0.3" dedent: "npm:0.7.0" dotenv-flow: "npm:3.3.0" e2b: "npm:0.13.1" @@ -356,8 +357,8 @@ __metadata: tsconfig-paths-webpack-plugin: "npm:4.2.0" tsx: "npm:4.19.2" typescript: "npm:5.6.3" - vite-tsconfig-paths: "npm:5.1.4" - vitest: "npm:2.1.8" + vite-tsconfig-paths: "npm:5.1.3" + vitest: "npm:2.1.6" wait-on: "npm:8.0.1" languageName: unknown linkType: soft @@ -367,11 +368,11 @@ __metadata: resolution: "@apps/hash-api@workspace:apps/hash-api" dependencies: "@apps/hash-graph": "npm:0.0.0-private" - "@aws-sdk/client-s3": "npm:3.705.0" + "@aws-sdk/client-s3": "npm:3.701.0" "@aws-sdk/client-ses": "npm:3.699.0" "@aws-sdk/credential-provider-node": "npm:3.699.0" - "@aws-sdk/s3-presigned-post": "npm:3.705.0" - "@aws-sdk/s3-request-presigner": "npm:3.705.0" + "@aws-sdk/s3-presigned-post": "npm:3.701.0" + "@aws-sdk/s3-request-presigner": "npm:3.701.0" "@blockprotocol/core": "npm:0.1.3" "@blockprotocol/graph": "npm:0.4.0-canary.0" "@blockprotocol/type-system": "npm:0.1.2-canary.0" @@ -383,7 +384,6 @@ __metadata: "@linear/sdk": "npm:6.0.0" "@local/advanced-types": "npm:0.0.0-private" "@local/eslint-config": "npm:0.0.0-private" - "@local/harpc-client": "npm:0.0.0-private" "@local/hash-backend-utils": "npm:0.0.0-private" "@local/hash-graph-client": "npm:0.0.0-private" "@local/hash-graph-sdk": "npm:0.0.0-private" @@ -393,20 +393,20 @@ __metadata: "@local/tsconfig": "npm:0.0.0-private" "@mailchimp/mailchimp_marketing": "npm:3.0.80" "@opentelemetry/api": "npm:1.9.0" - "@opentelemetry/core": "npm:1.29.0" - "@opentelemetry/exporter-trace-otlp-grpc": "npm:0.56.0" - "@opentelemetry/instrumentation": "npm:0.56.0" - "@opentelemetry/instrumentation-express": "npm:0.46.0" - "@opentelemetry/instrumentation-graphql": "npm:0.46.0" - "@opentelemetry/instrumentation-http": "npm:0.56.0" - "@opentelemetry/resources": "npm:1.29.0" - "@opentelemetry/sdk-trace-base": "npm:1.29.0" - "@opentelemetry/sdk-trace-node": "npm:1.29.0" + "@opentelemetry/core": "npm:1.28.0" + "@opentelemetry/exporter-trace-otlp-grpc": "npm:0.55.0" + "@opentelemetry/instrumentation": "npm:0.55.0" + "@opentelemetry/instrumentation-express": "npm:0.45.0" + "@opentelemetry/instrumentation-graphql": "npm:0.45.0" + "@opentelemetry/instrumentation-http": "npm:0.55.0" + "@opentelemetry/resources": "npm:1.28.0" + "@opentelemetry/sdk-trace-base": "npm:1.28.0" + "@opentelemetry/sdk-trace-node": "npm:1.28.0" "@ory/client": "npm:1.1.41" "@ory/hydra-client": "npm:2.2.1" "@ory/kratos-client": "npm:1.0.0" "@rudderstack/rudder-sdk-node": "npm:2.1.1" - "@sentry/node": "npm:7.120.1" + "@sentry/node": "npm:7.120.0" "@snowplow/node-tracker": "npm:3.24.6" "@temporalio/client": "npm:1.11.5" "@temporalio/proto": "npm:1.11.5" @@ -421,23 +421,22 @@ __metadata: "@types/mime-types": "npm:2.1.4" "@types/nodemailer": "npm:6.4.17" "@types/ws": "npm:8.5.13" - "@vitest/coverage-istanbul": "npm:2.1.8" + "@vitest/coverage-istanbul": "npm:2.1.6" agentkeepalive: "npm:4.5.0" apollo-datasource: "npm:3.3.2" apollo-server-core: "npm:3.12.1" apollo-server-errors: "npm:3.3.1" apollo-server-express: "npm:3.9.0" app-root-path: "npm:3.1.0" - axios: "npm:1.7.9" + axios: "npm:1.7.8" body-parser: "npm:1.20.3" clipboardy: "npm:2.3.0" cors: "npm:2.8.5" cross-env: "npm:7.0.3" dedent: "npm:0.7.0" - effect: "npm:3.11.3" eslint: "npm:8.57.0" exponential-backoff: "npm:3.1.1" - express: "npm:4.21.2" + express: "npm:4.21.1" express-handlebars: "npm:7.1.3" express-http-proxy: "npm:2.1.1" express-rate-limit: "npm:7.4.1" @@ -458,16 +457,16 @@ __metadata: long: "npm:5.2.3" md5: "npm:2.3.0" mime-types: "npm:2.1.35" - nanoid: "npm:3.3.8" + nanoid: "npm:3.3.7" nodemailer: "npm:6.9.16" oembed-providers: "npm:1.0.20241022" openai: "npm:4.68.4" - prettier: "npm:3.4.2" + prettier: "npm:3.4.1" rimraf: "npm:6.0.1" ts-json-schema-generator: "npm:1.5.1" tsx: "npm:4.19.2" typescript: "npm:5.6.3" - vitest: "npm:2.1.8" + vitest: "npm:2.1.6" wait-on: "npm:8.0.1" ws: "npm:8.18.0" languageName: unknown @@ -489,7 +488,7 @@ __metadata: "@blockprotocol/hook": "npm:0.1.3" "@blockprotocol/service": "npm:0.1.4" "@blockprotocol/type-system": "npm:0.1.2-canary.0" - "@dnd-kit/core": "npm:6.3.1" + "@dnd-kit/core": "npm:6.2.0" "@dnd-kit/sortable": "npm:7.0.2" "@dnd-kit/utilities": "npm:3.2.2" "@emoji-mart/react": "npm:1.0.1" @@ -517,16 +516,16 @@ __metadata: "@local/hash-subgraph": "npm:0.0.0-private" "@local/status": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - "@mui/icons-material": "npm:5.16.9" - "@mui/material": "npm:5.16.9" - "@mui/system": "npm:5.16.8" + "@mui/icons-material": "npm:5.16.7" + "@mui/material": "npm:5.16.7" + "@mui/system": "npm:5.16.7" "@next/bundle-analyzer": "npm:12.3.4" "@ory/client": "npm:1.1.41" "@ory/integrations": "npm:1.1.4" "@popperjs/core": "npm:2.11.8" "@react-sigma/core": "npm:4.0.3" - "@sentry/nextjs": "npm:7.120.1" - "@sentry/react": "npm:7.120.1" + "@sentry/nextjs": "npm:7.120.0" + "@sentry/react": "npm:7.120.0" "@sentry/webpack-plugin": "npm:1.21.0" "@sigma/edge-curve": "patch:@sigma/edge-curve@npm%3A3.0.0-beta.16#~/.yarn/patches/@sigma-edge-curve-npm-3.0.0-beta.16-3d8b985284.patch" "@sigma/node-border": "npm:3.0.0-beta.7" @@ -553,7 +552,7 @@ __metadata: "@types/url-regex-safe": "npm:1.0.2" "@types/uuid": "npm:10.0.0" "@welldone-software/why-did-you-render": "npm:8.0.3" - axios: "npm:1.7.9" + axios: "npm:1.7.8" buffer: "npm:6.0.3" clsx: "npm:1.2.1" date-fns: "npm:4.1.0" @@ -597,21 +596,21 @@ __metadata: react-dom: "npm:18.2.0" react-dropzone: "npm:14.3.5" react-full-screen: "npm:1.1.1" - react-hook-form: "npm:7.54.0" + react-hook-form: "npm:7.53.2" react-markdown: "npm:9.0.1" react-pdf: "npm:9.1.1" react-responsive-carousel: "npm:3.2.23" react-transition-group: "npm:4.4.5" - react-virtuoso: "npm:4.12.3" + react-virtuoso: "npm:4.12.2" react-window: "npm:1.8.10" reactflow: "npm:11.11.4" remark-gfm: "npm:4.0.0" rimraf: "npm:6.0.1" rooks: "npm:7.14.1" safe-stable-stringify: "npm:2.5.0" - sass: "npm:1.82.0" + sass: "npm:1.81.0" setimmediate: "npm:1.0.5" - sigma: "npm:3.0.0-beta.39" + sigma: "npm:3.0.0-beta.38" signia: "npm:0.1.5" signia-react: "npm:0.1.5" typescript: "npm:5.6.3" @@ -619,7 +618,7 @@ __metadata: use-font-face-observer: "npm:1.2.2" uuid: "npm:9.0.1" wait-on: "npm:8.0.1" - webpack: "npm:5.97.1" + webpack: "npm:5.96.1" languageName: unknown linkType: soft @@ -660,13 +659,14 @@ __metadata: "@local/hash-subgraph": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@sentry/cli": "npm:^2.39.1" - "@sentry/node": "npm:7.120.1" + "@sentry/node": "npm:7.120.0" "@temporalio/activity": "npm:1.11.5" "@temporalio/worker": "npm:1.11.5" "@temporalio/workflow": "npm:1.11.5" "@types/dotenv-flow": "npm:3.3.3" agentkeepalive: "npm:4.5.0" - axios: "npm:1.7.9" + axios: "npm:1.7.8" + cross-env: "npm:7.0.3" dotenv-flow: "npm:3.3.0" eslint: "npm:8.57.0" rimraf: "npm:6.0.1" @@ -683,8 +683,9 @@ __metadata: "@local/eslint-config": "npm:0.0.0-private" "@local/hash-backend-utils": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - "@types/node": "npm:22.10.1" + "@types/node": "npm:22.10.0" "@types/set-interval-async": "npm:1.0.3" + cross-env: "npm:7.0.3" eslint: "npm:8.57.0" set-interval-async: "npm:2.0.3" slonik: "npm:24.2.0" @@ -702,7 +703,8 @@ __metadata: "@local/hash-backend-utils": "npm:0.0.0-private" "@local/hash-isomorphic-utils": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - "@types/node": "npm:22.10.1" + "@types/node": "npm:22.10.0" + cross-env: "npm:7.0.3" eslint: "npm:8.57.0" hot-shots: "npm:8.5.2" tsx: "npm:4.19.2" @@ -734,8 +736,8 @@ __metadata: "@emotion/cache": 11.13.5 "@emotion/react": 11.13.5 "@emotion/styled": 11.13.5 - "@mui/material": 5.16.9 - "@mui/system": 5.16.8 + "@mui/material": 5.16.7 + "@mui/system": 5.16.7 react: ^18.2.0 react-dom: ^18.2.0 languageName: unknown @@ -754,21 +756,21 @@ __metadata: "@local/eslint-config": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@matejmazur/react-katex": "npm:3.1.3" - "@mui/icons-material": "npm:5.16.9" - "@mui/material": "npm:5.16.9" - "@mui/system": "npm:5.16.8" + "@mui/icons-material": "npm:5.16.7" + "@mui/material": "npm:5.16.7" + "@mui/system": "npm:5.16.7" "@types/d3": "npm:7.4.3" "@types/fs-extra": "npm:9.0.13" "@types/gtag.js": "npm:0.0.20" "@types/html-to-text": "npm:9.0.4" "@types/md5": "npm:2.3.5" - "@types/node": "npm:22.10.1" + "@types/node": "npm:22.10.0" "@types/prismjs": "npm:1.26.5" "@types/react": "npm:18.2.68" "@types/react-dom": "npm:18.2.25" "@types/react-html-parser": "npm:2.0.6" "@types/unist": "npm:2.0.11" - axios: "npm:1.7.9" + axios: "npm:1.7.8" babel-loader: "npm:9.2.1" calculation-block: "npm:0.2.2" chalk: "npm:5.3.0" @@ -783,7 +785,7 @@ __metadata: gray-matter: "npm:4.0.3" html-to-text: "npm:9.0.5" image-size: "npm:1.1.1" - katex: "npm:0.16.14" + katex: "npm:0.16.11" md5: "npm:2.3.0" mock-block-dock: "npm:0.0.21" next: "npm:13.5.5" @@ -818,7 +820,7 @@ __metadata: "@babel/plugin-proposal-class-properties": "npm:7.18.6" "@babel/plugin-proposal-private-property-in-object": "npm:^7.16.7" "@babel/preset-env": "npm:7.26.0" - "@babel/preset-react": "npm:7.26.3" + "@babel/preset-react": "npm:7.25.9" "@blockprotocol/core": "npm:0.1.3" "@blockprotocol/graph": "npm:0.4.0-canary.0" "@graphql-codegen/cli": "npm:^5.0.3" @@ -832,10 +834,10 @@ __metadata: "@local/hash-isomorphic-utils": "npm:0.0.0-private" "@local/hash-subgraph": "npm:0.0.0-private" "@local/status": "npm:0.0.0-private" - "@mui/material": "npm:5.16.9" + "@mui/material": "npm:5.16.7" "@pmmmwh/react-refresh-webpack-plugin": "npm:0.5.15" - "@sentry/browser": "npm:7.120.1" - "@sentry/webpack-plugin": "npm:2.22.7" + "@sentry/browser": "npm:7.120.0" + "@sentry/webpack-plugin": "npm:2.22.6" "@types/lodash.debounce": "npm:4.0.9" "@types/react": "npm:18.2.68" "@types/react-dom": "npm:18.2.25" @@ -863,7 +865,7 @@ __metadata: react-refresh: "npm:0.14.0" react-refresh-typescript: "npm:2.0.9" rimraf: "npm:6.0.1" - sass: "npm:1.82.0" + sass: "npm:1.81.0" sass-loader: "npm:13.3.3" source-map-loader: "npm:3.0.2" style-loader: "npm:3.3.4" @@ -874,7 +876,7 @@ __metadata: typescript: "npm:5.6.3" uuid: "npm:9.0.1" webextension-polyfill: "npm:0.10.0" - webpack: "npm:5.97.1" + webpack: "npm:5.96.1" webpack-cli: "npm:4.10.0" webpack-dev-server: "npm:4.15.2" ws: "npm:8.18.0" @@ -997,6 +999,13 @@ __metadata: languageName: node linkType: hard +"@astrojs/compiler@npm:^2.0.0": + version: 2.10.3 + resolution: "@astrojs/compiler@npm:2.10.3" + checksum: 10c0/35e7a6e9d197924a3203afd3bd7bff39c8d4271516816c30173cca872302312c3748eefc5a5832523f49b98743115628a1b96922d7d96588a8d96e110a106b88 + languageName: node + linkType: hard + "@aw-web-design/x-default-browser@npm:1.4.126": version: 1.4.126 resolution: "@aw-web-design/x-default-browser@npm:1.4.126" @@ -1287,9 +1296,9 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/client-s3@npm:3.705.0": - version: 3.705.0 - resolution: "@aws-sdk/client-s3@npm:3.705.0" +"@aws-sdk/client-s3@npm:3.701.0": + version: 3.701.0 + resolution: "@aws-sdk/client-s3@npm:3.701.0" dependencies: "@aws-crypto/sha1-browser": "npm:5.2.0" "@aws-crypto/sha256-browser": "npm:5.2.0" @@ -1349,7 +1358,7 @@ __metadata: "@smithy/util-utf8": "npm:^3.0.0" "@smithy/util-waiter": "npm:^3.1.9" tslib: "npm:^2.6.2" - checksum: 10c0/4bbd342f2943d36d488632a0ee898f48b60615eb57f5bb7584b43751242ea62bb199f34e0155006c02e128ac7e3a6f1e9790bb1bf50e0592b9409ad5f6a8282b + checksum: 10c0/b7eeb84dddb1c5581de6210ecdfd943a1f94582d30bf58e7ce2ff7ecdbfee68edf01838c0f78f015ebfb134f60cb27d6827f85b78ad8b90cb6516a072425987f languageName: node linkType: hard @@ -1939,11 +1948,11 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/s3-presigned-post@npm:3.705.0": - version: 3.705.0 - resolution: "@aws-sdk/s3-presigned-post@npm:3.705.0" +"@aws-sdk/s3-presigned-post@npm:3.701.0": + version: 3.701.0 + resolution: "@aws-sdk/s3-presigned-post@npm:3.701.0" dependencies: - "@aws-sdk/client-s3": "npm:3.705.0" + "@aws-sdk/client-s3": "npm:3.701.0" "@aws-sdk/types": "npm:3.696.0" "@aws-sdk/util-format-url": "npm:3.696.0" "@smithy/middleware-endpoint": "npm:^3.2.3" @@ -1952,13 +1961,13 @@ __metadata: "@smithy/util-hex-encoding": "npm:^3.0.0" "@smithy/util-utf8": "npm:^3.0.0" tslib: "npm:^2.6.2" - checksum: 10c0/1cf5724005131d1a0414ada903e7f8e0983aaa2611f53026d6cb64603b441532d2cdcc7d7a0fd4bff4eab9fb8132604f5749b8db51887e5d1a06fe73c0dd3ac6 + checksum: 10c0/6473d4e248e0ad265e6ea4753c5a46be9827e4ac12022780343b0e9a24f33017ce963c337d7a651991780d3fe7b5ff5084eb577b62ab4a917529fb5409494dcd languageName: node linkType: hard -"@aws-sdk/s3-request-presigner@npm:3.705.0": - version: 3.705.0 - resolution: "@aws-sdk/s3-request-presigner@npm:3.705.0" +"@aws-sdk/s3-request-presigner@npm:3.701.0": + version: 3.701.0 + resolution: "@aws-sdk/s3-request-presigner@npm:3.701.0" dependencies: "@aws-sdk/signature-v4-multi-region": "npm:3.696.0" "@aws-sdk/types": "npm:3.696.0" @@ -1968,7 +1977,7 @@ __metadata: "@smithy/smithy-client": "npm:^3.4.4" "@smithy/types": "npm:^3.7.1" tslib: "npm:^2.6.2" - checksum: 10c0/8f32b979b0ce1b8758a59e27780c0783fb14dca7b230ae0dd9c499c786ca347d6b073dad049dbf27a967a07e36334abadb56d8b93e7ed06dea1ae1ea6cdbaae4 + checksum: 10c0/8cda9baeadd20cfc3ea770dca500dc6dab8cb40ac42c7cd0545b72830c3059ba06965546897e2e56e03cc6207681cee655051bb1c71faab285560d96fb795c5b languageName: node linkType: hard @@ -2373,7 +2382,7 @@ __metadata: languageName: node linkType: hard -"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.16.7, @babel/code-frame@npm:^7.25.9, @babel/code-frame@npm:^7.26.0": +"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.16.7, @babel/code-frame@npm:^7.22.13, @babel/code-frame@npm:^7.25.9, @babel/code-frame@npm:^7.26.0": version: 7.26.2 resolution: "@babel/code-frame@npm:7.26.2" dependencies: @@ -2620,7 +2629,7 @@ __metadata: languageName: node linkType: hard -"@babel/helper-validator-identifier@npm:^7.22.20, @babel/helper-validator-identifier@npm:^7.25.9": +"@babel/helper-validator-identifier@npm:^7.22.20, @babel/helper-validator-identifier@npm:^7.24.5, @babel/helper-validator-identifier@npm:^7.25.9": version: 7.25.9 resolution: "@babel/helper-validator-identifier@npm:7.25.9" checksum: 10c0/4fc6f830177b7b7e887ad3277ddb3b91d81e6c4a24151540d9d1023e8dc6b1c0505f0f0628ae653601eb4388a8db45c1c14b2c07a9173837aef7e4116456259d @@ -3826,9 +3835,9 @@ __metadata: languageName: node linkType: hard -"@babel/preset-react@npm:7.26.3, @babel/preset-react@npm:^7.16.0, @babel/preset-react@npm:^7.16.7, @babel/preset-react@npm:^7.18.6, @babel/preset-react@npm:^7.22.15": - version: 7.26.3 - resolution: "@babel/preset-react@npm:7.26.3" +"@babel/preset-react@npm:7.25.9, @babel/preset-react@npm:^7.16.0, @babel/preset-react@npm:^7.16.7, @babel/preset-react@npm:^7.18.6, @babel/preset-react@npm:^7.22.15": + version: 7.25.9 + resolution: "@babel/preset-react@npm:7.25.9" dependencies: "@babel/helper-plugin-utils": "npm:^7.25.9" "@babel/helper-validator-option": "npm:^7.25.9" @@ -3838,7 +3847,7 @@ __metadata: "@babel/plugin-transform-react-pure-annotations": "npm:^7.25.9" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10c0/b470dcba11032ef6c832066f4af5c75052eaed49feb0f445227231ef1b5c42aacd6e216988c0bd469fd5728cd27b6b059ca307c9ecaa80c6bb5da4bf1c833e12 + checksum: 10c0/c294b475ee741f01f63ea0d828862811c453fabc6023f01814ce983bc316388e9d73290164d2b1384c2684db9c330803a3d4d2170285b105dcbacd483329eb93 languageName: node linkType: hard @@ -4113,7 +4122,7 @@ __metadata: "@local/eslint-config": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@types/lodash.isequal": "npm:4.5.8" - "@types/node": "npm:22.10.1" + "@types/node": "npm:22.10.0" "@types/react": "npm:18.2.68" ajv: "npm:8.17.1" ajv-formats: "npm:3.0.1" @@ -4202,17 +4211,17 @@ __metadata: "@rollup/plugin-node-resolve": "npm:15.3.0" "@rollup/plugin-typescript": "npm:12.1.1" "@rollup/plugin-wasm": "npm:6.2.2" - "@types/node": "npm:22.10.1" + "@types/node": "npm:22.10.0" "@types/react": "npm:18.2.68" - "@vitest/coverage-istanbul": "npm:2.1.8" + "@vitest/coverage-istanbul": "npm:2.1.6" eslint: "npm:8.57.0" react: "npm:18.2.0" rimraf: "npm:6.0.1" - rollup: "npm:4.28.1" + rollup: "npm:4.27.4" tslib: "npm:2.8.1" typescript: "npm:5.6.3" vite-plugin-wasm-pack: "npm:0.1.12" - vitest: "npm:2.1.8" + vitest: "npm:2.1.6" languageName: unknown linkType: soft @@ -4227,7 +4236,7 @@ __metadata: "@hashintel/block-design-system": "npm:0.0.2" "@hashintel/design-system": "npm:0.0.8" "@local/eslint-config": "npm:0.0.0-private" - "@mui/material": "npm:5.16.9" + "@mui/material": "npm:5.16.7" "@types/lodash.debounce": "npm:4.0.9" "@types/react-dom": "npm:18.2.25" "@types/uuid": "npm:10.0.0" @@ -4235,7 +4244,7 @@ __metadata: eslint: "npm:8.57.0" lodash.debounce: "npm:4.0.8" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.2" + prettier: "npm:3.4.1" react: "npm:18.2.0" react-dom: "npm:18.2.0" react-sizeme: "npm:3.0.2" @@ -4259,13 +4268,13 @@ __metadata: "@hashintel/design-system": "npm:0.0.8" "@local/eslint-config": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - "@mui/material": "npm:5.16.9" + "@mui/material": "npm:5.16.7" "@types/react-dom": "npm:18.2.25" "@types/uuid": "npm:10.0.0" block-scripts: "npm:0.3.4" eslint: "npm:8.57.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.2" + prettier: "npm:3.4.1" react: "npm:18.2.0" react-dom: "npm:18.2.0" react-sizeme: "npm:3.0.2" @@ -4289,13 +4298,13 @@ __metadata: "@hashintel/design-system": "npm:0.0.8" "@local/eslint-config": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - "@mui/material": "npm:5.16.9" + "@mui/material": "npm:5.16.7" "@types/react-dom": "npm:18.2.25" "@types/uuid": "npm:10.0.0" block-scripts: "npm:0.3.4" eslint: "npm:8.57.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.2" + prettier: "npm:3.4.1" react: "npm:18.2.0" react-dom: "npm:18.2.0" react-sizeme: "npm:3.0.2" @@ -4317,12 +4326,12 @@ __metadata: "@hashintel/design-system": "npm:0.0.8" "@local/eslint-config": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - "@mui/material": "npm:5.16.9" + "@mui/material": "npm:5.16.7" "@types/react-dom": "npm:18.2.25" block-scripts: "npm:0.3.4" eslint: "npm:8.57.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.2" + prettier: "npm:3.4.1" react: "npm:18.2.0" react-dom: "npm:18.2.0" typescript: "npm:5.6.3" @@ -4344,7 +4353,7 @@ __metadata: block-scripts: "npm:0.3.4" eslint: "npm:8.57.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.2" + prettier: "npm:3.4.1" react: "npm:18.2.0" react-dom: "npm:18.2.0" typescript: "npm:5.6.3" @@ -4365,7 +4374,7 @@ __metadata: "@hashintel/design-system": "npm:0.0.8" "@local/eslint-config": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - "@mui/material": "npm:5.16.9" + "@mui/material": "npm:5.16.7" "@types/lodash.debounce": "npm:4.0.9" "@types/react-dom": "npm:18.2.25" "@types/react-is": "npm:18.3.0" @@ -4374,10 +4383,10 @@ __metadata: eslint: "npm:8.57.0" lodash.debounce: "npm:4.0.8" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.2" + prettier: "npm:3.4.1" react: "npm:18.2.0" react-dom: "npm:18.2.0" - react-hook-form: "npm:7.54.0" + react-hook-form: "npm:7.53.2" typescript: "npm:5.6.3" peerDependencies: react: ^18.2.0 @@ -4397,7 +4406,7 @@ __metadata: block-scripts: "npm:0.3.4" eslint: "npm:8.57.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.2" + prettier: "npm:3.4.1" prismjs: "npm:1.29.0" react: "npm:18.2.0" react-dom: "npm:18.2.0" @@ -4421,7 +4430,7 @@ __metadata: date-fns: "npm:4.1.0" eslint: "npm:8.57.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.2" + prettier: "npm:3.4.1" react: "npm:18.2.0" react-datepicker: "npm:4.25.0" react-dom: "npm:18.2.0" @@ -4444,7 +4453,7 @@ __metadata: block-scripts: "npm:0.3.4" eslint: "npm:8.57.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.2" + prettier: "npm:3.4.1" react: "npm:18.2.0" react-dom: "npm:18.2.0" typescript: "npm:5.6.3" @@ -4486,13 +4495,13 @@ __metadata: "@hashintel/block-design-system": "npm:0.0.2" "@hashintel/design-system": "npm:0.0.8" "@local/eslint-config": "npm:0.0.0-private" - "@mui/material": "npm:5.16.9" + "@mui/material": "npm:5.16.7" "@types/react-dom": "npm:18.2.25" "@types/uuid": "npm:10.0.0" block-scripts: "npm:0.3.4" eslint: "npm:8.57.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.2" + prettier: "npm:3.4.1" react: "npm:18.2.0" react-dom: "npm:18.2.0" typescript: "npm:5.6.3" @@ -4515,7 +4524,7 @@ __metadata: block-scripts: "npm:0.3.4" eslint: "npm:8.57.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.2" + prettier: "npm:3.4.1" react: "npm:18.2.0" react-dom: "npm:18.2.0" typescript: "npm:5.6.3" @@ -4533,13 +4542,13 @@ __metadata: "@hashintel/block-design-system": "npm:0.0.2" "@hashintel/design-system": "npm:0.0.8" "@local/eslint-config": "npm:0.0.0-private" - "@mui/material": "npm:5.16.9" + "@mui/material": "npm:5.16.7" "@types/react-dom": "npm:18.2.25" "@types/uuid": "npm:10.0.0" block-scripts: "npm:0.3.4" eslint: "npm:8.57.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.2" + prettier: "npm:3.4.1" react: "npm:18.2.0" react-dom: "npm:18.2.0" react-sizeme: "npm:3.0.2" @@ -4563,7 +4572,7 @@ __metadata: block-scripts: "npm:0.3.4" eslint: "npm:8.57.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.2" + prettier: "npm:3.4.1" react: "npm:18.2.0" react-dom: "npm:18.2.0" twind: "npm:0.16.19" @@ -4579,13 +4588,13 @@ __metadata: resolution: "@blocks/kanban-board@workspace:blocks/kanban-board" dependencies: "@blockprotocol/graph": "npm:0.3.4" - "@dnd-kit/core": "npm:6.3.1" + "@dnd-kit/core": "npm:6.2.0" "@dnd-kit/sortable": "npm:7.0.2" "@dnd-kit/utilities": "npm:3.2.2" "@hashintel/block-design-system": "npm:0.0.2" "@local/eslint-config": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - "@mui/material": "npm:5.16.9" + "@mui/material": "npm:5.16.7" "@types/lodash.clonedeep": "npm:4.5.9" "@types/lodash.debounce": "npm:4.0.9" "@types/lodash.isequal": "npm:4.5.8" @@ -4597,10 +4606,10 @@ __metadata: lodash.debounce: "npm:4.0.8" lodash.isequal: "npm:4.5.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.2" + prettier: "npm:3.4.1" react: "npm:18.2.0" react-dom: "npm:18.2.0" - react-textarea-autosize: "npm:8.5.6" + react-textarea-autosize: "npm:8.5.5" typescript: "npm:5.6.3" peerDependencies: react: ^18.0.0 @@ -4621,7 +4630,7 @@ __metadata: lit: "npm:2.8.0" mine-sweeper-tag: "npm:1.0.6" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.2" + prettier: "npm:3.4.1" react: "npm:18.2.0" react-dom: "npm:18.2.0" typescript: "npm:5.6.3" @@ -4640,7 +4649,7 @@ __metadata: block-scripts: "npm:0.3.4" eslint: "npm:8.57.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.2" + prettier: "npm:3.4.1" react: "npm:18.2.0" react-dom: "npm:18.2.0" typescript: "npm:5.6.3" @@ -4660,7 +4669,7 @@ __metadata: "@types/dompurify": "npm:2.4.0" "@types/react-dom": "npm:18.0.9" block-scripts: "npm:0.0.14" - dompurify: "npm:2.5.8" + dompurify: "npm:2.5.7" eslint: "npm:8.57.0" mock-block-dock: "npm:0.0.38" react: "npm:18.2.0" @@ -4677,14 +4686,14 @@ __metadata: resolution: "@blocks/shuffle@workspace:blocks/shuffle" dependencies: "@blockprotocol/graph": "npm:0.3.4" - "@dnd-kit/core": "npm:6.3.1" + "@dnd-kit/core": "npm:6.2.0" "@dnd-kit/sortable": "npm:7.0.2" "@dnd-kit/utilities": "npm:3.2.2" "@hashintel/design-system": "npm:0.0.8" "@local/eslint-config": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - "@mui/icons-material": "npm:5.16.9" - "@mui/material": "npm:5.16.9" + "@mui/icons-material": "npm:5.16.7" + "@mui/material": "npm:5.16.7" "@types/lodash.isequal": "npm:4.5.8" "@types/uuid": "npm:10.0.0" block-scripts: "npm:0.3.4" @@ -4692,7 +4701,7 @@ __metadata: immer: "npm:9.0.21" lodash.isequal: "npm:4.5.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.2" + prettier: "npm:3.4.1" react: "npm:18.2.0" react-dom: "npm:18.2.0" typescript: "npm:5.6.3" @@ -4712,7 +4721,7 @@ __metadata: "@hashintel/block-design-system": "npm:0.0.2" "@local/eslint-config": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - "@mui/material": "npm:5.16.9" + "@mui/material": "npm:5.16.7" "@types/lodash.debounce": "npm:4.0.9" "@types/lodash.isequal": "npm:4.5.8" "@types/lodash.uniqueid": "npm:4.0.9" @@ -4725,7 +4734,7 @@ __metadata: lodash.isequal: "npm:4.5.0" lodash.uniqueid: "npm:4.0.1" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.2" + prettier: "npm:3.4.1" react: "npm:18.2.0" react-device-detect: "npm:2.2.3" react-dom: "npm:18.2.0" @@ -4752,7 +4761,7 @@ __metadata: duration-fns: "npm:3.0.2" eslint: "npm:8.57.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.2" + prettier: "npm:3.4.1" react: "npm:18.2.0" react-dom: "npm:18.2.0" typescript: "npm:5.6.3" @@ -4773,7 +4782,7 @@ __metadata: block-scripts: "npm:0.3.4" eslint: "npm:8.57.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.2" + prettier: "npm:3.4.1" react: "npm:18.2.0" react-dom: "npm:18.2.0" twind: "npm:0.16.19" @@ -4801,76 +4810,6 @@ __metadata: languageName: node linkType: hard -"@chainsafe/as-chacha20poly1305@npm:^0.1.0": - version: 0.1.0 - resolution: "@chainsafe/as-chacha20poly1305@npm:0.1.0" - checksum: 10c0/a537dce48829484488c8e55678dec55f8d47b40bf27f0909dfd8d3b49d5a8e154a4a8433e76c787f9a60ef74524137b7f3fbf2bac10a20e698b30cfd6fe22257 - languageName: node - linkType: hard - -"@chainsafe/as-sha256@npm:^0.4.1": - version: 0.4.2 - resolution: "@chainsafe/as-sha256@npm:0.4.2" - checksum: 10c0/af1abf43340e93fb67b570b85dc88e71c97d00dbc3e68f1d54fe3bb0d99fd8ad7f9047f3f1aeb4c27900698e6653382e123c58b888b0c3946afb9f2067e35c55 - languageName: node - linkType: hard - -"@chainsafe/is-ip@npm:^2.0.1, @chainsafe/is-ip@npm:^2.0.2": - version: 2.0.2 - resolution: "@chainsafe/is-ip@npm:2.0.2" - checksum: 10c0/0bb8b9d0babe583642d31ffafad603ac5e5dc48884266feae57479d81f4e81ef903628527d81b39d5305657a957bf435bd2ef38b98a4526a7aab366febf793ad - languageName: node - linkType: hard - -"@chainsafe/libp2p-noise@npm:16.0.0": - version: 16.0.0 - resolution: "@chainsafe/libp2p-noise@npm:16.0.0" - dependencies: - "@chainsafe/as-chacha20poly1305": "npm:^0.1.0" - "@chainsafe/as-sha256": "npm:^0.4.1" - "@libp2p/crypto": "npm:^5.0.0" - "@libp2p/interface": "npm:^2.0.0" - "@libp2p/peer-id": "npm:^5.0.0" - "@noble/ciphers": "npm:^0.6.0" - "@noble/curves": "npm:^1.1.0" - "@noble/hashes": "npm:^1.3.1" - it-length-prefixed: "npm:^9.0.1" - it-length-prefixed-stream: "npm:^1.0.0" - it-pair: "npm:^2.0.6" - it-pipe: "npm:^3.0.1" - it-stream-types: "npm:^2.0.1" - protons-runtime: "npm:^5.5.0" - uint8arraylist: "npm:^2.4.3" - uint8arrays: "npm:^5.0.0" - wherearewe: "npm:^2.0.1" - checksum: 10c0/7d5480ce6836f4edc27b188dc60ddbb49f5a232fe6778bed7bd591368187cc45a4eb4602cec6e4f29db6fbd6c14436492709654a85546fd6a6f556696839dc7f - languageName: node - linkType: hard - -"@chainsafe/libp2p-yamux@npm:7.0.1": - version: 7.0.1 - resolution: "@chainsafe/libp2p-yamux@npm:7.0.1" - dependencies: - "@libp2p/interface": "npm:^2.0.0" - "@libp2p/utils": "npm:^6.0.0" - get-iterator: "npm:^2.0.1" - it-foreach: "npm:^2.0.6" - it-pushable: "npm:^3.2.3" - it-stream-types: "npm:^2.0.1" - uint8arraylist: "npm:^2.4.8" - checksum: 10c0/2cda578822ae80a6620c4529c414322ec4ceaa143ac8a4c19c9848363d36993d350edbcbec18979744d294f5c90e96a0abdc82a3b9afb2272384c0d2a72aee74 - languageName: node - linkType: hard - -"@chainsafe/netmask@npm:^2.0.0": - version: 2.0.0 - resolution: "@chainsafe/netmask@npm:2.0.0" - dependencies: - "@chainsafe/is-ip": "npm:^2.0.1" - checksum: 10c0/a9069e52b0a1470b00c88d3fb16ff4fe14274e5055770faab974b29f7bc69ebf76172775461da1e88b7fe73539a9228f6af0406253d46e987193ddf21a073da1 - languageName: node - linkType: hard - "@changesets/apply-release-plan@npm:^6.1.3": version: 6.1.4 resolution: "@changesets/apply-release-plan@npm:6.1.4" @@ -5294,9 +5233,9 @@ __metadata: languageName: node linkType: hard -"@dnd-kit/core@npm:6.3.1": - version: 6.3.1 - resolution: "@dnd-kit/core@npm:6.3.1" +"@dnd-kit/core@npm:6.2.0": + version: 6.2.0 + resolution: "@dnd-kit/core@npm:6.2.0" dependencies: "@dnd-kit/accessibility": "npm:^3.1.1" "@dnd-kit/utilities": "npm:^3.2.2" @@ -5304,7 +5243,7 @@ __metadata: peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" - checksum: 10c0/196db95d81096d9dc248983533eab91ba83591770fa5c894b1ac776f42af0d99522b3fd5bb3923411470e4733fcfa103e6ee17adc17b9b7eb54c7fbec5ff7c52 + checksum: 10c0/478d6bb027441b0e5fa5ecd9a4da8a5876811505147303de1a5a0783a4418c5f7f464bd3eb07b4be77ef7626364d1b905dc2a4f9055093b845cf39e1d6f13b73 languageName: node linkType: hard @@ -5332,53 +5271,53 @@ __metadata: languageName: node linkType: hard -"@effect/platform-node-shared@npm:^0.20.4": - version: 0.20.4 - resolution: "@effect/platform-node-shared@npm:0.20.4" +"@effect/platform-node-shared@npm:^0.19.32": + version: 0.19.32 + resolution: "@effect/platform-node-shared@npm:0.19.32" dependencies: "@parcel/watcher": "npm:^2.4.1" multipasta: "npm:^0.2.5" peerDependencies: - "@effect/platform": ^0.70.4 - effect: ^3.11.3 - checksum: 10c0/dca46400c108c1e6ee09010973ebd5ee21b83c660e93c6c5ed36eff1fd157c36b415690f58c3befe83dd5675d202336670c75d04a5fbea8b7a46c6edb38343d1 + "@effect/platform": ^0.69.31 + effect: ^3.10.19 + checksum: 10c0/a6256806cc7c5f2dfb41f25f3d645b345c4877604f659120085ac2462495b56d4f59afe9cd8f33e3bbdef97873dc5703bc9dc1cb4cb5a53cbba1f9e135fd7516 languageName: node linkType: hard -"@effect/platform-node@npm:0.65.4": - version: 0.65.4 - resolution: "@effect/platform-node@npm:0.65.4" +"@effect/platform-node@npm:0.64.33": + version: 0.64.33 + resolution: "@effect/platform-node@npm:0.64.33" dependencies: - "@effect/platform-node-shared": "npm:^0.20.4" + "@effect/platform-node-shared": "npm:^0.19.32" mime: "npm:^3.0.0" undici: "npm:^6.19.7" ws: "npm:^8.18.0" peerDependencies: - "@effect/platform": ^0.70.4 - effect: ^3.11.3 - checksum: 10c0/99915676a36f64e90ef2b2533ab0789f11ba8bc8cc19cb7cfda99e979f6d470f36ddb670eb905491b957fda1f2bde97c463a0c84f634aa12c864ebdf5f6fd1d1 + "@effect/platform": ^0.69.31 + effect: ^3.10.19 + checksum: 10c0/bf2777d2126cf7981376024917dfe8b17d0e62868ee15be4b92764d2dfea7a4f40330b40546967595f9a50103a4dd34592612b481e53fbb591774faab598be09 languageName: node linkType: hard -"@effect/platform@npm:0.70.4": - version: 0.70.4 - resolution: "@effect/platform@npm:0.70.4" +"@effect/platform@npm:0.69.31": + version: 0.69.31 + resolution: "@effect/platform@npm:0.69.31" dependencies: find-my-way-ts: "npm:^0.1.5" multipasta: "npm:^0.2.5" peerDependencies: - effect: ^3.11.3 - checksum: 10c0/d55e37943b3fcaca7e15e74b7c8dbd562d2cd028f684b9fbc9db0e82d9048c2b99954450516c2260ac5e6eba9529f1b5884c7bd0d8e180d1485405178f49c71e + effect: ^3.10.19 + checksum: 10c0/ef4422642408cfd3900b4d750040fbca76be20eabea2df9f308e43c8df05536d22c6a0cdd7c08db2b9030ddcaa6cbe7673b2ecb8985b032d9840cdbcccef74b5 languageName: node linkType: hard -"@effect/vitest@npm:0.14.3": - version: 0.14.3 - resolution: "@effect/vitest@npm:0.14.3" +"@effect/vitest@npm:0.13.19": + version: 0.13.19 + resolution: "@effect/vitest@npm:0.13.19" peerDependencies: - effect: ^3.11.3 + effect: ^3.10.19 vitest: ^2.0.5 - checksum: 10c0/06c1630e03b67eab565913090918532cdace2655cf6345accb42db5f60a01cfe1fbd03d6119d9c03554786ad2584520cc06034ebab7d6432355920133a8df53c + checksum: 10c0/f548a32ef569686ddbea1a758645a44dd7dcff86f1356b21d1670e1318101e4dcf065d6b13a7f276faa65e6f5382c433788cdcff7352db8d871784ab5b8c85b7 languageName: node linkType: hard @@ -5616,10 +5555,14 @@ __metadata: languageName: node linkType: hard -"@esbuild/aix-ppc64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/aix-ppc64@npm:0.21.5" - conditions: os=aix & cpu=ppc64 +"@es-joy/jsdoccomment@npm:~0.49.0": + version: 0.49.0 + resolution: "@es-joy/jsdoccomment@npm:0.49.0" + dependencies: + comment-parser: "npm:1.4.1" + esquery: "npm:^1.6.0" + jsdoc-type-pratt-parser: "npm:~4.1.0" + checksum: 10c0/16717507d557d37e7b59456fedeefbe0a3bc93aa2d9c043d5db91e24e076509b6fcb10ee6fd1dafcb0c5bbe50ae329b45de5b83541cb5994a98c9e862a45641e languageName: node linkType: hard @@ -5630,6 +5573,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/aix-ppc64@npm:0.24.0": + version: 0.24.0 + resolution: "@esbuild/aix-ppc64@npm:0.24.0" + conditions: os=aix & cpu=ppc64 + languageName: node + linkType: hard + "@esbuild/android-arm64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/android-arm64@npm:0.18.20" @@ -5637,16 +5587,16 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/android-arm64@npm:0.21.5" +"@esbuild/android-arm64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/android-arm64@npm:0.23.1" conditions: os=android & cpu=arm64 languageName: node linkType: hard -"@esbuild/android-arm64@npm:0.23.1": - version: 0.23.1 - resolution: "@esbuild/android-arm64@npm:0.23.1" +"@esbuild/android-arm64@npm:0.24.0": + version: 0.24.0 + resolution: "@esbuild/android-arm64@npm:0.24.0" conditions: os=android & cpu=arm64 languageName: node linkType: hard @@ -5658,16 +5608,16 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/android-arm@npm:0.21.5" +"@esbuild/android-arm@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/android-arm@npm:0.23.1" conditions: os=android & cpu=arm languageName: node linkType: hard -"@esbuild/android-arm@npm:0.23.1": - version: 0.23.1 - resolution: "@esbuild/android-arm@npm:0.23.1" +"@esbuild/android-arm@npm:0.24.0": + version: 0.24.0 + resolution: "@esbuild/android-arm@npm:0.24.0" conditions: os=android & cpu=arm languageName: node linkType: hard @@ -5679,16 +5629,16 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-x64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/android-x64@npm:0.21.5" +"@esbuild/android-x64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/android-x64@npm:0.23.1" conditions: os=android & cpu=x64 languageName: node linkType: hard -"@esbuild/android-x64@npm:0.23.1": - version: 0.23.1 - resolution: "@esbuild/android-x64@npm:0.23.1" +"@esbuild/android-x64@npm:0.24.0": + version: 0.24.0 + resolution: "@esbuild/android-x64@npm:0.24.0" conditions: os=android & cpu=x64 languageName: node linkType: hard @@ -5700,16 +5650,16 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-arm64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/darwin-arm64@npm:0.21.5" +"@esbuild/darwin-arm64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/darwin-arm64@npm:0.23.1" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@esbuild/darwin-arm64@npm:0.23.1": - version: 0.23.1 - resolution: "@esbuild/darwin-arm64@npm:0.23.1" +"@esbuild/darwin-arm64@npm:0.24.0": + version: 0.24.0 + resolution: "@esbuild/darwin-arm64@npm:0.24.0" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard @@ -5721,16 +5671,16 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-x64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/darwin-x64@npm:0.21.5" +"@esbuild/darwin-x64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/darwin-x64@npm:0.23.1" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@esbuild/darwin-x64@npm:0.23.1": - version: 0.23.1 - resolution: "@esbuild/darwin-x64@npm:0.23.1" +"@esbuild/darwin-x64@npm:0.24.0": + version: 0.24.0 + resolution: "@esbuild/darwin-x64@npm:0.24.0" conditions: os=darwin & cpu=x64 languageName: node linkType: hard @@ -5742,16 +5692,16 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-arm64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/freebsd-arm64@npm:0.21.5" +"@esbuild/freebsd-arm64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/freebsd-arm64@npm:0.23.1" conditions: os=freebsd & cpu=arm64 languageName: node linkType: hard -"@esbuild/freebsd-arm64@npm:0.23.1": - version: 0.23.1 - resolution: "@esbuild/freebsd-arm64@npm:0.23.1" +"@esbuild/freebsd-arm64@npm:0.24.0": + version: 0.24.0 + resolution: "@esbuild/freebsd-arm64@npm:0.24.0" conditions: os=freebsd & cpu=arm64 languageName: node linkType: hard @@ -5763,16 +5713,16 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-x64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/freebsd-x64@npm:0.21.5" +"@esbuild/freebsd-x64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/freebsd-x64@npm:0.23.1" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard -"@esbuild/freebsd-x64@npm:0.23.1": - version: 0.23.1 - resolution: "@esbuild/freebsd-x64@npm:0.23.1" +"@esbuild/freebsd-x64@npm:0.24.0": + version: 0.24.0 + resolution: "@esbuild/freebsd-x64@npm:0.24.0" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard @@ -5784,16 +5734,16 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/linux-arm64@npm:0.21.5" +"@esbuild/linux-arm64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/linux-arm64@npm:0.23.1" conditions: os=linux & cpu=arm64 languageName: node linkType: hard -"@esbuild/linux-arm64@npm:0.23.1": - version: 0.23.1 - resolution: "@esbuild/linux-arm64@npm:0.23.1" +"@esbuild/linux-arm64@npm:0.24.0": + version: 0.24.0 + resolution: "@esbuild/linux-arm64@npm:0.24.0" conditions: os=linux & cpu=arm64 languageName: node linkType: hard @@ -5805,16 +5755,16 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/linux-arm@npm:0.21.5" +"@esbuild/linux-arm@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/linux-arm@npm:0.23.1" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@esbuild/linux-arm@npm:0.23.1": - version: 0.23.1 - resolution: "@esbuild/linux-arm@npm:0.23.1" +"@esbuild/linux-arm@npm:0.24.0": + version: 0.24.0 + resolution: "@esbuild/linux-arm@npm:0.24.0" conditions: os=linux & cpu=arm languageName: node linkType: hard @@ -5826,16 +5776,16 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ia32@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/linux-ia32@npm:0.21.5" +"@esbuild/linux-ia32@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/linux-ia32@npm:0.23.1" conditions: os=linux & cpu=ia32 languageName: node linkType: hard -"@esbuild/linux-ia32@npm:0.23.1": - version: 0.23.1 - resolution: "@esbuild/linux-ia32@npm:0.23.1" +"@esbuild/linux-ia32@npm:0.24.0": + version: 0.24.0 + resolution: "@esbuild/linux-ia32@npm:0.24.0" conditions: os=linux & cpu=ia32 languageName: node linkType: hard @@ -5847,16 +5797,16 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-loong64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/linux-loong64@npm:0.21.5" +"@esbuild/linux-loong64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/linux-loong64@npm:0.23.1" conditions: os=linux & cpu=loong64 languageName: node linkType: hard -"@esbuild/linux-loong64@npm:0.23.1": - version: 0.23.1 - resolution: "@esbuild/linux-loong64@npm:0.23.1" +"@esbuild/linux-loong64@npm:0.24.0": + version: 0.24.0 + resolution: "@esbuild/linux-loong64@npm:0.24.0" conditions: os=linux & cpu=loong64 languageName: node linkType: hard @@ -5868,16 +5818,16 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-mips64el@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/linux-mips64el@npm:0.21.5" +"@esbuild/linux-mips64el@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/linux-mips64el@npm:0.23.1" conditions: os=linux & cpu=mips64el languageName: node linkType: hard -"@esbuild/linux-mips64el@npm:0.23.1": - version: 0.23.1 - resolution: "@esbuild/linux-mips64el@npm:0.23.1" +"@esbuild/linux-mips64el@npm:0.24.0": + version: 0.24.0 + resolution: "@esbuild/linux-mips64el@npm:0.24.0" conditions: os=linux & cpu=mips64el languageName: node linkType: hard @@ -5889,16 +5839,16 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ppc64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/linux-ppc64@npm:0.21.5" +"@esbuild/linux-ppc64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/linux-ppc64@npm:0.23.1" conditions: os=linux & cpu=ppc64 languageName: node linkType: hard -"@esbuild/linux-ppc64@npm:0.23.1": - version: 0.23.1 - resolution: "@esbuild/linux-ppc64@npm:0.23.1" +"@esbuild/linux-ppc64@npm:0.24.0": + version: 0.24.0 + resolution: "@esbuild/linux-ppc64@npm:0.24.0" conditions: os=linux & cpu=ppc64 languageName: node linkType: hard @@ -5910,16 +5860,16 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-riscv64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/linux-riscv64@npm:0.21.5" +"@esbuild/linux-riscv64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/linux-riscv64@npm:0.23.1" conditions: os=linux & cpu=riscv64 languageName: node linkType: hard -"@esbuild/linux-riscv64@npm:0.23.1": - version: 0.23.1 - resolution: "@esbuild/linux-riscv64@npm:0.23.1" +"@esbuild/linux-riscv64@npm:0.24.0": + version: 0.24.0 + resolution: "@esbuild/linux-riscv64@npm:0.24.0" conditions: os=linux & cpu=riscv64 languageName: node linkType: hard @@ -5931,16 +5881,16 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-s390x@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/linux-s390x@npm:0.21.5" +"@esbuild/linux-s390x@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/linux-s390x@npm:0.23.1" conditions: os=linux & cpu=s390x languageName: node linkType: hard -"@esbuild/linux-s390x@npm:0.23.1": - version: 0.23.1 - resolution: "@esbuild/linux-s390x@npm:0.23.1" +"@esbuild/linux-s390x@npm:0.24.0": + version: 0.24.0 + resolution: "@esbuild/linux-s390x@npm:0.24.0" conditions: os=linux & cpu=s390x languageName: node linkType: hard @@ -5952,16 +5902,16 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-x64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/linux-x64@npm:0.21.5" +"@esbuild/linux-x64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/linux-x64@npm:0.23.1" conditions: os=linux & cpu=x64 languageName: node linkType: hard -"@esbuild/linux-x64@npm:0.23.1": - version: 0.23.1 - resolution: "@esbuild/linux-x64@npm:0.23.1" +"@esbuild/linux-x64@npm:0.24.0": + version: 0.24.0 + resolution: "@esbuild/linux-x64@npm:0.24.0" conditions: os=linux & cpu=x64 languageName: node linkType: hard @@ -5973,16 +5923,16 @@ __metadata: languageName: node linkType: hard -"@esbuild/netbsd-x64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/netbsd-x64@npm:0.21.5" +"@esbuild/netbsd-x64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/netbsd-x64@npm:0.23.1" conditions: os=netbsd & cpu=x64 languageName: node linkType: hard -"@esbuild/netbsd-x64@npm:0.23.1": - version: 0.23.1 - resolution: "@esbuild/netbsd-x64@npm:0.23.1" +"@esbuild/netbsd-x64@npm:0.24.0": + version: 0.24.0 + resolution: "@esbuild/netbsd-x64@npm:0.24.0" conditions: os=netbsd & cpu=x64 languageName: node linkType: hard @@ -5994,6 +5944,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/openbsd-arm64@npm:0.24.0": + version: 0.24.0 + resolution: "@esbuild/openbsd-arm64@npm:0.24.0" + conditions: os=openbsd & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/openbsd-x64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/openbsd-x64@npm:0.18.20" @@ -6001,16 +5958,16 @@ __metadata: languageName: node linkType: hard -"@esbuild/openbsd-x64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/openbsd-x64@npm:0.21.5" +"@esbuild/openbsd-x64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/openbsd-x64@npm:0.23.1" conditions: os=openbsd & cpu=x64 languageName: node linkType: hard -"@esbuild/openbsd-x64@npm:0.23.1": - version: 0.23.1 - resolution: "@esbuild/openbsd-x64@npm:0.23.1" +"@esbuild/openbsd-x64@npm:0.24.0": + version: 0.24.0 + resolution: "@esbuild/openbsd-x64@npm:0.24.0" conditions: os=openbsd & cpu=x64 languageName: node linkType: hard @@ -6022,16 +5979,16 @@ __metadata: languageName: node linkType: hard -"@esbuild/sunos-x64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/sunos-x64@npm:0.21.5" +"@esbuild/sunos-x64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/sunos-x64@npm:0.23.1" conditions: os=sunos & cpu=x64 languageName: node linkType: hard -"@esbuild/sunos-x64@npm:0.23.1": - version: 0.23.1 - resolution: "@esbuild/sunos-x64@npm:0.23.1" +"@esbuild/sunos-x64@npm:0.24.0": + version: 0.24.0 + resolution: "@esbuild/sunos-x64@npm:0.24.0" conditions: os=sunos & cpu=x64 languageName: node linkType: hard @@ -6043,16 +6000,16 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-arm64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/win32-arm64@npm:0.21.5" +"@esbuild/win32-arm64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/win32-arm64@npm:0.23.1" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@esbuild/win32-arm64@npm:0.23.1": - version: 0.23.1 - resolution: "@esbuild/win32-arm64@npm:0.23.1" +"@esbuild/win32-arm64@npm:0.24.0": + version: 0.24.0 + resolution: "@esbuild/win32-arm64@npm:0.24.0" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard @@ -6064,16 +6021,16 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-ia32@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/win32-ia32@npm:0.21.5" +"@esbuild/win32-ia32@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/win32-ia32@npm:0.23.1" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@esbuild/win32-ia32@npm:0.23.1": - version: 0.23.1 - resolution: "@esbuild/win32-ia32@npm:0.23.1" +"@esbuild/win32-ia32@npm:0.24.0": + version: 0.24.0 + resolution: "@esbuild/win32-ia32@npm:0.24.0" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard @@ -6085,16 +6042,16 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-x64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/win32-x64@npm:0.21.5" +"@esbuild/win32-x64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/win32-x64@npm:0.23.1" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@esbuild/win32-x64@npm:0.23.1": - version: 0.23.1 - resolution: "@esbuild/win32-x64@npm:0.23.1" +"@esbuild/win32-x64@npm:0.24.0": + version: 0.24.0 + resolution: "@esbuild/win32-x64@npm:0.24.0" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -6110,13 +6067,172 @@ __metadata: languageName: node linkType: hard -"@eslint-community/regexpp@npm:^4.5.1, @eslint-community/regexpp@npm:^4.6.1": +"@eslint-community/regexpp@npm:^4.10.0, @eslint-community/regexpp@npm:^4.11.0, @eslint-community/regexpp@npm:^4.12.1, @eslint-community/regexpp@npm:^4.5.1, @eslint-community/regexpp@npm:^4.6.1, @eslint-community/regexpp@npm:^4.8.0": version: 4.12.1 resolution: "@eslint-community/regexpp@npm:4.12.1" checksum: 10c0/a03d98c246bcb9109aec2c08e4d10c8d010256538dcb3f56610191607214523d4fb1b00aa81df830b6dffb74c5fa0be03642513a289c567949d3e550ca11cdf6 languageName: node linkType: hard +"@eslint-react/ast@npm:1.17.2": + version: 1.17.2 + resolution: "@eslint-react/ast@npm:1.17.2" + dependencies: + "@eslint-react/tools": "npm:1.17.2" + "@eslint-react/types": "npm:1.17.2" + "@typescript-eslint/types": "npm:^8.16.0" + "@typescript-eslint/typescript-estree": "npm:^8.16.0" + "@typescript-eslint/utils": "npm:^8.16.0" + birecord: "npm:^0.1.1" + string-ts: "npm:^2.2.0" + ts-pattern: "npm:^5.5.0" + checksum: 10c0/7bbf1e21c399248aed6e193108c9a7aa76795cbd4be5828e64d8110c81e25784ec2480079c185dabf69114149daef3a629ad1307646ea30cfc8d8a192f269510 + languageName: node + linkType: hard + +"@eslint-react/core@npm:1.17.2": + version: 1.17.2 + resolution: "@eslint-react/core@npm:1.17.2" + dependencies: + "@eslint-react/ast": "npm:1.17.2" + "@eslint-react/jsx": "npm:1.17.2" + "@eslint-react/shared": "npm:1.17.2" + "@eslint-react/tools": "npm:1.17.2" + "@eslint-react/types": "npm:1.17.2" + "@eslint-react/var": "npm:1.17.2" + "@typescript-eslint/scope-manager": "npm:^8.16.0" + "@typescript-eslint/type-utils": "npm:^8.16.0" + "@typescript-eslint/types": "npm:^8.16.0" + "@typescript-eslint/utils": "npm:^8.16.0" + birecord: "npm:^0.1.1" + short-unique-id: "npm:^5.2.0" + ts-pattern: "npm:^5.5.0" + checksum: 10c0/fbc40530cf41c79bed4c3d94ad3a2f9fd0cd6eccdb6da3e1530b08aeff233a0a607de80eae9da97abaf18ed2c13d3386c9e29533c0d857be38a994d6127c04e6 + languageName: node + linkType: hard + +"@eslint-react/eslint-plugin@npm:^1.10.1": + version: 1.17.2 + resolution: "@eslint-react/eslint-plugin@npm:1.17.2" + dependencies: + "@eslint-react/shared": "npm:1.17.2" + "@eslint-react/tools": "npm:1.17.2" + "@eslint-react/types": "npm:1.17.2" + "@typescript-eslint/scope-manager": "npm:^8.16.0" + "@typescript-eslint/type-utils": "npm:^8.16.0" + "@typescript-eslint/types": "npm:^8.16.0" + "@typescript-eslint/utils": "npm:^8.16.0" + eslint-plugin-react-debug: "npm:1.17.2" + eslint-plugin-react-dom: "npm:1.17.2" + eslint-plugin-react-hooks-extra: "npm:1.17.2" + eslint-plugin-react-naming-convention: "npm:1.17.2" + eslint-plugin-react-web-api: "npm:1.17.2" + eslint-plugin-react-x: "npm:1.17.2" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: ^4.9.5 || ^5.3.3 + peerDependenciesMeta: + eslint: + optional: false + typescript: + optional: true + checksum: 10c0/63ee419ff732f00166e52e1da7aefd6ae6fad42baaf099263ff500e178d064eb3eb612c0a4fa06170250028c5d0f1a0625beaabd30c63186f5a8bb888b3f7bb5 + languageName: node + linkType: hard + +"@eslint-react/jsx@npm:1.17.2": + version: 1.17.2 + resolution: "@eslint-react/jsx@npm:1.17.2" + dependencies: + "@eslint-react/ast": "npm:1.17.2" + "@eslint-react/tools": "npm:1.17.2" + "@eslint-react/types": "npm:1.17.2" + "@eslint-react/var": "npm:1.17.2" + "@typescript-eslint/scope-manager": "npm:^8.16.0" + "@typescript-eslint/types": "npm:^8.16.0" + "@typescript-eslint/utils": "npm:^8.16.0" + birecord: "npm:^0.1.1" + ts-pattern: "npm:^5.5.0" + checksum: 10c0/c50566ea1b0bb855d4d0488e2baa0ba2a7b72dc7c91b64ec9a6cb28e1f8d2cc608a1f6695a528ce1cedaef0953540d0bac5f8c98a508e753bbfd58672debd2d0 + languageName: node + linkType: hard + +"@eslint-react/shared@npm:1.17.2": + version: 1.17.2 + resolution: "@eslint-react/shared@npm:1.17.2" + dependencies: + "@eslint-react/tools": "npm:1.17.2" + "@typescript-eslint/utils": "npm:^8.16.0" + local-pkg: "npm:^0.5.1" + picomatch: "npm:^4.0.2" + ts-pattern: "npm:^5.5.0" + checksum: 10c0/d0538077c45eacd372eb0b05379f97f05e0ab1ffe6b05a7bdc1a952f3f64fce73652699d37c6f1d5281bfcbc308aaec8805fc3f99d2352c0cf5484c29480a732 + languageName: node + linkType: hard + +"@eslint-react/tools@npm:1.17.2": + version: 1.17.2 + resolution: "@eslint-react/tools@npm:1.17.2" + checksum: 10c0/ad7222bb93f0766ccf94bd96205eb3412ab8c33fb4a4ffb8cce68cfdc712cbbbf0b14dc948274e771e248af95e3897042c369302f970738a0e555035049ccf78 + languageName: node + linkType: hard + +"@eslint-react/types@npm:1.17.2": + version: 1.17.2 + resolution: "@eslint-react/types@npm:1.17.2" + dependencies: + "@eslint-react/tools": "npm:1.17.2" + "@typescript-eslint/types": "npm:^8.16.0" + "@typescript-eslint/utils": "npm:^8.16.0" + checksum: 10c0/6fce23b85d1baefe121888b35bc2311aa4441dde4f9c9b57f9ed3128161221cbecc44e9bfc74b394a3b6d3b899ca67811a73e048616c81e4258f45228bdd1e3e + languageName: node + linkType: hard + +"@eslint-react/var@npm:1.17.2": + version: 1.17.2 + resolution: "@eslint-react/var@npm:1.17.2" + dependencies: + "@eslint-react/ast": "npm:1.17.2" + "@eslint-react/tools": "npm:1.17.2" + "@eslint-react/types": "npm:1.17.2" + "@typescript-eslint/scope-manager": "npm:^8.16.0" + "@typescript-eslint/types": "npm:^8.16.0" + "@typescript-eslint/utils": "npm:^8.16.0" + ts-pattern: "npm:^5.5.0" + checksum: 10c0/9b629e072d55cd918d9f2ea34134398819bee1d85947937eb697472117f2e53bca6b2de6fa76cabd9946ddc00eff508b9d125692c1ed592c41f6fdbf412063c6 + languageName: node + linkType: hard + +"@eslint/compat@npm:^1.1.1": + version: 1.2.3 + resolution: "@eslint/compat@npm:1.2.3" + peerDependencies: + eslint: ^9.10.0 + peerDependenciesMeta: + eslint: + optional: true + checksum: 10c0/b7439e62f73b9a05abea3b54ad8edc171e299171fc4673fc5a2c84d97a584bb9487a7f0bee397342f6574bd53597819a8abe52f1ca72184378cf387275b84e32 + languageName: node + linkType: hard + +"@eslint/config-array@npm:^0.19.0": + version: 0.19.0 + resolution: "@eslint/config-array@npm:0.19.0" + dependencies: + "@eslint/object-schema": "npm:^2.1.4" + debug: "npm:^4.3.1" + minimatch: "npm:^3.1.2" + checksum: 10c0/def23c6c67a8f98dc88f1b87e17a5668e5028f5ab9459661aabfe08e08f2acd557474bbaf9ba227be0921ae4db232c62773dbb7739815f8415678eb8f592dbf5 + languageName: node + linkType: hard + +"@eslint/core@npm:^0.9.0": + version: 0.9.0 + resolution: "@eslint/core@npm:0.9.0" + checksum: 10c0/6d8e8e0991cef12314c49425d8d2d9394f5fb1a36753ff82df7c03185a4646cb7c8736cf26638a4a714782cedf4b23cfc17667d282d3e5965b3920a0e7ce20d4 + languageName: node + linkType: hard + "@eslint/eslintrc@npm:^2.1.4": version: 2.1.4 resolution: "@eslint/eslintrc@npm:2.1.4" @@ -6134,6 +6250,23 @@ __metadata: languageName: node linkType: hard +"@eslint/eslintrc@npm:^3.2.0": + version: 3.2.0 + resolution: "@eslint/eslintrc@npm:3.2.0" + dependencies: + ajv: "npm:^6.12.4" + debug: "npm:^4.3.2" + espree: "npm:^10.0.1" + globals: "npm:^14.0.0" + ignore: "npm:^5.2.0" + import-fresh: "npm:^3.2.1" + js-yaml: "npm:^4.1.0" + minimatch: "npm:^3.1.2" + strip-json-comments: "npm:^3.1.1" + checksum: 10c0/43867a07ff9884d895d9855edba41acf325ef7664a8df41d957135a81a477ff4df4196f5f74dc3382627e5cc8b7ad6b815c2cea1b58f04a75aced7c43414ab8b + languageName: node + linkType: hard + "@eslint/js@npm:8.57.0": version: 8.57.0 resolution: "@eslint/js@npm:8.57.0" @@ -6141,6 +6274,29 @@ __metadata: languageName: node linkType: hard +"@eslint/js@npm:9.16.0, @eslint/js@npm:^9.14.0": + version: 9.16.0 + resolution: "@eslint/js@npm:9.16.0" + checksum: 10c0/a55846a4ddade720662d36682f3eaaf38eac06eeee12c83bb837bba2b7d550dadcb3445b104219f0bc1da2e09b4fe5fb5ba123b8338c8c787bcfbd540878df75 + languageName: node + linkType: hard + +"@eslint/object-schema@npm:^2.1.4": + version: 2.1.4 + resolution: "@eslint/object-schema@npm:2.1.4" + checksum: 10c0/e9885532ea70e483fb007bf1275968b05bb15ebaa506d98560c41a41220d33d342e19023d5f2939fed6eb59676c1bda5c847c284b4b55fce521d282004da4dda + languageName: node + linkType: hard + +"@eslint/plugin-kit@npm:^0.2.3": + version: 0.2.3 + resolution: "@eslint/plugin-kit@npm:0.2.3" + dependencies: + levn: "npm:^0.4.1" + checksum: 10c0/89a8035976bb1780e3fa8ffe682df013bd25f7d102d991cecd3b7c297f4ce8c1a1b6805e76dd16465b5353455b670b545eff2b4ec3133e0eab81a5f9e99bd90f + languageName: node + linkType: hard + "@exodus/schemasafe@npm:^1.0.0-rc.2": version: 1.3.0 resolution: "@exodus/schemasafe@npm:1.3.0" @@ -6306,12 +6462,12 @@ __metadata: languageName: node linkType: hard -"@google-cloud/vertexai@npm:1.9.2": - version: 1.9.2 - resolution: "@google-cloud/vertexai@npm:1.9.2" +"@google-cloud/vertexai@npm:1.9.0": + version: 1.9.0 + resolution: "@google-cloud/vertexai@npm:1.9.0" dependencies: google-auth-library: "npm:^9.1.0" - checksum: 10c0/d380fb9a1857019acdec6da99ab307bc3a9fe2d096138bf7ff7dc4dcc3c69ab8722a512a4ea365ac6c3311b808e230ecbddfd4ec949d98a69d22878a6bb002c5 + checksum: 10c0/6568fa105a180b4d27be31be92e6c71b9f8d018bb432631d63e0bb37cc299811895dbf237b9c560a1558de4f87b18882bdbb8e976ce43bf75bf80d998f395d76 languageName: node linkType: hard @@ -7254,8 +7410,8 @@ __metadata: "@local/hash-isomorphic-utils": "npm:0.0.0-private" "@local/hash-subgraph": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - "@mui/material": "npm:5.16.9" - "@mui/system": "npm:5.16.8" + "@mui/material": "npm:5.16.7" + "@mui/system": "npm:5.16.7" "@types/react": "npm:18.2.68" "@types/react-dom": "npm:18.2.25" "@types/react-syntax-highlighter": "npm:15.5.13" @@ -7270,8 +7426,8 @@ __metadata: peerDependencies: "@emotion/react": 11.13.5 "@emotion/styled": 11.13.5 - "@mui/material": 5.16.9 - "@mui/system": 5.16.8 + "@mui/material": 5.16.7 + "@mui/system": 5.16.7 react: ^18.2.0 react-dom: ^18.2.0 languageName: unknown @@ -7291,8 +7447,8 @@ __metadata: "@local/eslint-config": "npm:0.0.0-private" "@local/hash-isomorphic-utils": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - "@mui/material": "npm:5.16.9" - "@mui/system": "npm:5.16.8" + "@mui/material": "npm:5.16.7" + "@mui/system": "npm:5.16.7" "@storybook/react": "npm:7.6.20" "@types/react": "npm:18.2.68" "@types/react-dom": "npm:18.2.25" @@ -7308,8 +7464,8 @@ __metadata: "@emotion/cache": 11.13.5 "@emotion/react": 11.13.5 "@emotion/styled": 11.13.5 - "@mui/material": 5.16.9 - "@mui/system": 5.16.8 + "@mui/material": 5.16.7 + "@mui/system": 5.16.7 react: ^18.2.0 react-dom: ^18.2.0 languageName: unknown @@ -7325,20 +7481,20 @@ __metadata: "@fortawesome/free-solid-svg-icons": "npm:6.7.1" "@hashintel/design-system": "npm:0.0.8" "@local/eslint-config": "npm:0.0.0-private" - "@mui/material": "npm:5.16.9" - "@mui/system": "npm:5.16.8" + "@mui/material": "npm:5.16.7" + "@mui/system": "npm:5.16.7" clsx: "npm:1.2.1" eslint: "npm:8.57.0" react: "npm:18.2.0" react-dom: "npm:18.2.0" - react-hook-form: "npm:7.54.0" + react-hook-form: "npm:7.53.2" typescript: "npm:5.6.3" peerDependencies: "@mui/material": ^5.14.0 "@mui/system": ^5.14.0 react: ^18.0.0 react-dom: ^18.0.0 - react-hook-form: 7.54.0 + react-hook-form: 7.53.2 languageName: unknown linkType: soft @@ -7353,8 +7509,8 @@ __metadata: "@hashintel/design-system": "npm:0.0.8" "@local/eslint-config": "npm:0.0.0-private" "@local/hash-subgraph": "npm:0.0.0-private" - "@mui/material": "npm:5.16.9" - "@mui/system": "npm:5.16.8" + "@mui/material": "npm:5.16.7" + "@mui/system": "npm:5.16.7" "@types/lodash.memoize": "npm:4.1.9" "@types/lodash.uniqueid": "npm:4.0.9" clsx: "npm:1.2.1" @@ -7364,7 +7520,7 @@ __metadata: material-ui-popup-state: "npm:4.1.0" react: "npm:18.2.0" react-dom: "npm:18.2.0" - react-hook-form: "npm:7.54.0" + react-hook-form: "npm:7.53.2" rooks: "npm:7.14.1" setimmediate: "npm:1.0.5" typescript: "npm:5.6.3" @@ -7373,7 +7529,7 @@ __metadata: "@mui/system": ^5.14.0 react: ^18.0.0 react-dom: ^18.0.0 - react-hook-form: 7.54.0 + react-hook-form: 7.53.2 languageName: unknown linkType: soft @@ -7384,6 +7540,23 @@ __metadata: languageName: node linkType: hard +"@humanfs/core@npm:^0.19.1": + version: 0.19.1 + resolution: "@humanfs/core@npm:0.19.1" + checksum: 10c0/aa4e0152171c07879b458d0e8a704b8c3a89a8c0541726c6b65b81e84fd8b7564b5d6c633feadc6598307d34564bd53294b533491424e8e313d7ab6c7bc5dc67 + languageName: node + linkType: hard + +"@humanfs/node@npm:^0.16.6": + version: 0.16.6 + resolution: "@humanfs/node@npm:0.16.6" + dependencies: + "@humanfs/core": "npm:^0.19.1" + "@humanwhocodes/retry": "npm:^0.3.0" + checksum: 10c0/8356359c9f60108ec204cbd249ecd0356667359b2524886b357617c4a7c3b6aace0fd5a369f63747b926a762a88f8a25bc066fa1778508d110195ce7686243e1 + languageName: node + linkType: hard + "@humanwhocodes/config-array@npm:^0.11.14": version: 0.11.14 resolution: "@humanwhocodes/config-array@npm:0.11.14" @@ -7409,6 +7582,20 @@ __metadata: languageName: node linkType: hard +"@humanwhocodes/retry@npm:^0.3.0": + version: 0.3.1 + resolution: "@humanwhocodes/retry@npm:0.3.1" + checksum: 10c0/f0da1282dfb45e8120480b9e2e275e2ac9bbe1cf016d046fdad8e27cc1285c45bb9e711681237944445157b430093412b4446c1ab3fc4bb037861b5904101d3b + languageName: node + linkType: hard + +"@humanwhocodes/retry@npm:^0.4.1": + version: 0.4.1 + resolution: "@humanwhocodes/retry@npm:0.4.1" + checksum: 10c0/be7bb6841c4c01d0b767d9bb1ec1c9359ee61421ce8ba66c249d035c5acdfd080f32d55a5c9e859cdd7868788b8935774f65b2caf24ec0b7bd7bf333791f063b + languageName: node + linkType: hard + "@img/sharp-darwin-arm64@npm:0.33.5": version: 0.33.5 resolution: "@img/sharp-darwin-arm64@npm:0.33.5" @@ -8040,226 +8227,6 @@ __metadata: languageName: node linkType: hard -"@libp2p/crypto@npm:5.0.7, @libp2p/crypto@npm:^5.0.0, @libp2p/crypto@npm:^5.0.7": - version: 5.0.7 - resolution: "@libp2p/crypto@npm:5.0.7" - dependencies: - "@libp2p/interface": "npm:^2.2.1" - "@noble/curves": "npm:^1.4.0" - "@noble/hashes": "npm:^1.4.0" - asn1js: "npm:^3.0.5" - multiformats: "npm:^13.1.0" - protons-runtime: "npm:^5.4.0" - uint8arraylist: "npm:^2.4.8" - uint8arrays: "npm:^5.1.0" - checksum: 10c0/f55ff2d7203b1c81d306b657407fc2b98069ed17c35ec372ebc98596df0669980b8ced8ca587fac049d5b8ccca837591ed4034c46778520b1cea26bf9c01851a - languageName: node - linkType: hard - -"@libp2p/identify@npm:3.0.12": - version: 3.0.12 - resolution: "@libp2p/identify@npm:3.0.12" - dependencies: - "@libp2p/crypto": "npm:^5.0.7" - "@libp2p/interface": "npm:^2.2.1" - "@libp2p/interface-internal": "npm:^2.1.1" - "@libp2p/peer-id": "npm:^5.0.8" - "@libp2p/peer-record": "npm:^8.0.12" - "@libp2p/utils": "npm:^6.2.1" - "@multiformats/multiaddr": "npm:^12.2.3" - "@multiformats/multiaddr-matcher": "npm:^1.2.1" - it-drain: "npm:^3.0.7" - it-parallel: "npm:^3.0.7" - it-protobuf-stream: "npm:^1.1.3" - protons-runtime: "npm:^5.4.0" - uint8arraylist: "npm:^2.4.8" - uint8arrays: "npm:^5.1.0" - wherearewe: "npm:^2.0.1" - checksum: 10c0/9e1e42760ceb095ce7b717ae53e913ef125b6190443a07220b1e32b3583e6b410d3f17e46d68cd84f329e304f43120d784a770966e3aa4ab647034d7c88e9d0a - languageName: node - linkType: hard - -"@libp2p/interface-internal@npm:^2.1.1": - version: 2.1.1 - resolution: "@libp2p/interface-internal@npm:2.1.1" - dependencies: - "@libp2p/interface": "npm:^2.2.1" - "@libp2p/peer-collections": "npm:^6.0.12" - "@multiformats/multiaddr": "npm:^12.2.3" - progress-events: "npm:^1.0.0" - uint8arraylist: "npm:^2.4.8" - checksum: 10c0/933f735df4da214fc96df8a1a9c7bdaba677e258939604ea3c6d687385ce02f1880273fa902115e9f1f8cee103f54e7158be6695f23eb97d959312360c74e996 - languageName: node - linkType: hard - -"@libp2p/interface@npm:2.2.1, @libp2p/interface@npm:^2.0.0, @libp2p/interface@npm:^2.2.1": - version: 2.2.1 - resolution: "@libp2p/interface@npm:2.2.1" - dependencies: - "@multiformats/multiaddr": "npm:^12.2.3" - it-pushable: "npm:^3.2.3" - it-stream-types: "npm:^2.0.1" - multiformats: "npm:^13.1.0" - progress-events: "npm:^1.0.0" - uint8arraylist: "npm:^2.4.8" - checksum: 10c0/0eeff44808dd3a96effd44fee805efa3ef8db8b70b0cbd3e3c467949d26f0b1fd9887297f487764083b451907262b88a6e14f8b722df139e5feeda9266c21602 - languageName: node - linkType: hard - -"@libp2p/logger@npm:^5.0.1, @libp2p/logger@npm:^5.1.4": - version: 5.1.4 - resolution: "@libp2p/logger@npm:5.1.4" - dependencies: - "@libp2p/interface": "npm:^2.2.1" - "@multiformats/multiaddr": "npm:^12.2.3" - interface-datastore: "npm:^8.3.0" - multiformats: "npm:^13.1.0" - weald: "npm:^1.0.2" - checksum: 10c0/784266ce2171b93ea35ee43db8c0c405afcf46195ed2364193d8dff23ef80096b13ccca64c9d3c5838fe010281f01d6afb0b131d224ed94ab3854f5f7b657ea6 - languageName: node - linkType: hard - -"@libp2p/multistream-select@npm:^6.0.9": - version: 6.0.9 - resolution: "@libp2p/multistream-select@npm:6.0.9" - dependencies: - "@libp2p/interface": "npm:^2.2.1" - it-length-prefixed: "npm:^9.0.4" - it-length-prefixed-stream: "npm:^1.1.7" - it-stream-types: "npm:^2.0.1" - p-defer: "npm:^4.0.1" - race-signal: "npm:^1.0.2" - uint8-varint: "npm:^2.0.4" - uint8arraylist: "npm:^2.4.8" - uint8arrays: "npm:^5.1.0" - checksum: 10c0/018294a96932ceacfaf0e0a2a42d7b6e7f9a50879d6e06041fe3b5cec36b0d699898eb8139c4679524d0e76a4c6f438edf6b38d4dddbdf4c91be232ef6d4ba13 - languageName: node - linkType: hard - -"@libp2p/peer-collections@npm:^6.0.12": - version: 6.0.12 - resolution: "@libp2p/peer-collections@npm:6.0.12" - dependencies: - "@libp2p/interface": "npm:^2.2.1" - "@libp2p/peer-id": "npm:^5.0.8" - "@libp2p/utils": "npm:^6.2.1" - multiformats: "npm:^13.2.2" - checksum: 10c0/06aa7ab570ef577ff701a9b582921abb737d28e7ae975419273fb7575ea756f45698befa6f4ec4c583242dee3321c876d3aa5dc03487240d1cdba3902e903c00 - languageName: node - linkType: hard - -"@libp2p/peer-id@npm:^5.0.0, @libp2p/peer-id@npm:^5.0.8": - version: 5.0.8 - resolution: "@libp2p/peer-id@npm:5.0.8" - dependencies: - "@libp2p/crypto": "npm:^5.0.7" - "@libp2p/interface": "npm:^2.2.1" - multiformats: "npm:^13.1.0" - uint8arrays: "npm:^5.1.0" - checksum: 10c0/e4a84545955e31f4fae0f150d8d16216b4a3cfe7230c529fc6a6f9285f9c726f98f9aebc5793da4c3019ce0abbd8071a25dae60f5e34ada6fa4a9b4a1546a400 - languageName: node - linkType: hard - -"@libp2p/peer-record@npm:^8.0.12": - version: 8.0.12 - resolution: "@libp2p/peer-record@npm:8.0.12" - dependencies: - "@libp2p/crypto": "npm:^5.0.7" - "@libp2p/interface": "npm:^2.2.1" - "@libp2p/peer-id": "npm:^5.0.8" - "@libp2p/utils": "npm:^6.2.1" - "@multiformats/multiaddr": "npm:^12.2.3" - multiformats: "npm:^13.2.2" - protons-runtime: "npm:^5.4.0" - uint8-varint: "npm:^2.0.4" - uint8arraylist: "npm:^2.4.8" - uint8arrays: "npm:^5.1.0" - checksum: 10c0/0f48c8734f25176864adfafceb57fc1293a1bf7d912ce2c8716a29ec193904f949f157fa418c4810c83b155ad18b3f74c357f61094dd147d5196ea48344c4406 - languageName: node - linkType: hard - -"@libp2p/peer-store@npm:^11.0.12": - version: 11.0.12 - resolution: "@libp2p/peer-store@npm:11.0.12" - dependencies: - "@libp2p/crypto": "npm:^5.0.7" - "@libp2p/interface": "npm:^2.2.1" - "@libp2p/peer-id": "npm:^5.0.8" - "@libp2p/peer-record": "npm:^8.0.12" - "@multiformats/multiaddr": "npm:^12.2.3" - interface-datastore: "npm:^8.3.0" - it-all: "npm:^3.0.6" - mortice: "npm:^3.0.4" - multiformats: "npm:^13.1.0" - protons-runtime: "npm:^5.4.0" - uint8arraylist: "npm:^2.4.8" - uint8arrays: "npm:^5.1.0" - checksum: 10c0/f8e4f48f00e7c82926b59f4cd9a812586ef73de287ec191635c9def0c8ac44a9ca229f0cb5d820950a70ffe06c494399a45351f39f24c49918fcdb3aa44fe441 - languageName: node - linkType: hard - -"@libp2p/ping@npm:2.0.12": - version: 2.0.12 - resolution: "@libp2p/ping@npm:2.0.12" - dependencies: - "@libp2p/crypto": "npm:^5.0.7" - "@libp2p/interface": "npm:^2.2.1" - "@libp2p/interface-internal": "npm:^2.1.1" - "@multiformats/multiaddr": "npm:^12.2.3" - it-byte-stream: "npm:^1.1.0" - uint8arrays: "npm:^5.1.0" - checksum: 10c0/84fe8f1c24dd5d8854cab1f37a9f2582abf1039ac7fc0bea8629e7a066a1555843c8bf1a3e19544b22c36b8f4696edb010c082417593ad9ab54e4bb512daf2fd - languageName: node - linkType: hard - -"@libp2p/tcp@npm:10.0.13": - version: 10.0.13 - resolution: "@libp2p/tcp@npm:10.0.13" - dependencies: - "@libp2p/interface": "npm:^2.2.1" - "@libp2p/utils": "npm:^6.2.1" - "@multiformats/mafmt": "npm:^12.1.6" - "@multiformats/multiaddr": "npm:^12.2.3" - "@types/sinon": "npm:^17.0.3" - p-defer: "npm:^4.0.1" - p-event: "npm:^6.0.1" - progress-events: "npm:^1.0.0" - race-event: "npm:^1.3.0" - stream-to-it: "npm:^1.0.1" - checksum: 10c0/b67c3a5484124e26b0e620e532d02cd058c454f894774703e1d88f4650df8a55cd1e8ed6c63293a7c94d1c0179fb9d967aafc5ae5936a09d129f34ec75d34a28 - languageName: node - linkType: hard - -"@libp2p/utils@npm:^6.0.0, @libp2p/utils@npm:^6.2.1": - version: 6.2.1 - resolution: "@libp2p/utils@npm:6.2.1" - dependencies: - "@chainsafe/is-ip": "npm:^2.0.2" - "@libp2p/crypto": "npm:^5.0.7" - "@libp2p/interface": "npm:^2.2.1" - "@libp2p/logger": "npm:^5.1.4" - "@multiformats/multiaddr": "npm:^12.2.3" - "@sindresorhus/fnv1a": "npm:^3.1.0" - "@types/murmurhash3js-revisited": "npm:^3.0.3" - any-signal: "npm:^4.1.1" - delay: "npm:^6.0.0" - get-iterator: "npm:^2.0.1" - is-loopback-addr: "npm:^2.0.2" - it-foreach: "npm:^2.1.1" - it-pipe: "npm:^3.0.1" - it-pushable: "npm:^3.2.3" - it-stream-types: "npm:^2.0.1" - murmurhash3js-revisited: "npm:^3.0.0" - netmask: "npm:^2.0.2" - p-defer: "npm:^4.0.1" - race-event: "npm:^1.3.0" - race-signal: "npm:^1.0.2" - uint8arraylist: "npm:^2.4.8" - uint8arrays: "npm:^5.1.0" - checksum: 10c0/6ad55b55d79e89e7d25b90463d59b85c23f41d5392997e10412d2737236f20de6d268e1d8aae9209b7f8f2d34403b3c6bbf058aa15c2068eb20f0736a76e4b28 - languageName: node - linkType: hard - "@linaria/core@npm:^4.5.4": version: 4.5.4 resolution: "@linaria/core@npm:4.5.4" @@ -8421,10 +8388,10 @@ __metadata: dependencies: "@babel/core": "npm:7.26.0" "@babel/eslint-parser": "npm:7.25.9" - "@babel/preset-react": "npm:7.26.3" + "@babel/preset-react": "npm:7.25.9" "@local/tsconfig": "npm:0.0.0-private" "@types/eslint": "npm:8.56.12" - "@types/node": "npm:22.10.1" + "@types/node": "npm:22.10.0" "@typescript-eslint/eslint-plugin": "npm:7.2.0" "@typescript-eslint/parser": "npm:7.2.0" eslint: "npm:8.57.0" @@ -8442,35 +8409,38 @@ __metadata: languageName: unknown linkType: soft -"@local/harpc-client@npm:0.0.0-private, @local/harpc-client@workspace:libs/@local/harpc/client/typescript": +"@local/eslint@workspace:libs/@local/eslint": + version: 0.0.0-use.local + resolution: "@local/eslint@workspace:libs/@local/eslint" + dependencies: + "@types/eslint": "npm:9.6.1" + effect: "npm:3.11.0" + eslint: "npm:9.16.0" + eslint-config-sheriff: "npm:25.3.0" + eslint-define-config: "npm:2.1.0" + eslint-plugin-storybook: "npm:0.11.1" + rimraf: "npm:6.0.1" + typescript: "npm:5.7.2" + languageName: unknown + linkType: soft + +"@local/harpc-client@workspace:libs/@local/harpc/client/typescript": version: 0.0.0-use.local resolution: "@local/harpc-client@workspace:libs/@local/harpc/client/typescript" dependencies: - "@chainsafe/libp2p-noise": "npm:16.0.0" - "@chainsafe/libp2p-yamux": "npm:7.0.1" - "@effect/platform": "npm:0.70.4" - "@effect/platform-node": "npm:0.65.4" - "@effect/vitest": "npm:0.14.3" - "@libp2p/crypto": "npm:5.0.7" - "@libp2p/identify": "npm:3.0.12" - "@libp2p/interface": "npm:2.2.1" - "@libp2p/ping": "npm:2.0.12" - "@libp2p/tcp": "npm:10.0.13" + "@effect/platform": "npm:0.69.31" + "@effect/platform-node": "npm:0.64.33" + "@effect/vitest": "npm:0.13.19" "@local/eslint-config": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - "@multiformats/multiaddr": "npm:12.3.4" "@rust/harpc-wire-protocol": "npm:0.0.0-private" - "@types/node": "npm:22.10.1" - "@vitest/coverage-istanbul": "npm:2.1.8" - effect: "npm:3.11.3" + "@types/node": "npm:22.10.0" + "@vitest/coverage-istanbul": "npm:2.1.6" + effect: "npm:3.10.19" eslint: "npm:8.57.0" - it-stream-types: "npm:2.0.2" - libp2p: "npm:2.3.1" - multiformats: "npm:13.3.1" rimraf: "npm:6.0.1" typescript: "npm:5.6.3" - uint8arraylist: "npm:2.4.8" - vitest: "npm:2.1.8" + vitest: "npm:2.1.6" languageName: unknown linkType: soft @@ -8478,8 +8448,8 @@ __metadata: version: 0.0.0-use.local resolution: "@local/hash-backend-utils@workspace:libs/@local/hash-backend-utils" dependencies: - "@aws-sdk/client-s3": "npm:3.705.0" - "@aws-sdk/s3-request-presigner": "npm:3.705.0" + "@aws-sdk/client-s3": "npm:3.701.0" + "@aws-sdk/s3-request-presigner": "npm:3.701.0" "@blockprotocol/core": "npm:0.1.3" "@blockprotocol/graph": "npm:0.4.0-canary.0" "@blockprotocol/type-system": "npm:0.1.2-canary.0" @@ -8494,19 +8464,19 @@ __metadata: "@local/status": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@opensearch-project/opensearch": "npm:2.13.0" - "@sentry/node": "npm:7.120.1" + "@sentry/node": "npm:7.120.0" "@temporalio/activity": "npm:1.11.5" "@temporalio/client": "npm:1.11.5" "@temporalio/proto": "npm:1.11.5" "@temporalio/worker": "npm:1.11.5" "@temporalio/workflow": "npm:1.11.5" "@types/dotenv-flow": "npm:3.3.3" - "@types/node": "npm:22.10.1" + "@types/node": "npm:22.10.0" "@types/wait-on": "npm:5.3.4" - "@vitest/coverage-istanbul": "npm:2.1.8" + "@vitest/coverage-istanbul": "npm:2.1.6" agentkeepalive: "npm:4.5.0" apollo-datasource: "npm:3.3.2" - axios: "npm:1.7.9" + axios: "npm:1.7.8" dotenv-flow: "npm:3.3.0" eslint: "npm:8.57.0" exponential-backoff: "npm:3.1.1" @@ -8516,7 +8486,7 @@ __metadata: rimraf: "npm:6.0.1" slonik: "npm:24.2.0" typescript: "npm:5.6.3" - vitest: "npm:2.1.8" + vitest: "npm:2.1.6" wait-on: "npm:8.0.1" winston: "npm:3.17.0" languageName: unknown @@ -8529,10 +8499,11 @@ __metadata: "@local/eslint-config": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@openapitools/openapi-generator-cli": "npm:2.15.3" - "@redocly/cli": "npm:1.26.0" + "@redocly/cli": "npm:1.25.14" "@rust/hash-graph-api": "npm:0.0.0-private" - "@types/node": "npm:22.10.1" - axios: "npm:1.7.9" + "@types/node": "npm:22.10.0" + axios: "npm:1.7.8" + eslint: "npm:8.57.0" fix-esm-import-path: "npm:1.10.1" rimraf: "npm:6.0.1" typescript: "npm:5.6.3" @@ -8546,16 +8517,14 @@ __metadata: "@blockprotocol/graph": "npm:0.4.0-canary.0" "@local/advanced-types": "npm:0.0.0-private" "@local/eslint-config": "npm:0.0.0-private" - "@local/harpc-client": "npm:0.0.0-private" "@local/hash-graph-client": "npm:0.0.0-private" "@local/hash-graph-types": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - "@vitest/coverage-istanbul": "npm:2.1.8" - effect: "npm:3.11.3" + "@vitest/coverage-istanbul": "npm:2.1.6" eslint: "npm:8.57.0" rimraf: "npm:6.0.1" typescript: "npm:5.6.3" - vitest: "npm:2.1.8" + vitest: "npm:2.1.6" languageName: unknown linkType: soft @@ -8594,13 +8563,13 @@ __metadata: "@local/hash-graph-types": "npm:0.0.0-private" "@local/hash-subgraph": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - "@sentry/browser": "npm:7.120.1" + "@sentry/browser": "npm:7.120.0" "@sindresorhus/slugify": "npm:1.1.2" "@temporalio/workflow": "npm:1.11.5" "@types/lodash-es": "npm:4.17.12" - "@types/node": "npm:22.10.1" + "@types/node": "npm:22.10.0" "@types/pluralize": "npm:0.0.33" - "@vitest/coverage-istanbul": "npm:2.1.8" + "@vitest/coverage-istanbul": "npm:2.1.6" apollo-server-express: "npm:3.9.0" eslint: "npm:8.57.0" fix-esm-import-path: "npm:1.10.1" @@ -8612,7 +8581,7 @@ __metadata: lodash-es: "npm:4.17.21" next: "npm:13.5.5" pluralize: "npm:8.0.0" - prettier: "npm:3.4.2" + prettier: "npm:3.4.1" prosemirror-commands: "npm:1.3.1" prosemirror-dropcursor: "npm:1.6.1" prosemirror-keymap: "npm:1.2.0" @@ -8626,7 +8595,7 @@ __metadata: tsx: "npm:4.19.2" typescript: "npm:5.6.3" uuid: "npm:9.0.1" - vitest: "npm:2.1.8" + vitest: "npm:2.1.6" languageName: unknown linkType: soft @@ -8642,12 +8611,12 @@ __metadata: "@local/hash-graph-sdk": "npm:0.0.0-private" "@local/hash-graph-types": "npm:0.0.0-private" "@types/uuid": "npm:10.0.0" - "@vitest/coverage-istanbul": "npm:2.1.8" + "@vitest/coverage-istanbul": "npm:2.1.6" eslint: "npm:8.57.0" rimraf: "npm:6.0.1" typescript: "npm:5.6.3" uuid: "npm:9.0.1" - vitest: "npm:2.1.8" + vitest: "npm:2.1.6" languageName: unknown linkType: soft @@ -8657,9 +8626,10 @@ __metadata: dependencies: "@local/eslint-config": "npm:0.0.0-private" "@openapitools/openapi-generator-cli": "npm:2.15.3" - "@types/node": "npm:22.10.1" - axios: "npm:1.7.9" - prettier: "npm:3.4.2" + "@types/node": "npm:22.10.0" + axios: "npm:1.7.8" + eslint: "npm:8.57.0" + prettier: "npm:3.4.1" rimraf: "npm:6.0.1" typescript: "npm:5.6.3" languageName: unknown @@ -8673,14 +8643,14 @@ __metadata: "@local/eslint-config": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@types/fs-extra": "npm:9.0.13" - "@types/prettier": "npm:3.0.0" + "@types/prettier": "npm:2.7.3" chalk: "npm:4.1.2" envalid: "npm:7.3.1" eslint: "npm:8.57.0" execa: "npm:5.1.1" fs-extra: "npm:11.1.0" globby: "npm:11.1.0" - prettier: "npm:3.4.2" + prettier: "npm:3.4.1" regex-parser: "npm:2.3.0" tsx: "npm:4.19.2" typescript: "npm:5.6.3" @@ -8694,7 +8664,7 @@ __metadata: "@local/eslint-config": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@types/lodash-es": "npm:4.17.12" - "@types/node": "npm:22.10.1" + "@types/node": "npm:22.10.0" "@types/yargs": "npm:17.0.33" eslint: "npm:8.57.0" execa: "npm:5.1.1" @@ -8835,6 +8805,25 @@ __metadata: languageName: node linkType: hard +"@microsoft/tsdoc-config@npm:0.16.2": + version: 0.16.2 + resolution: "@microsoft/tsdoc-config@npm:0.16.2" + dependencies: + "@microsoft/tsdoc": "npm:0.14.2" + ajv: "npm:~6.12.6" + jju: "npm:~1.4.0" + resolve: "npm:~1.19.0" + checksum: 10c0/9e8c176b68f01c8bb38e6365d5b543e471bba59fced6070d9bd35b32461fbd650c2e1a6f686e8dca0cf22bc5e7d796e4213e66bce4426c8cb9864c1f6ca6836c + languageName: node + linkType: hard + +"@microsoft/tsdoc@npm:0.14.2": + version: 0.14.2 + resolution: "@microsoft/tsdoc@npm:0.14.2" + checksum: 10c0/c018857ad439144559ce34a397a29ace7cf5b24b999b8e3c1b88d878338088b3a453eaac4435beaf2c7eae13c4c0aac81e42f96f0f1d48e8d4eeb438eb3bb82f + languageName: node + linkType: hard + "@mistralai/mistralai@npm:^0.1.3": version: 0.1.3 resolution: "@mistralai/mistralai@npm:0.1.3" @@ -8983,26 +8972,26 @@ __metadata: languageName: node linkType: hard -"@mui/core-downloads-tracker@npm:^5.11.8, @mui/core-downloads-tracker@npm:^5.16.9": - version: 5.16.9 - resolution: "@mui/core-downloads-tracker@npm:5.16.9" - checksum: 10c0/73774e9dcf7c8549759ae5ebfe5d87761cecb8477f0624ac051e26f9cdb110167a39bd93ce119caf2620f5991af3cbf2865e0cb380d783c6ec109c4c3d563396 +"@mui/core-downloads-tracker@npm:^5.11.8, @mui/core-downloads-tracker@npm:^5.16.7": + version: 5.16.7 + resolution: "@mui/core-downloads-tracker@npm:5.16.7" + checksum: 10c0/4644c850160d01232c1abdbed141e4fa70e155891a9c68f0c2cc3054b4a3cdc1d28cf2d6665366fd8c725b2b091db677e11831552889a4e4e14f1e44450cf654 languageName: node linkType: hard -"@mui/icons-material@npm:5.16.9": - version: 5.16.9 - resolution: "@mui/icons-material@npm:5.16.9" +"@mui/icons-material@npm:5.16.7": + version: 5.16.7 + resolution: "@mui/icons-material@npm:5.16.7" dependencies: "@babel/runtime": "npm:^7.23.9" peerDependencies: "@mui/material": ^5.0.0 - "@types/react": ^17.0.0 || ^18.0.0 || ^19.0.0 - react: ^17.0.0 || ^18.0.0 || ^19.0.0 + "@types/react": ^17.0.0 || ^18.0.0 + react: ^17.0.0 || ^18.0.0 peerDependenciesMeta: "@types/react": optional: true - checksum: 10c0/30a4901367ef6df6b1d92315be5e8ac47300aeea924a95b3590081bef62d7f42d9b71773c4022c3f36b70c9abb52ba099899e95a8b23e8bbafb04748d9eec501 + checksum: 10c0/49bab1754334798acaf93187d27200cf90d7c50b6a019531594aeac9e5ced9168281fec70bb040792dc86c8bc0d3bf9a876f22cfbf86ad07941ca6bc6c564921 languageName: node linkType: hard @@ -9039,15 +9028,15 @@ __metadata: languageName: node linkType: hard -"@mui/material@npm:5.16.9, @mui/material@npm:^5.0.0, @mui/material@npm:^5.10.4": - version: 5.16.9 - resolution: "@mui/material@npm:5.16.9" +"@mui/material@npm:5.16.7, @mui/material@npm:^5.0.0, @mui/material@npm:^5.10.4": + version: 5.16.7 + resolution: "@mui/material@npm:5.16.7" dependencies: "@babel/runtime": "npm:^7.23.9" - "@mui/core-downloads-tracker": "npm:^5.16.9" - "@mui/system": "npm:^5.16.8" + "@mui/core-downloads-tracker": "npm:^5.16.7" + "@mui/system": "npm:^5.16.7" "@mui/types": "npm:^7.2.15" - "@mui/utils": "npm:^5.16.8" + "@mui/utils": "npm:^5.16.6" "@popperjs/core": "npm:^2.11.8" "@types/react-transition-group": "npm:^4.4.10" clsx: "npm:^2.1.0" @@ -9058,9 +9047,9 @@ __metadata: peerDependencies: "@emotion/react": ^11.5.0 "@emotion/styled": ^11.3.0 - "@types/react": ^17.0.0 || ^18.0.0 || ^19.0.0 - react: ^17.0.0 || ^18.0.0 || ^19.0.0 - react-dom: ^17.0.0 || ^18.0.0 || ^19.0.0 + "@types/react": ^17.0.0 || ^18.0.0 + react: ^17.0.0 || ^18.0.0 + react-dom: ^17.0.0 || ^18.0.0 peerDependenciesMeta: "@emotion/react": optional: true @@ -9068,30 +9057,30 @@ __metadata: optional: true "@types/react": optional: true - checksum: 10c0/b6d3d9c7449f2a496d0589ae7da1186328fa41d0bd57256ee90071bb9d650c5933041c07769cd13f756a9274cdd9e47c4ac4fa323a7652bb74f1c03ad2217670 + checksum: 10c0/b11419c1a77835413471f9352586fed65fb5de19c6737e121669da0484c441c7dd9939aa73fdad779482c30efaa694fb9fdcf18dcf418af07881e60eaff92b4f languageName: node linkType: hard -"@mui/private-theming@npm:^5.16.8": - version: 5.16.8 - resolution: "@mui/private-theming@npm:5.16.8" +"@mui/private-theming@npm:^5.16.6": + version: 5.16.6 + resolution: "@mui/private-theming@npm:5.16.6" dependencies: "@babel/runtime": "npm:^7.23.9" - "@mui/utils": "npm:^5.16.8" + "@mui/utils": "npm:^5.16.6" prop-types: "npm:^15.8.1" peerDependencies: - "@types/react": ^17.0.0 || ^18.0.0 || ^19.0.0 - react: ^17.0.0 || ^18.0.0 || ^19.0.0 + "@types/react": ^17.0.0 || ^18.0.0 + react: ^17.0.0 || ^18.0.0 peerDependenciesMeta: "@types/react": optional: true - checksum: 10c0/737e6930be1dbd1dff01702e6583b8a507ca01a4a0ec140d766985b7ebaf8c444d78da52cdada89989728be444d4cd13509ba8950c4397af87c4fc8c8162741b + checksum: 10c0/0a09afd6c2be37197973a856049f97e2f17f3e5e6cf6387af036055342efbfcd7d7066dcad587886f25f491e5940e4e9bb7d732d5099eb85b53b84ef120e9555 languageName: node linkType: hard -"@mui/styled-engine@npm:^5.16.8": - version: 5.16.8 - resolution: "@mui/styled-engine@npm:5.16.8" +"@mui/styled-engine@npm:^5.16.6": + version: 5.16.6 + resolution: "@mui/styled-engine@npm:5.16.6" dependencies: "@babel/runtime": "npm:^7.23.9" "@emotion/cache": "npm:^11.11.0" @@ -9100,33 +9089,33 @@ __metadata: peerDependencies: "@emotion/react": ^11.4.1 "@emotion/styled": ^11.3.0 - react: ^17.0.0 || ^18.0.0 || ^19.0.0 + react: ^17.0.0 || ^18.0.0 peerDependenciesMeta: "@emotion/react": optional: true "@emotion/styled": optional: true - checksum: 10c0/9c1866cf94fed61013324458be623f2de0c0cb6be065730c12441e798172a08389524b4b011c9e5a120bcc50c07cc7a835d365bd75a8b60f9a553d1de9c8af20 + checksum: 10c0/b15e653c8756059c8ae2891ca54900573e22f6ed1aaf65a389ec838f2aca3252aeeb9a79aec4a43f080152b161a416e60b31a62595ba86ad5f72eda5642caaf2 languageName: node linkType: hard -"@mui/system@npm:5.16.8, @mui/system@npm:^5.11.8, @mui/system@npm:^5.16.8": - version: 5.16.8 - resolution: "@mui/system@npm:5.16.8" +"@mui/system@npm:5.16.7, @mui/system@npm:^5.11.8, @mui/system@npm:^5.16.7": + version: 5.16.7 + resolution: "@mui/system@npm:5.16.7" dependencies: "@babel/runtime": "npm:^7.23.9" - "@mui/private-theming": "npm:^5.16.8" - "@mui/styled-engine": "npm:^5.16.8" + "@mui/private-theming": "npm:^5.16.6" + "@mui/styled-engine": "npm:^5.16.6" "@mui/types": "npm:^7.2.15" - "@mui/utils": "npm:^5.16.8" + "@mui/utils": "npm:^5.16.6" clsx: "npm:^2.1.0" csstype: "npm:^3.1.3" prop-types: "npm:^15.8.1" peerDependencies: "@emotion/react": ^11.5.0 "@emotion/styled": ^11.3.0 - "@types/react": ^17.0.0 || ^18.0.0 || ^19.0.0 - react: ^17.0.0 || ^18.0.0 || ^19.0.0 + "@types/react": ^17.0.0 || ^18.0.0 + react: ^17.0.0 || ^18.0.0 peerDependenciesMeta: "@emotion/react": optional: true @@ -9134,7 +9123,7 @@ __metadata: optional: true "@types/react": optional: true - checksum: 10c0/9b950b606fb8dd3ca4a737c2d945e0b7b30236d3857977ffc6e0dd9bc0781e00693b3690fcc80d595a6e0ad21a36cab5ed1f64df7a3217e0b033d961d91a7e51 + checksum: 10c0/c07479c0728433847c1e3d7f57b96d9e0770cc814dfd1c9e070304955984a0b706832703b22388eb83906d1a01691f37047e2bac6a5e5c083e8c29a54302d476 languageName: node linkType: hard @@ -9150,9 +9139,9 @@ __metadata: languageName: node linkType: hard -"@mui/utils@npm:^5.11.7, @mui/utils@npm:^5.16.8": - version: 5.16.8 - resolution: "@mui/utils@npm:5.16.8" +"@mui/utils@npm:^5.11.7, @mui/utils@npm:^5.16.6": + version: 5.16.6 + resolution: "@mui/utils@npm:5.16.6" dependencies: "@babel/runtime": "npm:^7.23.9" "@mui/types": "npm:^7.2.15" @@ -9161,61 +9150,12 @@ __metadata: prop-types: "npm:^15.8.1" react-is: "npm:^18.3.1" peerDependencies: - "@types/react": ^17.0.0 || ^18.0.0 || ^19.0.0 - react: ^17.0.0 || ^18.0.0 || ^19.0.0 + "@types/react": ^17.0.0 || ^18.0.0 + react: ^17.0.0 || ^18.0.0 peerDependenciesMeta: "@types/react": optional: true - checksum: 10c0/86a1daf249a1dc766c0babe439c6874e092ce8239bdd67a57e81fc349934bdee0c98ee1833b282286847ffc16966edff88d9e2a47ac98577fb1010245191888a - languageName: node - linkType: hard - -"@multiformats/dns@npm:^1.0.3, @multiformats/dns@npm:^1.0.6": - version: 1.0.6 - resolution: "@multiformats/dns@npm:1.0.6" - dependencies: - "@types/dns-packet": "npm:^5.6.5" - buffer: "npm:^6.0.3" - dns-packet: "npm:^5.6.1" - hashlru: "npm:^2.3.0" - p-queue: "npm:^8.0.1" - progress-events: "npm:^1.0.0" - uint8arrays: "npm:^5.0.2" - checksum: 10c0/ab0323ec9e697fb345a47b68e9e6ee5e2def2f00e99467ac6c53c9b6f613cff2dc2b792e9270cfe385500b6cdcc565a1c6e6e7871c584a6bc49366441bc4fa7f - languageName: node - linkType: hard - -"@multiformats/mafmt@npm:^12.1.6": - version: 12.1.6 - resolution: "@multiformats/mafmt@npm:12.1.6" - dependencies: - "@multiformats/multiaddr": "npm:^12.0.0" - checksum: 10c0/aedae1275263b7350afdd8581b337c803420aee116fdd537f1ec0160b8333d58b51c19c45dcdf9a82c0188064c8aa0ce8f1a16bb7130a17f3b5b4d53177fe6da - languageName: node - linkType: hard - -"@multiformats/multiaddr-matcher@npm:^1.2.1": - version: 1.6.0 - resolution: "@multiformats/multiaddr-matcher@npm:1.6.0" - dependencies: - "@chainsafe/is-ip": "npm:^2.0.1" - "@multiformats/multiaddr": "npm:^12.0.0" - multiformats: "npm:^13.0.0" - checksum: 10c0/32d5f3264816452a71825848f74ebd67b8baef5bdf2337fb3caa1a280e572a60cadcf6d7d2f7031194bd126668fee5d00bed24fbc0ca77894eb5bdfeadc118b7 - languageName: node - linkType: hard - -"@multiformats/multiaddr@npm:12.3.4, @multiformats/multiaddr@npm:^12.0.0, @multiformats/multiaddr@npm:^12.2.3": - version: 12.3.4 - resolution: "@multiformats/multiaddr@npm:12.3.4" - dependencies: - "@chainsafe/is-ip": "npm:^2.0.1" - "@chainsafe/netmask": "npm:^2.0.0" - "@multiformats/dns": "npm:^1.0.3" - multiformats: "npm:^13.0.0" - uint8-varint: "npm:^2.0.1" - uint8arrays: "npm:^5.0.0" - checksum: 10c0/0fd1522e5e6e7ab5aa288188b33f958c866f32c754e8ad9270b232ee0842282a4572c15a7fd5480e7c35c237b53ab19862129a87acbf09aa38ea47a5619ae700 + checksum: 10c0/2db3d11a83d7216fb8ceb459d4b30c795922c04cd8fabc26c721dd7b4f5ed5c4f3f3ace6ea70227bf3b79361bd58f13b723562cfd40255424d979ab238ab2e91 languageName: node linkType: hard @@ -9313,6 +9253,15 @@ __metadata: languageName: node linkType: hard +"@next/eslint-plugin-next@npm:^13.2.3": + version: 13.5.7 + resolution: "@next/eslint-plugin-next@npm:13.5.7" + dependencies: + glob: "npm:7.1.7" + checksum: 10c0/5c12ef319dc463c586d0194c3dba16871d2d51ee51820eb0abfe9184b528af99e0c317d169580edde6024faa53ddce0195c23fc259fa6753104e7b8e80003c27 + languageName: node + linkType: hard + "@next/swc-darwin-arm64@npm:13.5.5": version: 13.5.5 resolution: "@next/swc-darwin-arm64@npm:13.5.5" @@ -9458,36 +9407,6 @@ __metadata: languageName: node linkType: hard -"@noble/ciphers@npm:^0.6.0": - version: 0.6.0 - resolution: "@noble/ciphers@npm:0.6.0" - checksum: 10c0/840900243306dbf4caad942d518dc215bbe83e4daf6385d9294e76ea39b0834ba21591271cf2dd5cc5e64f96f98cdb967065b75e804b0b338b10ed50415ea64e - languageName: node - linkType: hard - -"@noble/curves@npm:^1.1.0, @noble/curves@npm:^1.4.0": - version: 1.7.0 - resolution: "@noble/curves@npm:1.7.0" - dependencies: - "@noble/hashes": "npm:1.6.0" - checksum: 10c0/3317ec9b7699d2476707a89ceb3ddce60e69bac287561a31dd533669408633e093860fea5067eb9c54e5a7ced0705da1cba8859b6b1e0c48d3afff55fe2e77d0 - languageName: node - linkType: hard - -"@noble/hashes@npm:1.6.0": - version: 1.6.0 - resolution: "@noble/hashes@npm:1.6.0" - checksum: 10c0/e7e75898257fb36d933935fcdf1cc67ca7c083eb7b2411aa57fde7eb494c2cea0bec03686462032e25d5b0e1e4ab7357d1afb6718f6a68515db1f392141e9f14 - languageName: node - linkType: hard - -"@noble/hashes@npm:^1.3.1, @noble/hashes@npm:^1.4.0": - version: 1.6.1 - resolution: "@noble/hashes@npm:1.6.1" - checksum: 10c0/27643cd8b551bc933b57cc29aa8c8763d586552fc4c3e06ecf7897f55be3463c0c9dff7f6ebacd88e5ce6d0cdb5415ca4874d0cf4359b5ea4a85be21ada03aab - languageName: node - linkType: hard - "@nodelib/fs.scandir@npm:2.1.5": version: 2.1.5 resolution: "@nodelib/fs.scandir@npm:2.1.5" @@ -9745,12 +9664,12 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/api-logs@npm:0.56.0": - version: 0.56.0 - resolution: "@opentelemetry/api-logs@npm:0.56.0" +"@opentelemetry/api-logs@npm:0.55.0": + version: 0.55.0 + resolution: "@opentelemetry/api-logs@npm:0.55.0" dependencies: "@opentelemetry/api": "npm:^1.3.0" - checksum: 10c0/af78b5534fd8f93edc23811349c88acf9e7cc2c7d94f58a2b58f70016f97aaa80878096c46283fdb53fb7375df83f1a048ac8d5f52b3dc1c98a2184c3a5d50ff + checksum: 10c0/9de1601939df121828ed8c48fa2cd923df9d471ef53ca7345a809ff1a940d3541efb64d2adada123b9a7f7feafb1d2acc59fa70e30dc3c3261a17b351c1309c3 languageName: node linkType: hard @@ -9761,226 +9680,226 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/context-async-hooks@npm:1.29.0, @opentelemetry/context-async-hooks@npm:^1.17.1": - version: 1.29.0 - resolution: "@opentelemetry/context-async-hooks@npm:1.29.0" +"@opentelemetry/context-async-hooks@npm:1.28.0, @opentelemetry/context-async-hooks@npm:^1.17.1": + version: 1.28.0 + resolution: "@opentelemetry/context-async-hooks@npm:1.28.0" peerDependencies: "@opentelemetry/api": ">=1.0.0 <1.10.0" - checksum: 10c0/f7b5c6b4cad60021a0f7815016fda1b4b8d364348ecfa7e04fe07dfe9af90caaf4065fa5f9169a65f28b71aaf961672eed3849c42cd6484a9051dec0e5c9de5c + checksum: 10c0/bfd3b76dce4495d538307fef597c9145949f2b67b9096b1c06c63e14003cdee73fc06fa36bb512eb403f9e625caa4282024ca39367307524e501fcece93611dd languageName: node linkType: hard -"@opentelemetry/core@npm:1.29.0, @opentelemetry/core@npm:^1.8.0": - version: 1.29.0 - resolution: "@opentelemetry/core@npm:1.29.0" +"@opentelemetry/core@npm:1.28.0, @opentelemetry/core@npm:^1.8.0": + version: 1.28.0 + resolution: "@opentelemetry/core@npm:1.28.0" dependencies: - "@opentelemetry/semantic-conventions": "npm:1.28.0" + "@opentelemetry/semantic-conventions": "npm:1.27.0" peerDependencies: "@opentelemetry/api": ">=1.0.0 <1.10.0" - checksum: 10c0/393fa276262ecc0e7bd7db5f507a2118df0725afab0cea1cb071b8d0ec879c08d9d163a83bb13f77a6bd0ad0cb66094856eb19caf225da32d3b1767156105d26 + checksum: 10c0/4f87318ca59bc4c2f4302decfdbc3b3672604e4bbc7cb40d09f0ecbbe9e5a8b7db527a1c7ee17a93c3f9ca69c1dd88cc24cb07398b7828efc30ea9fcb8adbc4d languageName: node linkType: hard -"@opentelemetry/exporter-logs-otlp-grpc@npm:0.56.0": - version: 0.56.0 - resolution: "@opentelemetry/exporter-logs-otlp-grpc@npm:0.56.0" +"@opentelemetry/exporter-logs-otlp-grpc@npm:0.55.0": + version: 0.55.0 + resolution: "@opentelemetry/exporter-logs-otlp-grpc@npm:0.55.0" dependencies: "@grpc/grpc-js": "npm:^1.7.1" - "@opentelemetry/core": "npm:1.29.0" - "@opentelemetry/otlp-grpc-exporter-base": "npm:0.56.0" - "@opentelemetry/otlp-transformer": "npm:0.56.0" - "@opentelemetry/sdk-logs": "npm:0.56.0" + "@opentelemetry/core": "npm:1.28.0" + "@opentelemetry/otlp-grpc-exporter-base": "npm:0.55.0" + "@opentelemetry/otlp-transformer": "npm:0.55.0" + "@opentelemetry/sdk-logs": "npm:0.55.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/464bc15c6f1e237d29719ce884cbbc5f8708b4c274bc9e1998dfb4b0920aa67f6152fa19c31b510c14a5e4d9f226fc36bd7f324957b9e61c40cf39681c5ce796 + checksum: 10c0/9128ddf91a96fcec9bc916d027089eb09dff9061d7f8a85263182dcdfd139b412567871fe63ab9a84b6fb72eafd44d7fd05919b75f1d97baee4cb9505950f61f languageName: node linkType: hard -"@opentelemetry/exporter-logs-otlp-http@npm:0.56.0": - version: 0.56.0 - resolution: "@opentelemetry/exporter-logs-otlp-http@npm:0.56.0" +"@opentelemetry/exporter-logs-otlp-http@npm:0.55.0": + version: 0.55.0 + resolution: "@opentelemetry/exporter-logs-otlp-http@npm:0.55.0" dependencies: - "@opentelemetry/api-logs": "npm:0.56.0" - "@opentelemetry/core": "npm:1.29.0" - "@opentelemetry/otlp-exporter-base": "npm:0.56.0" - "@opentelemetry/otlp-transformer": "npm:0.56.0" - "@opentelemetry/sdk-logs": "npm:0.56.0" + "@opentelemetry/api-logs": "npm:0.55.0" + "@opentelemetry/core": "npm:1.28.0" + "@opentelemetry/otlp-exporter-base": "npm:0.55.0" + "@opentelemetry/otlp-transformer": "npm:0.55.0" + "@opentelemetry/sdk-logs": "npm:0.55.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/cfb7b90b6534f54632949139935a43d374e49ca70e05a84fc5fa157b5f5ced5357fbe8908221b56cb5e477a34fc57457774531b70023bb4002168bbff9dbb1ab + checksum: 10c0/c451c59b4b502f8d0cb7a034fea16523b9a4f187e05dfc0eb5ea8be81679c3bb8084a2a2e530516db8cc8dbf1e08ae28a8c1fc5ab827a6b85f187b35c24b6c6d languageName: node linkType: hard -"@opentelemetry/exporter-logs-otlp-proto@npm:0.56.0": - version: 0.56.0 - resolution: "@opentelemetry/exporter-logs-otlp-proto@npm:0.56.0" +"@opentelemetry/exporter-logs-otlp-proto@npm:0.55.0": + version: 0.55.0 + resolution: "@opentelemetry/exporter-logs-otlp-proto@npm:0.55.0" dependencies: - "@opentelemetry/api-logs": "npm:0.56.0" - "@opentelemetry/core": "npm:1.29.0" - "@opentelemetry/otlp-exporter-base": "npm:0.56.0" - "@opentelemetry/otlp-transformer": "npm:0.56.0" - "@opentelemetry/resources": "npm:1.29.0" - "@opentelemetry/sdk-logs": "npm:0.56.0" - "@opentelemetry/sdk-trace-base": "npm:1.29.0" + "@opentelemetry/api-logs": "npm:0.55.0" + "@opentelemetry/core": "npm:1.28.0" + "@opentelemetry/otlp-exporter-base": "npm:0.55.0" + "@opentelemetry/otlp-transformer": "npm:0.55.0" + "@opentelemetry/resources": "npm:1.28.0" + "@opentelemetry/sdk-logs": "npm:0.55.0" + "@opentelemetry/sdk-trace-base": "npm:1.28.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/4f1f18318f12186bebc7aa4c896c8f4286c772a7f6035d6f905296c9ccfdd5bb1379c6b6492d7d29e675e4f05090de3d1a3b9c93359909c4c5a76e1254972af5 + checksum: 10c0/0f6ca147dbefba1b81a80d49b4f1bd7e9c46cac1201bb7e93265339756ae628118d8048ebc00521d8dd5a397eae052059e4181ee9f7a2867ea1780406ccf71d4 languageName: node linkType: hard -"@opentelemetry/exporter-metrics-otlp-grpc@npm:0.56.0": - version: 0.56.0 - resolution: "@opentelemetry/exporter-metrics-otlp-grpc@npm:0.56.0" +"@opentelemetry/exporter-metrics-otlp-grpc@npm:0.55.0": + version: 0.55.0 + resolution: "@opentelemetry/exporter-metrics-otlp-grpc@npm:0.55.0" dependencies: "@grpc/grpc-js": "npm:^1.7.1" - "@opentelemetry/core": "npm:1.29.0" - "@opentelemetry/exporter-metrics-otlp-http": "npm:0.56.0" - "@opentelemetry/otlp-exporter-base": "npm:0.56.0" - "@opentelemetry/otlp-grpc-exporter-base": "npm:0.56.0" - "@opentelemetry/otlp-transformer": "npm:0.56.0" - "@opentelemetry/resources": "npm:1.29.0" - "@opentelemetry/sdk-metrics": "npm:1.29.0" + "@opentelemetry/core": "npm:1.28.0" + "@opentelemetry/exporter-metrics-otlp-http": "npm:0.55.0" + "@opentelemetry/otlp-exporter-base": "npm:0.55.0" + "@opentelemetry/otlp-grpc-exporter-base": "npm:0.55.0" + "@opentelemetry/otlp-transformer": "npm:0.55.0" + "@opentelemetry/resources": "npm:1.28.0" + "@opentelemetry/sdk-metrics": "npm:1.28.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/220e50022dc9ade1135493cce83515b331ee7ad421f80d2c0f91743fada52cc5428d3323cdfc4f360b7aa65421482d3b41141f63646faa0a0177731d4b2c2dff + checksum: 10c0/6cdbc4d3453ec0a87e33b0f8badb7044878232c4b6f08f9b45abf34e48575edfe437c66604eba3e23550693f191cb9195acfb11b34c903045d94512482fd78fb languageName: node linkType: hard -"@opentelemetry/exporter-metrics-otlp-http@npm:0.56.0": - version: 0.56.0 - resolution: "@opentelemetry/exporter-metrics-otlp-http@npm:0.56.0" +"@opentelemetry/exporter-metrics-otlp-http@npm:0.55.0": + version: 0.55.0 + resolution: "@opentelemetry/exporter-metrics-otlp-http@npm:0.55.0" dependencies: - "@opentelemetry/core": "npm:1.29.0" - "@opentelemetry/otlp-exporter-base": "npm:0.56.0" - "@opentelemetry/otlp-transformer": "npm:0.56.0" - "@opentelemetry/resources": "npm:1.29.0" - "@opentelemetry/sdk-metrics": "npm:1.29.0" + "@opentelemetry/core": "npm:1.28.0" + "@opentelemetry/otlp-exporter-base": "npm:0.55.0" + "@opentelemetry/otlp-transformer": "npm:0.55.0" + "@opentelemetry/resources": "npm:1.28.0" + "@opentelemetry/sdk-metrics": "npm:1.28.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/a93e79c5e7e4279c774353fa611a42400600540acda93538d342d98aad786c8ed210d92acb644f467f60737091ffd7c05941d9ed4b633cfb4b19582cdcb900a8 + checksum: 10c0/6e6fa7224336c64af569e56a3a92c3593ba3588b0a698aecba30fc52ae8af3922fec78df6ff840c6e3ab9cb42c5344f013d86b15efd56052d04c725bd444b084 languageName: node linkType: hard -"@opentelemetry/exporter-metrics-otlp-proto@npm:0.56.0": - version: 0.56.0 - resolution: "@opentelemetry/exporter-metrics-otlp-proto@npm:0.56.0" +"@opentelemetry/exporter-metrics-otlp-proto@npm:0.55.0": + version: 0.55.0 + resolution: "@opentelemetry/exporter-metrics-otlp-proto@npm:0.55.0" dependencies: - "@opentelemetry/core": "npm:1.29.0" - "@opentelemetry/exporter-metrics-otlp-http": "npm:0.56.0" - "@opentelemetry/otlp-exporter-base": "npm:0.56.0" - "@opentelemetry/otlp-transformer": "npm:0.56.0" - "@opentelemetry/resources": "npm:1.29.0" - "@opentelemetry/sdk-metrics": "npm:1.29.0" + "@opentelemetry/core": "npm:1.28.0" + "@opentelemetry/exporter-metrics-otlp-http": "npm:0.55.0" + "@opentelemetry/otlp-exporter-base": "npm:0.55.0" + "@opentelemetry/otlp-transformer": "npm:0.55.0" + "@opentelemetry/resources": "npm:1.28.0" + "@opentelemetry/sdk-metrics": "npm:1.28.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/c873df00daf48733aa5f2d6cba30a1edd5866cf08e4bfacea64b4f1d75633087cb5082729c42b73c6f40d38180f558b4309b4b81004b6d5137e487f51540523d + checksum: 10c0/9a245e2bfb93ee508bd12a72f0f6cf4147725aacaa50763823599aecddcaa78964089ba84ad08567193acbfcd33ca6b41a8ad5abbc953ad9de0f146b469b4294 languageName: node linkType: hard -"@opentelemetry/exporter-trace-otlp-grpc@npm:0.56.0": - version: 0.56.0 - resolution: "@opentelemetry/exporter-trace-otlp-grpc@npm:0.56.0" +"@opentelemetry/exporter-trace-otlp-grpc@npm:0.55.0": + version: 0.55.0 + resolution: "@opentelemetry/exporter-trace-otlp-grpc@npm:0.55.0" dependencies: "@grpc/grpc-js": "npm:^1.7.1" - "@opentelemetry/core": "npm:1.29.0" - "@opentelemetry/otlp-grpc-exporter-base": "npm:0.56.0" - "@opentelemetry/otlp-transformer": "npm:0.56.0" - "@opentelemetry/resources": "npm:1.29.0" - "@opentelemetry/sdk-trace-base": "npm:1.29.0" + "@opentelemetry/core": "npm:1.28.0" + "@opentelemetry/otlp-grpc-exporter-base": "npm:0.55.0" + "@opentelemetry/otlp-transformer": "npm:0.55.0" + "@opentelemetry/resources": "npm:1.28.0" + "@opentelemetry/sdk-trace-base": "npm:1.28.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/4a9a1a454bec714dbe14dfe2a248d649e19882200c88de7c53404ff063aff11356ec0fefd099b439f27de71c4c14db532609a7f9ee3e55a285e0d451dcaf6497 + checksum: 10c0/5b6f2821055179ba6b1d9a2fcf6e477890ec7cf9a778e6574ed2cec841df1e27bee5dee0059f91d25ea8200532c22accd063272f9f5f65d6613036480de1ab21 languageName: node linkType: hard -"@opentelemetry/exporter-trace-otlp-http@npm:0.56.0": - version: 0.56.0 - resolution: "@opentelemetry/exporter-trace-otlp-http@npm:0.56.0" +"@opentelemetry/exporter-trace-otlp-http@npm:0.55.0": + version: 0.55.0 + resolution: "@opentelemetry/exporter-trace-otlp-http@npm:0.55.0" dependencies: - "@opentelemetry/core": "npm:1.29.0" - "@opentelemetry/otlp-exporter-base": "npm:0.56.0" - "@opentelemetry/otlp-transformer": "npm:0.56.0" - "@opentelemetry/resources": "npm:1.29.0" - "@opentelemetry/sdk-trace-base": "npm:1.29.0" + "@opentelemetry/core": "npm:1.28.0" + "@opentelemetry/otlp-exporter-base": "npm:0.55.0" + "@opentelemetry/otlp-transformer": "npm:0.55.0" + "@opentelemetry/resources": "npm:1.28.0" + "@opentelemetry/sdk-trace-base": "npm:1.28.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/2e606f25312d435e48a3e221cb26ac791f789ba68fa441dae83c0f8dd4bda22964a5cf75d39b548ae482a641f552332948010f782dfc6fe1641157a8b4ef02b0 + checksum: 10c0/3a64cdd70f5b3e0d21705114593b5e8528e6cda4fd8f68243dc02c059db823d2ce6e3c1d9d50a3028c9065a827caaf3aeb4e5eaecafd03875633e18c0a44b730 languageName: node linkType: hard -"@opentelemetry/exporter-trace-otlp-proto@npm:0.56.0": - version: 0.56.0 - resolution: "@opentelemetry/exporter-trace-otlp-proto@npm:0.56.0" +"@opentelemetry/exporter-trace-otlp-proto@npm:0.55.0": + version: 0.55.0 + resolution: "@opentelemetry/exporter-trace-otlp-proto@npm:0.55.0" dependencies: - "@opentelemetry/core": "npm:1.29.0" - "@opentelemetry/otlp-exporter-base": "npm:0.56.0" - "@opentelemetry/otlp-transformer": "npm:0.56.0" - "@opentelemetry/resources": "npm:1.29.0" - "@opentelemetry/sdk-trace-base": "npm:1.29.0" + "@opentelemetry/core": "npm:1.28.0" + "@opentelemetry/otlp-exporter-base": "npm:0.55.0" + "@opentelemetry/otlp-transformer": "npm:0.55.0" + "@opentelemetry/resources": "npm:1.28.0" + "@opentelemetry/sdk-trace-base": "npm:1.28.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/aeda673934a2958fbed3da7ee0725ae61d97398ff7d9fb6f0b19ee8e520cae01c73918a423136ced6f92dc0159ba805453c3005c89571f0b1c7db7b07d67e190 + checksum: 10c0/d66034bcab3782f056c35e5664fc915d55d776deb105e6eb8c9eab06036d19642608a43477818c5997cdcea245e65fcf9ee066827639a35a9a8d74e772cd9d6f languageName: node linkType: hard -"@opentelemetry/exporter-zipkin@npm:1.29.0, @opentelemetry/exporter-zipkin@npm:^1.15.2": - version: 1.29.0 - resolution: "@opentelemetry/exporter-zipkin@npm:1.29.0" +"@opentelemetry/exporter-zipkin@npm:1.28.0, @opentelemetry/exporter-zipkin@npm:^1.15.2": + version: 1.28.0 + resolution: "@opentelemetry/exporter-zipkin@npm:1.28.0" dependencies: - "@opentelemetry/core": "npm:1.29.0" - "@opentelemetry/resources": "npm:1.29.0" - "@opentelemetry/sdk-trace-base": "npm:1.29.0" - "@opentelemetry/semantic-conventions": "npm:1.28.0" + "@opentelemetry/core": "npm:1.28.0" + "@opentelemetry/resources": "npm:1.28.0" + "@opentelemetry/sdk-trace-base": "npm:1.28.0" + "@opentelemetry/semantic-conventions": "npm:1.27.0" peerDependencies: "@opentelemetry/api": ^1.0.0 - checksum: 10c0/13815933699035aba7d90750cebbe02894be36680e945c33e92e2044da9be2315289c786bd98b606cae6bdc818ce4951a0661bd97c99648b6b4637e76a3c63d6 + checksum: 10c0/d4862dfa51a914e029c64a49694425358a907c5444eda8d7bece9e8071c0bba45fcc7f2b5a9fda31bc9bce0a4c6142e47939a859b99b53735148d3234f5396ae languageName: node linkType: hard -"@opentelemetry/instrumentation-express@npm:0.46.0": - version: 0.46.0 - resolution: "@opentelemetry/instrumentation-express@npm:0.46.0" +"@opentelemetry/instrumentation-express@npm:0.45.0": + version: 0.45.0 + resolution: "@opentelemetry/instrumentation-express@npm:0.45.0" dependencies: "@opentelemetry/core": "npm:^1.8.0" - "@opentelemetry/instrumentation": "npm:^0.56.0" + "@opentelemetry/instrumentation": "npm:^0.55.0" "@opentelemetry/semantic-conventions": "npm:^1.27.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/a43820542a8bc6042e70e229f3658f85fdb2a9f9c207542b232380908065979b5eb6e67a3b7a32e962ac6b70a4a622f1d675d6fc3b88f59a66083ff995141c75 + checksum: 10c0/1546a21a24fc957c2bd20d72100aa3db1a95760a73dbff4fe3b25059231c7a26715a637339ef6efa6bac2aa5134fdd42142b6e905c932c2c5e5df5c63f30a477 languageName: node linkType: hard -"@opentelemetry/instrumentation-graphql@npm:0.46.0": - version: 0.46.0 - resolution: "@opentelemetry/instrumentation-graphql@npm:0.46.0" +"@opentelemetry/instrumentation-graphql@npm:0.45.0": + version: 0.45.0 + resolution: "@opentelemetry/instrumentation-graphql@npm:0.45.0" dependencies: - "@opentelemetry/instrumentation": "npm:^0.56.0" + "@opentelemetry/instrumentation": "npm:^0.55.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/d5b00b258a883bb0386905a298c8af6bfb3e67a24d53c1c994b396427e82cb075a86a25291477d08fca1a8ebc39d49bf85df3b4dbfc46b88c0fadf15d5de3794 + checksum: 10c0/604911d280babae9c24bdd6ffac821a5859a3c2c6bc76a77f651f9de38f428781126476ec7d828211e185e9081d7828dfb149b87a28324c26b5e56cda885a311 languageName: node linkType: hard -"@opentelemetry/instrumentation-http@npm:0.56.0": - version: 0.56.0 - resolution: "@opentelemetry/instrumentation-http@npm:0.56.0" +"@opentelemetry/instrumentation-http@npm:0.55.0": + version: 0.55.0 + resolution: "@opentelemetry/instrumentation-http@npm:0.55.0" dependencies: - "@opentelemetry/core": "npm:1.29.0" - "@opentelemetry/instrumentation": "npm:0.56.0" - "@opentelemetry/semantic-conventions": "npm:1.28.0" + "@opentelemetry/core": "npm:1.28.0" + "@opentelemetry/instrumentation": "npm:0.55.0" + "@opentelemetry/semantic-conventions": "npm:1.27.0" forwarded-parse: "npm:2.1.2" semver: "npm:^7.5.2" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/b225252476ad049f888b45e03c4b2ce3ccb68e0b226049090eefa4e20b3859abfb84daede4562f75d2c3820a1351400ee996cf89e2665a91209e920d711f2e49 + checksum: 10c0/ee760160e4e67557388b2137b1c485985c38e06cbc7ee341ddde12cb844ee755f7dae69247f4a8757f10269492c500c746d31fdd39bfdee52c94e163e3b17512 languageName: node linkType: hard -"@opentelemetry/instrumentation@npm:0.56.0, @opentelemetry/instrumentation@npm:^0.56.0": - version: 0.56.0 - resolution: "@opentelemetry/instrumentation@npm:0.56.0" +"@opentelemetry/instrumentation@npm:0.55.0, @opentelemetry/instrumentation@npm:^0.55.0": + version: 0.55.0 + resolution: "@opentelemetry/instrumentation@npm:0.55.0" dependencies: - "@opentelemetry/api-logs": "npm:0.56.0" + "@opentelemetry/api-logs": "npm:0.55.0" "@types/shimmer": "npm:^1.2.0" import-in-the-middle: "npm:^1.8.1" require-in-the-middle: "npm:^7.1.1" @@ -9988,164 +9907,171 @@ __metadata: shimmer: "npm:^1.2.1" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/31c79f2cfe832c42dd7892b248d474dc6fac134f3ff58faea746abf1b25a5127c4a8608296792bf8ed9c838a1eb0384bf2f51a5123f6569033e346733476e7c9 + checksum: 10c0/c1175c63ecd3940a14176f5db89c48bcb64e9a7a366db70d3560913ccf624f6629fc91eb4ff3b6d5208e36df416bb14b5d87dbce5975c23e174c0191f54d06ab languageName: node linkType: hard -"@opentelemetry/otlp-exporter-base@npm:0.56.0": - version: 0.56.0 - resolution: "@opentelemetry/otlp-exporter-base@npm:0.56.0" +"@opentelemetry/otlp-exporter-base@npm:0.55.0": + version: 0.55.0 + resolution: "@opentelemetry/otlp-exporter-base@npm:0.55.0" dependencies: - "@opentelemetry/core": "npm:1.29.0" - "@opentelemetry/otlp-transformer": "npm:0.56.0" + "@opentelemetry/core": "npm:1.28.0" + "@opentelemetry/otlp-transformer": "npm:0.55.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/1c7062bf9edf2a012826341a41fe7bd03b03835a3dc5be5a43a85f5d5ad5d474a3f9241e12906cf9454df6e10f8039d97b21645afdc5f1fb3f55b371a1ed9bd6 + checksum: 10c0/716a845b7e3f58e37a76adb3838f54da409352e7dd9c44fa5727dc952985ce7e4b9ee96bc52f6a762d2f38c6ca60d36a85afd82cabf55dcd2cc86cb252b4170b languageName: node linkType: hard -"@opentelemetry/otlp-grpc-exporter-base@npm:0.56.0": - version: 0.56.0 - resolution: "@opentelemetry/otlp-grpc-exporter-base@npm:0.56.0" +"@opentelemetry/otlp-grpc-exporter-base@npm:0.55.0": + version: 0.55.0 + resolution: "@opentelemetry/otlp-grpc-exporter-base@npm:0.55.0" dependencies: "@grpc/grpc-js": "npm:^1.7.1" - "@opentelemetry/core": "npm:1.29.0" - "@opentelemetry/otlp-exporter-base": "npm:0.56.0" - "@opentelemetry/otlp-transformer": "npm:0.56.0" + "@opentelemetry/core": "npm:1.28.0" + "@opentelemetry/otlp-exporter-base": "npm:0.55.0" + "@opentelemetry/otlp-transformer": "npm:0.55.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/b00ef6521ce4dfb080e10e4d2826626f5adecbe2ab18c21be46635f8b64b65dc54f2bcb8f3ea85828d9b90e8e5055f404c29f9df8c4947d6177382abe20eb907 + checksum: 10c0/cfcde887effe3d757caf1585fb9e6ea18ff87ff6431513e89ff43dcaed2b6497d2ab4ac8c316a123242d5315b30956e8c64ea049e7076607ee687ffe20d55ac6 languageName: node linkType: hard -"@opentelemetry/otlp-transformer@npm:0.56.0": - version: 0.56.0 - resolution: "@opentelemetry/otlp-transformer@npm:0.56.0" - dependencies: - "@opentelemetry/api-logs": "npm:0.56.0" - "@opentelemetry/core": "npm:1.29.0" - "@opentelemetry/resources": "npm:1.29.0" - "@opentelemetry/sdk-logs": "npm:0.56.0" - "@opentelemetry/sdk-metrics": "npm:1.29.0" - "@opentelemetry/sdk-trace-base": "npm:1.29.0" +"@opentelemetry/otlp-transformer@npm:0.55.0": + version: 0.55.0 + resolution: "@opentelemetry/otlp-transformer@npm:0.55.0" + dependencies: + "@opentelemetry/api-logs": "npm:0.55.0" + "@opentelemetry/core": "npm:1.28.0" + "@opentelemetry/resources": "npm:1.28.0" + "@opentelemetry/sdk-logs": "npm:0.55.0" + "@opentelemetry/sdk-metrics": "npm:1.28.0" + "@opentelemetry/sdk-trace-base": "npm:1.28.0" protobufjs: "npm:^7.3.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/898bae14a8f84a2f5a8d3a3b89966a5d3af1102b273dac748e404651ad113876b095faf1528055fce65de99dc33bc764cd650f21019ada0f85926f7606dc377e + checksum: 10c0/d0a21566f0b39f70475458d2532b3737b55585a91a699da04efab4869219d045e2e022d514ea0b26d0fdfe5c4fb432e8827a21f3128930c6a6936fc284908795 languageName: node linkType: hard -"@opentelemetry/propagator-b3@npm:1.29.0": - version: 1.29.0 - resolution: "@opentelemetry/propagator-b3@npm:1.29.0" +"@opentelemetry/propagator-b3@npm:1.28.0": + version: 1.28.0 + resolution: "@opentelemetry/propagator-b3@npm:1.28.0" dependencies: - "@opentelemetry/core": "npm:1.29.0" + "@opentelemetry/core": "npm:1.28.0" peerDependencies: "@opentelemetry/api": ">=1.0.0 <1.10.0" - checksum: 10c0/deb04f14906ec72f6eb8e2dffeb836450c35432732776fef40413e56c8738dd6c49c4d084be04fdedc45b3670dc0e94af2808780cf8921305d57c22cc0f24891 + checksum: 10c0/dd0ca51d2b216d8443790a4ba9c922985a627aad00505a15b32e9db48cb2a7934173e1c9bbd85682dc28873f4c4f46803f717850e348e54f1fe01f7de26be8e1 languageName: node linkType: hard -"@opentelemetry/propagator-jaeger@npm:1.29.0": - version: 1.29.0 - resolution: "@opentelemetry/propagator-jaeger@npm:1.29.0" +"@opentelemetry/propagator-jaeger@npm:1.28.0": + version: 1.28.0 + resolution: "@opentelemetry/propagator-jaeger@npm:1.28.0" dependencies: - "@opentelemetry/core": "npm:1.29.0" + "@opentelemetry/core": "npm:1.28.0" peerDependencies: "@opentelemetry/api": ">=1.0.0 <1.10.0" - checksum: 10c0/9d91968ed88d4946d1b7a03cec774be8569ce9cc8a21f735c4c3f044baa4bb7c5732cfb3caf0c03266258dd9df7abaf329f7d79221827cdcd287b9824f0079df + checksum: 10c0/e6e3d26593041abf86fff9e667720b4cc15fa823359d9b8ae9d9f8e127c43a3298229090321628556fad25e83b39bb799b3bd10e05ed12b4e0119134fd6d90e4 languageName: node linkType: hard -"@opentelemetry/resources@npm:1.29.0, @opentelemetry/resources@npm:^1.15.2": - version: 1.29.0 - resolution: "@opentelemetry/resources@npm:1.29.0" +"@opentelemetry/resources@npm:1.28.0, @opentelemetry/resources@npm:^1.15.2": + version: 1.28.0 + resolution: "@opentelemetry/resources@npm:1.28.0" dependencies: - "@opentelemetry/core": "npm:1.29.0" - "@opentelemetry/semantic-conventions": "npm:1.28.0" + "@opentelemetry/core": "npm:1.28.0" + "@opentelemetry/semantic-conventions": "npm:1.27.0" peerDependencies: "@opentelemetry/api": ">=1.0.0 <1.10.0" - checksum: 10c0/10a91597b2ae92eeeeee9645c8147056b930739023bde4f18190317f7e8a05acd9e440b29d04be3580f7af4ffe5ff629d970264278f86574c429685f4804a006 + checksum: 10c0/84fae85d3e26d338b8e31c765a42da637d4e626e564b8d86108f87963a5a07f58793eab8041a602e74b8144bbdea851825b22e3fd4222977bf59bcd42ae1bab4 languageName: node linkType: hard -"@opentelemetry/sdk-logs@npm:0.56.0": - version: 0.56.0 - resolution: "@opentelemetry/sdk-logs@npm:0.56.0" +"@opentelemetry/sdk-logs@npm:0.55.0": + version: 0.55.0 + resolution: "@opentelemetry/sdk-logs@npm:0.55.0" dependencies: - "@opentelemetry/api-logs": "npm:0.56.0" - "@opentelemetry/core": "npm:1.29.0" - "@opentelemetry/resources": "npm:1.29.0" + "@opentelemetry/api-logs": "npm:0.55.0" + "@opentelemetry/core": "npm:1.28.0" + "@opentelemetry/resources": "npm:1.28.0" peerDependencies: "@opentelemetry/api": ">=1.4.0 <1.10.0" - checksum: 10c0/abd5584c8d98a71bfefdca4b864f69714d0e638c5ad9fe4819744b938aea362c9602b884da1da24ae394bccbe044246463a208e775b3ac4718eadaff7fac295d + checksum: 10c0/aa272b3f939911550def2d8f225e6e020b864b8fb4474a468f9324ed63ca0adb5afca0ece32264eaff7bd5cb891cd9dae1030671ae3d9d9313d29801d2b6efa7 languageName: node linkType: hard -"@opentelemetry/sdk-metrics@npm:1.29.0, @opentelemetry/sdk-metrics@npm:^1.15.2": - version: 1.29.0 - resolution: "@opentelemetry/sdk-metrics@npm:1.29.0" +"@opentelemetry/sdk-metrics@npm:1.28.0, @opentelemetry/sdk-metrics@npm:^1.15.2": + version: 1.28.0 + resolution: "@opentelemetry/sdk-metrics@npm:1.28.0" dependencies: - "@opentelemetry/core": "npm:1.29.0" - "@opentelemetry/resources": "npm:1.29.0" + "@opentelemetry/core": "npm:1.28.0" + "@opentelemetry/resources": "npm:1.28.0" peerDependencies: "@opentelemetry/api": ">=1.3.0 <1.10.0" - checksum: 10c0/4fca3b43fc9e9d139e87e18abf91069ba09c110bd4aa093e97ae02cd9af2cc82560f38dd4e3a6c76b054e1f8cbe5801faada2d24d7673a0ab15bf69923d6202c - languageName: node - linkType: hard - -"@opentelemetry/sdk-node@npm:0.56.0": - version: 0.56.0 - resolution: "@opentelemetry/sdk-node@npm:0.56.0" - dependencies: - "@opentelemetry/api-logs": "npm:0.56.0" - "@opentelemetry/core": "npm:1.29.0" - "@opentelemetry/exporter-logs-otlp-grpc": "npm:0.56.0" - "@opentelemetry/exporter-logs-otlp-http": "npm:0.56.0" - "@opentelemetry/exporter-logs-otlp-proto": "npm:0.56.0" - "@opentelemetry/exporter-trace-otlp-grpc": "npm:0.56.0" - "@opentelemetry/exporter-trace-otlp-http": "npm:0.56.0" - "@opentelemetry/exporter-trace-otlp-proto": "npm:0.56.0" - "@opentelemetry/exporter-zipkin": "npm:1.29.0" - "@opentelemetry/instrumentation": "npm:0.56.0" - "@opentelemetry/resources": "npm:1.29.0" - "@opentelemetry/sdk-logs": "npm:0.56.0" - "@opentelemetry/sdk-metrics": "npm:1.29.0" - "@opentelemetry/sdk-trace-base": "npm:1.29.0" - "@opentelemetry/sdk-trace-node": "npm:1.29.0" - "@opentelemetry/semantic-conventions": "npm:1.28.0" + checksum: 10c0/deafed540ea5ece764729216eb4019bb5fa3d2759c25c3a0217228bb07324590047520d3f3936a21d1fdfcc10c266f98bdcc22e8620db8d2e443eaa4d5588c11 + languageName: node + linkType: hard + +"@opentelemetry/sdk-node@npm:0.55.0": + version: 0.55.0 + resolution: "@opentelemetry/sdk-node@npm:0.55.0" + dependencies: + "@opentelemetry/api-logs": "npm:0.55.0" + "@opentelemetry/core": "npm:1.28.0" + "@opentelemetry/exporter-logs-otlp-grpc": "npm:0.55.0" + "@opentelemetry/exporter-logs-otlp-http": "npm:0.55.0" + "@opentelemetry/exporter-logs-otlp-proto": "npm:0.55.0" + "@opentelemetry/exporter-trace-otlp-grpc": "npm:0.55.0" + "@opentelemetry/exporter-trace-otlp-http": "npm:0.55.0" + "@opentelemetry/exporter-trace-otlp-proto": "npm:0.55.0" + "@opentelemetry/exporter-zipkin": "npm:1.28.0" + "@opentelemetry/instrumentation": "npm:0.55.0" + "@opentelemetry/resources": "npm:1.28.0" + "@opentelemetry/sdk-logs": "npm:0.55.0" + "@opentelemetry/sdk-metrics": "npm:1.28.0" + "@opentelemetry/sdk-trace-base": "npm:1.28.0" + "@opentelemetry/sdk-trace-node": "npm:1.28.0" + "@opentelemetry/semantic-conventions": "npm:1.27.0" peerDependencies: "@opentelemetry/api": ">=1.3.0 <1.10.0" - checksum: 10c0/fd2c468bdbe9d8dab21444335793f3a6778578791a1659f8e81383c53e12bc7fc7e7a7722040679dd55afba1ad7104f3e3b5df99457e9cabb0b721549617feb1 + checksum: 10c0/84e25018e35516d3743844c50eeaa4b1aed68aa32da4bd676ebae86b2c50e8516527daba640d07d55c4c763b9f73be7f2a4c0ce53671005cd313e6cff28c303c languageName: node linkType: hard -"@opentelemetry/sdk-trace-base@npm:1.29.0, @opentelemetry/sdk-trace-base@npm:^1.15.2": - version: 1.29.0 - resolution: "@opentelemetry/sdk-trace-base@npm:1.29.0" +"@opentelemetry/sdk-trace-base@npm:1.28.0, @opentelemetry/sdk-trace-base@npm:^1.15.2": + version: 1.28.0 + resolution: "@opentelemetry/sdk-trace-base@npm:1.28.0" dependencies: - "@opentelemetry/core": "npm:1.29.0" - "@opentelemetry/resources": "npm:1.29.0" - "@opentelemetry/semantic-conventions": "npm:1.28.0" + "@opentelemetry/core": "npm:1.28.0" + "@opentelemetry/resources": "npm:1.28.0" + "@opentelemetry/semantic-conventions": "npm:1.27.0" peerDependencies: "@opentelemetry/api": ">=1.0.0 <1.10.0" - checksum: 10c0/870f29d3d72f4d6cbcaada328b544aa111527d72f0818f89bc5661b0427a37618db939cc65e834c8c73bad744665f9ac6dc0ec48276b113b5d4a0913c2b8fece + checksum: 10c0/0a9ac13dc375ba320323f72dd853133e169473a6bb971d82c8e6403ffb4d25124c6ad2b9ad31e0a2320b7971b83590094030f9716a57d5a3a2ede8c11ae67c5d languageName: node linkType: hard -"@opentelemetry/sdk-trace-node@npm:1.29.0": - version: 1.29.0 - resolution: "@opentelemetry/sdk-trace-node@npm:1.29.0" +"@opentelemetry/sdk-trace-node@npm:1.28.0": + version: 1.28.0 + resolution: "@opentelemetry/sdk-trace-node@npm:1.28.0" dependencies: - "@opentelemetry/context-async-hooks": "npm:1.29.0" - "@opentelemetry/core": "npm:1.29.0" - "@opentelemetry/propagator-b3": "npm:1.29.0" - "@opentelemetry/propagator-jaeger": "npm:1.29.0" - "@opentelemetry/sdk-trace-base": "npm:1.29.0" + "@opentelemetry/context-async-hooks": "npm:1.28.0" + "@opentelemetry/core": "npm:1.28.0" + "@opentelemetry/propagator-b3": "npm:1.28.0" + "@opentelemetry/propagator-jaeger": "npm:1.28.0" + "@opentelemetry/sdk-trace-base": "npm:1.28.0" semver: "npm:^7.5.2" peerDependencies: "@opentelemetry/api": ">=1.0.0 <1.10.0" - checksum: 10c0/0201340e451fc3a3969df8c5d405706d6b454c28ddb76bb99fce20b58a53f47fee94bb7134ff1591ddf322a48c7641aeb11e58bebcdf82e933ceb85a54157d46 + checksum: 10c0/ea05da3279cae12526440c2966e2988108ea8cc5102acfc263d2080f711c0cf7e9bb22949e32bb918785dda0521a6096af63480280c2dbbe0556316e641ae066 + languageName: node + linkType: hard + +"@opentelemetry/semantic-conventions@npm:1.27.0": + version: 1.27.0 + resolution: "@opentelemetry/semantic-conventions@npm:1.27.0" + checksum: 10c0/b859773ba06b7e53dd9c6b45a171bf3000e405733adbf462ae91004ed011bc80edb5beecb817fb344a085adfd06045ab5b729c9bd0f1479650ad377134fb798c languageName: node linkType: hard @@ -11950,11 +11876,11 @@ __metadata: languageName: node linkType: hard -"@redocly/cli@npm:1.26.0": - version: 1.26.0 - resolution: "@redocly/cli@npm:1.26.0" +"@redocly/cli@npm:1.25.14": + version: 1.25.14 + resolution: "@redocly/cli@npm:1.25.14" dependencies: - "@redocly/openapi-core": "npm:1.26.0" + "@redocly/openapi-core": "npm:1.25.14" abort-controller: "npm:^3.0.0" chokidar: "npm:^3.5.1" colorette: "npm:^1.2.0" @@ -11976,23 +11902,23 @@ __metadata: bin: openapi: bin/cli.js redocly: bin/cli.js - checksum: 10c0/bb1d26459414a5166fec14c4788ff1074a01f604ed4f411baada362070bb8627004506c9864dc32b8ed35cba3bc68e7662ab4acd45a8e0aa70ca0318e0152587 + checksum: 10c0/2488be44437bd082d3dd17baad313e905a2f059ea8e6c20e1b30d88a9e22fb0df1ab010fc0717a996ea2ad3d0b464089f4b62bfab2a2a52cb5da58e8a0466fe6 languageName: node linkType: hard -"@redocly/config@npm:^0.17.0": - version: 0.17.1 - resolution: "@redocly/config@npm:0.17.1" - checksum: 10c0/47dca7970d921d8f128422fbc14cdf2e74e4c3bb76b1ce3ce8e33e2c90d39b1c7ca96c84c108a23e6abae30120b1b761a0abc70d631590e8a78831b2335b942b +"@redocly/config@npm:^0.16.0": + version: 0.16.0 + resolution: "@redocly/config@npm:0.16.0" + checksum: 10c0/9e2ee2b1eb61312d0479aee9ebb583818d0a061170ac4b733c5ab3a9351e2fdcaf282e9378f82853a7adcde899e218e43ea8d95f0068b3c0ac97c7333517ef34 languageName: node linkType: hard -"@redocly/openapi-core@npm:1.26.0, @redocly/openapi-core@npm:^1.4.0": - version: 1.26.0 - resolution: "@redocly/openapi-core@npm:1.26.0" +"@redocly/openapi-core@npm:1.25.14, @redocly/openapi-core@npm:^1.4.0": + version: 1.25.14 + resolution: "@redocly/openapi-core@npm:1.25.14" dependencies: "@redocly/ajv": "npm:^8.11.2" - "@redocly/config": "npm:^0.17.0" + "@redocly/config": "npm:^0.16.0" colorette: "npm:^1.2.0" https-proxy-agent: "npm:^7.0.4" js-levenshtein: "npm:^1.1.6" @@ -12002,7 +11928,14 @@ __metadata: node-fetch: "npm:^2.6.1" pluralize: "npm:^8.0.0" yaml-ast-parser: "npm:0.0.43" - checksum: 10c0/d55989a3d2b343c5f5792c704f0e7b2030d739be65f80fb7ff4625f6cb189bb646003180ea605940014c5c77f9954c21cc36d371fa510775c25fbd5534311b0e + checksum: 10c0/58d2b650a7ff2aa27d1764e9323c006ebb6ea76067b2a27b9e5df7d2381cdf41631db7955b67b07d3864f9ce94f07c644c10744ae856dd75e857fea60117854b + languageName: node + linkType: hard + +"@regru/eslint-plugin-prefer-early-return@npm:^1.0.0": + version: 1.0.0 + resolution: "@regru/eslint-plugin-prefer-early-return@npm:1.0.0" + checksum: 10c0/65eff2b9073925b8fab5f0e38023ad0522d1fa6ee75eb51c61cb3a9d86b66b1c2d0d8bd24305db455f395b264a21d1fd19151440d046690baf2c9b0590a5e395 languageName: node linkType: hard @@ -12119,139 +12052,139 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-android-arm-eabi@npm:4.28.1": - version: 4.28.1 - resolution: "@rollup/rollup-android-arm-eabi@npm:4.28.1" +"@rollup/rollup-android-arm-eabi@npm:4.27.4": + version: 4.27.4 + resolution: "@rollup/rollup-android-arm-eabi@npm:4.27.4" conditions: os=android & cpu=arm languageName: node linkType: hard -"@rollup/rollup-android-arm64@npm:4.28.1": - version: 4.28.1 - resolution: "@rollup/rollup-android-arm64@npm:4.28.1" +"@rollup/rollup-android-arm64@npm:4.27.4": + version: 4.27.4 + resolution: "@rollup/rollup-android-arm64@npm:4.27.4" conditions: os=android & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-darwin-arm64@npm:4.28.1": - version: 4.28.1 - resolution: "@rollup/rollup-darwin-arm64@npm:4.28.1" +"@rollup/rollup-darwin-arm64@npm:4.27.4": + version: 4.27.4 + resolution: "@rollup/rollup-darwin-arm64@npm:4.27.4" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-darwin-x64@npm:4.28.1": - version: 4.28.1 - resolution: "@rollup/rollup-darwin-x64@npm:4.28.1" +"@rollup/rollup-darwin-x64@npm:4.27.4": + version: 4.27.4 + resolution: "@rollup/rollup-darwin-x64@npm:4.27.4" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@rollup/rollup-freebsd-arm64@npm:4.28.1": - version: 4.28.1 - resolution: "@rollup/rollup-freebsd-arm64@npm:4.28.1" +"@rollup/rollup-freebsd-arm64@npm:4.27.4": + version: 4.27.4 + resolution: "@rollup/rollup-freebsd-arm64@npm:4.27.4" conditions: os=freebsd & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-freebsd-x64@npm:4.28.1": - version: 4.28.1 - resolution: "@rollup/rollup-freebsd-x64@npm:4.28.1" +"@rollup/rollup-freebsd-x64@npm:4.27.4": + version: 4.27.4 + resolution: "@rollup/rollup-freebsd-x64@npm:4.27.4" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard -"@rollup/rollup-linux-arm-gnueabihf@npm:4.28.1": - version: 4.28.1 - resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.28.1" +"@rollup/rollup-linux-arm-gnueabihf@npm:4.27.4": + version: 4.27.4 + resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.27.4" conditions: os=linux & cpu=arm & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-arm-musleabihf@npm:4.28.1": - version: 4.28.1 - resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.28.1" +"@rollup/rollup-linux-arm-musleabihf@npm:4.27.4": + version: 4.27.4 + resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.27.4" conditions: os=linux & cpu=arm & libc=musl languageName: node linkType: hard -"@rollup/rollup-linux-arm64-gnu@npm:4.28.1": - version: 4.28.1 - resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.28.1" +"@rollup/rollup-linux-arm64-gnu@npm:4.27.4": + version: 4.27.4 + resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.27.4" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-arm64-musl@npm:4.28.1": - version: 4.28.1 - resolution: "@rollup/rollup-linux-arm64-musl@npm:4.28.1" +"@rollup/rollup-linux-arm64-musl@npm:4.27.4": + version: 4.27.4 + resolution: "@rollup/rollup-linux-arm64-musl@npm:4.27.4" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@rollup/rollup-linux-loongarch64-gnu@npm:4.28.1": - version: 4.28.1 - resolution: "@rollup/rollup-linux-loongarch64-gnu@npm:4.28.1" - conditions: os=linux & cpu=loong64 & libc=glibc - languageName: node - linkType: hard - -"@rollup/rollup-linux-powerpc64le-gnu@npm:4.28.1": - version: 4.28.1 - resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.28.1" +"@rollup/rollup-linux-powerpc64le-gnu@npm:4.27.4": + version: 4.27.4 + resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.27.4" conditions: os=linux & cpu=ppc64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-riscv64-gnu@npm:4.28.1": - version: 4.28.1 - resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.28.1" +"@rollup/rollup-linux-riscv64-gnu@npm:4.27.4": + version: 4.27.4 + resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.27.4" conditions: os=linux & cpu=riscv64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-s390x-gnu@npm:4.28.1": - version: 4.28.1 - resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.28.1" +"@rollup/rollup-linux-s390x-gnu@npm:4.27.4": + version: 4.27.4 + resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.27.4" conditions: os=linux & cpu=s390x & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-x64-gnu@npm:4.28.1": - version: 4.28.1 - resolution: "@rollup/rollup-linux-x64-gnu@npm:4.28.1" +"@rollup/rollup-linux-x64-gnu@npm:4.27.4": + version: 4.27.4 + resolution: "@rollup/rollup-linux-x64-gnu@npm:4.27.4" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-x64-musl@npm:4.28.1": - version: 4.28.1 - resolution: "@rollup/rollup-linux-x64-musl@npm:4.28.1" +"@rollup/rollup-linux-x64-musl@npm:4.27.4": + version: 4.27.4 + resolution: "@rollup/rollup-linux-x64-musl@npm:4.27.4" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@rollup/rollup-win32-arm64-msvc@npm:4.28.1": - version: 4.28.1 - resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.28.1" +"@rollup/rollup-win32-arm64-msvc@npm:4.27.4": + version: 4.27.4 + resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.27.4" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-win32-ia32-msvc@npm:4.28.1": - version: 4.28.1 - resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.28.1" +"@rollup/rollup-win32-ia32-msvc@npm:4.27.4": + version: 4.27.4 + resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.27.4" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@rollup/rollup-win32-x64-msvc@npm:4.28.1": - version: 4.28.1 - resolution: "@rollup/rollup-win32-x64-msvc@npm:4.28.1" +"@rollup/rollup-win32-x64-msvc@npm:4.27.4": + version: 4.27.4 + resolution: "@rollup/rollup-win32-x64-msvc@npm:4.27.4" conditions: os=win32 & cpu=x64 languageName: node linkType: hard +"@rtsao/scc@npm:^1.1.0": + version: 1.1.0 + resolution: "@rtsao/scc@npm:1.1.0" + checksum: 10c0/b5bcfb0d87f7d1c1c7c0f7693f53b07866ed9fec4c34a97a8c948fb9a7c0082e416ce4d3b60beb4f5e167cbe04cdeefbf6771320f3ede059b9ce91188c409a5b + languageName: node + linkType: hard + "@rudderstack/rudder-sdk-node@npm:2.1.1": version: 2.1.1 resolution: "@rudderstack/rudder-sdk-node@npm:2.1.1" @@ -12449,7 +12382,6 @@ __metadata: "@rust/hash-graph-type-defs": "npm:0.0.0-private" "@rust/hash-graph-type-fetcher": "npm:0.0.0-private" "@rust/hash-graph-types": "npm:0.0.0-private" - "@rust/hash-graph-validation": "npm:0.0.0-private" "@rust/hash-status": "npm:0.0.0-private" "@rust/hash-temporal-client": "npm:0.0.0-private" languageName: unknown @@ -12729,76 +12661,76 @@ __metadata: languageName: node linkType: hard -"@sentry-internal/feedback@npm:7.120.1": - version: 7.120.1 - resolution: "@sentry-internal/feedback@npm:7.120.1" +"@sentry-internal/feedback@npm:7.120.0": + version: 7.120.0 + resolution: "@sentry-internal/feedback@npm:7.120.0" dependencies: - "@sentry/core": "npm:7.120.1" - "@sentry/types": "npm:7.120.1" - "@sentry/utils": "npm:7.120.1" - checksum: 10c0/618abbe92d43b4ef549f4abb6bc44b52c5752c0e60326fa4e918356ce204c451e0ed6f9758d3ade8664de7d7005cd17b92d8a6b47075627e18c7ca0a8954e1ab + "@sentry/core": "npm:7.120.0" + "@sentry/types": "npm:7.120.0" + "@sentry/utils": "npm:7.120.0" + checksum: 10c0/b47597718c6930c98ebddbb617b63b6efee57df3e76b83662bc726a96c755e926270fa26a0ac69d49e92073ec442c958d37655cde576e5cd279ba3df09487b1b languageName: node linkType: hard -"@sentry-internal/replay-canvas@npm:7.120.1": - version: 7.120.1 - resolution: "@sentry-internal/replay-canvas@npm:7.120.1" +"@sentry-internal/replay-canvas@npm:7.120.0": + version: 7.120.0 + resolution: "@sentry-internal/replay-canvas@npm:7.120.0" dependencies: - "@sentry/core": "npm:7.120.1" - "@sentry/replay": "npm:7.120.1" - "@sentry/types": "npm:7.120.1" - "@sentry/utils": "npm:7.120.1" - checksum: 10c0/e52d8552786dad3ac8c66cb7ec8490bc8452d82ad186f7b34955ba4227898273c8ccccf26e66c43deee6bb369c2411a2335e5d296b980e61a01a48255e148fde + "@sentry/core": "npm:7.120.0" + "@sentry/replay": "npm:7.120.0" + "@sentry/types": "npm:7.120.0" + "@sentry/utils": "npm:7.120.0" + checksum: 10c0/4ad37f53fd24e0d9faf6a61f6d185ed5a6be64e086a7ddefd8ff75421cb996d7359ca478bc7a25afdbb92edd27a0c961cfdbd7d1d6d81ccc6845c33a4afe1720 languageName: node linkType: hard -"@sentry-internal/tracing@npm:7.120.1": - version: 7.120.1 - resolution: "@sentry-internal/tracing@npm:7.120.1" +"@sentry-internal/tracing@npm:7.120.0": + version: 7.120.0 + resolution: "@sentry-internal/tracing@npm:7.120.0" dependencies: - "@sentry/core": "npm:7.120.1" - "@sentry/types": "npm:7.120.1" - "@sentry/utils": "npm:7.120.1" - checksum: 10c0/3506337aa399c8c250c879a35c4eebe92095b11f689aadfdbf48699f58d46b02996dfb7aff757811d44f75cf3cd164387eb531f496dda9748fc222a617125db0 + "@sentry/core": "npm:7.120.0" + "@sentry/types": "npm:7.120.0" + "@sentry/utils": "npm:7.120.0" + checksum: 10c0/08b080466124ae1d08198f65346ed989f1662bf445ff32c6931f79350c17984e33bef67f897c7ff3f1fe11ff6933ef8adf09e93ed54a253bfc1a6edbb564e336 languageName: node linkType: hard -"@sentry/babel-plugin-component-annotate@npm:2.22.7": - version: 2.22.7 - resolution: "@sentry/babel-plugin-component-annotate@npm:2.22.7" - checksum: 10c0/1812aa3de7ec1a93e24d4fbac49b609a4feac9a7c72de440456707013b6e68c3e2a1bac5d24d99ca710eac49a96fa1cf081ca032e24e667ae1b1165e143dc03d +"@sentry/babel-plugin-component-annotate@npm:2.22.6": + version: 2.22.6 + resolution: "@sentry/babel-plugin-component-annotate@npm:2.22.6" + checksum: 10c0/142f8a742c1c4bb04d8ef5809bcc8e7f00be1467ada4954103403340bb696c2ca19515891e4cbe11bd5671ef52dca3d7cb6b782d4f3d1444aaf9e5bb35c5c963 languageName: node linkType: hard -"@sentry/browser@npm:7.120.1": - version: 7.120.1 - resolution: "@sentry/browser@npm:7.120.1" +"@sentry/browser@npm:7.120.0": + version: 7.120.0 + resolution: "@sentry/browser@npm:7.120.0" dependencies: - "@sentry-internal/feedback": "npm:7.120.1" - "@sentry-internal/replay-canvas": "npm:7.120.1" - "@sentry-internal/tracing": "npm:7.120.1" - "@sentry/core": "npm:7.120.1" - "@sentry/integrations": "npm:7.120.1" - "@sentry/replay": "npm:7.120.1" - "@sentry/types": "npm:7.120.1" - "@sentry/utils": "npm:7.120.1" - checksum: 10c0/1df2576137fdaa987168b19db9bf95e19c6bd05effa123c4d77bf3686e8adc335192b15532d339ccd9b3671c26889ca06242581fed80b48c72d43b375e2dd8d9 + "@sentry-internal/feedback": "npm:7.120.0" + "@sentry-internal/replay-canvas": "npm:7.120.0" + "@sentry-internal/tracing": "npm:7.120.0" + "@sentry/core": "npm:7.120.0" + "@sentry/integrations": "npm:7.120.0" + "@sentry/replay": "npm:7.120.0" + "@sentry/types": "npm:7.120.0" + "@sentry/utils": "npm:7.120.0" + checksum: 10c0/619a6f0a43d5428b6923c026bb389581955f814876974eaa9b1b7659520d36b666fe289d4b20688b5d32459f4020d81b95f46b67eb895cdf50f435297cc799c7 languageName: node linkType: hard -"@sentry/bundler-plugin-core@npm:2.22.7": - version: 2.22.7 - resolution: "@sentry/bundler-plugin-core@npm:2.22.7" +"@sentry/bundler-plugin-core@npm:2.22.6": + version: 2.22.6 + resolution: "@sentry/bundler-plugin-core@npm:2.22.6" dependencies: "@babel/core": "npm:^7.18.5" - "@sentry/babel-plugin-component-annotate": "npm:2.22.7" - "@sentry/cli": "npm:2.39.1" + "@sentry/babel-plugin-component-annotate": "npm:2.22.6" + "@sentry/cli": "npm:^2.36.1" dotenv: "npm:^16.3.1" find-up: "npm:^5.0.0" glob: "npm:^9.3.2" magic-string: "npm:0.30.8" unplugin: "npm:1.0.1" - checksum: 10c0/0dbc8d7359a70b0195a87605123eec6dc60ccdad8f84520bc92be0377f1bd9d3e3c92af2939f4c27ed31fc2d6c174a33a8024ce9a9f4b40b79f7ffe8f9cf872c + checksum: 10c0/97d425a49182ed178c2d147ab48b5095394fcde5e3f94ca9dec21dcf0771269ecfebfb596e8ab41cda926591a4c2443a54616fd74b9e1c91a041add4b1ef187a languageName: node linkType: hard @@ -12851,7 +12783,23 @@ __metadata: languageName: node linkType: hard -"@sentry/cli@npm:2.39.1, @sentry/cli@npm:^2.39.1": +"@sentry/cli@npm:^1.77.1": + version: 1.77.3 + resolution: "@sentry/cli@npm:1.77.3" + dependencies: + https-proxy-agent: "npm:^5.0.0" + mkdirp: "npm:^0.5.5" + node-fetch: "npm:^2.6.7" + progress: "npm:^2.0.3" + proxy-from-env: "npm:^1.1.0" + which: "npm:^2.0.2" + bin: + sentry-cli: bin/sentry-cli + checksum: 10c0/b8c584b31b210a28894a8c4269dccc6eaf57fef51405533a18758609fa5b7e249807f8f4111f2f75e8b04e81865a4a758d1c487e668910e1d1b126c3f52aa782 + languageName: node + linkType: hard + +"@sentry/cli@npm:^2.36.1, @sentry/cli@npm:^2.39.1": version: 2.39.1 resolution: "@sentry/cli@npm:2.39.1" dependencies: @@ -12888,56 +12836,40 @@ __metadata: languageName: node linkType: hard -"@sentry/cli@npm:^1.77.1": - version: 1.77.3 - resolution: "@sentry/cli@npm:1.77.3" +"@sentry/core@npm:7.120.0": + version: 7.120.0 + resolution: "@sentry/core@npm:7.120.0" dependencies: - https-proxy-agent: "npm:^5.0.0" - mkdirp: "npm:^0.5.5" - node-fetch: "npm:^2.6.7" - progress: "npm:^2.0.3" - proxy-from-env: "npm:^1.1.0" - which: "npm:^2.0.2" - bin: - sentry-cli: bin/sentry-cli - checksum: 10c0/b8c584b31b210a28894a8c4269dccc6eaf57fef51405533a18758609fa5b7e249807f8f4111f2f75e8b04e81865a4a758d1c487e668910e1d1b126c3f52aa782 - languageName: node - linkType: hard - -"@sentry/core@npm:7.120.1": - version: 7.120.1 - resolution: "@sentry/core@npm:7.120.1" - dependencies: - "@sentry/types": "npm:7.120.1" - "@sentry/utils": "npm:7.120.1" - checksum: 10c0/f59c36f67a98b9d64fb5c28b719782c09c4014245fb4ca617ef9779ee5fd3100f89bae87b1e06c4e39e40227f45edf25facf2a99b2381ffaa172507340097d4f + "@sentry/types": "npm:7.120.0" + "@sentry/utils": "npm:7.120.0" + checksum: 10c0/e2a09af3d21f02174eeafaeabf88e1ba66b017a920659cee71048cb845515f3e4e47611154238226d061ea47a8e8871297fd8b19fd820e42823234869fb4e0fe languageName: node linkType: hard -"@sentry/integrations@npm:7.120.1": - version: 7.120.1 - resolution: "@sentry/integrations@npm:7.120.1" +"@sentry/integrations@npm:7.120.0": + version: 7.120.0 + resolution: "@sentry/integrations@npm:7.120.0" dependencies: - "@sentry/core": "npm:7.120.1" - "@sentry/types": "npm:7.120.1" - "@sentry/utils": "npm:7.120.1" + "@sentry/core": "npm:7.120.0" + "@sentry/types": "npm:7.120.0" + "@sentry/utils": "npm:7.120.0" localforage: "npm:^1.8.1" - checksum: 10c0/3383b529abf57cc7f37cd6d5cce217e77a4326c262c9f063ebb45b446bcefe9999597493d5641bde1ba250ae62c53cc1536ccda24f822d8b04b878580a8e3410 + checksum: 10c0/857ae26286cf322ec12b96a975a544c36fa36fa3b70344196c83fd5ee8bf9dc01fed848faa99926960533ef3e639071d83b80ea68d298b6f77ce40b7eb9255ca languageName: node linkType: hard -"@sentry/nextjs@npm:7.120.1": - version: 7.120.1 - resolution: "@sentry/nextjs@npm:7.120.1" +"@sentry/nextjs@npm:7.120.0": + version: 7.120.0 + resolution: "@sentry/nextjs@npm:7.120.0" dependencies: "@rollup/plugin-commonjs": "npm:24.0.0" - "@sentry/core": "npm:7.120.1" - "@sentry/integrations": "npm:7.120.1" - "@sentry/node": "npm:7.120.1" - "@sentry/react": "npm:7.120.1" - "@sentry/types": "npm:7.120.1" - "@sentry/utils": "npm:7.120.1" - "@sentry/vercel-edge": "npm:7.120.1" + "@sentry/core": "npm:7.120.0" + "@sentry/integrations": "npm:7.120.0" + "@sentry/node": "npm:7.120.0" + "@sentry/react": "npm:7.120.0" + "@sentry/types": "npm:7.120.0" + "@sentry/utils": "npm:7.120.0" + "@sentry/vercel-edge": "npm:7.120.0" "@sentry/webpack-plugin": "npm:1.21.0" chalk: "npm:3.0.0" resolve: "npm:1.22.8" @@ -12950,76 +12882,76 @@ __metadata: peerDependenciesMeta: webpack: optional: true - checksum: 10c0/f50a616705c1a19092594a2874d281698264cf13b686516f275f7df0629181e523eee5ab39839c719517e402c06bbb88c1efe4bc7858e48c6ae1e93feaf4909f + checksum: 10c0/b078131ea2aa44471c3fabaaa97b72463e9582ee033b6bd63062e8409779303aa3924d7c54ce3216052a9ecac53718a0898455808f36a43a2c9d55675c79cdbd languageName: node linkType: hard -"@sentry/node@npm:7.120.1": - version: 7.120.1 - resolution: "@sentry/node@npm:7.120.1" +"@sentry/node@npm:7.120.0": + version: 7.120.0 + resolution: "@sentry/node@npm:7.120.0" dependencies: - "@sentry-internal/tracing": "npm:7.120.1" - "@sentry/core": "npm:7.120.1" - "@sentry/integrations": "npm:7.120.1" - "@sentry/types": "npm:7.120.1" - "@sentry/utils": "npm:7.120.1" - checksum: 10c0/005e05c0c31d376495ff309231f4bd2907bb0c406f545aa66b3886a615bed8671838c87f43d0e88a78c80f76ce1dc5a2e783341dab1a02bcb8aa4a053154d9ee + "@sentry-internal/tracing": "npm:7.120.0" + "@sentry/core": "npm:7.120.0" + "@sentry/integrations": "npm:7.120.0" + "@sentry/types": "npm:7.120.0" + "@sentry/utils": "npm:7.120.0" + checksum: 10c0/278190e9398153253ae7dde4d5661d6f9671c780c7d30650e379a2d4deec49261292a04844069548f636023f4eaf980d2f1b8edf647470c282d067b64bfab95f languageName: node linkType: hard -"@sentry/react@npm:7.120.1": - version: 7.120.1 - resolution: "@sentry/react@npm:7.120.1" +"@sentry/react@npm:7.120.0": + version: 7.120.0 + resolution: "@sentry/react@npm:7.120.0" dependencies: - "@sentry/browser": "npm:7.120.1" - "@sentry/core": "npm:7.120.1" - "@sentry/types": "npm:7.120.1" - "@sentry/utils": "npm:7.120.1" + "@sentry/browser": "npm:7.120.0" + "@sentry/core": "npm:7.120.0" + "@sentry/types": "npm:7.120.0" + "@sentry/utils": "npm:7.120.0" hoist-non-react-statics: "npm:^3.3.2" peerDependencies: react: 15.x || 16.x || 17.x || 18.x - checksum: 10c0/c25bc5336e3f62fa2868b86ed9e8ce3e8818ffc6996eafc764b2429aee90b00309e2eb6cc1b00ceb22ec4a33be41445d17b7e63562b6cbb0c451683a1e4a4790 + checksum: 10c0/cc9e9cd6408d136595ce5277fbb93ecec3797b0f7137a7d1dbfd29e04e463e71871211401c85bbae64d0068049607224b94741ecd7f26d1fd549244f9802c89b languageName: node linkType: hard -"@sentry/replay@npm:7.120.1": - version: 7.120.1 - resolution: "@sentry/replay@npm:7.120.1" +"@sentry/replay@npm:7.120.0": + version: 7.120.0 + resolution: "@sentry/replay@npm:7.120.0" dependencies: - "@sentry-internal/tracing": "npm:7.120.1" - "@sentry/core": "npm:7.120.1" - "@sentry/types": "npm:7.120.1" - "@sentry/utils": "npm:7.120.1" - checksum: 10c0/53e485004a7d4cd1a2a1519aaa62ca7b562c0e274e142019d677688e2ba6b76e65202ceb1ef95b71c3cde917cb26c4636dc5559454cb48a686bed34b2ac67855 + "@sentry-internal/tracing": "npm:7.120.0" + "@sentry/core": "npm:7.120.0" + "@sentry/types": "npm:7.120.0" + "@sentry/utils": "npm:7.120.0" + checksum: 10c0/ead29c27424b7cd5f4f8d4163f86594a478356739322cbc8e384f9a38b88d4b5adebb59bd2d0375b39cdf896ea13b34d3206a2ce54ffcc065e7198f9ac0f4540 languageName: node linkType: hard -"@sentry/types@npm:7.120.1": - version: 7.120.1 - resolution: "@sentry/types@npm:7.120.1" - checksum: 10c0/2a803e1445304c365a2459111bc44d2226adbf5cf8332b486508d1920d8f8fd6b9d04fbcf764bc97920c11030b953f62fa43acec62722f973747cbaa2b189ad4 +"@sentry/types@npm:7.120.0": + version: 7.120.0 + resolution: "@sentry/types@npm:7.120.0" + checksum: 10c0/6db9de799591378d8d77ca80bb0b9271e514feb93f70fcbbd295cf71386ac2a7c35a317689894d86b37623c6fad85e3a7f2116b44660b1c1c44b7d49f00457d5 languageName: node linkType: hard -"@sentry/utils@npm:7.120.1": - version: 7.120.1 - resolution: "@sentry/utils@npm:7.120.1" +"@sentry/utils@npm:7.120.0": + version: 7.120.0 + resolution: "@sentry/utils@npm:7.120.0" dependencies: - "@sentry/types": "npm:7.120.1" - checksum: 10c0/bff650f6019e2ec44af46e4a80faf00aa2978a278c19cec464b7a0718c19cc514c82747a6e58c7443cd12bf64263b29a25c173581484290b85ad7ececd31c76e + "@sentry/types": "npm:7.120.0" + checksum: 10c0/b5b20bbccd47d6b3732d2c5a6fbbb40474c66d96e2923c1d09c5060e677f3156a5a73a6527c2fa46e712a4dec37fb6a4b81e185f0d4275beb48cfc028fdeec7e languageName: node linkType: hard -"@sentry/vercel-edge@npm:7.120.1": - version: 7.120.1 - resolution: "@sentry/vercel-edge@npm:7.120.1" +"@sentry/vercel-edge@npm:7.120.0": + version: 7.120.0 + resolution: "@sentry/vercel-edge@npm:7.120.0" dependencies: - "@sentry-internal/tracing": "npm:7.120.1" - "@sentry/core": "npm:7.120.1" - "@sentry/integrations": "npm:7.120.1" - "@sentry/types": "npm:7.120.1" - "@sentry/utils": "npm:7.120.1" - checksum: 10c0/73f2ba487c27ba2d0e1b35fb902aba8e9e596faa06209572c323f24494182899b338b697b19fab8d15f4728490016ba009501af5d92bf7f06e285fdda13fc9ce + "@sentry-internal/tracing": "npm:7.120.0" + "@sentry/core": "npm:7.120.0" + "@sentry/integrations": "npm:7.120.0" + "@sentry/types": "npm:7.120.0" + "@sentry/utils": "npm:7.120.0" + checksum: 10c0/6d4567e4edf46bfba6459d64ada81d5ecf95ee68b635b5ba7a38c94283db2b93bc714919744078f8ecbd2a53a78db22ac7402b5cab4724db5abedf71fb3cc3e9 languageName: node linkType: hard @@ -13033,16 +12965,16 @@ __metadata: languageName: node linkType: hard -"@sentry/webpack-plugin@npm:2.22.7": - version: 2.22.7 - resolution: "@sentry/webpack-plugin@npm:2.22.7" +"@sentry/webpack-plugin@npm:2.22.6": + version: 2.22.6 + resolution: "@sentry/webpack-plugin@npm:2.22.6" dependencies: - "@sentry/bundler-plugin-core": "npm:2.22.7" + "@sentry/bundler-plugin-core": "npm:2.22.6" unplugin: "npm:1.0.1" uuid: "npm:^9.0.0" peerDependencies: webpack: ">=4.40.0" - checksum: 10c0/075ac3f3a35814d0af5b14f078c662d9f07133f7c1a8dbe6d7d19aeb60cfe01aafbe0ecb9be8e8115fdf82390650a1cd68f3d47d6f76db014b355dbe17e52645 + checksum: 10c0/0f74b571f09b71774e233138a5a7581a06d12fc71caedceacbb3afaa50be1b726794502282dd18e692d7710fc6eb2e5e6d5d8e3646e74e0c8f0e60303f68d4ae languageName: node linkType: hard @@ -13184,13 +13116,6 @@ __metadata: languageName: node linkType: hard -"@sindresorhus/fnv1a@npm:^3.1.0": - version: 3.1.0 - resolution: "@sindresorhus/fnv1a@npm:3.1.0" - checksum: 10c0/75b31084b4d886eb774266c546ecd06744758d26e1b89c9a2ee11d5f8f84541c1e1befa4b37d8548fd78c03a617dcfe92730a65178510369a73ecf4cda4c341b - languageName: node - linkType: hard - "@sindresorhus/is@npm:^4.0.0": version: 4.6.0 resolution: "@sindresorhus/is@npm:4.6.0" @@ -14763,6 +14688,15 @@ __metadata: languageName: node linkType: hard +"@storybook/csf@npm:^0.1.11": + version: 0.1.12 + resolution: "@storybook/csf@npm:0.1.12" + dependencies: + type-fest: "npm:^2.19.0" + checksum: 10c0/3d96a976ada67eb683279338d1eb6aa730b228107d4c4f6616ea7b94061899c1fdc11957a756e7bc0708d18cb39af0010c865d124efd84559cd82dcb2d8bc959 + languageName: node + linkType: hard + "@storybook/csf@npm:^0.1.2": version: 0.1.11 resolution: "@storybook/csf@npm:0.1.11" @@ -15065,6 +14999,21 @@ __metadata: languageName: node linkType: hard +"@stylistic/eslint-plugin@npm:^2.6.4": + version: 2.11.0 + resolution: "@stylistic/eslint-plugin@npm:2.11.0" + dependencies: + "@typescript-eslint/utils": "npm:^8.13.0" + eslint-visitor-keys: "npm:^4.2.0" + espree: "npm:^10.3.0" + estraverse: "npm:^5.3.0" + picomatch: "npm:^4.0.2" + peerDependencies: + eslint: ">=8.40.0" + checksum: 10c0/6ca19b6656be5ed657cf4d1920602fb27144dc5d51ba188e0bdcb2a4e0b740d4fdb27052fc268d164fa1269c972aeab15541c9e15b3ff4b7884ecae47f18ff67 + languageName: node + linkType: hard + "@svgr/babel-plugin-add-jsx-attribute@npm:8.0.0": version: 8.0.0 resolution: "@svgr/babel-plugin-add-jsx-attribute@npm:8.0.0" @@ -15876,7 +15825,7 @@ __metadata: "@local/tsconfig": "npm:0.0.0-private" "@rust/hash-graph-type-defs": "npm:0.0.0-private" "@types/node-fetch": "npm:2.6.12" - "@vitest/coverage-istanbul": "npm:2.1.8" + "@vitest/coverage-istanbul": "npm:2.1.6" eslint: "npm:8.57.0" execa: "npm:5.1.1" fractional-indexing: "npm:2.1.0" @@ -15885,7 +15834,7 @@ __metadata: node-fetch: "npm:2.7.0" rimraf: "npm:6.0.1" typescript: "npm:5.6.3" - vitest: "npm:2.1.8" + vitest: "npm:2.1.6" languageName: unknown linkType: soft @@ -15903,10 +15852,10 @@ __metadata: "@local/hash-subgraph": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@opentelemetry/api": "npm:1.9.0" - "@opentelemetry/exporter-trace-otlp-grpc": "npm:0.56.0" - "@opentelemetry/resources": "npm:1.29.0" - "@opentelemetry/sdk-node": "npm:0.56.0" - "@opentelemetry/sdk-trace-node": "npm:1.29.0" + "@opentelemetry/exporter-trace-otlp-grpc": "npm:0.55.0" + "@opentelemetry/resources": "npm:1.28.0" + "@opentelemetry/sdk-node": "npm:0.55.0" + "@opentelemetry/sdk-trace-node": "npm:1.28.0" "@opentelemetry/semantic-conventions": "npm:1.28.0" "@ory/client": "npm:1.1.41" "@rollup/plugin-commonjs": "npm:28.0.1" @@ -15918,7 +15867,7 @@ __metadata: dotenv-flow: "npm:3.3.0" eslint: "npm:8.57.0" rimraf: "npm:6.0.1" - rollup: "npm:4.28.1" + rollup: "npm:4.27.4" typescript: "npm:5.6.3" uuid: "npm:9.0.1" languageName: unknown @@ -16697,15 +16646,6 @@ __metadata: languageName: node linkType: hard -"@types/dns-packet@npm:^5.6.5": - version: 5.6.5 - resolution: "@types/dns-packet@npm:5.6.5" - dependencies: - "@types/node": "npm:*" - checksum: 10c0/70fa9cb77a614f65288a48749d28cc9f40ce6c60980e2b75b25eac0b4e1e4109d14edf5151fa5e7b10aae1ec6b1094a2f171b9941191ff4c9a7afe23116b9edc - languageName: node - linkType: hard - "@types/doctrine@npm:^0.0.3": version: 0.0.3 resolution: "@types/doctrine@npm:0.0.3" @@ -16801,7 +16741,7 @@ __metadata: languageName: node linkType: hard -"@types/eslint@npm:*": +"@types/eslint@npm:*, @types/eslint@npm:9.6.1": version: 9.6.1 resolution: "@types/eslint@npm:9.6.1" dependencies: @@ -17310,13 +17250,6 @@ __metadata: languageName: node linkType: hard -"@types/murmurhash3js-revisited@npm:^3.0.3": - version: 3.0.3 - resolution: "@types/murmurhash3js-revisited@npm:3.0.3" - checksum: 10c0/6d604012f7dc6c4a7352cdfefebd301f0d1d525459bcff649fc63c6a715729db8ac0944425de9efbff4a05be9ebbc0eedae39886a1a88687ed1607dcc5d9ee5f - languageName: node - linkType: hard - "@types/node-fetch@npm:2.6.12, @types/node-fetch@npm:^2.5.10, @types/node-fetch@npm:^2.6.4": version: 2.6.12 resolution: "@types/node-fetch@npm:2.6.12" @@ -17336,12 +17269,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*, @types/node@npm:22.10.1, @types/node@npm:>=13.7.0": - version: 22.10.1 - resolution: "@types/node@npm:22.10.1" +"@types/node@npm:*, @types/node@npm:22.10.0, @types/node@npm:>=13.7.0": + version: 22.10.0 + resolution: "@types/node@npm:22.10.0" dependencies: undici-types: "npm:~6.20.0" - checksum: 10c0/0fbb6d29fa35d807f0223a4db709c598ac08d66820240a2cd6a8a69b8f0bc921d65b339d850a666b43b4e779f967e6ed6cf6f0fca3575e08241e6b900364c234 + checksum: 10c0/efb3783b6fe74b4300c5bdd4f245f1025887d9b1d0950edae584af58a30d95cc058c10b4b3428f8300e4318468b605240c2ede8fcfb6ead2e0f05bca31e54c1b languageName: node linkType: hard @@ -17393,7 +17326,7 @@ __metadata: languageName: node linkType: hard -"@types/normalize-package-data@npm:^2.4.0": +"@types/normalize-package-data@npm:^2.4.0, @types/normalize-package-data@npm:^2.4.3": version: 2.4.4 resolution: "@types/normalize-package-data@npm:2.4.4" checksum: 10c0/aef7bb9b015883d6f4119c423dd28c4bdc17b0e8a0ccf112c78b4fe0e91fbc4af7c6204b04bba0e199a57d2f3fbbd5b4a14bf8739bf9d2a39b2a0aad545e0f86 @@ -17441,16 +17374,7 @@ __metadata: languageName: node linkType: hard -"@types/prettier@npm:3.0.0": - version: 3.0.0 - resolution: "@types/prettier@npm:3.0.0" - dependencies: - prettier: "npm:*" - checksum: 10c0/edab8c0c0e56936e89c919cac17e384a9f231ce12062fb3beeb45bc45e7dcc4035dd3d7df3333b0bdd39f3b4501f22267a9dba45e22b9728c139857142e90282 - languageName: node - linkType: hard - -"@types/prettier@npm:^2.6.1": +"@types/prettier@npm:2.7.3, @types/prettier@npm:^2.6.1": version: 2.7.3 resolution: "@types/prettier@npm:2.7.3" checksum: 10c0/0960b5c1115bb25e979009d0b44c42cf3d792accf24085e4bfce15aef5794ea042e04e70c2139a2c3387f781f18c89b5706f000ddb089e9a4a2ccb7536a2c5f0 @@ -17652,13 +17576,6 @@ __metadata: languageName: node linkType: hard -"@types/retry@npm:0.12.2": - version: 0.12.2 - resolution: "@types/retry@npm:0.12.2" - checksum: 10c0/07481551a988cc90b423351919928b9ddcd14e3f5591cac3ab950851bb20646e55a10e89141b38bc3093d2056d4df73700b22ff2612976ac86a6367862381884 - languageName: node - linkType: hard - "@types/sanitize-html@npm:2.13.0": version: 2.13.0 resolution: "@types/sanitize-html@npm:2.13.0" @@ -17733,22 +17650,6 @@ __metadata: languageName: node linkType: hard -"@types/sinon@npm:^17.0.3": - version: 17.0.3 - resolution: "@types/sinon@npm:17.0.3" - dependencies: - "@types/sinonjs__fake-timers": "npm:*" - checksum: 10c0/6fc3aa497fd87826375de3dbddc2bf01c281b517c32c05edf95b5ad906382dc221bca01ca9d44fc7d5cb4c768f996f268154e87633a45b3c0b5cddca7ef5e2be - languageName: node - linkType: hard - -"@types/sinonjs__fake-timers@npm:*": - version: 8.1.5 - resolution: "@types/sinonjs__fake-timers@npm:8.1.5" - checksum: 10c0/2b8bdc246365518fc1b08f5720445093cce586183acca19a560be6ef81f824bd9a96c090e462f622af4d206406dadf2033c5daf99a51c1096da6494e5c8dc32e - languageName: node - linkType: hard - "@types/sockjs@npm:^0.3.33": version: 0.3.36 resolution: "@types/sockjs@npm:0.3.36" @@ -17935,6 +17836,29 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/eslint-plugin@npm:8.16.0": + version: 8.16.0 + resolution: "@typescript-eslint/eslint-plugin@npm:8.16.0" + dependencies: + "@eslint-community/regexpp": "npm:^4.10.0" + "@typescript-eslint/scope-manager": "npm:8.16.0" + "@typescript-eslint/type-utils": "npm:8.16.0" + "@typescript-eslint/utils": "npm:8.16.0" + "@typescript-eslint/visitor-keys": "npm:8.16.0" + graphemer: "npm:^1.4.0" + ignore: "npm:^5.3.1" + natural-compare: "npm:^1.4.0" + ts-api-utils: "npm:^1.3.0" + peerDependencies: + "@typescript-eslint/parser": ^8.0.0 || ^8.0.0-alpha.0 + eslint: ^8.57.0 || ^9.0.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: 10c0/b03612b726ee5aff631cd50e05ceeb06a522e64465e4efdc134e3a27a09406b959ef7a05ec4acef1956b3674dc4fedb6d3a62ce69382f9e30c227bd4093003e5 + languageName: node + linkType: hard + "@typescript-eslint/experimental-utils@npm:^5.0.0": version: 5.62.0 resolution: "@typescript-eslint/experimental-utils@npm:5.62.0" @@ -17964,6 +17888,42 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/parser@npm:8.16.0": + version: 8.16.0 + resolution: "@typescript-eslint/parser@npm:8.16.0" + dependencies: + "@typescript-eslint/scope-manager": "npm:8.16.0" + "@typescript-eslint/types": "npm:8.16.0" + "@typescript-eslint/typescript-estree": "npm:8.16.0" + "@typescript-eslint/visitor-keys": "npm:8.16.0" + debug: "npm:^4.3.4" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: 10c0/e49c6640a7a863a16baecfbc5b99392a4731e9c7e9c9aaae4efbc354e305485fe0f39a28bf0acfae85bc01ce37fe0cc140fd315fdaca8b18f9b5e0addff8ceae + languageName: node + linkType: hard + +"@typescript-eslint/parser@npm:^6.2.0": + version: 6.21.0 + resolution: "@typescript-eslint/parser@npm:6.21.0" + dependencies: + "@typescript-eslint/scope-manager": "npm:6.21.0" + "@typescript-eslint/types": "npm:6.21.0" + "@typescript-eslint/typescript-estree": "npm:6.21.0" + "@typescript-eslint/visitor-keys": "npm:6.21.0" + debug: "npm:^4.3.4" + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: 10c0/a8f99820679decd0d115c0af61903fb1de3b1b5bec412dc72b67670bf636de77ab07f2a68ee65d6da7976039bbf636907f9d5ca546db3f0b98a31ffbc225bc7d + languageName: node + linkType: hard + "@typescript-eslint/scope-manager@npm:5.62.0": version: 5.62.0 resolution: "@typescript-eslint/scope-manager@npm:5.62.0" @@ -17984,6 +17944,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/scope-manager@npm:7.18.0": + version: 7.18.0 + resolution: "@typescript-eslint/scope-manager@npm:7.18.0" + dependencies: + "@typescript-eslint/types": "npm:7.18.0" + "@typescript-eslint/visitor-keys": "npm:7.18.0" + checksum: 10c0/038cd58c2271de146b3a594afe2c99290034033326d57ff1f902976022c8b0138ffd3cb893ae439ae41003b5e4bcc00cabf6b244ce40e8668f9412cc96d97b8e + languageName: node + linkType: hard + "@typescript-eslint/scope-manager@npm:7.2.0": version: 7.2.0 resolution: "@typescript-eslint/scope-manager@npm:7.2.0" @@ -17994,6 +17964,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/scope-manager@npm:8.16.0, @typescript-eslint/scope-manager@npm:^7.0.0 || ^8.0.0, @typescript-eslint/scope-manager@npm:^8.16.0": + version: 8.16.0 + resolution: "@typescript-eslint/scope-manager@npm:8.16.0" + dependencies: + "@typescript-eslint/types": "npm:8.16.0" + "@typescript-eslint/visitor-keys": "npm:8.16.0" + checksum: 10c0/23b7c738b83f381c6419a36e6ca951944187e3e00abb8e012bce8041880410fe498303e28bdeb0e619023a69b14cf32a5ec1f9427c5382807788cd8e52a46a6e + languageName: node + linkType: hard + "@typescript-eslint/type-utils@npm:7.2.0": version: 7.2.0 resolution: "@typescript-eslint/type-utils@npm:7.2.0" @@ -18011,6 +17991,23 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/type-utils@npm:8.16.0, @typescript-eslint/type-utils@npm:^8.0.0, @typescript-eslint/type-utils@npm:^8.16.0": + version: 8.16.0 + resolution: "@typescript-eslint/type-utils@npm:8.16.0" + dependencies: + "@typescript-eslint/typescript-estree": "npm:8.16.0" + "@typescript-eslint/utils": "npm:8.16.0" + debug: "npm:^4.3.4" + ts-api-utils: "npm:^1.3.0" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: 10c0/24c0e815c8bdf99bf488c7528bd6a7c790e8b3b674cb7fb075663afc2ee26b48e6f4cf7c0d14bb21e2376ca62bd8525cbcb5688f36135b00b62b1d353d7235b9 + languageName: node + linkType: hard + "@typescript-eslint/types@npm:5.62.0": version: 5.62.0 resolution: "@typescript-eslint/types@npm:5.62.0" @@ -18025,6 +18022,13 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/types@npm:7.18.0": + version: 7.18.0 + resolution: "@typescript-eslint/types@npm:7.18.0" + checksum: 10c0/eb7371ac55ca77db8e59ba0310b41a74523f17e06f485a0ef819491bc3dd8909bb930120ff7d30aaf54e888167e0005aa1337011f3663dc90fb19203ce478054 + languageName: node + linkType: hard + "@typescript-eslint/types@npm:7.2.0": version: 7.2.0 resolution: "@typescript-eslint/types@npm:7.2.0" @@ -18032,6 +18036,13 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/types@npm:8.16.0, @typescript-eslint/types@npm:^7.0.0 || ^8.0.0, @typescript-eslint/types@npm:^7.7.1 || ^8, @typescript-eslint/types@npm:^8.16.0": + version: 8.16.0 + resolution: "@typescript-eslint/types@npm:8.16.0" + checksum: 10c0/141e257ab4060a9c0e2e14334ca14ab6be713659bfa38acd13be70a699fb5f36932a2584376b063063ab3d723b24bc703dbfb1ce57d61d7cfd7ec5bd8a975129 + languageName: node + linkType: hard + "@typescript-eslint/typescript-estree@npm:5.62.0, @typescript-eslint/typescript-estree@npm:^5.62.0": version: 5.62.0 resolution: "@typescript-eslint/typescript-estree@npm:5.62.0" @@ -18069,6 +18080,25 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/typescript-estree@npm:7.18.0": + version: 7.18.0 + resolution: "@typescript-eslint/typescript-estree@npm:7.18.0" + dependencies: + "@typescript-eslint/types": "npm:7.18.0" + "@typescript-eslint/visitor-keys": "npm:7.18.0" + debug: "npm:^4.3.4" + globby: "npm:^11.1.0" + is-glob: "npm:^4.0.3" + minimatch: "npm:^9.0.4" + semver: "npm:^7.6.0" + ts-api-utils: "npm:^1.3.0" + peerDependenciesMeta: + typescript: + optional: true + checksum: 10c0/0c7f109a2e460ec8a1524339479cf78ff17814d23c83aa5112c77fb345e87b3642616291908dcddea1e671da63686403dfb712e4a4435104f92abdfddf9aba81 + languageName: node + linkType: hard + "@typescript-eslint/typescript-estree@npm:7.2.0": version: 7.2.0 resolution: "@typescript-eslint/typescript-estree@npm:7.2.0" @@ -18088,6 +18118,25 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/typescript-estree@npm:8.16.0, @typescript-eslint/typescript-estree@npm:^7.0.0 || ^8.0.0, @typescript-eslint/typescript-estree@npm:^8.16.0": + version: 8.16.0 + resolution: "@typescript-eslint/typescript-estree@npm:8.16.0" + dependencies: + "@typescript-eslint/types": "npm:8.16.0" + "@typescript-eslint/visitor-keys": "npm:8.16.0" + debug: "npm:^4.3.4" + fast-glob: "npm:^3.3.2" + is-glob: "npm:^4.0.3" + minimatch: "npm:^9.0.4" + semver: "npm:^7.6.0" + ts-api-utils: "npm:^1.3.0" + peerDependenciesMeta: + typescript: + optional: true + checksum: 10c0/f28fea5af4798a718b6735d1758b791a331af17386b83cb2856d89934a5d1693f7cb805e73c3b33f29140884ac8ead9931b1d7c3de10176fa18ca7a346fe10d0 + languageName: node + linkType: hard + "@typescript-eslint/utils@npm:5.62.0, @typescript-eslint/utils@npm:^5.62.0": version: 5.62.0 resolution: "@typescript-eslint/utils@npm:5.62.0" @@ -18123,7 +18172,24 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:^6.1.0": +"@typescript-eslint/utils@npm:8.16.0, @typescript-eslint/utils@npm:^6.0.0 || ^7.0.0 || ^8.0.0, @typescript-eslint/utils@npm:^8.13.0, @typescript-eslint/utils@npm:^8.16.0, @typescript-eslint/utils@npm:^8.8.1": + version: 8.16.0 + resolution: "@typescript-eslint/utils@npm:8.16.0" + dependencies: + "@eslint-community/eslint-utils": "npm:^4.4.0" + "@typescript-eslint/scope-manager": "npm:8.16.0" + "@typescript-eslint/types": "npm:8.16.0" + "@typescript-eslint/typescript-estree": "npm:8.16.0" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: 10c0/1e61187eef3da1ab1486d2a977d8f3b1cb8ef7fa26338500a17eb875ca42a8942ef3f2241f509eef74cf7b5620c109483afc7d83d5b0ab79b1e15920f5a49818 + languageName: node + linkType: hard + +"@typescript-eslint/utils@npm:^6.0.0, @typescript-eslint/utils@npm:^6.1.0": version: 6.21.0 resolution: "@typescript-eslint/utils@npm:6.21.0" dependencies: @@ -18140,6 +18206,20 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/utils@npm:^7.16.0": + version: 7.18.0 + resolution: "@typescript-eslint/utils@npm:7.18.0" + dependencies: + "@eslint-community/eslint-utils": "npm:^4.4.0" + "@typescript-eslint/scope-manager": "npm:7.18.0" + "@typescript-eslint/types": "npm:7.18.0" + "@typescript-eslint/typescript-estree": "npm:7.18.0" + peerDependencies: + eslint: ^8.56.0 + checksum: 10c0/a25a6d50eb45c514469a01ff01f215115a4725fb18401055a847ddf20d1b681409c4027f349033a95c4ff7138d28c3b0a70253dfe8262eb732df4b87c547bd1e + languageName: node + linkType: hard + "@typescript-eslint/visitor-keys@npm:5.62.0": version: 5.62.0 resolution: "@typescript-eslint/visitor-keys@npm:5.62.0" @@ -18160,6 +18240,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/visitor-keys@npm:7.18.0": + version: 7.18.0 + resolution: "@typescript-eslint/visitor-keys@npm:7.18.0" + dependencies: + "@typescript-eslint/types": "npm:7.18.0" + eslint-visitor-keys: "npm:^3.4.3" + checksum: 10c0/538b645f8ff1d9debf264865c69a317074eaff0255e63d7407046176b0f6a6beba34a6c51d511f12444bae12a98c69891eb6f403c9f54c6c2e2849d1c1cb73c0 + languageName: node + linkType: hard + "@typescript-eslint/visitor-keys@npm:7.2.0": version: 7.2.0 resolution: "@typescript-eslint/visitor-keys@npm:7.2.0" @@ -18170,6 +18260,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/visitor-keys@npm:8.16.0": + version: 8.16.0 + resolution: "@typescript-eslint/visitor-keys@npm:8.16.0" + dependencies: + "@typescript-eslint/types": "npm:8.16.0" + eslint-visitor-keys: "npm:^4.2.0" + checksum: 10c0/537df37801831aa8d91082b2adbffafd40305ed4518f0e7d3cbb17cc466d8b9ac95ac91fa232e7fe585d7c522d1564489ec80052ebb2a6ab9bbf89ef9dd9b7bc + languageName: node + linkType: hard + "@ungap/structured-clone@npm:^1.0.0, @ungap/structured-clone@npm:^1.2.0": version: 1.2.0 resolution: "@ungap/structured-clone@npm:1.2.0" @@ -18195,9 +18295,9 @@ __metadata: languageName: node linkType: hard -"@vitest/coverage-istanbul@npm:2.1.8": - version: 2.1.8 - resolution: "@vitest/coverage-istanbul@npm:2.1.8" +"@vitest/coverage-istanbul@npm:2.1.6": + version: 2.1.6 + resolution: "@vitest/coverage-istanbul@npm:2.1.6" dependencies: "@istanbuljs/schema": "npm:^0.1.3" debug: "npm:^4.3.7" @@ -18210,89 +18310,106 @@ __metadata: test-exclude: "npm:^7.0.1" tinyrainbow: "npm:^1.2.0" peerDependencies: - vitest: 2.1.8 - checksum: 10c0/809eeccebaa7fd0e349d89a8d374e449c65a1d626f46b03b080aa507ac93dfb340c90dd491fe9a08dca896d6832e0f3dcffd6fd7ba3d05c1dc95c7a32aabc50c + vitest: 2.1.6 + checksum: 10c0/ec70ee61a60357f586f0f7911018caef7a41ff622f8c2e9683d36dd620f50bc9ed2445916aced64e1f34428a2c3ea7c1d2ddfdb23201a0f59d72c0d828e30216 languageName: node linkType: hard -"@vitest/expect@npm:2.1.8": - version: 2.1.8 - resolution: "@vitest/expect@npm:2.1.8" +"@vitest/eslint-plugin@npm:^1.0.3": + version: 1.1.13 + resolution: "@vitest/eslint-plugin@npm:1.1.13" + peerDependencies: + "@typescript-eslint/utils": ">= 8.0" + eslint: ">= 8.57.0" + typescript: ">= 5.0.0" + vitest: "*" + peerDependenciesMeta: + typescript: + optional: true + vitest: + optional: true + checksum: 10c0/179b095dfa0d19c34dcbd52f4a0048b4d1a6827b473b1328c2a8e69be57592e0ab2bebb1686b93c375c4e21ec54887422fc446f5d3f2d1839ba42925cb33685c + languageName: node + linkType: hard + +"@vitest/expect@npm:2.1.6": + version: 2.1.6 + resolution: "@vitest/expect@npm:2.1.6" dependencies: - "@vitest/spy": "npm:2.1.8" - "@vitest/utils": "npm:2.1.8" + "@vitest/spy": "npm:2.1.6" + "@vitest/utils": "npm:2.1.6" chai: "npm:^5.1.2" tinyrainbow: "npm:^1.2.0" - checksum: 10c0/6fbf4abc2360efe4d3671d3425f8bb6012fe2dd932a88720d8b793030b766ba260494822c721d3fc497afe52373515c7e150635a95c25f6e1b567f86155c5408 + checksum: 10c0/86327692f03b2ec6895486b118f25e1a141749c31ba671d253da4e33cf81db81f40755198ac9b46616155a8b74765d0ab15b8080041dbe139c83a9a0690004a2 languageName: node linkType: hard -"@vitest/mocker@npm:2.1.8": - version: 2.1.8 - resolution: "@vitest/mocker@npm:2.1.8" +"@vitest/mocker@npm:2.1.6": + version: 2.1.6 + resolution: "@vitest/mocker@npm:2.1.6" dependencies: - "@vitest/spy": "npm:2.1.8" + "@vitest/spy": "npm:2.1.6" estree-walker: "npm:^3.0.3" magic-string: "npm:^0.30.12" peerDependencies: msw: ^2.4.9 - vite: ^5.0.0 + vite: ^5.0.0 || ^6.0.0 peerDependenciesMeta: msw: optional: true vite: optional: true - checksum: 10c0/b4113ed8a57c0f60101d02e1b1769357a346ecd55ded499eab384d52106fd4b12d51e9aaa6db98f47de0d56662477be0ed8d46d6dfa84c235f9e1b234709814e + checksum: 10c0/f8f4482e196a72cc9f202edb07da6f8d612f0daef272525a4c2447a5ffa435cc1cfe758cb79af0e296a60faa973ee0e2767cbb8bb6769eff2b5b9c6941ceda7c languageName: node linkType: hard -"@vitest/pretty-format@npm:2.1.8, @vitest/pretty-format@npm:^2.1.8": - version: 2.1.8 - resolution: "@vitest/pretty-format@npm:2.1.8" +"@vitest/pretty-format@npm:2.1.6, @vitest/pretty-format@npm:^2.1.6": + version: 2.1.6 + resolution: "@vitest/pretty-format@npm:2.1.6" dependencies: tinyrainbow: "npm:^1.2.0" - checksum: 10c0/1dc5c9b1c7c7e78e46a2a16033b6b20be05958bbebc5a5b78f29e32718c80252034804fccd23f34db6b3583239db47e68fc5a8e41942c54b8047cc3b4133a052 + checksum: 10c0/5c82496e5816c0c388bbe18a88ed01b39f5492aaa8e0df90868a65a50ee135105da367e58b4a0bed0dc67201c0518c451a32a5d9b81f56665b76b1c75c550686 languageName: node linkType: hard -"@vitest/runner@npm:2.1.8": - version: 2.1.8 - resolution: "@vitest/runner@npm:2.1.8" +"@vitest/runner@npm:2.1.6": + version: 2.1.6 + resolution: "@vitest/runner@npm:2.1.6" dependencies: - "@vitest/utils": "npm:2.1.8" + "@vitest/utils": "npm:2.1.6" pathe: "npm:^1.1.2" - checksum: 10c0/d0826a71494adeafc8c6478257f584d11655145c83e2d8f94c17301d7059c7463ad768a69379e394c50838a7435abcc9255a6b7d8894f5ee06b153e314683a75 + checksum: 10c0/3105aaa875ac58e237626ae3f9734cf003c2e40886a96ba20e78f1c1f721c9013d4f720d4a2fa4cd3a415ccd529bb4c7ff73021871c8ecda423f7e1fb7695cd4 languageName: node linkType: hard -"@vitest/snapshot@npm:2.1.8": - version: 2.1.8 - resolution: "@vitest/snapshot@npm:2.1.8" +"@vitest/snapshot@npm:2.1.6": + version: 2.1.6 + resolution: "@vitest/snapshot@npm:2.1.6" dependencies: - "@vitest/pretty-format": "npm:2.1.8" + "@vitest/pretty-format": "npm:2.1.6" magic-string: "npm:^0.30.12" pathe: "npm:^1.1.2" - checksum: 10c0/8d7a77a52e128630ea737ee0a0fe746d1d325cac5848326861dbf042844da4d5c1a5145539ae0ed1a3f0b0363506e98d86f2679fadf114ec4b987f1eb616867b + checksum: 10c0/91708ee9fdf9ccaa637d9fa58141342831aaf2119641f050a45f80cca37f0a4c1f7d65363e609a6353594418d5ecfebacd090c64273cd63de6915d186c948632 languageName: node linkType: hard -"@vitest/spy@npm:2.1.8": - version: 2.1.8 - resolution: "@vitest/spy@npm:2.1.8" +"@vitest/spy@npm:2.1.6": + version: 2.1.6 + resolution: "@vitest/spy@npm:2.1.6" dependencies: tinyspy: "npm:^3.0.2" - checksum: 10c0/9740f10772ede004ea7f9ffb8a6c3011341d75d9d7f2d4d181b123a701c4691e942f38cf1700684a3bb5eea3c78addf753fd8cdf78c51d8eadc3bada6fadf8f2 + checksum: 10c0/4d3e965f9096968125dd4f53a66a8afd7a105852a41bd36865288bef5b6a79f3ec6f2056cc1c7be5a0afb2cd86b3b83e354451f452bf049ddd4516005a748f6f languageName: node linkType: hard -"@vitest/utils@npm:2.1.8": - version: 2.1.8 - resolution: "@vitest/utils@npm:2.1.8" +"@vitest/utils@npm:2.1.6": + version: 2.1.6 + resolution: "@vitest/utils@npm:2.1.6" dependencies: - "@vitest/pretty-format": "npm:2.1.8" + "@vitest/pretty-format": "npm:2.1.6" loupe: "npm:^3.1.2" tinyrainbow: "npm:^1.2.0" - checksum: 10c0/d4a29ecd8f6c24c790e4c009f313a044d89e664e331bc9c3cfb57fe1380fb1d2999706dbbfc291f067d6c489602e76d00435309fbc906197c0d01f831ca17d64 + checksum: 10c0/1ec077b9707ec627075348f1a98687c7bb2fcbf9edf6e73dea6842c328d0d51a33663d22679e2a90a75f45afca9246f8fa3ea452447f474ae9d5f4eca4023b91 languageName: node linkType: hard @@ -18396,7 +18513,7 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/ast@npm:1.14.1, @webassemblyjs/ast@npm:^1.14.1": +"@webassemblyjs/ast@npm:1.14.1, @webassemblyjs/ast@npm:^1.12.1": version: 1.14.1 resolution: "@webassemblyjs/ast@npm:1.14.1" dependencies: @@ -18482,7 +18599,7 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/wasm-edit@npm:^1.14.1": +"@webassemblyjs/wasm-edit@npm:^1.12.1": version: 1.14.1 resolution: "@webassemblyjs/wasm-edit@npm:1.14.1" dependencies: @@ -18523,7 +18640,7 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/wasm-parser@npm:1.14.1, @webassemblyjs/wasm-parser@npm:^1.14.1": +"@webassemblyjs/wasm-parser@npm:1.14.1, @webassemblyjs/wasm-parser@npm:^1.12.1": version: 1.14.1 resolution: "@webassemblyjs/wasm-parser@npm:1.14.1" dependencies: @@ -18988,7 +19105,7 @@ __metadata: languageName: node linkType: hard -"ajv@npm:8.17.1, ajv@npm:^8.0.0, ajv@npm:^8.11.2, ajv@npm:^8.12.0, ajv@npm:^8.9.0": +"ajv@npm:8.17.1, ajv@npm:^8.0.0, ajv@npm:^8.0.1, ajv@npm:^8.11.2, ajv@npm:^8.12.0, ajv@npm:^8.9.0": version: 8.17.1 resolution: "ajv@npm:8.17.1" dependencies: @@ -19000,7 +19117,7 @@ __metadata: languageName: node linkType: hard -"ajv@npm:^6.12.3, ajv@npm:^6.12.4, ajv@npm:^6.12.5": +"ajv@npm:^6.12.3, ajv@npm:^6.12.4, ajv@npm:^6.12.5, ajv@npm:~6.12.6": version: 6.12.6 resolution: "ajv@npm:6.12.6" dependencies: @@ -19049,6 +19166,15 @@ __metadata: languageName: node linkType: hard +"ansi-escapes@npm:^7.0.0": + version: 7.0.0 + resolution: "ansi-escapes@npm:7.0.0" + dependencies: + environment: "npm:^1.0.0" + checksum: 10c0/86e51e36fabef18c9c004af0a280573e828900641cea35134a124d2715e0c5a473494ab4ce396614505da77638ae290ff72dd8002d9747d2ee53f5d6bbe336be + languageName: node + linkType: hard + "ansi-html-community@npm:0.0.8, ansi-html-community@npm:^0.0.8": version: 0.0.8 resolution: "ansi-html-community@npm:0.0.8" @@ -19141,13 +19267,6 @@ __metadata: languageName: node linkType: hard -"any-signal@npm:^4.1.1": - version: 4.1.1 - resolution: "any-signal@npm:4.1.1" - checksum: 10c0/44066b59b5c5c3639147d792486c3fca64f17aba8d4c307a81e2b8d19abf4485a9122efae058f690f0c8af6f677da41968c28b64d91e68b8e535e341b609b674 - languageName: node - linkType: hard - "anymatch@npm:^3.0.3, anymatch@npm:~3.1.2": version: 3.1.3 resolution: "anymatch@npm:3.1.3" @@ -19394,6 +19513,13 @@ __metadata: languageName: node linkType: hard +"are-docs-informative@npm:^0.0.2": + version: 0.0.2 + resolution: "are-docs-informative@npm:0.0.2" + checksum: 10c0/f0326981bd699c372d268b526b170a28f2e1aec2cf99d7de0686083528427ecdf6ae41fef5d9988e224a5616298af747ad8a76e7306b0a7c97cc085a99636d60 + languageName: node + linkType: hard + "are-we-there-yet@npm:^2.0.0": version: 2.0.0 resolution: "are-we-there-yet@npm:2.0.0" @@ -19452,7 +19578,7 @@ __metadata: languageName: node linkType: hard -"aria-query@npm:^5.3.0": +"aria-query@npm:^5.3.0, aria-query@npm:^5.3.2": version: 5.3.2 resolution: "aria-query@npm:5.3.2" checksum: 10c0/003c7e3e2cff5540bf7a7893775fc614de82b0c5dde8ae823d47b7a28a9d4da1f7ed85f340bdb93d5649caa927755f0e31ecc7ab63edfdfc00c8ef07e505e03e @@ -19501,7 +19627,7 @@ __metadata: languageName: node linkType: hard -"array-includes@npm:^3.1.6, array-includes@npm:^3.1.7": +"array-includes@npm:^3.1.6, array-includes@npm:^3.1.7, array-includes@npm:^3.1.8": version: 3.1.8 resolution: "array-includes@npm:3.1.8" dependencies: @@ -19545,7 +19671,7 @@ __metadata: languageName: node linkType: hard -"array.prototype.findlast@npm:^1.2.4": +"array.prototype.findlast@npm:^1.2.4, array.prototype.findlast@npm:^1.2.5": version: 1.2.5 resolution: "array.prototype.findlast@npm:1.2.5" dependencies: @@ -19559,7 +19685,7 @@ __metadata: languageName: node linkType: hard -"array.prototype.findlastindex@npm:^1.2.3": +"array.prototype.findlastindex@npm:^1.2.3, array.prototype.findlastindex@npm:^1.2.5": version: 1.2.5 resolution: "array.prototype.findlastindex@npm:1.2.5" dependencies: @@ -19609,7 +19735,7 @@ __metadata: languageName: node linkType: hard -"array.prototype.tosorted@npm:^1.1.3": +"array.prototype.tosorted@npm:^1.1.3, array.prototype.tosorted@npm:^1.1.4": version: 1.1.4 resolution: "array.prototype.tosorted@npm:1.1.4" dependencies: @@ -19844,17 +19970,6 @@ __metadata: languageName: node linkType: hard -"asn1js@npm:^3.0.5": - version: 3.0.5 - resolution: "asn1js@npm:3.0.5" - dependencies: - pvtsutils: "npm:^1.3.2" - pvutils: "npm:^1.1.3" - tslib: "npm:^2.4.0" - checksum: 10c0/bb8eaf4040c8f49dd475566874986f5976b81bae65a6b5526e2208a13cdca323e69ce297bcd435fdda3eb6933defe888e71974d705b6fcb14f2734a907f8aed4 - languageName: node - linkType: hard - "assemblyai@npm:^4.4.1": version: 4.8.0 resolution: "assemblyai@npm:4.8.0" @@ -19939,6 +20054,38 @@ __metadata: languageName: node linkType: hard +"astro-eslint-parser@npm:^1.0.2": + version: 1.1.0 + resolution: "astro-eslint-parser@npm:1.1.0" + dependencies: + "@astrojs/compiler": "npm:^2.0.0" + "@typescript-eslint/scope-manager": "npm:^7.0.0 || ^8.0.0" + "@typescript-eslint/types": "npm:^7.0.0 || ^8.0.0" + "@typescript-eslint/typescript-estree": "npm:^7.0.0 || ^8.0.0" + astrojs-compiler-sync: "npm:^1.0.0" + debug: "npm:^4.3.4" + entities: "npm:^4.5.0" + eslint-scope: "npm:^8.0.1" + eslint-visitor-keys: "npm:^4.0.0" + espree: "npm:^10.0.0" + globby: "npm:^11.1.0" + is-glob: "npm:^4.0.3" + semver: "npm:^7.3.8" + checksum: 10c0/61021ded2e10949d16e879b13dee96582e1f8cc20884c6f2b4481ef926109161e6e1a5583be8f85c09772b4452a8b8a42f577da61f20292bcddf88763c65f5e2 + languageName: node + linkType: hard + +"astrojs-compiler-sync@npm:^1.0.0": + version: 1.0.1 + resolution: "astrojs-compiler-sync@npm:1.0.1" + dependencies: + synckit: "npm:^0.9.0" + peerDependencies: + "@astrojs/compiler": ">=0.27.0" + checksum: 10c0/bf2a81216fceac6cd53f367ac2df73902bc223f5a2223ffa1613678863a2b00759cd7cd57b1e2c8d1bf137e99c5e0624a2d667a36215b3ddc4aca61f83d7c107 + languageName: node + linkType: hard + "async-hook-domain@npm:^4.0.1": version: 4.0.1 resolution: "async-hook-domain@npm:4.0.1" @@ -20061,6 +20208,13 @@ __metadata: languageName: node linkType: hard +"axe-core@npm:^4.10.0": + version: 4.10.2 + resolution: "axe-core@npm:4.10.2" + checksum: 10c0/0e20169077de96946a547fce0df39d9aeebe0077f9d3eeff4896518b96fde857f80b98f0d4279274a7178791744dd5a54bb4f322de45b4f561ffa2586ff9a09d + languageName: node + linkType: hard + "axios-retry@npm:4.5.0": version: 4.5.0 resolution: "axios-retry@npm:4.5.0" @@ -20083,14 +20237,14 @@ __metadata: languageName: node linkType: hard -"axios@npm:1.7.9, axios@npm:^1.4.0, axios@npm:^1.6.0, axios@npm:^1.6.1, axios@npm:^1.7.7": - version: 1.7.9 - resolution: "axios@npm:1.7.9" +"axios@npm:1.7.8, axios@npm:^1.4.0, axios@npm:^1.6.0, axios@npm:^1.6.1, axios@npm:^1.7.7": + version: 1.7.8 + resolution: "axios@npm:1.7.8" dependencies: follow-redirects: "npm:^1.15.6" form-data: "npm:^4.0.0" proxy-from-env: "npm:^1.1.0" - checksum: 10c0/b7a41e24b59fee5f0f26c1fc844b45b17442832eb3a0fb42dd4f1430eb4abc571fe168e67913e8a1d91c993232bd1d1ab03e20e4d1fee8c6147649b576fc1b0b + checksum: 10c0/23ae2d0105aea9170c34ac9b6f30d9b2ab2fa8b1370205d2f7ce98b9f9510ab420148c13359ee837ea5a4bf2fb028ff225bd2fc92052fb0c478c6b4a836e2d5f languageName: node linkType: hard @@ -20129,6 +20283,13 @@ __metadata: languageName: node linkType: hard +"axobject-query@npm:^4.1.0": + version: 4.1.0 + resolution: "axobject-query@npm:4.1.0" + checksum: 10c0/c470e4f95008f232eadd755b018cb55f16c03ccf39c027b941cd8820ac6b68707ce5d7368a46756db4256fbc91bb4ead368f84f7fb034b2b7932f082f6dc0775 + languageName: node + linkType: hard + "b4a@npm:^1.6.4": version: 1.6.7 resolution: "b4a@npm:1.6.7" @@ -20518,6 +20679,13 @@ __metadata: languageName: node linkType: hard +"birecord@npm:^0.1.1": + version: 0.1.1 + resolution: "birecord@npm:0.1.1" + checksum: 10c0/7c7f8c38caebd98bcbfc8a209eaa3044384636ea162757de670c8633b7d1064b3b58e4e3d3a48fe10e279cd39290a76a31a18956a1c76b2b13522b6cf0293238 + languageName: node + linkType: hard + "bl@npm:^1.0.0": version: 1.2.3 resolution: "bl@npm:1.2.3" @@ -21289,7 +21457,7 @@ __metadata: languageName: node linkType: hard -"chalk@npm:5.3.0, chalk@npm:^5.2.0, chalk@npm:^5.3.0": +"chalk@npm:5.3.0, chalk@npm:^5.0.1, chalk@npm:^5.2.0, chalk@npm:^5.3.0, chalk@npm:~5.3.0": version: 5.3.0 resolution: "chalk@npm:5.3.0" checksum: 10c0/8297d436b2c0f95801103ff2ef67268d362021b8210daf8ddbe349695333eb3610a71122172ff3b0272f1ef2cf7cc2c41fdaa4715f52e49ffe04c56340feed09 @@ -21433,6 +21601,23 @@ __metadata: languageName: node linkType: hard +"check-dependency-version-consistency@npm:3.0.3": + version: 3.0.3 + resolution: "check-dependency-version-consistency@npm:3.0.3" + dependencies: + chalk: "npm:^5.0.1" + commander: "npm:^9.0.0" + edit-json-file: "npm:^1.7.0" + globby: "npm:^13.1.1" + semver: "npm:^7.3.5" + table: "npm:^6.7.1" + type-fest: "npm:^2.1.0" + bin: + check-dependency-version-consistency: dist/bin/check-dependency-version-consistency.js + checksum: 10c0/7ff6a2bfd0e3208b095f04788f19b83dc2f8507148047f7f9e8ca7e7cd36ec39e43c4cccd072c1c9b1c05cfd9636a33b37af02f45e560f990f1471a838aadbb7 + languageName: node + linkType: hard + "check-error@npm:^2.1.1": version: 2.1.1 resolution: "check-error@npm:2.1.1" @@ -21683,6 +21868,15 @@ __metadata: languageName: node linkType: hard +"cli-cursor@npm:^5.0.0": + version: 5.0.0 + resolution: "cli-cursor@npm:5.0.0" + dependencies: + restore-cursor: "npm:^5.0.0" + checksum: 10c0/7ec62f69b79f6734ab209a3e4dbdc8af7422d44d360a7cb1efa8a0887bbe466a6e625650c466fe4359aee44dbe2dc0b6994b583d40a05d0808a5cb193641d220 + languageName: node + linkType: hard + "cli-progress@npm:^3.12.0": version: 3.12.0 resolution: "cli-progress@npm:3.12.0" @@ -21732,6 +21926,16 @@ __metadata: languageName: node linkType: hard +"cli-truncate@npm:^4.0.0": + version: 4.0.0 + resolution: "cli-truncate@npm:4.0.0" + dependencies: + slice-ansi: "npm:^5.0.0" + string-width: "npm:^7.0.0" + checksum: 10c0/d7f0b73e3d9b88cb496e6c086df7410b541b56a43d18ade6a573c9c18bd001b1c3fba1ad578f741a4218fdc794d042385f8ac02c25e1c295a2d8b9f3cb86eb4c + languageName: node + linkType: hard + "cli-width@npm:^3.0.0": version: 3.0.0 resolution: "cli-width@npm:3.0.0" @@ -22017,7 +22221,7 @@ __metadata: languageName: node linkType: hard -"colorette@npm:^2.0.10, colorette@npm:^2.0.14, colorette@npm:^2.0.16": +"colorette@npm:^2.0.10, colorette@npm:^2.0.14, colorette@npm:^2.0.16, colorette@npm:^2.0.20": version: 2.0.20 resolution: "colorette@npm:2.0.20" checksum: 10c0/e94116ff33b0ff56f3b83b9ace895e5bf87c2a7a47b3401b8c3f3226e050d5ef76cf4072fb3325f9dc24d1698f9b730baf4e05eeaf861d74a1883073f4c98a40 @@ -22124,6 +22328,20 @@ __metadata: languageName: node linkType: hard +"commander@npm:^9.0.0": + version: 9.5.0 + resolution: "commander@npm:9.5.0" + checksum: 10c0/5f7784fbda2aaec39e89eb46f06a999e00224b3763dc65976e05929ec486e174fe9aac2655f03ba6a5e83875bd173be5283dc19309b7c65954701c02025b3c1d + languageName: node + linkType: hard + +"comment-parser@npm:1.4.1, comment-parser@npm:^1.4.0": + version: 1.4.1 + resolution: "comment-parser@npm:1.4.1" + checksum: 10c0/d6c4be3f5be058f98b24f2d557f745d8fe1cc9eb75bebbdccabd404a0e1ed41563171b16285f593011f8b6a5ec81f564fb1f2121418ac5cbf0f49255bf0840dd + languageName: node + linkType: hard + "commist@npm:^3.2.0": version: 3.2.0 resolution: "commist@npm:3.2.0" @@ -22159,6 +22377,13 @@ __metadata: languageName: node linkType: hard +"compare-versions@npm:^6.1.1": + version: 6.1.1 + resolution: "compare-versions@npm:6.1.1" + checksum: 10c0/415205c7627f9e4f358f571266422980c9fe2d99086be0c9a48008ef7c771f32b0fbe8e97a441ffedc3910872f917a0675fe0fe3c3b6d331cda6d8690be06338 + languageName: node + linkType: hard + "component-emitter@npm:^1.2.0": version: 1.3.1 resolution: "component-emitter@npm:1.3.1" @@ -22292,7 +22517,7 @@ __metadata: languageName: node linkType: hard -"confusing-browser-globals@npm:^1.0.10": +"confusing-browser-globals@npm:^1.0.10, confusing-browser-globals@npm:^1.0.11": version: 1.0.11 resolution: "confusing-browser-globals@npm:1.0.11" checksum: 10c0/475d0a284fa964a5182b519af5738b5b64bf7e413cfd703c1b3496bf6f4df9f827893a9b221c0ea5873c1476835beb1e0df569ba643eff0734010c1eb780589e @@ -22475,7 +22700,7 @@ __metadata: languageName: node linkType: hard -"core-js-compat@npm:^3.34.0, core-js-compat@npm:^3.38.0, core-js-compat@npm:^3.38.1": +"core-js-compat@npm:^3.34.0, core-js-compat@npm:^3.37.0, core-js-compat@npm:^3.38.0, core-js-compat@npm:^3.38.1": version: 3.39.0 resolution: "core-js-compat@npm:3.39.0" dependencies: @@ -22675,7 +22900,7 @@ __metadata: languageName: node linkType: hard -"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.1, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3": +"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.1, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3, cross-spawn@npm:^7.0.5": version: 7.0.6 resolution: "cross-spawn@npm:7.0.6" dependencies: @@ -23315,25 +23540,6 @@ __metadata: languageName: node linkType: hard -"datastore-core@npm:^10.0.0": - version: 10.0.2 - resolution: "datastore-core@npm:10.0.2" - dependencies: - "@libp2p/logger": "npm:^5.0.1" - interface-datastore: "npm:^8.0.0" - interface-store: "npm:^6.0.0" - it-drain: "npm:^3.0.7" - it-filter: "npm:^3.1.1" - it-map: "npm:^3.1.1" - it-merge: "npm:^3.0.5" - it-pipe: "npm:^3.0.1" - it-pushable: "npm:^3.2.3" - it-sort: "npm:^3.0.6" - it-take: "npm:^3.0.6" - checksum: 10c0/625a7859b9a12593c958380907c96bba8046f7665dde2a12e095069717cdef2481832f7f6e1e5c3dc6e101df05d6fe60e32ec27d0e9b34edf0550f510609893a - languageName: node - linkType: hard - "date-fns@npm:4.1.0": version: 4.1.0 resolution: "date-fns@npm:4.1.0" @@ -23389,7 +23595,7 @@ __metadata: languageName: node linkType: hard -"debug@npm:4, debug@npm:^4.0.0, debug@npm:^4.0.1, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4, debug@npm:^4.3.5, debug@npm:^4.3.6, debug@npm:^4.3.7, debug@npm:~4.3.1, debug@npm:~4.3.2": +"debug@npm:4, debug@npm:^4.0.0, debug@npm:^4.0.1, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4, debug@npm:^4.3.5, debug@npm:^4.3.6, debug@npm:^4.3.7, debug@npm:~4.3.1, debug@npm:~4.3.2, debug@npm:~4.3.6": version: 4.3.7 resolution: "debug@npm:4.3.7" dependencies: @@ -23737,13 +23943,6 @@ __metadata: languageName: node linkType: hard -"delay@npm:^6.0.0": - version: 6.0.0 - resolution: "delay@npm:6.0.0" - checksum: 10c0/5175e887512d65b2bfe9e1168b5ce7a488de99c1d0af52cb4f799bb13dd7cb0bbbba8a4f5c500a5b03fb42bec8621d6ab59244bd8dfbe9a2bf7b173f25621a10 - languageName: node - linkType: hard - "delayed-stream@npm:~1.0.0": version: 1.0.0 resolution: "delayed-stream@npm:1.0.0" @@ -24039,7 +24238,7 @@ __metadata: languageName: node linkType: hard -"dns-packet@npm:^5.2.2, dns-packet@npm:^5.6.1": +"dns-packet@npm:^5.2.2": version: 5.6.1 resolution: "dns-packet@npm:5.6.1" dependencies: @@ -24180,10 +24379,10 @@ __metadata: languageName: node linkType: hard -"dompurify@npm:2.5.8": - version: 2.5.8 - resolution: "dompurify@npm:2.5.8" - checksum: 10c0/4101708d190b67be00350369d72619266a2e0ebb7dcab12628cf07711329b1df12239baea613df41b65cba571128e8ea4c29c442f4e2c98670a9bb5563521f03 +"dompurify@npm:2.5.7": + version: 2.5.7 + resolution: "dompurify@npm:2.5.7" + checksum: 10c0/23c4f737182fcf3e731e458c3930ef4d2916191e4180e1e345f153124dfa7ec117d2810af1754e8854c581131fc75dac914a8391183d1511852ef32b4055f711 languageName: node linkType: hard @@ -24444,6 +24643,19 @@ __metadata: languageName: node linkType: hard +"edit-json-file@npm:^1.7.0": + version: 1.8.0 + resolution: "edit-json-file@npm:1.8.0" + dependencies: + find-value: "npm:^1.0.12" + iterate-object: "npm:^1.3.4" + r-json: "npm:^1.2.10" + set-value: "npm:^4.1.0" + w-json: "npm:^1.3.10" + checksum: 10c0/3dc1e7da2245601bd301310d0a3d40123918eb9468268ad4f7b9aeb347fbf10286da026515be870d01b8e4fb5282254650113a6d501e14815663a94cb705e753 + languageName: node + linkType: hard + "ee-first@npm:1.1.1": version: 1.1.1 resolution: "ee-first@npm:1.1.1" @@ -24451,12 +24663,21 @@ __metadata: languageName: node linkType: hard -"effect@npm:3.11.3": - version: 3.11.3 - resolution: "effect@npm:3.11.3" +"effect@npm:3.10.19": + version: 3.10.19 + resolution: "effect@npm:3.10.19" dependencies: fast-check: "npm:^3.21.0" - checksum: 10c0/a343a20d833112e21b27f17f404e97a33240fafe09d638428381d8bb96b4f0d2eccdaebe43453dce4982242134e1c8cfbab1d63e364fea79de02faeb92940c04 + checksum: 10c0/0206a1c79591e499ad65ae6e3f0faf40bce66f5ba1a4d5836d5db2661b67d03ed443803810b7d7d2c490f0362ff404857096eb961fb80879957f7f41f7b168c9 + languageName: node + linkType: hard + +"effect@npm:3.11.0": + version: 3.11.0 + resolution: "effect@npm:3.11.0" + dependencies: + fast-check: "npm:^3.21.0" + checksum: 10c0/a756a45fa98a45f1d1283909bac1995d8e160378be4fe1e3a16f469b5a78b3ac198f385f94626e344e4fc414220be511c396ff07d7bcc473bdf29d3fb6341eae languageName: node linkType: hard @@ -24501,6 +24722,13 @@ __metadata: languageName: node linkType: hard +"emoji-regex@npm:^10.3.0": + version: 10.4.0 + resolution: "emoji-regex@npm:10.4.0" + checksum: 10c0/a3fcedfc58bfcce21a05a5f36a529d81e88d602100145fcca3dc6f795e3c8acc4fc18fe773fbf9b6d6e9371205edb3afa2668ec3473fa2aa7fd47d2a9d46482d + languageName: node + linkType: hard + "emoji-regex@npm:^8.0.0": version: 8.0.0 resolution: "emoji-regex@npm:8.0.0" @@ -24675,6 +24903,13 @@ __metadata: languageName: node linkType: hard +"environment@npm:^1.0.0": + version: 1.1.0 + resolution: "environment@npm:1.1.0" + checksum: 10c0/fb26434b0b581ab397039e51ff3c92b34924a98b2039dcb47e41b7bca577b9dbf134a8eadb364415c74464b682e2d3afe1a4c0eb9873dc44ea814c5d3103331d + languageName: node + linkType: hard + "enzyme-shallow-equal@npm:^1.0.0": version: 1.0.7 resolution: "enzyme-shallow-equal@npm:1.0.7" @@ -24710,7 +24945,7 @@ __metadata: languageName: node linkType: hard -"es-abstract@npm:^1.22.1, es-abstract@npm:^1.22.3, es-abstract@npm:^1.23.0, es-abstract@npm:^1.23.2, es-abstract@npm:^1.23.3, es-abstract@npm:^1.23.5": +"es-abstract@npm:^1.17.5, es-abstract@npm:^1.22.1, es-abstract@npm:^1.22.3, es-abstract@npm:^1.23.0, es-abstract@npm:^1.23.2, es-abstract@npm:^1.23.3, es-abstract@npm:^1.23.5": version: 1.23.5 resolution: "es-abstract@npm:1.23.5" dependencies: @@ -24797,7 +25032,7 @@ __metadata: languageName: node linkType: hard -"es-iterator-helpers@npm:^1.0.15, es-iterator-helpers@npm:^1.0.17": +"es-iterator-helpers@npm:^1.0.15, es-iterator-helpers@npm:^1.0.17, es-iterator-helpers@npm:^1.1.0": version: 1.2.0 resolution: "es-iterator-helpers@npm:1.2.0" dependencies: @@ -24827,7 +25062,7 @@ __metadata: languageName: node linkType: hard -"es-module-lexer@npm:^1.2.1, es-module-lexer@npm:^1.4.1, es-module-lexer@npm:^1.5.4": +"es-module-lexer@npm:^1.2.1, es-module-lexer@npm:^1.4.1, es-module-lexer@npm:^1.5.3, es-module-lexer@npm:^1.5.4": version: 1.5.4 resolution: "es-module-lexer@npm:1.5.4" checksum: 10c0/300a469488c2f22081df1e4c8398c78db92358496e639b0df7f89ac6455462aaf5d8893939087c1a1cbcbf20eed4610c70e0bcb8f3e4b0d80a5d2611c539408c @@ -25044,33 +25279,34 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:^0.21.3": - version: 0.21.5 - resolution: "esbuild@npm:0.21.5" - dependencies: - "@esbuild/aix-ppc64": "npm:0.21.5" - "@esbuild/android-arm": "npm:0.21.5" - "@esbuild/android-arm64": "npm:0.21.5" - "@esbuild/android-x64": "npm:0.21.5" - "@esbuild/darwin-arm64": "npm:0.21.5" - "@esbuild/darwin-x64": "npm:0.21.5" - "@esbuild/freebsd-arm64": "npm:0.21.5" - "@esbuild/freebsd-x64": "npm:0.21.5" - "@esbuild/linux-arm": "npm:0.21.5" - "@esbuild/linux-arm64": "npm:0.21.5" - "@esbuild/linux-ia32": "npm:0.21.5" - "@esbuild/linux-loong64": "npm:0.21.5" - "@esbuild/linux-mips64el": "npm:0.21.5" - "@esbuild/linux-ppc64": "npm:0.21.5" - "@esbuild/linux-riscv64": "npm:0.21.5" - "@esbuild/linux-s390x": "npm:0.21.5" - "@esbuild/linux-x64": "npm:0.21.5" - "@esbuild/netbsd-x64": "npm:0.21.5" - "@esbuild/openbsd-x64": "npm:0.21.5" - "@esbuild/sunos-x64": "npm:0.21.5" - "@esbuild/win32-arm64": "npm:0.21.5" - "@esbuild/win32-ia32": "npm:0.21.5" - "@esbuild/win32-x64": "npm:0.21.5" +"esbuild@npm:^0.24.0": + version: 0.24.0 + resolution: "esbuild@npm:0.24.0" + dependencies: + "@esbuild/aix-ppc64": "npm:0.24.0" + "@esbuild/android-arm": "npm:0.24.0" + "@esbuild/android-arm64": "npm:0.24.0" + "@esbuild/android-x64": "npm:0.24.0" + "@esbuild/darwin-arm64": "npm:0.24.0" + "@esbuild/darwin-x64": "npm:0.24.0" + "@esbuild/freebsd-arm64": "npm:0.24.0" + "@esbuild/freebsd-x64": "npm:0.24.0" + "@esbuild/linux-arm": "npm:0.24.0" + "@esbuild/linux-arm64": "npm:0.24.0" + "@esbuild/linux-ia32": "npm:0.24.0" + "@esbuild/linux-loong64": "npm:0.24.0" + "@esbuild/linux-mips64el": "npm:0.24.0" + "@esbuild/linux-ppc64": "npm:0.24.0" + "@esbuild/linux-riscv64": "npm:0.24.0" + "@esbuild/linux-s390x": "npm:0.24.0" + "@esbuild/linux-x64": "npm:0.24.0" + "@esbuild/netbsd-x64": "npm:0.24.0" + "@esbuild/openbsd-arm64": "npm:0.24.0" + "@esbuild/openbsd-x64": "npm:0.24.0" + "@esbuild/sunos-x64": "npm:0.24.0" + "@esbuild/win32-arm64": "npm:0.24.0" + "@esbuild/win32-ia32": "npm:0.24.0" + "@esbuild/win32-x64": "npm:0.24.0" dependenciesMeta: "@esbuild/aix-ppc64": optional: true @@ -25108,6 +25344,8 @@ __metadata: optional: true "@esbuild/netbsd-x64": optional: true + "@esbuild/openbsd-arm64": + optional: true "@esbuild/openbsd-x64": optional: true "@esbuild/sunos-x64": @@ -25120,7 +25358,7 @@ __metadata: optional: true bin: esbuild: bin/esbuild - checksum: 10c0/fa08508adf683c3f399e8a014a6382a6b65542213431e26206c0720e536b31c09b50798747c2a105a4bbba1d9767b8d3615a74c2f7bf1ddf6d836cd11eb672de + checksum: 10c0/9f1aadd8d64f3bff422ae78387e66e51a5e09de6935a6f987b6e4e189ed00fdc2d1bc03d2e33633b094008529c8b6e06c7ad1a9782fb09fec223bf95998c0683 languageName: node linkType: hard @@ -25286,6 +25524,17 @@ __metadata: languageName: node linkType: hard +"eslint-compat-utils@npm:^0.6.0": + version: 0.6.4 + resolution: "eslint-compat-utils@npm:0.6.4" + dependencies: + semver: "npm:^7.5.4" + peerDependencies: + eslint: ">=6.0.0" + checksum: 10c0/5b665c4051e978b9f9c48621f63d07e6b2a8ba1b334fc430f1ce0d8b596968677bdb54c23c00ca961ad5b4673d5e83e014a52b4baf9a2f7d4ccd79e3c213acfb + languageName: node + linkType: hard + "eslint-config-airbnb-base@npm:^15.0.0": version: 15.0.0 resolution: "eslint-config-airbnb-base@npm:15.0.0" @@ -25318,6 +25567,18 @@ __metadata: languageName: node linkType: hard +"eslint-config-flat-gitignore@npm:^0.3.0": + version: 0.3.0 + resolution: "eslint-config-flat-gitignore@npm:0.3.0" + dependencies: + "@eslint/compat": "npm:^1.1.1" + find-up-simple: "npm:^1.0.0" + peerDependencies: + eslint: ^9.5.0 + checksum: 10c0/0fd0f9c7839dec4adef633ee23c6c3aacd6edbdfc09f0f464e7d2c8e20abd514f7a6bd822fb21535f0532cf4abc49302d7334af21fcbfaedc5fbcdc8c5f1d169 + languageName: node + linkType: hard + "eslint-config-prettier@npm:9.1.0": version: 9.1.0 resolution: "eslint-config-prettier@npm:9.1.0" @@ -25329,6 +25590,55 @@ __metadata: languageName: node linkType: hard +"eslint-config-sheriff@npm:25.3.0": + version: 25.3.0 + resolution: "eslint-config-sheriff@npm:25.3.0" + dependencies: + "@eslint-react/eslint-plugin": "npm:^1.10.1" + "@eslint/compat": "npm:^1.1.1" + "@eslint/js": "npm:^9.14.0" + "@next/eslint-plugin-next": "npm:^13.2.3" + "@regru/eslint-plugin-prefer-early-return": "npm:^1.0.0" + "@stylistic/eslint-plugin": "npm:^2.6.4" + "@vitest/eslint-plugin": "npm:^1.0.3" + confusing-browser-globals: "npm:^1.0.11" + eslint-config-flat-gitignore: "npm:^0.3.0" + eslint-import-resolver-typescript: "npm:^3.6.3" + eslint-plugin-arrow-return-style: "npm:^1.3.0" + eslint-plugin-astro: "npm:^1.2.3" + eslint-plugin-fsecond: "npm:^1.1.1" + eslint-plugin-import: "npm:^2.31.0" + eslint-plugin-jest: "npm:^28.8.0" + eslint-plugin-jsdoc: "npm:^50.4.3" + eslint-plugin-jsx-a11y: "npm:^6.10.0" + eslint-plugin-lodash-f: "npm:^7.5.3" + eslint-plugin-playwright: "npm:^1.6.2" + eslint-plugin-react: "npm:^7.36.1" + eslint-plugin-react-hooks: "npm:^5.0.0" + eslint-plugin-react-refresh: "npm:^0.4.14" + eslint-plugin-regexp: "npm:^2.6.0" + eslint-plugin-remeda: "npm:^1.4.0" + eslint-plugin-simple-import-sort: "npm:^12.1.0" + eslint-plugin-sonarjs: "npm:^1.0.4" + eslint-plugin-storybook: "npm:^0.10.2" + eslint-plugin-tsdoc: "npm:^0.2.17" + eslint-plugin-unicorn: "npm:^55.0.0" + globals: "npm:^15.11.0" + typescript-eslint: "npm:^8.15.0" + peerDependencies: + eslint: ">=9.0.0" + typescript: ">=5.0.0" + checksum: 10c0/4cfbc0b7a1a32c2c450559364dc09ed47900b6d051a55a9a6a4794faa6af144ddfea86ae4d9dc8d373c80b1380fbc90bf1252536d1507a5ca24867059c460a17 + languageName: node + linkType: hard + +"eslint-define-config@npm:2.1.0": + version: 2.1.0 + resolution: "eslint-define-config@npm:2.1.0" + checksum: 10c0/034bd6bfbfec2db6c720a51815de6b072efeef7afbf99d90c23a1871f9cd741bb77f9d34e0bc2465262298c6110c5c45b704714d8575c6567fd2df963fb792ea + languageName: node + linkType: hard + "eslint-import-resolver-node@npm:^0.3.9": version: 0.3.9 resolution: "eslint-import-resolver-node@npm:0.3.9" @@ -25340,7 +25650,7 @@ __metadata: languageName: node linkType: hard -"eslint-import-resolver-typescript@npm:^3.5.3": +"eslint-import-resolver-typescript@npm:^3.5.3, eslint-import-resolver-typescript@npm:^3.6.3": version: 3.6.3 resolution: "eslint-import-resolver-typescript@npm:3.6.3" dependencies: @@ -25365,7 +25675,7 @@ __metadata: languageName: node linkType: hard -"eslint-module-utils@npm:^2.7.4, eslint-module-utils@npm:^2.8.0, eslint-module-utils@npm:^2.8.1": +"eslint-module-utils@npm:^2.12.0, eslint-module-utils@npm:^2.7.4, eslint-module-utils@npm:^2.8.0, eslint-module-utils@npm:^2.8.1": version: 2.12.0 resolution: "eslint-module-utils@npm:2.12.0" dependencies: @@ -25377,6 +25687,36 @@ __metadata: languageName: node linkType: hard +"eslint-plugin-arrow-return-style@npm:^1.3.0": + version: 1.3.1 + resolution: "eslint-plugin-arrow-return-style@npm:1.3.1" + dependencies: + "@typescript-eslint/utils": "npm:^7.16.0" + scule: "npm:^1.3.0" + peerDependencies: + eslint: ">=8.0.0" + checksum: 10c0/7bbc002ffc384248b734c1f3d89644097f722c3392ec0d4b3e5a84f2559baccfe7ca3a670019e1ab999ba9e417108fc97eb4b36ce4bc943ffa39073ba13a8b74 + languageName: node + linkType: hard + +"eslint-plugin-astro@npm:^1.2.3": + version: 1.3.1 + resolution: "eslint-plugin-astro@npm:1.3.1" + dependencies: + "@eslint-community/eslint-utils": "npm:^4.2.0" + "@jridgewell/sourcemap-codec": "npm:^1.4.14" + "@typescript-eslint/types": "npm:^7.7.1 || ^8" + astro-eslint-parser: "npm:^1.0.2" + eslint-compat-utils: "npm:^0.6.0" + globals: "npm:^15.0.0" + postcss: "npm:^8.4.14" + postcss-selector-parser: "npm:^7.0.0" + peerDependencies: + eslint: ">=8.57.0" + checksum: 10c0/640c2c0d53e8d5063bdbf4b2c68c5b5356331c8ae6f22b9432c6a2c0d1062b9b12d83c91fdd24a6ee3d54d717cddb11407d75c57d49a446f269baba9713326aa + languageName: node + linkType: hard + "eslint-plugin-canonical@npm:4.18.0": version: 4.18.0 resolution: "eslint-plugin-canonical@npm:4.18.0" @@ -25400,6 +25740,21 @@ __metadata: languageName: node linkType: hard +"eslint-plugin-fsecond@npm:^1.1.1": + version: 1.3.0 + resolution: "eslint-plugin-fsecond@npm:1.3.0" + dependencies: + "@typescript-eslint/parser": "npm:^6.2.0" + "@typescript-eslint/utils": "npm:^6.0.0" + minimatch: "npm:^9.0.4" + read-package-up: "npm:^11.0.0" + peerDependencies: + eslint: ">=8.23.0" + typescript: ">=4.0.0" + checksum: 10c0/36fef7789ac8292f78053dd12805a4187974fa2b9d868fffee4e41d8535afeeab68add3619748504e94e41bdeb9343ae362155fe892512b9a8bab5998d755b6a + languageName: node + linkType: hard + "eslint-plugin-import@npm:2.29.1": version: 2.29.1 resolution: "eslint-plugin-import@npm:2.29.1" @@ -25427,6 +25782,74 @@ __metadata: languageName: node linkType: hard +"eslint-plugin-import@npm:^2.31.0": + version: 2.31.0 + resolution: "eslint-plugin-import@npm:2.31.0" + dependencies: + "@rtsao/scc": "npm:^1.1.0" + array-includes: "npm:^3.1.8" + array.prototype.findlastindex: "npm:^1.2.5" + array.prototype.flat: "npm:^1.3.2" + array.prototype.flatmap: "npm:^1.3.2" + debug: "npm:^3.2.7" + doctrine: "npm:^2.1.0" + eslint-import-resolver-node: "npm:^0.3.9" + eslint-module-utils: "npm:^2.12.0" + hasown: "npm:^2.0.2" + is-core-module: "npm:^2.15.1" + is-glob: "npm:^4.0.3" + minimatch: "npm:^3.1.2" + object.fromentries: "npm:^2.0.8" + object.groupby: "npm:^1.0.3" + object.values: "npm:^1.2.0" + semver: "npm:^6.3.1" + string.prototype.trimend: "npm:^1.0.8" + tsconfig-paths: "npm:^3.15.0" + peerDependencies: + eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9 + checksum: 10c0/e21d116ddd1900e091ad120b3eb68c5dd5437fe2c930f1211781cd38b246f090a6b74d5f3800b8255a0ed29782591521ad44eb21c5534960a8f1fb4040fd913a + languageName: node + linkType: hard + +"eslint-plugin-jest@npm:^28.8.0": + version: 28.9.0 + resolution: "eslint-plugin-jest@npm:28.9.0" + dependencies: + "@typescript-eslint/utils": "npm:^6.0.0 || ^7.0.0 || ^8.0.0" + peerDependencies: + "@typescript-eslint/eslint-plugin": ^6.0.0 || ^7.0.0 || ^8.0.0 + eslint: ^7.0.0 || ^8.0.0 || ^9.0.0 + jest: "*" + peerDependenciesMeta: + "@typescript-eslint/eslint-plugin": + optional: true + jest: + optional: true + checksum: 10c0/56b0d2fb18a32bf56b0eb8c7790c355513535a239451d9d00184829cbd0ba35b6c68eec64e850a6299453f9c37338b6797d3184594c0326c8fdcc029024065b8 + languageName: node + linkType: hard + +"eslint-plugin-jsdoc@npm:^50.4.3": + version: 50.6.0 + resolution: "eslint-plugin-jsdoc@npm:50.6.0" + dependencies: + "@es-joy/jsdoccomment": "npm:~0.49.0" + are-docs-informative: "npm:^0.0.2" + comment-parser: "npm:1.4.1" + debug: "npm:^4.3.6" + escape-string-regexp: "npm:^4.0.0" + espree: "npm:^10.1.0" + esquery: "npm:^1.6.0" + parse-imports: "npm:^2.1.1" + semver: "npm:^7.6.3" + spdx-expression-parse: "npm:^4.0.0" + synckit: "npm:^0.9.1" + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 || ^9.0.0 + checksum: 10c0/f878714212f52602819da77c6727f75ccda66232cd7b383b9437981ec21255be62b6099b20be43710d8e37ceb16e05343d4dc701eebfc488b4e4d54e0bf2e150 + languageName: node + linkType: hard + "eslint-plugin-jsx-a11y@npm:6.8.0": version: 6.8.0 resolution: "eslint-plugin-jsx-a11y@npm:6.8.0" @@ -25453,6 +25876,142 @@ __metadata: languageName: node linkType: hard +"eslint-plugin-jsx-a11y@npm:^6.10.0": + version: 6.10.2 + resolution: "eslint-plugin-jsx-a11y@npm:6.10.2" + dependencies: + aria-query: "npm:^5.3.2" + array-includes: "npm:^3.1.8" + array.prototype.flatmap: "npm:^1.3.2" + ast-types-flow: "npm:^0.0.8" + axe-core: "npm:^4.10.0" + axobject-query: "npm:^4.1.0" + damerau-levenshtein: "npm:^1.0.8" + emoji-regex: "npm:^9.2.2" + hasown: "npm:^2.0.2" + jsx-ast-utils: "npm:^3.3.5" + language-tags: "npm:^1.0.9" + minimatch: "npm:^3.1.2" + object.fromentries: "npm:^2.0.8" + safe-regex-test: "npm:^1.0.3" + string.prototype.includes: "npm:^2.0.1" + peerDependencies: + eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9 + checksum: 10c0/d93354e03b0cf66f018d5c50964e074dffe4ddf1f9b535fa020d19c4ae45f89c1a16e9391ca61ac3b19f7042c751ac0d361a056a65cbd1de24718a53ff8daa6e + languageName: node + linkType: hard + +"eslint-plugin-lodash-f@npm:^7.5.3": + version: 7.5.3 + resolution: "eslint-plugin-lodash-f@npm:7.5.3" + dependencies: + lodash: "npm:^4.17.21" + peerDependencies: + eslint: ">=2" + checksum: 10c0/7011be275d8f4e3dfe97f2d41d09110ad77dc27895814f47fb636ef7c05d1ee15360ab0751380b57f8d3229354e9b3e99664fdc9eb923c58ba3a554b1c62add0 + languageName: node + linkType: hard + +"eslint-plugin-playwright@npm:^1.6.2": + version: 1.8.3 + resolution: "eslint-plugin-playwright@npm:1.8.3" + dependencies: + globals: "npm:^13.23.0" + peerDependencies: + eslint: ">=8.40.0" + eslint-plugin-jest: ">=25" + peerDependenciesMeta: + eslint-plugin-jest: + optional: true + checksum: 10c0/41c90ad82d7bfd336b11d88a7dd4aee3832878f3abc5df0c7e988124ac3d4e0ffc7de760f4e986a275bf088da2a360d177e8a48d6b3193dcb5f60b17138cf0fe + languageName: node + linkType: hard + +"eslint-plugin-react-debug@npm:1.17.2": + version: 1.17.2 + resolution: "eslint-plugin-react-debug@npm:1.17.2" + dependencies: + "@eslint-react/ast": "npm:1.17.2" + "@eslint-react/core": "npm:1.17.2" + "@eslint-react/jsx": "npm:1.17.2" + "@eslint-react/shared": "npm:1.17.2" + "@eslint-react/tools": "npm:1.17.2" + "@eslint-react/types": "npm:1.17.2" + "@eslint-react/var": "npm:1.17.2" + "@typescript-eslint/scope-manager": "npm:^8.16.0" + "@typescript-eslint/type-utils": "npm:^8.16.0" + "@typescript-eslint/types": "npm:^8.16.0" + "@typescript-eslint/utils": "npm:^8.16.0" + string-ts: "npm:^2.2.0" + ts-pattern: "npm:^5.5.0" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: ^4.9.5 || ^5.3.3 + peerDependenciesMeta: + eslint: + optional: false + typescript: + optional: true + checksum: 10c0/449c47a76d0208140c83a37ee22e8602ced50e3090fec7ee85dac4d56dfe9797b44e433f8a769f98d0e8da8f62be6dc158ef36421c3191f4022bb3881375037e + languageName: node + linkType: hard + +"eslint-plugin-react-dom@npm:1.17.2": + version: 1.17.2 + resolution: "eslint-plugin-react-dom@npm:1.17.2" + dependencies: + "@eslint-react/ast": "npm:1.17.2" + "@eslint-react/core": "npm:1.17.2" + "@eslint-react/jsx": "npm:1.17.2" + "@eslint-react/shared": "npm:1.17.2" + "@eslint-react/tools": "npm:1.17.2" + "@eslint-react/types": "npm:1.17.2" + "@eslint-react/var": "npm:1.17.2" + "@typescript-eslint/scope-manager": "npm:^8.16.0" + "@typescript-eslint/types": "npm:^8.16.0" + "@typescript-eslint/utils": "npm:^8.16.0" + compare-versions: "npm:^6.1.1" + ts-pattern: "npm:^5.5.0" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: ^4.9.5 || ^5.3.3 + peerDependenciesMeta: + eslint: + optional: false + typescript: + optional: true + checksum: 10c0/911262c6e483128b4c8b03b419f0e726c880d725f7b97e719474b338b7b106a0e247a36a90893a6140ada9c82fdfdd08eaf0150a137f8d46445571e1ca4d9a22 + languageName: node + linkType: hard + +"eslint-plugin-react-hooks-extra@npm:1.17.2": + version: 1.17.2 + resolution: "eslint-plugin-react-hooks-extra@npm:1.17.2" + dependencies: + "@eslint-react/ast": "npm:1.17.2" + "@eslint-react/core": "npm:1.17.2" + "@eslint-react/jsx": "npm:1.17.2" + "@eslint-react/shared": "npm:1.17.2" + "@eslint-react/tools": "npm:1.17.2" + "@eslint-react/types": "npm:1.17.2" + "@eslint-react/var": "npm:1.17.2" + "@typescript-eslint/scope-manager": "npm:^8.16.0" + "@typescript-eslint/type-utils": "npm:^8.16.0" + "@typescript-eslint/types": "npm:^8.16.0" + "@typescript-eslint/utils": "npm:^8.16.0" + ts-pattern: "npm:^5.5.0" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: ^4.9.5 || ^5.3.3 + peerDependenciesMeta: + eslint: + optional: false + typescript: + optional: true + checksum: 10c0/bfdc9b180e02e60dbd25395e534c342fbfeaafa93927f4a7defba5ca9d7896f5b6c13eead58431205ba30d734187b382657a2a64221de6daf96459ec2b87bc95 + languageName: node + linkType: hard + "eslint-plugin-react-hooks@npm:4.6.0": version: 4.6.0 resolution: "eslint-plugin-react-hooks@npm:4.6.0" @@ -25462,6 +26021,109 @@ __metadata: languageName: node linkType: hard +"eslint-plugin-react-hooks@npm:^5.0.0": + version: 5.0.0 + resolution: "eslint-plugin-react-hooks@npm:5.0.0" + peerDependencies: + eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 + checksum: 10c0/bcb74b421f32e4203a7100405b57aab85526be4461e5a1da01bc537969a30012d2ee209a2c2a6cac543833a27188ce1e6ad71e4628d0bb4a2e5365cad86c5002 + languageName: node + linkType: hard + +"eslint-plugin-react-naming-convention@npm:1.17.2": + version: 1.17.2 + resolution: "eslint-plugin-react-naming-convention@npm:1.17.2" + dependencies: + "@eslint-react/ast": "npm:1.17.2" + "@eslint-react/core": "npm:1.17.2" + "@eslint-react/jsx": "npm:1.17.2" + "@eslint-react/shared": "npm:1.17.2" + "@eslint-react/tools": "npm:1.17.2" + "@eslint-react/types": "npm:1.17.2" + "@typescript-eslint/scope-manager": "npm:^8.16.0" + "@typescript-eslint/type-utils": "npm:^8.16.0" + "@typescript-eslint/types": "npm:^8.16.0" + "@typescript-eslint/utils": "npm:^8.16.0" + ts-pattern: "npm:^5.5.0" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: ^4.9.5 || ^5.3.3 + peerDependenciesMeta: + eslint: + optional: false + typescript: + optional: true + checksum: 10c0/08313381ae16dadfb92e2a01c96433c49b2443021401b51ff37e8cdd384be84852be2679742ba694e9b237d7bc66bceb760cabb7363bc3d71dfd04840c7a32fc + languageName: node + linkType: hard + +"eslint-plugin-react-refresh@npm:^0.4.14": + version: 0.4.16 + resolution: "eslint-plugin-react-refresh@npm:0.4.16" + peerDependencies: + eslint: ">=8.40" + checksum: 10c0/0628d54b6cc6773a89252e2a7c82c7905a00dc8dc99a6ae2885a64f3b45bd3012a40cf9791ee24aa5dcf75665d8c8be4699845bbbf205cd0ef652702701a7865 + languageName: node + linkType: hard + +"eslint-plugin-react-web-api@npm:1.17.2": + version: 1.17.2 + resolution: "eslint-plugin-react-web-api@npm:1.17.2" + dependencies: + "@eslint-react/ast": "npm:1.17.2" + "@eslint-react/core": "npm:1.17.2" + "@eslint-react/jsx": "npm:1.17.2" + "@eslint-react/shared": "npm:1.17.2" + "@eslint-react/tools": "npm:1.17.2" + "@eslint-react/types": "npm:1.17.2" + "@eslint-react/var": "npm:1.17.2" + "@typescript-eslint/scope-manager": "npm:^8.16.0" + "@typescript-eslint/types": "npm:^8.16.0" + "@typescript-eslint/utils": "npm:^8.16.0" + birecord: "npm:^0.1.1" + ts-pattern: "npm:^5.5.0" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: ^4.9.5 || ^5.3.3 + peerDependenciesMeta: + eslint: + optional: false + typescript: + optional: true + checksum: 10c0/f9efa836f98cbc928dd295f46cfe175d23fe4e0cd5df295937e08dcd68cf1a39083ac07c3b44728ac6735e75770c2ca685df86874f082e9dd33b753a0bdef985 + languageName: node + linkType: hard + +"eslint-plugin-react-x@npm:1.17.2": + version: 1.17.2 + resolution: "eslint-plugin-react-x@npm:1.17.2" + dependencies: + "@eslint-react/ast": "npm:1.17.2" + "@eslint-react/core": "npm:1.17.2" + "@eslint-react/jsx": "npm:1.17.2" + "@eslint-react/shared": "npm:1.17.2" + "@eslint-react/tools": "npm:1.17.2" + "@eslint-react/types": "npm:1.17.2" + "@eslint-react/var": "npm:1.17.2" + "@typescript-eslint/scope-manager": "npm:^8.16.0" + "@typescript-eslint/type-utils": "npm:^8.16.0" + "@typescript-eslint/types": "npm:^8.16.0" + "@typescript-eslint/utils": "npm:^8.16.0" + compare-versions: "npm:^6.1.1" + is-immutable-type: "npm:^5.0.0" + ts-pattern: "npm:^5.5.0" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: ^4.9.5 || ^5.3.3 + peerDependenciesMeta: + eslint: + optional: false + typescript: + optional: true + checksum: 10c0/94eed0a966e17afccae5f56e5769e7fc1f8c2f160998aa43b82fd412fdf8fe4a347fda35279ed131a77b58d85fecb1d1ebbddbc4c4f52c870a4df8ad75c5d21f + languageName: node + linkType: hard + "eslint-plugin-react@npm:7.34.1": version: 7.34.1 resolution: "eslint-plugin-react@npm:7.34.1" @@ -25490,6 +26152,62 @@ __metadata: languageName: node linkType: hard +"eslint-plugin-react@npm:^7.36.1": + version: 7.37.2 + resolution: "eslint-plugin-react@npm:7.37.2" + dependencies: + array-includes: "npm:^3.1.8" + array.prototype.findlast: "npm:^1.2.5" + array.prototype.flatmap: "npm:^1.3.2" + array.prototype.tosorted: "npm:^1.1.4" + doctrine: "npm:^2.1.0" + es-iterator-helpers: "npm:^1.1.0" + estraverse: "npm:^5.3.0" + hasown: "npm:^2.0.2" + jsx-ast-utils: "npm:^2.4.1 || ^3.0.0" + minimatch: "npm:^3.1.2" + object.entries: "npm:^1.1.8" + object.fromentries: "npm:^2.0.8" + object.values: "npm:^1.2.0" + prop-types: "npm:^15.8.1" + resolve: "npm:^2.0.0-next.5" + semver: "npm:^6.3.1" + string.prototype.matchall: "npm:^4.0.11" + string.prototype.repeat: "npm:^1.0.0" + peerDependencies: + eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7 + checksum: 10c0/01c498f263c201698bf653973760f86a07fa0cdec56c044f3eaa5ddaae71c64326015dfa5fde76ca8c5386ffe789fc79932624b614e13b6a1ad789fee3f7c491 + languageName: node + linkType: hard + +"eslint-plugin-regexp@npm:^2.6.0": + version: 2.7.0 + resolution: "eslint-plugin-regexp@npm:2.7.0" + dependencies: + "@eslint-community/eslint-utils": "npm:^4.2.0" + "@eslint-community/regexpp": "npm:^4.11.0" + comment-parser: "npm:^1.4.0" + jsdoc-type-pratt-parser: "npm:^4.0.0" + refa: "npm:^0.12.1" + regexp-ast-analysis: "npm:^0.7.1" + scslre: "npm:^0.3.0" + peerDependencies: + eslint: ">=8.44.0" + checksum: 10c0/c4882b441bab92e89c82cb27d6650540ad318750df5e99b42989f0fdf9ea381a9156de8470f1221483f98b5dc9cd6c493da73ccc18d94dee8d4a0f0ce78bd122 + languageName: node + linkType: hard + +"eslint-plugin-remeda@npm:^1.4.0": + version: 1.4.0 + resolution: "eslint-plugin-remeda@npm:1.4.0" + dependencies: + lodash-es: "npm:^4.17.21" + peerDependencies: + eslint: ">=9.0.0" + checksum: 10c0/aa234c6f95702a00f8635dea79c571d8349c63120e08c78c621cb43eb00eb919acca730f62f9011af6ab2f11ba6b008f3df9fb069e754e398e23db59978d26f6 + languageName: node + linkType: hard + "eslint-plugin-simple-import-sort@npm:12.0.0": version: 12.0.0 resolution: "eslint-plugin-simple-import-sort@npm:12.0.0" @@ -25499,6 +26217,37 @@ __metadata: languageName: node linkType: hard +"eslint-plugin-simple-import-sort@npm:^12.1.0": + version: 12.1.1 + resolution: "eslint-plugin-simple-import-sort@npm:12.1.1" + peerDependencies: + eslint: ">=5.0.0" + checksum: 10c0/0ad1907ad9ddbadd1db655db0a9d0b77076e274b793a77b982c8525d808d868e6ecfce24f3a411e8a1fa551077387f9ebb38c00956073970ebd7ee6a029ce2b3 + languageName: node + linkType: hard + +"eslint-plugin-sonarjs@npm:^1.0.4": + version: 1.0.4 + resolution: "eslint-plugin-sonarjs@npm:1.0.4" + peerDependencies: + eslint: ^8.0.0 || ^9.0.0 + checksum: 10c0/37d0229ea16158dfaa6ea8cd11e467b085fa26c35478fa37c33103810e753ba2d8f8eb8612fde8c8c375b9a2ec21b2a530ba612c669d71fb1605c768e5119b14 + languageName: node + linkType: hard + +"eslint-plugin-storybook@npm:0.11.1": + version: 0.11.1 + resolution: "eslint-plugin-storybook@npm:0.11.1" + dependencies: + "@storybook/csf": "npm:^0.1.11" + "@typescript-eslint/utils": "npm:^8.8.1" + ts-dedent: "npm:^2.2.0" + peerDependencies: + eslint: ">=6" + checksum: 10c0/0520018311c6da25fe2d0db24a59e99ecefe74c4cadd4eba42ce3b1b0ce2c3cc6f88d48680389374f99e10151a7ef3da52386853d9d5a4058c41ae72e2184549 + languageName: node + linkType: hard + "eslint-plugin-storybook@npm:0.8.0": version: 0.8.0 resolution: "eslint-plugin-storybook@npm:0.8.0" @@ -25513,6 +26262,29 @@ __metadata: languageName: node linkType: hard +"eslint-plugin-storybook@npm:^0.10.2": + version: 0.10.2 + resolution: "eslint-plugin-storybook@npm:0.10.2" + dependencies: + "@storybook/csf": "npm:^0.1.11" + "@typescript-eslint/utils": "npm:^8.8.1" + ts-dedent: "npm:^2.2.0" + peerDependencies: + eslint: ">=6" + checksum: 10c0/a5dc86602509b655ef2a4dc7f13786a1bc9e52deebfc12e722ccd796be5b20e5b6dfd65635b2da72f359372c5978c3277b46b2f8aeed2d96bb5d0285f7afcd3b + languageName: node + linkType: hard + +"eslint-plugin-tsdoc@npm:^0.2.17": + version: 0.2.17 + resolution: "eslint-plugin-tsdoc@npm:0.2.17" + dependencies: + "@microsoft/tsdoc": "npm:0.14.2" + "@microsoft/tsdoc-config": "npm:0.16.2" + checksum: 10c0/26cad40b22f3dc0adfb06b1ea12f7d3c9cb257ac8bb56ad6a023e3b3bdfc6144d95a8b01323563e75283cca90baaf4d68816f5cea6994c6cd660a642e820847a + languageName: node + linkType: hard + "eslint-plugin-typescript-sort-keys@npm:3.2.0": version: 3.2.0 resolution: "eslint-plugin-typescript-sort-keys@npm:3.2.0" @@ -25554,6 +26326,32 @@ __metadata: languageName: node linkType: hard +"eslint-plugin-unicorn@npm:^55.0.0": + version: 55.0.0 + resolution: "eslint-plugin-unicorn@npm:55.0.0" + dependencies: + "@babel/helper-validator-identifier": "npm:^7.24.5" + "@eslint-community/eslint-utils": "npm:^4.4.0" + ci-info: "npm:^4.0.0" + clean-regexp: "npm:^1.0.0" + core-js-compat: "npm:^3.37.0" + esquery: "npm:^1.5.0" + globals: "npm:^15.7.0" + indent-string: "npm:^4.0.0" + is-builtin-module: "npm:^3.2.1" + jsesc: "npm:^3.0.2" + pluralize: "npm:^8.0.0" + read-pkg-up: "npm:^7.0.1" + regexp-tree: "npm:^0.1.27" + regjsparser: "npm:^0.10.0" + semver: "npm:^7.6.1" + strip-indent: "npm:^3.0.0" + peerDependencies: + eslint: ">=8.56.0" + checksum: 10c0/31620da5c823abc791a3f4c9a0ab19baf21820bd38f018eafbc862ea0bbc3e4baedbdaaaf48f2dc1b2a59dfc7b341e654f2126c394f5d62fb5216e632d8a2c03 + languageName: node + linkType: hard + "eslint-scope@npm:5.1.1, eslint-scope@npm:^5.1.1": version: 5.1.1 resolution: "eslint-scope@npm:5.1.1" @@ -25574,6 +26372,16 @@ __metadata: languageName: node linkType: hard +"eslint-scope@npm:^8.0.1, eslint-scope@npm:^8.2.0": + version: 8.2.0 + resolution: "eslint-scope@npm:8.2.0" + dependencies: + esrecurse: "npm:^4.3.0" + estraverse: "npm:^5.2.0" + checksum: 10c0/8d2d58e2136d548ac7e0099b1a90d9fab56f990d86eb518de1247a7066d38c908be2f3df477a79cf60d70b30ba18735d6c6e70e9914dca2ee515a729975d70d6 + languageName: node + linkType: hard + "eslint-visitor-keys@npm:^2.1.0": version: 2.1.0 resolution: "eslint-visitor-keys@npm:2.1.0" @@ -25588,6 +26396,13 @@ __metadata: languageName: node linkType: hard +"eslint-visitor-keys@npm:^4.0.0, eslint-visitor-keys@npm:^4.2.0": + version: 4.2.0 + resolution: "eslint-visitor-keys@npm:4.2.0" + checksum: 10c0/2ed81c663b147ca6f578312919483eb040295bbab759e5a371953456c636c5b49a559883e2677112453728d66293c0a4c90ab11cab3428cf02a0236d2e738269 + languageName: node + linkType: hard + "eslint@npm:8.57.0": version: 8.57.0 resolution: "eslint@npm:8.57.0" @@ -25636,6 +26451,55 @@ __metadata: languageName: node linkType: hard +"eslint@npm:9.16.0": + version: 9.16.0 + resolution: "eslint@npm:9.16.0" + dependencies: + "@eslint-community/eslint-utils": "npm:^4.2.0" + "@eslint-community/regexpp": "npm:^4.12.1" + "@eslint/config-array": "npm:^0.19.0" + "@eslint/core": "npm:^0.9.0" + "@eslint/eslintrc": "npm:^3.2.0" + "@eslint/js": "npm:9.16.0" + "@eslint/plugin-kit": "npm:^0.2.3" + "@humanfs/node": "npm:^0.16.6" + "@humanwhocodes/module-importer": "npm:^1.0.1" + "@humanwhocodes/retry": "npm:^0.4.1" + "@types/estree": "npm:^1.0.6" + "@types/json-schema": "npm:^7.0.15" + ajv: "npm:^6.12.4" + chalk: "npm:^4.0.0" + cross-spawn: "npm:^7.0.5" + debug: "npm:^4.3.2" + escape-string-regexp: "npm:^4.0.0" + eslint-scope: "npm:^8.2.0" + eslint-visitor-keys: "npm:^4.2.0" + espree: "npm:^10.3.0" + esquery: "npm:^1.5.0" + esutils: "npm:^2.0.2" + fast-deep-equal: "npm:^3.1.3" + file-entry-cache: "npm:^8.0.0" + find-up: "npm:^5.0.0" + glob-parent: "npm:^6.0.2" + ignore: "npm:^5.2.0" + imurmurhash: "npm:^0.1.4" + is-glob: "npm:^4.0.0" + json-stable-stringify-without-jsonify: "npm:^1.0.1" + lodash.merge: "npm:^4.6.2" + minimatch: "npm:^3.1.2" + natural-compare: "npm:^1.4.0" + optionator: "npm:^0.9.3" + peerDependencies: + jiti: "*" + peerDependenciesMeta: + jiti: + optional: true + bin: + eslint: bin/eslint.js + checksum: 10c0/f36d12652c6f20bab8a77375b8ad29a6af030c3840deb0a5f9dd4cee49d68a2d68d7dc73b0c25918df59d83cd686dd5712e11387e696e1f3842e8dde15cd3255 + languageName: node + linkType: hard + "esniff@npm:^2.0.1": version: 2.0.1 resolution: "esniff@npm:2.0.1" @@ -25648,6 +26512,17 @@ __metadata: languageName: node linkType: hard +"espree@npm:^10.0.0, espree@npm:^10.0.1, espree@npm:^10.1.0, espree@npm:^10.3.0": + version: 10.3.0 + resolution: "espree@npm:10.3.0" + dependencies: + acorn: "npm:^8.14.0" + acorn-jsx: "npm:^5.3.2" + eslint-visitor-keys: "npm:^4.2.0" + checksum: 10c0/272beeaca70d0a1a047d61baff64db04664a33d7cfb5d144f84bc8a5c6194c6c8ebe9cc594093ca53add88baa23e59b01e69e8a0160ab32eac570482e165c462 + languageName: node + linkType: hard + "espree@npm:^9.4.1, espree@npm:^9.6.0, espree@npm:^9.6.1": version: 9.6.1 resolution: "espree@npm:9.6.1" @@ -25679,7 +26554,7 @@ __metadata: languageName: node linkType: hard -"esquery@npm:^1.4.2, esquery@npm:^1.5.0": +"esquery@npm:^1.4.2, esquery@npm:^1.5.0, esquery@npm:^1.6.0": version: 1.6.0 resolution: "esquery@npm:1.6.0" dependencies: @@ -25928,7 +26803,7 @@ __metadata: languageName: node linkType: hard -"execa@npm:^8.0.1": +"execa@npm:^8.0.1, execa@npm:~8.0.1": version: 8.0.1 resolution: "execa@npm:8.0.1" dependencies: @@ -25997,9 +26872,9 @@ __metadata: languageName: node linkType: hard -"express@npm:4.21.2, express@npm:^4.17.3": - version: 4.21.2 - resolution: "express@npm:4.21.2" +"express@npm:4.21.1, express@npm:^4.17.3": + version: 4.21.1 + resolution: "express@npm:4.21.1" dependencies: accepts: "npm:~1.3.8" array-flatten: "npm:1.1.1" @@ -26020,7 +26895,7 @@ __metadata: methods: "npm:~1.1.2" on-finished: "npm:2.4.1" parseurl: "npm:~1.3.3" - path-to-regexp: "npm:0.1.12" + path-to-regexp: "npm:0.1.10" proxy-addr: "npm:~2.0.7" qs: "npm:6.13.0" range-parser: "npm:~1.2.1" @@ -26032,7 +26907,7 @@ __metadata: type-is: "npm:~1.6.18" utils-merge: "npm:1.0.1" vary: "npm:~1.1.2" - checksum: 10c0/38168fd0a32756600b56e6214afecf4fc79ec28eca7f7a91c2ab8d50df4f47562ca3f9dee412da7f5cea6b1a1544b33b40f9f8586dbacfbdada0fe90dbb10a1f + checksum: 10c0/0c287867e5f6129d3def1edd9b63103a53c40d4dc8628839d4b6827e35eb8f0de5a4656f9d85f4457eba584f9871ebb2ad26c750b36bd75d9bbb8bcebdc4892c languageName: node linkType: hard @@ -26452,6 +27327,15 @@ __metadata: languageName: node linkType: hard +"file-entry-cache@npm:^8.0.0": + version: 8.0.0 + resolution: "file-entry-cache@npm:8.0.0" + dependencies: + flat-cache: "npm:^4.0.0" + checksum: 10c0/9e2b5938b1cd9b6d7e3612bdc533afd4ac17b2fc646569e9a8abbf2eb48e5eb8e316bc38815a3ef6a1b456f4107f0d0f055a614ca613e75db6bf9ff4d72c1638 + languageName: node + linkType: hard + "file-loader@npm:6.2.0": version: 6.2.0 resolution: "file-loader@npm:6.2.0" @@ -26654,6 +27538,13 @@ __metadata: languageName: node linkType: hard +"find-up-simple@npm:^1.0.0": + version: 1.0.0 + resolution: "find-up-simple@npm:1.0.0" + checksum: 10c0/de1ad5e55c8c162f5600fe3297bb55a3da5cd9cb8c6755e463ec1d52c4c15a84e312a68397fb5962d13263b3dbd4ea294668c465ccacc41291d7cc97588769f9 + languageName: node + linkType: hard + "find-up@npm:^3.0.0": version: 3.0.0 resolution: "find-up@npm:3.0.0" @@ -26693,6 +27584,13 @@ __metadata: languageName: node linkType: hard +"find-value@npm:^1.0.12": + version: 1.0.12 + resolution: "find-value@npm:1.0.12" + checksum: 10c0/71fa0c4cd003ca09c3a679c99b899a1d45d60e325f858fd463c484358a3424c7dba9ff965b67764ba3226ffe6642cf458c5be7797fdd68c90fb9c0a9eae4e39c + languageName: node + linkType: hard + "find-yarn-workspace-root2@npm:1.2.16": version: 1.2.16 resolution: "find-yarn-workspace-root2@npm:1.2.16" @@ -26725,6 +27623,16 @@ __metadata: languageName: node linkType: hard +"flat-cache@npm:^4.0.0": + version: 4.0.1 + resolution: "flat-cache@npm:4.0.1" + dependencies: + flatted: "npm:^3.2.9" + keyv: "npm:^4.5.4" + checksum: 10c0/2c59d93e9faa2523e4fda6b4ada749bed432cfa28c8e251f33b25795e426a1c6dbada777afb1f74fcfff33934fdbdea921ee738fcc33e71adc9d6eca984a1cfc + languageName: node + linkType: hard + "flat@npm:^5.0.2": version: 5.0.2 resolution: "flat@npm:5.0.2" @@ -27324,6 +28232,13 @@ __metadata: languageName: node linkType: hard +"get-east-asian-width@npm:^1.0.0": + version: 1.3.0 + resolution: "get-east-asian-width@npm:1.3.0" + checksum: 10c0/1a049ba697e0f9a4d5514c4623781c5246982bdb61082da6b5ae6c33d838e52ce6726407df285cdbb27ec1908b333cf2820989bd3e986e37bb20979437fdf34b + languageName: node + linkType: hard + "get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.1, get-intrinsic@npm:^1.2.2, get-intrinsic@npm:^1.2.3, get-intrinsic@npm:^1.2.4": version: 1.2.4 resolution: "get-intrinsic@npm:1.2.4" @@ -27337,13 +28252,6 @@ __metadata: languageName: node linkType: hard -"get-iterator@npm:^2.0.1": - version: 2.0.1 - resolution: "get-iterator@npm:2.0.1" - checksum: 10c0/400d90d39bac5dc137176fc7a48a5d7267f85c1b653e8b14548e0e99f25fad4dab24efc4bca44c7d79d808c6ed3ce2e5779703a2f205fc230a25bb134aa524f7 - languageName: node - linkType: hard - "get-nonce@npm:^1.0.0": version: 1.0.1 resolution: "get-nonce@npm:1.0.1" @@ -27582,6 +28490,20 @@ __metadata: languageName: node linkType: hard +"glob@npm:7.1.7, glob@npm:~7.1.3": + version: 7.1.7 + resolution: "glob@npm:7.1.7" + dependencies: + fs.realpath: "npm:^1.0.0" + inflight: "npm:^1.0.4" + inherits: "npm:2" + minimatch: "npm:^3.0.4" + once: "npm:^1.3.0" + path-is-absolute: "npm:^1.0.0" + checksum: 10c0/173245e6f9ccf904309eb7ef4a44a11f3bf68e9e341dff5a28b5db0dd7123b7506daf41497f3437a0710f57198187b758c2351eeaabce4d16935e956920da6a4 + languageName: node + linkType: hard + "glob@npm:9.3.5, glob@npm:^9.3.2": version: 9.3.5 resolution: "glob@npm:9.3.5" @@ -27653,20 +28575,6 @@ __metadata: languageName: node linkType: hard -"glob@npm:~7.1.3": - version: 7.1.7 - resolution: "glob@npm:7.1.7" - dependencies: - fs.realpath: "npm:^1.0.0" - inflight: "npm:^1.0.4" - inherits: "npm:2" - minimatch: "npm:^3.0.4" - once: "npm:^1.3.0" - path-is-absolute: "npm:^1.0.0" - checksum: 10c0/173245e6f9ccf904309eb7ef4a44a11f3bf68e9e341dff5a28b5db0dd7123b7506daf41497f3437a0710f57198187b758c2351eeaabce4d16935e956920da6a4 - languageName: node - linkType: hard - "globals@npm:^11.1.0": version: 11.12.0 resolution: "globals@npm:11.12.0" @@ -27674,7 +28582,7 @@ __metadata: languageName: node linkType: hard -"globals@npm:^13.19.0": +"globals@npm:^13.19.0, globals@npm:^13.23.0": version: 13.24.0 resolution: "globals@npm:13.24.0" dependencies: @@ -27683,6 +28591,20 @@ __metadata: languageName: node linkType: hard +"globals@npm:^14.0.0": + version: 14.0.0 + resolution: "globals@npm:14.0.0" + checksum: 10c0/b96ff42620c9231ad468d4c58ff42afee7777ee1c963013ff8aabe095a451d0ceeb8dcd8ef4cbd64d2538cef45f787a78ba3a9574f4a634438963e334471302d + languageName: node + linkType: hard + +"globals@npm:^15.0.0, globals@npm:^15.11.0, globals@npm:^15.7.0": + version: 15.13.0 + resolution: "globals@npm:15.13.0" + checksum: 10c0/640365115ca5f81d91e6a7667f4935021705e61a1a5a76a6ec5c3a5cdf6e53f165af7f9db59b7deb65cf2e1f83d03ac8d6660d0b14c569c831a9b6483eeef585 + languageName: node + linkType: hard + "globalthis@npm:^1.0.4": version: 1.0.4 resolution: "globalthis@npm:1.0.4" @@ -28285,26 +29207,25 @@ __metadata: "@sentry/cli": "npm:^2.39.1" "@taplo/cli": "npm:0.7.0" "@yarnpkg/types": "npm:^4.0.0" + check-dependency-version-consistency: "npm:3.0.3" concurrently: "npm:7.6.0" - lefthook: "npm:1.9.0" + cross-env: "npm:7.0.3" + dotenv-flow: "npm:3.3.0" + husky: "npm:8.0.3" + lint-staged: "npm:15.2.10" lockfile-lint: "npm:4.14.0" markdownlint-cli: "npm:0.43.0" npm-run-all2: "npm:7.0.1" - prettier: "npm:3.4.2" + postinstall-postinstall: "npm:2.1.0" + prettier: "npm:3.4.1" prettier-plugin-packagejson: "npm:2.5.6" prettier-plugin-sh: "npm:0.14.0" suppress-exit-code: "npm:3.2.0" turbo: "npm:2.3.3" + wait-on: "npm:8.0.1" languageName: unknown linkType: soft -"hashlru@npm:^2.3.0": - version: 2.3.0 - resolution: "hashlru@npm:2.3.0" - checksum: 10c0/90f351db1a320c43aeb681c7e806f35af6877a86d3fa9b970636ea21f111d0f0b819e046dc9b5fe6a8ab211a3d98178eb37aacbad29ea4f6f53554a4541a6f0d - languageName: node - linkType: hard - "hasown@npm:^2.0.0, hasown@npm:^2.0.1, hasown@npm:^2.0.2": version: 2.0.2 resolution: "hasown@npm:2.0.2" @@ -29038,6 +29959,15 @@ __metadata: languageName: node linkType: hard +"husky@npm:8.0.3": + version: 8.0.3 + resolution: "husky@npm:8.0.3" + bin: + husky: lib/bin.js + checksum: 10c0/6722591771c657b91a1abb082e07f6547eca79144d678e586828ae806499d90dce2a6aee08b66183fd8b085f19d20e0990a2ad396961746b4c8bd5bdb619d668 + languageName: node + linkType: hard + "hyperdyperid@npm:^1.2.0": version: 1.2.0 resolution: "hyperdyperid@npm:1.2.0" @@ -29133,7 +30063,7 @@ __metadata: languageName: node linkType: hard -"ignore@npm:^5.1.9, ignore@npm:^5.2.0, ignore@npm:^5.2.4": +"ignore@npm:^5.1.9, ignore@npm:^5.2.0, ignore@npm:^5.2.4, ignore@npm:^5.3.1": version: 5.3.2 resolution: "ignore@npm:5.3.2" checksum: 10c0/f9f652c957983634ded1e7f02da3b559a0d4cc210fca3792cb67f1b153623c9c42efdc1c4121af171e295444459fc4a9201101fb041b1104a3c000bccb188337 @@ -29259,6 +30189,13 @@ __metadata: languageName: node linkType: hard +"index-to-position@npm:^0.1.2": + version: 0.1.2 + resolution: "index-to-position@npm:0.1.2" + checksum: 10c0/7c91bde8bafc22684b74a7a24915bee4691cba48352ddb4ebe3b20a3a87bc0fa7a05f586137245ca8f92222a11f341f7631ff7f38cd78a523505d2d02dbfa257 + languageName: node + linkType: hard + "inflight@npm:^1.0.4": version: 1.0.6 resolution: "inflight@npm:1.0.6" @@ -29416,23 +30353,6 @@ __metadata: languageName: node linkType: hard -"interface-datastore@npm:^8.0.0, interface-datastore@npm:^8.3.0": - version: 8.3.1 - resolution: "interface-datastore@npm:8.3.1" - dependencies: - interface-store: "npm:^6.0.0" - uint8arrays: "npm:^5.1.0" - checksum: 10c0/7b7fbe94fe00ed8a69e2197a0b58fa7db733d7a7110dfaa259fc19c9cb1761402a9f31063d4d87676e4d2213ed94b06d3f2b9dd65bc727e89bd0dbfbc17882a1 - languageName: node - linkType: hard - -"interface-store@npm:^6.0.0": - version: 6.0.2 - resolution: "interface-store@npm:6.0.2" - checksum: 10c0/26650c98c411fcf5dfeec76d4433f9ca594c2d27cc7afb285b618132d512b62d684471054b2fb4e687b477ab36f1ca21fd81caad404925502a4a54160a7158c4 - languageName: node - linkType: hard - "internal-slot@npm:^1.0.4, internal-slot@npm:^1.0.7": version: 1.0.7 resolution: "internal-slot@npm:1.0.7" @@ -29701,7 +30621,7 @@ __metadata: languageName: node linkType: hard -"is-core-module@npm:^2.13.0, is-core-module@npm:^2.13.1": +"is-core-module@npm:^2.1.0, is-core-module@npm:^2.13.0, is-core-module@npm:^2.13.1, is-core-module@npm:^2.15.1": version: 2.15.1 resolution: "is-core-module@npm:2.15.1" dependencies: @@ -29767,13 +30687,6 @@ __metadata: languageName: node linkType: hard -"is-electron@npm:^2.2.0": - version: 2.2.2 - resolution: "is-electron@npm:2.2.2" - checksum: 10c0/327bb373f7be01b16cdff3998b5ddaa87d28f576092affaa7fe0659571b3306fdd458afbf0683a66841e7999af13f46ad0e1b51647b469526cd05a4dd736438a - languageName: node - linkType: hard - "is-extendable@npm:^0.1.0, is-extendable@npm:^0.1.1": version: 0.1.1 resolution: "is-extendable@npm:0.1.1" @@ -29836,6 +30749,15 @@ __metadata: languageName: node linkType: hard +"is-fullwidth-code-point@npm:^5.0.0": + version: 5.0.0 + resolution: "is-fullwidth-code-point@npm:5.0.0" + dependencies: + get-east-asian-width: "npm:^1.0.0" + checksum: 10c0/cd591b27d43d76b05fa65ed03eddce57a16e1eca0b7797ff7255de97019bcaf0219acfc0c4f7af13319e13541f2a53c0ace476f442b13267b9a6a7568f2b65c8 + languageName: node + linkType: hard + "is-generator-function@npm:^1.0.10, is-generator-function@npm:^1.0.7": version: 1.0.10 resolution: "is-generator-function@npm:1.0.10" @@ -29892,6 +30814,20 @@ __metadata: languageName: node linkType: hard +"is-immutable-type@npm:^5.0.0": + version: 5.0.0 + resolution: "is-immutable-type@npm:5.0.0" + dependencies: + "@typescript-eslint/type-utils": "npm:^8.0.0" + ts-api-utils: "npm:^1.3.0" + ts-declaration-location: "npm:^1.0.4" + peerDependencies: + eslint: "*" + typescript: ">=4.7.4" + checksum: 10c0/dd6e7964f47cb349e7382158d3942121a7cc2a7b656e7d1656883c625f48c8f0e66a82ec22196cfff8eca49eeededba05c049a65abc9a6b89410b4b41401d8c5 + languageName: node + linkType: hard + "is-inside-container@npm:^1.0.0": version: 1.0.0 resolution: "is-inside-container@npm:1.0.0" @@ -29926,13 +30862,6 @@ __metadata: languageName: node linkType: hard -"is-loopback-addr@npm:^2.0.2": - version: 2.0.2 - resolution: "is-loopback-addr@npm:2.0.2" - checksum: 10c0/574ce2f8f9c9f4543295a6e1979c4f9dcc96e353c48e8bcd4f1089b05a88ad9e87e3e6131c977fcd1dab0a775d8bf9e456284dda119317b9b901cd7d6a995494 - languageName: node - linkType: hard - "is-lower-case@npm:^2.0.2": version: 2.0.2 resolution: "is-lower-case@npm:2.0.2" @@ -29980,13 +30909,6 @@ __metadata: languageName: node linkType: hard -"is-network-error@npm:^1.0.0": - version: 1.1.0 - resolution: "is-network-error@npm:1.1.0" - checksum: 10c0/89eef83c2a4cf43d853145ce175d1cf43183b7a58d48c7a03e7eed4eb395d0934c1f6d101255cdd8c8c2980ab529bfbe5dd9edb24e1c3c28d2b3c814469b5b7d - languageName: node - linkType: hard - "is-number-object@npm:^1.0.4": version: 1.0.7 resolution: "is-number-object@npm:1.0.7" @@ -30066,13 +30988,6 @@ __metadata: languageName: node linkType: hard -"is-plain-obj@npm:^2.1.0": - version: 2.1.0 - resolution: "is-plain-obj@npm:2.1.0" - checksum: 10c0/e5c9814cdaa627a9ad0a0964ded0e0491bfd9ace405c49a5d63c88b30a162f1512c069d5b80997893c4d0181eadc3fed02b4ab4b81059aba5620bfcdfdeb9c53 - languageName: node - linkType: hard - "is-plain-obj@npm:^3.0.0": version: 3.0.0 resolution: "is-plain-obj@npm:3.0.0" @@ -30110,6 +31025,13 @@ __metadata: languageName: node linkType: hard +"is-primitive@npm:^3.0.1": + version: 3.0.1 + resolution: "is-primitive@npm:3.0.1" + checksum: 10c0/2e3b6f029fabbdda467ea51ea4fdd00e6552434108b863a08f296638072c506a7c195089e3e31f83e7fc14bebbd1c5c9f872fe127c9284a7665c8227b47ffdd6 + languageName: node + linkType: hard + "is-promise@npm:^2.2.2": version: 2.2.2 resolution: "is-promise@npm:2.2.2" @@ -30540,192 +31462,6 @@ __metadata: languageName: node linkType: hard -"it-all@npm:^3.0.0, it-all@npm:^3.0.6": - version: 3.0.6 - resolution: "it-all@npm:3.0.6" - checksum: 10c0/b615dcbc8dcda46f192a19f8ffeb526054e325d0301a1434ad821bcb71d102c6b3ff61a658f9b92091b14e5e53803ddec92669a5ae82f1afd2f4aeb34fceb517 - languageName: node - linkType: hard - -"it-byte-stream@npm:^1.0.0, it-byte-stream@npm:^1.0.12, it-byte-stream@npm:^1.1.0": - version: 1.1.0 - resolution: "it-byte-stream@npm:1.1.0" - dependencies: - it-queueless-pushable: "npm:^1.0.0" - it-stream-types: "npm:^2.0.1" - uint8arraylist: "npm:^2.4.8" - checksum: 10c0/df7e7bd26d726b91306a7181c1880e18cc21c43df843d279522923ef4cd080b0b91a4d0bd4eb929b6d597392402ce9c3fceebae31f429dee8a4b84b30c519fc8 - languageName: node - linkType: hard - -"it-drain@npm:^3.0.7": - version: 3.0.7 - resolution: "it-drain@npm:3.0.7" - checksum: 10c0/d5f59a48060bcceabbc8122cd9d8e48de5725f60556ca7e3336917b9b0a5aaedfca986a9125d223b33a2b09971bf95027c03dc8bdc8b502af0e8566bc3c48b93 - languageName: node - linkType: hard - -"it-filter@npm:^3.1.1": - version: 3.1.1 - resolution: "it-filter@npm:3.1.1" - dependencies: - it-peekable: "npm:^3.0.0" - checksum: 10c0/810288d93c16423f87fe04b8e5773e101382260cad8056023817262454b7e0efbc87b3158a17c23420d61d3e4b7c81e263fd34d4971ea3189a5cb670f764796f - languageName: node - linkType: hard - -"it-foreach@npm:^2.0.6, it-foreach@npm:^2.1.1": - version: 2.1.1 - resolution: "it-foreach@npm:2.1.1" - dependencies: - it-peekable: "npm:^3.0.0" - checksum: 10c0/93f90f7a8a474b747c7ba4c701363bdb9427329aaac6c5657d24d9d89dd8bddd1ca2590807129bb60184982da2e70fd4120fd8752578ecd722eb31ba83c66d0f - languageName: node - linkType: hard - -"it-length-prefixed-stream@npm:^1.0.0, it-length-prefixed-stream@npm:^1.1.7": - version: 1.2.0 - resolution: "it-length-prefixed-stream@npm:1.2.0" - dependencies: - it-byte-stream: "npm:^1.0.0" - it-stream-types: "npm:^2.0.1" - uint8-varint: "npm:^2.0.4" - uint8arraylist: "npm:^2.4.8" - checksum: 10c0/093644881c73ab76b4074c65605f25b22892d1267fa9a2ec8c2a4731f4e51d86b54be0a6e2bc9772b81cc7c3f2f3d705695304fe33eeac32849076bdebb46829 - languageName: node - linkType: hard - -"it-length-prefixed@npm:^9.0.1, it-length-prefixed@npm:^9.0.4": - version: 9.1.0 - resolution: "it-length-prefixed@npm:9.1.0" - dependencies: - it-reader: "npm:^6.0.1" - it-stream-types: "npm:^2.0.1" - uint8-varint: "npm:^2.0.1" - uint8arraylist: "npm:^2.0.0" - uint8arrays: "npm:^5.0.1" - checksum: 10c0/4a64c51a14a50e65e502dc65aafc1f867c08aad0e7a82f8e0245c378e1484287d0d0f8ae73b451f96f8221f32c6b9db5f93f88f6be3ef992de23d92d0dc7a9ea - languageName: node - linkType: hard - -"it-map@npm:^3.1.1": - version: 3.1.1 - resolution: "it-map@npm:3.1.1" - dependencies: - it-peekable: "npm:^3.0.0" - checksum: 10c0/d18f8a71dee320e38efde0d8787011e1213e4261bb3161541a2a0915ded5b0950d5ac09d6b81aa56c408ea727be8096cd84502e40810f81e6acbf3af2c970a65 - languageName: node - linkType: hard - -"it-merge@npm:^3.0.0, it-merge@npm:^3.0.5": - version: 3.0.5 - resolution: "it-merge@npm:3.0.5" - dependencies: - it-pushable: "npm:^3.2.3" - checksum: 10c0/3c8ac84f440571b6679b88d5d8bb90468cd449706b02cb2dce264bee5eec334cddfa546f9a68b14461cdda1d0bdd53663bb40b1dba26164e79700cc78388ae52 - languageName: node - linkType: hard - -"it-pair@npm:^2.0.6": - version: 2.0.6 - resolution: "it-pair@npm:2.0.6" - dependencies: - it-stream-types: "npm:^2.0.1" - p-defer: "npm:^4.0.0" - checksum: 10c0/211ebcef17d9853763c1762171a194132ceeb3afe2bee11fa71d98cd98d25fac2af50968e4a0c21a76f898191819bf0f4f951dd0cb0cbdf2b1fadf8a6185d8c1 - languageName: node - linkType: hard - -"it-parallel@npm:^3.0.7": - version: 3.0.8 - resolution: "it-parallel@npm:3.0.8" - dependencies: - p-defer: "npm:^4.0.1" - checksum: 10c0/b0fc9d042058e644ebf40044cb7f7f71133c994caa76af87087453cee4bdb608f4e6200966adb9d1af6fb674118e6c9d1ebf5fdd616b918e69b8fe8b026b744f - languageName: node - linkType: hard - -"it-peekable@npm:^3.0.0": - version: 3.0.5 - resolution: "it-peekable@npm:3.0.5" - checksum: 10c0/6c220b65f73c3e776ba4a457054b91258f81ad68cfc7c56f7f93489361ba3bd1156aeb1f981d40d842d9b736f3eedb42d229a877f13af8292f196569fefdc9c7 - languageName: node - linkType: hard - -"it-pipe@npm:^3.0.1": - version: 3.0.1 - resolution: "it-pipe@npm:3.0.1" - dependencies: - it-merge: "npm:^3.0.0" - it-pushable: "npm:^3.1.2" - it-stream-types: "npm:^2.0.1" - checksum: 10c0/342b7dec98fb3a7247f576091cbf3c3b121eb32ceb0480ca39b5a757f56658aba852d35d78a59472ce3d6502af1b6b43a19b2311134f67800404d74da7cf4e43 - languageName: node - linkType: hard - -"it-protobuf-stream@npm:^1.1.3": - version: 1.1.5 - resolution: "it-protobuf-stream@npm:1.1.5" - dependencies: - it-length-prefixed-stream: "npm:^1.0.0" - it-stream-types: "npm:^2.0.1" - uint8arraylist: "npm:^2.4.8" - checksum: 10c0/4d21b82fd287797edcb8caf94dd91cffe568084799d82f8cccd1030cc3102cab8f911658aa37d154759b2866036f37e15530a8be1e1551d04af7b28e2f9eec5a - languageName: node - linkType: hard - -"it-pushable@npm:^3.1.2, it-pushable@npm:^3.2.3": - version: 3.2.3 - resolution: "it-pushable@npm:3.2.3" - dependencies: - p-defer: "npm:^4.0.0" - checksum: 10c0/ba99744f0a6fe9e555bdde76ce2144a3e35c37a33830c69d65f5512129fb5a58272f1bbb4b9741fca69be868c301109fc910b26629c8eb0961f0503dd80a4830 - languageName: node - linkType: hard - -"it-queueless-pushable@npm:^1.0.0": - version: 1.0.0 - resolution: "it-queueless-pushable@npm:1.0.0" - dependencies: - p-defer: "npm:^4.0.1" - race-signal: "npm:^1.0.2" - checksum: 10c0/93d7601515f32c01cc9ca0f77addcda57e3524516747716a0101e54f44d6cad5037bc9f7005f21837822fb154e47868f19f9c89dcc3e8fd255d72455a0b95e73 - languageName: node - linkType: hard - -"it-reader@npm:^6.0.1": - version: 6.0.4 - resolution: "it-reader@npm:6.0.4" - dependencies: - it-stream-types: "npm:^2.0.1" - uint8arraylist: "npm:^2.0.0" - checksum: 10c0/7c87be7df0d573fa2fc3bd29ec7b5c34e3ec722bb65d7f19a25c52f3bfd2e0170073850f2ebde2c8b48156c4fd9cc684583f63ca601c6dad53c31859f6b1c275 - languageName: node - linkType: hard - -"it-sort@npm:^3.0.6": - version: 3.0.6 - resolution: "it-sort@npm:3.0.6" - dependencies: - it-all: "npm:^3.0.0" - checksum: 10c0/3bae0be054858c9bb75d258d505f3f166dc32b46c0e1db0cc98a05ea29e9804f55ca56b1a94e82b2ab61b4d74cd4d06654448ff54f49801fa13faeb5a11fe4da - languageName: node - linkType: hard - -"it-stream-types@npm:2.0.2, it-stream-types@npm:^2.0.1": - version: 2.0.2 - resolution: "it-stream-types@npm:2.0.2" - checksum: 10c0/da2a035234b3a914c12cfbfc38cbae201c8464b917db1e6dadd88aaa87d4ca6c52c35827b9c3405fe0c55862bdc63d5cefca33a219394d0b4c2f22987e838807 - languageName: node - linkType: hard - -"it-take@npm:^3.0.6": - version: 3.0.6 - resolution: "it-take@npm:3.0.6" - checksum: 10c0/8fca59578e93700067b785a53303ba2ad10df7f5b4c3fc4929b1f9d9052365d0f8fe4050089b47e50aed67cafd714e295aea9c51797659b43ded13be90f030e1 - languageName: node - linkType: hard - "iterall@npm:1.1.3": version: 1.1.3 resolution: "iterall@npm:1.1.3" @@ -30740,6 +31476,13 @@ __metadata: languageName: node linkType: hard +"iterate-object@npm:^1.3.4": + version: 1.3.4 + resolution: "iterate-object@npm:1.3.4" + checksum: 10c0/ff37f08223397ea637af136061ba74590efe5b29be5ca9006ae8168ce2faca67b0b4ebc763317173da65d2ae3ba81c1b51f4ceb80092a7bc668f3798f63db9e2 + languageName: node + linkType: hard + "iterator.prototype@npm:^1.1.3": version: 1.1.3 resolution: "iterator.prototype@npm:1.1.3" @@ -30891,6 +31634,13 @@ __metadata: languageName: node linkType: hard +"jju@npm:~1.4.0": + version: 1.4.0 + resolution: "jju@npm:1.4.0" + checksum: 10c0/f3f444557e4364cfc06b1abf8331bf3778b26c0c8552ca54429bc0092652172fdea26cbffe33e1017b303d5aa506f7ede8571857400efe459cb7439180e2acad + languageName: node + linkType: hard + "jmespath@npm:0.16.0, jmespath@npm:^0.16.0": version: 0.16.0 resolution: "jmespath@npm:0.16.0" @@ -31055,6 +31805,13 @@ __metadata: languageName: node linkType: hard +"jsdoc-type-pratt-parser@npm:^4.0.0, jsdoc-type-pratt-parser@npm:~4.1.0": + version: 4.1.0 + resolution: "jsdoc-type-pratt-parser@npm:4.1.0" + checksum: 10c0/7700372d2e733a32f7ea0a1df9cec6752321a5345c11a91b2ab478a031a426e934f16d5c1f15c8566c7b2c10af9f27892a29c2c789039f595470e929a4aa60ea + languageName: node + linkType: hard + "jsdom@npm:24.1.3": version: 24.1.3 resolution: "jsdom@npm:24.1.3" @@ -31468,18 +32225,18 @@ __metadata: languageName: node linkType: hard -"katex@npm:0.16.14": - version: 0.16.14 - resolution: "katex@npm:0.16.14" +"katex@npm:0.16.11": + version: 0.16.11 + resolution: "katex@npm:0.16.11" dependencies: commander: "npm:^8.3.0" bin: katex: cli.js - checksum: 10c0/ec9b5b5c4ffb1d7a1adea45b30d84551f65ad786a89114bb7509f4fdf691a61bcb3feab1c07ca386adbd8ae87efbce6cc14d337774334d1890f2da4ab2ed3f80 + checksum: 10c0/be405d45d7228bbfeecd491e0f74d9da0066b5e7b457e3f1dc833de5b63f9e98e40d2ef6b46e1cbe577490a43338c043851da032c45aeec0cc03ad431ef6fd83 languageName: node linkType: hard -"keyv@npm:^4.0.0, keyv@npm:^4.5.3": +"keyv@npm:^4.0.0, keyv@npm:^4.5.3, keyv@npm:^4.5.4": version: 4.5.4 resolution: "keyv@npm:4.5.4" dependencies: @@ -31617,117 +32374,6 @@ __metadata: languageName: node linkType: hard -"lefthook-darwin-arm64@npm:1.9.0": - version: 1.9.0 - resolution: "lefthook-darwin-arm64@npm:1.9.0" - conditions: os=darwin & cpu=arm64 - languageName: node - linkType: hard - -"lefthook-darwin-x64@npm:1.9.0": - version: 1.9.0 - resolution: "lefthook-darwin-x64@npm:1.9.0" - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - -"lefthook-freebsd-arm64@npm:1.9.0": - version: 1.9.0 - resolution: "lefthook-freebsd-arm64@npm:1.9.0" - conditions: os=freebsd & cpu=arm64 - languageName: node - linkType: hard - -"lefthook-freebsd-x64@npm:1.9.0": - version: 1.9.0 - resolution: "lefthook-freebsd-x64@npm:1.9.0" - conditions: os=freebsd & cpu=x64 - languageName: node - linkType: hard - -"lefthook-linux-arm64@npm:1.9.0": - version: 1.9.0 - resolution: "lefthook-linux-arm64@npm:1.9.0" - conditions: os=linux & cpu=arm64 - languageName: node - linkType: hard - -"lefthook-linux-x64@npm:1.9.0": - version: 1.9.0 - resolution: "lefthook-linux-x64@npm:1.9.0" - conditions: os=linux & cpu=x64 - languageName: node - linkType: hard - -"lefthook-openbsd-arm64@npm:1.9.0": - version: 1.9.0 - resolution: "lefthook-openbsd-arm64@npm:1.9.0" - conditions: os=openbsd & cpu=arm64 - languageName: node - linkType: hard - -"lefthook-openbsd-x64@npm:1.9.0": - version: 1.9.0 - resolution: "lefthook-openbsd-x64@npm:1.9.0" - conditions: os=openbsd & cpu=x64 - languageName: node - linkType: hard - -"lefthook-windows-arm64@npm:1.9.0": - version: 1.9.0 - resolution: "lefthook-windows-arm64@npm:1.9.0" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - -"lefthook-windows-x64@npm:1.9.0": - version: 1.9.0 - resolution: "lefthook-windows-x64@npm:1.9.0" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - -"lefthook@npm:1.9.0": - version: 1.9.0 - resolution: "lefthook@npm:1.9.0" - dependencies: - lefthook-darwin-arm64: "npm:1.9.0" - lefthook-darwin-x64: "npm:1.9.0" - lefthook-freebsd-arm64: "npm:1.9.0" - lefthook-freebsd-x64: "npm:1.9.0" - lefthook-linux-arm64: "npm:1.9.0" - lefthook-linux-x64: "npm:1.9.0" - lefthook-openbsd-arm64: "npm:1.9.0" - lefthook-openbsd-x64: "npm:1.9.0" - lefthook-windows-arm64: "npm:1.9.0" - lefthook-windows-x64: "npm:1.9.0" - dependenciesMeta: - lefthook-darwin-arm64: - optional: true - lefthook-darwin-x64: - optional: true - lefthook-freebsd-arm64: - optional: true - lefthook-freebsd-x64: - optional: true - lefthook-linux-arm64: - optional: true - lefthook-linux-x64: - optional: true - lefthook-openbsd-arm64: - optional: true - lefthook-openbsd-x64: - optional: true - lefthook-windows-arm64: - optional: true - lefthook-windows-x64: - optional: true - bin: - lefthook: bin/index.js - checksum: 10c0/f013cca0257758e023abc68525793c18ab29353c222670e16a907274346483c8ca3d3a9f8d2f7d51dc9154e356da9f069c2423500eb055991930ebdc2c6f26c6 - languageName: node - linkType: hard - "leven@npm:^3.1.0": version: 3.1.0 resolution: "leven@npm:3.1.0" @@ -31755,40 +32401,6 @@ __metadata: languageName: node linkType: hard -"libp2p@npm:2.3.1": - version: 2.3.1 - resolution: "libp2p@npm:2.3.1" - dependencies: - "@libp2p/crypto": "npm:^5.0.7" - "@libp2p/interface": "npm:^2.2.1" - "@libp2p/interface-internal": "npm:^2.1.1" - "@libp2p/logger": "npm:^5.1.4" - "@libp2p/multistream-select": "npm:^6.0.9" - "@libp2p/peer-collections": "npm:^6.0.12" - "@libp2p/peer-id": "npm:^5.0.8" - "@libp2p/peer-store": "npm:^11.0.12" - "@libp2p/utils": "npm:^6.2.1" - "@multiformats/dns": "npm:^1.0.6" - "@multiformats/multiaddr": "npm:^12.2.3" - "@multiformats/multiaddr-matcher": "npm:^1.2.1" - any-signal: "npm:^4.1.1" - datastore-core: "npm:^10.0.0" - interface-datastore: "npm:^8.3.0" - it-byte-stream: "npm:^1.0.12" - it-merge: "npm:^3.0.5" - it-parallel: "npm:^3.0.7" - merge-options: "npm:^3.0.4" - multiformats: "npm:^13.1.0" - p-defer: "npm:^4.0.1" - p-retry: "npm:^6.2.0" - progress-events: "npm:^1.0.0" - race-event: "npm:^1.3.0" - race-signal: "npm:^1.0.2" - uint8arrays: "npm:^5.1.0" - checksum: 10c0/ed54bb14513a179d73b9aa222446cc338ad9565584ec876e9dcd32f5ce3d83e05b0922eb20612ee181d52dfd4dabf0cbc8dc0f08627199979bce1ddd855b1f07 - languageName: node - linkType: hard - "lie@npm:3.1.1": version: 3.1.1 resolution: "lie@npm:3.1.1" @@ -31822,6 +32434,13 @@ __metadata: languageName: node linkType: hard +"lilconfig@npm:~3.1.2": + version: 3.1.2 + resolution: "lilconfig@npm:3.1.2" + checksum: 10c0/f059630b1a9bddaeba83059db00c672b64dc14074e9f232adce32b38ca1b5686ab737eb665c5ba3c32f147f0002b4bee7311ad0386a9b98547b5623e87071fbe + languageName: node + linkType: hard + "lines-and-columns@npm:^1.1.6": version: 1.2.4 resolution: "lines-and-columns@npm:1.2.4" @@ -31838,6 +32457,26 @@ __metadata: languageName: node linkType: hard +"lint-staged@npm:15.2.10": + version: 15.2.10 + resolution: "lint-staged@npm:15.2.10" + dependencies: + chalk: "npm:~5.3.0" + commander: "npm:~12.1.0" + debug: "npm:~4.3.6" + execa: "npm:~8.0.1" + lilconfig: "npm:~3.1.2" + listr2: "npm:~8.2.4" + micromatch: "npm:~4.0.8" + pidtree: "npm:~0.6.0" + string-argv: "npm:~0.3.2" + yaml: "npm:~2.5.0" + bin: + lint-staged: bin/lint-staged.js + checksum: 10c0/6ad7b41f5e87a84fa2eb1990080ea3c68a2f2031b4e81edcdc2a458cc878538eedb310e6f98ffd878a1287e1a52ac968e540ee8a0e96c247e04b0cbc36421cdd + languageName: node + linkType: hard + "listr2@npm:^4.0.5": version: 4.0.5 resolution: "listr2@npm:4.0.5" @@ -31859,6 +32498,20 @@ __metadata: languageName: node linkType: hard +"listr2@npm:~8.2.4": + version: 8.2.5 + resolution: "listr2@npm:8.2.5" + dependencies: + cli-truncate: "npm:^4.0.0" + colorette: "npm:^2.0.20" + eventemitter3: "npm:^5.0.1" + log-update: "npm:^6.1.0" + rfdc: "npm:^1.4.1" + wrap-ansi: "npm:^9.0.0" + checksum: 10c0/f5a9599514b00c27d7eb32d1117c83c61394b2a985ec20e542c798bf91cf42b19340215701522736f5b7b42f557e544afeadec47866e35e5d4f268f552729671 + languageName: node + linkType: hard + "lit-element@npm:^3.3.0": version: 3.3.3 resolution: "lit-element@npm:3.3.3" @@ -31966,6 +32619,16 @@ __metadata: languageName: node linkType: hard +"local-pkg@npm:^0.5.1": + version: 0.5.1 + resolution: "local-pkg@npm:0.5.1" + dependencies: + mlly: "npm:^1.7.3" + pkg-types: "npm:^1.2.1" + checksum: 10c0/ade8346f1dc04875921461adee3c40774b00d4b74095261222ebd4d5fd0a444676e36e325f76760f21af6a60bc82480e154909b54d2d9f7173671e36dacf1808 + languageName: node + linkType: hard + "localforage@npm:^1.8.1": version: 1.10.0 resolution: "localforage@npm:1.10.0" @@ -32266,6 +32929,13 @@ __metadata: languageName: node linkType: hard +"lodash.truncate@npm:^4.4.2": + version: 4.4.2 + resolution: "lodash.truncate@npm:4.4.2" + checksum: 10c0/4e870d54e8a6c86c8687e057cec4069d2e941446ccab7f40b4d9555fa5872d917d0b6aa73bece7765500a3123f1723bcdba9ae881b679ef120bba9e1a0b0ed70 + languageName: node + linkType: hard + "lodash.union@npm:^4.6.0": version: 4.6.0 resolution: "lodash.union@npm:4.6.0" @@ -32325,6 +32995,19 @@ __metadata: languageName: node linkType: hard +"log-update@npm:^6.1.0": + version: 6.1.0 + resolution: "log-update@npm:6.1.0" + dependencies: + ansi-escapes: "npm:^7.0.0" + cli-cursor: "npm:^5.0.0" + slice-ansi: "npm:^7.1.0" + strip-ansi: "npm:^7.1.0" + wrap-ansi: "npm:^9.0.0" + checksum: 10c0/4b350c0a83d7753fea34dcac6cd797d1dc9603291565de009baa4aa91c0447eab0d3815a05c8ec9ac04fdfffb43c82adcdb03ec1fceafd8518e1a8c1cff4ff89 + languageName: node + linkType: hard + "logform@npm:2.7.0, logform@npm:^2.7.0": version: 2.7.0 resolution: "logform@npm:2.7.0" @@ -33458,15 +34141,6 @@ __metadata: languageName: node linkType: hard -"merge-options@npm:^3.0.4": - version: 3.0.4 - resolution: "merge-options@npm:3.0.4" - dependencies: - is-plain-obj: "npm:^2.1.0" - checksum: 10c0/02b5891ceef09b0b497b5a0154c37a71784e68ed71b14748f6fd4258ffd3fe4ecd5cb0fd6f7cae3954fd11e7686c5cb64486daffa63c2793bbe8b614b61c7055 - languageName: node - linkType: hard - "merge-refs@npm:^1.3.0": version: 1.3.0 resolution: "merge-refs@npm:1.3.0" @@ -34278,7 +34952,7 @@ __metadata: languageName: node linkType: hard -"micromatch@npm:^4.0.0, micromatch@npm:^4.0.2, micromatch@npm:^4.0.4, micromatch@npm:^4.0.5, micromatch@npm:^4.0.8": +"micromatch@npm:^4.0.0, micromatch@npm:^4.0.2, micromatch@npm:^4.0.4, micromatch@npm:^4.0.5, micromatch@npm:^4.0.8, micromatch@npm:~4.0.8": version: 4.0.8 resolution: "micromatch@npm:4.0.8" dependencies: @@ -34379,6 +35053,13 @@ __metadata: languageName: node linkType: hard +"mimic-function@npm:^5.0.0": + version: 5.0.1 + resolution: "mimic-function@npm:5.0.1" + checksum: 10c0/f3d9464dd1816ecf6bdf2aec6ba32c0728022039d992f178237d8e289b48764fee4131319e72eedd4f7f094e22ded0af836c3187a7edc4595d28dd74368fd81d + languageName: node + linkType: hard + "mimic-response@npm:^1.0.0": version: 1.0.1 resolution: "mimic-response@npm:1.0.1" @@ -34441,7 +35122,7 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^10.0.0, minimatch@npm:~10.0.1": +"minimatch@npm:^10.0.0, minimatch@npm:^10.0.1, minimatch@npm:~10.0.1": version: 10.0.1 resolution: "minimatch@npm:10.0.1" dependencies: @@ -34665,7 +35346,7 @@ __metadata: languageName: node linkType: hard -"mlly@npm:^1.7.2": +"mlly@npm:^1.7.2, mlly@npm:^1.7.3": version: 1.7.3 resolution: "mlly@npm:1.7.3" dependencies: @@ -34907,17 +35588,6 @@ __metadata: languageName: node linkType: hard -"mortice@npm:^3.0.4": - version: 3.0.6 - resolution: "mortice@npm:3.0.6" - dependencies: - observable-webworkers: "npm:^2.0.1" - p-queue: "npm:^8.0.1" - p-timeout: "npm:^6.0.0" - checksum: 10c0/4fbacc709193e0a365c34b8022e8337575efa60f349eb4d1d4409b11291140101fdfb753b4ae6a061cffa8795ec420e9d02e3328e22db90b119d9a5c97d34231 - languageName: node - linkType: hard - "mqtt-packet@npm:^9.0.1": version: 9.0.1 resolution: "mqtt-packet@npm:9.0.1" @@ -35061,13 +35731,6 @@ __metadata: languageName: node linkType: hard -"multiformats@npm:13.3.1, multiformats@npm:^13.0.0, multiformats@npm:^13.1.0, multiformats@npm:^13.2.2": - version: 13.3.1 - resolution: "multiformats@npm:13.3.1" - checksum: 10c0/12a68569a2b74b0b3ed554af866149300ed587aa46ce65ef6539c522fc8d7deb5d38d38e41e004b50bc1109566e2c04bf848f1909c9e687e86f504c6cf586eac - languageName: node - linkType: hard - "multipasta@npm:^0.2.5": version: 0.2.5 resolution: "multipasta@npm:0.2.5" @@ -35085,13 +35748,6 @@ __metadata: languageName: node linkType: hard -"murmurhash3js-revisited@npm:^3.0.0": - version: 3.0.0 - resolution: "murmurhash3js-revisited@npm:3.0.0" - checksum: 10c0/53e14df6b123f1ff402952eaf51caa5e803316fbaa176b13cc522efa1d5261156319f0d2d87ba9f67dbc9b4e00f72296b975e1b92643faf88b8a8a8725a58e5f - languageName: node - linkType: hard - "mute-stream@npm:0.0.8": version: 0.0.8 resolution: "mute-stream@npm:0.0.8" @@ -35133,12 +35789,12 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:3.3.8, nanoid@npm:^3.0.0, nanoid@npm:^3.3.4, nanoid@npm:^3.3.6, nanoid@npm:^3.3.7": - version: 3.3.8 - resolution: "nanoid@npm:3.3.8" +"nanoid@npm:3.3.7": + version: 3.3.7 + resolution: "nanoid@npm:3.3.7" bin: nanoid: bin/nanoid.cjs - checksum: 10c0/4b1bb29f6cfebf3be3bc4ad1f1296fb0a10a3043a79f34fbffe75d1621b4318319211cd420549459018ea3592f0d2f159247a6f874911d6d26eaaadda2478120 + checksum: 10c0/e3fb661aa083454f40500473bb69eedb85dc160e763150b9a2c567c7e9ff560ce028a9f833123b618a6ea742e311138b591910e795614a629029e86e180660f3 languageName: node linkType: hard @@ -35149,6 +35805,15 @@ __metadata: languageName: node linkType: hard +"nanoid@npm:^3.0.0, nanoid@npm:^3.3.4, nanoid@npm:^3.3.6, nanoid@npm:^3.3.7": + version: 3.3.8 + resolution: "nanoid@npm:3.3.8" + bin: + nanoid: bin/nanoid.cjs + checksum: 10c0/4b1bb29f6cfebf3be3bc4ad1f1296fb0a10a3043a79f34fbffe75d1621b4318319211cd420549459018ea3592f0d2f159247a6f874911d6d26eaaadda2478120 + languageName: node + linkType: hard + "nanotimer@npm:0.3.14": version: 0.3.14 resolution: "nanotimer@npm:0.3.14" @@ -36066,7 +36731,7 @@ __metadata: languageName: node linkType: hard -"object.entries@npm:^1.1.5, object.entries@npm:^1.1.7": +"object.entries@npm:^1.1.5, object.entries@npm:^1.1.7, object.entries@npm:^1.1.8": version: 1.1.8 resolution: "object.entries@npm:1.1.8" dependencies: @@ -36077,7 +36742,7 @@ __metadata: languageName: node linkType: hard -"object.fromentries@npm:^2.0.7": +"object.fromentries@npm:^2.0.7, object.fromentries@npm:^2.0.8": version: 2.0.8 resolution: "object.fromentries@npm:2.0.8" dependencies: @@ -36089,7 +36754,7 @@ __metadata: languageName: node linkType: hard -"object.groupby@npm:^1.0.1": +"object.groupby@npm:^1.0.1, object.groupby@npm:^1.0.3": version: 1.0.3 resolution: "object.groupby@npm:1.0.3" dependencies: @@ -36120,7 +36785,7 @@ __metadata: languageName: node linkType: hard -"object.values@npm:^1.1.6, object.values@npm:^1.1.7": +"object.values@npm:^1.1.6, object.values@npm:^1.1.7, object.values@npm:^1.2.0": version: 1.2.0 resolution: "object.values@npm:1.2.0" dependencies: @@ -36145,13 +36810,6 @@ __metadata: languageName: node linkType: hard -"observable-webworkers@npm:^2.0.1": - version: 2.0.1 - resolution: "observable-webworkers@npm:2.0.1" - checksum: 10c0/fc7607392aa38320f43278a5e17bbcdfe2c7fb8796ddb5b2836184856663a7af2d611fdaf8db7897e4fe2b436e620c6865d40feb4fc715391ae2cb3977fbf235 - languageName: node - linkType: hard - "obuf@npm:^1.0.0, obuf@npm:^1.1.2, obuf@npm:~1.1.2": version: 1.1.2 resolution: "obuf@npm:1.1.2" @@ -36240,6 +36898,15 @@ __metadata: languageName: node linkType: hard +"onetime@npm:^7.0.0": + version: 7.0.0 + resolution: "onetime@npm:7.0.0" + dependencies: + mimic-function: "npm:^5.0.0" + checksum: 10c0/5cb9179d74b63f52a196a2e7037ba2b9a893245a5532d3f44360012005c9cadb60851d56716ebff18a6f47129dab7168022445df47c2aff3b276d92585ed1221 + languageName: node + linkType: hard + "onnx-proto@npm:^4.0.4": version: 4.0.4 resolution: "onnx-proto@npm:4.0.4" @@ -36510,22 +37177,6 @@ __metadata: languageName: node linkType: hard -"p-defer@npm:^4.0.0, p-defer@npm:^4.0.1": - version: 4.0.1 - resolution: "p-defer@npm:4.0.1" - checksum: 10c0/592f5bd32f8c6a57f892b00976e5272b3bbbd792b503f4cf3bc22094d08d7a973413c59c15deccff4759d860b38467a08b5b3363e865da6f00f44a031777118c - languageName: node - linkType: hard - -"p-event@npm:^6.0.1": - version: 6.0.1 - resolution: "p-event@npm:6.0.1" - dependencies: - p-timeout: "npm:^6.1.2" - checksum: 10c0/c2da4d3f445376db2130d740b41309f97e8802d17277590684ca51cdcafcc77a024ccdd6b1a24c275c49c3c4ef57bbfc499e6d2b3b18813c774aaceb81cde7b4 - languageName: node - linkType: hard - "p-filter@npm:^2.1.0": version: 2.1.0 resolution: "p-filter@npm:2.1.0" @@ -36628,16 +37279,6 @@ __metadata: languageName: node linkType: hard -"p-queue@npm:^8.0.1": - version: 8.0.1 - resolution: "p-queue@npm:8.0.1" - dependencies: - eventemitter3: "npm:^5.0.1" - p-timeout: "npm:^6.1.2" - checksum: 10c0/fe185bc8bbd32d17a5f6dba090077b1bb326b008b4ec9b0646c57a32a6984035aa8ece909a6d0de7f6c4640296dc288197f430e7394cdc76a26d862339494616 - languageName: node - linkType: hard - "p-retry@npm:^4.5.0": version: 4.6.2 resolution: "p-retry@npm:4.6.2" @@ -36648,17 +37289,6 @@ __metadata: languageName: node linkType: hard -"p-retry@npm:^6.2.0": - version: 6.2.1 - resolution: "p-retry@npm:6.2.1" - dependencies: - "@types/retry": "npm:0.12.2" - is-network-error: "npm:^1.0.0" - retry: "npm:^0.13.1" - checksum: 10c0/10d014900107da2c7071ad60fffe4951675f09930b7a91681643ea224ae05649c05001d9e78436d902fe8b116d520dd1f60e72e091de097e2640979d56f3fb60 - languageName: node - linkType: hard - "p-timeout@npm:^3.0.0": version: 3.2.0 resolution: "p-timeout@npm:3.2.0" @@ -36668,13 +37298,6 @@ __metadata: languageName: node linkType: hard -"p-timeout@npm:^6.0.0, p-timeout@npm:^6.1.2": - version: 6.1.3 - resolution: "p-timeout@npm:6.1.3" - checksum: 10c0/6dcd1efc1a18afac08dd4f8e09797bbe635110e597d27026b478f884b867616871499427643a6b2e11f0404b2936d17db69da2b5e58d5fe99e1fac80a53f0250 - languageName: node - linkType: hard - "p-try@npm:^2.0.0": version: 2.2.0 resolution: "p-try@npm:2.2.0" @@ -36842,6 +37465,16 @@ __metadata: languageName: node linkType: hard +"parse-imports@npm:^2.1.1": + version: 2.2.1 + resolution: "parse-imports@npm:2.2.1" + dependencies: + es-module-lexer: "npm:^1.5.3" + slashes: "npm:^3.0.12" + checksum: 10c0/bc541ce4ef2ff77d53247de39a956e0ee7a1a4b9b175c3e0f898222fe7994595f011491154db4ed408cbaf5049ede9d0b6624125565be208e973a54420cbe069 + languageName: node + linkType: hard + "parse-json@npm:^5.0.0, parse-json@npm:^5.2.0": version: 5.2.0 resolution: "parse-json@npm:5.2.0" @@ -36854,6 +37487,17 @@ __metadata: languageName: node linkType: hard +"parse-json@npm:^8.0.0": + version: 8.1.0 + resolution: "parse-json@npm:8.1.0" + dependencies: + "@babel/code-frame": "npm:^7.22.13" + index-to-position: "npm:^0.1.2" + type-fest: "npm:^4.7.1" + checksum: 10c0/39a49acafc1c41a763df2599a826eb77873a44b098a5f2ba548843229b334a16ff9d613d0381328e58031b0afaabc18ed2a01337a6522911ac7a81828df58bcb + languageName: node + linkType: hard + "parse-srcset@npm:^1.0.2": version: 1.0.2 resolution: "parse-srcset@npm:1.0.2" @@ -37030,7 +37674,7 @@ __metadata: languageName: node linkType: hard -"path-parse@npm:^1.0.7": +"path-parse@npm:^1.0.6, path-parse@npm:^1.0.7": version: 1.0.7 resolution: "path-parse@npm:1.0.7" checksum: 10c0/11ce261f9d294cc7a58d6a574b7f1b935842355ec66fba3c3fd79e0f036462eaf07d0aa95bb74ff432f9afef97ce1926c720988c6a7451d8a584930ae7de86e1 @@ -37073,10 +37717,10 @@ __metadata: languageName: node linkType: hard -"path-to-regexp@npm:0.1.12": - version: 0.1.12 - resolution: "path-to-regexp@npm:0.1.12" - checksum: 10c0/1c6ff10ca169b773f3bba943bbc6a07182e332464704572962d277b900aeee81ac6aa5d060ff9e01149636c30b1f63af6e69dd7786ba6e0ddb39d4dee1f0645b +"path-to-regexp@npm:0.1.10": + version: 0.1.10 + resolution: "path-to-regexp@npm:0.1.10" + checksum: 10c0/34196775b9113ca6df88e94c8d83ba82c0e1a2063dd33bfe2803a980da8d49b91db8104f49d5191b44ea780d46b8670ce2b7f4a5e349b0c48c6779b653f1afe4 languageName: node linkType: hard @@ -37375,7 +38019,7 @@ __metadata: languageName: node linkType: hard -"pidtree@npm:^0.6.0": +"pidtree@npm:^0.6.0, pidtree@npm:~0.6.0": version: 0.6.0 resolution: "pidtree@npm:0.6.0" bin: @@ -37706,7 +38350,7 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.3.11, postcss@npm:^8.4.23, postcss@npm:^8.4.33, postcss@npm:^8.4.43, postcss@npm:^8.4.48": +"postcss@npm:^8.3.11, postcss@npm:^8.4.14, postcss@npm:^8.4.23, postcss@npm:^8.4.33, postcss@npm:^8.4.48, postcss@npm:^8.4.49": version: 8.4.49 resolution: "postcss@npm:8.4.49" dependencies: @@ -37793,6 +38437,13 @@ __metadata: languageName: node linkType: hard +"postinstall-postinstall@npm:2.1.0": + version: 2.1.0 + resolution: "postinstall-postinstall@npm:2.1.0" + checksum: 10c0/70488447292c712afa7806126824d6fe93362392cbe261ae60166d9119a350713e0dbf4deb2ca91637c1037bc030ed1de78d61d9041bf2504513070f1caacdfd + languageName: node + linkType: hard + "prebuild-install@npm:^7.1.1": version: 7.1.2 resolution: "prebuild-install@npm:7.1.2" @@ -37897,12 +38548,12 @@ __metadata: languageName: node linkType: hard -"prettier@npm:*, prettier@npm:3.4.2": - version: 3.4.2 - resolution: "prettier@npm:3.4.2" +"prettier@npm:3.4.1": + version: 3.4.1 + resolution: "prettier@npm:3.4.1" bin: prettier: bin/prettier.cjs - checksum: 10c0/99e076a26ed0aba4ebc043880d0f08bbb8c59a4c6641cdee6cdadf2205bdd87aa1d7823f50c3aea41e015e99878d37c58d7b5f0e663bba0ef047f94e36b96446 + checksum: 10c0/2d6cc3101ad9de72b49c59339480b0983e6ff6742143da0c43f476bf3b5ef88ede42ebd9956d7a0a8fa59f7a5990e8ef03c9ad4c37f7e4c9e5db43ee0853156c languageName: node linkType: hard @@ -38005,13 +38656,6 @@ __metadata: languageName: node linkType: hard -"progress-events@npm:^1.0.0": - version: 1.0.1 - resolution: "progress-events@npm:1.0.1" - checksum: 10c0/27d998de678ca91ea8fdfba4c39c1e393144e658663fcdab344aacc4a3c7d420d2007eaba9e981c1b0894d4b1df05facfc90f5844e1c6518dcf95330fd09473d - languageName: node - linkType: hard - "progress@npm:^2.0.1, progress@npm:^2.0.3": version: 2.0.3 resolution: "progress@npm:2.0.3" @@ -38320,17 +38964,6 @@ __metadata: languageName: node linkType: hard -"protons-runtime@npm:^5.4.0, protons-runtime@npm:^5.5.0": - version: 5.5.0 - resolution: "protons-runtime@npm:5.5.0" - dependencies: - uint8-varint: "npm:^2.0.2" - uint8arraylist: "npm:^2.4.3" - uint8arrays: "npm:^5.0.1" - checksum: 10c0/577588eb47c20136d1d41a1aa2c6ae8bef7d2504cf81e1e2ed15afb3cee97ea0a8743106c83cedd72fa7f4ffeb270d9c9e16479c1ad5ad79879a0b11218baf4d - languageName: node - linkType: hard - "proxy-addr@npm:~2.0.7": version: 2.0.7 resolution: "proxy-addr@npm:2.0.7" @@ -38598,22 +39231,6 @@ __metadata: languageName: node linkType: hard -"pvtsutils@npm:^1.3.2": - version: 1.3.6 - resolution: "pvtsutils@npm:1.3.6" - dependencies: - tslib: "npm:^2.8.1" - checksum: 10c0/b1b42646370505ccae536dcffa662303b2c553995211330c8e39dec9ab8c197585d7751c2c5b9ab2f186feda0219d9bb23c34ee1e565573be96450f79d89a13c - languageName: node - linkType: hard - -"pvutils@npm:^1.1.3": - version: 1.1.3 - resolution: "pvutils@npm:1.1.3" - checksum: 10c0/23489e6b3c76b6afb6964a20f891d6bef092939f401c78bba186b2bfcdc7a13904a0af0a78f7933346510f8c1228d5ab02d3c80e968fd84d3c76ff98d8ec9aac - languageName: node - linkType: hard - "q@npm:^1.5.0": version: 1.5.1 resolution: "q@npm:1.5.1" @@ -38754,17 +39371,12 @@ __metadata: languageName: node linkType: hard -"race-event@npm:^1.3.0": +"r-json@npm:^1.2.10": version: 1.3.0 - resolution: "race-event@npm:1.3.0" - checksum: 10c0/ec7cb815ac5b4714eea59c2831e951f1d43e1c7ec34f9aadf1a4a941f460bb7721f23aa82e61fc96efb3049bbcfc11df9b4db82408f80a1be46c3564205aacab - languageName: node - linkType: hard - -"race-signal@npm:^1.0.2": - version: 1.1.0 - resolution: "race-signal@npm:1.1.0" - checksum: 10c0/b640d5ee8769044b5a5155fad993b03a19b68f26c627d1af77c21caf71f12563187f8e8ac36523ee88627d8efeefede011657c40f4bc4ac7f563a7339187ee4c + resolution: "r-json@npm:1.3.0" + dependencies: + w-json: "npm:1.3.10" + checksum: 10c0/de54df28ee2642767c821818257da87d68d72f443cdb1db2256afc1dba9701acdebb0afbea9017680daff483464dfe02ba9692a9b1dfea29a14ba3ce0a9e9fcb languageName: node linkType: hard @@ -39106,12 +39718,12 @@ __metadata: languageName: node linkType: hard -"react-hook-form@npm:7.54.0": - version: 7.54.0 - resolution: "react-hook-form@npm:7.54.0" +"react-hook-form@npm:7.53.2": + version: 7.53.2 + resolution: "react-hook-form@npm:7.53.2" peerDependencies: react: ^16.8.0 || ^17 || ^18 || ^19 - checksum: 10c0/8dbc68e8b82aafda1271bbc291052b5efb091505865cd10e3d7dd618ca3870bd05596d7ba68f128427d47ff11e0d9f03089fd7afb88d2a8865ff81f21af417a0 + checksum: 10c0/18336d8e8798a70dcd0af703a0becca2d5dbf82a7b7a3ca334ae0e1f26410490bc3ef2ea51adcf790bb1e7006ed7a763fd00d664e398f71225b23529a7ccf0bf languageName: node linkType: hard @@ -39501,16 +40113,16 @@ __metadata: languageName: node linkType: hard -"react-textarea-autosize@npm:8.5.6, react-textarea-autosize@npm:^8.3.2": - version: 8.5.6 - resolution: "react-textarea-autosize@npm:8.5.6" +"react-textarea-autosize@npm:8.5.5, react-textarea-autosize@npm:^8.3.2": + version: 8.5.5 + resolution: "react-textarea-autosize@npm:8.5.5" dependencies: "@babel/runtime": "npm:^7.20.13" use-composed-ref: "npm:^1.3.0" use-latest: "npm:^1.2.1" peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 - checksum: 10c0/652d290d316c55a253507ecf65ca27f2162801dace10c715f2241203e81d82e9de6d282095b758b26c6bc9e1af9ca552cab5c3a361b230e5fcf25bec31e1bd25 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + checksum: 10c0/d708a31b39a409d0246cd8afbd956ce51db58ce0b6411b9d4e1dc876ce93c329d20875933ce5d337662fdcd3699596966dc630149236fee2835d74e302404c98 languageName: node linkType: hard @@ -39540,13 +40152,13 @@ __metadata: languageName: node linkType: hard -"react-virtuoso@npm:4.12.3": - version: 4.12.3 - resolution: "react-virtuoso@npm:4.12.3" +"react-virtuoso@npm:4.12.2": + version: 4.12.2 + resolution: "react-virtuoso@npm:4.12.2" peerDependencies: react: ">=16 || >=17 || >= 18" react-dom: ">=16 || >=17 || >= 18" - checksum: 10c0/609f06098fce65c6b6f687d84f108d8e4e7b75cfe329f3554c37252c28ff54081c4a2bd970da0dc16d2e417d70ccbd8b393e17b94b954ea360c0fb87c9712e32 + checksum: 10c0/786c6bb95e02e7cb589839916ba2b5c191b49aeab8d1f2a947155a6a1ec0a68dcfb80b942663ad16becb3bcd316c374205a8d1993c1bf55170eb67e3e8761a56 languageName: node linkType: hard @@ -39621,6 +40233,17 @@ __metadata: languageName: node linkType: hard +"read-package-up@npm:^11.0.0": + version: 11.0.0 + resolution: "read-package-up@npm:11.0.0" + dependencies: + find-up-simple: "npm:^1.0.0" + read-pkg: "npm:^9.0.0" + type-fest: "npm:^4.6.0" + checksum: 10c0/ffee09613c2b3c3ff7e7b5e838aa01f33cba5c6dfa14f87bf6f64ed27e32678e5550e712fd7e3f3105a05c43aa774d084af04ee86d3044978edb69f30ee4505a + languageName: node + linkType: hard + "read-pkg-up@npm:^7.0.1": version: 7.0.1 resolution: "read-pkg-up@npm:7.0.1" @@ -39644,6 +40267,19 @@ __metadata: languageName: node linkType: hard +"read-pkg@npm:^9.0.0": + version: 9.0.1 + resolution: "read-pkg@npm:9.0.1" + dependencies: + "@types/normalize-package-data": "npm:^2.4.3" + normalize-package-data: "npm:^6.0.0" + parse-json: "npm:^8.0.0" + type-fest: "npm:^4.6.0" + unicorn-magic: "npm:^0.1.0" + checksum: 10c0/f3e27549dcdb18335597f4125a3d093a40ab0a18c16a6929a1575360ed5d8679b709b4a672730d9abf6aa8537a7f02bae0b4b38626f99409255acbd8f72f9964 + languageName: node + linkType: hard + "read-yaml-file@npm:^1.1.0": version: 1.1.0 resolution: "read-yaml-file@npm:1.1.0" @@ -39879,6 +40515,15 @@ __metadata: languageName: node linkType: hard +"refa@npm:^0.12.0, refa@npm:^0.12.1": + version: 0.12.1 + resolution: "refa@npm:0.12.1" + dependencies: + "@eslint-community/regexpp": "npm:^4.8.0" + checksum: 10c0/5c2f3dc5421f73aba44ec3d67bad58f36ff921dc13b0a921e1784c0510cf26be6d4e14010955a71607e67ff23a815f3ac30b337d06b5a2e8914417b67626c900 + languageName: node + linkType: hard + "reflect-metadata@npm:0.1.13": version: 0.1.13 resolution: "reflect-metadata@npm:0.1.13" @@ -39972,6 +40617,16 @@ __metadata: languageName: node linkType: hard +"regexp-ast-analysis@npm:^0.7.0, regexp-ast-analysis@npm:^0.7.1": + version: 0.7.1 + resolution: "regexp-ast-analysis@npm:0.7.1" + dependencies: + "@eslint-community/regexpp": "npm:^4.8.0" + refa: "npm:^0.12.1" + checksum: 10c0/1b0e6d66e1e619b42a0e7f62b4c9983d0ce69d94fc759802c02272cbab8abd2e0d5b94186472de4e7c4baaf5826ca674d3c7c083615e39c4be55d1ff9d12c823 + languageName: node + linkType: hard + "regexp-tree@npm:^0.1.27": version: 0.1.27 resolution: "regexp-tree@npm:0.1.27" @@ -40428,6 +41083,16 @@ __metadata: languageName: node linkType: hard +"resolve@npm:~1.19.0": + version: 1.19.0 + resolution: "resolve@npm:1.19.0" + dependencies: + is-core-module: "npm:^2.1.0" + path-parse: "npm:^1.0.6" + checksum: 10c0/1c8afdfb88c9adab0a19b6f16756d47f5917f64047bf5a38c17aa543aae5ccca2a0631671b19ce8460a7a3e65ead98ee70e046d3056ec173d3377a27487848a8 + languageName: node + linkType: hard + "resolve@patch:resolve@npm%3A1.22.8#optional!builtin, resolve@patch:resolve@npm%3A^1.10.0#optional!builtin, resolve@patch:resolve@npm%3A^1.14.2#optional!builtin, resolve@patch:resolve@npm%3A^1.19.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.1#optional!builtin, resolve@patch:resolve@npm%3A^1.22.3#optional!builtin, resolve@patch:resolve@npm%3A^1.22.4#optional!builtin, resolve@patch:resolve@npm%3A^1.22.8#optional!builtin, resolve@patch:resolve@npm%3A^1.9.0#optional!builtin": version: 1.22.8 resolution: "resolve@patch:resolve@npm%3A1.22.8#optional!builtin::version=1.22.8&hash=c3c19d" @@ -40454,6 +41119,16 @@ __metadata: languageName: node linkType: hard +"resolve@patch:resolve@npm%3A~1.19.0#optional!builtin": + version: 1.19.0 + resolution: "resolve@patch:resolve@npm%3A1.19.0#optional!builtin::version=1.19.0&hash=c3c19d" + dependencies: + is-core-module: "npm:^2.1.0" + path-parse: "npm:^1.0.6" + checksum: 10c0/254980f60dd9fdb28b34a511e70df6e3027d9627efce86a40757eea9b87252d172829c84517554560c4541ebfe207868270c19a0f086997b41209367aa8ef74f + languageName: node + linkType: hard + "response-iterator@npm:^0.2.6": version: 0.2.6 resolution: "response-iterator@npm:0.2.6" @@ -40490,6 +41165,16 @@ __metadata: languageName: node linkType: hard +"restore-cursor@npm:^5.0.0": + version: 5.1.0 + resolution: "restore-cursor@npm:5.1.0" + dependencies: + onetime: "npm:^7.0.0" + signal-exit: "npm:^4.1.0" + checksum: 10c0/c2ba89131eea791d1b25205bdfdc86699767e2b88dee2a590b1a6caa51737deac8bad0260a5ded2f7c074b7db2f3a626bcf1fcf3cdf35974cbeea5e2e6764f60 + languageName: node + linkType: hard + "ret@npm:~0.1.10": version: 0.1.15 resolution: "ret@npm:0.1.15" @@ -40529,7 +41214,7 @@ __metadata: languageName: node linkType: hard -"rfdc@npm:^1.3.0, rfdc@npm:^1.3.1": +"rfdc@npm:^1.3.0, rfdc@npm:^1.3.1, rfdc@npm:^1.4.1": version: 1.4.1 resolution: "rfdc@npm:1.4.1" checksum: 10c0/4614e4292356cafade0b6031527eea9bc90f2372a22c012313be1dcc69a3b90c7338158b414539be863fa95bfcb2ddcd0587be696841af4e6679d85e62c060c7 @@ -40624,29 +41309,28 @@ __metadata: languageName: node linkType: hard -"rollup@npm:4.28.1, rollup@npm:^4.20.0": - version: 4.28.1 - resolution: "rollup@npm:4.28.1" - dependencies: - "@rollup/rollup-android-arm-eabi": "npm:4.28.1" - "@rollup/rollup-android-arm64": "npm:4.28.1" - "@rollup/rollup-darwin-arm64": "npm:4.28.1" - "@rollup/rollup-darwin-x64": "npm:4.28.1" - "@rollup/rollup-freebsd-arm64": "npm:4.28.1" - "@rollup/rollup-freebsd-x64": "npm:4.28.1" - "@rollup/rollup-linux-arm-gnueabihf": "npm:4.28.1" - "@rollup/rollup-linux-arm-musleabihf": "npm:4.28.1" - "@rollup/rollup-linux-arm64-gnu": "npm:4.28.1" - "@rollup/rollup-linux-arm64-musl": "npm:4.28.1" - "@rollup/rollup-linux-loongarch64-gnu": "npm:4.28.1" - "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.28.1" - "@rollup/rollup-linux-riscv64-gnu": "npm:4.28.1" - "@rollup/rollup-linux-s390x-gnu": "npm:4.28.1" - "@rollup/rollup-linux-x64-gnu": "npm:4.28.1" - "@rollup/rollup-linux-x64-musl": "npm:4.28.1" - "@rollup/rollup-win32-arm64-msvc": "npm:4.28.1" - "@rollup/rollup-win32-ia32-msvc": "npm:4.28.1" - "@rollup/rollup-win32-x64-msvc": "npm:4.28.1" +"rollup@npm:4.27.4, rollup@npm:^4.23.0": + version: 4.27.4 + resolution: "rollup@npm:4.27.4" + dependencies: + "@rollup/rollup-android-arm-eabi": "npm:4.27.4" + "@rollup/rollup-android-arm64": "npm:4.27.4" + "@rollup/rollup-darwin-arm64": "npm:4.27.4" + "@rollup/rollup-darwin-x64": "npm:4.27.4" + "@rollup/rollup-freebsd-arm64": "npm:4.27.4" + "@rollup/rollup-freebsd-x64": "npm:4.27.4" + "@rollup/rollup-linux-arm-gnueabihf": "npm:4.27.4" + "@rollup/rollup-linux-arm-musleabihf": "npm:4.27.4" + "@rollup/rollup-linux-arm64-gnu": "npm:4.27.4" + "@rollup/rollup-linux-arm64-musl": "npm:4.27.4" + "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.27.4" + "@rollup/rollup-linux-riscv64-gnu": "npm:4.27.4" + "@rollup/rollup-linux-s390x-gnu": "npm:4.27.4" + "@rollup/rollup-linux-x64-gnu": "npm:4.27.4" + "@rollup/rollup-linux-x64-musl": "npm:4.27.4" + "@rollup/rollup-win32-arm64-msvc": "npm:4.27.4" + "@rollup/rollup-win32-ia32-msvc": "npm:4.27.4" + "@rollup/rollup-win32-x64-msvc": "npm:4.27.4" "@types/estree": "npm:1.0.6" fsevents: "npm:~2.3.2" dependenciesMeta: @@ -40670,8 +41354,6 @@ __metadata: optional: true "@rollup/rollup-linux-arm64-musl": optional: true - "@rollup/rollup-linux-loongarch64-gnu": - optional: true "@rollup/rollup-linux-powerpc64le-gnu": optional: true "@rollup/rollup-linux-riscv64-gnu": @@ -40692,7 +41374,7 @@ __metadata: optional: true bin: rollup: dist/bin/rollup - checksum: 10c0/2d2d0433b7cb53153a04c7b406f342f31517608dc57510e49177941b9e68c30071674b83a0292ef1d87184e5f7c6d0f2945c8b3c74963074de10c75366fe2c14 + checksum: 10c0/1442650cfea5e4617ce14743784f6f578817e31db56f9c8aaf96a82daa9bc20b6ccd66c0d677dbf302a4da3e70664dc3bef11a1aec85e6aff3cecccb945b1d35 languageName: node linkType: hard @@ -40914,9 +41596,9 @@ __metadata: languageName: node linkType: hard -"sass@npm:1.82.0, sass@npm:^1.52.3": - version: 1.82.0 - resolution: "sass@npm:1.82.0" +"sass@npm:1.81.0, sass@npm:^1.52.3": + version: 1.81.0 + resolution: "sass@npm:1.81.0" dependencies: "@parcel/watcher": "npm:^2.4.1" chokidar: "npm:^4.0.0" @@ -40927,7 +41609,7 @@ __metadata: optional: true bin: sass: sass.js - checksum: 10c0/7f86fe6ade4f6018862c448ed69d5c52f485b0125c9dab24e63f679739a04cc7c56562d588e3cf16b5efb4d2c4d0530e62740e1cfd273e2e3707d04d11011736 + checksum: 10c0/9c59b3c9b4231c18fcb4583cc232dbc4de501ddc11101b7a025e44833e3f3ce6031546dc1cd109ee9f04ebcfb1fe30ff870810af33b8feb9aa9e36dfba9ec1ef languageName: node linkType: hard @@ -41006,6 +41688,17 @@ __metadata: languageName: node linkType: hard +"scslre@npm:^0.3.0": + version: 0.3.0 + resolution: "scslre@npm:0.3.0" + dependencies: + "@eslint-community/regexpp": "npm:^4.8.0" + refa: "npm:^0.12.0" + regexp-ast-analysis: "npm:^0.7.0" + checksum: 10c0/47eb72cf913693b453b7622dfee26871b4c408169874b31b8a1f3de8f41698e6dbacd7565fccc8d24cd2fd30f53c21f16995a7f9072e8b25cd938a6c3a750c3c + languageName: node + linkType: hard + "scuid@npm:^1.1.0": version: 1.1.0 resolution: "scuid@npm:1.1.0" @@ -41013,6 +41706,13 @@ __metadata: languageName: node linkType: hard +"scule@npm:^1.3.0": + version: 1.3.0 + resolution: "scule@npm:1.3.0" + checksum: 10c0/5d1736daa10622c420f2aa74e60d3c722e756bfb139fa784ae5c66669fdfe92932d30ed5072e4ce3107f9c3053e35ad73b2461cb18de45b867e1d4dea63f8823 + languageName: node + linkType: hard + "section-matter@npm:^1.0.0": version: 1.0.0 resolution: "section-matter@npm:1.0.0" @@ -41109,7 +41809,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:^7.1.1, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.5.2, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:^7.6.0, semver@npm:^7.6.3": +"semver@npm:^7.1.1, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.2, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:^7.6.0, semver@npm:^7.6.1, semver@npm:^7.6.3": version: 7.6.3 resolution: "semver@npm:7.6.3" bin: @@ -41268,6 +41968,16 @@ __metadata: languageName: node linkType: hard +"set-value@npm:^4.1.0": + version: 4.1.0 + resolution: "set-value@npm:4.1.0" + dependencies: + is-plain-object: "npm:^2.0.4" + is-primitive: "npm:^3.0.1" + checksum: 10c0/dc186676b6cc0cfcf1656b8acdfe7a68591f0645dd2872250100817fb53e5e9298dc1727a95605ac03f82110e9b3820c90a0a02d84e0fb89f210922b08b37e02 + languageName: node + linkType: hard + "setimmediate@npm:1.0.5, setimmediate@npm:^1.0.5": version: 1.0.5 resolution: "setimmediate@npm:1.0.5" @@ -41470,6 +42180,16 @@ __metadata: languageName: node linkType: hard +"short-unique-id@npm:^5.2.0": + version: 5.2.0 + resolution: "short-unique-id@npm:5.2.0" + bin: + short-unique-id: bin/short-unique-id + suid: bin/short-unique-id + checksum: 10c0/fb5f2d11bf38c3a2de629caaa55de858b4e1c0b02399b9c42afa1ef05e5203ae6e3ab5b11449b56c68d04d74f76515a778780afd7d16742b340d77d2967498f1 + languageName: node + linkType: hard + "should-equal@npm:^2.0.0": version: 2.0.0 resolution: "should-equal@npm:2.0.0" @@ -41545,13 +42265,13 @@ __metadata: languageName: node linkType: hard -"sigma@npm:3.0.0-beta.39": - version: 3.0.0-beta.39 - resolution: "sigma@npm:3.0.0-beta.39" +"sigma@npm:3.0.0-beta.38": + version: 3.0.0-beta.38 + resolution: "sigma@npm:3.0.0-beta.38" dependencies: events: "npm:^3.3.0" graphology-utils: "npm:^2.5.2" - checksum: 10c0/42194a49990c929caa873f6026546351dbf079092e5feaca5b77150c415cfdb50b7a9ce61248b0087881ad267e896389d67227e79651cce842edb00f1a25fce5 + checksum: 10c0/431467fb25539a12523edd1202d3bec83f3150a25788a0947004cff8a8ff1e536cbfa547d2c180a65a5c64d6070732eb435b641030795ff540c6b0218322722d languageName: node linkType: hard @@ -41716,6 +42436,13 @@ __metadata: languageName: node linkType: hard +"slashes@npm:^3.0.12": + version: 3.0.12 + resolution: "slashes@npm:3.0.12" + checksum: 10c0/71ca2a1fcd1ab6814b0fdb8cf9c33a3d54321deec2aa8d173510f0086880201446021a9b9e6a18561f7c472b69a2145977c6a8fb9c53a8ff7be31778f203d175 + languageName: node + linkType: hard + "slate-react@npm:^0.83.1": version: 0.83.2 resolution: "slate-react@npm:0.83.2" @@ -41789,6 +42516,16 @@ __metadata: languageName: node linkType: hard +"slice-ansi@npm:^7.1.0": + version: 7.1.0 + resolution: "slice-ansi@npm:7.1.0" + dependencies: + ansi-styles: "npm:^6.2.1" + is-fullwidth-code-point: "npm:^5.0.0" + checksum: 10c0/631c971d4abf56cf880f034d43fcc44ff883624867bf11ecbd538c47343911d734a4656d7bc02362b40b89d765652a7f935595441e519b59e2ad3f4d5d6fe7ca + languageName: node + linkType: hard + "slonik@npm:24.2.0": version: 24.2.0 resolution: "slonik@npm:24.2.0" @@ -42112,6 +42849,16 @@ __metadata: languageName: node linkType: hard +"spdx-expression-parse@npm:^4.0.0": + version: 4.0.0 + resolution: "spdx-expression-parse@npm:4.0.0" + dependencies: + spdx-exceptions: "npm:^2.1.0" + spdx-license-ids: "npm:^3.0.0" + checksum: 10c0/965c487e77f4fb173f1c471f3eef4eb44b9f0321adc7f93d95e7620da31faa67d29356eb02523cd7df8a7fc1ec8238773cdbf9e45bd050329d2b26492771b736 + languageName: node + linkType: hard + "spdx-license-ids@npm:^3.0.0": version: 3.0.20 resolution: "spdx-license-ids@npm:3.0.20" @@ -42368,15 +43115,6 @@ __metadata: languageName: node linkType: hard -"stream-to-it@npm:^1.0.1": - version: 1.0.1 - resolution: "stream-to-it@npm:1.0.1" - dependencies: - it-stream-types: "npm:^2.0.1" - checksum: 10c0/e90abc2e05ef6832cc52fbf48ec230a00883f53a00f9aa4968a7367d0f9cea97cc8e848b204dcaef8a04a2efe540cdd4c256ed0e6650321de4e449a7d554224f - languageName: node - linkType: hard - "stream-transform@npm:^2.1.3": version: 2.1.3 resolution: "stream-transform@npm:2.1.3" @@ -42408,6 +43146,13 @@ __metadata: languageName: node linkType: hard +"string-argv@npm:~0.3.2": + version: 0.3.2 + resolution: "string-argv@npm:0.3.2" + checksum: 10c0/75c02a83759ad1722e040b86823909d9a2fc75d15dd71ec4b537c3560746e33b5f5a07f7332d1e3f88319909f82190843aa2f0a0d8c8d591ec08e93d5b8dec82 + languageName: node + linkType: hard + "string-collapse-leading-whitespace@npm:^7.0.7": version: 7.0.7 resolution: "string-collapse-leading-whitespace@npm:7.0.7" @@ -42473,6 +43218,13 @@ __metadata: languageName: node linkType: hard +"string-ts@npm:^2.2.0": + version: 2.2.0 + resolution: "string-ts@npm:2.2.0" + checksum: 10c0/5a854fefa3ec44b35fc75d4a03bfe50391eb64e40c350ed68a7ec067e235ea5bc81c1e75a45767b3659575e3f517f3fe5ccb77ca8d45b541f62f7b7cbc2046c0 + languageName: node + linkType: hard + "string-width-cjs@npm:string-width@^4.2.0, string-width@npm:^1.0.2 || 2 || 3 || 4, string-width@npm:^4.0.0, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.3": version: 4.2.3 resolution: "string-width@npm:4.2.3" @@ -42516,7 +43268,29 @@ __metadata: languageName: node linkType: hard -"string.prototype.matchall@npm:^4.0.10": +"string-width@npm:^7.0.0": + version: 7.2.0 + resolution: "string-width@npm:7.2.0" + dependencies: + emoji-regex: "npm:^10.3.0" + get-east-asian-width: "npm:^1.0.0" + strip-ansi: "npm:^7.1.0" + checksum: 10c0/eb0430dd43f3199c7a46dcbf7a0b34539c76fe3aa62763d0b0655acdcbdf360b3f66f3d58ca25ba0205f42ea3491fa00f09426d3b7d3040e506878fc7664c9b9 + languageName: node + linkType: hard + +"string.prototype.includes@npm:^2.0.1": + version: 2.0.1 + resolution: "string.prototype.includes@npm:2.0.1" + dependencies: + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.23.3" + checksum: 10c0/25ce9c9b49128352a2618fbe8758b46f945817a58a4420f4799419e40a8d28f116e176c7590d767d5327a61e75c8f32c86171063f48e389b9fdd325f1bd04ee5 + languageName: node + linkType: hard + +"string.prototype.matchall@npm:^4.0.10, string.prototype.matchall@npm:^4.0.11": version: 4.0.11 resolution: "string.prototype.matchall@npm:4.0.11" dependencies: @@ -42536,6 +43310,16 @@ __metadata: languageName: node linkType: hard +"string.prototype.repeat@npm:^1.0.0": + version: 1.0.0 + resolution: "string.prototype.repeat@npm:1.0.0" + dependencies: + define-properties: "npm:^1.1.3" + es-abstract: "npm:^1.17.5" + checksum: 10c0/94c7978566cffa1327d470fd924366438af9b04b497c43a9805e476e2e908aa37a1fd34cc0911156c17556dab62159d12c7b92b3cc304c3e1281fe4c8e668f40 + languageName: node + linkType: hard + "string.prototype.trim@npm:^1.2.9": version: 1.2.9 resolution: "string.prototype.trim@npm:1.2.9" @@ -42952,13 +43736,6 @@ __metadata: languageName: node linkType: hard -"supports-color@npm:^9.4.0": - version: 9.4.0 - resolution: "supports-color@npm:9.4.0" - checksum: 10c0/6c24e6b2b64c6a60e5248490cfa50de5924da32cf09ae357ad8ebbf305cc5d2717ba705a9d4cb397d80bbf39417e8fdc8d7a0ce18bd0041bf7b5b456229164e4 - languageName: node - linkType: hard - "supports-hyperlinks@npm:^2.2.0": version: 2.3.0 resolution: "supports-hyperlinks@npm:2.3.0" @@ -43090,7 +43867,7 @@ __metadata: languageName: node linkType: hard -"synckit@npm:0.9.2": +"synckit@npm:0.9.2, synckit@npm:^0.9.0, synckit@npm:^0.9.1": version: 0.9.2 resolution: "synckit@npm:0.9.2" dependencies: @@ -43120,6 +43897,19 @@ __metadata: languageName: node linkType: hard +"table@npm:^6.7.1": + version: 6.8.2 + resolution: "table@npm:6.8.2" + dependencies: + ajv: "npm:^8.0.1" + lodash.truncate: "npm:^4.4.2" + slice-ansi: "npm:^4.0.0" + string-width: "npm:^4.2.3" + strip-ansi: "npm:^6.0.1" + checksum: 10c0/f8b348af38ee34e419d8ce7306ba00671ce6f20e861ccff22555f491ba264e8416086063ce278a8d81abfa8d23b736ec2cca7ac4029b5472f63daa4b4688b803 + languageName: node + linkType: hard + "tap-parser@npm:16.0.1": version: 16.0.1 resolution: "tap-parser@npm:16.0.1" @@ -43892,6 +44682,26 @@ __metadata: languageName: node linkType: hard +"ts-api-utils@npm:^1.3.0": + version: 1.4.3 + resolution: "ts-api-utils@npm:1.4.3" + peerDependencies: + typescript: ">=4.2.0" + checksum: 10c0/e65dc6e7e8141140c23e1dc94984bf995d4f6801919c71d6dc27cf0cd51b100a91ffcfe5217626193e5bea9d46831e8586febdc7e172df3f1091a7384299e23a + languageName: node + linkType: hard + +"ts-declaration-location@npm:^1.0.4": + version: 1.0.5 + resolution: "ts-declaration-location@npm:1.0.5" + dependencies: + minimatch: "npm:^10.0.1" + peerDependencies: + typescript: ">=4.0.0" + checksum: 10c0/b733288856a360cc811fb030c384c9ac33c3e987f67bb90e584de472bc0a72d9aa078fdf901f20b62b94e758937cf3bcd99dff6cd7d9d278f51d515d85a6c67f + languageName: node + linkType: hard + "ts-dedent@npm:^2.0.0, ts-dedent@npm:^2.2.0": version: 2.2.0 resolution: "ts-dedent@npm:2.2.0" @@ -43986,6 +44796,13 @@ __metadata: languageName: node linkType: hard +"ts-pattern@npm:^5.5.0": + version: 5.5.0 + resolution: "ts-pattern@npm:5.5.0" + checksum: 10c0/4ae1fbeadcf193e72b27419d5fe71f559c100e45710eabf29e2ff3a8fa9ba29adfcd6d5d7d8169b95e2b264683a2eb8d94dbd3c893357b045b52b0c34c2b7c72 + languageName: node + linkType: hard + "ts-unused-exports@npm:^9.0.3": version: 9.0.5 resolution: "ts-unused-exports@npm:9.0.5" @@ -44101,7 +44918,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:2.8.1, tslib@npm:^2.0.0, tslib@npm:^2.0.1, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.2.0, tslib@npm:^2.3.0, tslib@npm:^2.3.1, tslib@npm:^2.4.0, tslib@npm:^2.5.0, tslib@npm:^2.6.2, tslib@npm:^2.6.3, tslib@npm:^2.7.0, tslib@npm:^2.8.1": +"tslib@npm:2.8.1, tslib@npm:^2.0.0, tslib@npm:^2.0.1, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.2.0, tslib@npm:^2.3.0, tslib@npm:^2.3.1, tslib@npm:^2.4.0, tslib@npm:^2.5.0, tslib@npm:^2.6.2, tslib@npm:^2.6.3, tslib@npm:^2.7.0": version: 2.8.1 resolution: "tslib@npm:2.8.1" checksum: 10c0/9c4759110a19c53f992d9aae23aac5ced636e99887b51b9e61def52611732872ff7668757d4e4c61f19691e36f4da981cd9485e869b4a7408d689f6bf1f14e62 @@ -44368,13 +45185,20 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^2.12.2, type-fest@npm:^2.19.0, type-fest@npm:^2.3.3, type-fest@npm:~2.19": +"type-fest@npm:^2.1.0, type-fest@npm:^2.12.2, type-fest@npm:^2.19.0, type-fest@npm:^2.3.3, type-fest@npm:~2.19": version: 2.19.0 resolution: "type-fest@npm:2.19.0" checksum: 10c0/a5a7ecf2e654251613218c215c7493574594951c08e52ab9881c9df6a6da0aeca7528c213c622bc374b4e0cb5c443aa3ab758da4e3c959783ce884c3194e12cb languageName: node linkType: hard +"type-fest@npm:^4.6.0, type-fest@npm:^4.7.1": + version: 4.29.1 + resolution: "type-fest@npm:4.29.1" + checksum: 10c0/93019c35cedec6dc12a324edcf6bd71719881c944f70e6bf029fd2deb4132589439510f4043f82d7afa6238c0850becfe64fa299a0bca351bed9d839b65463e2 + languageName: node + linkType: hard + "type-is@npm:~1.6.18": version: 1.6.18 resolution: "type-is@npm:1.6.18" @@ -44464,6 +45288,22 @@ __metadata: languageName: node linkType: hard +"typescript-eslint@npm:^8.15.0": + version: 8.16.0 + resolution: "typescript-eslint@npm:8.16.0" + dependencies: + "@typescript-eslint/eslint-plugin": "npm:8.16.0" + "@typescript-eslint/parser": "npm:8.16.0" + "@typescript-eslint/utils": "npm:8.16.0" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: 10c0/3da9401d6c2416b9d95c96a41a9423a5379d233a120cd3304e2c03f191d350ce91cf0c7e60017f7b10c93b4cc1190592702735735b771c1ce1bf68f71a9f1647 + languageName: node + linkType: hard + "typescript-json-schema@npm:^0.53.0": version: 0.53.1 resolution: "typescript-json-schema@npm:0.53.1" @@ -44520,7 +45360,7 @@ __metadata: languageName: node linkType: hard -"typescript@npm:5, typescript@npm:^5.0.4, typescript@npm:^5.4.4": +"typescript@npm:5, typescript@npm:5.7.2, typescript@npm:^5.0.4, typescript@npm:^5.4.4": version: 5.7.2 resolution: "typescript@npm:5.7.2" bin: @@ -44600,7 +45440,7 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A5#optional!builtin, typescript@patch:typescript@npm%3A^5.0.4#optional!builtin, typescript@patch:typescript@npm%3A^5.4.4#optional!builtin": +"typescript@patch:typescript@npm%3A5#optional!builtin, typescript@patch:typescript@npm%3A5.7.2#optional!builtin, typescript@patch:typescript@npm%3A^5.0.4#optional!builtin, typescript@patch:typescript@npm%3A^5.4.4#optional!builtin": version: 5.7.2 resolution: "typescript@patch:typescript@npm%3A5.7.2#optional!builtin::version=5.7.2&hash=5786d5" bin: @@ -44708,34 +45548,6 @@ __metadata: languageName: node linkType: hard -"uint8-varint@npm:^2.0.1, uint8-varint@npm:^2.0.2, uint8-varint@npm:^2.0.4": - version: 2.0.4 - resolution: "uint8-varint@npm:2.0.4" - dependencies: - uint8arraylist: "npm:^2.0.0" - uint8arrays: "npm:^5.0.0" - checksum: 10c0/850bce72c2b639d317db6af2c30544f7f8c6451fa328d674aca74d7e263a9510acd3af555ed04ffbc20b9ff68fd5d2e06b91a5c9ffde781cf6ee6233606f34dc - languageName: node - linkType: hard - -"uint8arraylist@npm:2.4.8, uint8arraylist@npm:^2.0.0, uint8arraylist@npm:^2.4.3, uint8arraylist@npm:^2.4.8": - version: 2.4.8 - resolution: "uint8arraylist@npm:2.4.8" - dependencies: - uint8arrays: "npm:^5.0.1" - checksum: 10c0/a997289ad66d4ffff24d85524b70af9fb6914ef1657400907a792afbff4c4600e7dde7ab3de83da8309c7b22c093c93bc8a95b3d288eeac4c935133bfb925bac - languageName: node - linkType: hard - -"uint8arrays@npm:^5.0.0, uint8arrays@npm:^5.0.1, uint8arrays@npm:^5.0.2, uint8arrays@npm:^5.1.0": - version: 5.1.0 - resolution: "uint8arrays@npm:5.1.0" - dependencies: - multiformats: "npm:^13.0.0" - checksum: 10c0/e7587f97d03a17a608becd01b3ca52aa6db43e7ee6156c18b278c715a62f4f9e62ef2fe9432a3cd02791b6222a17578476a20b8e3ea37dd3b5ce454c6a8782a9 - languageName: node - linkType: hard - "unbox-primitive@npm:^1.0.2": version: 1.0.2 resolution: "unbox-primitive@npm:1.0.2" @@ -45671,18 +46483,18 @@ __metadata: languageName: node linkType: hard -"vite-node@npm:2.1.8": - version: 2.1.8 - resolution: "vite-node@npm:2.1.8" +"vite-node@npm:2.1.6": + version: 2.1.6 + resolution: "vite-node@npm:2.1.6" dependencies: cac: "npm:^6.7.14" debug: "npm:^4.3.7" es-module-lexer: "npm:^1.5.4" pathe: "npm:^1.1.2" - vite: "npm:^5.0.0" + vite: "npm:^5.0.0 || ^6.0.0" bin: vite-node: vite-node.mjs - checksum: 10c0/cb28027a7425ba29780e216164c07d36a4ff9eb60d83afcad3bc222fd5a5f3e36030071c819edd6d910940f502d49e52f7564743617bc1c5875485b0952c72d5 + checksum: 10c0/513c815a6d4ca09a48fc8741bd4bfb1a6cbfe5555b009081b194069863326aede7d66197c2b60927514d22cc6efc2c793d1ca1bb70e13dca120e01a507bcf35b languageName: node linkType: hard @@ -45697,9 +46509,9 @@ __metadata: languageName: node linkType: hard -"vite-tsconfig-paths@npm:5.1.4": - version: 5.1.4 - resolution: "vite-tsconfig-paths@npm:5.1.4" +"vite-tsconfig-paths@npm:5.1.3": + version: 5.1.3 + resolution: "vite-tsconfig-paths@npm:5.1.3" dependencies: debug: "npm:^4.1.1" globrex: "npm:^0.1.2" @@ -45709,33 +46521,38 @@ __metadata: peerDependenciesMeta: vite: optional: true - checksum: 10c0/6228f23155ea25d92b1e1702284cf8dc52ad3c683c5ca691edd5a4c82d2913e7326d00708cef1cbfde9bb226261df0e0a12e03ef1d43b6a92d8f02b483ef37e3 + checksum: 10c0/fb7480efa31fd50439f4a12c91bc953e5cc09d69fdc7eeb6ffff7cc796bc2c1f2c617c3abfdcbf5d7414848076cea9deb60bc002142f93b6e3131e5458760710 languageName: node linkType: hard -"vite@npm:^5.0.0": - version: 5.4.11 - resolution: "vite@npm:5.4.11" +"vite@npm:^5.0.0 || ^6.0.0": + version: 6.0.1 + resolution: "vite@npm:6.0.1" dependencies: - esbuild: "npm:^0.21.3" + esbuild: "npm:^0.24.0" fsevents: "npm:~2.3.3" - postcss: "npm:^8.4.43" - rollup: "npm:^4.20.0" + postcss: "npm:^8.4.49" + rollup: "npm:^4.23.0" peerDependencies: - "@types/node": ^18.0.0 || >=20.0.0 + "@types/node": ^18.0.0 || ^20.0.0 || >=22.0.0 + jiti: ">=1.21.0" less: "*" lightningcss: ^1.21.0 sass: "*" sass-embedded: "*" stylus: "*" sugarss: "*" - terser: ^5.4.0 + terser: ^5.16.0 + tsx: ^4.8.1 + yaml: ^2.4.2 dependenciesMeta: fsevents: optional: true peerDependenciesMeta: "@types/node": optional: true + jiti: + optional: true less: optional: true lightningcss: @@ -45750,23 +46567,27 @@ __metadata: optional: true terser: optional: true + tsx: + optional: true + yaml: + optional: true bin: vite: bin/vite.js - checksum: 10c0/d536bb7af57dd0eca2a808f95f5ff1d7b7ffb8d86e17c6893087680a0448bd0d15e07475270c8a6de65cb5115592d037130a1dd979dc76bcef8c1dda202a1874 + checksum: 10c0/e4d853eb9042ff29fa4d7cee1484738faaee4b1d9dcf786a94783bebb736b39af0afa7ac1a209000530638098d0a1b240b51f509d32addb028b222453f862916 languageName: node linkType: hard -"vitest@npm:2.1.8": - version: 2.1.8 - resolution: "vitest@npm:2.1.8" - dependencies: - "@vitest/expect": "npm:2.1.8" - "@vitest/mocker": "npm:2.1.8" - "@vitest/pretty-format": "npm:^2.1.8" - "@vitest/runner": "npm:2.1.8" - "@vitest/snapshot": "npm:2.1.8" - "@vitest/spy": "npm:2.1.8" - "@vitest/utils": "npm:2.1.8" +"vitest@npm:2.1.6": + version: 2.1.6 + resolution: "vitest@npm:2.1.6" + dependencies: + "@vitest/expect": "npm:2.1.6" + "@vitest/mocker": "npm:2.1.6" + "@vitest/pretty-format": "npm:^2.1.6" + "@vitest/runner": "npm:2.1.6" + "@vitest/snapshot": "npm:2.1.6" + "@vitest/spy": "npm:2.1.6" + "@vitest/utils": "npm:2.1.6" chai: "npm:^5.1.2" debug: "npm:^4.3.7" expect-type: "npm:^1.1.0" @@ -45777,14 +46598,14 @@ __metadata: tinyexec: "npm:^0.3.1" tinypool: "npm:^1.0.1" tinyrainbow: "npm:^1.2.0" - vite: "npm:^5.0.0" - vite-node: "npm:2.1.8" + vite: "npm:^5.0.0 || ^6.0.0" + vite-node: "npm:2.1.6" why-is-node-running: "npm:^2.3.0" peerDependencies: "@edge-runtime/vm": "*" - "@types/node": ^18.0.0 || >=20.0.0 - "@vitest/browser": 2.1.8 - "@vitest/ui": 2.1.8 + "@types/node": ^18.0.0 || ^20.0.0 || >=22.0.0 + "@vitest/browser": 2.1.6 + "@vitest/ui": 2.1.6 happy-dom: "*" jsdom: "*" peerDependenciesMeta: @@ -45802,7 +46623,7 @@ __metadata: optional: true bin: vitest: vitest.mjs - checksum: 10c0/e70631bad5662d6c60c5cf836a4baf58b890db6654fef1f608fe6a86aa49a2b9f078aac74b719d4d3c87c5c781968cc73590a7935277b48f3d8b6fb9c5b4d276 + checksum: 10c0/a183e4f573aacccf14d6466fdee0cee9ecd3f258bf98ebffa2da33c4d5aa1886d156f50d9eeb3d751c634679257e2196d8b3c9988256f2e860b9a1d7070bd4df languageName: node linkType: hard @@ -45824,6 +46645,13 @@ __metadata: languageName: node linkType: hard +"w-json@npm:1.3.10, w-json@npm:^1.3.10": + version: 1.3.10 + resolution: "w-json@npm:1.3.10" + checksum: 10c0/441bf7685d8c8d9ff787066d75c66f7a66794a90ea7577d9e94103089427f04117176b40bdf4def505c5f90ee3e65a4f569765754e866f688d68e4521da1fa94 + languageName: node + linkType: hard + "w3c-keyname@npm:^2.2.0": version: 2.2.8 resolution: "w3c-keyname@npm:2.2.8" @@ -45939,16 +46767,6 @@ __metadata: languageName: node linkType: hard -"weald@npm:^1.0.2": - version: 1.0.4 - resolution: "weald@npm:1.0.4" - dependencies: - ms: "npm:^3.0.0-canary.1" - supports-color: "npm:^9.4.0" - checksum: 10c0/6f705176549ffa9a8b14c589cc72b0a64d8bae3eed154d133d46e429f7156bc809a10416ea804b80acbf5cb108b144b8a1af20d5a22c60d1c283c69a3bd8233d - languageName: node - linkType: hard - "web-streams-polyfill@npm:4.0.0-beta.3": version: 4.0.0-beta.3 resolution: "web-streams-polyfill@npm:4.0.0-beta.3" @@ -46205,15 +47023,15 @@ __metadata: languageName: node linkType: hard -"webpack@npm:5, webpack@npm:5.97.1, webpack@npm:^5.72.0, webpack@npm:^5.76.0, webpack@npm:^5.94.0": - version: 5.97.1 - resolution: "webpack@npm:5.97.1" +"webpack@npm:5, webpack@npm:5.96.1, webpack@npm:^5.72.0, webpack@npm:^5.76.0, webpack@npm:^5.94.0": + version: 5.96.1 + resolution: "webpack@npm:5.96.1" dependencies: "@types/eslint-scope": "npm:^3.7.7" "@types/estree": "npm:^1.0.6" - "@webassemblyjs/ast": "npm:^1.14.1" - "@webassemblyjs/wasm-edit": "npm:^1.14.1" - "@webassemblyjs/wasm-parser": "npm:^1.14.1" + "@webassemblyjs/ast": "npm:^1.12.1" + "@webassemblyjs/wasm-edit": "npm:^1.12.1" + "@webassemblyjs/wasm-parser": "npm:^1.12.1" acorn: "npm:^8.14.0" browserslist: "npm:^4.24.0" chrome-trace-event: "npm:^1.0.2" @@ -46237,7 +47055,7 @@ __metadata: optional: true bin: webpack: bin/webpack.js - checksum: 10c0/a12d3dc882ca582075f2c4bd88840be8307427245c90a8a0e0b372d73560df13fcf25a61625c9e7edc964981d16b5a8323640562eb48347cf9dd2f8bd1b39d35 + checksum: 10c0/ae6052fde9a546f79f14987b65823ba4024c6642a8489339ecfee7a351dff93325842aad453295bbdc6b65fb1690e4ef07529db63aa84ece55c7869e991a0039 languageName: node linkType: hard @@ -46330,15 +47148,6 @@ __metadata: languageName: node linkType: hard -"wherearewe@npm:^2.0.1": - version: 2.0.1 - resolution: "wherearewe@npm:2.0.1" - dependencies: - is-electron: "npm:^2.2.0" - checksum: 10c0/a6193319688972890597342108b083fe35505ad0501a9c6c56926b6897f478f66d76436951005e24637265df717f81bc70ea511bd684972be5a966310581b872 - languageName: node - linkType: hard - "which-boxed-primitive@npm:^1.0.2": version: 1.0.2 resolution: "which-boxed-primitive@npm:1.0.2" @@ -46653,6 +47462,17 @@ __metadata: languageName: node linkType: hard +"wrap-ansi@npm:^9.0.0": + version: 9.0.0 + resolution: "wrap-ansi@npm:9.0.0" + dependencies: + ansi-styles: "npm:^6.2.1" + string-width: "npm:^7.0.0" + strip-ansi: "npm:^7.1.0" + checksum: 10c0/a139b818da9573677548dd463bd626a5a5286271211eb6e4e82f34a4f643191d74e6d4a9bb0a3c26ec90e6f904f679e0569674ac099ea12378a8b98e20706066 + languageName: node + linkType: hard + "wrappy@npm:1": version: 1.0.2 resolution: "wrappy@npm:1.0.2" @@ -46927,6 +47747,15 @@ __metadata: languageName: node linkType: hard +"yaml@npm:~2.5.0": + version: 2.5.1 + resolution: "yaml@npm:2.5.1" + bin: + yaml: bin.mjs + checksum: 10c0/40fba5682898dbeeb3319e358a968fe886509fab6f58725732a15f8dda3abac509f91e76817c708c9959a15f786f38ff863c1b88062d7c1162c5334a7d09cb4a + languageName: node + linkType: hard + "yargs-parser@npm:21.0.1": version: 21.0.1 resolution: "yargs-parser@npm:21.0.1" From b468527945bd333705191db1ec75cd2366c67827 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Mon, 2 Dec 2024 15:45:53 +0100 Subject: [PATCH 02/51] feat: use the correct typescript types --- libs/@local/eslint/package.json | 6 ++- libs/@local/eslint/src/builtIn.ts | 17 ++++--- libs/@local/eslint/src/deprecated/index.ts | 11 +++++ libs/@local/eslint/src/import.ts | 8 +-- libs/@local/eslint/src/index.ts | 8 +-- libs/@local/eslint/src/react.ts | 6 +-- libs/@local/eslint/src/storybook.ts | 8 +-- libs/@local/eslint/src/stylistic.ts | 6 +-- libs/@local/eslint/src/typescript.ts | 6 +-- libs/@local/eslint/src/unicorn.ts | 8 +-- libs/@local/eslint/src/utils.ts | 8 +++ yarn.lock | 57 +++++++++++++--------- 12 files changed, 93 insertions(+), 56 deletions(-) create mode 100644 libs/@local/eslint/src/deprecated/index.ts create mode 100644 libs/@local/eslint/src/utils.ts diff --git a/libs/@local/eslint/package.json b/libs/@local/eslint/package.json index cb615687231..a01ce5bb5e8 100644 --- a/libs/@local/eslint/package.json +++ b/libs/@local/eslint/package.json @@ -13,14 +13,16 @@ "build": "rimraf dist && tsc --build tsconfig.build.json" }, "dependencies": { + "@eslint/compat": "1.2.3", + "@eslint/eslintrc": "3.2.0", "effect": "3.11.0", "eslint": "9.16.0", "eslint-config-sheriff": "25.3.0", - "eslint-define-config": "2.1.0", + "eslint-plugin-airbnb": "0.0.1-security", "eslint-plugin-storybook": "0.11.1" }, "devDependencies": { - "@types/eslint": "9.6.1", + "@types/eslint__eslintrc": "2.1.2", "rimraf": "6.0.1", "typescript": "5.7.2" } diff --git a/libs/@local/eslint/src/builtIn.ts b/libs/@local/eslint/src/builtIn.ts index fcebb0afbe7..e527ef4da39 100644 --- a/libs/@local/eslint/src/builtIn.ts +++ b/libs/@local/eslint/src/builtIn.ts @@ -1,8 +1,11 @@ import { Option, pipe, Predicate, Array as ReadonlyArray } from "effect"; -import { defineFlatConfig, type FlatESLintConfig } from "eslint-define-config"; +import { defineFlatConfig } from "eslint-define-config"; import type { PartialDeep } from "type-fest"; import type { NoRestrictedImportsRule, Options } from "./index.js"; +import { Linter } from "eslint"; + +import { ESConfig, defineConfig } from "./utils.js"; const mergeRestrictedImports = ( current: NoRestrictedImportsRule, @@ -13,9 +16,9 @@ const mergeRestrictedImports = ( }); const noRestrictedImports = ( - config: FlatESLintConfig[], + config: readonly ESConfig[], overrides: () => NoRestrictedImportsRule[], -): FlatESLintConfig[] => { +): readonly ESConfig[] => { // get the latest current `no-restricted-imports` rule value and merge with the // overrides const candidates = pipe( @@ -44,7 +47,7 @@ const noRestrictedImports = ( const currentRule = current as NoRestrictedImportsRule; - return defineFlatConfig([ + return defineConfig([ { rules: { "no-restricted-imports": [ @@ -52,14 +55,14 @@ const noRestrictedImports = ( overrides().reduce(mergeRestrictedImports, currentRule), ], }, - } satisfies FlatESLintConfig, + } satisfies ESConfig, ]); }; export const builtIn = (options: PartialDeep) => - (config: FlatESLintConfig[]): FlatESLintConfig[] => - defineFlatConfig([ + (config: readonly ESConfig[]): readonly ESConfig[] => + defineConfig([ ...config, { rules: { diff --git a/libs/@local/eslint/src/deprecated/index.ts b/libs/@local/eslint/src/deprecated/index.ts new file mode 100644 index 00000000000..53b6b2f8a13 --- /dev/null +++ b/libs/@local/eslint/src/deprecated/index.ts @@ -0,0 +1,11 @@ +import { fixupConfigRules } from "@eslint/compat"; +import { FlatCompat } from "@eslint/eslintrc"; +import { defineConfig, ESConfig } from "../utils.js"; + +const flatCompat = new FlatCompat(); + +export interface Options {} + +export const create = (options: Partial): readonly ESConfig[] => { + return defineConfig([...fixupConfigRules(flatCompat.extends("airbnb"))]); +}; diff --git a/libs/@local/eslint/src/import.ts b/libs/@local/eslint/src/import.ts index 3c148392ede..5f9c219ebe8 100644 --- a/libs/@local/eslint/src/import.ts +++ b/libs/@local/eslint/src/import.ts @@ -1,7 +1,9 @@ -import { defineFlatConfig, type FlatESLintConfig } from "eslint-define-config"; +import { defineConfig, ESConfig } from "./utils.js"; -export const importPlugin = (config: FlatESLintConfig[]): FlatESLintConfig[] => - defineFlatConfig([ +export const importPlugin = ( + config: readonly ESConfig[], +): readonly ESConfig[] => + defineConfig([ ...config, { rules: { diff --git a/libs/@local/eslint/src/index.ts b/libs/@local/eslint/src/index.ts index 5e4c3fe9a4d..864646d0e4d 100644 --- a/libs/@local/eslint/src/index.ts +++ b/libs/@local/eslint/src/index.ts @@ -9,7 +9,7 @@ import { stylistic } from "./stylistic.js"; import { typescript } from "./typescript.js"; import { unicorn } from "./unicorn.js"; import { storybook } from "./storybook.js"; -import { defineFlatConfig, FlatESLintConfig } from "eslint-define-config"; +import { defineConfig, ESConfig } from "./utils.js"; // A subset of the allowed rule config, because we're sane export interface NoRestrictedImportsPath { @@ -44,7 +44,7 @@ export interface Options { mutableParametersRegex(): string[]; } -export const create = (options: PartialDeep): FlatESLintConfig[] => { +export const create = (options: PartialDeep): readonly ESConfig[] => { const sheriffOptions: SheriffSettings = { react: options.enabled?.frontend === "react", next: options.enabled?.frontend === "next", @@ -60,8 +60,8 @@ export const create = (options: PartialDeep): FlatESLintConfig[] => { }; return pipe( - sheriff(sheriffOptions) as readonly FlatESLintConfig[], - defineFlatConfig, + sheriff(sheriffOptions) as readonly ESConfig[], + defineConfig, builtIn(options), importPlugin, unicorn, diff --git a/libs/@local/eslint/src/react.ts b/libs/@local/eslint/src/react.ts index 11d31440e2a..28a2dd89ff1 100644 --- a/libs/@local/eslint/src/react.ts +++ b/libs/@local/eslint/src/react.ts @@ -1,16 +1,16 @@ -import { defineFlatConfig, type FlatESLintConfig } from "eslint-define-config"; import type { PartialDeep } from "type-fest"; import type { Options } from "./index.js"; +import { defineConfig, ESConfig } from "./utils.js"; export const react = (options: PartialDeep) => - (config: FlatESLintConfig[]): FlatESLintConfig[] => { + (config: readonly ESConfig[]): readonly ESConfig[] => { if (!options.enabled?.frontend) { return config; } - return defineFlatConfig([ + return defineConfig([ ...config, { rules: { diff --git a/libs/@local/eslint/src/storybook.ts b/libs/@local/eslint/src/storybook.ts index 2fb7ab35e3f..314be7efa5e 100644 --- a/libs/@local/eslint/src/storybook.ts +++ b/libs/@local/eslint/src/storybook.ts @@ -1,22 +1,22 @@ // This configuration is here only as a stand-in until sheriff supports it, as flat configuration is currently only available in canary. -import { defineFlatConfig, type FlatESLintConfig } from "eslint-define-config"; import type { PartialDeep } from "type-fest"; import type { Options } from "./index.js"; import eslintPluginStorybook from "eslint-plugin-storybook"; +import { defineConfig, ESConfig } from "./utils.js"; export const storybook = (options: PartialDeep) => - (config: FlatESLintConfig[]): FlatESLintConfig[] => { + (config: readonly ESConfig[]): readonly ESConfig[] => { if (!options.enabled?.storybook) { return config; } - return defineFlatConfig([ + return defineConfig([ ...config, ...(eslintPluginStorybook.configs[ "flat/recommended" - ] as unknown as FlatESLintConfig[]), + ] as unknown as readonly ESConfig[]), { rules: { "storybook/no-uninstalled-addons": "error", diff --git a/libs/@local/eslint/src/stylistic.ts b/libs/@local/eslint/src/stylistic.ts index dc4a029b4f3..991a42e73e8 100644 --- a/libs/@local/eslint/src/stylistic.ts +++ b/libs/@local/eslint/src/stylistic.ts @@ -1,7 +1,7 @@ -import { defineFlatConfig, type FlatESLintConfig } from "eslint-define-config"; +import { defineConfig, ESConfig } from "./utils.js"; -export const stylistic = (config: FlatESLintConfig[]): FlatESLintConfig[] => - defineFlatConfig([ +export const stylistic = (config: readonly ESConfig[]): readonly ESConfig[] => + defineConfig([ ...config, { rules: { diff --git a/libs/@local/eslint/src/typescript.ts b/libs/@local/eslint/src/typescript.ts index 6144e4b4926..207bf9894ec 100644 --- a/libs/@local/eslint/src/typescript.ts +++ b/libs/@local/eslint/src/typescript.ts @@ -1,8 +1,8 @@ import { Predicate } from "effect"; import type { Linter } from "eslint"; -import { defineFlatConfig, type FlatESLintConfig } from "eslint-define-config"; import { JS_EXTENSIONS, JSX_EXTENSIONS } from "./constants.js"; +import { defineConfig, ESConfig } from "./utils.js"; const namingConvention = ({ tsx }: { tsx: boolean }): Linter.RuleEntry => [ "error", @@ -86,8 +86,8 @@ const namingConvention = ({ tsx }: { tsx: boolean }): Linter.RuleEntry => [ }, ]; -export const typescript = (config: FlatESLintConfig[]): FlatESLintConfig[] => - defineFlatConfig([ +export const typescript = (config: readonly ESConfig[]): readonly ESConfig[] => + defineConfig([ ...config, { rules: { diff --git a/libs/@local/eslint/src/unicorn.ts b/libs/@local/eslint/src/unicorn.ts index c35f2c73fc9..7ac0877b30b 100644 --- a/libs/@local/eslint/src/unicorn.ts +++ b/libs/@local/eslint/src/unicorn.ts @@ -1,7 +1,7 @@ /* eslint-disable unicorn/prevent-abbreviations */ -import { defineFlatConfig, type FlatESLintConfig } from "eslint-define-config"; +import { defineConfig, ESConfig } from "./utils.js"; -const preventAbbreviations = (): FlatESLintConfig => ({ +const preventAbbreviations = (): ESConfig => ({ rules: { "unicorn/prevent-abbreviations": [ "error", @@ -143,8 +143,8 @@ const preventAbbreviations = (): FlatESLintConfig => ({ }, }); -export const unicorn = (config: FlatESLintConfig[]): FlatESLintConfig[] => - defineFlatConfig([ +export const unicorn = (config: readonly ESConfig[]): readonly ESConfig[] => + defineConfig([ ...config, { rules: { diff --git a/libs/@local/eslint/src/utils.ts b/libs/@local/eslint/src/utils.ts new file mode 100644 index 00000000000..86567d6e5e6 --- /dev/null +++ b/libs/@local/eslint/src/utils.ts @@ -0,0 +1,8 @@ +import { Linter } from "eslint"; +import { ESLintRules } from "eslint/rules"; + +export type ESConfig = Linter.Config; + +export const defineConfig = ( + config: readonly Linter.Config[], +): readonly Linter.Config[] => config; diff --git a/yarn.lock b/yarn.lock index 6010f5b3dae..5bd2b7c4a4c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6203,7 +6203,7 @@ __metadata: languageName: node linkType: hard -"@eslint/compat@npm:^1.1.1": +"@eslint/compat@npm:1.2.3, @eslint/compat@npm:^1.1.1": version: 1.2.3 resolution: "@eslint/compat@npm:1.2.3" peerDependencies: @@ -6233,37 +6233,37 @@ __metadata: languageName: node linkType: hard -"@eslint/eslintrc@npm:^2.1.4": - version: 2.1.4 - resolution: "@eslint/eslintrc@npm:2.1.4" +"@eslint/eslintrc@npm:3.2.0, @eslint/eslintrc@npm:^3.2.0": + version: 3.2.0 + resolution: "@eslint/eslintrc@npm:3.2.0" dependencies: ajv: "npm:^6.12.4" debug: "npm:^4.3.2" - espree: "npm:^9.6.0" - globals: "npm:^13.19.0" + espree: "npm:^10.0.1" + globals: "npm:^14.0.0" ignore: "npm:^5.2.0" import-fresh: "npm:^3.2.1" js-yaml: "npm:^4.1.0" minimatch: "npm:^3.1.2" strip-json-comments: "npm:^3.1.1" - checksum: 10c0/32f67052b81768ae876c84569ffd562491ec5a5091b0c1e1ca1e0f3c24fb42f804952fdd0a137873bc64303ba368a71ba079a6f691cee25beee9722d94cc8573 + checksum: 10c0/43867a07ff9884d895d9855edba41acf325ef7664a8df41d957135a81a477ff4df4196f5f74dc3382627e5cc8b7ad6b815c2cea1b58f04a75aced7c43414ab8b languageName: node linkType: hard -"@eslint/eslintrc@npm:^3.2.0": - version: 3.2.0 - resolution: "@eslint/eslintrc@npm:3.2.0" +"@eslint/eslintrc@npm:^2.1.4": + version: 2.1.4 + resolution: "@eslint/eslintrc@npm:2.1.4" dependencies: ajv: "npm:^6.12.4" debug: "npm:^4.3.2" - espree: "npm:^10.0.1" - globals: "npm:^14.0.0" + espree: "npm:^9.6.0" + globals: "npm:^13.19.0" ignore: "npm:^5.2.0" import-fresh: "npm:^3.2.1" js-yaml: "npm:^4.1.0" minimatch: "npm:^3.1.2" strip-json-comments: "npm:^3.1.1" - checksum: 10c0/43867a07ff9884d895d9855edba41acf325ef7664a8df41d957135a81a477ff4df4196f5f74dc3382627e5cc8b7ad6b815c2cea1b58f04a75aced7c43414ab8b + checksum: 10c0/32f67052b81768ae876c84569ffd562491ec5a5091b0c1e1ca1e0f3c24fb42f804952fdd0a137873bc64303ba368a71ba079a6f691cee25beee9722d94cc8573 languageName: node linkType: hard @@ -8413,11 +8413,13 @@ __metadata: version: 0.0.0-use.local resolution: "@local/eslint@workspace:libs/@local/eslint" dependencies: - "@types/eslint": "npm:9.6.1" + "@eslint/compat": "npm:1.2.3" + "@eslint/eslintrc": "npm:3.2.0" + "@types/eslint__eslintrc": "npm:2.1.2" effect: "npm:3.11.0" eslint: "npm:9.16.0" eslint-config-sheriff: "npm:25.3.0" - eslint-define-config: "npm:2.1.0" + eslint-plugin-airbnb: "npm:0.0.1-security" eslint-plugin-storybook: "npm:0.11.1" rimraf: "npm:6.0.1" typescript: "npm:5.7.2" @@ -16741,7 +16743,7 @@ __metadata: languageName: node linkType: hard -"@types/eslint@npm:*, @types/eslint@npm:9.6.1": +"@types/eslint@npm:*": version: 9.6.1 resolution: "@types/eslint@npm:9.6.1" dependencies: @@ -16761,6 +16763,15 @@ __metadata: languageName: node linkType: hard +"@types/eslint__eslintrc@npm:2.1.2": + version: 2.1.2 + resolution: "@types/eslint__eslintrc@npm:2.1.2" + dependencies: + "@types/eslint": "npm:*" + checksum: 10c0/ccbeb74886fbbee1b016ed9c920ad932cb0b970c42eec4cea27e04c2640d5a92c20e44d4610de73551c4c8f658963a769ddc9fd75eac72edf33f035129600637 + languageName: node + linkType: hard + "@types/estree-jsx@npm:^1.0.0": version: 1.0.5 resolution: "@types/estree-jsx@npm:1.0.5" @@ -25632,13 +25643,6 @@ __metadata: languageName: node linkType: hard -"eslint-define-config@npm:2.1.0": - version: 2.1.0 - resolution: "eslint-define-config@npm:2.1.0" - checksum: 10c0/034bd6bfbfec2db6c720a51815de6b072efeef7afbf99d90c23a1871f9cd741bb77f9d34e0bc2465262298c6110c5c45b704714d8575c6567fd2df963fb792ea - languageName: node - linkType: hard - "eslint-import-resolver-node@npm:^0.3.9": version: 0.3.9 resolution: "eslint-import-resolver-node@npm:0.3.9" @@ -25687,6 +25691,13 @@ __metadata: languageName: node linkType: hard +"eslint-plugin-airbnb@npm:0.0.1-security": + version: 0.0.1-security + resolution: "eslint-plugin-airbnb@npm:0.0.1-security" + checksum: 10c0/d7fc1c39a3da4e728521f0559b8d40b2eb7a393188bf0cfcdbd349b2558a8ae092e0606a1a75045950f7ea55dd37c638da39fd3f3429ab64ec49062320137a43 + languageName: node + linkType: hard + "eslint-plugin-arrow-return-style@npm:^1.3.0": version: 1.3.1 resolution: "eslint-plugin-arrow-return-style@npm:1.3.1" From 6e4c62f014c14bd38c707e5fa5441e873c191693 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Mon, 2 Dec 2024 16:07:12 +0100 Subject: [PATCH 03/51] feat: deprecated --- libs/@local/eslint/package.json | 4 +- libs/@local/eslint/src/deprecated/index.ts | 278 ++++++++++++++++++++- libs/@local/eslint/src/utils.ts | 6 +- yarn.lock | 30 ++- 4 files changed, 312 insertions(+), 6 deletions(-) diff --git a/libs/@local/eslint/package.json b/libs/@local/eslint/package.json index a01ce5bb5e8..68a8ccf92c2 100644 --- a/libs/@local/eslint/package.json +++ b/libs/@local/eslint/package.json @@ -19,7 +19,9 @@ "eslint": "9.16.0", "eslint-config-sheriff": "25.3.0", "eslint-plugin-airbnb": "0.0.1-security", - "eslint-plugin-storybook": "0.11.1" + "eslint-plugin-react-hooks": "5.0.0", + "eslint-plugin-storybook": "0.11.1", + "eslint-unicorn": "55.0.0" }, "devDependencies": { "@types/eslint__eslintrc": "2.1.2", diff --git a/libs/@local/eslint/src/deprecated/index.ts b/libs/@local/eslint/src/deprecated/index.ts index 53b6b2f8a13..cd6dc5ed936 100644 --- a/libs/@local/eslint/src/deprecated/index.ts +++ b/libs/@local/eslint/src/deprecated/index.ts @@ -1,11 +1,287 @@ import { fixupConfigRules } from "@eslint/compat"; import { FlatCompat } from "@eslint/eslintrc"; import { defineConfig, ESConfig } from "../utils.js"; +import { Array, pipe } from "effect"; +// @ts-expect-error -- no types available +import reactHooksPlugin from "eslint-plugin-react-hooks"; const flatCompat = new FlatCompat(); export interface Options {} export const create = (options: Partial): readonly ESConfig[] => { - return defineConfig([...fixupConfigRules(flatCompat.extends("airbnb"))]); + return pipe( + fixupConfigRules(flatCompat.extends("airbnb")), + defineConfig, + Array.append({ + plugins: { + "react-hooks": reactHooksPlugin, + }, + } satisfies ESConfig), + Array.append({ + rules: { + "canonical/filename-no-index": "error", + "@typescript-eslint/consistent-type-imports": "error", + // overridden airbnb rules (if you wish to add to this list, please outline your reasoning here: https://www.notion.so/hashintel/HASH-dev-eslint-configuration-60c52c127d13478fbce6bb5579a6b7be) + "no-undef-init": "off", + "no-underscore-dangle": "off", + "no-nested-ternary": "off", + "no-restricted-syntax": [ + "error", + { + selector: + "TSTypeReference[typeName.name=/^(Plugin|PluginKey)$/]:not([typeParameters])", + message: "Please provide a generic to avoid implicit `any`", + }, + { + selector: + "TSTypeReference[typeName.name=/^(Plugin|PluginKey)$/][typeParameters.params.0.type=TSAnyKeyword]", + message: "Please replace `any` with a specific type", + }, + { + selector: + "NewExpression[callee.name=/^(Plugin|PluginKey)$/]:not([typeParameters])", + message: "Please provide a generic to avoid implicit `any`", + }, + { + selector: + "NewExpression[callee.name=/^(Plugin|PluginKey)$/][typeParameters.params.0.type=TSAnyKeyword]", + message: "Please replace `any` with a specific type", + }, + ], + camelcase: "off", + "default-param-last": "off", // using @typescript-eslint/default-param-last instead + "import/no-cycle": "error", + "import/named": "off", // redundant for TypeScript code, leads to false positives with @blockprotocol/type-system + "import/prefer-default-export": "off", + "no-await-in-loop": "off", + "no-console": "error", + "no-dupe-class-members": "off", + "import/no-unresolved": [ + 2, + { + // graph uses 'exports' field in package.json https://github.com/import-js/eslint-plugin-import/issues/1810 + ignore: [ + "^@apps/", + "^@blockprotocol/graph", + "^@blockprotocol/hook", + "^@blockprotocol/service", + "^@blockprotocol/type-system", + "^@hashintel/", + "^@local/", + ], + }, + ], + "react/prop-types": "off", + // because we are using typescript this is redundant + "jsx-a11y/anchor-is-valid": "off", + // because we use next.js empty anchor tags should be used when using the Link component + "react/jsx-filename-extension": [ + 2, + { + extensions: [".js", ".jsx", ".ts", ".tsx"], + }, + ], + "react/jsx-props-no-spreading": "off", + "no-void": [ + "error", + { + allowAsStatement: true, + }, + ], + "no-continue": "off", + "react/react-in-jsx-scope": "off", + "no-return-await": "off", + "max-classes-per-file": "off", + "lines-between-class-members": [ + "error", + "always", + { + exceptAfterSingleLine: true, + }, + ], + "consistent-return": "off", + "default-case": "off", + "class-methods-use-this": "off", + "react/no-unescapted-entities": "off", + "jsx-a11y/no-autofocus": "off", + "no-plusplus": "off", + "prefer-destructuring": "off", + "no-else-return": "off", + "arrow-body-style": "off", + "react/no-unescaped-entities": "off", + // Other rule changes + "react-hooks/rules-of-hooks": "error", + "react-hooks/exhaustive-deps": [ + "error", + { + additionalHooks: "^(useModal|useUserGatedEffect)$", + }, + ], + "react/function-component-definition": [ + "error", + { + namedComponents: "arrow-function", + unnamedComponents: "arrow-function", + }, + ], + "react/jsx-key": "error", + "react/jsx-no-useless-fragment": "error", + "react/self-closing-comp": "error", + "no-restricted-imports": [ + "error", + { + paths: [ + { + name: "react", + importNames: ["FC", "VFC", "VoidFunctionComponent"], + message: "Please use FunctionComponent instead", + }, + { + name: "@testing-library/react", + importNames: ["render"], + message: "Please use ./src/tests/testUtils.tsx#render instead", + }, + { + name: "@mui/material", + importNames: ["Link"], + message: + "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", + }, + { + name: "@mui/material/Link", + message: + "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", + }, + { + name: "next", + importNames: ["Link"], + message: + "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", + }, + { + name: "next/link", + message: + "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", + }, + { + name: "@mui/material", + importNames: ["Button"], + message: + "Please use the custom wrapper component in src/component instead.", + }, + { + name: "@mui/material/Button", + importNames: ["default"], + message: + "Please use the custom src/components/Button component instead.", + }, + ], + patterns: [ + { + group: [ + "@hashintel/design-system/*", + "!@hashintel/design-system/theme", + "!@hashintel/design-system/constants", + "!@hashintel/design-system/palettes", + ], + importNames: [], + message: "Please import from @hashintel/design-system instead.", + }, + ], + }, + ], + "react/require-default-props": "off", + "no-shadow": "off", + "@typescript-eslint/default-param-last": "error", + // see https://github.com/typescript-eslint/typescript-eslint/issues/2483 + "@typescript-eslint/no-shadow": "error", + "no-use-before-define": "off", + "@typescript-eslint/no-use-before-define": ["error"], + "no-redeclare": "off", + "@typescript-eslint/no-redeclare": ["error"], + + eqeqeq: [ + "error", + "always", + { + null: "ignore", + }, + ], + "id-length": [ + "error", + { + min: 2, + exceptions: ["_", "x", "y", "z", "a", "b", "i"], + properties: "never", + }, + ], + "no-unused-expressions": "error", + curly: ["error", "all"], + "import/extensions": [ + "error", + "ignorePackages", + { + js: "never", + jsx: "never", + ts: "never", + tsx: "never", + }, + ], + "no-useless-constructor": "off", + "@typescript-eslint/no-useless-constructor": ["error"], + "@typescript-eslint/ban-ts-comment": [ + "error", + { + "ts-expect-error": "allow-with-description", + minimumDescriptionLength: 10, + }, + ], + "no-empty-function": "off", + "no-param-reassign": [ + "error", + { + props: true, + ignorePropertyModificationsForRegex: ["^draft"], + ignorePropertyModificationsFor: [ + "acc", + "accumulator", + "e", + "ctx", + "context", + "req", + "request", + "res", + "response", + "$scope", + "staticContext", + ], + }, + ], + "simple-import-sort/exports": "error", + "simple-import-sort/imports": "error", + "unicorn/filename-case": "error", + "unicorn/import-style": [ + "error", + { + styles: { + react: { named: true }, + "react-dom": { named: true }, + }, + }, + ], + "unicorn/no-array-for-each": "error", + "unicorn/prefer-node-protocol": "error", + }, + } satisfies ESConfig), + Array.append({ + settings: { + "import/resolver": { + node: { + extensions: [".js", ".jsx", ".ts", ".tsx"], + }, + }, + }, + } satisfies ESConfig), + ); }; diff --git a/libs/@local/eslint/src/utils.ts b/libs/@local/eslint/src/utils.ts index 86567d6e5e6..222c307a2f2 100644 --- a/libs/@local/eslint/src/utils.ts +++ b/libs/@local/eslint/src/utils.ts @@ -3,6 +3,6 @@ import { ESLintRules } from "eslint/rules"; export type ESConfig = Linter.Config; -export const defineConfig = ( - config: readonly Linter.Config[], -): readonly Linter.Config[] => config; +export const defineConfig = ( + config: readonly Linter.Config[], +): readonly Linter.Config[] => config; diff --git a/yarn.lock b/yarn.lock index 5bd2b7c4a4c..ed6c3ebcfe7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8420,7 +8420,9 @@ __metadata: eslint: "npm:9.16.0" eslint-config-sheriff: "npm:25.3.0" eslint-plugin-airbnb: "npm:0.0.1-security" + eslint-plugin-react-hooks: "npm:5.0.0" eslint-plugin-storybook: "npm:0.11.1" + eslint-unicorn: "npm:55.0.0" rimraf: "npm:6.0.1" typescript: "npm:5.7.2" languageName: unknown @@ -26032,7 +26034,7 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-react-hooks@npm:^5.0.0": +"eslint-plugin-react-hooks@npm:5.0.0, eslint-plugin-react-hooks@npm:^5.0.0": version: 5.0.0 resolution: "eslint-plugin-react-hooks@npm:5.0.0" peerDependencies: @@ -26393,6 +26395,32 @@ __metadata: languageName: node linkType: hard +"eslint-unicorn@npm:55.0.0": + version: 55.0.0 + resolution: "eslint-unicorn@npm:55.0.0" + dependencies: + "@babel/helper-validator-identifier": "npm:^7.24.5" + "@eslint-community/eslint-utils": "npm:^4.4.0" + ci-info: "npm:^4.0.0" + clean-regexp: "npm:^1.0.0" + core-js-compat: "npm:^3.37.0" + esquery: "npm:^1.5.0" + globals: "npm:^15.7.0" + indent-string: "npm:^4.0.0" + is-builtin-module: "npm:^3.2.1" + jsesc: "npm:^3.0.2" + pluralize: "npm:^8.0.0" + read-pkg-up: "npm:^7.0.1" + regexp-tree: "npm:^0.1.27" + regjsparser: "npm:^0.10.0" + semver: "npm:^7.6.1" + strip-indent: "npm:^3.0.0" + peerDependencies: + eslint: ">=8.56.0" + checksum: 10c0/c771e3d1b2831330400a4be50d459a38573d304b8bef754e619601628f3495aa2bede1f220256b2c6a9daf0b4f1ee3faf6c4f60474646ba484e91182ef1185ac + languageName: node + linkType: hard + "eslint-visitor-keys@npm:^2.1.0": version: 2.1.0 resolution: "eslint-visitor-keys@npm:2.1.0" From 4e843d6a628ace0b6eef95824980b3be466693c8 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Mon, 2 Dec 2024 16:08:44 +0100 Subject: [PATCH 04/51] chore: update TODO --- libs/@local/eslint/src/deprecated/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/@local/eslint/src/deprecated/index.ts b/libs/@local/eslint/src/deprecated/index.ts index cd6dc5ed936..ee8d19345ae 100644 --- a/libs/@local/eslint/src/deprecated/index.ts +++ b/libs/@local/eslint/src/deprecated/index.ts @@ -9,6 +9,7 @@ const flatCompat = new FlatCompat(); export interface Options {} +// TODO: try again with a highly reduced set of rules from our base config export const create = (options: Partial): readonly ESConfig[] => { return pipe( fixupConfigRules(flatCompat.extends("airbnb")), From 152b75be933683088e24177f1c23e1619a487660 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Mon, 9 Dec 2024 16:29:39 +0100 Subject: [PATCH 05/51] feat: try to split --- libs/@local/eslint-config/package.json | 2 +- libs/@local/eslint/package.json | 8 +- libs/@local/eslint/src/deprecated/base.ts | 150 ++++++++++ libs/@local/eslint/src/deprecated/config.ts | 5 + libs/@local/eslint/src/deprecated/index.ts | 246 ++++++++++++++--- .../@local/eslint/src/deprecated/overrides.ts | 260 ++++++++++++++++++ yarn.lock | 236 ++++++++++++++-- 7 files changed, 844 insertions(+), 63 deletions(-) create mode 100644 libs/@local/eslint/src/deprecated/base.ts create mode 100644 libs/@local/eslint/src/deprecated/config.ts create mode 100644 libs/@local/eslint/src/deprecated/overrides.ts diff --git a/libs/@local/eslint-config/package.json b/libs/@local/eslint-config/package.json index 9168dc73747..f59afd88f4b 100644 --- a/libs/@local/eslint-config/package.json +++ b/libs/@local/eslint-config/package.json @@ -16,7 +16,7 @@ "eslint": "8.57.0", "eslint-config-airbnb": "19.0.4", "eslint-config-prettier": "9.1.0", - "eslint-plugin-canonical": "4.18.0", + "eslint-plugin-canonical": "5.0.0", "eslint-plugin-import": "2.29.1", "eslint-plugin-jsx-a11y": "6.8.0", "eslint-plugin-react": "7.34.1", diff --git a/libs/@local/eslint/package.json b/libs/@local/eslint/package.json index 68a8ccf92c2..6dbd5c0c054 100644 --- a/libs/@local/eslint/package.json +++ b/libs/@local/eslint/package.json @@ -13,15 +13,17 @@ "build": "rimraf dist && tsc --build tsconfig.build.json" }, "dependencies": { - "@eslint/compat": "1.2.3", + "@eslint/compat": "1.2.4", "@eslint/eslintrc": "3.2.0", "effect": "3.11.0", "eslint": "9.16.0", "eslint-config-sheriff": "25.3.0", "eslint-plugin-airbnb": "0.0.1-security", - "eslint-plugin-react-hooks": "5.0.0", + "eslint-plugin-react-hooks": "5.1.0", "eslint-plugin-storybook": "0.11.1", - "eslint-unicorn": "55.0.0" + "eslint-unicorn": "55.0.0", + "globals": "15.13.0", + "typescript-eslint": "8.17.0" }, "devDependencies": { "@types/eslint__eslintrc": "2.1.2", diff --git a/libs/@local/eslint/src/deprecated/base.ts b/libs/@local/eslint/src/deprecated/base.ts new file mode 100644 index 00000000000..e1e29808cdb --- /dev/null +++ b/libs/@local/eslint/src/deprecated/base.ts @@ -0,0 +1,150 @@ +import tseslint from 'typescript-eslint'; +import { defineConfig, ESConfig } from "../utils.js"; +import { DeprecatedConfig } from './config.js'; +import { allJsExtensions, LanguageOptions, supportedFileTypes } from 'eslint-config-sheriff'; +import { fixupConfigRules } from '@eslint/compat'; +import { FlatCompat } from '@eslint/eslintrc'; +import { ESLint, Linter } from 'eslint'; +import globals from 'globals'; + +const flatCompat = new FlatCompat(); + +const getLanguageOptionsTypescript = (customTSConfigPath: string | undefined): Linter.LanguageOptions => { + return { + parser: tseslint.parser, + parserOptions: { + ecmaFeatures: {modules: true}, + project: customTSConfigPath ?? true + } + } +} + +export const base = (config: readonly DeprecatedConfig): ESConfig[] => { + const customTSConfigPath = config.pathsOverrides?.tsconfigLocation; + + + return defineConfig([ + { + files: [`**/*{${allJsExtensions}}`], + languageOptions: getLanguageOptionsTypescript(customTSConfigPath), + }, + { + files: [supportedFileTypes], + languageOptions: { + globals: {...globals.browser, ...globals.node, FixMeLater: 'readonly', NodeJS: true}, + }, + plugins: { unicorn }, + rules: unicornHandPickedRules, + }, + { + files: [supportedFileTypes], + plugins: { regexp: regexpPlugin }, + rules: regexpPlugin.configs['flat/recommended'].rules, + }, + { + files: [supportedFileTypes], + plugins: { sonarjs }, + rules: { + ...sonarjs.configs.recommended.rules, + ...sonarjsHandPickedRules, + }, + }, + { + files: [supportedFileTypes], + plugins: { 'arrow-return-style': arrowReturnStyle }, + rules: { + 'arrow-return-style/arrow-return-style': [ + 2, + { namedExportsAlwaysUseExplicitReturn: false }, + ], + 'arrow-return-style/no-export-default-arrow': 2, + }, + }, + { + files: [supportedFileTypes], + plugins: { + 'simple-import-sort': simpleImportSort, + }, + rules: { + 'simple-import-sort/imports': [ + 2, + { + groups: [ + ['^\\u0000', '^node:', '^', '^@', '^@/', '^#', '^~', '^\\.'], + ], + }, + ], + 'simple-import-sort/exports': 2, + }, + }, + { + files: [supportedFileTypes], + plugins: { import: pluginImport }, + rules: importHandPickedRules, + settings: { + 'import/parsers': { + '@typescript-eslint/parser': ['.ts', '.tsx', '.mts', 'cts'], + espree: ['.js'], + }, + 'import/resolver': { + typescript: { + alwaysTryTypes: true, + }, + node: true, + }, + }, + }, + { + files: ['**/*.d.ts'], + rules: { + 'import/no-default-export': 0, + }, + }, + { + files: [ + '**/*.stories.@(ts|tsx|js|jsx|mjs|cjs)', + '**/*.story.@(ts|tsx|js|jsx|mjs|cjs)', + ], + plugins: { storybook: fixupPluginRules(storybook) }, + rules: { + ...storybook.configs['flat/recommended'][1].rules, + ...storybook.configs['flat/csf'][1].rules, + 'import/no-default-export': 0, + }, + }, + { + files: ['**/.storybook/main.@(js|cjs|mjs|ts)'], + rules: { ...storybook.configs['flat/recommended'][2].rules }, + }, + { + files: [supportedFileTypes], + plugins: { jsdoc }, + rules: jsdocHandPickedRules, + settings: { + jsdoc: { + mode: 'typescript', + }, + }, + }, + { + files: [supportedFileTypes], + plugins: { fsecond }, + rules: { 'fsecond/prefer-destructured-optionals': 2 }, + }, + { + files: ['**/*.config.*'], + rules: { + 'import/no-default-export': 0, + 'import/no-anonymous-default-export': 0, + 'arrow-return-style/no-export-default-arrow': 0, + }, + }, + { + files: [supportedFileTypes], + linterOptions: { + reportUnusedDisableDirectives: 'error', + }, + }, + ]); + }; +} diff --git a/libs/@local/eslint/src/deprecated/config.ts b/libs/@local/eslint/src/deprecated/config.ts new file mode 100644 index 00000000000..ce1f7e92ff6 --- /dev/null +++ b/libs/@local/eslint/src/deprecated/config.ts @@ -0,0 +1,5 @@ +export interface DeprecatedConfig { + pathsOverrides?: { + tsconfigLocation: string; + }; +} diff --git a/libs/@local/eslint/src/deprecated/index.ts b/libs/@local/eslint/src/deprecated/index.ts index ee8d19345ae..00bc34354a6 100644 --- a/libs/@local/eslint/src/deprecated/index.ts +++ b/libs/@local/eslint/src/deprecated/index.ts @@ -1,32 +1,70 @@ -import { fixupConfigRules } from "@eslint/compat"; +import typescriptEslint from "@typescript-eslint/eslint-plugin"; +import canonical from "eslint-plugin-canonical"; +import reactHooks from "eslint-plugin-react-hooks"; +import simpleImportSort from "eslint-plugin-simple-import-sort"; +import unicorn from "eslint-plugin-unicorn"; +import { fixupPluginRules } from "@eslint/compat"; +import globals from "globals"; +import tsParser from "@typescript-eslint/parser"; +import babelParser from "@babel/eslint-parser"; +import path from "node:path"; +import { fileURLToPath } from "node:url"; +import js from "@eslint/js"; import { FlatCompat } from "@eslint/eslintrc"; -import { defineConfig, ESConfig } from "../utils.js"; -import { Array, pipe } from "effect"; -// @ts-expect-error -- no types available -import reactHooksPlugin from "eslint-plugin-react-hooks"; +import { defineConfig } from "../utils.js"; +import { Linter } from "eslint"; -const flatCompat = new FlatCompat(); +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); +const compat = new FlatCompat({ + baseDirectory: __dirname, + recommendedConfig: js.configs.recommended, + allConfig: js.configs.all, +}); -export interface Options {} - -// TODO: try again with a highly reduced set of rules from our base config -export const create = (options: Partial): readonly ESConfig[] => { - return pipe( - fixupConfigRules(flatCompat.extends("airbnb")), - defineConfig, - Array.append({ +export const create = (): readonly Linter.Config[] => + defineConfig([ + ...compat.extends("airbnb", "prettier"), + { plugins: { - "react-hooks": reactHooksPlugin, + "@typescript-eslint": typescriptEslint, + canonical, + "react-hooks": fixupPluginRules(reactHooks), + "simple-import-sort": simpleImportSort, + unicorn, + }, + + linterOptions: { + reportUnusedDisableDirectives: true, + }, + + languageOptions: { + globals: { + ...globals.browser, + ...globals.node, + NodeJS: true, + FixMeLater: "readonly", + globalThis: "readonly", + }, + + parser: tsParser, + }, + + settings: { + "import/resolver": { + node: { + extensions: [".js", ".jsx", ".ts", ".tsx"], + }, + }, }, - } satisfies ESConfig), - Array.append({ + rules: { "canonical/filename-no-index": "error", "@typescript-eslint/consistent-type-imports": "error", - // overridden airbnb rules (if you wish to add to this list, please outline your reasoning here: https://www.notion.so/hashintel/HASH-dev-eslint-configuration-60c52c127d13478fbce6bb5579a6b7be) "no-undef-init": "off", "no-underscore-dangle": "off", "no-nested-ternary": "off", + "no-restricted-syntax": [ "error", { @@ -50,18 +88,19 @@ export const create = (options: Partial): readonly ESConfig[] => { message: "Please replace `any` with a specific type", }, ], + camelcase: "off", - "default-param-last": "off", // using @typescript-eslint/default-param-last instead + "default-param-last": "off", "import/no-cycle": "error", - "import/named": "off", // redundant for TypeScript code, leads to false positives with @blockprotocol/type-system + "import/named": "off", "import/prefer-default-export": "off", "no-await-in-loop": "off", "no-console": "error", "no-dupe-class-members": "off", + "import/no-unresolved": [ 2, { - // graph uses 'exports' field in package.json https://github.com/import-js/eslint-plugin-import/issues/1810 ignore: [ "^@apps/", "^@blockprotocol/graph", @@ -73,27 +112,31 @@ export const create = (options: Partial): readonly ESConfig[] => { ], }, ], + "react/prop-types": "off", - // because we are using typescript this is redundant "jsx-a11y/anchor-is-valid": "off", - // because we use next.js empty anchor tags should be used when using the Link component + "react/jsx-filename-extension": [ 2, { extensions: [".js", ".jsx", ".ts", ".tsx"], }, ], + "react/jsx-props-no-spreading": "off", + "no-void": [ "error", { allowAsStatement: true, }, ], + "no-continue": "off", "react/react-in-jsx-scope": "off", "no-return-await": "off", "max-classes-per-file": "off", + "lines-between-class-members": [ "error", "always", @@ -101,6 +144,7 @@ export const create = (options: Partial): readonly ESConfig[] => { exceptAfterSingleLine: true, }, ], + "consistent-return": "off", "default-case": "off", "class-methods-use-this": "off", @@ -111,14 +155,15 @@ export const create = (options: Partial): readonly ESConfig[] => { "no-else-return": "off", "arrow-body-style": "off", "react/no-unescaped-entities": "off", - // Other rule changes "react-hooks/rules-of-hooks": "error", + "react-hooks/exhaustive-deps": [ "error", { additionalHooks: "^(useModal|useUserGatedEffect)$", }, ], + "react/function-component-definition": [ "error", { @@ -126,9 +171,11 @@ export const create = (options: Partial): readonly ESConfig[] => { unnamedComponents: "arrow-function", }, ], + "react/jsx-key": "error", "react/jsx-no-useless-fragment": "error", "react/self-closing-comp": "error", + "no-restricted-imports": [ "error", { @@ -178,6 +225,7 @@ export const create = (options: Partial): readonly ESConfig[] => { "Please use the custom src/components/Button component instead.", }, ], + patterns: [ { group: [ @@ -186,16 +234,16 @@ export const create = (options: Partial): readonly ESConfig[] => { "!@hashintel/design-system/constants", "!@hashintel/design-system/palettes", ], - importNames: [], + message: "Please import from @hashintel/design-system instead.", }, ], }, ], + "react/require-default-props": "off", "no-shadow": "off", "@typescript-eslint/default-param-last": "error", - // see https://github.com/typescript-eslint/typescript-eslint/issues/2483 "@typescript-eslint/no-shadow": "error", "no-use-before-define": "off", "@typescript-eslint/no-use-before-define": ["error"], @@ -209,6 +257,7 @@ export const create = (options: Partial): readonly ESConfig[] => { null: "ignore", }, ], + "id-length": [ "error", { @@ -217,8 +266,10 @@ export const create = (options: Partial): readonly ESConfig[] => { properties: "never", }, ], + "no-unused-expressions": "error", curly: ["error", "all"], + "import/extensions": [ "error", "ignorePackages", @@ -229,8 +280,10 @@ export const create = (options: Partial): readonly ESConfig[] => { tsx: "never", }, ], + "no-useless-constructor": "off", "@typescript-eslint/no-useless-constructor": ["error"], + "@typescript-eslint/ban-ts-comment": [ "error", { @@ -238,12 +291,15 @@ export const create = (options: Partial): readonly ESConfig[] => { minimumDescriptionLength: 10, }, ], + "no-empty-function": "off", + "no-param-reassign": [ "error", { props: true, ignorePropertyModificationsForRegex: ["^draft"], + ignorePropertyModificationsFor: [ "acc", "accumulator", @@ -259,30 +315,146 @@ export const create = (options: Partial): readonly ESConfig[] => { ], }, ], + "simple-import-sort/exports": "error", "simple-import-sort/imports": "error", "unicorn/filename-case": "error", + "unicorn/import-style": [ "error", { styles: { - react: { named: true }, - "react-dom": { named: true }, + react: { + named: true, + }, + + "react-dom": { + named: true, + }, }, }, ], + "unicorn/no-array-for-each": "error", "unicorn/prefer-node-protocol": "error", }, - } satisfies ESConfig), - Array.append({ - settings: { - "import/resolver": { - node: { - extensions: [".js", ".jsx", ".ts", ".tsx"], + }, + { + files: ["**/*.{c,m,}js"], + + languageOptions: { + parser: babelParser, + ecmaVersion: 5, + sourceType: "script", + + parserOptions: { + requireConfigFile: false, + extraFileExtensions: [".cjs"], + + babelOptions: { + presets: ["@babel/preset-react"], }, }, }, - } satisfies ESConfig), - ); -}; + }, + { + files: [ + "**/tests/**", + "**/__mocks__/**", + "**/testUtils/**", + "**/*.test.{j,t}s{x,}", + ], + + languageOptions: { + globals: { + ...globals.node, + }, + }, + + rules: { + "import/no-extraneous-dependencies": [ + "error", + { + devDependencies: true, + }, + ], + }, + }, + { + files: [".storybook/*", "**/*.stories.{j,t}s{x,}"], + + rules: { + "import/no-extraneous-dependencies": [ + "error", + { + devDependencies: true, + }, + ], + }, + }, + { + files: ["**/*.config.{c,m,}{j,t}s", "**/*.d.ts", "**/*rc.{c,m,}js"], + + rules: { + "global-require": "off", + + "import/no-extraneous-dependencies": [ + "error", + { + devDependencies: true, + }, + ], + }, + }, + ...compat + .extends("plugin:@typescript-eslint/recommended-requiring-type-checking") + .map((config) => ({ + ...config, + files: ["**/*.ts", "**/*.tsx"], + })), + { + files: ["**/*.ts", "**/*.tsx"], + + rules: { + "no-unused-vars": "off", + + "@typescript-eslint/prefer-nullish-coalescing": [ + "error", + { + ignoreMixedLogicalExpressions: true, + }, + ], + + "@typescript-eslint/no-meaningless-void-operator": "error", + + "@typescript-eslint/no-misused-promises": [ + "error", + { + checksVoidReturn: { + attributes: false, + properties: false, + }, + }, + ], + + "no-constant-condition": "off", + "@typescript-eslint/no-unnecessary-condition": "error", + + "@typescript-eslint/no-unused-vars": [ + "error", + { + args: "all", + argsIgnorePattern: "^_+", + varsIgnorePattern: "^_+", + }, + ], + }, + }, + { + files: ["**/scripts/**"], + + rules: { + "no-console": "off", + }, + }, + ]); diff --git a/libs/@local/eslint/src/deprecated/overrides.ts b/libs/@local/eslint/src/deprecated/overrides.ts new file mode 100644 index 00000000000..3131f556ba0 --- /dev/null +++ b/libs/@local/eslint/src/deprecated/overrides.ts @@ -0,0 +1,260 @@ +import { Array } from "effect"; +import { ESConfig } from "../utils.js"; + +export const overrides: (config: readonly ESConfig[]) => readonly ESConfig[] = + Array.append({ + rules: { + "canonical/filename-no-index": "error", + "@typescript-eslint/consistent-type-imports": "error", + // overridden airbnb rules (if you wish to add to this list, please outline your reasoning here: https://www.notion.so/hashintel/HASH-dev-eslint-configuration-60c52c127d13478fbce6bb5579a6b7be) + "no-undef-init": "off", + "no-underscore-dangle": "off", + "no-nested-ternary": "off", + "no-restricted-syntax": [ + "error", + { + selector: + "TSTypeReference[typeName.name=/^(Plugin|PluginKey)$/]:not([typeParameters])", + message: "Please provide a generic to avoid implicit `any`", + }, + { + selector: + "TSTypeReference[typeName.name=/^(Plugin|PluginKey)$/][typeParameters.params.0.type=TSAnyKeyword]", + message: "Please replace `any` with a specific type", + }, + { + selector: + "NewExpression[callee.name=/^(Plugin|PluginKey)$/]:not([typeParameters])", + message: "Please provide a generic to avoid implicit `any`", + }, + { + selector: + "NewExpression[callee.name=/^(Plugin|PluginKey)$/][typeParameters.params.0.type=TSAnyKeyword]", + message: "Please replace `any` with a specific type", + }, + ], + camelcase: "off", + "default-param-last": "off", // using @typescript-eslint/default-param-last instead + "import/no-cycle": "error", + "import/named": "off", // redundant for TypeScript code, leads to false positives with @blockprotocol/type-system + "import/prefer-default-export": "off", + "no-await-in-loop": "off", + "no-console": "error", + "no-dupe-class-members": "off", + "import/no-unresolved": [ + 2, + { + // graph uses 'exports' field in package.json https://github.com/import-js/eslint-plugin-import/issues/1810 + ignore: [ + "^@apps/", + "^@blockprotocol/graph", + "^@blockprotocol/hook", + "^@blockprotocol/service", + "^@blockprotocol/type-system", + "^@hashintel/", + "^@local/", + ], + }, + ], + "react/prop-types": "off", + // because we are using typescript this is redundant + "jsx-a11y/anchor-is-valid": "off", + // because we use next.js empty anchor tags should be used when using the Link component + "react/jsx-filename-extension": [ + 2, + { + extensions: [".js", ".jsx", ".ts", ".tsx"], + }, + ], + "react/jsx-props-no-spreading": "off", + "no-void": [ + "error", + { + allowAsStatement: true, + }, + ], + "no-continue": "off", + "react/react-in-jsx-scope": "off", + "no-return-await": "off", + "max-classes-per-file": "off", + "lines-between-class-members": [ + "error", + "always", + { + exceptAfterSingleLine: true, + }, + ], + "consistent-return": "off", + "default-case": "off", + "class-methods-use-this": "off", + "react/no-unescapted-entities": "off", + "jsx-a11y/no-autofocus": "off", + "no-plusplus": "off", + "prefer-destructuring": "off", + "no-else-return": "off", + "arrow-body-style": "off", + "react/no-unescaped-entities": "off", + // Other rule changes + "react-hooks/rules-of-hooks": "error", + "react-hooks/exhaustive-deps": [ + "error", + { + additionalHooks: "^(useModal|useUserGatedEffect)$", + }, + ], + "react/function-component-definition": [ + "error", + { + namedComponents: "arrow-function", + unnamedComponents: "arrow-function", + }, + ], + "react/jsx-key": "error", + "react/jsx-no-useless-fragment": "error", + "react/self-closing-comp": "error", + "no-restricted-imports": [ + "error", + { + paths: [ + { + name: "react", + importNames: ["FC", "VFC", "VoidFunctionComponent"], + message: "Please use FunctionComponent instead", + }, + { + name: "@testing-library/react", + importNames: ["render"], + message: "Please use ./src/tests/testUtils.tsx#render instead", + }, + { + name: "@mui/material", + importNames: ["Link"], + message: + "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", + }, + { + name: "@mui/material/Link", + message: + "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", + }, + { + name: "next", + importNames: ["Link"], + message: + "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", + }, + { + name: "next/link", + message: + "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", + }, + { + name: "@mui/material", + importNames: ["Button"], + message: + "Please use the custom wrapper component in src/component instead.", + }, + { + name: "@mui/material/Button", + importNames: ["default"], + message: + "Please use the custom src/components/Button component instead.", + }, + ], + patterns: [ + { + group: [ + "@hashintel/design-system/*", + "!@hashintel/design-system/theme", + "!@hashintel/design-system/constants", + "!@hashintel/design-system/palettes", + ], + importNames: [], + message: "Please import from @hashintel/design-system instead.", + }, + ], + }, + ], + "react/require-default-props": "off", + "no-shadow": "off", + "@typescript-eslint/default-param-last": "error", + // see https://github.com/typescript-eslint/typescript-eslint/issues/2483 + "@typescript-eslint/no-shadow": "error", + "no-use-before-define": "off", + "@typescript-eslint/no-use-before-define": ["error"], + "no-redeclare": "off", + "@typescript-eslint/no-redeclare": ["error"], + + eqeqeq: [ + "error", + "always", + { + null: "ignore", + }, + ], + "id-length": [ + "error", + { + min: 2, + exceptions: ["_", "x", "y", "z", "a", "b", "i"], + properties: "never", + }, + ], + "no-unused-expressions": "error", + curly: ["error", "all"], + "import/extensions": [ + "error", + "ignorePackages", + { + js: "never", + jsx: "never", + ts: "never", + tsx: "never", + }, + ], + "no-useless-constructor": "off", + "@typescript-eslint/no-useless-constructor": ["error"], + "@typescript-eslint/ban-ts-comment": [ + "error", + { + "ts-expect-error": "allow-with-description", + minimumDescriptionLength: 10, + }, + ], + "no-empty-function": "off", + "no-param-reassign": [ + "error", + { + props: true, + ignorePropertyModificationsForRegex: ["^draft"], + ignorePropertyModificationsFor: [ + "acc", + "accumulator", + "e", + "ctx", + "context", + "req", + "request", + "res", + "response", + "$scope", + "staticContext", + ], + }, + ], + "simple-import-sort/exports": "error", + "simple-import-sort/imports": "error", + "unicorn/filename-case": "error", + "unicorn/import-style": [ + "error", + { + styles: { + react: { named: true }, + "react-dom": { named: true }, + }, + }, + ], + "unicorn/no-array-for-each": "error", + "unicorn/prefer-node-protocol": "error", + }, + } satisfies ESConfig); diff --git a/yarn.lock b/yarn.lock index ed6c3ebcfe7..f4419d1ddfa 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6203,7 +6203,19 @@ __metadata: languageName: node linkType: hard -"@eslint/compat@npm:1.2.3, @eslint/compat@npm:^1.1.1": +"@eslint/compat@npm:1.2.4": + version: 1.2.4 + resolution: "@eslint/compat@npm:1.2.4" + peerDependencies: + eslint: ^9.10.0 + peerDependenciesMeta: + eslint: + optional: true + checksum: 10c0/afea54435f0ae6b05f1b732132ae4a9d95ff106be0fc9988ac19f31037eb89b2a0e968212be4d2fbf757ff16923031825a27739d94a365559089dfd8269331e3 + languageName: node + linkType: hard + +"@eslint/compat@npm:^1.1.1": version: 1.2.3 resolution: "@eslint/compat@npm:1.2.3" peerDependencies: @@ -8397,7 +8409,7 @@ __metadata: eslint: "npm:8.57.0" eslint-config-airbnb: "npm:19.0.4" eslint-config-prettier: "npm:9.1.0" - eslint-plugin-canonical: "npm:4.18.0" + eslint-plugin-canonical: "npm:5.0.0" eslint-plugin-import: "npm:2.29.1" eslint-plugin-jsx-a11y: "npm:6.8.0" eslint-plugin-react: "npm:7.34.1" @@ -8413,18 +8425,20 @@ __metadata: version: 0.0.0-use.local resolution: "@local/eslint@workspace:libs/@local/eslint" dependencies: - "@eslint/compat": "npm:1.2.3" + "@eslint/compat": "npm:1.2.4" "@eslint/eslintrc": "npm:3.2.0" "@types/eslint__eslintrc": "npm:2.1.2" effect: "npm:3.11.0" eslint: "npm:9.16.0" eslint-config-sheriff: "npm:25.3.0" eslint-plugin-airbnb: "npm:0.0.1-security" - eslint-plugin-react-hooks: "npm:5.0.0" + eslint-plugin-react-hooks: "npm:5.1.0" eslint-plugin-storybook: "npm:0.11.1" eslint-unicorn: "npm:55.0.0" + globals: "npm:15.13.0" rimraf: "npm:6.0.1" typescript: "npm:5.7.2" + typescript-eslint: "npm:8.17.0" languageName: unknown linkType: soft @@ -17872,6 +17886,29 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/eslint-plugin@npm:8.17.0": + version: 8.17.0 + resolution: "@typescript-eslint/eslint-plugin@npm:8.17.0" + dependencies: + "@eslint-community/regexpp": "npm:^4.10.0" + "@typescript-eslint/scope-manager": "npm:8.17.0" + "@typescript-eslint/type-utils": "npm:8.17.0" + "@typescript-eslint/utils": "npm:8.17.0" + "@typescript-eslint/visitor-keys": "npm:8.17.0" + graphemer: "npm:^1.4.0" + ignore: "npm:^5.3.1" + natural-compare: "npm:^1.4.0" + ts-api-utils: "npm:^1.3.0" + peerDependencies: + "@typescript-eslint/parser": ^8.0.0 || ^8.0.0-alpha.0 + eslint: ^8.57.0 || ^9.0.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: 10c0/d78778173571a9a1370345bc2aa3e850235a489d16b8a8b5ba3086b988bbef7549bdae38e509d7a679ba3179c688cc5a408376b158be402770836e94ffc9602d + languageName: node + linkType: hard + "@typescript-eslint/experimental-utils@npm:^5.0.0": version: 5.62.0 resolution: "@typescript-eslint/experimental-utils@npm:5.62.0" @@ -17919,6 +17956,24 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/parser@npm:8.17.0": + version: 8.17.0 + resolution: "@typescript-eslint/parser@npm:8.17.0" + dependencies: + "@typescript-eslint/scope-manager": "npm:8.17.0" + "@typescript-eslint/types": "npm:8.17.0" + "@typescript-eslint/typescript-estree": "npm:8.17.0" + "@typescript-eslint/visitor-keys": "npm:8.17.0" + debug: "npm:^4.3.4" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: 10c0/2543deadf01302a92d3b6f58a4c14f98d8936c4d976e7da05e3bb65608f19d8de93b25282e343c304eca3e3f37f2ac23e97fa9c11c6edff36dd2d4f6b601a630 + languageName: node + linkType: hard + "@typescript-eslint/parser@npm:^6.2.0": version: 6.21.0 resolution: "@typescript-eslint/parser@npm:6.21.0" @@ -17987,6 +18042,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/scope-manager@npm:8.17.0": + version: 8.17.0 + resolution: "@typescript-eslint/scope-manager@npm:8.17.0" + dependencies: + "@typescript-eslint/types": "npm:8.17.0" + "@typescript-eslint/visitor-keys": "npm:8.17.0" + checksum: 10c0/0c08d14240bad4b3f6874f08ba80b29db1a6657437089a6f109db458c544d835bcdc06ba9140bb4f835233ba4326d9a86e6cf6bdb5209960d2f7025aa3191f4f + languageName: node + linkType: hard + "@typescript-eslint/type-utils@npm:7.2.0": version: 7.2.0 resolution: "@typescript-eslint/type-utils@npm:7.2.0" @@ -18021,6 +18086,23 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/type-utils@npm:8.17.0": + version: 8.17.0 + resolution: "@typescript-eslint/type-utils@npm:8.17.0" + dependencies: + "@typescript-eslint/typescript-estree": "npm:8.17.0" + "@typescript-eslint/utils": "npm:8.17.0" + debug: "npm:^4.3.4" + ts-api-utils: "npm:^1.3.0" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: 10c0/6138ec71b5692d4b5e0bf3d7f66a6fa4e91ddea7031907b0ac45a7693df0a2f4cc5bca7218311e0639620d636ceb7efec83a137dfcd5938304d873b774fcc8bd + languageName: node + linkType: hard + "@typescript-eslint/types@npm:5.62.0": version: 5.62.0 resolution: "@typescript-eslint/types@npm:5.62.0" @@ -18056,6 +18138,13 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/types@npm:8.17.0": + version: 8.17.0 + resolution: "@typescript-eslint/types@npm:8.17.0" + checksum: 10c0/26b1bf9dfc3ee783c85c6f354b84c28706d5689d777f3ff2de2cb496e45f9d0189c0d561c03ccbc8b24712438be17cf63dd0871ff3ca2083e7f48749770d1893 + languageName: node + linkType: hard + "@typescript-eslint/typescript-estree@npm:5.62.0, @typescript-eslint/typescript-estree@npm:^5.62.0": version: 5.62.0 resolution: "@typescript-eslint/typescript-estree@npm:5.62.0" @@ -18150,6 +18239,25 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/typescript-estree@npm:8.17.0": + version: 8.17.0 + resolution: "@typescript-eslint/typescript-estree@npm:8.17.0" + dependencies: + "@typescript-eslint/types": "npm:8.17.0" + "@typescript-eslint/visitor-keys": "npm:8.17.0" + debug: "npm:^4.3.4" + fast-glob: "npm:^3.3.2" + is-glob: "npm:^4.0.3" + minimatch: "npm:^9.0.4" + semver: "npm:^7.6.0" + ts-api-utils: "npm:^1.3.0" + peerDependenciesMeta: + typescript: + optional: true + checksum: 10c0/523013f9b5cf2c58c566868e4c3b0b9ac1b4807223a6d64e2a7c58e01e53b6587ba61f1a8241eade361f3f426d6057657515473176141ef8aebb352bc0d223ce + languageName: node + linkType: hard + "@typescript-eslint/utils@npm:5.62.0, @typescript-eslint/utils@npm:^5.62.0": version: 5.62.0 resolution: "@typescript-eslint/utils@npm:5.62.0" @@ -18202,7 +18310,24 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:^6.0.0, @typescript-eslint/utils@npm:^6.1.0": +"@typescript-eslint/utils@npm:8.17.0, @typescript-eslint/utils@npm:^8.2.0": + version: 8.17.0 + resolution: "@typescript-eslint/utils@npm:8.17.0" + dependencies: + "@eslint-community/eslint-utils": "npm:^4.4.0" + "@typescript-eslint/scope-manager": "npm:8.17.0" + "@typescript-eslint/types": "npm:8.17.0" + "@typescript-eslint/typescript-estree": "npm:8.17.0" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: 10c0/a9785ae5f7e7b51d521dc3f48b15093948e4fcd03352c0b60f39bae366cbc935947d215f91e2ae3182d52fa6affb5ccbb50feff487bd1209011f3e0da02cdf07 + languageName: node + linkType: hard + +"@typescript-eslint/utils@npm:^6.0.0": version: 6.21.0 resolution: "@typescript-eslint/utils@npm:6.21.0" dependencies: @@ -18283,6 +18408,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/visitor-keys@npm:8.17.0": + version: 8.17.0 + resolution: "@typescript-eslint/visitor-keys@npm:8.17.0" + dependencies: + "@typescript-eslint/types": "npm:8.17.0" + eslint-visitor-keys: "npm:^4.2.0" + checksum: 10c0/9144c4e4a63034fb2031a0ee1fc77e80594f30cab3faafa9a1f7f83782695774dd32fac8986f260698b4e150b4dd52444f2611c07e4c101501f08353eb47c82c + languageName: node + linkType: hard + "@ungap/structured-clone@npm:^1.0.0, @ungap/structured-clone@npm:^1.2.0": version: 1.2.0 resolution: "@ungap/structured-clone@npm:1.2.0" @@ -25656,7 +25791,32 @@ __metadata: languageName: node linkType: hard -"eslint-import-resolver-typescript@npm:^3.5.3, eslint-import-resolver-typescript@npm:^3.6.3": +"eslint-import-resolver-typescript@npm:^3.6.1": + version: 3.7.0 + resolution: "eslint-import-resolver-typescript@npm:3.7.0" + dependencies: + "@nolyfill/is-core-module": "npm:1.0.39" + debug: "npm:^4.3.7" + enhanced-resolve: "npm:^5.15.0" + fast-glob: "npm:^3.3.2" + get-tsconfig: "npm:^4.7.5" + is-bun-module: "npm:^1.0.2" + is-glob: "npm:^4.0.3" + stable-hash: "npm:^0.0.4" + peerDependencies: + eslint: "*" + eslint-plugin-import: "*" + eslint-plugin-import-x: "*" + peerDependenciesMeta: + eslint-plugin-import: + optional: true + eslint-plugin-import-x: + optional: true + checksum: 10c0/b1dec542a31486b3b5730f71f08a8ee2ac4915dbc4aa1493fd15bc8fcadcb029772ab39a425824c235045b3a7e629290a339d4a7e7f3dd32b24e715106352d40 + languageName: node + linkType: hard + +"eslint-import-resolver-typescript@npm:^3.6.3": version: 3.6.3 resolution: "eslint-import-resolver-typescript@npm:3.6.3" dependencies: @@ -25681,7 +25841,7 @@ __metadata: languageName: node linkType: hard -"eslint-module-utils@npm:^2.12.0, eslint-module-utils@npm:^2.7.4, eslint-module-utils@npm:^2.8.0, eslint-module-utils@npm:^2.8.1": +"eslint-module-utils@npm:^2.12.0, eslint-module-utils@npm:^2.8.0, eslint-module-utils@npm:^2.8.1": version: 2.12.0 resolution: "eslint-module-utils@npm:2.12.0" dependencies: @@ -25730,15 +25890,15 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-canonical@npm:4.18.0": - version: 4.18.0 - resolution: "eslint-plugin-canonical@npm:4.18.0" +"eslint-plugin-canonical@npm:5.0.0": + version: 5.0.0 + resolution: "eslint-plugin-canonical@npm:5.0.0" dependencies: - "@typescript-eslint/utils": "npm:^6.1.0" + "@typescript-eslint/utils": "npm:^8.2.0" chance: "npm:^1.1.11" debug: "npm:^4.3.4" - eslint-import-resolver-typescript: "npm:^3.5.3" - eslint-module-utils: "npm:^2.7.4" + eslint-import-resolver-typescript: "npm:^3.6.1" + eslint-module-utils: "npm:^2.8.1" is-get-set-prop: "npm:^1.0.0" is-js-type: "npm:^2.0.0" is-obj-prop: "npm:^1.0.0" @@ -25749,7 +25909,7 @@ __metadata: roarr: "npm:^7.14.2" ts-unused-exports: "npm:^9.0.3" xregexp: "npm:^5.1.1" - checksum: 10c0/77296af3c14e063ea43d046923fad162a2a221d2a3a0733f1d6ea95830f878965b1ebd36047fab6b5023a8ff5345479230c233442b24c930c243d52c33857ba1 + checksum: 10c0/c4a071a00179deff87c31fdaa66e3c86757ce9af387617078ad4ca042209b201406fd94a7d1096c41459b6c2f3fcf6d47cb5808b2a58030d0abdcac745e93582 languageName: node linkType: hard @@ -26034,7 +26194,16 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-react-hooks@npm:5.0.0, eslint-plugin-react-hooks@npm:^5.0.0": +"eslint-plugin-react-hooks@npm:5.1.0": + version: 5.1.0 + resolution: "eslint-plugin-react-hooks@npm:5.1.0" + peerDependencies: + eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 + checksum: 10c0/37ef76e1d916d46ab8e93a596078efcf2162e2c653614437e0c54e31d02a5dadabec22802fab717effe257aeb4bdc20c2a710666a89ab1cf07e01e614dde75d8 + languageName: node + linkType: hard + +"eslint-plugin-react-hooks@npm:^5.0.0": version: 5.0.0 resolution: "eslint-plugin-react-hooks@npm:5.0.0" peerDependencies: @@ -28614,6 +28783,13 @@ __metadata: languageName: node linkType: hard +"globals@npm:15.13.0, globals@npm:^15.0.0, globals@npm:^15.11.0, globals@npm:^15.7.0": + version: 15.13.0 + resolution: "globals@npm:15.13.0" + checksum: 10c0/640365115ca5f81d91e6a7667f4935021705e61a1a5a76a6ec5c3a5cdf6e53f165af7f9db59b7deb65cf2e1f83d03ac8d6660d0b14c569c831a9b6483eeef585 + languageName: node + linkType: hard + "globals@npm:^11.1.0": version: 11.12.0 resolution: "globals@npm:11.12.0" @@ -28637,13 +28813,6 @@ __metadata: languageName: node linkType: hard -"globals@npm:^15.0.0, globals@npm:^15.11.0, globals@npm:^15.7.0": - version: 15.13.0 - resolution: "globals@npm:15.13.0" - checksum: 10c0/640365115ca5f81d91e6a7667f4935021705e61a1a5a76a6ec5c3a5cdf6e53f165af7f9db59b7deb65cf2e1f83d03ac8d6660d0b14c569c831a9b6483eeef585 - languageName: node - linkType: hard - "globalthis@npm:^1.0.4": version: 1.0.4 resolution: "globalthis@npm:1.0.4" @@ -43004,6 +43173,13 @@ __metadata: languageName: node linkType: hard +"stable-hash@npm:^0.0.4": + version: 0.0.4 + resolution: "stable-hash@npm:0.0.4" + checksum: 10c0/53d010d2a1b014fb60d398c095f43912c353b7b44774e55222bb26fd428bc75b73d7bdfcae509ce927c23ca9c5aff2dc1bc82f191d30e57a879550bc2952bdb0 + languageName: node + linkType: hard + "stack-trace@npm:0.0.x": version: 0.0.10 resolution: "stack-trace@npm:0.0.10" @@ -45327,6 +45503,22 @@ __metadata: languageName: node linkType: hard +"typescript-eslint@npm:8.17.0": + version: 8.17.0 + resolution: "typescript-eslint@npm:8.17.0" + dependencies: + "@typescript-eslint/eslint-plugin": "npm:8.17.0" + "@typescript-eslint/parser": "npm:8.17.0" + "@typescript-eslint/utils": "npm:8.17.0" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: 10c0/b148525769b9afa789ad3c2d52249fa78e67a225d48d17f2f0117b0e8b52566112be3a35de6cd26bcaffba3114be87c1070f7f4b4e2b730c059668fec4a530bc + languageName: node + linkType: hard + "typescript-eslint@npm:^8.15.0": version: 8.16.0 resolution: "typescript-eslint@npm:8.16.0" From a1e8f40f3a65ee445592567c6bd80881d0c4d175 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Mon, 9 Dec 2024 16:46:38 +0100 Subject: [PATCH 06/51] feat: auto generate config from previous version --- libs/@local/eslint/package.json | 20 +- libs/@local/eslint/src/deprecated/base.ts | 615 +++++++++++++----- libs/@local/eslint/src/deprecated/block.ts | 42 ++ libs/@local/eslint/src/deprecated/config.ts | 5 - libs/@local/eslint/src/deprecated/disable.ts | 12 + libs/@local/eslint/src/deprecated/index.ts | 463 +------------ .../@local/eslint/src/deprecated/overrides.ts | 260 -------- libs/@local/eslint/src/index.ts | 3 - libs/@local/eslint/src/storybook.ts | 32 - .../legacy-base-tsconfig-to-refactor.json | 4 +- yarn.lock | 113 +--- 11 files changed, 558 insertions(+), 1011 deletions(-) create mode 100644 libs/@local/eslint/src/deprecated/block.ts delete mode 100644 libs/@local/eslint/src/deprecated/config.ts create mode 100644 libs/@local/eslint/src/deprecated/disable.ts delete mode 100644 libs/@local/eslint/src/deprecated/overrides.ts delete mode 100644 libs/@local/eslint/src/storybook.ts diff --git a/libs/@local/eslint/package.json b/libs/@local/eslint/package.json index 6dbd5c0c054..d69a936c88b 100644 --- a/libs/@local/eslint/package.json +++ b/libs/@local/eslint/package.json @@ -4,11 +4,16 @@ "private": true, "description": "Shared ESLint configuration", "type": "module", - "main": "./dist/index.js", - "types": "./dist/index.d.ts", - "files": [ - "dist" - ], + "exports": { + ".": { + "default": "./index.js", + "types": "./index.d.ts" + }, + "./deprecated": { + "default": "./deprecated/index.js", + "types": "./deprecated/index.d.ts" + } + }, "scripts": { "build": "rimraf dist && tsc --build tsconfig.build.json" }, @@ -17,13 +22,14 @@ "@eslint/eslintrc": "3.2.0", "effect": "3.11.0", "eslint": "9.16.0", + "eslint-config-flat-gitignore": "0.3.0", "eslint-config-sheriff": "25.3.0", "eslint-plugin-airbnb": "0.0.1-security", + "eslint-plugin-canonical": "5.0.0", "eslint-plugin-react-hooks": "5.1.0", "eslint-plugin-storybook": "0.11.1", "eslint-unicorn": "55.0.0", - "globals": "15.13.0", - "typescript-eslint": "8.17.0" + "globals": "15.13.0" }, "devDependencies": { "@types/eslint__eslintrc": "2.1.2", diff --git a/libs/@local/eslint/src/deprecated/base.ts b/libs/@local/eslint/src/deprecated/base.ts index e1e29808cdb..d731bf43543 100644 --- a/libs/@local/eslint/src/deprecated/base.ts +++ b/libs/@local/eslint/src/deprecated/base.ts @@ -1,150 +1,465 @@ -import tseslint from 'typescript-eslint'; -import { defineConfig, ESConfig } from "../utils.js"; -import { DeprecatedConfig } from './config.js'; -import { allJsExtensions, LanguageOptions, supportedFileTypes } from 'eslint-config-sheriff'; -import { fixupConfigRules } from '@eslint/compat'; -import { FlatCompat } from '@eslint/eslintrc'; -import { ESLint, Linter } from 'eslint'; -import globals from 'globals'; - -const flatCompat = new FlatCompat(); - -const getLanguageOptionsTypescript = (customTSConfigPath: string | undefined): Linter.LanguageOptions => { - return { - parser: tseslint.parser, - parserOptions: { - ecmaFeatures: {modules: true}, - project: customTSConfigPath ?? true - } - } -} - -export const base = (config: readonly DeprecatedConfig): ESConfig[] => { - const customTSConfigPath = config.pathsOverrides?.tsconfigLocation; - - - return defineConfig([ - { - files: [`**/*{${allJsExtensions}}`], - languageOptions: getLanguageOptionsTypescript(customTSConfigPath), - }, - { - files: [supportedFileTypes], - languageOptions: { - globals: {...globals.browser, ...globals.node, FixMeLater: 'readonly', NodeJS: true}, - }, - plugins: { unicorn }, - rules: unicornHandPickedRules, - }, - { - files: [supportedFileTypes], - plugins: { regexp: regexpPlugin }, - rules: regexpPlugin.configs['flat/recommended'].rules, - }, - { - files: [supportedFileTypes], - plugins: { sonarjs }, - rules: { - ...sonarjs.configs.recommended.rules, - ...sonarjsHandPickedRules, - }, - }, - { - files: [supportedFileTypes], - plugins: { 'arrow-return-style': arrowReturnStyle }, - rules: { - 'arrow-return-style/arrow-return-style': [ - 2, - { namedExportsAlwaysUseExplicitReturn: false }, - ], - 'arrow-return-style/no-export-default-arrow': 2, - }, - }, - { - files: [supportedFileTypes], - plugins: { - 'simple-import-sort': simpleImportSort, - }, - rules: { - 'simple-import-sort/imports': [ - 2, - { - groups: [ - ['^\\u0000', '^node:', '^', '^@', '^@/', '^#', '^~', '^\\.'], - ], - }, - ], - 'simple-import-sort/exports': 2, - }, - }, - { - files: [supportedFileTypes], - plugins: { import: pluginImport }, - rules: importHandPickedRules, - settings: { - 'import/parsers': { - '@typescript-eslint/parser': ['.ts', '.tsx', '.mts', 'cts'], - espree: ['.js'], - }, - 'import/resolver': { - typescript: { - alwaysTryTypes: true, - }, - node: true, - }, - }, - }, - { - files: ['**/*.d.ts'], - rules: { - 'import/no-default-export': 0, - }, - }, - { - files: [ - '**/*.stories.@(ts|tsx|js|jsx|mjs|cjs)', - '**/*.story.@(ts|tsx|js|jsx|mjs|cjs)', - ], - plugins: { storybook: fixupPluginRules(storybook) }, - rules: { - ...storybook.configs['flat/recommended'][1].rules, - ...storybook.configs['flat/csf'][1].rules, - 'import/no-default-export': 0, - }, - }, - { - files: ['**/.storybook/main.@(js|cjs|mjs|ts)'], - rules: { ...storybook.configs['flat/recommended'][2].rules }, - }, - { - files: [supportedFileTypes], - plugins: { jsdoc }, - rules: jsdocHandPickedRules, - settings: { - jsdoc: { - mode: 'typescript', - }, - }, - }, - { - files: [supportedFileTypes], - plugins: { fsecond }, - rules: { 'fsecond/prefer-destructured-optionals': 2 }, - }, - { - files: ['**/*.config.*'], - rules: { - 'import/no-default-export': 0, - 'import/no-anonymous-default-export': 0, - 'arrow-return-style/no-export-default-arrow': 0, - }, - }, - { - files: [supportedFileTypes], - linterOptions: { - reportUnusedDisableDirectives: 'error', - }, - }, - ]); - }; -} +import getGitignorePatterns from "eslint-config-flat-gitignore"; +import typescriptEslint from "@typescript-eslint/eslint-plugin"; +// @ts-expect-error - react-hooks does not expose types +import canonical from "eslint-plugin-canonical"; +// @ts-expect-error - react-hooks does not expose types +import reactHooks from "eslint-plugin-react-hooks"; +import simpleImportSort from "eslint-plugin-simple-import-sort"; +import unicorn from "eslint-plugin-unicorn"; +import { fixupPluginRules } from "@eslint/compat"; +import globals from "globals"; +import tsParser from "@typescript-eslint/parser"; +import babelParser from "@babel/eslint-parser"; +import path from "node:path"; +import { fileURLToPath } from "node:url"; +import js from "@eslint/js"; +import { FlatCompat } from "@eslint/eslintrc"; +import { ignores } from "eslint-config-sheriff"; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); +const compat = new FlatCompat({ + baseDirectory: __dirname, + recommendedConfig: js.configs.recommended, + allConfig: js.configs.all, +}); + +export const create = () => [ + ...compat.extends("airbnb", "prettier"), + { + plugins: { + "@typescript-eslint": typescriptEslint, + canonical, + "react-hooks": fixupPluginRules(reactHooks), + "simple-import-sort": simpleImportSort, + unicorn, + }, + + linterOptions: { + reportUnusedDisableDirectives: true, + }, + + languageOptions: { + globals: { + ...globals.browser, + ...globals.node, + NodeJS: true, + FixMeLater: "readonly", + globalThis: "readonly", + }, + + parser: tsParser, + }, + + settings: { + "import/resolver": { + node: { + extensions: [".js", ".jsx", ".ts", ".tsx"], + }, + }, + }, + + rules: { + "canonical/filename-no-index": "error", + "@typescript-eslint/consistent-type-imports": "error", + "no-undef-init": "off", + "no-underscore-dangle": "off", + "no-nested-ternary": "off", + + "no-restricted-syntax": [ + "error", + { + selector: + "TSTypeReference[typeName.name=/^(Plugin|PluginKey)$/]:not([typeParameters])", + message: "Please provide a generic to avoid implicit `any`", + }, + { + selector: + "TSTypeReference[typeName.name=/^(Plugin|PluginKey)$/][typeParameters.params.0.type=TSAnyKeyword]", + message: "Please replace `any` with a specific type", + }, + { + selector: + "NewExpression[callee.name=/^(Plugin|PluginKey)$/]:not([typeParameters])", + message: "Please provide a generic to avoid implicit `any`", + }, + { + selector: + "NewExpression[callee.name=/^(Plugin|PluginKey)$/][typeParameters.params.0.type=TSAnyKeyword]", + message: "Please replace `any` with a specific type", + }, + ], + + camelcase: "off", + "default-param-last": "off", + "import/no-cycle": "error", + "import/named": "off", + "import/prefer-default-export": "off", + "no-await-in-loop": "off", + "no-console": "error", + "no-dupe-class-members": "off", + + "import/no-unresolved": [ + 2, + { + ignore: [ + "^@apps/", + "^@blockprotocol/graph", + "^@blockprotocol/hook", + "^@blockprotocol/service", + "^@blockprotocol/type-system", + "^@hashintel/", + "^@local/", + ], + }, + ], + + "react/prop-types": "off", + "jsx-a11y/anchor-is-valid": "off", + + "react/jsx-filename-extension": [ + 2, + { + extensions: [".js", ".jsx", ".ts", ".tsx"], + }, + ], + + "react/jsx-props-no-spreading": "off", + + "no-void": [ + "error", + { + allowAsStatement: true, + }, + ], + + "no-continue": "off", + "react/react-in-jsx-scope": "off", + "no-return-await": "off", + "max-classes-per-file": "off", + + "lines-between-class-members": [ + "error", + "always", + { + exceptAfterSingleLine: true, + }, + ], + + "consistent-return": "off", + "default-case": "off", + "class-methods-use-this": "off", + "react/no-unescapted-entities": "off", + "jsx-a11y/no-autofocus": "off", + "no-plusplus": "off", + "prefer-destructuring": "off", + "no-else-return": "off", + "arrow-body-style": "off", + "react/no-unescaped-entities": "off", + "react-hooks/rules-of-hooks": "error", + + "react-hooks/exhaustive-deps": [ + "error", + { + additionalHooks: "^(useModal|useUserGatedEffect)$", + }, + ], + + "react/function-component-definition": [ + "error", + { + namedComponents: "arrow-function", + unnamedComponents: "arrow-function", + }, + ], + + "react/jsx-key": "error", + "react/jsx-no-useless-fragment": "error", + "react/self-closing-comp": "error", + + "no-restricted-imports": [ + "error", + { + paths: [ + { + name: "react", + importNames: ["FC", "VFC", "VoidFunctionComponent"], + message: "Please use FunctionComponent instead", + }, + { + name: "@testing-library/react", + importNames: ["render"], + message: "Please use ./src/tests/testUtils.tsx#render instead", + }, + { + name: "@mui/material", + importNames: ["Link"], + message: + "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", + }, + { + name: "@mui/material/Link", + message: + "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", + }, + { + name: "next", + importNames: ["Link"], + message: + "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", + }, + { + name: "next/link", + message: + "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", + }, + { + name: "@mui/material", + importNames: ["Button"], + message: + "Please use the custom wrapper component in src/component instead.", + }, + { + name: "@mui/material/Button", + importNames: ["default"], + message: + "Please use the custom src/components/Button component instead.", + }, + ], + + patterns: [ + { + group: [ + "@hashintel/design-system/*", + "!@hashintel/design-system/theme", + "!@hashintel/design-system/constants", + "!@hashintel/design-system/palettes", + ], + + message: "Please import from @hashintel/design-system instead.", + }, + ], + }, + ], + + "react/require-default-props": "off", + "no-shadow": "off", + "@typescript-eslint/default-param-last": "error", + "@typescript-eslint/no-shadow": "error", + "no-use-before-define": "off", + "@typescript-eslint/no-use-before-define": ["error"], + "no-redeclare": "off", + "@typescript-eslint/no-redeclare": ["error"], + + eqeqeq: [ + "error", + "always", + { + null: "ignore", + }, + ], + + "id-length": [ + "error", + { + min: 2, + exceptions: ["_", "x", "y", "z", "a", "b", "i"], + properties: "never", + }, + ], + + "no-unused-expressions": "error", + curly: ["error", "all"], + + "import/extensions": [ + "error", + "ignorePackages", + { + js: "never", + jsx: "never", + ts: "never", + tsx: "never", + }, + ], + + "no-useless-constructor": "off", + "@typescript-eslint/no-useless-constructor": ["error"], + + "@typescript-eslint/ban-ts-comment": [ + "error", + { + "ts-expect-error": "allow-with-description", + minimumDescriptionLength: 10, + }, + ], + + "no-empty-function": "off", + + "no-param-reassign": [ + "error", + { + props: true, + ignorePropertyModificationsForRegex: ["^draft"], + + ignorePropertyModificationsFor: [ + "acc", + "accumulator", + "e", + "ctx", + "context", + "req", + "request", + "res", + "response", + "$scope", + "staticContext", + ], + }, + ], + + "simple-import-sort/exports": "error", + "simple-import-sort/imports": "error", + "unicorn/filename-case": "error", + + "unicorn/import-style": [ + "error", + { + styles: { + react: { + named: true, + }, + + "react-dom": { + named: true, + }, + }, + }, + ], + + "unicorn/no-array-for-each": "error", + "unicorn/prefer-node-protocol": "error", + }, + }, + { + files: ["**/*.{c,m,}js"], + + languageOptions: { + parser: babelParser, + ecmaVersion: 5, + sourceType: "script", + + parserOptions: { + requireConfigFile: false, + extraFileExtensions: [".cjs"], + + babelOptions: { + presets: ["@babel/preset-react"], + }, + }, + }, + }, + { + files: [ + "**/tests/**", + "**/__mocks__/**", + "**/testUtils/**", + "**/*.test.{j,t}s{x,}", + ], + + languageOptions: { + globals: { + ...globals.node, + }, + }, + + rules: { + "import/no-extraneous-dependencies": [ + "error", + { + devDependencies: true, + }, + ], + }, + }, + { + files: [".storybook/*", "**/*.stories.{j,t}s{x,}"], + + rules: { + "import/no-extraneous-dependencies": [ + "error", + { + devDependencies: true, + }, + ], + }, + }, + { + files: ["**/*.config.{c,m,}{j,t}s", "**/*.d.ts", "**/*rc.{c,m,}js"], + + rules: { + "global-require": "off", + + "import/no-extraneous-dependencies": [ + "error", + { + devDependencies: true, + }, + ], + }, + }, + ...compat + .extends("plugin:@typescript-eslint/recommended-requiring-type-checking") + .map((config) => ({ + ...config, + files: ["**/*.ts", "**/*.tsx"], + })), + { + files: ["**/*.ts", "**/*.tsx"], + + rules: { + "no-unused-vars": "off", + + "@typescript-eslint/prefer-nullish-coalescing": [ + "error", + { + ignoreMixedLogicalExpressions: true, + }, + ], + + "@typescript-eslint/no-meaningless-void-operator": "error", + + "@typescript-eslint/no-misused-promises": [ + "error", + { + checksVoidReturn: { + attributes: false, + properties: false, + }, + }, + ], + + "no-constant-condition": "off", + "@typescript-eslint/no-unnecessary-condition": "error", + + "@typescript-eslint/no-unused-vars": [ + "error", + { + args: "all", + argsIgnorePattern: "^_+", + varsIgnorePattern: "^_+", + }, + ], + }, + }, + { + files: ["**/scripts/**"], + + rules: { + "no-console": "off", + }, + }, + getGitignorePatterns({ strict: false }), + { + ignores, + }, +]; diff --git a/libs/@local/eslint/src/deprecated/block.ts b/libs/@local/eslint/src/deprecated/block.ts new file mode 100644 index 00000000000..0cd8e6fd456 --- /dev/null +++ b/libs/@local/eslint/src/deprecated/block.ts @@ -0,0 +1,42 @@ +import getGitignorePatterns from "eslint-config-flat-gitignore"; +import typescriptEslint from "@typescript-eslint/eslint-plugin"; +// @ts-expect-error - react-hooks does not expose types +import reactHooks from "eslint-plugin-react-hooks"; +import react from "eslint-plugin-react"; +import unicorn from "eslint-plugin-unicorn"; +import { fixupPluginRules } from "@eslint/compat"; +import { ignores } from "eslint-config-sheriff"; + +export const create = () => [ + { + plugins: { + "@typescript-eslint": typescriptEslint, + "react-hooks": fixupPluginRules(reactHooks), + react, + unicorn, + }, + + rules: { + curly: ["error", "multi-line"], + + "import/no-extraneous-dependencies": [ + "error", + { + devDependencies: true, + }, + ], + + "jsx-a11y/label-has-associated-control": "off", + "react-hooks/exhaustive-deps": "error", + "react-hooks/rules-of-hooks": "error", + "react/jsx-key": "error", + "react/jsx-no-useless-fragment": "error", + "react/no-danger": "error", + "react/self-closing-comp": "error", + }, + }, + getGitignorePatterns({ strict: false }), + { + ignores, + }, +]; diff --git a/libs/@local/eslint/src/deprecated/config.ts b/libs/@local/eslint/src/deprecated/config.ts deleted file mode 100644 index ce1f7e92ff6..00000000000 --- a/libs/@local/eslint/src/deprecated/config.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface DeprecatedConfig { - pathsOverrides?: { - tsconfigLocation: string; - }; -} diff --git a/libs/@local/eslint/src/deprecated/disable.ts b/libs/@local/eslint/src/deprecated/disable.ts new file mode 100644 index 00000000000..e754ed109f5 --- /dev/null +++ b/libs/@local/eslint/src/deprecated/disable.ts @@ -0,0 +1,12 @@ +import { Array, pipe, Record } from "effect"; +import { ESConfig } from "../utils.js"; + +export const disableRules = (rules: readonly string[]): readonly ESConfig[] => + process.env.CHECK_TEMPORARILY_DISABLED_RULES === "true" + ? [] + : pipe( + rules, + Array.map((rule) => [rule, "off"] as const), + Record.fromEntries, + (rules) => [{ rules }], + ); diff --git a/libs/@local/eslint/src/deprecated/index.ts b/libs/@local/eslint/src/deprecated/index.ts index 00bc34354a6..00073b2a889 100644 --- a/libs/@local/eslint/src/deprecated/index.ts +++ b/libs/@local/eslint/src/deprecated/index.ts @@ -1,460 +1,3 @@ -import typescriptEslint from "@typescript-eslint/eslint-plugin"; -import canonical from "eslint-plugin-canonical"; -import reactHooks from "eslint-plugin-react-hooks"; -import simpleImportSort from "eslint-plugin-simple-import-sort"; -import unicorn from "eslint-plugin-unicorn"; -import { fixupPluginRules } from "@eslint/compat"; -import globals from "globals"; -import tsParser from "@typescript-eslint/parser"; -import babelParser from "@babel/eslint-parser"; -import path from "node:path"; -import { fileURLToPath } from "node:url"; -import js from "@eslint/js"; -import { FlatCompat } from "@eslint/eslintrc"; -import { defineConfig } from "../utils.js"; -import { Linter } from "eslint"; - -const __filename = fileURLToPath(import.meta.url); -const __dirname = path.dirname(__filename); -const compat = new FlatCompat({ - baseDirectory: __dirname, - recommendedConfig: js.configs.recommended, - allConfig: js.configs.all, -}); - -export const create = (): readonly Linter.Config[] => - defineConfig([ - ...compat.extends("airbnb", "prettier"), - { - plugins: { - "@typescript-eslint": typescriptEslint, - canonical, - "react-hooks": fixupPluginRules(reactHooks), - "simple-import-sort": simpleImportSort, - unicorn, - }, - - linterOptions: { - reportUnusedDisableDirectives: true, - }, - - languageOptions: { - globals: { - ...globals.browser, - ...globals.node, - NodeJS: true, - FixMeLater: "readonly", - globalThis: "readonly", - }, - - parser: tsParser, - }, - - settings: { - "import/resolver": { - node: { - extensions: [".js", ".jsx", ".ts", ".tsx"], - }, - }, - }, - - rules: { - "canonical/filename-no-index": "error", - "@typescript-eslint/consistent-type-imports": "error", - "no-undef-init": "off", - "no-underscore-dangle": "off", - "no-nested-ternary": "off", - - "no-restricted-syntax": [ - "error", - { - selector: - "TSTypeReference[typeName.name=/^(Plugin|PluginKey)$/]:not([typeParameters])", - message: "Please provide a generic to avoid implicit `any`", - }, - { - selector: - "TSTypeReference[typeName.name=/^(Plugin|PluginKey)$/][typeParameters.params.0.type=TSAnyKeyword]", - message: "Please replace `any` with a specific type", - }, - { - selector: - "NewExpression[callee.name=/^(Plugin|PluginKey)$/]:not([typeParameters])", - message: "Please provide a generic to avoid implicit `any`", - }, - { - selector: - "NewExpression[callee.name=/^(Plugin|PluginKey)$/][typeParameters.params.0.type=TSAnyKeyword]", - message: "Please replace `any` with a specific type", - }, - ], - - camelcase: "off", - "default-param-last": "off", - "import/no-cycle": "error", - "import/named": "off", - "import/prefer-default-export": "off", - "no-await-in-loop": "off", - "no-console": "error", - "no-dupe-class-members": "off", - - "import/no-unresolved": [ - 2, - { - ignore: [ - "^@apps/", - "^@blockprotocol/graph", - "^@blockprotocol/hook", - "^@blockprotocol/service", - "^@blockprotocol/type-system", - "^@hashintel/", - "^@local/", - ], - }, - ], - - "react/prop-types": "off", - "jsx-a11y/anchor-is-valid": "off", - - "react/jsx-filename-extension": [ - 2, - { - extensions: [".js", ".jsx", ".ts", ".tsx"], - }, - ], - - "react/jsx-props-no-spreading": "off", - - "no-void": [ - "error", - { - allowAsStatement: true, - }, - ], - - "no-continue": "off", - "react/react-in-jsx-scope": "off", - "no-return-await": "off", - "max-classes-per-file": "off", - - "lines-between-class-members": [ - "error", - "always", - { - exceptAfterSingleLine: true, - }, - ], - - "consistent-return": "off", - "default-case": "off", - "class-methods-use-this": "off", - "react/no-unescapted-entities": "off", - "jsx-a11y/no-autofocus": "off", - "no-plusplus": "off", - "prefer-destructuring": "off", - "no-else-return": "off", - "arrow-body-style": "off", - "react/no-unescaped-entities": "off", - "react-hooks/rules-of-hooks": "error", - - "react-hooks/exhaustive-deps": [ - "error", - { - additionalHooks: "^(useModal|useUserGatedEffect)$", - }, - ], - - "react/function-component-definition": [ - "error", - { - namedComponents: "arrow-function", - unnamedComponents: "arrow-function", - }, - ], - - "react/jsx-key": "error", - "react/jsx-no-useless-fragment": "error", - "react/self-closing-comp": "error", - - "no-restricted-imports": [ - "error", - { - paths: [ - { - name: "react", - importNames: ["FC", "VFC", "VoidFunctionComponent"], - message: "Please use FunctionComponent instead", - }, - { - name: "@testing-library/react", - importNames: ["render"], - message: "Please use ./src/tests/testUtils.tsx#render instead", - }, - { - name: "@mui/material", - importNames: ["Link"], - message: - "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", - }, - { - name: "@mui/material/Link", - message: - "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", - }, - { - name: "next", - importNames: ["Link"], - message: - "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", - }, - { - name: "next/link", - message: - "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", - }, - { - name: "@mui/material", - importNames: ["Button"], - message: - "Please use the custom wrapper component in src/component instead.", - }, - { - name: "@mui/material/Button", - importNames: ["default"], - message: - "Please use the custom src/components/Button component instead.", - }, - ], - - patterns: [ - { - group: [ - "@hashintel/design-system/*", - "!@hashintel/design-system/theme", - "!@hashintel/design-system/constants", - "!@hashintel/design-system/palettes", - ], - - message: "Please import from @hashintel/design-system instead.", - }, - ], - }, - ], - - "react/require-default-props": "off", - "no-shadow": "off", - "@typescript-eslint/default-param-last": "error", - "@typescript-eslint/no-shadow": "error", - "no-use-before-define": "off", - "@typescript-eslint/no-use-before-define": ["error"], - "no-redeclare": "off", - "@typescript-eslint/no-redeclare": ["error"], - - eqeqeq: [ - "error", - "always", - { - null: "ignore", - }, - ], - - "id-length": [ - "error", - { - min: 2, - exceptions: ["_", "x", "y", "z", "a", "b", "i"], - properties: "never", - }, - ], - - "no-unused-expressions": "error", - curly: ["error", "all"], - - "import/extensions": [ - "error", - "ignorePackages", - { - js: "never", - jsx: "never", - ts: "never", - tsx: "never", - }, - ], - - "no-useless-constructor": "off", - "@typescript-eslint/no-useless-constructor": ["error"], - - "@typescript-eslint/ban-ts-comment": [ - "error", - { - "ts-expect-error": "allow-with-description", - minimumDescriptionLength: 10, - }, - ], - - "no-empty-function": "off", - - "no-param-reassign": [ - "error", - { - props: true, - ignorePropertyModificationsForRegex: ["^draft"], - - ignorePropertyModificationsFor: [ - "acc", - "accumulator", - "e", - "ctx", - "context", - "req", - "request", - "res", - "response", - "$scope", - "staticContext", - ], - }, - ], - - "simple-import-sort/exports": "error", - "simple-import-sort/imports": "error", - "unicorn/filename-case": "error", - - "unicorn/import-style": [ - "error", - { - styles: { - react: { - named: true, - }, - - "react-dom": { - named: true, - }, - }, - }, - ], - - "unicorn/no-array-for-each": "error", - "unicorn/prefer-node-protocol": "error", - }, - }, - { - files: ["**/*.{c,m,}js"], - - languageOptions: { - parser: babelParser, - ecmaVersion: 5, - sourceType: "script", - - parserOptions: { - requireConfigFile: false, - extraFileExtensions: [".cjs"], - - babelOptions: { - presets: ["@babel/preset-react"], - }, - }, - }, - }, - { - files: [ - "**/tests/**", - "**/__mocks__/**", - "**/testUtils/**", - "**/*.test.{j,t}s{x,}", - ], - - languageOptions: { - globals: { - ...globals.node, - }, - }, - - rules: { - "import/no-extraneous-dependencies": [ - "error", - { - devDependencies: true, - }, - ], - }, - }, - { - files: [".storybook/*", "**/*.stories.{j,t}s{x,}"], - - rules: { - "import/no-extraneous-dependencies": [ - "error", - { - devDependencies: true, - }, - ], - }, - }, - { - files: ["**/*.config.{c,m,}{j,t}s", "**/*.d.ts", "**/*rc.{c,m,}js"], - - rules: { - "global-require": "off", - - "import/no-extraneous-dependencies": [ - "error", - { - devDependencies: true, - }, - ], - }, - }, - ...compat - .extends("plugin:@typescript-eslint/recommended-requiring-type-checking") - .map((config) => ({ - ...config, - files: ["**/*.ts", "**/*.tsx"], - })), - { - files: ["**/*.ts", "**/*.tsx"], - - rules: { - "no-unused-vars": "off", - - "@typescript-eslint/prefer-nullish-coalescing": [ - "error", - { - ignoreMixedLogicalExpressions: true, - }, - ], - - "@typescript-eslint/no-meaningless-void-operator": "error", - - "@typescript-eslint/no-misused-promises": [ - "error", - { - checksVoidReturn: { - attributes: false, - properties: false, - }, - }, - ], - - "no-constant-condition": "off", - "@typescript-eslint/no-unnecessary-condition": "error", - - "@typescript-eslint/no-unused-vars": [ - "error", - { - args: "all", - argsIgnorePattern: "^_+", - varsIgnorePattern: "^_+", - }, - ], - }, - }, - { - files: ["**/scripts/**"], - - rules: { - "no-console": "off", - }, - }, - ]); +export { create as createBase } from "./base.js"; +export { create as createBlock } from "./block.js"; +export { disableRules } from "./disable.js"; diff --git a/libs/@local/eslint/src/deprecated/overrides.ts b/libs/@local/eslint/src/deprecated/overrides.ts deleted file mode 100644 index 3131f556ba0..00000000000 --- a/libs/@local/eslint/src/deprecated/overrides.ts +++ /dev/null @@ -1,260 +0,0 @@ -import { Array } from "effect"; -import { ESConfig } from "../utils.js"; - -export const overrides: (config: readonly ESConfig[]) => readonly ESConfig[] = - Array.append({ - rules: { - "canonical/filename-no-index": "error", - "@typescript-eslint/consistent-type-imports": "error", - // overridden airbnb rules (if you wish to add to this list, please outline your reasoning here: https://www.notion.so/hashintel/HASH-dev-eslint-configuration-60c52c127d13478fbce6bb5579a6b7be) - "no-undef-init": "off", - "no-underscore-dangle": "off", - "no-nested-ternary": "off", - "no-restricted-syntax": [ - "error", - { - selector: - "TSTypeReference[typeName.name=/^(Plugin|PluginKey)$/]:not([typeParameters])", - message: "Please provide a generic to avoid implicit `any`", - }, - { - selector: - "TSTypeReference[typeName.name=/^(Plugin|PluginKey)$/][typeParameters.params.0.type=TSAnyKeyword]", - message: "Please replace `any` with a specific type", - }, - { - selector: - "NewExpression[callee.name=/^(Plugin|PluginKey)$/]:not([typeParameters])", - message: "Please provide a generic to avoid implicit `any`", - }, - { - selector: - "NewExpression[callee.name=/^(Plugin|PluginKey)$/][typeParameters.params.0.type=TSAnyKeyword]", - message: "Please replace `any` with a specific type", - }, - ], - camelcase: "off", - "default-param-last": "off", // using @typescript-eslint/default-param-last instead - "import/no-cycle": "error", - "import/named": "off", // redundant for TypeScript code, leads to false positives with @blockprotocol/type-system - "import/prefer-default-export": "off", - "no-await-in-loop": "off", - "no-console": "error", - "no-dupe-class-members": "off", - "import/no-unresolved": [ - 2, - { - // graph uses 'exports' field in package.json https://github.com/import-js/eslint-plugin-import/issues/1810 - ignore: [ - "^@apps/", - "^@blockprotocol/graph", - "^@blockprotocol/hook", - "^@blockprotocol/service", - "^@blockprotocol/type-system", - "^@hashintel/", - "^@local/", - ], - }, - ], - "react/prop-types": "off", - // because we are using typescript this is redundant - "jsx-a11y/anchor-is-valid": "off", - // because we use next.js empty anchor tags should be used when using the Link component - "react/jsx-filename-extension": [ - 2, - { - extensions: [".js", ".jsx", ".ts", ".tsx"], - }, - ], - "react/jsx-props-no-spreading": "off", - "no-void": [ - "error", - { - allowAsStatement: true, - }, - ], - "no-continue": "off", - "react/react-in-jsx-scope": "off", - "no-return-await": "off", - "max-classes-per-file": "off", - "lines-between-class-members": [ - "error", - "always", - { - exceptAfterSingleLine: true, - }, - ], - "consistent-return": "off", - "default-case": "off", - "class-methods-use-this": "off", - "react/no-unescapted-entities": "off", - "jsx-a11y/no-autofocus": "off", - "no-plusplus": "off", - "prefer-destructuring": "off", - "no-else-return": "off", - "arrow-body-style": "off", - "react/no-unescaped-entities": "off", - // Other rule changes - "react-hooks/rules-of-hooks": "error", - "react-hooks/exhaustive-deps": [ - "error", - { - additionalHooks: "^(useModal|useUserGatedEffect)$", - }, - ], - "react/function-component-definition": [ - "error", - { - namedComponents: "arrow-function", - unnamedComponents: "arrow-function", - }, - ], - "react/jsx-key": "error", - "react/jsx-no-useless-fragment": "error", - "react/self-closing-comp": "error", - "no-restricted-imports": [ - "error", - { - paths: [ - { - name: "react", - importNames: ["FC", "VFC", "VoidFunctionComponent"], - message: "Please use FunctionComponent instead", - }, - { - name: "@testing-library/react", - importNames: ["render"], - message: "Please use ./src/tests/testUtils.tsx#render instead", - }, - { - name: "@mui/material", - importNames: ["Link"], - message: - "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", - }, - { - name: "@mui/material/Link", - message: - "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", - }, - { - name: "next", - importNames: ["Link"], - message: - "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", - }, - { - name: "next/link", - message: - "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", - }, - { - name: "@mui/material", - importNames: ["Button"], - message: - "Please use the custom wrapper component in src/component instead.", - }, - { - name: "@mui/material/Button", - importNames: ["default"], - message: - "Please use the custom src/components/Button component instead.", - }, - ], - patterns: [ - { - group: [ - "@hashintel/design-system/*", - "!@hashintel/design-system/theme", - "!@hashintel/design-system/constants", - "!@hashintel/design-system/palettes", - ], - importNames: [], - message: "Please import from @hashintel/design-system instead.", - }, - ], - }, - ], - "react/require-default-props": "off", - "no-shadow": "off", - "@typescript-eslint/default-param-last": "error", - // see https://github.com/typescript-eslint/typescript-eslint/issues/2483 - "@typescript-eslint/no-shadow": "error", - "no-use-before-define": "off", - "@typescript-eslint/no-use-before-define": ["error"], - "no-redeclare": "off", - "@typescript-eslint/no-redeclare": ["error"], - - eqeqeq: [ - "error", - "always", - { - null: "ignore", - }, - ], - "id-length": [ - "error", - { - min: 2, - exceptions: ["_", "x", "y", "z", "a", "b", "i"], - properties: "never", - }, - ], - "no-unused-expressions": "error", - curly: ["error", "all"], - "import/extensions": [ - "error", - "ignorePackages", - { - js: "never", - jsx: "never", - ts: "never", - tsx: "never", - }, - ], - "no-useless-constructor": "off", - "@typescript-eslint/no-useless-constructor": ["error"], - "@typescript-eslint/ban-ts-comment": [ - "error", - { - "ts-expect-error": "allow-with-description", - minimumDescriptionLength: 10, - }, - ], - "no-empty-function": "off", - "no-param-reassign": [ - "error", - { - props: true, - ignorePropertyModificationsForRegex: ["^draft"], - ignorePropertyModificationsFor: [ - "acc", - "accumulator", - "e", - "ctx", - "context", - "req", - "request", - "res", - "response", - "$scope", - "staticContext", - ], - }, - ], - "simple-import-sort/exports": "error", - "simple-import-sort/imports": "error", - "unicorn/filename-case": "error", - "unicorn/import-style": [ - "error", - { - styles: { - react: { named: true }, - "react-dom": { named: true }, - }, - }, - ], - "unicorn/no-array-for-each": "error", - "unicorn/prefer-node-protocol": "error", - }, - } satisfies ESConfig); diff --git a/libs/@local/eslint/src/index.ts b/libs/@local/eslint/src/index.ts index 864646d0e4d..9ed5863a777 100644 --- a/libs/@local/eslint/src/index.ts +++ b/libs/@local/eslint/src/index.ts @@ -8,7 +8,6 @@ import { react } from "./react.js"; import { stylistic } from "./stylistic.js"; import { typescript } from "./typescript.js"; import { unicorn } from "./unicorn.js"; -import { storybook } from "./storybook.js"; import { defineConfig, ESConfig } from "./utils.js"; // A subset of the allowed rule config, because we're sane @@ -61,13 +60,11 @@ export const create = (options: PartialDeep): readonly ESConfig[] => { return pipe( sheriff(sheriffOptions) as readonly ESConfig[], - defineConfig, builtIn(options), importPlugin, unicorn, react(options), typescript, stylistic, - storybook(options), ); }; diff --git a/libs/@local/eslint/src/storybook.ts b/libs/@local/eslint/src/storybook.ts deleted file mode 100644 index 314be7efa5e..00000000000 --- a/libs/@local/eslint/src/storybook.ts +++ /dev/null @@ -1,32 +0,0 @@ -// This configuration is here only as a stand-in until sheriff supports it, as flat configuration is currently only available in canary. -import type { PartialDeep } from "type-fest"; -import type { Options } from "./index.js"; - -import eslintPluginStorybook from "eslint-plugin-storybook"; -import { defineConfig, ESConfig } from "./utils.js"; - -export const storybook = - (options: PartialDeep) => - (config: readonly ESConfig[]): readonly ESConfig[] => { - if (!options.enabled?.storybook) { - return config; - } - - return defineConfig([ - ...config, - ...(eslintPluginStorybook.configs[ - "flat/recommended" - ] as unknown as readonly ESConfig[]), - { - rules: { - "storybook/no-uninstalled-addons": "error", - }, - }, - { - files: ["*.stories.{j,t}s{x,}"], - rules: { - "import/no-default-export": "off", - }, - }, - ]); - }; diff --git a/libs/@local/tsconfig/legacy-base-tsconfig-to-refactor.json b/libs/@local/tsconfig/legacy-base-tsconfig-to-refactor.json index 92281e929e0..12afbd9bbc9 100644 --- a/libs/@local/tsconfig/legacy-base-tsconfig-to-refactor.json +++ b/libs/@local/tsconfig/legacy-base-tsconfig-to-refactor.json @@ -34,7 +34,9 @@ "@local/hash-subgraph": ["../hash-subgraph/src/main.ts"], "@local/hash-subgraph/*": ["../hash-subgraph/src/*.ts"], "@local/harpc-client": ["../harpc/client/typescript/src/index.ts"], - "@local/harpc-client/*": ["../harpc/client/typescript/src/*/index.ts"] + "@local/harpc-client/*": ["../harpc/client/typescript/src/*/index.ts"]. + "@local/eslint": ["../eslint/src/index.ts"], + "@local/eslint/*": ["../eslint/src/*/index.ts"] }, "outDir": "./dist" }, diff --git a/yarn.lock b/yarn.lock index f4419d1ddfa..1b5bd629295 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8430,15 +8430,16 @@ __metadata: "@types/eslint__eslintrc": "npm:2.1.2" effect: "npm:3.11.0" eslint: "npm:9.16.0" + eslint-config-flat-gitignore: "npm:0.3.0" eslint-config-sheriff: "npm:25.3.0" eslint-plugin-airbnb: "npm:0.0.1-security" + eslint-plugin-canonical: "npm:5.0.0" eslint-plugin-react-hooks: "npm:5.1.0" eslint-plugin-storybook: "npm:0.11.1" eslint-unicorn: "npm:55.0.0" globals: "npm:15.13.0" rimraf: "npm:6.0.1" typescript: "npm:5.7.2" - typescript-eslint: "npm:8.17.0" languageName: unknown linkType: soft @@ -17886,29 +17887,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:8.17.0": - version: 8.17.0 - resolution: "@typescript-eslint/eslint-plugin@npm:8.17.0" - dependencies: - "@eslint-community/regexpp": "npm:^4.10.0" - "@typescript-eslint/scope-manager": "npm:8.17.0" - "@typescript-eslint/type-utils": "npm:8.17.0" - "@typescript-eslint/utils": "npm:8.17.0" - "@typescript-eslint/visitor-keys": "npm:8.17.0" - graphemer: "npm:^1.4.0" - ignore: "npm:^5.3.1" - natural-compare: "npm:^1.4.0" - ts-api-utils: "npm:^1.3.0" - peerDependencies: - "@typescript-eslint/parser": ^8.0.0 || ^8.0.0-alpha.0 - eslint: ^8.57.0 || ^9.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/d78778173571a9a1370345bc2aa3e850235a489d16b8a8b5ba3086b988bbef7549bdae38e509d7a679ba3179c688cc5a408376b158be402770836e94ffc9602d - languageName: node - linkType: hard - "@typescript-eslint/experimental-utils@npm:^5.0.0": version: 5.62.0 resolution: "@typescript-eslint/experimental-utils@npm:5.62.0" @@ -17956,24 +17934,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/parser@npm:8.17.0": - version: 8.17.0 - resolution: "@typescript-eslint/parser@npm:8.17.0" - dependencies: - "@typescript-eslint/scope-manager": "npm:8.17.0" - "@typescript-eslint/types": "npm:8.17.0" - "@typescript-eslint/typescript-estree": "npm:8.17.0" - "@typescript-eslint/visitor-keys": "npm:8.17.0" - debug: "npm:^4.3.4" - peerDependencies: - eslint: ^8.57.0 || ^9.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/2543deadf01302a92d3b6f58a4c14f98d8936c4d976e7da05e3bb65608f19d8de93b25282e343c304eca3e3f37f2ac23e97fa9c11c6edff36dd2d4f6b601a630 - languageName: node - linkType: hard - "@typescript-eslint/parser@npm:^6.2.0": version: 6.21.0 resolution: "@typescript-eslint/parser@npm:6.21.0" @@ -18086,23 +18046,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:8.17.0": - version: 8.17.0 - resolution: "@typescript-eslint/type-utils@npm:8.17.0" - dependencies: - "@typescript-eslint/typescript-estree": "npm:8.17.0" - "@typescript-eslint/utils": "npm:8.17.0" - debug: "npm:^4.3.4" - ts-api-utils: "npm:^1.3.0" - peerDependencies: - eslint: ^8.57.0 || ^9.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/6138ec71b5692d4b5e0bf3d7f66a6fa4e91ddea7031907b0ac45a7693df0a2f4cc5bca7218311e0639620d636ceb7efec83a137dfcd5938304d873b774fcc8bd - languageName: node - linkType: hard - "@typescript-eslint/types@npm:5.62.0": version: 5.62.0 resolution: "@typescript-eslint/types@npm:5.62.0" @@ -18310,23 +18253,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:8.17.0, @typescript-eslint/utils@npm:^8.2.0": - version: 8.17.0 - resolution: "@typescript-eslint/utils@npm:8.17.0" - dependencies: - "@eslint-community/eslint-utils": "npm:^4.4.0" - "@typescript-eslint/scope-manager": "npm:8.17.0" - "@typescript-eslint/types": "npm:8.17.0" - "@typescript-eslint/typescript-estree": "npm:8.17.0" - peerDependencies: - eslint: ^8.57.0 || ^9.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/a9785ae5f7e7b51d521dc3f48b15093948e4fcd03352c0b60f39bae366cbc935947d215f91e2ae3182d52fa6affb5ccbb50feff487bd1209011f3e0da02cdf07 - languageName: node - linkType: hard - "@typescript-eslint/utils@npm:^6.0.0": version: 6.21.0 resolution: "@typescript-eslint/utils@npm:6.21.0" @@ -18358,6 +18284,23 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/utils@npm:^8.2.0": + version: 8.17.0 + resolution: "@typescript-eslint/utils@npm:8.17.0" + dependencies: + "@eslint-community/eslint-utils": "npm:^4.4.0" + "@typescript-eslint/scope-manager": "npm:8.17.0" + "@typescript-eslint/types": "npm:8.17.0" + "@typescript-eslint/typescript-estree": "npm:8.17.0" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: 10c0/a9785ae5f7e7b51d521dc3f48b15093948e4fcd03352c0b60f39bae366cbc935947d215f91e2ae3182d52fa6affb5ccbb50feff487bd1209011f3e0da02cdf07 + languageName: node + linkType: hard + "@typescript-eslint/visitor-keys@npm:5.62.0": version: 5.62.0 resolution: "@typescript-eslint/visitor-keys@npm:5.62.0" @@ -25715,7 +25658,7 @@ __metadata: languageName: node linkType: hard -"eslint-config-flat-gitignore@npm:^0.3.0": +"eslint-config-flat-gitignore@npm:0.3.0, eslint-config-flat-gitignore@npm:^0.3.0": version: 0.3.0 resolution: "eslint-config-flat-gitignore@npm:0.3.0" dependencies: @@ -45503,22 +45446,6 @@ __metadata: languageName: node linkType: hard -"typescript-eslint@npm:8.17.0": - version: 8.17.0 - resolution: "typescript-eslint@npm:8.17.0" - dependencies: - "@typescript-eslint/eslint-plugin": "npm:8.17.0" - "@typescript-eslint/parser": "npm:8.17.0" - "@typescript-eslint/utils": "npm:8.17.0" - peerDependencies: - eslint: ^8.57.0 || ^9.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/b148525769b9afa789ad3c2d52249fa78e67a225d48d17f2f0117b0e8b52566112be3a35de6cd26bcaffba3114be87c1070f7f4b4e2b730c059668fec4a530bc - languageName: node - linkType: hard - "typescript-eslint@npm:^8.15.0": version: 8.16.0 resolution: "typescript-eslint@npm:8.16.0" From 652a134e95d7789073464d7ab7150ca70f51df3c Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Mon, 9 Dec 2024 16:56:21 +0100 Subject: [PATCH 07/51] fix: lint the package itself --- libs/@local/eslint/eslint.config.ts | 3 ++ libs/@local/eslint/package.json | 5 ++- libs/@local/eslint/src/builtIn.ts | 5 +-- libs/@local/eslint/src/index.ts | 25 ++---------- libs/@local/eslint/src/types.ts | 59 +++++++++++++++++++++++++++++ libs/@local/eslint/tsconfig.json | 2 +- yarn.lock | 10 +++++ 7 files changed, 83 insertions(+), 26 deletions(-) create mode 100644 libs/@local/eslint/eslint.config.ts create mode 100644 libs/@local/eslint/src/types.ts diff --git a/libs/@local/eslint/eslint.config.ts b/libs/@local/eslint/eslint.config.ts new file mode 100644 index 00000000000..8c09847e24c --- /dev/null +++ b/libs/@local/eslint/eslint.config.ts @@ -0,0 +1,3 @@ +import { create } from "./src/index.js"; + +export default create({}); diff --git a/libs/@local/eslint/package.json b/libs/@local/eslint/package.json index d69a936c88b..dda39af90ef 100644 --- a/libs/@local/eslint/package.json +++ b/libs/@local/eslint/package.json @@ -15,7 +15,9 @@ } }, "scripts": { - "build": "rimraf dist && tsc --build tsconfig.build.json" + "build": "rimraf dist && tsc --build tsconfig.build.json", + "fix:eslint": "eslint --report-unused-disable-directives --flag unstable_ts_config --fix .", + "lint:eslint": "eslint --report-unused-disable-directives --flag unstable_ts_config ." }, "dependencies": { "@eslint/compat": "1.2.4", @@ -33,6 +35,7 @@ }, "devDependencies": { "@types/eslint__eslintrc": "2.1.2", + "jiti": "2.4.1", "rimraf": "6.0.1", "typescript": "5.7.2" } diff --git a/libs/@local/eslint/src/builtIn.ts b/libs/@local/eslint/src/builtIn.ts index e527ef4da39..ff6be4b47ae 100644 --- a/libs/@local/eslint/src/builtIn.ts +++ b/libs/@local/eslint/src/builtIn.ts @@ -1,9 +1,8 @@ import { Option, pipe, Predicate, Array as ReadonlyArray } from "effect"; -import { defineFlatConfig } from "eslint-define-config"; import type { PartialDeep } from "type-fest"; -import type { NoRestrictedImportsRule, Options } from "./index.js"; -import { Linter } from "eslint"; +import type { Options } from "./index.js"; +import type { NoRestrictedImportsRule } from "./types.js"; import { ESConfig, defineConfig } from "./utils.js"; diff --git a/libs/@local/eslint/src/index.ts b/libs/@local/eslint/src/index.ts index 9ed5863a777..9a90880f1d1 100644 --- a/libs/@local/eslint/src/index.ts +++ b/libs/@local/eslint/src/index.ts @@ -8,29 +8,12 @@ import { react } from "./react.js"; import { stylistic } from "./stylistic.js"; import { typescript } from "./typescript.js"; import { unicorn } from "./unicorn.js"; -import { defineConfig, ESConfig } from "./utils.js"; +import { ESConfig } from "./utils.js"; +import { NoRestrictedImportsRule } from "./types.js"; -// A subset of the allowed rule config, because we're sane -export interface NoRestrictedImportsPath { - name: string; - message?: string; - importNames?: string[]; -} - -export interface NoRestrictedImportsPattern { - importNames?: [string, ...string[]]; - group: [string, ...string[]]; - importNamePattern?: string; - message?: string; - caseSensitive?: boolean; -} - -export interface NoRestrictedImportsRule { - paths?: (NoRestrictedImportsPath | string)[]; - patterns?: NoRestrictedImportsPattern[]; -} +export * from "./types.js"; -interface Modules { +export interface Modules { frontend: "next" | "react" | false; playwright: boolean; tests: boolean; diff --git a/libs/@local/eslint/src/types.ts b/libs/@local/eslint/src/types.ts new file mode 100644 index 00000000000..0b13ae43756 --- /dev/null +++ b/libs/@local/eslint/src/types.ts @@ -0,0 +1,59 @@ +export interface NoRestrictedImportsRule { + paths: Array; + patterns: Array; +} + +export interface NoRestrictedImportPathCommonOptions { + name: string; + message?: string; +} + +export type EitherImportNamesOrAllowImportName = + | { importNames?: string[]; allowImportNames?: never } + | { allowImportNames?: string[]; importNames?: never }; + +export type ValidNoRestrictedImportPathOptions = + NoRestrictedImportPathCommonOptions & EitherImportNamesOrAllowImportName; + +export interface NoRestrictedImportPatternCommonOptions { + message?: string; + caseSensitive?: boolean; +} + +// Base type for group or regex constraint, ensuring mutual exclusivity +export type EitherGroupOrRegEx = + | { group: string[]; regex?: never } + | { regex: string; group?: never }; + +// Base type for import name specifiers, ensuring mutual exclusivity +export type EitherNameSpecifiers = + | { + importNames: string[]; + allowImportNames?: never; + importNamePattern?: never; + allowImportNamePattern?: never; + } + | { + importNamePattern: string; + allowImportNames?: never; + importNames?: never; + allowImportNamePattern?: never; + } + | { + allowImportNames: string[]; + importNames?: never; + importNamePattern?: never; + allowImportNamePattern?: never; + } + | { + allowImportNamePattern: string; + importNames?: never; + allowImportNames?: never; + importNamePattern?: never; + }; + +// Adds oneOf and not constraints, ensuring group or regex are present and mutually exclusive sets for importNames, allowImportNames, etc., as per the schema. +export type ValidNoRestrictedImportPatternOptions = + NoRestrictedImportPatternCommonOptions & + EitherGroupOrRegEx & + EitherNameSpecifiers; diff --git a/libs/@local/eslint/tsconfig.json b/libs/@local/eslint/tsconfig.json index 2dc48b51fe0..746ca3060ac 100644 --- a/libs/@local/eslint/tsconfig.json +++ b/libs/@local/eslint/tsconfig.json @@ -7,6 +7,6 @@ "module": "NodeNext", "moduleResolution": "NodeNext" }, - "include": ["shims", "src", "eslint.config.js", "tsup.config.ts"], + "include": ["shims", "src", "eslint.config.ts"], "exclude": ["node-modules", "dist"] } diff --git a/yarn.lock b/yarn.lock index 1b5bd629295..858d56aa90e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8438,6 +8438,7 @@ __metadata: eslint-plugin-storybook: "npm:0.11.1" eslint-unicorn: "npm:55.0.0" globals: "npm:15.13.0" + jiti: "npm:2.4.1" rimraf: "npm:6.0.1" typescript: "npm:5.7.2" languageName: unknown @@ -31767,6 +31768,15 @@ __metadata: languageName: node linkType: hard +"jiti@npm:2.4.1": + version: 2.4.1 + resolution: "jiti@npm:2.4.1" + bin: + jiti: lib/jiti-cli.mjs + checksum: 10c0/3cf67d1b952a9e8cffbb4f96527880da6cdb58a1eae2a6d2deb4645621dfc8b766d21549f71c6153a2094a40bb635ffafed4cd0dd42f3b3263b187d1ee846225 + languageName: node + linkType: hard + "jiti@npm:^1.17.1": version: 1.21.6 resolution: "jiti@npm:1.21.6" From 311274403551063d709876c481f0243908818a3c Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Mon, 9 Dec 2024 16:58:16 +0100 Subject: [PATCH 08/51] fix: eslint --- libs/@local/eslint/src/builtIn.ts | 7 +++---- libs/@local/eslint/src/deprecated/base.ts | 14 +++++++------- libs/@local/eslint/src/deprecated/block.ts | 6 +++--- libs/@local/eslint/src/deprecated/disable.ts | 2 +- libs/@local/eslint/src/import.ts | 2 +- libs/@local/eslint/src/index.ts | 12 ++++++------ libs/@local/eslint/src/react.ts | 2 +- libs/@local/eslint/src/stylistic.ts | 2 +- libs/@local/eslint/src/types.ts | 4 ++-- libs/@local/eslint/src/typescript.ts | 2 +- libs/@local/eslint/src/unicorn.ts | 2 +- libs/@local/eslint/src/utils.ts | 4 ++-- 12 files changed, 29 insertions(+), 30 deletions(-) diff --git a/libs/@local/eslint/src/builtIn.ts b/libs/@local/eslint/src/builtIn.ts index ff6be4b47ae..741b5772b98 100644 --- a/libs/@local/eslint/src/builtIn.ts +++ b/libs/@local/eslint/src/builtIn.ts @@ -1,10 +1,9 @@ -import { Option, pipe, Predicate, Array as ReadonlyArray } from "effect"; +import { Array as ReadonlyArray, Option, pipe, Predicate } from "effect"; import type { PartialDeep } from "type-fest"; -import type { Options } from "./index.js"; import type { NoRestrictedImportsRule } from "./types.js"; - -import { ESConfig, defineConfig } from "./utils.js"; +import { defineConfig, ESConfig } from "./utils.js"; +import type { Options } from "./index.js"; const mergeRestrictedImports = ( current: NoRestrictedImportsRule, diff --git a/libs/@local/eslint/src/deprecated/base.ts b/libs/@local/eslint/src/deprecated/base.ts index d731bf43543..5b5eab3f1a4 100644 --- a/libs/@local/eslint/src/deprecated/base.ts +++ b/libs/@local/eslint/src/deprecated/base.ts @@ -1,20 +1,20 @@ +import path from "node:path"; +import { fileURLToPath } from "node:url"; import getGitignorePatterns from "eslint-config-flat-gitignore"; -import typescriptEslint from "@typescript-eslint/eslint-plugin"; +import { ignores } from "eslint-config-sheriff"; // @ts-expect-error - react-hooks does not expose types import canonical from "eslint-plugin-canonical"; // @ts-expect-error - react-hooks does not expose types import reactHooks from "eslint-plugin-react-hooks"; import simpleImportSort from "eslint-plugin-simple-import-sort"; import unicorn from "eslint-plugin-unicorn"; -import { fixupPluginRules } from "@eslint/compat"; import globals from "globals"; -import tsParser from "@typescript-eslint/parser"; import babelParser from "@babel/eslint-parser"; -import path from "node:path"; -import { fileURLToPath } from "node:url"; -import js from "@eslint/js"; +import { fixupPluginRules } from "@eslint/compat"; import { FlatCompat } from "@eslint/eslintrc"; -import { ignores } from "eslint-config-sheriff"; +import js from "@eslint/js"; +import typescriptEslint from "@typescript-eslint/eslint-plugin"; +import tsParser from "@typescript-eslint/parser"; const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); diff --git a/libs/@local/eslint/src/deprecated/block.ts b/libs/@local/eslint/src/deprecated/block.ts index 0cd8e6fd456..174d2fb0a21 100644 --- a/libs/@local/eslint/src/deprecated/block.ts +++ b/libs/@local/eslint/src/deprecated/block.ts @@ -1,11 +1,11 @@ import getGitignorePatterns from "eslint-config-flat-gitignore"; -import typescriptEslint from "@typescript-eslint/eslint-plugin"; +import { ignores } from "eslint-config-sheriff"; +import react from "eslint-plugin-react"; // @ts-expect-error - react-hooks does not expose types import reactHooks from "eslint-plugin-react-hooks"; -import react from "eslint-plugin-react"; import unicorn from "eslint-plugin-unicorn"; import { fixupPluginRules } from "@eslint/compat"; -import { ignores } from "eslint-config-sheriff"; +import typescriptEslint from "@typescript-eslint/eslint-plugin"; export const create = () => [ { diff --git a/libs/@local/eslint/src/deprecated/disable.ts b/libs/@local/eslint/src/deprecated/disable.ts index e754ed109f5..b686caa9058 100644 --- a/libs/@local/eslint/src/deprecated/disable.ts +++ b/libs/@local/eslint/src/deprecated/disable.ts @@ -1,5 +1,5 @@ import { Array, pipe, Record } from "effect"; -import { ESConfig } from "../utils.js"; +import type { ESConfig } from "../utils.js"; export const disableRules = (rules: readonly string[]): readonly ESConfig[] => process.env.CHECK_TEMPORARILY_DISABLED_RULES === "true" diff --git a/libs/@local/eslint/src/import.ts b/libs/@local/eslint/src/import.ts index 5f9c219ebe8..7c7e5efa9d9 100644 --- a/libs/@local/eslint/src/import.ts +++ b/libs/@local/eslint/src/import.ts @@ -1,4 +1,4 @@ -import { defineConfig, ESConfig } from "./utils.js"; +import { defineConfig, type ESConfig } from "./utils.js"; export const importPlugin = ( config: readonly ESConfig[], diff --git a/libs/@local/eslint/src/index.ts b/libs/@local/eslint/src/index.ts index 9a90880f1d1..aaad4d6ce91 100644 --- a/libs/@local/eslint/src/index.ts +++ b/libs/@local/eslint/src/index.ts @@ -1,17 +1,17 @@ import { pipe } from "effect"; -import { sheriff, SheriffSettings } from "eslint-config-sheriff"; +import { sheriff, type SheriffSettings } from "eslint-config-sheriff"; import type { PartialDeep } from "type-fest"; import { builtIn } from "./builtIn.js"; import { importPlugin } from "./import.js"; import { react } from "./react.js"; import { stylistic } from "./stylistic.js"; +import type { NoRestrictedImportsRule } from "./types.js"; import { typescript } from "./typescript.js"; import { unicorn } from "./unicorn.js"; -import { ESConfig } from "./utils.js"; -import { NoRestrictedImportsRule } from "./types.js"; +import type { ESConfig } from "./utils.js"; -export * from "./types.js"; +export type * from "./types.js"; export interface Modules { frontend: "next" | "react" | false; @@ -22,8 +22,8 @@ export interface Modules { export interface Options { enabled: Modules; - noRestrictedImports(): NoRestrictedImportsRule[]; - mutableParametersRegex(): string[]; + noRestrictedImports: () => NoRestrictedImportsRule[]; + mutableParametersRegex: () => string[]; } export const create = (options: PartialDeep): readonly ESConfig[] => { diff --git a/libs/@local/eslint/src/react.ts b/libs/@local/eslint/src/react.ts index 28a2dd89ff1..d43f90e0063 100644 --- a/libs/@local/eslint/src/react.ts +++ b/libs/@local/eslint/src/react.ts @@ -1,7 +1,7 @@ import type { PartialDeep } from "type-fest"; +import { defineConfig, type ESConfig } from "./utils.js"; import type { Options } from "./index.js"; -import { defineConfig, ESConfig } from "./utils.js"; export const react = (options: PartialDeep) => diff --git a/libs/@local/eslint/src/stylistic.ts b/libs/@local/eslint/src/stylistic.ts index 991a42e73e8..cb64723357d 100644 --- a/libs/@local/eslint/src/stylistic.ts +++ b/libs/@local/eslint/src/stylistic.ts @@ -1,4 +1,4 @@ -import { defineConfig, ESConfig } from "./utils.js"; +import { defineConfig, type ESConfig } from "./utils.js"; export const stylistic = (config: readonly ESConfig[]): readonly ESConfig[] => defineConfig([ diff --git a/libs/@local/eslint/src/types.ts b/libs/@local/eslint/src/types.ts index 0b13ae43756..222d276663c 100644 --- a/libs/@local/eslint/src/types.ts +++ b/libs/@local/eslint/src/types.ts @@ -1,6 +1,6 @@ export interface NoRestrictedImportsRule { - paths: Array; - patterns: Array; + paths: (string | ValidNoRestrictedImportPathOptions)[]; + patterns: (string | ValidNoRestrictedImportPatternOptions)[]; } export interface NoRestrictedImportPathCommonOptions { diff --git a/libs/@local/eslint/src/typescript.ts b/libs/@local/eslint/src/typescript.ts index 207bf9894ec..62270de9074 100644 --- a/libs/@local/eslint/src/typescript.ts +++ b/libs/@local/eslint/src/typescript.ts @@ -2,7 +2,7 @@ import { Predicate } from "effect"; import type { Linter } from "eslint"; import { JS_EXTENSIONS, JSX_EXTENSIONS } from "./constants.js"; -import { defineConfig, ESConfig } from "./utils.js"; +import { defineConfig, type ESConfig } from "./utils.js"; const namingConvention = ({ tsx }: { tsx: boolean }): Linter.RuleEntry => [ "error", diff --git a/libs/@local/eslint/src/unicorn.ts b/libs/@local/eslint/src/unicorn.ts index 7ac0877b30b..b6356b5c44f 100644 --- a/libs/@local/eslint/src/unicorn.ts +++ b/libs/@local/eslint/src/unicorn.ts @@ -1,5 +1,5 @@ /* eslint-disable unicorn/prevent-abbreviations */ -import { defineConfig, ESConfig } from "./utils.js"; +import { defineConfig, type ESConfig } from "./utils.js"; const preventAbbreviations = (): ESConfig => ({ rules: { diff --git a/libs/@local/eslint/src/utils.ts b/libs/@local/eslint/src/utils.ts index 222c307a2f2..947bee57a05 100644 --- a/libs/@local/eslint/src/utils.ts +++ b/libs/@local/eslint/src/utils.ts @@ -1,5 +1,5 @@ -import { Linter } from "eslint"; -import { ESLintRules } from "eslint/rules"; +import type { Linter } from "eslint"; +import type { ESLintRules } from "eslint/rules"; export type ESConfig = Linter.Config; From 8d9fab40a9e0b21c273539810b8da10f936d395a Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Mon, 9 Dec 2024 17:21:34 +0100 Subject: [PATCH 09/51] fix: eslint issues in eslint --- libs/@local/eslint/src/builtIn.ts | 7 ++++--- libs/@local/eslint/src/deprecated/base.ts | 10 +++++++--- libs/@local/eslint/src/deprecated/block.ts | 1 + libs/@local/eslint/src/deprecated/disable.ts | 3 ++- libs/@local/eslint/src/import.ts | 2 ++ libs/@local/eslint/src/react.ts | 1 + libs/@local/eslint/tsconfig.json | 2 +- 7 files changed, 18 insertions(+), 8 deletions(-) diff --git a/libs/@local/eslint/src/builtIn.ts b/libs/@local/eslint/src/builtIn.ts index 741b5772b98..01b0ff48bf9 100644 --- a/libs/@local/eslint/src/builtIn.ts +++ b/libs/@local/eslint/src/builtIn.ts @@ -2,15 +2,16 @@ import { Array as ReadonlyArray, Option, pipe, Predicate } from "effect"; import type { PartialDeep } from "type-fest"; import type { NoRestrictedImportsRule } from "./types.js"; -import { defineConfig, ESConfig } from "./utils.js"; +import { defineConfig, type ESConfig } from "./utils.js"; + import type { Options } from "./index.js"; const mergeRestrictedImports = ( current: NoRestrictedImportsRule, override: NoRestrictedImportsRule, ): NoRestrictedImportsRule => ({ - paths: [...(current.paths ?? []), ...(override.paths ?? [])], - patterns: [...(current.patterns ?? []), ...(override.patterns ?? [])], + paths: [...current.paths, ...override.paths], + patterns: [...current.patterns, ...override.patterns], }); const noRestrictedImports = ( diff --git a/libs/@local/eslint/src/deprecated/base.ts b/libs/@local/eslint/src/deprecated/base.ts index 5b5eab3f1a4..18ab4373c29 100644 --- a/libs/@local/eslint/src/deprecated/base.ts +++ b/libs/@local/eslint/src/deprecated/base.ts @@ -1,5 +1,6 @@ import path from "node:path"; import { fileURLToPath } from "node:url"; + import getGitignorePatterns from "eslint-config-flat-gitignore"; import { ignores } from "eslint-config-sheriff"; // @ts-expect-error - react-hooks does not expose types @@ -16,10 +17,10 @@ import js from "@eslint/js"; import typescriptEslint from "@typescript-eslint/eslint-plugin"; import tsParser from "@typescript-eslint/parser"; -const __filename = fileURLToPath(import.meta.url); -const __dirname = path.dirname(__filename); +const filename = fileURLToPath(import.meta.url); +const dirname = path.dirname(filename); const compat = new FlatCompat({ - baseDirectory: __dirname, + baseDirectory: dirname, recommendedConfig: js.configs.recommended, allConfig: js.configs.all, }); @@ -30,6 +31,7 @@ export const create = () => [ plugins: { "@typescript-eslint": typescriptEslint, canonical, + /* eslint-disable-next-line @typescript-eslint/no-unsafe-argument */ "react-hooks": fixupPluginRules(reactHooks), "simple-import-sort": simpleImportSort, unicorn, @@ -195,6 +197,7 @@ export const create = () => [ name: "@mui/material", importNames: ["Link"], message: + /* eslint-disable-next-line sonarjs/no-duplicate-string */ "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", }, { @@ -446,6 +449,7 @@ export const create = () => [ { args: "all", argsIgnorePattern: "^_+", + /* eslint-disable-next-line unicorn/prevent-abbreviations */ varsIgnorePattern: "^_+", }, ], diff --git a/libs/@local/eslint/src/deprecated/block.ts b/libs/@local/eslint/src/deprecated/block.ts index 174d2fb0a21..fad9e616125 100644 --- a/libs/@local/eslint/src/deprecated/block.ts +++ b/libs/@local/eslint/src/deprecated/block.ts @@ -11,6 +11,7 @@ export const create = () => [ { plugins: { "@typescript-eslint": typescriptEslint, + /* eslint-disable-next-line @typescript-eslint/no-unsafe-argument */ "react-hooks": fixupPluginRules(reactHooks), react, unicorn, diff --git a/libs/@local/eslint/src/deprecated/disable.ts b/libs/@local/eslint/src/deprecated/disable.ts index b686caa9058..2f0196314bb 100644 --- a/libs/@local/eslint/src/deprecated/disable.ts +++ b/libs/@local/eslint/src/deprecated/disable.ts @@ -1,4 +1,5 @@ import { Array, pipe, Record } from "effect"; + import type { ESConfig } from "../utils.js"; export const disableRules = (rules: readonly string[]): readonly ESConfig[] => @@ -8,5 +9,5 @@ export const disableRules = (rules: readonly string[]): readonly ESConfig[] => rules, Array.map((rule) => [rule, "off"] as const), Record.fromEntries, - (rules) => [{ rules }], + (record) => [{ rules: record }], ); diff --git a/libs/@local/eslint/src/import.ts b/libs/@local/eslint/src/import.ts index 7c7e5efa9d9..7be43759235 100644 --- a/libs/@local/eslint/src/import.ts +++ b/libs/@local/eslint/src/import.ts @@ -29,6 +29,8 @@ export const importPlugin = ( "import/no-amd": "error", // We want to avoid circular dependencies "import/no-cycle": "error", + // We have custom import/order rules that clash with `simple-import-sort` + "simple-import-sort/imports": "off", }, }, ]); diff --git a/libs/@local/eslint/src/react.ts b/libs/@local/eslint/src/react.ts index d43f90e0063..4e9c6f9341e 100644 --- a/libs/@local/eslint/src/react.ts +++ b/libs/@local/eslint/src/react.ts @@ -1,6 +1,7 @@ import type { PartialDeep } from "type-fest"; import { defineConfig, type ESConfig } from "./utils.js"; + import type { Options } from "./index.js"; export const react = diff --git a/libs/@local/eslint/tsconfig.json b/libs/@local/eslint/tsconfig.json index 746ca3060ac..640986c4eab 100644 --- a/libs/@local/eslint/tsconfig.json +++ b/libs/@local/eslint/tsconfig.json @@ -7,6 +7,6 @@ "module": "NodeNext", "moduleResolution": "NodeNext" }, - "include": ["shims", "src", "eslint.config.ts"], + "include": ["src", "eslint.config.ts"], "exclude": ["node-modules", "dist"] } From 4a5a12a4335748fb17aeabdc73c8853ab9d6d88a Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Mon, 9 Dec 2024 17:42:52 +0100 Subject: [PATCH 10/51] feat: convert hash-api --- apps/hash-api/.eslintrc.cjs | 22 - apps/hash-api/eslint.config.js | 25 + apps/hash-api/package.json | 4 +- .../src/ai/gpt/generate-hashgpt-schema.ts | 19 +- .../src/generate-ontology-type-ids.ts | 5 +- .../migrate-ontology-types.ts | 4 +- .../migrate-ontology-types/util.ts | 4 +- ...ument-after-update-entity-hook-callback.ts | 2 +- .../generation/is-generation-available.ts | 2 +- .../resolvers/knowledge/entity/entity.ts | 2 +- .../knowledge/user/get-waitlist-position.ts | 2 +- apps/hash-api/src/seed-data/seed-users.ts | 2 +- apps/hash-api/tsconfig.json | 7 +- .../{vitest.config.js => vitest.config.ts} | 2 +- libs/@local/eslint/eslint.config.js | 3 + libs/@local/eslint/eslint.config.ts | 3 - libs/@local/eslint/package.json | 8 +- libs/@local/eslint/src/deprecated/base.ts | 808 +++++++++--------- libs/@local/eslint/src/deprecated/block.ts | 61 +- libs/@local/eslint/src/deprecated/index.ts | 1 + libs/@local/eslint/tsconfig.json | 2 +- yarn.lock | 645 +++++++++++++- 22 files changed, 1145 insertions(+), 488 deletions(-) delete mode 100644 apps/hash-api/.eslintrc.cjs create mode 100644 apps/hash-api/eslint.config.js rename apps/hash-api/{vitest.config.js => vitest.config.ts} (85%) create mode 100644 libs/@local/eslint/eslint.config.js delete mode 100644 libs/@local/eslint/eslint.config.ts diff --git a/apps/hash-api/.eslintrc.cjs b/apps/hash-api/.eslintrc.cjs deleted file mode 100644 index f843b7007b8..00000000000 --- a/apps/hash-api/.eslintrc.cjs +++ /dev/null @@ -1,22 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-workspace-config.cjs")(__dirname), - rules: { - // @todo Re-enable these rules once ESLint config is refactored - "@typescript-eslint/restrict-plus-operands": "off", - "@typescript-eslint/prefer-nullish-coalescing": "off", - ...require("@local/eslint-config/temporarily-disable-rules.cjs")([ - /* 2022-11-29: 11 */ "@typescript-eslint/no-unsafe-argument", - /* 2022-11-29: 69 */ "@typescript-eslint/no-unsafe-assignment", - /* 2022-11-29: 37 */ "@typescript-eslint/no-unsafe-call", - /* 2022-11-29: 73 */ "@typescript-eslint/no-unsafe-member-access", - /* 2022-11-29: 45 */ "@typescript-eslint/no-unsafe-return", - /* 2022-11-29: 13 */ "@typescript-eslint/require-await", - /* 2022-11-29: 35 */ "@typescript-eslint/restrict-template-expressions", - "canonical/filename-no-index", - ]), - }, - ignorePatterns: require("@local/eslint-config/generate-ignore-patterns.cjs")( - __dirname, - ), -}; diff --git a/apps/hash-api/eslint.config.js b/apps/hash-api/eslint.config.js new file mode 100644 index 00000000000..1b62fb8434e --- /dev/null +++ b/apps/hash-api/eslint.config.js @@ -0,0 +1,25 @@ +import { + createBase, + defineConfig, + disableRules, +} from "@local/eslint/deprecated"; + +export default defineConfig([ + ...createBase(), + { + rules: { + "@typescript-eslint/restrict-plus-operands": "off", + "@typescript-eslint/prefer-nullish-coalescing": "off", + }, + }, + ...disableRules([ + /* 2022-11-29: 11 */ "@typescript-eslint/no-unsafe-argument", + /* 2022-11-29: 69 */ "@typescript-eslint/no-unsafe-assignment", + /* 2022-11-29: 37 */ "@typescript-eslint/no-unsafe-call", + /* 2022-11-29: 73 */ "@typescript-eslint/no-unsafe-member-access", + /* 2022-11-29: 45 */ "@typescript-eslint/no-unsafe-return", + /* 2022-11-29: 13 */ "@typescript-eslint/require-await", + /* 2022-11-29: 35 */ "@typescript-eslint/restrict-template-expressions", + "canonical/filename-no-index", + ]), +]); diff --git a/apps/hash-api/package.json b/apps/hash-api/package.json index 6586cb83e87..14e92162fe7 100644 --- a/apps/hash-api/package.json +++ b/apps/hash-api/package.json @@ -111,7 +111,7 @@ "@graphql-codegen/introspection": "2.2.3", "@graphql-codegen/typescript": "2.8.8", "@graphql-codegen/typescript-resolvers": "2.7.13", - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/app-root-path": "1.2.8", "@types/dedent": "0.7.2", @@ -124,7 +124,7 @@ "@types/mime-types": "2.1.4", "@types/nodemailer": "6.4.17", "@vitest/coverage-istanbul": "2.1.8", - "eslint": "8.57.0", + "eslint": "9.16.0", "prettier": "3.4.2", "rimraf": "6.0.1", "typescript": "5.6.3", diff --git a/apps/hash-api/src/ai/gpt/generate-hashgpt-schema.ts b/apps/hash-api/src/ai/gpt/generate-hashgpt-schema.ts index 2765417229a..622c0a0576b 100644 --- a/apps/hash-api/src/ai/gpt/generate-hashgpt-schema.ts +++ b/apps/hash-api/src/ai/gpt/generate-hashgpt-schema.ts @@ -1,19 +1,19 @@ import { writeFileSync } from "node:fs"; -import { dirname, resolve } from "node:path"; +import path from "node:path"; import { fileURLToPath } from "node:url"; import { apiOrigin } from "@local/hash-isomorphic-utils/environment"; import * as generator from "ts-json-schema-generator"; const __filename = fileURLToPath(import.meta.url); -const __dirname = dirname(__filename); +const __dirname = path.dirname(__filename); const config = { diagnostics: false, noTopRef: true, - path: resolve(__dirname, "gpt-query-entities.ts"), + path: path.resolve(__dirname, "gpt-query-entities.ts"), skipTypeCheck: true, - tsconfig: resolve(__dirname, "../../../tsconfig.json"), + tsconfig: path.resolve(__dirname, "../../../tsconfig.json"), }; const { $ref: queryEntitiesRequestRef, definitions: queryEntitiesRequestDefs } = @@ -30,7 +30,7 @@ const { $ref: queryTypesRequestRef, definitions: queryTypesRequestDefs } = generator .createGenerator({ ...config, - path: resolve(__dirname, "gpt-query-types.ts"), + path: path.resolve(__dirname, "gpt-query-types.ts"), }) .createSchema("GptQueryTypesRequestBody"); @@ -38,7 +38,7 @@ const { $ref: queryTypesResponseRef, definitions: queryTypesResponseDefs } = generator .createGenerator({ ...config, - path: resolve(__dirname, "gpt-query-types.ts"), + path: path.resolve(__dirname, "gpt-query-types.ts"), }) .createSchema("GptQueryTypesResponseBody"); @@ -46,7 +46,7 @@ const { $ref: getUserWebsResponseRef, definitions: getUserWebsResponseDefs } = generator .createGenerator({ ...config, - path: resolve(__dirname, "gpt-get-user-webs.ts"), + path: path.resolve(__dirname, "gpt-get-user-webs.ts"), }) .createSchema("GptGetUserWebsResponseBody"); @@ -153,4 +153,7 @@ const rewrittenSchema = JSON.stringify(openApiSchema, null, 2).replaceAll( "#/components/schemas/", ); -writeFileSync(resolve(__dirname, "openapi-schema.gen.json"), rewrittenSchema); +writeFileSync( + path.resolve(__dirname, "openapi-schema.gen.json"), + rewrittenSchema, +); diff --git a/apps/hash-api/src/generate-ontology-type-ids.ts b/apps/hash-api/src/generate-ontology-type-ids.ts index a7cc35c1206..55f885616c3 100644 --- a/apps/hash-api/src/generate-ontology-type-ids.ts +++ b/apps/hash-api/src/generate-ontology-type-ids.ts @@ -1,6 +1,5 @@ import { writeFile } from "node:fs/promises"; -import * as path from "node:path"; -import { dirname } from "node:path"; +import path from "node:path"; import { fileURLToPath } from "node:url"; import { createGraphClient } from "@local/hash-backend-utils/create-graph-client"; @@ -34,7 +33,7 @@ import { import { getPropertyTypes } from "./graph/ontology/primitive/property-type"; const __filename = fileURLToPath(import.meta.url); -const __dirname = dirname(__filename); +const __dirname = path.dirname(__filename); const outputFileName = "ontology-type-ids.ts"; diff --git a/apps/hash-api/src/graph/ensure-system-graph-is-initialized/migrate-ontology-types.ts b/apps/hash-api/src/graph/ensure-system-graph-is-initialized/migrate-ontology-types.ts index e4ab14a718f..694c659e621 100644 --- a/apps/hash-api/src/graph/ensure-system-graph-is-initialized/migrate-ontology-types.ts +++ b/apps/hash-api/src/graph/ensure-system-graph-is-initialized/migrate-ontology-types.ts @@ -1,5 +1,5 @@ import { readdir } from "node:fs/promises"; -import path, { dirname } from "node:path"; +import path from "node:path"; import { fileURLToPath } from "node:url"; import type { Logger } from "@local/hash-backend-utils/logger"; @@ -13,7 +13,7 @@ import type { } from "./migrate-ontology-types/types"; const __filename = fileURLToPath(import.meta.url); -const __dirname = dirname(__filename); +const __dirname = path.dirname(__filename); /** * Migrate the ontology types in the Graph API. diff --git a/apps/hash-api/src/graph/ensure-system-graph-is-initialized/migrate-ontology-types/util.ts b/apps/hash-api/src/graph/ensure-system-graph-is-initialized/migrate-ontology-types/util.ts index 4cf0cb634bc..813cf3795c0 100644 --- a/apps/hash-api/src/graph/ensure-system-graph-is-initialized/migrate-ontology-types/util.ts +++ b/apps/hash-api/src/graph/ensure-system-graph-is-initialized/migrate-ontology-types/util.ts @@ -1,5 +1,5 @@ /* eslint-disable no-param-reassign */ -import { dirname } from "node:path"; +import path from "node:path"; import { fileURLToPath } from "node:url"; import type { @@ -90,7 +90,7 @@ import { upgradeWebEntities } from "./util/upgrade-entities"; import { upgradeEntityTypeDependencies } from "./util/upgrade-entity-type-dependencies"; const __filename = fileURLToPath(import.meta.url); -const __dirname = dirname(__filename); +const __dirname = path.dirname(__filename); const systemTypeDomain = "https://hash.ai"; diff --git a/apps/hash-api/src/graph/knowledge/primitive/entity/after-update-entity-hooks/file-document-after-update-entity-hook-callback.ts b/apps/hash-api/src/graph/knowledge/primitive/entity/after-update-entity-hooks/file-document-after-update-entity-hook-callback.ts index 837ddd4c7dc..514412c5582 100644 --- a/apps/hash-api/src/graph/knowledge/primitive/entity/after-update-entity-hooks/file-document-after-update-entity-hook-callback.ts +++ b/apps/hash-api/src/graph/knowledge/primitive/entity/after-update-entity-hooks/file-document-after-update-entity-hook-callback.ts @@ -116,7 +116,7 @@ export const parseTextFromFileAfterUpdateEntityHookCallback: AfterUpdateEntityHo maximumAttempts: 1, }, }); - } catch (error) { + } catch { /** @todo: figure out whether this should be logged */ return undefined; } diff --git a/apps/hash-api/src/graphql/resolvers/generation/is-generation-available.ts b/apps/hash-api/src/graphql/resolvers/generation/is-generation-available.ts index 7dcb133203f..0adddb4eb59 100644 --- a/apps/hash-api/src/graphql/resolvers/generation/is-generation-available.ts +++ b/apps/hash-api/src/graphql/resolvers/generation/is-generation-available.ts @@ -36,7 +36,7 @@ export const isGenerationAvailableResolver: ResolverFn< return { available: true, }; - } catch (err) { + } catch { return { available: false, reason: "Invalid OpenAI API key or API error", diff --git a/apps/hash-api/src/graphql/resolvers/knowledge/entity/entity.ts b/apps/hash-api/src/graphql/resolvers/knowledge/entity/entity.ts index c0936caa622..0fe4a6c3aca 100644 --- a/apps/hash-api/src/graphql/resolvers/knowledge/entity/entity.ts +++ b/apps/hash-api/src/graphql/resolvers/knowledge/entity/entity.ts @@ -462,7 +462,7 @@ export const archiveEntitiesResolver: ResolverFn< ); archivedEntities.push(entity); - } catch (error) { + } catch { entitiesThatCouldNotBeArchived.push(entityId); } }), diff --git a/apps/hash-api/src/graphql/resolvers/knowledge/user/get-waitlist-position.ts b/apps/hash-api/src/graphql/resolvers/knowledge/user/get-waitlist-position.ts index 50f7eab4f50..e90d31c13e8 100644 --- a/apps/hash-api/src/graphql/resolvers/knowledge/user/get-waitlist-position.ts +++ b/apps/hash-api/src/graphql/resolvers/knowledge/user/get-waitlist-position.ts @@ -28,7 +28,7 @@ export const getWaitlistPositionResolver: ResolverFn< let data: GetWaitlistPosition200Response; try { ({ data } = await internalApiClient.getWaitlistPosition(email)); - } catch (err) { + } catch { throw new Error("Error fetching waitlist position"); } diff --git a/apps/hash-api/src/seed-data/seed-users.ts b/apps/hash-api/src/seed-data/seed-users.ts index 2bd8b0b4227..b42624b70ab 100644 --- a/apps/hash-api/src/seed-data/seed-users.ts +++ b/apps/hash-api/src/seed-data/seed-users.ts @@ -59,7 +59,7 @@ export const ensureUsersAreSeeded = async ({ try { /** @todo validate the JSON parsed from the environment. */ usersToSeed = JSON.parse(process.env.HASH_SEED_USERS) as SeededUser[]; - } catch (error) { + } catch { logger.error( "Could not parse environment variable `HASH_SEED_USERS` as JSON. Make sure it's formatted correctly.", ); diff --git a/apps/hash-api/tsconfig.json b/apps/hash-api/tsconfig.json index deb107101af..bbd856281f1 100644 --- a/apps/hash-api/tsconfig.json +++ b/apps/hash-api/tsconfig.json @@ -1,4 +1,9 @@ { "extends": "@local/tsconfig/legacy-base-tsconfig-to-refactor.json", - "include": ["src", "codegen.config.ts"] + "include": [ + "src", + "codegen.config.ts", + "eslint.config.js", + "vitest.config.ts" + ] } diff --git a/apps/hash-api/vitest.config.js b/apps/hash-api/vitest.config.ts similarity index 85% rename from apps/hash-api/vitest.config.js rename to apps/hash-api/vitest.config.ts index 35ddc8ed482..bc7fb87a599 100644 --- a/apps/hash-api/vitest.config.js +++ b/apps/hash-api/vitest.config.ts @@ -1,4 +1,4 @@ -/// +// eslint-disable-next-line import/no-unresolved -- false positive import { defineConfig } from "vitest/config"; export default defineConfig({ diff --git a/libs/@local/eslint/eslint.config.js b/libs/@local/eslint/eslint.config.js new file mode 100644 index 00000000000..2cbb345c7b2 --- /dev/null +++ b/libs/@local/eslint/eslint.config.js @@ -0,0 +1,3 @@ +import { create } from "@local/eslint"; + +export default create({}); diff --git a/libs/@local/eslint/eslint.config.ts b/libs/@local/eslint/eslint.config.ts deleted file mode 100644 index 8c09847e24c..00000000000 --- a/libs/@local/eslint/eslint.config.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { create } from "./src/index.js"; - -export default create({}); diff --git a/libs/@local/eslint/package.json b/libs/@local/eslint/package.json index dda39af90ef..75a590a0113 100644 --- a/libs/@local/eslint/package.json +++ b/libs/@local/eslint/package.json @@ -6,12 +6,12 @@ "type": "module", "exports": { ".": { - "default": "./index.js", - "types": "./index.d.ts" + "default": "./dist/src/index.js", + "types": "./dist/src/index.d.ts" }, "./deprecated": { - "default": "./deprecated/index.js", - "types": "./deprecated/index.d.ts" + "default": "./dist/src/deprecated/index.js", + "types": "./dist/src/deprecated/index.d.ts" } }, "scripts": { diff --git a/libs/@local/eslint/src/deprecated/base.ts b/libs/@local/eslint/src/deprecated/base.ts index 18ab4373c29..ede6d6701dd 100644 --- a/libs/@local/eslint/src/deprecated/base.ts +++ b/libs/@local/eslint/src/deprecated/base.ts @@ -17,6 +17,8 @@ import js from "@eslint/js"; import typescriptEslint from "@typescript-eslint/eslint-plugin"; import tsParser from "@typescript-eslint/parser"; +import type { ESConfig } from "../utils.js"; + const filename = fileURLToPath(import.meta.url); const dirname = path.dirname(filename); const compat = new FlatCompat({ @@ -25,445 +27,453 @@ const compat = new FlatCompat({ allConfig: js.configs.all, }); -export const create = () => [ - ...compat.extends("airbnb", "prettier"), - { - plugins: { - "@typescript-eslint": typescriptEslint, - canonical, - /* eslint-disable-next-line @typescript-eslint/no-unsafe-argument */ - "react-hooks": fixupPluginRules(reactHooks), - "simple-import-sort": simpleImportSort, - unicorn, - }, - - linterOptions: { - reportUnusedDisableDirectives: true, - }, - - languageOptions: { - globals: { - ...globals.browser, - ...globals.node, - NodeJS: true, - FixMeLater: "readonly", - globalThis: "readonly", - }, - - parser: tsParser, - }, - - settings: { - "import/resolver": { - node: { - extensions: [".js", ".jsx", ".ts", ".tsx"], +export const create = () => + [ + ...compat.extends("airbnb", "prettier"), + { + languageOptions: { + parserOptions: { + projectService: true, }, }, }, + { + plugins: { + "@typescript-eslint": typescriptEslint, + canonical, + /* eslint-disable-next-line @typescript-eslint/no-unsafe-argument */ + "react-hooks": fixupPluginRules(reactHooks), + "simple-import-sort": simpleImportSort, + unicorn, + }, - rules: { - "canonical/filename-no-index": "error", - "@typescript-eslint/consistent-type-imports": "error", - "no-undef-init": "off", - "no-underscore-dangle": "off", - "no-nested-ternary": "off", - - "no-restricted-syntax": [ - "error", - { - selector: - "TSTypeReference[typeName.name=/^(Plugin|PluginKey)$/]:not([typeParameters])", - message: "Please provide a generic to avoid implicit `any`", - }, - { - selector: - "TSTypeReference[typeName.name=/^(Plugin|PluginKey)$/][typeParameters.params.0.type=TSAnyKeyword]", - message: "Please replace `any` with a specific type", - }, - { - selector: - "NewExpression[callee.name=/^(Plugin|PluginKey)$/]:not([typeParameters])", - message: "Please provide a generic to avoid implicit `any`", - }, - { - selector: - "NewExpression[callee.name=/^(Plugin|PluginKey)$/][typeParameters.params.0.type=TSAnyKeyword]", - message: "Please replace `any` with a specific type", - }, - ], - - camelcase: "off", - "default-param-last": "off", - "import/no-cycle": "error", - "import/named": "off", - "import/prefer-default-export": "off", - "no-await-in-loop": "off", - "no-console": "error", - "no-dupe-class-members": "off", - - "import/no-unresolved": [ - 2, - { - ignore: [ - "^@apps/", - "^@blockprotocol/graph", - "^@blockprotocol/hook", - "^@blockprotocol/service", - "^@blockprotocol/type-system", - "^@hashintel/", - "^@local/", - ], - }, - ], - - "react/prop-types": "off", - "jsx-a11y/anchor-is-valid": "off", - - "react/jsx-filename-extension": [ - 2, - { - extensions: [".js", ".jsx", ".ts", ".tsx"], - }, - ], - - "react/jsx-props-no-spreading": "off", - - "no-void": [ - "error", - { - allowAsStatement: true, - }, - ], - - "no-continue": "off", - "react/react-in-jsx-scope": "off", - "no-return-await": "off", - "max-classes-per-file": "off", - - "lines-between-class-members": [ - "error", - "always", - { - exceptAfterSingleLine: true, - }, - ], - - "consistent-return": "off", - "default-case": "off", - "class-methods-use-this": "off", - "react/no-unescapted-entities": "off", - "jsx-a11y/no-autofocus": "off", - "no-plusplus": "off", - "prefer-destructuring": "off", - "no-else-return": "off", - "arrow-body-style": "off", - "react/no-unescaped-entities": "off", - "react-hooks/rules-of-hooks": "error", - - "react-hooks/exhaustive-deps": [ - "error", - { - additionalHooks: "^(useModal|useUserGatedEffect)$", - }, - ], + linterOptions: { + reportUnusedDisableDirectives: true, + }, - "react/function-component-definition": [ - "error", - { - namedComponents: "arrow-function", - unnamedComponents: "arrow-function", + languageOptions: { + globals: { + ...globals.browser, + ...globals.node, + NodeJS: true, + FixMeLater: "readonly", + globalThis: "readonly", }, - ], - "react/jsx-key": "error", - "react/jsx-no-useless-fragment": "error", - "react/self-closing-comp": "error", - - "no-restricted-imports": [ - "error", - { - paths: [ - { - name: "react", - importNames: ["FC", "VFC", "VoidFunctionComponent"], - message: "Please use FunctionComponent instead", - }, - { - name: "@testing-library/react", - importNames: ["render"], - message: "Please use ./src/tests/testUtils.tsx#render instead", - }, - { - name: "@mui/material", - importNames: ["Link"], - message: - /* eslint-disable-next-line sonarjs/no-duplicate-string */ - "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", - }, - { - name: "@mui/material/Link", - message: - "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", - }, - { - name: "next", - importNames: ["Link"], - message: - "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", - }, - { - name: "next/link", - message: - "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", - }, - { - name: "@mui/material", - importNames: ["Button"], - message: - "Please use the custom wrapper component in src/component instead.", - }, - { - name: "@mui/material/Button", - importNames: ["default"], - message: - "Please use the custom src/components/Button component instead.", - }, - ], - - patterns: [ - { - group: [ - "@hashintel/design-system/*", - "!@hashintel/design-system/theme", - "!@hashintel/design-system/constants", - "!@hashintel/design-system/palettes", - ], - - message: "Please import from @hashintel/design-system instead.", - }, - ], - }, - ], + parser: tsParser, + }, - "react/require-default-props": "off", - "no-shadow": "off", - "@typescript-eslint/default-param-last": "error", - "@typescript-eslint/no-shadow": "error", - "no-use-before-define": "off", - "@typescript-eslint/no-use-before-define": ["error"], - "no-redeclare": "off", - "@typescript-eslint/no-redeclare": ["error"], - - eqeqeq: [ - "error", - "always", - { - null: "ignore", + settings: { + "import/resolver": { + node: { + extensions: [".js", ".jsx", ".ts", ".tsx"], + }, }, - ], + }, - "id-length": [ - "error", - { - min: 2, - exceptions: ["_", "x", "y", "z", "a", "b", "i"], - properties: "never", - }, - ], + rules: { + "canonical/filename-no-index": "error", + "@typescript-eslint/consistent-type-imports": "error", + "no-undef-init": "off", + "no-underscore-dangle": "off", + "no-nested-ternary": "off", + + "no-restricted-syntax": [ + "error", + { + selector: + "TSTypeReference[typeName.name=/^(Plugin|PluginKey)$/]:not([typeParameters])", + message: "Please provide a generic to avoid implicit `any`", + }, + { + selector: + "TSTypeReference[typeName.name=/^(Plugin|PluginKey)$/][typeParameters.params.0.type=TSAnyKeyword]", + message: "Please replace `any` with a specific type", + }, + { + selector: + "NewExpression[callee.name=/^(Plugin|PluginKey)$/]:not([typeParameters])", + message: "Please provide a generic to avoid implicit `any`", + }, + { + selector: + "NewExpression[callee.name=/^(Plugin|PluginKey)$/][typeParameters.params.0.type=TSAnyKeyword]", + message: "Please replace `any` with a specific type", + }, + ], + + camelcase: "off", + "default-param-last": "off", + "import/no-cycle": "error", + "import/named": "off", + "import/prefer-default-export": "off", + "no-await-in-loop": "off", + "no-console": "error", + "no-dupe-class-members": "off", + + "import/no-unresolved": [ + 2, + { + ignore: [ + "^@apps/", + "^@blockprotocol/graph", + "^@blockprotocol/hook", + "^@blockprotocol/service", + "^@blockprotocol/type-system", + "^@hashintel/", + "^@local/", + ], + }, + ], - "no-unused-expressions": "error", - curly: ["error", "all"], - - "import/extensions": [ - "error", - "ignorePackages", - { - js: "never", - jsx: "never", - ts: "never", - tsx: "never", - }, - ], + "react/prop-types": "off", + "jsx-a11y/anchor-is-valid": "off", - "no-useless-constructor": "off", - "@typescript-eslint/no-useless-constructor": ["error"], + "react/jsx-filename-extension": [ + 2, + { + extensions: [".js", ".jsx", ".ts", ".tsx"], + }, + ], - "@typescript-eslint/ban-ts-comment": [ - "error", - { - "ts-expect-error": "allow-with-description", - minimumDescriptionLength: 10, - }, - ], + "react/jsx-props-no-spreading": "off", - "no-empty-function": "off", - - "no-param-reassign": [ - "error", - { - props: true, - ignorePropertyModificationsForRegex: ["^draft"], - - ignorePropertyModificationsFor: [ - "acc", - "accumulator", - "e", - "ctx", - "context", - "req", - "request", - "res", - "response", - "$scope", - "staticContext", - ], - }, - ], + "no-void": [ + "error", + { + allowAsStatement: true, + }, + ], + + "no-continue": "off", + "react/react-in-jsx-scope": "off", + "no-return-await": "off", + "max-classes-per-file": "off", + + "lines-between-class-members": [ + "error", + "always", + { + exceptAfterSingleLine: true, + }, + ], + + "consistent-return": "off", + "default-case": "off", + "class-methods-use-this": "off", + "react/no-unescapted-entities": "off", + "jsx-a11y/no-autofocus": "off", + "no-plusplus": "off", + "prefer-destructuring": "off", + "no-else-return": "off", + "arrow-body-style": "off", + "react/no-unescaped-entities": "off", + "react-hooks/rules-of-hooks": "error", + + "react-hooks/exhaustive-deps": [ + "error", + { + additionalHooks: "^(useModal|useUserGatedEffect)$", + }, + ], - "simple-import-sort/exports": "error", - "simple-import-sort/imports": "error", - "unicorn/filename-case": "error", + "react/function-component-definition": [ + "error", + { + namedComponents: "arrow-function", + unnamedComponents: "arrow-function", + }, + ], + + "react/jsx-key": "error", + "react/jsx-no-useless-fragment": "error", + "react/self-closing-comp": "error", + + "no-restricted-imports": [ + "error", + { + paths: [ + { + name: "react", + importNames: ["FC", "VFC", "VoidFunctionComponent"], + message: "Please use FunctionComponent instead", + }, + { + name: "@testing-library/react", + importNames: ["render"], + message: "Please use ./src/tests/testUtils.tsx#render instead", + }, + { + name: "@mui/material", + importNames: ["Link"], + message: + /* eslint-disable-next-line sonarjs/no-duplicate-string */ + "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", + }, + { + name: "@mui/material/Link", + message: + "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", + }, + { + name: "next", + importNames: ["Link"], + message: + "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", + }, + { + name: "next/link", + message: + "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", + }, + { + name: "@mui/material", + importNames: ["Button"], + message: + "Please use the custom wrapper component in src/component instead.", + }, + { + name: "@mui/material/Button", + importNames: ["default"], + message: + "Please use the custom src/components/Button component instead.", + }, + ], + + patterns: [ + { + group: [ + "@hashintel/design-system/*", + "!@hashintel/design-system/theme", + "!@hashintel/design-system/constants", + "!@hashintel/design-system/palettes", + ], + + message: "Please import from @hashintel/design-system instead.", + }, + ], + }, + ], + + "react/require-default-props": "off", + "no-shadow": "off", + "@typescript-eslint/default-param-last": "error", + "@typescript-eslint/no-shadow": "error", + "no-use-before-define": "off", + "@typescript-eslint/no-use-before-define": ["error"], + "no-redeclare": "off", + "@typescript-eslint/no-redeclare": ["error"], + + eqeqeq: [ + "error", + "always", + { + null: "ignore", + }, + ], + + "id-length": [ + "error", + { + min: 2, + exceptions: ["_", "x", "y", "z", "a", "b", "i"], + properties: "never", + }, + ], + + "no-unused-expressions": "error", + curly: ["error", "all"], + + "import/extensions": [ + "error", + "ignorePackages", + { + js: "never", + jsx: "never", + ts: "never", + tsx: "never", + }, + ], - "unicorn/import-style": [ - "error", - { - styles: { - react: { - named: true, - }, + "no-useless-constructor": "off", + "@typescript-eslint/no-useless-constructor": ["error"], - "react-dom": { - named: true, + "@typescript-eslint/ban-ts-comment": [ + "error", + { + "ts-expect-error": "allow-with-description", + minimumDescriptionLength: 10, + }, + ], + + "no-empty-function": "off", + + "no-param-reassign": [ + "error", + { + props: true, + ignorePropertyModificationsForRegex: ["^draft"], + + ignorePropertyModificationsFor: [ + "acc", + "accumulator", + "e", + "ctx", + "context", + "req", + "request", + "res", + "response", + "$scope", + "staticContext", + ], + }, + ], + + "simple-import-sort/exports": "error", + "simple-import-sort/imports": "error", + "unicorn/filename-case": "error", + + "unicorn/import-style": [ + "error", + { + styles: { + react: { + named: true, + }, + + "react-dom": { + named: true, + }, }, }, - }, - ], + ], - "unicorn/no-array-for-each": "error", - "unicorn/prefer-node-protocol": "error", + "unicorn/no-array-for-each": "error", + "unicorn/prefer-node-protocol": "error", + }, }, - }, - { - files: ["**/*.{c,m,}js"], + { + files: ["**/*.{c,m,}js"], - languageOptions: { - parser: babelParser, - ecmaVersion: 5, - sourceType: "script", + languageOptions: { + parser: babelParser, + ecmaVersion: 5, + sourceType: "script", - parserOptions: { - requireConfigFile: false, - extraFileExtensions: [".cjs"], + parserOptions: { + requireConfigFile: false, + extraFileExtensions: [".cjs"], - babelOptions: { - presets: ["@babel/preset-react"], + babelOptions: { + presets: ["@babel/preset-react"], + }, }, }, }, - }, - { - files: [ - "**/tests/**", - "**/__mocks__/**", - "**/testUtils/**", - "**/*.test.{j,t}s{x,}", - ], - - languageOptions: { - globals: { - ...globals.node, - }, - }, + { + files: [ + "**/tests/**", + "**/__mocks__/**", + "**/testUtils/**", + "**/*.test.{j,t}s{x,}", + ], - rules: { - "import/no-extraneous-dependencies": [ - "error", - { - devDependencies: true, + languageOptions: { + globals: { + ...globals.node, }, - ], + }, + + rules: { + "import/no-extraneous-dependencies": [ + "error", + { + devDependencies: true, + }, + ], + }, }, - }, - { - files: [".storybook/*", "**/*.stories.{j,t}s{x,}"], - - rules: { - "import/no-extraneous-dependencies": [ - "error", - { - devDependencies: true, - }, - ], + { + files: [".storybook/*", "**/*.stories.{j,t}s{x,}"], + + rules: { + "import/no-extraneous-dependencies": [ + "error", + { + devDependencies: true, + }, + ], + }, }, - }, - { - files: ["**/*.config.{c,m,}{j,t}s", "**/*.d.ts", "**/*rc.{c,m,}js"], + { + files: ["**/*.config.{c,m,}{j,t}s", "**/*.d.ts", "**/*rc.{c,m,}js"], - rules: { - "global-require": "off", + rules: { + "global-require": "off", - "import/no-extraneous-dependencies": [ - "error", - { - devDependencies: true, - }, - ], + "import/no-extraneous-dependencies": [ + "error", + { + devDependencies: true, + }, + ], + }, }, - }, - ...compat - .extends("plugin:@typescript-eslint/recommended-requiring-type-checking") - .map((config) => ({ - ...config, + ...compat + .extends("plugin:@typescript-eslint/recommended-requiring-type-checking") + .map((config) => ({ + ...config, + files: ["**/*.ts", "**/*.tsx"], + })), + { files: ["**/*.ts", "**/*.tsx"], - })), - { - files: ["**/*.ts", "**/*.tsx"], - rules: { - "no-unused-vars": "off", + rules: { + "no-unused-vars": "off", - "@typescript-eslint/prefer-nullish-coalescing": [ - "error", - { - ignoreMixedLogicalExpressions: true, - }, - ], - - "@typescript-eslint/no-meaningless-void-operator": "error", - - "@typescript-eslint/no-misused-promises": [ - "error", - { - checksVoidReturn: { - attributes: false, - properties: false, + "@typescript-eslint/prefer-nullish-coalescing": [ + "error", + { + ignoreMixedLogicalExpressions: true, }, - }, - ], + ], - "no-constant-condition": "off", - "@typescript-eslint/no-unnecessary-condition": "error", + "@typescript-eslint/no-meaningless-void-operator": "error", - "@typescript-eslint/no-unused-vars": [ - "error", - { - args: "all", - argsIgnorePattern: "^_+", - /* eslint-disable-next-line unicorn/prevent-abbreviations */ - varsIgnorePattern: "^_+", - }, - ], + "@typescript-eslint/no-misused-promises": [ + "error", + { + checksVoidReturn: { + attributes: false, + properties: false, + }, + }, + ], + + "no-constant-condition": "off", + "@typescript-eslint/no-unnecessary-condition": "error", + + "@typescript-eslint/no-unused-vars": [ + "error", + { + args: "all", + argsIgnorePattern: "^_+", + /* eslint-disable-next-line unicorn/prevent-abbreviations */ + varsIgnorePattern: "^_+", + }, + ], + }, }, - }, - { - files: ["**/scripts/**"], + { + files: ["**/scripts/**"], - rules: { - "no-console": "off", + rules: { + "no-console": "off", + }, + }, + getGitignorePatterns({ strict: false }), + { + ignores, }, - }, - getGitignorePatterns({ strict: false }), - { - ignores, - }, -]; + ] as readonly ESConfig[]; diff --git a/libs/@local/eslint/src/deprecated/block.ts b/libs/@local/eslint/src/deprecated/block.ts index fad9e616125..f5b5246bd32 100644 --- a/libs/@local/eslint/src/deprecated/block.ts +++ b/libs/@local/eslint/src/deprecated/block.ts @@ -7,37 +7,38 @@ import unicorn from "eslint-plugin-unicorn"; import { fixupPluginRules } from "@eslint/compat"; import typescriptEslint from "@typescript-eslint/eslint-plugin"; -export const create = () => [ - { - plugins: { - "@typescript-eslint": typescriptEslint, - /* eslint-disable-next-line @typescript-eslint/no-unsafe-argument */ - "react-hooks": fixupPluginRules(reactHooks), - react, - unicorn, - }, +export const create = () => + [ + { + plugins: { + "@typescript-eslint": typescriptEslint, + /* eslint-disable-next-line @typescript-eslint/no-unsafe-argument */ + "react-hooks": fixupPluginRules(reactHooks), + react, + unicorn, + }, - rules: { - curly: ["error", "multi-line"], + rules: { + curly: ["error", "multi-line"], - "import/no-extraneous-dependencies": [ - "error", - { - devDependencies: true, - }, - ], + "import/no-extraneous-dependencies": [ + "error", + { + devDependencies: true, + }, + ], - "jsx-a11y/label-has-associated-control": "off", - "react-hooks/exhaustive-deps": "error", - "react-hooks/rules-of-hooks": "error", - "react/jsx-key": "error", - "react/jsx-no-useless-fragment": "error", - "react/no-danger": "error", - "react/self-closing-comp": "error", + "jsx-a11y/label-has-associated-control": "off", + "react-hooks/exhaustive-deps": "error", + "react-hooks/rules-of-hooks": "error", + "react/jsx-key": "error", + "react/jsx-no-useless-fragment": "error", + "react/no-danger": "error", + "react/self-closing-comp": "error", + }, + }, + getGitignorePatterns({ strict: false }), + { + ignores, }, - }, - getGitignorePatterns({ strict: false }), - { - ignores, - }, -]; + ] as readonly ESConfig[]; diff --git a/libs/@local/eslint/src/deprecated/index.ts b/libs/@local/eslint/src/deprecated/index.ts index 00073b2a889..a28f8886fc6 100644 --- a/libs/@local/eslint/src/deprecated/index.ts +++ b/libs/@local/eslint/src/deprecated/index.ts @@ -1,3 +1,4 @@ export { create as createBase } from "./base.js"; export { create as createBlock } from "./block.js"; export { disableRules } from "./disable.js"; +export { defineConfig } from "../utils.js"; diff --git a/libs/@local/eslint/tsconfig.json b/libs/@local/eslint/tsconfig.json index 640986c4eab..8a8df06d445 100644 --- a/libs/@local/eslint/tsconfig.json +++ b/libs/@local/eslint/tsconfig.json @@ -7,6 +7,6 @@ "module": "NodeNext", "moduleResolution": "NodeNext" }, - "include": ["src", "eslint.config.ts"], + "include": ["src", "eslint.config.js"], "exclude": ["node-modules", "dist"] } diff --git a/yarn.lock b/yarn.lock index 858d56aa90e..ebf98990bac 100644 --- a/yarn.lock +++ b/yarn.lock @@ -383,7 +383,7 @@ __metadata: "@graphql-tools/schema": "npm:8.5.1" "@linear/sdk": "npm:6.0.0" "@local/advanced-types": "npm:0.0.0-private" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/hash-backend-utils": "npm:0.0.0-private" "@local/hash-graph-client": "npm:0.0.0-private" "@local/hash-graph-sdk": "npm:0.0.0-private" @@ -434,7 +434,7 @@ __metadata: cors: "npm:2.8.5" cross-env: "npm:7.0.3" dedent: "npm:0.7.0" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" exponential-backoff: "npm:3.1.1" express: "npm:4.21.1" express-handlebars: "npm:7.1.3" @@ -466,7 +466,7 @@ __metadata: ts-json-schema-generator: "npm:1.5.1" tsx: "npm:4.19.2" typescript: "npm:5.6.3" - vitest: "npm:2.1.6" + vitest: "npm:2.1.8" wait-on: "npm:8.0.1" ws: "npm:8.18.0" languageName: unknown @@ -5566,6 +5566,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/aix-ppc64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/aix-ppc64@npm:0.21.5" + conditions: os=aix & cpu=ppc64 + languageName: node + linkType: hard + "@esbuild/aix-ppc64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/aix-ppc64@npm:0.23.1" @@ -5587,6 +5594,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/android-arm64@npm:0.21.5" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/android-arm64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/android-arm64@npm:0.23.1" @@ -5608,6 +5622,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-arm@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/android-arm@npm:0.21.5" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + "@esbuild/android-arm@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/android-arm@npm:0.23.1" @@ -5629,6 +5650,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/android-x64@npm:0.21.5" + conditions: os=android & cpu=x64 + languageName: node + linkType: hard + "@esbuild/android-x64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/android-x64@npm:0.23.1" @@ -5650,6 +5678,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/darwin-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/darwin-arm64@npm:0.21.5" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/darwin-arm64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/darwin-arm64@npm:0.23.1" @@ -5671,6 +5706,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/darwin-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/darwin-x64@npm:0.21.5" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + "@esbuild/darwin-x64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/darwin-x64@npm:0.23.1" @@ -5692,6 +5734,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/freebsd-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/freebsd-arm64@npm:0.21.5" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/freebsd-arm64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/freebsd-arm64@npm:0.23.1" @@ -5713,6 +5762,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/freebsd-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/freebsd-x64@npm:0.21.5" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/freebsd-x64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/freebsd-x64@npm:0.23.1" @@ -5734,6 +5790,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-arm64@npm:0.21.5" + conditions: os=linux & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/linux-arm64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/linux-arm64@npm:0.23.1" @@ -5755,6 +5818,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-arm@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-arm@npm:0.21.5" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + "@esbuild/linux-arm@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/linux-arm@npm:0.23.1" @@ -5776,6 +5846,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-ia32@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-ia32@npm:0.21.5" + conditions: os=linux & cpu=ia32 + languageName: node + linkType: hard + "@esbuild/linux-ia32@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/linux-ia32@npm:0.23.1" @@ -5797,6 +5874,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-loong64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-loong64@npm:0.21.5" + conditions: os=linux & cpu=loong64 + languageName: node + linkType: hard + "@esbuild/linux-loong64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/linux-loong64@npm:0.23.1" @@ -5818,6 +5902,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-mips64el@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-mips64el@npm:0.21.5" + conditions: os=linux & cpu=mips64el + languageName: node + linkType: hard + "@esbuild/linux-mips64el@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/linux-mips64el@npm:0.23.1" @@ -5839,6 +5930,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-ppc64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-ppc64@npm:0.21.5" + conditions: os=linux & cpu=ppc64 + languageName: node + linkType: hard + "@esbuild/linux-ppc64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/linux-ppc64@npm:0.23.1" @@ -5860,6 +5958,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-riscv64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-riscv64@npm:0.21.5" + conditions: os=linux & cpu=riscv64 + languageName: node + linkType: hard + "@esbuild/linux-riscv64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/linux-riscv64@npm:0.23.1" @@ -5881,6 +5986,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-s390x@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-s390x@npm:0.21.5" + conditions: os=linux & cpu=s390x + languageName: node + linkType: hard + "@esbuild/linux-s390x@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/linux-s390x@npm:0.23.1" @@ -5902,6 +6014,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-x64@npm:0.21.5" + conditions: os=linux & cpu=x64 + languageName: node + linkType: hard + "@esbuild/linux-x64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/linux-x64@npm:0.23.1" @@ -5923,6 +6042,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/netbsd-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/netbsd-x64@npm:0.21.5" + conditions: os=netbsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/netbsd-x64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/netbsd-x64@npm:0.23.1" @@ -5958,6 +6084,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/openbsd-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/openbsd-x64@npm:0.21.5" + conditions: os=openbsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/openbsd-x64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/openbsd-x64@npm:0.23.1" @@ -5979,6 +6112,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/sunos-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/sunos-x64@npm:0.21.5" + conditions: os=sunos & cpu=x64 + languageName: node + linkType: hard + "@esbuild/sunos-x64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/sunos-x64@npm:0.23.1" @@ -6000,6 +6140,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/win32-arm64@npm:0.21.5" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/win32-arm64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/win32-arm64@npm:0.23.1" @@ -6021,6 +6168,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-ia32@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/win32-ia32@npm:0.21.5" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + "@esbuild/win32-ia32@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/win32-ia32@npm:0.23.1" @@ -6042,6 +6196,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/win32-x64@npm:0.21.5" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@esbuild/win32-x64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/win32-x64@npm:0.23.1" @@ -8421,7 +8582,7 @@ __metadata: languageName: unknown linkType: soft -"@local/eslint@workspace:libs/@local/eslint": +"@local/eslint@npm:0.0.0-private, @local/eslint@workspace:libs/@local/eslint": version: 0.0.0-use.local resolution: "@local/eslint@workspace:libs/@local/eslint" dependencies: @@ -12079,6 +12240,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-android-arm-eabi@npm:4.28.1": + version: 4.28.1 + resolution: "@rollup/rollup-android-arm-eabi@npm:4.28.1" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + "@rollup/rollup-android-arm64@npm:4.27.4": version: 4.27.4 resolution: "@rollup/rollup-android-arm64@npm:4.27.4" @@ -12086,6 +12254,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-android-arm64@npm:4.28.1": + version: 4.28.1 + resolution: "@rollup/rollup-android-arm64@npm:4.28.1" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + "@rollup/rollup-darwin-arm64@npm:4.27.4": version: 4.27.4 resolution: "@rollup/rollup-darwin-arm64@npm:4.27.4" @@ -12093,6 +12268,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-darwin-arm64@npm:4.28.1": + version: 4.28.1 + resolution: "@rollup/rollup-darwin-arm64@npm:4.28.1" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + "@rollup/rollup-darwin-x64@npm:4.27.4": version: 4.27.4 resolution: "@rollup/rollup-darwin-x64@npm:4.27.4" @@ -12100,6 +12282,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-darwin-x64@npm:4.28.1": + version: 4.28.1 + resolution: "@rollup/rollup-darwin-x64@npm:4.28.1" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + "@rollup/rollup-freebsd-arm64@npm:4.27.4": version: 4.27.4 resolution: "@rollup/rollup-freebsd-arm64@npm:4.27.4" @@ -12107,6 +12296,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-freebsd-arm64@npm:4.28.1": + version: 4.28.1 + resolution: "@rollup/rollup-freebsd-arm64@npm:4.28.1" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + "@rollup/rollup-freebsd-x64@npm:4.27.4": version: 4.27.4 resolution: "@rollup/rollup-freebsd-x64@npm:4.27.4" @@ -12114,6 +12310,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-freebsd-x64@npm:4.28.1": + version: 4.28.1 + resolution: "@rollup/rollup-freebsd-x64@npm:4.28.1" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + "@rollup/rollup-linux-arm-gnueabihf@npm:4.27.4": version: 4.27.4 resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.27.4" @@ -12121,6 +12324,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-arm-gnueabihf@npm:4.28.1": + version: 4.28.1 + resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.28.1" + conditions: os=linux & cpu=arm & libc=glibc + languageName: node + linkType: hard + "@rollup/rollup-linux-arm-musleabihf@npm:4.27.4": version: 4.27.4 resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.27.4" @@ -12128,6 +12338,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-arm-musleabihf@npm:4.28.1": + version: 4.28.1 + resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.28.1" + conditions: os=linux & cpu=arm & libc=musl + languageName: node + linkType: hard + "@rollup/rollup-linux-arm64-gnu@npm:4.27.4": version: 4.27.4 resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.27.4" @@ -12135,6 +12352,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-arm64-gnu@npm:4.28.1": + version: 4.28.1 + resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.28.1" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + "@rollup/rollup-linux-arm64-musl@npm:4.27.4": version: 4.27.4 resolution: "@rollup/rollup-linux-arm64-musl@npm:4.27.4" @@ -12142,6 +12366,20 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-arm64-musl@npm:4.28.1": + version: 4.28.1 + resolution: "@rollup/rollup-linux-arm64-musl@npm:4.28.1" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-linux-loongarch64-gnu@npm:4.28.1": + version: 4.28.1 + resolution: "@rollup/rollup-linux-loongarch64-gnu@npm:4.28.1" + conditions: os=linux & cpu=loong64 & libc=glibc + languageName: node + linkType: hard + "@rollup/rollup-linux-powerpc64le-gnu@npm:4.27.4": version: 4.27.4 resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.27.4" @@ -12149,6 +12387,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-powerpc64le-gnu@npm:4.28.1": + version: 4.28.1 + resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.28.1" + conditions: os=linux & cpu=ppc64 & libc=glibc + languageName: node + linkType: hard + "@rollup/rollup-linux-riscv64-gnu@npm:4.27.4": version: 4.27.4 resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.27.4" @@ -12156,6 +12401,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-riscv64-gnu@npm:4.28.1": + version: 4.28.1 + resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.28.1" + conditions: os=linux & cpu=riscv64 & libc=glibc + languageName: node + linkType: hard + "@rollup/rollup-linux-s390x-gnu@npm:4.27.4": version: 4.27.4 resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.27.4" @@ -12163,6 +12415,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-s390x-gnu@npm:4.28.1": + version: 4.28.1 + resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.28.1" + conditions: os=linux & cpu=s390x & libc=glibc + languageName: node + linkType: hard + "@rollup/rollup-linux-x64-gnu@npm:4.27.4": version: 4.27.4 resolution: "@rollup/rollup-linux-x64-gnu@npm:4.27.4" @@ -12170,6 +12429,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-x64-gnu@npm:4.28.1": + version: 4.28.1 + resolution: "@rollup/rollup-linux-x64-gnu@npm:4.28.1" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + "@rollup/rollup-linux-x64-musl@npm:4.27.4": version: 4.27.4 resolution: "@rollup/rollup-linux-x64-musl@npm:4.27.4" @@ -12177,6 +12443,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-x64-musl@npm:4.28.1": + version: 4.28.1 + resolution: "@rollup/rollup-linux-x64-musl@npm:4.28.1" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + "@rollup/rollup-win32-arm64-msvc@npm:4.27.4": version: 4.27.4 resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.27.4" @@ -12184,6 +12457,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-win32-arm64-msvc@npm:4.28.1": + version: 4.28.1 + resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.28.1" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + "@rollup/rollup-win32-ia32-msvc@npm:4.27.4": version: 4.27.4 resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.27.4" @@ -12191,6 +12471,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-win32-ia32-msvc@npm:4.28.1": + version: 4.28.1 + resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.28.1" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + "@rollup/rollup-win32-x64-msvc@npm:4.27.4": version: 4.27.4 resolution: "@rollup/rollup-win32-x64-msvc@npm:4.27.4" @@ -12198,6 +12485,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-win32-x64-msvc@npm:4.28.1": + version: 4.28.1 + resolution: "@rollup/rollup-win32-x64-msvc@npm:4.28.1" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@rtsao/scc@npm:^1.1.0": version: 1.1.0 resolution: "@rtsao/scc@npm:1.1.0" @@ -18436,6 +18730,18 @@ __metadata: languageName: node linkType: hard +"@vitest/expect@npm:2.1.8": + version: 2.1.8 + resolution: "@vitest/expect@npm:2.1.8" + dependencies: + "@vitest/spy": "npm:2.1.8" + "@vitest/utils": "npm:2.1.8" + chai: "npm:^5.1.2" + tinyrainbow: "npm:^1.2.0" + checksum: 10c0/6fbf4abc2360efe4d3671d3425f8bb6012fe2dd932a88720d8b793030b766ba260494822c721d3fc497afe52373515c7e150635a95c25f6e1b567f86155c5408 + languageName: node + linkType: hard + "@vitest/mocker@npm:2.1.6": version: 2.1.6 resolution: "@vitest/mocker@npm:2.1.6" @@ -18455,6 +18761,25 @@ __metadata: languageName: node linkType: hard +"@vitest/mocker@npm:2.1.8": + version: 2.1.8 + resolution: "@vitest/mocker@npm:2.1.8" + dependencies: + "@vitest/spy": "npm:2.1.8" + estree-walker: "npm:^3.0.3" + magic-string: "npm:^0.30.12" + peerDependencies: + msw: ^2.4.9 + vite: ^5.0.0 + peerDependenciesMeta: + msw: + optional: true + vite: + optional: true + checksum: 10c0/b4113ed8a57c0f60101d02e1b1769357a346ecd55ded499eab384d52106fd4b12d51e9aaa6db98f47de0d56662477be0ed8d46d6dfa84c235f9e1b234709814e + languageName: node + linkType: hard + "@vitest/pretty-format@npm:2.1.6, @vitest/pretty-format@npm:^2.1.6": version: 2.1.6 resolution: "@vitest/pretty-format@npm:2.1.6" @@ -18464,6 +18789,15 @@ __metadata: languageName: node linkType: hard +"@vitest/pretty-format@npm:2.1.8, @vitest/pretty-format@npm:^2.1.8": + version: 2.1.8 + resolution: "@vitest/pretty-format@npm:2.1.8" + dependencies: + tinyrainbow: "npm:^1.2.0" + checksum: 10c0/1dc5c9b1c7c7e78e46a2a16033b6b20be05958bbebc5a5b78f29e32718c80252034804fccd23f34db6b3583239db47e68fc5a8e41942c54b8047cc3b4133a052 + languageName: node + linkType: hard + "@vitest/runner@npm:2.1.6": version: 2.1.6 resolution: "@vitest/runner@npm:2.1.6" @@ -18474,6 +18808,16 @@ __metadata: languageName: node linkType: hard +"@vitest/runner@npm:2.1.8": + version: 2.1.8 + resolution: "@vitest/runner@npm:2.1.8" + dependencies: + "@vitest/utils": "npm:2.1.8" + pathe: "npm:^1.1.2" + checksum: 10c0/d0826a71494adeafc8c6478257f584d11655145c83e2d8f94c17301d7059c7463ad768a69379e394c50838a7435abcc9255a6b7d8894f5ee06b153e314683a75 + languageName: node + linkType: hard + "@vitest/snapshot@npm:2.1.6": version: 2.1.6 resolution: "@vitest/snapshot@npm:2.1.6" @@ -18485,6 +18829,17 @@ __metadata: languageName: node linkType: hard +"@vitest/snapshot@npm:2.1.8": + version: 2.1.8 + resolution: "@vitest/snapshot@npm:2.1.8" + dependencies: + "@vitest/pretty-format": "npm:2.1.8" + magic-string: "npm:^0.30.12" + pathe: "npm:^1.1.2" + checksum: 10c0/8d7a77a52e128630ea737ee0a0fe746d1d325cac5848326861dbf042844da4d5c1a5145539ae0ed1a3f0b0363506e98d86f2679fadf114ec4b987f1eb616867b + languageName: node + linkType: hard + "@vitest/spy@npm:2.1.6": version: 2.1.6 resolution: "@vitest/spy@npm:2.1.6" @@ -18494,6 +18849,15 @@ __metadata: languageName: node linkType: hard +"@vitest/spy@npm:2.1.8": + version: 2.1.8 + resolution: "@vitest/spy@npm:2.1.8" + dependencies: + tinyspy: "npm:^3.0.2" + checksum: 10c0/9740f10772ede004ea7f9ffb8a6c3011341d75d9d7f2d4d181b123a701c4691e942f38cf1700684a3bb5eea3c78addf753fd8cdf78c51d8eadc3bada6fadf8f2 + languageName: node + linkType: hard + "@vitest/utils@npm:2.1.6": version: 2.1.6 resolution: "@vitest/utils@npm:2.1.6" @@ -18505,6 +18869,17 @@ __metadata: languageName: node linkType: hard +"@vitest/utils@npm:2.1.8": + version: 2.1.8 + resolution: "@vitest/utils@npm:2.1.8" + dependencies: + "@vitest/pretty-format": "npm:2.1.8" + loupe: "npm:^3.1.2" + tinyrainbow: "npm:^1.2.0" + checksum: 10c0/d4a29ecd8f6c24c790e4c009f313a044d89e664e331bc9c3cfb57fe1380fb1d2999706dbbfc291f067d6c489602e76d00435309fbc906197c0d01f831ca17d64 + languageName: node + linkType: hard + "@vue/compiler-core@npm:3.5.13": version: 3.5.13 resolution: "@vue/compiler-core@npm:3.5.13" @@ -25371,6 +25746,86 @@ __metadata: languageName: node linkType: hard +"esbuild@npm:^0.21.3": + version: 0.21.5 + resolution: "esbuild@npm:0.21.5" + dependencies: + "@esbuild/aix-ppc64": "npm:0.21.5" + "@esbuild/android-arm": "npm:0.21.5" + "@esbuild/android-arm64": "npm:0.21.5" + "@esbuild/android-x64": "npm:0.21.5" + "@esbuild/darwin-arm64": "npm:0.21.5" + "@esbuild/darwin-x64": "npm:0.21.5" + "@esbuild/freebsd-arm64": "npm:0.21.5" + "@esbuild/freebsd-x64": "npm:0.21.5" + "@esbuild/linux-arm": "npm:0.21.5" + "@esbuild/linux-arm64": "npm:0.21.5" + "@esbuild/linux-ia32": "npm:0.21.5" + "@esbuild/linux-loong64": "npm:0.21.5" + "@esbuild/linux-mips64el": "npm:0.21.5" + "@esbuild/linux-ppc64": "npm:0.21.5" + "@esbuild/linux-riscv64": "npm:0.21.5" + "@esbuild/linux-s390x": "npm:0.21.5" + "@esbuild/linux-x64": "npm:0.21.5" + "@esbuild/netbsd-x64": "npm:0.21.5" + "@esbuild/openbsd-x64": "npm:0.21.5" + "@esbuild/sunos-x64": "npm:0.21.5" + "@esbuild/win32-arm64": "npm:0.21.5" + "@esbuild/win32-ia32": "npm:0.21.5" + "@esbuild/win32-x64": "npm:0.21.5" + dependenciesMeta: + "@esbuild/aix-ppc64": + optional: true + "@esbuild/android-arm": + optional: true + "@esbuild/android-arm64": + optional: true + "@esbuild/android-x64": + optional: true + "@esbuild/darwin-arm64": + optional: true + "@esbuild/darwin-x64": + optional: true + "@esbuild/freebsd-arm64": + optional: true + "@esbuild/freebsd-x64": + optional: true + "@esbuild/linux-arm": + optional: true + "@esbuild/linux-arm64": + optional: true + "@esbuild/linux-ia32": + optional: true + "@esbuild/linux-loong64": + optional: true + "@esbuild/linux-mips64el": + optional: true + "@esbuild/linux-ppc64": + optional: true + "@esbuild/linux-riscv64": + optional: true + "@esbuild/linux-s390x": + optional: true + "@esbuild/linux-x64": + optional: true + "@esbuild/netbsd-x64": + optional: true + "@esbuild/openbsd-x64": + optional: true + "@esbuild/sunos-x64": + optional: true + "@esbuild/win32-arm64": + optional: true + "@esbuild/win32-ia32": + optional: true + "@esbuild/win32-x64": + optional: true + bin: + esbuild: bin/esbuild + checksum: 10c0/fa08508adf683c3f399e8a014a6382a6b65542213431e26206c0720e536b31c09b50798747c2a105a4bbba1d9767b8d3615a74c2f7bf1ddf6d836cd11eb672de + languageName: node + linkType: hard + "esbuild@npm:^0.24.0": version: 0.24.0 resolution: "esbuild@npm:0.24.0" @@ -38511,7 +38966,7 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.3.11, postcss@npm:^8.4.14, postcss@npm:^8.4.23, postcss@npm:^8.4.33, postcss@npm:^8.4.48, postcss@npm:^8.4.49": +"postcss@npm:^8.3.11, postcss@npm:^8.4.14, postcss@npm:^8.4.23, postcss@npm:^8.4.33, postcss@npm:^8.4.43, postcss@npm:^8.4.48, postcss@npm:^8.4.49": version: 8.4.49 resolution: "postcss@npm:8.4.49" dependencies: @@ -41539,6 +41994,78 @@ __metadata: languageName: node linkType: hard +"rollup@npm:^4.20.0": + version: 4.28.1 + resolution: "rollup@npm:4.28.1" + dependencies: + "@rollup/rollup-android-arm-eabi": "npm:4.28.1" + "@rollup/rollup-android-arm64": "npm:4.28.1" + "@rollup/rollup-darwin-arm64": "npm:4.28.1" + "@rollup/rollup-darwin-x64": "npm:4.28.1" + "@rollup/rollup-freebsd-arm64": "npm:4.28.1" + "@rollup/rollup-freebsd-x64": "npm:4.28.1" + "@rollup/rollup-linux-arm-gnueabihf": "npm:4.28.1" + "@rollup/rollup-linux-arm-musleabihf": "npm:4.28.1" + "@rollup/rollup-linux-arm64-gnu": "npm:4.28.1" + "@rollup/rollup-linux-arm64-musl": "npm:4.28.1" + "@rollup/rollup-linux-loongarch64-gnu": "npm:4.28.1" + "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.28.1" + "@rollup/rollup-linux-riscv64-gnu": "npm:4.28.1" + "@rollup/rollup-linux-s390x-gnu": "npm:4.28.1" + "@rollup/rollup-linux-x64-gnu": "npm:4.28.1" + "@rollup/rollup-linux-x64-musl": "npm:4.28.1" + "@rollup/rollup-win32-arm64-msvc": "npm:4.28.1" + "@rollup/rollup-win32-ia32-msvc": "npm:4.28.1" + "@rollup/rollup-win32-x64-msvc": "npm:4.28.1" + "@types/estree": "npm:1.0.6" + fsevents: "npm:~2.3.2" + dependenciesMeta: + "@rollup/rollup-android-arm-eabi": + optional: true + "@rollup/rollup-android-arm64": + optional: true + "@rollup/rollup-darwin-arm64": + optional: true + "@rollup/rollup-darwin-x64": + optional: true + "@rollup/rollup-freebsd-arm64": + optional: true + "@rollup/rollup-freebsd-x64": + optional: true + "@rollup/rollup-linux-arm-gnueabihf": + optional: true + "@rollup/rollup-linux-arm-musleabihf": + optional: true + "@rollup/rollup-linux-arm64-gnu": + optional: true + "@rollup/rollup-linux-arm64-musl": + optional: true + "@rollup/rollup-linux-loongarch64-gnu": + optional: true + "@rollup/rollup-linux-powerpc64le-gnu": + optional: true + "@rollup/rollup-linux-riscv64-gnu": + optional: true + "@rollup/rollup-linux-s390x-gnu": + optional: true + "@rollup/rollup-linux-x64-gnu": + optional: true + "@rollup/rollup-linux-x64-musl": + optional: true + "@rollup/rollup-win32-arm64-msvc": + optional: true + "@rollup/rollup-win32-ia32-msvc": + optional: true + "@rollup/rollup-win32-x64-msvc": + optional: true + fsevents: + optional: true + bin: + rollup: dist/bin/rollup + checksum: 10c0/2d2d0433b7cb53153a04c7b406f342f31517608dc57510e49177941b9e68c30071674b83a0292ef1d87184e5f7c6d0f2945c8b3c74963074de10c75366fe2c14 + languageName: node + linkType: hard + "rooks@npm:7.14.1": version: 7.14.1 resolution: "rooks@npm:7.14.1" @@ -46666,6 +47193,21 @@ __metadata: languageName: node linkType: hard +"vite-node@npm:2.1.8": + version: 2.1.8 + resolution: "vite-node@npm:2.1.8" + dependencies: + cac: "npm:^6.7.14" + debug: "npm:^4.3.7" + es-module-lexer: "npm:^1.5.4" + pathe: "npm:^1.1.2" + vite: "npm:^5.0.0" + bin: + vite-node: vite-node.mjs + checksum: 10c0/cb28027a7425ba29780e216164c07d36a4ff9eb60d83afcad3bc222fd5a5f3e36030071c819edd6d910940f502d49e52f7564743617bc1c5875485b0952c72d5 + languageName: node + linkType: hard + "vite-plugin-wasm-pack@npm:0.1.12": version: 0.1.12 resolution: "vite-plugin-wasm-pack@npm:0.1.12" @@ -46693,6 +47235,49 @@ __metadata: languageName: node linkType: hard +"vite@npm:^5.0.0": + version: 5.4.11 + resolution: "vite@npm:5.4.11" + dependencies: + esbuild: "npm:^0.21.3" + fsevents: "npm:~2.3.3" + postcss: "npm:^8.4.43" + rollup: "npm:^4.20.0" + peerDependencies: + "@types/node": ^18.0.0 || >=20.0.0 + less: "*" + lightningcss: ^1.21.0 + sass: "*" + sass-embedded: "*" + stylus: "*" + sugarss: "*" + terser: ^5.4.0 + dependenciesMeta: + fsevents: + optional: true + peerDependenciesMeta: + "@types/node": + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + sass-embedded: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + bin: + vite: bin/vite.js + checksum: 10c0/d536bb7af57dd0eca2a808f95f5ff1d7b7ffb8d86e17c6893087680a0448bd0d15e07475270c8a6de65cb5115592d037130a1dd979dc76bcef8c1dda202a1874 + languageName: node + linkType: hard + "vite@npm:^5.0.0 || ^6.0.0": version: 6.0.1 resolution: "vite@npm:6.0.1" @@ -46795,6 +47380,56 @@ __metadata: languageName: node linkType: hard +"vitest@npm:2.1.8": + version: 2.1.8 + resolution: "vitest@npm:2.1.8" + dependencies: + "@vitest/expect": "npm:2.1.8" + "@vitest/mocker": "npm:2.1.8" + "@vitest/pretty-format": "npm:^2.1.8" + "@vitest/runner": "npm:2.1.8" + "@vitest/snapshot": "npm:2.1.8" + "@vitest/spy": "npm:2.1.8" + "@vitest/utils": "npm:2.1.8" + chai: "npm:^5.1.2" + debug: "npm:^4.3.7" + expect-type: "npm:^1.1.0" + magic-string: "npm:^0.30.12" + pathe: "npm:^1.1.2" + std-env: "npm:^3.8.0" + tinybench: "npm:^2.9.0" + tinyexec: "npm:^0.3.1" + tinypool: "npm:^1.0.1" + tinyrainbow: "npm:^1.2.0" + vite: "npm:^5.0.0" + vite-node: "npm:2.1.8" + why-is-node-running: "npm:^2.3.0" + peerDependencies: + "@edge-runtime/vm": "*" + "@types/node": ^18.0.0 || >=20.0.0 + "@vitest/browser": 2.1.8 + "@vitest/ui": 2.1.8 + happy-dom: "*" + jsdom: "*" + peerDependenciesMeta: + "@edge-runtime/vm": + optional: true + "@types/node": + optional: true + "@vitest/browser": + optional: true + "@vitest/ui": + optional: true + happy-dom: + optional: true + jsdom: + optional: true + bin: + vitest: vitest.mjs + checksum: 10c0/e70631bad5662d6c60c5cf836a4baf58b890db6654fef1f608fe6a86aa49a2b9f078aac74b719d4d3c87c5c781968cc73590a7935277b48f3d8b6fb9c5b4d276 + languageName: node + linkType: hard + "vue@npm:^3.2.45": version: 3.5.13 resolution: "vue@npm:3.5.13" From 7a9dd2404056f410d49c0c8032c921bc7532ee27 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Mon, 9 Dec 2024 19:01:31 +0100 Subject: [PATCH 11/51] feat: convert hash-ai-worker-ts --- apps/hash-ai-worker-ts/.eslintrc.cjs | 7 --- apps/hash-ai-worker-ts/eslint.config.js | 3 ++ apps/hash-ai-worker-ts/package.json | 4 +- apps/hash-ai-worker-ts/tsconfig.json | 2 +- .../{vitest.config.js => vitest.config.ts} | 0 apps/hash-api/eslint.config.js | 2 +- apps/hash-api/vitest.config.ts | 1 - libs/@local/eslint/package.json | 11 +++-- libs/@local/eslint/src/deprecated/base.ts | 45 +++++++++++++------ libs/@local/eslint/src/deprecated/block.ts | 2 + libs/@local/eslint/tsconfig.json | 2 +- yarn.lock | 13 +++--- 12 files changed, 57 insertions(+), 35 deletions(-) delete mode 100644 apps/hash-ai-worker-ts/.eslintrc.cjs create mode 100644 apps/hash-ai-worker-ts/eslint.config.js rename apps/hash-ai-worker-ts/{vitest.config.js => vitest.config.ts} (100%) diff --git a/apps/hash-ai-worker-ts/.eslintrc.cjs b/apps/hash-ai-worker-ts/.eslintrc.cjs deleted file mode 100644 index 75608ba7bba..00000000000 --- a/apps/hash-ai-worker-ts/.eslintrc.cjs +++ /dev/null @@ -1,7 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-workspace-config.cjs")(__dirname), - env: { - node: true, - }, -}; diff --git a/apps/hash-ai-worker-ts/eslint.config.js b/apps/hash-ai-worker-ts/eslint.config.js new file mode 100644 index 00000000000..0eac3025266 --- /dev/null +++ b/apps/hash-ai-worker-ts/eslint.config.js @@ -0,0 +1,3 @@ +import { createBase } from "@local/eslint/deprecated"; + +export default createBase(import.meta.dirname); diff --git a/apps/hash-ai-worker-ts/package.json b/apps/hash-ai-worker-ts/package.json index 5681f1fa3c6..e09c5a4e6f7 100644 --- a/apps/hash-ai-worker-ts/package.json +++ b/apps/hash-ai-worker-ts/package.json @@ -94,7 +94,7 @@ "typescript": "5.6.3" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@sentry/cli": "^2.39.1", "@types/dedent": "0.7.2", @@ -110,7 +110,7 @@ "@types/papaparse": "5.3.15", "@types/sanitize-html": "2.13.0", "@vitest/coverage-istanbul": "2.1.8", - "eslint": "8.57.0", + "eslint": "9.16.0", "rimraf": "6.0.1", "typescript": "5.6.3", "vite-tsconfig-paths": "5.1.4", diff --git a/apps/hash-ai-worker-ts/tsconfig.json b/apps/hash-ai-worker-ts/tsconfig.json index 78fa967946f..0cbdad48d1b 100644 --- a/apps/hash-ai-worker-ts/tsconfig.json +++ b/apps/hash-ai-worker-ts/tsconfig.json @@ -1,6 +1,6 @@ { "extends": "@local/tsconfig/legacy-base-tsconfig-to-refactor.json", - "include": ["src", "scripts"], + "include": ["src", "scripts", "eslint.config.js", "vitest.config.ts"], "compilerOptions": { "lib": ["ESNext"], "module": "NodeNext", diff --git a/apps/hash-ai-worker-ts/vitest.config.js b/apps/hash-ai-worker-ts/vitest.config.ts similarity index 100% rename from apps/hash-ai-worker-ts/vitest.config.js rename to apps/hash-ai-worker-ts/vitest.config.ts diff --git a/apps/hash-api/eslint.config.js b/apps/hash-api/eslint.config.js index 1b62fb8434e..0d9b9f6d406 100644 --- a/apps/hash-api/eslint.config.js +++ b/apps/hash-api/eslint.config.js @@ -5,7 +5,7 @@ import { } from "@local/eslint/deprecated"; export default defineConfig([ - ...createBase(), + ...createBase(import.meta.dirname), { rules: { "@typescript-eslint/restrict-plus-operands": "off", diff --git a/apps/hash-api/vitest.config.ts b/apps/hash-api/vitest.config.ts index bc7fb87a599..1f272d4e188 100644 --- a/apps/hash-api/vitest.config.ts +++ b/apps/hash-api/vitest.config.ts @@ -1,4 +1,3 @@ -// eslint-disable-next-line import/no-unresolved -- false positive import { defineConfig } from "vitest/config"; export default defineConfig({ diff --git a/libs/@local/eslint/package.json b/libs/@local/eslint/package.json index 75a590a0113..fc557df9c21 100644 --- a/libs/@local/eslint/package.json +++ b/libs/@local/eslint/package.json @@ -6,12 +6,12 @@ "type": "module", "exports": { ".": { - "default": "./dist/src/index.js", - "types": "./dist/src/index.d.ts" + "default": "./dist/index.js", + "types": "./dist/index.d.ts" }, "./deprecated": { - "default": "./dist/src/deprecated/index.js", - "types": "./dist/src/deprecated/index.d.ts" + "default": "./dist/deprecated/index.js", + "types": "./dist/deprecated/index.d.ts" } }, "scripts": { @@ -26,8 +26,11 @@ "eslint": "9.16.0", "eslint-config-flat-gitignore": "0.3.0", "eslint-config-sheriff": "25.3.0", + "eslint-import-resolver-node": "0.3.9", + "eslint-import-resolver-typescript": "3.7.0", "eslint-plugin-airbnb": "0.0.1-security", "eslint-plugin-canonical": "5.0.0", + "eslint-plugin-import": "2.31.0", "eslint-plugin-react-hooks": "5.1.0", "eslint-plugin-storybook": "0.11.1", "eslint-unicorn": "55.0.0", diff --git a/libs/@local/eslint/src/deprecated/base.ts b/libs/@local/eslint/src/deprecated/base.ts index ede6d6701dd..7c7549b2ef7 100644 --- a/libs/@local/eslint/src/deprecated/base.ts +++ b/libs/@local/eslint/src/deprecated/base.ts @@ -2,6 +2,8 @@ import path from "node:path"; import { fileURLToPath } from "node:url"; import getGitignorePatterns from "eslint-config-flat-gitignore"; +// @ts-expect-error - eslint-plugin-import does not expose types +import importPlugin from "eslint-plugin-import"; import { ignores } from "eslint-config-sheriff"; // @ts-expect-error - react-hooks does not expose types import canonical from "eslint-plugin-canonical"; @@ -16,6 +18,8 @@ import { FlatCompat } from "@eslint/eslintrc"; import js from "@eslint/js"; import typescriptEslint from "@typescript-eslint/eslint-plugin"; import tsParser from "@typescript-eslint/parser"; +import { createTypeScriptImportResolver } from "eslint-import-resolver-typescript"; +import { Array, pipe, Record, Struct } from "effect"; import type { ESConfig } from "../utils.js"; @@ -27,16 +31,33 @@ const compat = new FlatCompat({ allConfig: js.configs.all, }); -export const create = () => +const removeImportPlugin = ( + configs: readonly ESConfig[], +): readonly ESConfig[] => + pipe( + configs, + Array.map( + Struct.evolve({ + plugins: (plugins) => + plugins === undefined ? undefined : Record.remove(plugins, "import"), + }), + ), + ); + +export const create = (projectDirectory: string) => [ - ...compat.extends("airbnb", "prettier"), + ...removeImportPlugin(compat.extends("airbnb", "prettier")), { languageOptions: { parserOptions: { projectService: true, + // eslint-disable-next-line unicorn/prevent-abbreviations + tsconfigRootDir: projectDirectory, }, }, }, + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + importPlugin.flatConfigs.recommended, { plugins: { "@typescript-eslint": typescriptEslint, @@ -61,11 +82,16 @@ export const create = () => }, parser: tsParser, + + ecmaVersion: "latest", + sourceType: "module", }, settings: { "import/resolver": { - node: { + typescript: { + alwaysTryTypes: true, + project: projectDirectory, extensions: [".js", ".jsx", ".ts", ".tsx"], }, }, @@ -284,16 +310,9 @@ export const create = () => "no-unused-expressions": "error", curly: ["error", "all"], - "import/extensions": [ - "error", - "ignorePackages", - { - js: "never", - jsx: "never", - ts: "never", - tsx: "never", - }, - ], + // needs to be disabled because it can't map `.js` -> `.ts` correctly + // see: https://github.com/import-js/eslint-plugin-import/issues/2776 + "import/extensions": "off", "no-useless-constructor": "off", "@typescript-eslint/no-useless-constructor": ["error"], diff --git a/libs/@local/eslint/src/deprecated/block.ts b/libs/@local/eslint/src/deprecated/block.ts index f5b5246bd32..d312d51b81f 100644 --- a/libs/@local/eslint/src/deprecated/block.ts +++ b/libs/@local/eslint/src/deprecated/block.ts @@ -7,6 +7,8 @@ import unicorn from "eslint-plugin-unicorn"; import { fixupPluginRules } from "@eslint/compat"; import typescriptEslint from "@typescript-eslint/eslint-plugin"; +import type { ESConfig } from "../utils.js"; + export const create = () => [ { diff --git a/libs/@local/eslint/tsconfig.json b/libs/@local/eslint/tsconfig.json index 8a8df06d445..eb10ba6de91 100644 --- a/libs/@local/eslint/tsconfig.json +++ b/libs/@local/eslint/tsconfig.json @@ -3,7 +3,7 @@ "compilerOptions": { "strict": true, "allowJs": false, - "exactOptionalPropertyTypes": true, + "exactOptionalPropertyTypes": false, "module": "NodeNext", "moduleResolution": "NodeNext" }, diff --git a/yarn.lock b/yarn.lock index ebf98990bac..f8292494bf1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -295,7 +295,7 @@ __metadata: "@google-cloud/storage": "npm:7.14.0" "@google-cloud/vertexai": "npm:1.9.0" "@local/advanced-types": "npm:0.0.0-private" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/hash-backend-utils": "npm:0.0.0-private" "@local/hash-graph-client": "npm:0.0.0-private" "@local/hash-graph-sdk": "npm:0.0.0-private" @@ -332,7 +332,7 @@ __metadata: dedent: "npm:0.7.0" dotenv-flow: "npm:3.3.0" e2b: "npm:0.13.1" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" exponential-backoff: "npm:3.1.1" googleapis: "npm:133.0.0" is-docker: "npm:3.0.0" @@ -8593,8 +8593,11 @@ __metadata: eslint: "npm:9.16.0" eslint-config-flat-gitignore: "npm:0.3.0" eslint-config-sheriff: "npm:25.3.0" + eslint-import-resolver-node: "npm:0.3.9" + eslint-import-resolver-typescript: "npm:3.7.0" eslint-plugin-airbnb: "npm:0.0.1-security" eslint-plugin-canonical: "npm:5.0.0" + eslint-plugin-import: "npm:2.31.0" eslint-plugin-react-hooks: "npm:5.1.0" eslint-plugin-storybook: "npm:0.11.1" eslint-unicorn: "npm:55.0.0" @@ -26179,7 +26182,7 @@ __metadata: languageName: node linkType: hard -"eslint-import-resolver-node@npm:^0.3.9": +"eslint-import-resolver-node@npm:0.3.9, eslint-import-resolver-node@npm:^0.3.9": version: 0.3.9 resolution: "eslint-import-resolver-node@npm:0.3.9" dependencies: @@ -26190,7 +26193,7 @@ __metadata: languageName: node linkType: hard -"eslint-import-resolver-typescript@npm:^3.6.1": +"eslint-import-resolver-typescript@npm:3.7.0, eslint-import-resolver-typescript@npm:^3.6.1": version: 3.7.0 resolution: "eslint-import-resolver-typescript@npm:3.7.0" dependencies: @@ -26354,7 +26357,7 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-import@npm:^2.31.0": +"eslint-plugin-import@npm:2.31.0, eslint-plugin-import@npm:^2.31.0": version: 2.31.0 resolution: "eslint-plugin-import@npm:2.31.0" dependencies: From 88b4bae00a7491ab1044855aec7d93b92db9cd71 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Mon, 9 Dec 2024 19:15:07 +0100 Subject: [PATCH 12/51] fix: hash-ai-worker-ts --- .../scripts/bundle-workflow-code.ts | 5 +-- .../scripts/compare-llm-response.ts | 4 +- .../scripts/sanitize-html.ts | 4 +- .../flow-activities/answer-question-action.ts | 6 ++- .../get-file-from-url-action.ts | 2 +- .../infer-metadata-from-document-action.ts | 8 ++-- .../research-entities-action.ai.test.ts | 6 +-- ...ant-links-from-content.optimize.ai.test.ts | 12 +++--- .../get-link-follower-next-tool-calls.ts | 8 ++-- .../llama-index/simple-storage-context.ts | 6 +-- .../shared/coordinator-tools.ts | 42 ++++++++++--------- .../sub-coordinating-agent.ai.test.ts | 6 +-- .../shared/create-file-entity-from-url.ts | 8 ++-- ...ty-summaries-from-text.optimize.ai.test.ts | 6 +-- ...summaries-then-claims-from-text.ai.test.ts | 6 +-- .../propose-entity-from-claims-agent.ts | 2 + .../get-ai-assistant-account-id-activity.ts | 2 +- .../infer-entities/infer-entity-summaries.ts | 2 + .../infer-entities/propose-entities.ts | 2 +- .../src/activities/shared/activity-logger.ts | 4 +- .../get-llm-response/anthropic-client.ts | 4 ++ .../shared/get-llm-response/llm-message.ts | 2 + .../get-llm-response/log-llm-request.ts | 4 +- .../shared/optimize-system-prompt.ts | 6 +-- apps/hash-ai-worker-ts/src/main.ts | 5 +-- 25 files changed, 90 insertions(+), 72 deletions(-) diff --git a/apps/hash-ai-worker-ts/scripts/bundle-workflow-code.ts b/apps/hash-ai-worker-ts/scripts/bundle-workflow-code.ts index ac7c4609a4c..9c37039248c 100644 --- a/apps/hash-ai-worker-ts/scripts/bundle-workflow-code.ts +++ b/apps/hash-ai-worker-ts/scripts/bundle-workflow-code.ts @@ -1,13 +1,12 @@ import { writeFile } from "node:fs/promises"; import { createRequire } from "node:module"; -import * as path from "node:path"; -import { dirname } from "node:path"; +import path from "node:path"; import { fileURLToPath } from "node:url"; import { bundleWorkflowCode } from "@temporalio/worker"; const __filename = fileURLToPath(import.meta.url); -const __dirname = dirname(__filename); +const __dirname = path.dirname(__filename); const require = createRequire(import.meta.url); diff --git a/apps/hash-ai-worker-ts/scripts/compare-llm-response.ts b/apps/hash-ai-worker-ts/scripts/compare-llm-response.ts index 10032f5bdeb..1414a1dca19 100644 --- a/apps/hash-ai-worker-ts/scripts/compare-llm-response.ts +++ b/apps/hash-ai-worker-ts/scripts/compare-llm-response.ts @@ -1,5 +1,5 @@ import { mkdirSync, writeFileSync } from "node:fs"; -import { dirname } from "node:path"; +import path from "node:path"; import { fileURLToPath } from "node:url"; import { type OwnedById } from "@local/hash-graph-types/web"; @@ -14,7 +14,7 @@ import { getAliceUserAccountId } from "../src/shared/testing-utilities/get-alice import type { CompareLlmResponseConfig } from "./compare-llm-response/types.js"; const __filename = fileURLToPath(import.meta.url); -const __dirname = dirname(__filename); +const __dirname = path.dirname(__filename); const configDirectory = `${__dirname}/compare-llm-response/var/config`; diff --git a/apps/hash-ai-worker-ts/scripts/sanitize-html.ts b/apps/hash-ai-worker-ts/scripts/sanitize-html.ts index 570fa921648..85089d1656f 100644 --- a/apps/hash-ai-worker-ts/scripts/sanitize-html.ts +++ b/apps/hash-ai-worker-ts/scripts/sanitize-html.ts @@ -1,5 +1,5 @@ import { mkdirSync, writeFileSync } from "node:fs"; -import path, { dirname } from "node:path"; +import path from "node:path"; import { fileURLToPath } from "node:url"; import { getWebPageActivity } from "../src/activities/get-web-page-activity.js"; @@ -12,7 +12,7 @@ import { getWebPageActivity } from "../src/activities/get-web-page-activity.js"; */ const __filename = fileURLToPath(import.meta.url); -const __dirname = dirname(__filename); +const __dirname = path.dirname(__filename); const url = process.argv[2]; diff --git a/apps/hash-ai-worker-ts/src/activities/flow-activities/answer-question-action.ts b/apps/hash-ai-worker-ts/src/activities/flow-activities/answer-question-action.ts index 8c1318e8806..588f6191828 100644 --- a/apps/hash-ai-worker-ts/src/activities/flow-activities/answer-question-action.ts +++ b/apps/hash-ai-worker-ts/src/activities/flow-activities/answer-question-action.ts @@ -316,7 +316,11 @@ const callModel = async ( : dedent(` The Python code ran successfully. The stdout from your code was: ${stdout} - The following artifacts were generated:\n${artifacts.join("\n")} + The following artifacts were generated:\n${ + // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors + // eslint-disable-next-line @typescript-eslint/no-base-to-string + artifacts.join("\n") + } Please now review the code used and whether it correctly operates on the context data. If you spot errors in how the code attempts to access the code data, submit another code file with the corrections. diff --git a/apps/hash-ai-worker-ts/src/activities/flow-activities/get-file-from-url-action.ts b/apps/hash-ai-worker-ts/src/activities/flow-activities/get-file-from-url-action.ts index 04719a25f30..3c69fd417d6 100644 --- a/apps/hash-ai-worker-ts/src/activities/flow-activities/get-file-from-url-action.ts +++ b/apps/hash-ai-worker-ts/src/activities/flow-activities/get-file-from-url-action.ts @@ -35,7 +35,7 @@ export const getFileFromUrlAction: FlowActionActivity = async ({ inputs }) => { } // @todo look for an existing file with the same originalUrl in the graph, and update it if found? - const operation = "create" as const; + const operation = "create"; const fileEntity = createFileEntityFromUrlStatus.entity.toJSON(); diff --git a/apps/hash-ai-worker-ts/src/activities/flow-activities/infer-metadata-from-document-action.ts b/apps/hash-ai-worker-ts/src/activities/flow-activities/infer-metadata-from-document-action.ts index 28b445bf670..ab196038dc5 100644 --- a/apps/hash-ai-worker-ts/src/activities/flow-activities/infer-metadata-from-document-action.ts +++ b/apps/hash-ai-worker-ts/src/activities/flow-activities/infer-metadata-from-document-action.ts @@ -1,6 +1,6 @@ import { createWriteStream } from "node:fs"; import { mkdir, unlink } from "node:fs/promises"; -import { dirname, join } from "node:path"; +import path from "node:path"; import { Readable } from "node:stream"; import { finished } from "node:stream/promises"; import type { ReadableStream } from "node:stream/web"; @@ -47,9 +47,9 @@ import { getLlmAnalysisOfDoc } from "./infer-metadata-from-document-action/get-l import type { FlowActionActivity } from "./types.js"; const __filename = fileURLToPath(import.meta.url); -const __dirname = dirname(__filename); +const __dirname = path.dirname(__filename); -const baseFilePath = join(__dirname, "/var/tmp_files"); +const baseFilePath = path.join(__dirname, "/var/tmp_files"); export const inferMetadataFromDocumentAction: FlowActionActivity = async ({ inputs, @@ -200,6 +200,8 @@ export const inferMetadataFromDocumentAction: FlowActionActivity = async ({ resolve(pdfData); }); + // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors + // eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors pdfParser.loadPDF(filePath).catch((err) => reject(err)); }); diff --git a/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action.ai.test.ts b/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action.ai.test.ts index efce2367b8a..3a6cf71263b 100644 --- a/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action.ai.test.ts +++ b/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action.ai.test.ts @@ -7,7 +7,7 @@ import { readFileSync, writeFileSync, } from "node:fs"; -import { dirname, join } from "node:path"; +import path from "node:path"; import { fileURLToPath } from "node:url"; import { expect, test } from "vitest"; @@ -16,9 +16,9 @@ import { researchEntitiesAction } from "./research-entities-action.js"; import type { CoordinatingAgentState } from "./research-entities-action/shared/coordinators.js"; const __filename = fileURLToPath(import.meta.url); -const __dirname = dirname(__filename); +const __dirname = path.dirname(__filename); -const baseDirectoryPath = join(__dirname, "/var/persisted-state"); +const baseDirectoryPath = path.join(__dirname, "/var/persisted-state"); export const retrievePreviousState = (params: { testName: string; diff --git a/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/link-follower-agent/choose-relevant-links-from-content.optimize.ai.test.ts b/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/link-follower-agent/choose-relevant-links-from-content.optimize.ai.test.ts index 5b4ca35928e..5db2adeb782 100644 --- a/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/link-follower-agent/choose-relevant-links-from-content.optimize.ai.test.ts +++ b/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/link-follower-agent/choose-relevant-links-from-content.optimize.ai.test.ts @@ -1,6 +1,6 @@ import "../../../../shared/testing-utilities/mock-get-flow-context.js"; -import { dirname, join } from "node:path"; +import path from "node:path"; import { fileURLToPath } from "node:url"; import dedent from "dedent"; @@ -32,7 +32,7 @@ const ftse350Metric: MetricDefinition = { The user prompt provided to the LLM is: "${ftse350MetricPrompt}". The text provided to the LLM is the HTML of a web-page containing a table of FTSE350 constituents, paginated across multiple pages. - + The LLM must extract all the paginated links from the FTSE350 constituents page, because the links must be followed to extract the full list of FTSE350 constituents. @@ -118,7 +118,7 @@ const marksAndSpencersAnnualInvestorsReport: MetricDefinition = { The text provided to the LLM is the HTML of the Marks and Spencers investors page, which includes links to a variety of documents, including the annual investor report published by the company every year. - + To satisfy the prompt, the LLM must extract the link to the latest annual investor report PDF published by Marks and Spencers, which is https://corporate.marksandspencer.com/sites/marksandspencer/files/2024-06/M-and-S-2024-Annual-Report.pdf. @@ -201,7 +201,7 @@ const graphicsCardSpecificationMetric: MetricDefinition = { To satisfy the prompt, the LLM must extract the link to the specification page of the NVIDIA GeForce RTX 4090 graphics card, which is https://www.techpowerup.com/gpu-specs/geforce-rtx-4090.c3889. - + The score in this metric is calculated as 1 if the correct link is extracted, and 0 otherwise. `), executeMetric: async (params) => { @@ -267,9 +267,9 @@ const metrics: MetricDefinition[] = [ ]; const __filename = fileURLToPath(import.meta.url); -const __dirname = dirname(__filename); +const __dirname = path.dirname(__filename); -const baseDirectoryPath = join( +const baseDirectoryPath = path.join( __dirname, "/var/extract-links-from-text-testing", ); diff --git a/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/link-follower-agent/get-link-follower-next-tool-calls.ts b/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/link-follower-agent/get-link-follower-next-tool-calls.ts index bcc415d3c43..37f68f3d860 100644 --- a/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/link-follower-agent/get-link-follower-next-tool-calls.ts +++ b/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/link-follower-agent/get-link-follower-next-tool-calls.ts @@ -42,11 +42,11 @@ const getLinkFollowerNextToolCallsSystemPrompt = dedent(` - complete: complete the research task if the gathered claims fulfill the task - exploreLinks: call this tool to explore additional links to gather more claims that may fulfill the task - terminate: terminate the research task if it cannot be progressed further - - If you already have enough claims to meet the research brief, call 'complete'. + + If you already have enough claims to meet the research brief, call 'complete'. Don't follow more links unless it is required to meet the goal of the research task. - + Balance any need to gather more claims with the need to complete the task in a timely manner. Consider the research task and the claims already gathered when making your decision. `); @@ -116,6 +116,8 @@ Now decide what to do next. If you have gathered enough information about entiti }; }; +// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors +// eslint-disable-next-line @typescript-eslint/no-unused-vars const toolNames = ["exploreLinks", "complete", "terminate"] as const; type ToolName = (typeof toolNames)[number]; diff --git a/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/link-follower-agent/llama-index/simple-storage-context.ts b/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/link-follower-agent/llama-index/simple-storage-context.ts index 86c6fdef976..c6df2347809 100644 --- a/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/link-follower-agent/llama-index/simple-storage-context.ts +++ b/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/link-follower-agent/llama-index/simple-storage-context.ts @@ -1,5 +1,5 @@ import { access, mkdir } from "node:fs/promises"; -import { dirname, join } from "node:path"; +import path from "node:path"; import { fileURLToPath } from "node:url"; import type { Subtype } from "@local/advanced-types/subtype"; @@ -20,9 +20,9 @@ export type SimpleStorageContext = Subtype< >; const __filename = fileURLToPath(import.meta.url); -const __dirname = dirname(__filename); +const __dirname = path.dirname(__filename); -const baseFilePath = join(__dirname, "/var/tmp_files"); +const baseFilePath = path.join(__dirname, "/var/tmp_files"); export const generateSimpleStorageContextFilePaths = (params: { hash: string; diff --git a/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/shared/coordinator-tools.ts b/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/shared/coordinator-tools.ts index 6f5a40685f7..f2525bf9678 100644 --- a/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/shared/coordinator-tools.ts +++ b/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/shared/coordinator-tools.ts @@ -56,6 +56,8 @@ export const subCoordinatorOmittedCoordinatorToolNames = [ type SubCoordinatorOmittedCoordinatorToolName = (typeof subCoordinatorOmittedCoordinatorToolNames)[number]; +// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors +// eslint-disable-next-line @typescript-eslint/no-unused-vars const subCoordinatingAgentCustomToolNames = ["complete"] as const; export type SubCoordinatingAgentCustomToolName = @@ -179,12 +181,12 @@ export const generateToolDefinitions = < description: dedent(` Instruct a colleague to help you with a specific part of the research task. This is useful when the research task is complex and requires multiple people to work on different parts of it. - + Make sure that you take account of any information the user has provided you when instructing your colleague, including the original research brief and any subsequent clarifications. Pass this information on to your colleague as part of the instructions where it would be helpful. - - Where you are seeking additional information on specific entities, make sure to include their ids as relevantEntityIds + + Where you are seeking additional information on specific entities, make sure to include their ids as relevantEntityIds `), inputSchema: { type: "object", @@ -198,7 +200,7 @@ export const generateToolDefinitions = < description: dedent(` The entityId of the proposed entities which the task is relevant to. If none, pass an empty array. - + ${ params.state.entitySummaries.length ? `The possible values are: ${params.state.entitySummaries @@ -217,8 +219,8 @@ export const generateToolDefinitions = < 2. If you are seeking more information on specific entities: a. the names of the entities (their ids should be provided under relevantEntityIds) b. what specific information you are seeking about them - - For example + + For example "Find the technical specifications of product X". "Find the LinkedIn URL for person X" "Find the release date, director and box office takings for movie X" @@ -239,9 +241,9 @@ export const generateToolDefinitions = < webSearch: { name: "webSearch", description: - dedent(`Perform a web search via a web search engine, returning a list of URLs. + dedent(`Perform a web search via a web search engine, returning a list of URLs. For best results, the query should be specific and concise. - Bear in mind that all the information you require may not be available via a single web search + Bear in mind that all the information you require may not be available via a single web search – if you have various attributes to gather about specific entities, it may be worth performing multiple searches for each entity, or for each entity's attribute, until you find suitable results. `), @@ -266,13 +268,13 @@ export const generateToolDefinitions = < name: "inferClaimsFromResource", description: dedent(` Explore a resource in order to discover entities and 'claims' (possible facts) it contains, as well resources linked from it. - + The URLs for the resource must have been provided in messages to you, or as the result of a previous action (e.g. a web search, or in suggestions for next steps). Don't guess URLs! - + If you want additional information about entities you already know about, or to find new entities to link to existing entities, be sure to specify the existing entities under 'relevantEntityIds'. - + You can explore multiple resources at once by making multiple calls, but don't start multiple redundant explorations for the same information. You can always explore another URL if one doesn't return the information you require. `), @@ -288,7 +290,7 @@ export const generateToolDefinitions = < type: "string", description: dedent(` The goal of exploring this specific resource. This will be used to guide what specific entities and claims are discovered. - + DO include: 1. What specifies entities or types of entities you are seeking information on 2. Any guidance from the user, whether in the original instructions or subsequent questions and answers, which is relevant to the task @@ -320,7 +322,7 @@ export const generateToolDefinitions = < The entityIds of already proposed entities which you are seeking further detail on, if any. If you expect new entities you are seeking to be linked to already-discovered entities, specify the already-discovered entities here. If you are unsure if an entity is relevant, just include it – it's better to include too many than too few. - + If there are absolutely no entities relevant, pass an empty array. `), }, @@ -357,7 +359,7 @@ export const generateToolDefinitions = < type: "string", }, description: dedent(` - An array of entityIds to highlight. + An array of entityIds to highlight. The user will receive all entities discovered, with the highlighted entityIds identified for special attention. You must have made an effort to find as many properties and outgoing links for each entity as possible, as long as they relate to the research task in question. @@ -385,12 +387,12 @@ export const generateToolDefinitions = < description: dedent(` Update the plan for the research task. You can call this alongside other tool calls to progress towards completing the task. - + IMPORTANT: the plan should take account of: 1. The research goal 2. The information gathered so far. - - Don't be afraid to deviate from an earlier plan if you've gathered sufficient information to + + Don't be afraid to deviate from an earlier plan if you've gathered sufficient information to meet the research goal, and return the information discovered. `), inputSchema: { @@ -807,10 +809,10 @@ export const generateOutstandingTasksDescription = ( The following tasks are still outstanding. You may decide to do one of the following: 1. Call 'waitForOutstandingTasks' to wait for outstanding tasks, OR 2. Start new tasks. - + You may optionally also call 'stopTasks' to stop specific tasks you think are no longer relevant, whether or not you're creating new tasks or waiting for outstanding tasks, using their 'toolCallId'. - + The outstanding tasks are: ${state.outstandingTasks .map((task) => @@ -822,7 +824,7 @@ export const generateOutstandingTasksDescription = ( `), ) .join("\n")} - + The results of each will be available in due course – but you can stop any now if you think they are no longer relevant. `); }; diff --git a/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/sub-coordinating-agent.ai.test.ts b/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/sub-coordinating-agent.ai.test.ts index cb8a3015ce0..2d42a98e031 100644 --- a/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/sub-coordinating-agent.ai.test.ts +++ b/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/sub-coordinating-agent.ai.test.ts @@ -7,7 +7,7 @@ import { readFileSync, writeFileSync, } from "node:fs"; -import { dirname, join } from "node:path"; +import path from "node:path"; import { fileURLToPath } from "node:url"; import { expect, test } from "vitest"; @@ -19,9 +19,9 @@ import { runSubCoordinatingAgent } from "./sub-coordinating-agent.js"; import type { SubCoordinatingAgentState } from "./sub-coordinating-agent/state.js"; const __filename = fileURLToPath(import.meta.url); -const __dirname = dirname(__filename); +const __dirname = path.dirname(__filename); -const baseDirectoryPath = join( +const baseDirectoryPath = path.join( __dirname, "/var/sub-coordinating-agent/persisted-state", ); diff --git a/apps/hash-ai-worker-ts/src/activities/flow-activities/shared/create-file-entity-from-url.ts b/apps/hash-ai-worker-ts/src/activities/flow-activities/shared/create-file-entity-from-url.ts index ca99565ee2a..d7cdb172454 100644 --- a/apps/hash-ai-worker-ts/src/activities/flow-activities/shared/create-file-entity-from-url.ts +++ b/apps/hash-ai-worker-ts/src/activities/flow-activities/shared/create-file-entity-from-url.ts @@ -7,7 +7,7 @@ import { import { unlink } from "node:fs/promises"; import * as http from "node:http"; import * as https from "node:https"; -import { dirname, join } from "node:path"; +import path from "node:path"; import { Readable } from "node:stream"; import { finished } from "node:stream/promises"; import type { ReadableStream } from "node:stream/web"; @@ -47,15 +47,15 @@ import { getFlowContext } from "../../shared/get-flow-context.js"; import { graphApiClient } from "../../shared/graph-api-client.js"; const __filename = fileURLToPath(import.meta.url); -const __dirname = dirname(__filename); +const __dirname = path.dirname(__filename); -const baseFilePath = join(__dirname, "/var/tmp_files"); +const baseFilePath = path.join(__dirname, "/var/tmp_files"); const downloadFileToFileSystem = async (fileUrl: string) => { mkdirSync(baseFilePath, { recursive: true }); const tempFileName = generateUuid(); - const filePath = join(baseFilePath, tempFileName); + const filePath = path.join(baseFilePath, tempFileName); const response = await fetch(fileUrl); if (!response.ok || !response.body) { diff --git a/apps/hash-ai-worker-ts/src/activities/flow-activities/shared/infer-summaries-then-claims-from-text/get-entity-summaries-from-text.optimize.ai.test.ts b/apps/hash-ai-worker-ts/src/activities/flow-activities/shared/infer-summaries-then-claims-from-text/get-entity-summaries-from-text.optimize.ai.test.ts index c482f26add2..8d30cca44e6 100644 --- a/apps/hash-ai-worker-ts/src/activities/flow-activities/shared/infer-summaries-then-claims-from-text/get-entity-summaries-from-text.optimize.ai.test.ts +++ b/apps/hash-ai-worker-ts/src/activities/flow-activities/shared/infer-summaries-then-claims-from-text/get-entity-summaries-from-text.optimize.ai.test.ts @@ -1,6 +1,6 @@ import "../../../../shared/testing-utilities/mock-get-flow-context.js"; -import { dirname, join } from "node:path"; +import path from "node:path"; import { fileURLToPath } from "node:url"; import { test } from "vitest"; @@ -131,9 +131,9 @@ const metrics: MetricDefinition[] = testData.map((testItem) => { }); const __filename = fileURLToPath(import.meta.url); -const __dirname = dirname(__filename); +const __dirname = path.dirname(__filename); -const baseDirectoryPath = join( +const baseDirectoryPath = path.join( __dirname, "/var/get-entity-summaries-from-text-test", ); diff --git a/apps/hash-ai-worker-ts/src/activities/flow-activities/shared/infer-summaries-then-claims-from-text/infer-summaries-then-claims-from-text.ai.test.ts b/apps/hash-ai-worker-ts/src/activities/flow-activities/shared/infer-summaries-then-claims-from-text/infer-summaries-then-claims-from-text.ai.test.ts index f2c5bf73823..39f5a1db218 100644 --- a/apps/hash-ai-worker-ts/src/activities/flow-activities/shared/infer-summaries-then-claims-from-text/infer-summaries-then-claims-from-text.ai.test.ts +++ b/apps/hash-ai-worker-ts/src/activities/flow-activities/shared/infer-summaries-then-claims-from-text/infer-summaries-then-claims-from-text.ai.test.ts @@ -1,7 +1,7 @@ import "../../../../shared/testing-utilities/mock-get-flow-context.js"; import { readFileSync } from "node:fs"; -import { dirname, join } from "node:path"; +import path from "node:path"; import { fileURLToPath } from "node:url"; import type { EntityUuid } from "@local/hash-graph-types/entity"; @@ -322,7 +322,7 @@ const statyaNadellaLinkedInEntitySummaries: LocalEntitySummary[] = [ ]; const __filename = fileURLToPath(import.meta.url); -const __dirname = dirname(__filename); +const __dirname = path.dirname(__filename); /** * This test requires a local HTML file to be present at the path specified below, @@ -332,7 +332,7 @@ const __dirname = dirname(__filename); test.skip( "Test inferSummariesThenClaimsFromText with Linked In web page", async () => { - const linkedInInnerHtmlPath = join(__dirname, "/var/linkedin.html"); + const linkedInInnerHtmlPath = path.join(__dirname, "/var/linkedin.html"); const innerHtml = readFileSync(linkedInInnerHtmlPath, "utf8"); diff --git a/apps/hash-ai-worker-ts/src/activities/flow-activities/shared/propose-entities-from-claims/propose-entity-from-claims-agent.ts b/apps/hash-ai-worker-ts/src/activities/flow-activities/shared/propose-entities-from-claims/propose-entity-from-claims-agent.ts index d29687f3987..e1ec0519fb5 100644 --- a/apps/hash-ai-worker-ts/src/activities/flow-activities/shared/propose-entities-from-claims/propose-entity-from-claims-agent.ts +++ b/apps/hash-ai-worker-ts/src/activities/flow-activities/shared/propose-entities-from-claims/propose-entity-from-claims-agent.ts @@ -164,6 +164,8 @@ const generatePropertyMetadata = (params: { }; }; +// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors +// eslint-disable-next-line @typescript-eslint/no-unused-vars const toolNames = ["proposeEntity", "abandonEntity"] as const; type ToolName = (typeof toolNames)[number]; diff --git a/apps/hash-ai-worker-ts/src/activities/get-ai-assistant-account-id-activity.ts b/apps/hash-ai-worker-ts/src/activities/get-ai-assistant-account-id-activity.ts index 9f3efb96652..caad05fcb7d 100644 --- a/apps/hash-ai-worker-ts/src/activities/get-ai-assistant-account-id-activity.ts +++ b/apps/hash-ai-worker-ts/src/activities/get-ai-assistant-account-id-activity.ts @@ -22,7 +22,7 @@ export const getAiAssistantAccountIdActivity = async (params: { authentication, { identifier: "hash-ai" }, ); - } catch (error) { + } catch { return null; } diff --git a/apps/hash-ai-worker-ts/src/activities/infer-entities/infer-entity-summaries.ts b/apps/hash-ai-worker-ts/src/activities/infer-entities/infer-entity-summaries.ts index 564f2204220..de8eeee14e9 100644 --- a/apps/hash-ai-worker-ts/src/activities/infer-entities/infer-entity-summaries.ts +++ b/apps/hash-ai-worker-ts/src/activities/infer-entities/infer-entity-summaries.ts @@ -302,6 +302,8 @@ export const inferEntitySummaries = async (params: { */ if (typesWithNoSuggestionsToRerequest.length > 0) { logger.info( + // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors + // eslint-disable-next-line @typescript-eslint/no-base-to-string `No suggestions for entity types: ${typesWithNoSuggestionsToRerequest.join( ", ", )}`, diff --git a/apps/hash-ai-worker-ts/src/activities/infer-entities/propose-entities.ts b/apps/hash-ai-worker-ts/src/activities/infer-entities/propose-entities.ts index 0795d544b1c..89a49d61188 100644 --- a/apps/hash-ai-worker-ts/src/activities/infer-entities/propose-entities.ts +++ b/apps/hash-ai-worker-ts/src/activities/infer-entities/propose-entities.ts @@ -371,7 +371,7 @@ export const proposeEntities = async (params: { try { validateProposedEntitiesByType(proposedEntitiesByType, false); - } catch (err) { + } catch { logger.error( `Model provided invalid argument to create_entities function. Argument provided: ${stringify( toolCall.input, diff --git a/apps/hash-ai-worker-ts/src/activities/shared/activity-logger.ts b/apps/hash-ai-worker-ts/src/activities/shared/activity-logger.ts index ff8ff011a83..01457550b08 100644 --- a/apps/hash-ai-worker-ts/src/activities/shared/activity-logger.ts +++ b/apps/hash-ai-worker-ts/src/activities/shared/activity-logger.ts @@ -1,5 +1,5 @@ import fs from "node:fs"; -import path, { dirname } from "node:path"; +import path from "node:path"; import { fileURLToPath } from "node:url"; import { Context } from "@temporalio/activity"; @@ -7,7 +7,7 @@ import { Context } from "@temporalio/activity"; import { logger as baseLogger } from "../../shared/logger.js"; const __filename = fileURLToPath(import.meta.url); -const __dirname = dirname(__filename); +const __dirname = path.dirname(__filename); const log = ( message: string, diff --git a/apps/hash-ai-worker-ts/src/activities/shared/get-llm-response/anthropic-client.ts b/apps/hash-ai-worker-ts/src/activities/shared/get-llm-response/anthropic-client.ts index 22c2f40c685..e670d7f4718 100644 --- a/apps/hash-ai-worker-ts/src/activities/shared/get-llm-response/anthropic-client.ts +++ b/apps/hash-ai-worker-ts/src/activities/shared/get-llm-response/anthropic-client.ts @@ -91,6 +91,8 @@ const anthropicBedrockClient: AnthropicBedrock = new AnthropicBedrock({ awsRegion, }); +// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors +// eslint-disable-next-line @typescript-eslint/no-unused-vars const anthropicBedrockModels = [ "anthropic.claude-3-haiku-20240307-v1:0", "anthropic.claude-3-opus-20240229-v1:0", @@ -109,6 +111,8 @@ export const anthropicModelToBedrockModel: Record< "claude-3-5-sonnet-20240620": "anthropic.claude-3-5-sonnet-20240620-v1:0", }; +// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors +// eslint-disable-next-line @typescript-eslint/no-unused-vars const anthropicApiProviders = ["anthropic", "amazon-bedrock"] as const; export type AnthropicApiProvider = (typeof anthropicApiProviders)[number]; diff --git a/apps/hash-ai-worker-ts/src/activities/shared/get-llm-response/llm-message.ts b/apps/hash-ai-worker-ts/src/activities/shared/get-llm-response/llm-message.ts index a07aef6d803..2289dbb7bb4 100644 --- a/apps/hash-ai-worker-ts/src/activities/shared/get-llm-response/llm-message.ts +++ b/apps/hash-ai-worker-ts/src/activities/shared/get-llm-response/llm-message.ts @@ -130,6 +130,8 @@ export const mapAnthropicMessageToLlmMessage = (params: { return { type: "tool_result" as const, tool_use_id: block.tool_use_id, + // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors + // eslint-disable-next-line @typescript-eslint/no-base-to-string content: textBlocks?.join("\n") ?? "", } satisfies LlmMessageToolResultContent; } diff --git a/apps/hash-ai-worker-ts/src/activities/shared/get-llm-response/log-llm-request.ts b/apps/hash-ai-worker-ts/src/activities/shared/get-llm-response/log-llm-request.ts index 0cd63d64d31..1bd4b23edf8 100644 --- a/apps/hash-ai-worker-ts/src/activities/shared/get-llm-response/log-llm-request.ts +++ b/apps/hash-ai-worker-ts/src/activities/shared/get-llm-response/log-llm-request.ts @@ -1,5 +1,5 @@ import { existsSync, mkdirSync, writeFileSync } from "node:fs"; -import path, { dirname } from "node:path"; +import path from "node:path"; import { fileURLToPath } from "node:url"; import { Context } from "@temporalio/activity"; @@ -8,7 +8,7 @@ import { logger } from "../activity-logger.js"; import type { LlmLog, LlmServerErrorLog } from "./types.js"; const __filename = fileURLToPath(import.meta.url); -const __dirname = dirname(__filename); +const __dirname = path.dirname(__filename); const writeLogToFile = (log: LlmLog | LlmServerErrorLog) => { const logFolderPath = path.join(__dirname, "logs"); diff --git a/apps/hash-ai-worker-ts/src/activities/shared/optimize-system-prompt.ts b/apps/hash-ai-worker-ts/src/activities/shared/optimize-system-prompt.ts index 4d288941350..06514a8afb4 100644 --- a/apps/hash-ai-worker-ts/src/activities/shared/optimize-system-prompt.ts +++ b/apps/hash-ai-worker-ts/src/activities/shared/optimize-system-prompt.ts @@ -1,7 +1,7 @@ import "../../shared/testing-utilities/mock-get-flow-context.js"; import { existsSync, mkdirSync, writeFileSync } from "node:fs"; -import { join } from "node:path"; +import path from "node:path"; import type { LlmParams } from "./get-llm-response/types.js"; import { improveSystemPrompt } from "./optimize-system-prompt/improve-system-prompt.js"; @@ -60,7 +60,7 @@ const saveAllResultsToCSV = (params: { const csvContent = [headers, ...rows].map((row) => row.join(",")).join("\n"); - const filePath = join(directoryPath, `${filePrefix}-metric-results.csv`); + const filePath = path.join(directoryPath, `${filePrefix}-metric-results.csv`); writeFileSync(filePath, csvContent, "utf8"); }; @@ -141,7 +141,7 @@ const saveSummaryToCSV = (params: { const csvContent = [headers, ...rows].map((row) => row.join(",")).join("\n"); - const filePath = join(directoryPath, `${filePrefix}-summary.csv`); + const filePath = path.join(directoryPath, `${filePrefix}-summary.csv`); writeFileSync(filePath, csvContent, "utf8"); }; diff --git a/apps/hash-ai-worker-ts/src/main.ts b/apps/hash-ai-worker-ts/src/main.ts index f1d5ddec316..1e76bd1bc46 100644 --- a/apps/hash-ai-worker-ts/src/main.ts +++ b/apps/hash-ai-worker-ts/src/main.ts @@ -10,8 +10,7 @@ Sentry.init({ import * as http from "node:http"; import { createRequire } from "node:module"; -import * as path from "node:path"; -import { dirname } from "node:path"; +import path from "node:path"; import { fileURLToPath } from "node:url"; import { createGraphClient } from "@local/hash-backend-utils/create-graph-client"; @@ -29,7 +28,7 @@ import { createFlowActivities } from "./activities/flow-activities.js"; import { logger } from "./shared/logger.js"; const __filename = fileURLToPath(import.meta.url); -const __dirname = dirname(__filename); +const __dirname = path.dirname(__filename); const require = createRequire(import.meta.url); From 2b92447ec9785a265eeb74afefe832c9798b2eae Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Mon, 9 Dec 2024 19:32:11 +0100 Subject: [PATCH 13/51] feat: eslint for hash-frontend --- apps/hash-frontend/.eslintrc.cjs | 89 -------------------- apps/hash-frontend/eslint.config.js | 98 ++++++++++++++++++++++ apps/hash-frontend/package.json | 4 +- apps/hash-frontend/tsconfig.json | 3 +- libs/@local/eslint/src/deprecated/index.ts | 7 +- yarn.lock | 4 +- 6 files changed, 110 insertions(+), 95 deletions(-) delete mode 100644 apps/hash-frontend/.eslintrc.cjs create mode 100644 apps/hash-frontend/eslint.config.js diff --git a/apps/hash-frontend/.eslintrc.cjs b/apps/hash-frontend/.eslintrc.cjs deleted file mode 100644 index 8e62f091c00..00000000000 --- a/apps/hash-frontend/.eslintrc.cjs +++ /dev/null @@ -1,89 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-workspace-config.cjs")(__dirname), - rules: { - ...require("@local/eslint-config/temporarily-disable-rules.cjs")([ - /* 2022-11-29: 11 */ "@typescript-eslint/no-unsafe-argument", - /* 2022-11-29: 54 */ "@typescript-eslint/no-unsafe-assignment", - /* 2022-11-29: 30 */ "@typescript-eslint/no-unsafe-member-access", - /* 2022-11-29: 11 */ "@typescript-eslint/no-unsafe-return", - /* 2022-11-29: 34 */ "@typescript-eslint/restrict-template-expressions", - ]), - "jsx-a11y/label-has-associated-control": "off", - "import/no-default-export": "error", - "no-restricted-imports": [ - "error", - { - paths: [ - { - name: "next", - importNames: ["Link"], - message: - "Please use the custom wrapper component in src/shared/ui component instead to ensure Next.js and MUI compatibility.", - }, - { - name: "next/link", - message: - "Please use the custom wrapper component in src/shared/ui component instead to ensure Next.js and MUI compatibility.", - }, - { - name: "@mui/material", - importNames: [ - "Avatar", - "IconButton", - "Chip", - "TextField", - "Select", - "Link", - "Button", - "MenuItem", - "Tabs", - ], - message: - "Please use the custom wrapper component from src/shared/ui for Link, Button, Tabs and MenuItem and from '@hashintel/design-system' for every other component.", - }, - { - name: "notistack", - importNames: ["useSnackbar"], - message: - "Please use the custom src/components/hooks/useSnackbar hook instead.", - }, - { - name: "@hashintel/design-system", - importNames: ["Button", "Link", "MenuItem"], - message: - "Please use the custom wrapper component in src/shared/ui component instead", - }, - ], - patterns: [ - { - group: ["@mui/material/*"], - message: "Please import from @mui/material instead", - }, - { - group: [ - "@hashintel/design-system/*", - "!@hashintel/design-system/theme", - "!@hashintel/design-system/constants", - "!@hashintel/design-system/palettes", - ], - message: "Please import from @hashintel/design-system instead", - }, - ], - }, - ], - }, - overrides: [ - { - files: [ - "./src/pages/**/*.api.ts", - "./src/pages/**/*.page.ts", - "./src/pages/**/*.page.tsx", - "**/__mocks__/**", - ], - rules: { - "import/no-default-export": "off", - }, - }, - ], -}; diff --git a/apps/hash-frontend/eslint.config.js b/apps/hash-frontend/eslint.config.js new file mode 100644 index 00000000000..53f26ec06bd --- /dev/null +++ b/apps/hash-frontend/eslint.config.js @@ -0,0 +1,98 @@ +import { + defineConfig, + createBase, + disableRules, +} from "@local/eslint/deprecated"; + +export default [ + ...createBase(import.meta.dirname), + ...disableRules([ + /* 2022-11-29: 11 */ "@typescript-eslint/no-unsafe-argument", + /* 2022-11-29: 54 */ "@typescript-eslint/no-unsafe-assignment", + /* 2022-11-29: 30 */ "@typescript-eslint/no-unsafe-member-access", + /* 2022-11-29: 11 */ "@typescript-eslint/no-unsafe-return", + /* 2022-11-29: 34 */ "@typescript-eslint/restrict-template-expressions", + ]), + ...defineConfig([ + { + rules: { + "jsx-a11y/label-has-associated-control": "off", + "import/no-default-export": "error", + "no-restricted-imports": [ + "error", + { + paths: [ + { + name: "next", + importNames: ["Link"], + message: + "Please use the custom wrapper component in src/shared/ui component instead to ensure Next.js and MUI compatibility.", + }, + { + name: "next/link", + message: + "Please use the custom wrapper component in src/shared/ui component instead to ensure Next.js and MUI compatibility.", + }, + { + name: "@mui/material", + importNames: [ + "Avatar", + "IconButton", + "Chip", + "TextField", + "Select", + "Link", + "Button", + "MenuItem", + "Tabs", + ], + message: + "Please use the custom wrapper component from src/shared/ui for Link, Button, Tabs and MenuItem and from '@hashintel/design-system' for every other component.", + }, + { + name: "notistack", + importNames: ["useSnackbar"], + message: + "Please use the custom src/components/hooks/useSnackbar hook instead.", + }, + { + name: "@hashintel/design-system", + importNames: ["Button", "Link", "MenuItem"], + message: + "Please use the custom wrapper component in src/shared/ui component instead", + }, + ], + patterns: [ + // @ts-expect-error: invalid typing + { + group: ["@mui/material/*"], + message: "Please import from @mui/material instead", + }, + // @ts-expect-error: invalid typing + { + group: [ + "@hashintel/design-system/*", + "!@hashintel/design-system/theme", + "!@hashintel/design-system/constants", + "!@hashintel/design-system/palettes", + ], + message: "Please import from @hashintel/design-system instead", + }, + ], + }, + ], + }, + }, + { + files: [ + "**/src/pages/**/*.api.ts", + "**/src/pages/**/*.page.ts", + "**/src/pages/**/*.page.tsx", + "**/__mocks__/**", + ], + rules: { + "import/no-default-export": "off", + }, + }, + ]), +]; diff --git a/apps/hash-frontend/package.json b/apps/hash-frontend/package.json index dc8658677d0..6ae5ea31513 100644 --- a/apps/hash-frontend/package.json +++ b/apps/hash-frontend/package.json @@ -131,7 +131,7 @@ "@graphql-codegen/fragment-matcher": "3.3.3", "@graphql-codegen/typescript": "2.8.8", "@graphql-codegen/typescript-operations": "2.5.13", - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@next/bundle-analyzer": "12.3.4", "@types/dotenv-flow": "3.3.3", @@ -150,7 +150,7 @@ "@types/url-regex-safe": "1.0.2", "@types/uuid": "10.0.0", "@welldone-software/why-did-you-render": "8.0.3", - "eslint": "8.57.0", + "eslint": "9.16.0", "graphology-types": "0.24.8", "rimraf": "6.0.1", "sass": "1.82.0", diff --git a/apps/hash-frontend/tsconfig.json b/apps/hash-frontend/tsconfig.json index bdc90fae4b6..07de72210f2 100644 --- a/apps/hash-frontend/tsconfig.json +++ b/apps/hash-frontend/tsconfig.json @@ -19,7 +19,8 @@ "theme-override.d.ts", "**/*.ts", "**/*.tsx", - "codegen.config.ts" + "codegen.config.ts", + "eslint.config.js" ], "exclude": ["node_modules", ".next"] } diff --git a/libs/@local/eslint/src/deprecated/index.ts b/libs/@local/eslint/src/deprecated/index.ts index a28f8886fc6..e6a566cd1ba 100644 --- a/libs/@local/eslint/src/deprecated/index.ts +++ b/libs/@local/eslint/src/deprecated/index.ts @@ -1,4 +1,9 @@ +import type { ESLintRules } from "eslint/rules"; + +import { defineConfig as defineConfig$ } from "../utils.js"; + export { create as createBase } from "./base.js"; export { create as createBlock } from "./block.js"; export { disableRules } from "./disable.js"; -export { defineConfig } from "../utils.js"; + +export const defineConfig = defineConfig$; diff --git a/yarn.lock b/yarn.lock index f8292494bf1..5b1e970f177 100644 --- a/yarn.lock +++ b/yarn.lock @@ -508,7 +508,7 @@ __metadata: "@hashintel/type-editor": "npm:0.0.25" "@lit-labs/react": "npm:1.2.1" "@local/advanced-types": "npm:0.0.0-private" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/hash-graph-client": "npm:0.0.0-private" "@local/hash-graph-sdk": "npm:0.0.0-private" "@local/hash-graph-types": "npm:0.0.0-private" @@ -559,7 +559,7 @@ __metadata: dotenv-flow: "npm:3.3.0" elkjs: "npm:0.9.3" emoji-mart: "npm:5.2.1" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" fractional-indexing: "npm:2.1.0" framer-motion: "npm:6.5.1" graphology: "npm:0.25.4" From 03120f87b1e288ab81da2eb1e1970738b67c5a18 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Mon, 9 Dec 2024 19:51:21 +0100 Subject: [PATCH 14/51] fix: hash-frontend --- apps/hash-frontend/eslint.config.js | 3 +++ .../src/components/error-block/error-block.tsx | 4 +++- .../src/components/remote-block/load-remote-block.ts | 4 +++- .../user-profile-info-modal-header.tsx | 4 ++++ .../canvas-page/block-creation-dialog.tsx | 2 +- .../[entity-uuid].page/edit-entity-slide-over.tsx | 2 +- .../[entity-uuid].page/entity-editor-page.tsx | 2 +- .../history-section/get-history-events.ts | 2 +- .../incoming-links-section/incoming-links-table.tsx | 2 ++ .../readonly-outgoing-links-table.tsx | 2 ++ .../cells/value-cell/inputs/json-input.tsx | 2 +- apps/hash-frontend/src/pages/_app.page.tsx | 2 ++ .../src/pages/_app.page/error-fallback.tsx | 1 + .../src/pages/shared/block-collection/collab/http.ts | 2 +- .../block-collection/collab/use-collab-positions.ts | 2 +- .../comments/comment-placeholder-plugin.tsx | 2 ++ .../shared/block-collection/create-editor-view.ts | 3 +++ .../shared/block-collection/create-error-plugin.tsx | 4 ++++ .../block-collection/create-format-plugins/index.tsx | 5 +++++ .../create-placeholder-plugin.tsx | 3 +++ .../create-suggester/block-suggester.tsx | 4 +++- .../create-suggester/create-suggester.tsx | 3 +++ .../block-collection/create-suggester/suggester.tsx | 12 +++++++++--- .../block-collection/focus-page-title-plugin.ts | 1 + .../block-collection/shared/mention-suggester.tsx | 4 +++- apps/hash-frontend/src/pages/shared/verify-code.tsx | 2 +- .../src/pages/shared/visualizer-views.tsx | 2 ++ .../src/pages/types/[[...type-kind]].page.tsx | 2 ++ .../types/[[...type-kind]].page/types-table.tsx | 4 ++++ .../src/shared/generate-link-parameters.ts | 2 +- .../sidebar/account-page-list/page-tree-item.tsx | 2 +- 31 files changed, 74 insertions(+), 17 deletions(-) diff --git a/apps/hash-frontend/eslint.config.js b/apps/hash-frontend/eslint.config.js index 53f26ec06bd..e40c1fc5572 100644 --- a/apps/hash-frontend/eslint.config.js +++ b/apps/hash-frontend/eslint.config.js @@ -94,5 +94,8 @@ export default [ "import/no-default-export": "off", }, }, + { + ignores: ["buildstamp.js", "next.config.js"], + }, ]), ]; diff --git a/apps/hash-frontend/src/components/error-block/error-block.tsx b/apps/hash-frontend/src/components/error-block/error-block.tsx index 601c511af8d..3e0da9a1070 100644 --- a/apps/hash-frontend/src/components/error-block/error-block.tsx +++ b/apps/hash-frontend/src/components/error-block/error-block.tsx @@ -6,7 +6,9 @@ import { Button } from "../../shared/ui"; type FallbackRenderProps = Parameters[0]; export interface ErrorBlockProps extends FallbackRenderProps { - onRetry(): void; + // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors + // before was: onRetry(): void; + onRetry: () => void; } export const ErrorBlock: FunctionComponent = ({ diff --git a/apps/hash-frontend/src/components/remote-block/load-remote-block.ts b/apps/hash-frontend/src/components/remote-block/load-remote-block.ts index 21c1940e681..b05b282907c 100644 --- a/apps/hash-frontend/src/components/remote-block/load-remote-block.ts +++ b/apps/hash-frontend/src/components/remote-block/load-remote-block.ts @@ -11,7 +11,7 @@ export type UnknownBlock = export type FetchSourceFn = ( url: string, - signal?: AbortSignal | undefined, + signal?: AbortSignal, ) => Promise; /** @@ -53,6 +53,8 @@ const fetchAndParseBlock: FetchAndParseFn = (fetchSourceFn) => (url, signal) => const module = { exports }; // eslint-disable-next-line no-new-func,@typescript-eslint/no-implied-eval const func = new Function("require", "module", "exports", source); + // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors + // eslint-disable-next-line @typescript-eslint/no-unsafe-call func(requires, module, exports); /** diff --git a/apps/hash-frontend/src/pages/[shortname].page/edit-user-profile-info-modal/user-profile-info-modal-header.tsx b/apps/hash-frontend/src/pages/[shortname].page/edit-user-profile-info-modal/user-profile-info-modal-header.tsx index 82c56aa0773..3f669bc6934 100644 --- a/apps/hash-frontend/src/pages/[shortname].page/edit-user-profile-info-modal/user-profile-info-modal-header.tsx +++ b/apps/hash-frontend/src/pages/[shortname].page/edit-user-profile-info-modal/user-profile-info-modal-header.tsx @@ -115,6 +115,8 @@ export const UserProfileInfoModalHeader: FunctionComponent<{ const handleAvatarImageFileUpload = useCallback< ChangeEventHandler >( + // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors + // eslint-disable-next-line @typescript-eslint/no-misused-promises async (event) => { const file = event.target.files?.[0]; @@ -132,6 +134,8 @@ export const UserProfileInfoModalHeader: FunctionComponent<{ const handleCoverImageFileUpload = useCallback< ChangeEventHandler >( + // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors + // eslint-disable-next-line @typescript-eslint/no-misused-promises async (event) => { const file = event.target.files?.[0]; diff --git a/apps/hash-frontend/src/pages/[shortname]/[page-slug].page/canvas-page/block-creation-dialog.tsx b/apps/hash-frontend/src/pages/[shortname]/[page-slug].page/canvas-page/block-creation-dialog.tsx index 9da33eb0520..023f18a66de 100644 --- a/apps/hash-frontend/src/pages/[shortname]/[page-slug].page/canvas-page/block-creation-dialog.tsx +++ b/apps/hash-frontend/src/pages/[shortname]/[page-slug].page/canvas-page/block-creation-dialog.tsx @@ -173,7 +173,7 @@ export const BlockCreationDialog = ({ onClose }: DialogProps) => { setCreatingEntity(true); try { await createBlock(blockMeta); - } catch (err) { + } catch { setCreatingEntity(false); } }} diff --git a/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/edit-entity-slide-over.tsx b/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/edit-entity-slide-over.tsx index aa228c730cd..35b366dbacb 100644 --- a/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/edit-entity-slide-over.tsx +++ b/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/edit-entity-slide-over.tsx @@ -453,7 +453,7 @@ const EditEntitySlideOver = memo( resetEntityEditor(); onSubmit(); - } catch (err) { + } catch { setSavingChanges(false); } }, [ diff --git a/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-editor-page.tsx b/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-editor-page.tsx index 156361aebdf..152a4789e8d 100644 --- a/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-editor-page.tsx +++ b/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-editor-page.tsx @@ -53,7 +53,7 @@ export const EntityEditorPage = ({ setSelectedEntity({ entityId, }); - } catch (err) { + } catch { setSelectedEntity({ entityId }); } }, []); diff --git a/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-editor/history-section/get-history-events.ts b/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-editor/history-section/get-history-events.ts index dba4cd30d70..338e4c95145 100644 --- a/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-editor/history-section/get-history-events.ts +++ b/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-editor/history-section/get-history-events.ts @@ -189,7 +189,7 @@ export const getHistoryEvents = (diffs: EntityDiff[], subgraph: Subgraph) => { type: "property-update", diff: propertyDiff, }); - } catch (err) { + } catch { throw new Error( `Could not find property type with baseUrl ${propertyBaseUrl} among entity types with ids ${firstEntityEdition.metadata.entityTypeIds.join(", ")} in subgraph`, ); diff --git a/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-editor/links-section/incoming-links-section/incoming-links-table.tsx b/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-editor/links-section/incoming-links-section/incoming-links-table.tsx index f5eb1be2beb..938d16e74ca 100644 --- a/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-editor/links-section/incoming-links-section/incoming-links-table.tsx +++ b/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-editor/links-section/incoming-links-section/incoming-links-table.tsx @@ -52,6 +52,8 @@ import { maxLinksTableHeight, } from "../shared/table-styling"; +// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors +// eslint-disable-next-line @typescript-eslint/no-unused-vars const fieldIds = [ "linkedFrom", "linkTypes", diff --git a/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-editor/links-section/outgoing-links-section/readonly-outgoing-links-table.tsx b/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-editor/links-section/outgoing-links-section/readonly-outgoing-links-table.tsx index fa33b541fee..3f24ac2a335 100644 --- a/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-editor/links-section/outgoing-links-section/readonly-outgoing-links-table.tsx +++ b/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-editor/links-section/outgoing-links-section/readonly-outgoing-links-table.tsx @@ -53,6 +53,8 @@ import { maxLinksTableHeight, } from "../shared/table-styling"; +// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors +// eslint-disable-next-line @typescript-eslint/no-unused-vars const fieldIds = ["linkTypes", "linkedTo", "linkedToTypes", "link"] as const; type OutgoingLinksFieldId = (typeof fieldIds)[number]; diff --git a/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-editor/properties-section/property-table/cells/value-cell/inputs/json-input.tsx b/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-editor/properties-section/property-table/cells/value-cell/inputs/json-input.tsx index 8af104eaa94..2b6c6357a65 100644 --- a/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-editor/properties-section/property-table/cells/value-cell/inputs/json-input.tsx +++ b/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-editor/properties-section/property-table/cells/value-cell/inputs/json-input.tsx @@ -14,7 +14,7 @@ const isJsonObjectString = (str?: string) => { try { JSON.parse(str); - } catch (err) { + } catch { return false; } return true; diff --git a/apps/hash-frontend/src/pages/_app.page.tsx b/apps/hash-frontend/src/pages/_app.page.tsx index 7686fa7fb13..b641b385adf 100644 --- a/apps/hash-frontend/src/pages/_app.page.tsx +++ b/apps/hash-frontend/src/pages/_app.page.tsx @@ -2,6 +2,8 @@ import "./_app.page/why-did-you-render"; // @todo have webpack polyfill this +// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors +// eslint-disable-next-line @typescript-eslint/no-require-imports require("setimmediate"); import "./globals.scss"; diff --git a/apps/hash-frontend/src/pages/_app.page/error-fallback.tsx b/apps/hash-frontend/src/pages/_app.page/error-fallback.tsx index b96390cb8ac..870b1e84ddc 100644 --- a/apps/hash-frontend/src/pages/_app.page/error-fallback.tsx +++ b/apps/hash-frontend/src/pages/_app.page/error-fallback.tsx @@ -57,6 +57,7 @@ const CopyableMonospace = ({ text }: { text: string }) => { export const ErrorFallback: FallbackRender = ({ error, eventId, + // eslint-disable-next-line @typescript-eslint/unbound-method -- sentry issue resetError, }) => { const [showMessage, setShowMessage] = useState(false); diff --git a/apps/hash-frontend/src/pages/shared/block-collection/collab/http.ts b/apps/hash-frontend/src/pages/shared/block-collection/collab/http.ts index 9a08d6a7ede..1e56ca7ce7c 100644 --- a/apps/hash-frontend/src/pages/shared/block-collection/collab/http.ts +++ b/apps/hash-frontend/src/pages/shared/block-collection/collab/http.ts @@ -1,6 +1,6 @@ import { StatusError } from "./status-error"; -const makePlain = (html?: string | null | undefined) => { +const makePlain = (html?: string | null) => { const elt = document.createElement("div"); elt.innerHTML = html ?? ""; return elt.textContent?.replace(/\n[^]*|\s+$/g, "") ?? ""; diff --git a/apps/hash-frontend/src/pages/shared/block-collection/collab/use-collab-positions.ts b/apps/hash-frontend/src/pages/shared/block-collection/collab/use-collab-positions.ts index fd1b7cbd064..a7ffa8a8737 100644 --- a/apps/hash-frontend/src/pages/shared/block-collection/collab/use-collab-positions.ts +++ b/apps/hash-frontend/src/pages/shared/block-collection/collab/use-collab-positions.ts @@ -78,7 +78,7 @@ export const useCollabPositions = ( setPositionInfo({ accountId, pageEntityId, positions }); } poll = true; - } catch (error) { + } catch { await sleep(requestRetryInterval); } } diff --git a/apps/hash-frontend/src/pages/shared/block-collection/comments/comment-placeholder-plugin.tsx b/apps/hash-frontend/src/pages/shared/block-collection/comments/comment-placeholder-plugin.tsx index 276c60763cb..f7abd2f64e6 100644 --- a/apps/hash-frontend/src/pages/shared/block-collection/comments/comment-placeholder-plugin.tsx +++ b/apps/hash-frontend/src/pages/shared/block-collection/comments/comment-placeholder-plugin.tsx @@ -14,10 +14,12 @@ interface CommentPlaceholderState { } export const commentPlaceholderPluginkey = + // eslint-disable-next-line no-restricted-syntax -- prosemirror typing error new PluginKey("commentPlaceholder"); // Simplified version of createPlaceholderPlugin to be used in Comments export const commentPlaceholderPlugin = (renderPortal: RenderPortal) => + // eslint-disable-next-line no-restricted-syntax -- prosemirror typing error new Plugin({ key: commentPlaceholderPluginkey, state: { diff --git a/apps/hash-frontend/src/pages/shared/block-collection/create-editor-view.ts b/apps/hash-frontend/src/pages/shared/block-collection/create-editor-view.ts index e123e83e56a..2b9455d470e 100644 --- a/apps/hash-frontend/src/pages/shared/block-collection/create-editor-view.ts +++ b/apps/hash-frontend/src/pages/shared/block-collection/create-editor-view.ts @@ -41,6 +41,7 @@ const createSavePlugin = ( onError: (message: string) => void, ) => { let saveQueue = Promise.resolve(null); + // eslint-disable-next-line no-restricted-syntax -- prosemirror typing issue const pluginKey = new PluginKey("save"); let view: EditorView; @@ -87,6 +88,7 @@ const createSavePlugin = ( maxWait: maxWaitTime, }); + // eslint-disable-next-line no-restricted-syntax -- prosemirror typing issue return new Plugin({ state: { init: () => null, @@ -172,6 +174,7 @@ export const createEditorView = (params: { const errorSnackbarKey = "editor-saving-error-snackbar"; + // eslint-disable-next-line no-restricted-syntax -- prosemirror typing issue const plugins: Plugin[] = readonly ? [] : [ diff --git a/apps/hash-frontend/src/pages/shared/block-collection/create-error-plugin.tsx b/apps/hash-frontend/src/pages/shared/block-collection/create-error-plugin.tsx index 91f824663b2..aee8a82dc41 100644 --- a/apps/hash-frontend/src/pages/shared/block-collection/create-error-plugin.tsx +++ b/apps/hash-frontend/src/pages/shared/block-collection/create-error-plugin.tsx @@ -36,8 +36,11 @@ const ErrorView: FunctionComponent = ({ errored }) => { const defaultErrorProps = { errored: false }; export const createErrorPlugin = (renderPortal: RenderPortal) => { + // eslint-disable-next-line no-restricted-syntax -- prosemirror typing error const key = new PluginKey(); + return [ + // eslint-disable-next-line no-restricted-syntax -- prosemirror typing error new Plugin({ key, state: { @@ -73,6 +76,7 @@ export const createErrorPlugin = (renderPortal: RenderPortal) => { }, }; }, + // eslint-disable-next-line no-restricted-syntax -- prosemirror typing error }) as Plugin, (tr: Transaction) => { // @todo log diff --git a/apps/hash-frontend/src/pages/shared/block-collection/create-format-plugins/index.tsx b/apps/hash-frontend/src/pages/shared/block-collection/create-format-plugins/index.tsx index c212f49b776..391a363647c 100644 --- a/apps/hash-frontend/src/pages/shared/block-collection/create-format-plugins/index.tsx +++ b/apps/hash-frontend/src/pages/shared/block-collection/create-format-plugins/index.tsx @@ -30,7 +30,9 @@ interface LinkPluginState { linkUrl: null | string; } +// eslint-disable-next-line no-restricted-syntax -- prosemirror typing error const markPluginKey = new PluginKey("markPlugin"); +// eslint-disable-next-line no-restricted-syntax -- prosemirror typing error const linkPluginKey = new PluginKey("linkPlugin"); export function createFormatPlugins(renderPortal: RenderPortal) { @@ -38,6 +40,7 @@ export function createFormatPlugins(renderPortal: RenderPortal) { const linkModalRef = createRef(); + // eslint-disable-next-line no-restricted-syntax -- prosemirror typing error const marksTooltip = new Plugin({ key: markPluginKey, /** @@ -178,6 +181,7 @@ export function createFormatPlugins(renderPortal: RenderPortal) { }, }); + // eslint-disable-next-line no-restricted-syntax -- prosemirror typing error const linkPlugin = new Plugin({ key: linkPluginKey, state: { @@ -322,5 +326,6 @@ export function createFormatPlugins(renderPortal: RenderPortal) { inputRules({ rules: [linkInputRule()], }), + // eslint-disable-next-line no-restricted-syntax -- prosemirror typing error ] as Plugin[]; } diff --git a/apps/hash-frontend/src/pages/shared/block-collection/create-placeholder-plugin/create-placeholder-plugin.tsx b/apps/hash-frontend/src/pages/shared/block-collection/create-placeholder-plugin/create-placeholder-plugin.tsx index f64ed56352c..cb76c46ee4e 100644 --- a/apps/hash-frontend/src/pages/shared/block-collection/create-placeholder-plugin/create-placeholder-plugin.tsx +++ b/apps/hash-frontend/src/pages/shared/block-collection/create-placeholder-plugin/create-placeholder-plugin.tsx @@ -15,11 +15,13 @@ interface PlaceholderPluginState { const defaultState = { focused: false, editable: true }; +// eslint-disable-next-line no-restricted-syntax -- prosemirror typing error const placeholderPluginKey = new PluginKey( "placeholderPlugin", ); export const createPlaceholderPlugin = (renderPortal: RenderPortal) => { + // eslint-disable-next-line no-restricted-syntax -- prosemirror typing error return new Plugin({ key: placeholderPluginKey, state: { @@ -123,5 +125,6 @@ export const createPlaceholderPlugin = (renderPortal: RenderPortal) => { }, }, }, + // eslint-disable-next-line no-restricted-syntax -- prosemirror typing error }) as Plugin; }; diff --git a/apps/hash-frontend/src/pages/shared/block-collection/create-suggester/block-suggester.tsx b/apps/hash-frontend/src/pages/shared/block-collection/create-suggester/block-suggester.tsx index 90260292490..a38111fbbe3 100644 --- a/apps/hash-frontend/src/pages/shared/block-collection/create-suggester/block-suggester.tsx +++ b/apps/hash-frontend/src/pages/shared/block-collection/create-suggester/block-suggester.tsx @@ -12,7 +12,9 @@ import { Suggester } from "./suggester"; export interface BlockSuggesterProps { search?: string; - onChange(variant: BlockVariant, blockMeta: HashBlockMeta): void; + // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors + // before this was: onChange(variant: BlockVariant, blockMeta: HashBlockMeta): void; + onChange: (variant: BlockVariant, blockMeta: HashBlockMeta) => void; sx?: SxProps; } diff --git a/apps/hash-frontend/src/pages/shared/block-collection/create-suggester/create-suggester.tsx b/apps/hash-frontend/src/pages/shared/block-collection/create-suggester/create-suggester.tsx index 236c0fe3713..be70df324b2 100644 --- a/apps/hash-frontend/src/pages/shared/block-collection/create-suggester/create-suggester.tsx +++ b/apps/hash-frontend/src/pages/shared/block-collection/create-suggester/create-suggester.tsx @@ -106,6 +106,7 @@ interface SuggesterState { * used to tag the suggester plugin/make it a singleton * @see https://prosemirror.net/docs/ref/#state.PluginKey */ +// eslint-disable-next-line no-restricted-syntax -- prosemirror typing error export const suggesterPluginKey = new PluginKey("suggester"); const docChangedInTransaction = (tr: Transaction) => { @@ -135,6 +136,7 @@ export const createSuggester = ( documentRoot: HTMLElement, getManager?: () => ProsemirrorManager, ) => + // eslint-disable-next-line no-restricted-syntax -- prosemirror typing error new Plugin({ key: suggesterPluginKey, state: { @@ -428,4 +430,5 @@ export const createSuggester = ( }, }; }, + // eslint-disable-next-line no-restricted-syntax -- prosemirror typing error }) as Plugin; diff --git a/apps/hash-frontend/src/pages/shared/block-collection/create-suggester/suggester.tsx b/apps/hash-frontend/src/pages/shared/block-collection/create-suggester/suggester.tsx index 1d35b6d78d4..1b184728603 100644 --- a/apps/hash-frontend/src/pages/shared/block-collection/create-suggester/suggester.tsx +++ b/apps/hash-frontend/src/pages/shared/block-collection/create-suggester/suggester.tsx @@ -8,11 +8,17 @@ import { SpinnerIcon } from "../../../../shared/icons"; export interface SuggesterProps { options: T[]; - renderItem(item: T): ReactElement; + // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors + // before this was: renderItem(item: T): ReactElement; + renderItem: (item: T) => ReactElement; error?: ReactElement | null; - onChange(item: T): void; + // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors + // before this was: onChange(item: T): void; + onChange: (item: T) => void; loading?: boolean; - itemKey(option: T): string; + // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors + // before this was: itemKey(option: T): string; + itemKey: (option: T) => string; sx?: SxProps; } diff --git a/apps/hash-frontend/src/pages/shared/block-collection/focus-page-title-plugin.ts b/apps/hash-frontend/src/pages/shared/block-collection/focus-page-title-plugin.ts index 568ae9b59dd..4a65bb4ef0f 100644 --- a/apps/hash-frontend/src/pages/shared/block-collection/focus-page-title-plugin.ts +++ b/apps/hash-frontend/src/pages/shared/block-collection/focus-page-title-plugin.ts @@ -4,6 +4,7 @@ import type { RefObject } from "react"; export const createFocusPageTitlePlugin = ( pageTitleRef: RefObject, ) => + // eslint-disable-next-line no-restricted-syntax -- prosemirror typing error new Plugin({ props: { handleKeyDown: (view, event) => { diff --git a/apps/hash-frontend/src/pages/shared/block-collection/shared/mention-suggester.tsx b/apps/hash-frontend/src/pages/shared/block-collection/shared/mention-suggester.tsx index ee3d4ac816e..0cff91e8918 100644 --- a/apps/hash-frontend/src/pages/shared/block-collection/shared/mention-suggester.tsx +++ b/apps/hash-frontend/src/pages/shared/block-collection/shared/mention-suggester.tsx @@ -91,7 +91,9 @@ export type MentionKind = Mention["kind"]; export interface MentionSuggesterProps { search?: string; - onChange(mention: Mention): void; + // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors + // before this was: onChange(mention: Mention): void; + onChange: (mention: Mention) => void; ownedById: OwnedById; } diff --git a/apps/hash-frontend/src/pages/shared/verify-code.tsx b/apps/hash-frontend/src/pages/shared/verify-code.tsx index eb8959af4bd..cbe2e235e40 100644 --- a/apps/hash-frontend/src/pages/shared/verify-code.tsx +++ b/apps/hash-frontend/src/pages/shared/verify-code.tsx @@ -82,7 +82,7 @@ export const VerifyCode: FunctionComponent = ({ await requestCode(); updateState({ emailResent: true, syntheticLoading: false }); setTimeout(() => updateState({ emailResent: false }), 5000); - } catch (err) { + } catch { updateState({ syntheticLoading: false }); } }, SYNTHETIC_LOADING_TIME_MS); diff --git a/apps/hash-frontend/src/pages/shared/visualizer-views.tsx b/apps/hash-frontend/src/pages/shared/visualizer-views.tsx index 6b64dfeddec..598a6f55558 100644 --- a/apps/hash-frontend/src/pages/shared/visualizer-views.tsx +++ b/apps/hash-frontend/src/pages/shared/visualizer-views.tsx @@ -5,6 +5,8 @@ import type { ReactElement } from "react"; import { ChartNetworkRegularIcon } from "../../shared/icons/chart-network-regular-icon"; import { GridSolidIcon } from "../../shared/icons/grid-solid-icon"; +// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors +// eslint-disable-next-line @typescript-eslint/no-unused-vars const visualizerViews = ["Table", "Graph", "Grid"] as const; export type VisualizerView = (typeof visualizerViews)[number]; diff --git a/apps/hash-frontend/src/pages/types/[[...type-kind]].page.tsx b/apps/hash-frontend/src/pages/types/[[...type-kind]].page.tsx index f2dc925ed2d..1eafcbfa04c 100644 --- a/apps/hash-frontend/src/pages/types/[[...type-kind]].page.tsx +++ b/apps/hash-frontend/src/pages/types/[[...type-kind]].page.tsx @@ -22,6 +22,8 @@ import { } from "./[[...type-kind]].page/types-page-tabs"; import { TypesTable } from "./[[...type-kind]].page/types-table"; +// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors +// eslint-disable-next-line @typescript-eslint/no-unused-vars const parsedQueryParams = [ "entity-type", "link-type", diff --git a/apps/hash-frontend/src/pages/types/[[...type-kind]].page/types-table.tsx b/apps/hash-frontend/src/pages/types/[[...type-kind]].page/types-table.tsx index 4b05bad256a..eafffb7070c 100644 --- a/apps/hash-frontend/src/pages/types/[[...type-kind]].page/types-table.tsx +++ b/apps/hash-frontend/src/pages/types/[[...type-kind]].page/types-table.tsx @@ -51,6 +51,8 @@ import { TypeGraphVisualizer } from "../../shared/type-graph-visualizer"; import type { VisualizerView } from "../../shared/visualizer-views"; import { visualizerViewIcons } from "../../shared/visualizer-views"; +// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors +// eslint-disable-next-line @typescript-eslint/no-unused-vars const typesTableColumnIds = [ "title", "kind", @@ -86,6 +88,8 @@ const typeNamespaceFromTypeId = (typeId: VersionedUrl): string => { return `${domain}/${firstPathSegment}`; }; +// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors +// eslint-disable-next-line @typescript-eslint/no-unused-vars const typeTableKinds = [ "all", "entity-type", diff --git a/apps/hash-frontend/src/shared/generate-link-parameters.ts b/apps/hash-frontend/src/shared/generate-link-parameters.ts index ffa7d23aa3f..0c731621a30 100644 --- a/apps/hash-frontend/src/shared/generate-link-parameters.ts +++ b/apps/hash-frontend/src/shared/generate-link-parameters.ts @@ -18,7 +18,7 @@ const typeUrlRegExp = * 3. Specifies whether the returned href points to a different site or not */ export const generateLinkParameters = ( - hrefToCheck?: string | Url | undefined, + hrefToCheck?: string | Url, ): { isExternal: boolean; href: string; diff --git a/apps/hash-frontend/src/shared/layout/layout-with-sidebar/sidebar/account-page-list/page-tree-item.tsx b/apps/hash-frontend/src/shared/layout/layout-with-sidebar/sidebar/account-page-list/page-tree-item.tsx index 06bdf1e611f..05ab60ca5e4 100644 --- a/apps/hash-frontend/src/shared/layout/layout-with-sidebar/sidebar/account-page-list/page-tree-item.tsx +++ b/apps/hash-frontend/src/shared/layout/layout-with-sidebar/sidebar/account-page-list/page-tree-item.tsx @@ -17,7 +17,7 @@ import { PageMenu } from "./page-menu"; interface DragProps { isSorting?: boolean; attributes?: DraggableAttributes; - // eslint-disable-next-line @typescript-eslint/ban-types -- this matches the library type we get listeners from + // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type -- this matches the library type we get listeners from listeners?: Record; style?: CSSProperties; wrapperRef?(this: void, node: HTMLLIElement): void; From 3fec8c6c682fbfb3a35755af4913839d28c75fa8 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Mon, 9 Dec 2024 19:55:16 +0100 Subject: [PATCH 15/51] feat: hash-integration-worker --- apps/hash-integration-worker/.eslintrc.cjs | 7 ------- apps/hash-integration-worker/eslint.config.js | 3 +++ apps/hash-integration-worker/package.json | 4 ++-- .../scripts/bundle-workflow-code.ts | 5 ++--- apps/hash-integration-worker/src/main.ts | 5 ++--- apps/hash-integration-worker/tsconfig.json | 2 +- yarn.lock | 4 ++-- 7 files changed, 12 insertions(+), 18 deletions(-) delete mode 100644 apps/hash-integration-worker/.eslintrc.cjs create mode 100644 apps/hash-integration-worker/eslint.config.js diff --git a/apps/hash-integration-worker/.eslintrc.cjs b/apps/hash-integration-worker/.eslintrc.cjs deleted file mode 100644 index 75608ba7bba..00000000000 --- a/apps/hash-integration-worker/.eslintrc.cjs +++ /dev/null @@ -1,7 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-workspace-config.cjs")(__dirname), - env: { - node: true, - }, -}; diff --git a/apps/hash-integration-worker/eslint.config.js b/apps/hash-integration-worker/eslint.config.js new file mode 100644 index 00000000000..0eac3025266 --- /dev/null +++ b/apps/hash-integration-worker/eslint.config.js @@ -0,0 +1,3 @@ +import { createBase } from "@local/eslint/deprecated"; + +export default createBase(import.meta.dirname); diff --git a/apps/hash-integration-worker/package.json b/apps/hash-integration-worker/package.json index 9475adc204d..afe35ad96cd 100644 --- a/apps/hash-integration-worker/package.json +++ b/apps/hash-integration-worker/package.json @@ -40,11 +40,11 @@ "typescript": "5.6.3" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@sentry/cli": "^2.39.1", "@types/dotenv-flow": "3.3.3", - "eslint": "8.57.0", + "eslint": "9.16.0", "rimraf": "6.0.1", "typescript": "5.6.3", "wait-on": "8.0.1" diff --git a/apps/hash-integration-worker/scripts/bundle-workflow-code.ts b/apps/hash-integration-worker/scripts/bundle-workflow-code.ts index ac7c4609a4c..9c37039248c 100644 --- a/apps/hash-integration-worker/scripts/bundle-workflow-code.ts +++ b/apps/hash-integration-worker/scripts/bundle-workflow-code.ts @@ -1,13 +1,12 @@ import { writeFile } from "node:fs/promises"; import { createRequire } from "node:module"; -import * as path from "node:path"; -import { dirname } from "node:path"; +import path from "node:path"; import { fileURLToPath } from "node:url"; import { bundleWorkflowCode } from "@temporalio/worker"; const __filename = fileURLToPath(import.meta.url); -const __dirname = dirname(__filename); +const __dirname = path.dirname(__filename); const require = createRequire(import.meta.url); diff --git a/apps/hash-integration-worker/src/main.ts b/apps/hash-integration-worker/src/main.ts index 62360813c69..d1a47cad6ec 100644 --- a/apps/hash-integration-worker/src/main.ts +++ b/apps/hash-integration-worker/src/main.ts @@ -10,8 +10,7 @@ Sentry.init({ import * as http from "node:http"; import { createRequire } from "node:module"; -import * as path from "node:path"; -import { dirname } from "node:path"; +import path from "node:path"; import { fileURLToPath } from "node:url"; import { createGraphClient } from "@local/hash-backend-utils/create-graph-client"; @@ -27,7 +26,7 @@ import * as linearActivities from "./linear-activities"; import * as workflows from "./workflows"; const __filename = fileURLToPath(import.meta.url); -const __dirname = dirname(__filename); +const __dirname = path.dirname(__filename); const require = createRequire(import.meta.url); diff --git a/apps/hash-integration-worker/tsconfig.json b/apps/hash-integration-worker/tsconfig.json index 8f69ca92e8c..4c50bf5d2d6 100644 --- a/apps/hash-integration-worker/tsconfig.json +++ b/apps/hash-integration-worker/tsconfig.json @@ -1,6 +1,6 @@ { "extends": "@local/tsconfig/legacy-base-tsconfig-to-refactor.json", - "include": ["./src/", "./scripts/"], + "include": ["./src/", "./scripts/", "eslint.config.js"], "compilerOptions": { "outDir": "dist", "sourceMap": true, diff --git a/yarn.lock b/yarn.lock index 5b1e970f177..d0505349842 100644 --- a/yarn.lock +++ b/yarn.lock @@ -651,7 +651,7 @@ __metadata: "@blockprotocol/type-system": "npm:0.1.2-canary.0" "@linear/sdk": "npm:6.0.0" "@local/advanced-types": "npm:0.0.0-private" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/hash-backend-utils": "npm:0.0.0-private" "@local/hash-graph-client": "npm:0.0.0-private" "@local/hash-graph-sdk": "npm:0.0.0-private" @@ -668,7 +668,7 @@ __metadata: axios: "npm:1.7.8" cross-env: "npm:7.0.3" dotenv-flow: "npm:3.3.0" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" rimraf: "npm:6.0.1" tsx: "npm:4.19.2" typescript: "npm:5.6.3" From 749f3e89e8abdb4d390116b823e9fc8da40e23b6 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Mon, 9 Dec 2024 19:56:27 +0100 Subject: [PATCH 16/51] feat: hash-realtime --- apps/hash-realtime/.eslintrc.cjs | 7 ------- apps/hash-realtime/eslint.config.js | 3 +++ apps/hash-realtime/package.json | 4 ++-- yarn.lock | 4 ++-- 4 files changed, 7 insertions(+), 11 deletions(-) delete mode 100644 apps/hash-realtime/.eslintrc.cjs create mode 100644 apps/hash-realtime/eslint.config.js diff --git a/apps/hash-realtime/.eslintrc.cjs b/apps/hash-realtime/.eslintrc.cjs deleted file mode 100644 index 75608ba7bba..00000000000 --- a/apps/hash-realtime/.eslintrc.cjs +++ /dev/null @@ -1,7 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-workspace-config.cjs")(__dirname), - env: { - node: true, - }, -}; diff --git a/apps/hash-realtime/eslint.config.js b/apps/hash-realtime/eslint.config.js new file mode 100644 index 00000000000..0eac3025266 --- /dev/null +++ b/apps/hash-realtime/eslint.config.js @@ -0,0 +1,3 @@ +import { createBase } from "@local/eslint/deprecated"; + +export default createBase(import.meta.dirname); diff --git a/apps/hash-realtime/package.json b/apps/hash-realtime/package.json index 9e0637baeda..121c86bf85a 100644 --- a/apps/hash-realtime/package.json +++ b/apps/hash-realtime/package.json @@ -22,11 +22,11 @@ "typescript": "5.6.3" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/node": "22.10.1", "@types/set-interval-async": "1.0.3", - "eslint": "8.57.0", + "eslint": "9.16.0", "typescript": "5.6.3" } } diff --git a/yarn.lock b/yarn.lock index d0505349842..79dd6eafa0d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -680,13 +680,13 @@ __metadata: version: 0.0.0-use.local resolution: "@apps/hash-realtime@workspace:apps/hash-realtime" dependencies: - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/hash-backend-utils": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@types/node": "npm:22.10.0" "@types/set-interval-async": "npm:1.0.3" cross-env: "npm:7.0.3" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" set-interval-async: "npm:2.0.3" slonik: "npm:24.2.0" tsx: "npm:4.19.2" From 108222b17111798448489d632350076238205a31 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Mon, 9 Dec 2024 19:58:21 +0100 Subject: [PATCH 17/51] feat: convert hash-search-loader --- apps/hash-search-loader/.eslintrc.cjs | 13 ------------- apps/hash-search-loader/eslint.config.js | 9 +++++++++ apps/hash-search-loader/package.json | 4 ++-- apps/hash-search-loader/tsconfig.json | 2 +- yarn.lock | 4 ++-- 5 files changed, 14 insertions(+), 18 deletions(-) delete mode 100644 apps/hash-search-loader/.eslintrc.cjs create mode 100644 apps/hash-search-loader/eslint.config.js diff --git a/apps/hash-search-loader/.eslintrc.cjs b/apps/hash-search-loader/.eslintrc.cjs deleted file mode 100644 index 599e1c9ee71..00000000000 --- a/apps/hash-search-loader/.eslintrc.cjs +++ /dev/null @@ -1,13 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-workspace-config.cjs")(__dirname), - env: { - node: true, - }, - rules: { - ...require("@local/eslint-config/temporarily-disable-rules.cjs")([ - /* 2022-11-29: 25 */ "@typescript-eslint/no-unsafe-assignment", - /* 2022-11-29: 32 */ "@typescript-eslint/no-unsafe-member-access", - ]), - }, -}; diff --git a/apps/hash-search-loader/eslint.config.js b/apps/hash-search-loader/eslint.config.js new file mode 100644 index 00000000000..e67ec295d29 --- /dev/null +++ b/apps/hash-search-loader/eslint.config.js @@ -0,0 +1,9 @@ +import { createBase, disableRules } from "@local/eslint/deprecated"; + +export default [ + ...createBase(import.meta.dirname), + ...disableRules([ + /* 2022-11-29: 25 */ "@typescript-eslint/no-unsafe-assignment", + /* 2022-11-29: 32 */ "@typescript-eslint/no-unsafe-member-access", + ]), +]; diff --git a/apps/hash-search-loader/package.json b/apps/hash-search-loader/package.json index bf9f9475a8d..394cba46710 100644 --- a/apps/hash-search-loader/package.json +++ b/apps/hash-search-loader/package.json @@ -22,10 +22,10 @@ "typescript": "5.6.3" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/node": "22.10.1", - "eslint": "8.57.0", + "eslint": "9.16.0", "typescript": "5.6.3" } } diff --git a/apps/hash-search-loader/tsconfig.json b/apps/hash-search-loader/tsconfig.json index afe150284d2..c5f83870782 100644 --- a/apps/hash-search-loader/tsconfig.json +++ b/apps/hash-search-loader/tsconfig.json @@ -1,4 +1,4 @@ { "extends": "@local/tsconfig/legacy-base-tsconfig-to-refactor.json", - "include": ["./src/"] + "include": ["./src/", "eslint.config.js"] } diff --git a/yarn.lock b/yarn.lock index 79dd6eafa0d..b0d2b06d3e8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -699,13 +699,13 @@ __metadata: resolution: "@apps/hash-search-loader@workspace:apps/hash-search-loader" dependencies: "@apps/hash-api": "npm:0.0.0-private" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/hash-backend-utils": "npm:0.0.0-private" "@local/hash-isomorphic-utils": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@types/node": "npm:22.10.0" cross-env: "npm:7.0.3" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" hot-shots: "npm:8.5.2" tsx: "npm:4.19.2" typescript: "npm:5.6.3" From 5314e585d5330d2f3e3e6ca6118b112a77005141 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Mon, 9 Dec 2024 19:59:44 +0100 Subject: [PATCH 18/51] feat: convert hashdotdesign? --- apps/hashdotdesign/package.json | 2 +- yarn.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/hashdotdesign/package.json b/apps/hashdotdesign/package.json index 136d86a5ec5..ea6bd42e4d7 100644 --- a/apps/hashdotdesign/package.json +++ b/apps/hashdotdesign/package.json @@ -13,7 +13,7 @@ "@babel/preset-typescript": "7.26.0", "@hashintel/block-design-system": "0.0.2", "@hashintel/design-system": "0.0.8", - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@storybook/addon-essentials": "7.6.20", "@storybook/addon-interactions": "7.6.20", diff --git a/yarn.lock b/yarn.lock index b0d2b06d3e8..35e2a47bd50 100644 --- a/yarn.lock +++ b/yarn.lock @@ -720,7 +720,7 @@ __metadata: "@babel/preset-typescript": "npm:7.26.0" "@hashintel/block-design-system": "npm:0.0.2" "@hashintel/design-system": "npm:0.0.8" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@storybook/addon-essentials": "npm:7.6.20" "@storybook/addon-interactions": "npm:7.6.20" From de850e9d8aba5a6282bfe859b69365240a31bc16 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Mon, 9 Dec 2024 20:20:36 +0100 Subject: [PATCH 19/51] feat: convert hashdotdev --- apps/hashdotdev/.eslintrc.cjs | 39 ----------------- apps/hashdotdev/eslint.config.js | 43 +++++++++++++++++++ apps/hashdotdev/package.json | 4 +- .../src/components/calculation-block.tsx | 2 +- apps/hashdotdev/src/components/link.tsx | 2 + apps/hashdotdev/src/components/pre-footer.tsx | 2 +- .../src/pages/blog/[...blog-slug].page.tsx | 2 +- apps/hashdotdev/src/pages/blog/index.page.tsx | 2 +- apps/hashdotdev/src/pages/index.page.tsx | 2 +- apps/hashdotdev/src/pages/shared/mdx-utils.ts | 2 + apps/hashdotdev/tsconfig.json | 2 +- libs/@local/eslint/src/deprecated/base.ts | 8 ++-- libs/@local/eslint/src/index.ts | 22 +++++----- libs/@local/eslint/src/utils.ts | 30 +++++++++++++ yarn.lock | 4 +- 15 files changed, 104 insertions(+), 62 deletions(-) delete mode 100644 apps/hashdotdev/.eslintrc.cjs create mode 100644 apps/hashdotdev/eslint.config.js diff --git a/apps/hashdotdev/.eslintrc.cjs b/apps/hashdotdev/.eslintrc.cjs deleted file mode 100644 index 0a20b8b8c75..00000000000 --- a/apps/hashdotdev/.eslintrc.cjs +++ /dev/null @@ -1,39 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-workspace-config.cjs")(__dirname), - rules: { - ...require("@local/eslint-config/temporarily-disable-rules.cjs")([ - /* 2022-11-29: 13 */ "@typescript-eslint/no-unsafe-assignment", - /* 2022-11-29: 13 */ "@typescript-eslint/no-unsafe-member-access", - /* 2022-11-29: 11 */ "@typescript-eslint/restrict-template-expressions", - ]), - "jsx-a11y/label-has-associated-control": "off", - "import/no-default-export": "error", - }, - overrides: [ - { - files: [ - "./src/pages/**/*.page.ts", - "./src/pages/**/*.page.tsx", - "**/__mocks__/**", - "*.stories.ts", - "*.stories.tsx", - ], - rules: { - "import/no-default-export": "off", - }, - }, - { - files: ["./scripts/**/*.ts"], - rules: { - "import/no-extraneous-dependencies": [ - "error", - { - // Allow scripts to be able to import from dev dependencies - devDependencies: true, - }, - ], - }, - }, - ], -}; diff --git a/apps/hashdotdev/eslint.config.js b/apps/hashdotdev/eslint.config.js new file mode 100644 index 00000000000..8b7fc8872f5 --- /dev/null +++ b/apps/hashdotdev/eslint.config.js @@ -0,0 +1,43 @@ +import { createBase, disableRules } from "@local/eslint/deprecated"; + +export default [ + ...createBase(import.meta.dirname), + ...disableRules([ + /* 2022-11-29: 13 */ "@typescript-eslint/no-unsafe-assignment", + /* 2022-11-29: 13 */ "@typescript-eslint/no-unsafe-member-access", + /* 2022-11-29: 11 */ "@typescript-eslint/restrict-template-expressions", + ]), + { + rules: { + "jsx-a11y/label-has-associated-control": "off", + "import/no-default-export": "error", + }, + }, + { + files: [ + "**/src/pages/**/*.page.ts", + "**/src/pages/**/*.page.tsx", + "**/__mocks__/**", + "*.stories.ts", + "*.stories.tsx", + ], + rules: { + "import/no-default-export": "off", + }, + }, + { + files: ["**/scripts/**/*.ts"], + rules: { + "import/no-extraneous-dependencies": [ + "error", + { + // Allow scripts to be able to import from dev dependencies + devDependencies: true, + }, + ], + }, + }, + { + ignores: ["buildstamp.js", "next.config.js"], + }, +]; diff --git a/apps/hashdotdev/package.json b/apps/hashdotdev/package.json index 399c25004e0..4c177b02cd2 100644 --- a/apps/hashdotdev/package.json +++ b/apps/hashdotdev/package.json @@ -65,7 +65,7 @@ }, "devDependencies": { "@babel/core": "7.26.0", - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/d3": "7.4.3", "@types/fs-extra": "9.0.13", @@ -80,7 +80,7 @@ "@types/unist": "2.0.11", "babel-loader": "9.2.1", "chalk": "5.3.0", - "eslint": "8.57.0", + "eslint": "9.16.0", "execa": "7.2.0", "tsx": "4.19.2", "typescript": "5.6.3" diff --git a/apps/hashdotdev/src/components/calculation-block.tsx b/apps/hashdotdev/src/components/calculation-block.tsx index 57f2e3c089a..aef2b76e61f 100644 --- a/apps/hashdotdev/src/components/calculation-block.tsx +++ b/apps/hashdotdev/src/components/calculation-block.tsx @@ -1,7 +1,7 @@ import { MockBlockDock } from "mock-block-dock"; import type { FunctionComponent } from "react"; -// eslint-disable-next-line @typescript-eslint/no-var-requires -- TODO why was this declared like this +// eslint-disable-next-line @typescript-eslint/no-require-imports -- TODO why was this declared like this const CalcBlock = require("calculation-block").default; export const CalculationBlock: FunctionComponent = () => ( diff --git a/apps/hashdotdev/src/components/link.tsx b/apps/hashdotdev/src/components/link.tsx index b9136243a8e..fe3cb7b4eb7 100644 --- a/apps/hashdotdev/src/components/link.tsx +++ b/apps/hashdotdev/src/components/link.tsx @@ -1,6 +1,8 @@ import type { UrlObject } from "node:url"; import type { LinkProps as MuiLinkProps } from "@mui/material"; +// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors +// eslint-disable-next-line no-restricted-imports import { Link as MuiLink, styled } from "@mui/material"; import clsx from "clsx"; // eslint-disable-next-line no-restricted-imports diff --git a/apps/hashdotdev/src/components/pre-footer.tsx b/apps/hashdotdev/src/components/pre-footer.tsx index df4874870a1..3dcd0a5e3ac 100644 --- a/apps/hashdotdev/src/components/pre-footer.tsx +++ b/apps/hashdotdev/src/components/pre-footer.tsx @@ -194,7 +194,7 @@ export const Subscribe: FunctionComponent< setError("Something went wrong.️ Please try again later"); } }); - } catch (err) { + } catch { // eslint-disable-next-line no-console console.log(error); unstable_batchedUpdates(() => { diff --git a/apps/hashdotdev/src/pages/blog/[...blog-slug].page.tsx b/apps/hashdotdev/src/pages/blog/[...blog-slug].page.tsx index 4955a0b647b..6f0c7e1632f 100644 --- a/apps/hashdotdev/src/pages/blog/[...blog-slug].page.tsx +++ b/apps/hashdotdev/src/pages/blog/[...blog-slug].page.tsx @@ -121,7 +121,7 @@ export const getStaticProps: GetStaticProps< }, }, }; - } catch (err) { + } catch { // @todo better error when MDX content is broken return { notFound: true, diff --git a/apps/hashdotdev/src/pages/blog/index.page.tsx b/apps/hashdotdev/src/pages/blog/index.page.tsx index f1006f4cbce..4ea496bb3c5 100644 --- a/apps/hashdotdev/src/pages/blog/index.page.tsx +++ b/apps/hashdotdev/src/pages/blog/index.page.tsx @@ -68,7 +68,7 @@ export const getStaticProps: GetStaticProps = async () => { pages, }, }; - } catch (err) { + } catch { // @todo better error when MDX content is broken return { notFound: true, diff --git a/apps/hashdotdev/src/pages/index.page.tsx b/apps/hashdotdev/src/pages/index.page.tsx index 4d573987fe5..f48125e5027 100644 --- a/apps/hashdotdev/src/pages/index.page.tsx +++ b/apps/hashdotdev/src/pages/index.page.tsx @@ -610,7 +610,7 @@ export const getStaticProps: GetStaticProps = async () => { ); return { props: { posts } }; - } catch (err) { + } catch { // @todo better error when MDX content is broken return { notFound: true }; } diff --git a/apps/hashdotdev/src/pages/shared/mdx-utils.ts b/apps/hashdotdev/src/pages/shared/mdx-utils.ts index d7970049b3f..123a36fcafa 100644 --- a/apps/hashdotdev/src/pages/shared/mdx-utils.ts +++ b/apps/hashdotdev/src/pages/shared/mdx-utils.ts @@ -156,6 +156,8 @@ const getFullText = (node: Node): string => // Recursively construct the text from leaf text nodes in an MDX AST const getVisibleText = (node: Node): string => + // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors + // eslint-disable-next-line @typescript-eslint/no-base-to-string [ isTextNode(node) ? isTextNode(node.value) diff --git a/apps/hashdotdev/tsconfig.json b/apps/hashdotdev/tsconfig.json index bb1718c2a45..5f6389bcf91 100644 --- a/apps/hashdotdev/tsconfig.json +++ b/apps/hashdotdev/tsconfig.json @@ -18,5 +18,5 @@ "**/*.ts", "**/*.tsx" ], - "exclude": ["node_modules"] + "exclude": ["node_modules", "eslint.config.js"] } diff --git a/libs/@local/eslint/src/deprecated/base.ts b/libs/@local/eslint/src/deprecated/base.ts index 7c7549b2ef7..638b5bfc290 100644 --- a/libs/@local/eslint/src/deprecated/base.ts +++ b/libs/@local/eslint/src/deprecated/base.ts @@ -18,10 +18,9 @@ import { FlatCompat } from "@eslint/eslintrc"; import js from "@eslint/js"; import typescriptEslint from "@typescript-eslint/eslint-plugin"; import tsParser from "@typescript-eslint/parser"; -import { createTypeScriptImportResolver } from "eslint-import-resolver-typescript"; import { Array, pipe, Record, Struct } from "effect"; -import type { ESConfig } from "../utils.js"; +import { projectIgnoreFiles, type ESConfig } from "../utils.js"; const filename = fileURLToPath(import.meta.url); const dirname = path.dirname(filename); @@ -491,7 +490,10 @@ export const create = (projectDirectory: string) => "no-console": "off", }, }, - getGitignorePatterns({ strict: false }), + getGitignorePatterns({ + strict: false, + files: projectIgnoreFiles(projectDirectory), + }), { ignores, }, diff --git a/libs/@local/eslint/src/index.ts b/libs/@local/eslint/src/index.ts index aaad4d6ce91..f5eb5a2b561 100644 --- a/libs/@local/eslint/src/index.ts +++ b/libs/@local/eslint/src/index.ts @@ -1,4 +1,5 @@ -import { pipe } from "effect"; +import getGitignorePatterns from "eslint-config-flat-gitignore"; +import { Array, pipe } from "effect"; import { sheriff, type SheriffSettings } from "eslint-config-sheriff"; import type { PartialDeep } from "type-fest"; @@ -9,7 +10,7 @@ import { stylistic } from "./stylistic.js"; import type { NoRestrictedImportsRule } from "./types.js"; import { typescript } from "./typescript.js"; import { unicorn } from "./unicorn.js"; -import type { ESConfig } from "./utils.js"; +import { projectIgnoreFiles, type ESConfig } from "./utils.js"; export type * from "./types.js"; @@ -26,27 +27,28 @@ export interface Options { mutableParametersRegex: () => string[]; } -export const create = (options: PartialDeep): readonly ESConfig[] => { +export const create = (projectDirectory: string, options?: PartialDeep): readonly ESConfig[] => { const sheriffOptions: SheriffSettings = { - react: options.enabled?.frontend === "react", - next: options.enabled?.frontend === "next", + react: options?.enabled?.frontend === "react", + next: options?.enabled?.frontend === "next", // I want to move away from lodash, not add more of it lodash: false, - playwright: options.enabled?.playwright ?? false, + playwright: options?.enabled?.playwright ?? false, jest: false, - vitest: options.enabled?.tests ?? false, + vitest: options?.enabled?.tests ?? false, ignores: { recommended: true, - inheritedFromGitignore: true, + inheritedFromGitignore: false, }, }; return pipe( sheriff(sheriffOptions) as readonly ESConfig[], - builtIn(options), + Array.append(getGitignorePatterns({ strict: false , files: projectIgnoreFiles(projectDirectory)})), + builtIn(options ?? {}), importPlugin, unicorn, - react(options), + react(options? {}), typescript, stylistic, ); diff --git a/libs/@local/eslint/src/utils.ts b/libs/@local/eslint/src/utils.ts index 947bee57a05..d4247dd0e02 100644 --- a/libs/@local/eslint/src/utils.ts +++ b/libs/@local/eslint/src/utils.ts @@ -1,3 +1,6 @@ +import fs from "node:fs"; +import path from "node:path"; + import type { Linter } from "eslint"; import type { ESLintRules } from "eslint/rules"; @@ -6,3 +9,30 @@ export type ESConfig = Linter.Config; export const defineConfig = ( config: readonly Linter.Config[], ): readonly Linter.Config[] => config; + +/** Version of findUp that only considers the git repository and searches for `.gitignore`. */ +export const projectIgnoreFiles = (directory: string): string[] => { + // traverses the directory tree to find all `.gitignore` files, stops at the .git directory + + const gitignoreFiles: string[] = []; + let currentDirectory = directory; + + // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- termination is handled by the break statement + while (true) { + const parent = path.dirname(currentDirectory); + const files = fs.readdirSync(currentDirectory); + + if (files.includes(".gitignore")) { + gitignoreFiles.push(path.join(currentDirectory, ".gitignore")); + } + + if (files.includes(".git")) { + // we have reached the .git directory, stop traversing + break; + } + + currentDirectory = parent; + } + + return gitignoreFiles; +}; diff --git a/yarn.lock b/yarn.lock index 35e2a47bd50..0dd0bf14a28 100644 --- a/yarn.lock +++ b/yarn.lock @@ -753,7 +753,7 @@ __metadata: "@emotion/server": "npm:11.11.0" "@emotion/styled": "npm:11.13.5" "@fortawesome/free-solid-svg-icons": "npm:6.7.1" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@matejmazur/react-katex": "npm:3.1.3" "@mui/icons-material": "npm:5.16.7" @@ -778,7 +778,7 @@ __metadata: d3: "npm:7.9.0" d3-dag: "npm:1.1.0" date-fns: "npm:4.1.0" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" execa: "npm:7.2.0" feed: "npm:4.2.2" fs-extra: "npm:10.1.0" From 897f34524c13ff3dea1935b0dfb2a4c63ecd2c4b Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Mon, 9 Dec 2024 20:23:56 +0100 Subject: [PATCH 20/51] feat: convert plugin-browser --- apps/plugin-browser/.eslintrc.cjs | 42 ------------------- apps/plugin-browser/eslint.config.js | 40 ++++++++++++++++++ apps/plugin-browser/package.json | 4 +- .../one-off/infer-entities-action.tsx | 2 +- apps/plugin-browser/tsconfig.json | 3 +- yarn.lock | 4 +- 6 files changed, 47 insertions(+), 48 deletions(-) delete mode 100644 apps/plugin-browser/.eslintrc.cjs create mode 100644 apps/plugin-browser/eslint.config.js diff --git a/apps/plugin-browser/.eslintrc.cjs b/apps/plugin-browser/.eslintrc.cjs deleted file mode 100644 index 14435b7da9e..00000000000 --- a/apps/plugin-browser/.eslintrc.cjs +++ /dev/null @@ -1,42 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-workspace-config.cjs")(__dirname), - rules: { - "no-restricted-imports": [ - "error", - { - paths: [ - { - name: "@local/hash-isomorphic-utils/environment", - message: "Use the API_ORIGIN or FRONTEND_ORIGIN globals instead.", - }, - ], - patterns: [ - { - group: ["*use-user-value"], - message: - "Please useUserContext instead to share state across components", - }, - ], - }, - ], - /** - * Importing the StatusCode enum interferes with Playwright test setup for some reason. - */ - "@typescript-eslint/no-unsafe-enum-comparison": "off", - }, - ignorePatterns: require("@local/eslint-config/generate-ignore-patterns.cjs")( - __dirname, - ), - overrides: [ - { - files: ["utils/*.js"], - rules: { - "import/no-extraneous-dependencies": [ - "error", - { devDependencies: true }, - ], - }, - }, - ], -}; diff --git a/apps/plugin-browser/eslint.config.js b/apps/plugin-browser/eslint.config.js new file mode 100644 index 00000000000..146d840ef01 --- /dev/null +++ b/apps/plugin-browser/eslint.config.js @@ -0,0 +1,40 @@ +import { createBase } from "@local/eslint/deprecated"; + +export default [ + ...createBase(import.meta.dirname), + { + rules: { + "no-restricted-imports": [ + "error", + { + paths: [ + { + name: "@local/hash-isomorphic-utils/environment", + message: "Use the API_ORIGIN or FRONTEND_ORIGIN globals instead.", + }, + ], + patterns: [ + { + group: ["*use-user-value"], + message: + "Please useUserContext instead to share state across components", + }, + ], + }, + ], + /** + * Importing the StatusCode enum interferes with Playwright test setup for some reason. + */ + "@typescript-eslint/no-unsafe-enum-comparison": "off", + }, + }, + { + files: ["utils/*.js"], + rules: { + "import/no-extraneous-dependencies": ["error", { devDependencies: true }], + }, + }, + { + ignores: ["webpack.config.js", "utils/webserver.js", "utils/build.js"], + }, +]; diff --git a/apps/plugin-browser/package.json b/apps/plugin-browser/package.json index 95c3205b499..32c7958454f 100755 --- a/apps/plugin-browser/package.json +++ b/apps/plugin-browser/package.json @@ -56,7 +56,7 @@ "@babel/preset-react": "7.26.3", "@blockprotocol/core": "0.1.3", "@graphql-codegen/cli": "^5.0.3", - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/hash-graph-client": "0.0.0-private", "@local/hash-isomorphic-utils": "0.0.0-private", "@local/hash-subgraph": "0.0.0-private", @@ -74,7 +74,7 @@ "copy-webpack-plugin": "11.0.0", "css-loader": "6.11.0", "dotenv-flow": "3.3.0", - "eslint": "8.57.0", + "eslint": "9.16.0", "file-loader": "6.2.0", "fs-extra": "11.1.0", "html-loader": "4.2.0", diff --git a/apps/plugin-browser/src/pages/popup/popup-contents/action-center/one-off/infer-entities-action.tsx b/apps/plugin-browser/src/pages/popup/popup-contents/action-center/one-off/infer-entities-action.tsx index dfdeccdfff4..dd487e0024a 100644 --- a/apps/plugin-browser/src/pages/popup/popup-contents/action-center/one-off/infer-entities-action.tsx +++ b/apps/plugin-browser/src/pages/popup/popup-contents/action-center/one-off/infer-entities-action.tsx @@ -75,7 +75,7 @@ export const InferEntitiesAction = ({ sourceWebPage, type: "infer-entities", }); - } catch (err) { + } catch { // eslint-disable-next-line no-alert alert( "Could not access page content – you may need to reload the tab if you just installed the extension, or it may be a page which your browser does not allow extensions to access.", diff --git a/apps/plugin-browser/tsconfig.json b/apps/plugin-browser/tsconfig.json index 3555429663a..d414625a634 100644 --- a/apps/plugin-browser/tsconfig.json +++ b/apps/plugin-browser/tsconfig.json @@ -13,7 +13,8 @@ "src", "theme-override.d.ts", "webpack-injected-env.d.ts", - "codegen.config.ts" + "codegen.config.ts", + "eslint.config.js" ], "exclude": ["build", "node_modules"] } diff --git a/yarn.lock b/yarn.lock index 0dd0bf14a28..0064029a471 100644 --- a/yarn.lock +++ b/yarn.lock @@ -827,7 +827,7 @@ __metadata: "@hashintel/block-design-system": "npm:0.0.2" "@hashintel/design-system": "npm:0.0.8" "@local/advanced-types": "npm:0.0.0-private" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/hash-graph-client": "npm:0.0.0-private" "@local/hash-graph-sdk": "npm:0.0.0-private" "@local/hash-graph-types": "npm:0.0.0-private" @@ -851,7 +851,7 @@ __metadata: css-loader: "npm:6.11.0" date-fns: "npm:4.1.0" dotenv-flow: "npm:3.3.0" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" file-loader: "npm:6.2.0" fractional-indexing: "npm:2.1.0" fs-extra: "npm:11.1.0" From b12e8c0fe72d9d6e49b0a608e1f39e9c2c1d3e07 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Mon, 9 Dec 2024 20:56:51 +0100 Subject: [PATCH 21/51] feat: convert blocks --- blocks/address/.eslintrc.cjs | 4 - blocks/address/eslint.config.js | 3 + blocks/address/package.json | 4 +- blocks/address/src/address-card.tsx | 2 + blocks/address/src/map-button.tsx | 2 + blocks/ai-chat/.eslintrc.cjs | 4 - blocks/ai-chat/eslint.config.js | 3 + blocks/ai-chat/package.json | 4 +- blocks/ai-image/.eslintrc.cjs | 4 - blocks/ai-image/eslint.config.js | 3 + blocks/ai-image/package.json | 4 +- blocks/ai-text/.eslintrc.cjs | 4 - blocks/ai-text/eslint.config.js | 3 + blocks/ai-text/package.json | 4 +- blocks/callout/.eslintrc.cjs | 4 - blocks/callout/eslint.config.js | 3 + blocks/callout/package.json | 4 +- blocks/chart/.eslintrc.cjs | 4 - blocks/chart/eslint.config.js | 3 + blocks/chart/package.json | 5 +- blocks/chart/src/bar-chart.tsx | 2 + blocks/code/.eslintrc.cjs | 4 - blocks/code/eslint.config.js | 3 + blocks/code/package.json | 4 +- blocks/countdown/.eslintrc.cjs | 4 - blocks/countdown/eslint.config.js | 3 + blocks/countdown/package.json | 4 +- blocks/divider/.eslintrc.cjs | 4 - blocks/divider/eslint.config.js | 3 + blocks/divider/package.json | 4 +- blocks/embed/.eslintrc.cjs | 4 - blocks/embed/eslint.config.js | 3 + blocks/embed/package.json | 4 +- blocks/faq/.eslintrc.cjs | 4 - blocks/faq/eslint.config.js | 3 + blocks/faq/package.json | 4 +- blocks/faq/src/app.tsx | 2 +- blocks/faq/src/dev.tsx | 2 +- blocks/faq/src/types/block-entity.ts | 105 ----------------- blocks/heading/.eslintrc.cjs | 4 - blocks/heading/eslint.config.js | 3 + blocks/heading/package.json | 4 +- blocks/how-to/.eslintrc.cjs | 4 - blocks/how-to/eslint.config.js | 3 + blocks/how-to/package.json | 4 +- blocks/how-to/src/app.tsx | 106 +++++++++--------- blocks/image/.eslintrc.cjs | 4 - blocks/image/eslint.config.js | 3 + blocks/image/package.json | 4 +- blocks/kanban-board/.eslintrc.cjs | 4 - blocks/kanban-board/eslint.config.js | 3 + blocks/kanban-board/package.json | 5 +- blocks/minesweeper/.eslintrc.cjs | 4 - blocks/minesweeper/eslint.config.js | 3 + blocks/minesweeper/package.json | 4 +- blocks/minesweeper/src/app.ts | 1 - blocks/paragraph/.eslintrc.cjs | 4 - blocks/paragraph/eslint.config.js | 3 + blocks/paragraph/package.json | 4 +- blocks/person/.eslintrc.cjs | 4 - blocks/person/eslint.config.js | 3 + blocks/person/package.json | 4 +- blocks/shuffle/.eslintrc.cjs | 14 --- blocks/shuffle/eslint.config.js | 3 + blocks/shuffle/package.json | 4 +- blocks/shuffle/src/components/item-list.tsx | 4 +- blocks/shuffle/src/components/item.tsx | 6 +- .../shuffle/src/components/sortable-item.tsx | 3 +- blocks/shuffle/src/shuffle.tsx | 4 +- blocks/table/.eslintrc.cjs | 4 - blocks/table/eslint.config.js | 3 + blocks/table/package.json | 6 +- blocks/timer/.eslintrc.cjs | 4 - blocks/timer/eslint.config.js | 3 + blocks/timer/package.json | 4 +- blocks/video/.eslintrc.cjs | 4 - blocks/video/eslint.config.js | 3 + blocks/video/package.json | 4 +- libs/@local/eslint/package.json | 2 + libs/@local/eslint/src/deprecated/block.ts | 11 +- libs/@local/eslint/src/index.ts | 14 ++- yarn.lock | 98 ++++++++-------- 82 files changed, 254 insertions(+), 366 deletions(-) delete mode 100644 blocks/address/.eslintrc.cjs create mode 100644 blocks/address/eslint.config.js delete mode 100644 blocks/ai-chat/.eslintrc.cjs create mode 100644 blocks/ai-chat/eslint.config.js delete mode 100644 blocks/ai-image/.eslintrc.cjs create mode 100644 blocks/ai-image/eslint.config.js delete mode 100644 blocks/ai-text/.eslintrc.cjs create mode 100644 blocks/ai-text/eslint.config.js delete mode 100644 blocks/callout/.eslintrc.cjs create mode 100644 blocks/callout/eslint.config.js delete mode 100644 blocks/chart/.eslintrc.cjs create mode 100644 blocks/chart/eslint.config.js delete mode 100644 blocks/code/.eslintrc.cjs create mode 100644 blocks/code/eslint.config.js delete mode 100644 blocks/countdown/.eslintrc.cjs create mode 100644 blocks/countdown/eslint.config.js delete mode 100644 blocks/divider/.eslintrc.cjs create mode 100644 blocks/divider/eslint.config.js delete mode 100644 blocks/embed/.eslintrc.cjs create mode 100644 blocks/embed/eslint.config.js delete mode 100644 blocks/faq/.eslintrc.cjs create mode 100644 blocks/faq/eslint.config.js delete mode 100644 blocks/faq/src/types/block-entity.ts delete mode 100644 blocks/heading/.eslintrc.cjs create mode 100644 blocks/heading/eslint.config.js delete mode 100644 blocks/how-to/.eslintrc.cjs create mode 100644 blocks/how-to/eslint.config.js delete mode 100644 blocks/image/.eslintrc.cjs create mode 100644 blocks/image/eslint.config.js delete mode 100644 blocks/kanban-board/.eslintrc.cjs create mode 100644 blocks/kanban-board/eslint.config.js delete mode 100644 blocks/minesweeper/.eslintrc.cjs create mode 100644 blocks/minesweeper/eslint.config.js delete mode 100644 blocks/paragraph/.eslintrc.cjs create mode 100644 blocks/paragraph/eslint.config.js delete mode 100644 blocks/person/.eslintrc.cjs create mode 100644 blocks/person/eslint.config.js delete mode 100644 blocks/shuffle/.eslintrc.cjs create mode 100644 blocks/shuffle/eslint.config.js delete mode 100644 blocks/table/.eslintrc.cjs create mode 100644 blocks/table/eslint.config.js delete mode 100644 blocks/timer/.eslintrc.cjs create mode 100644 blocks/timer/eslint.config.js delete mode 100644 blocks/video/.eslintrc.cjs create mode 100644 blocks/video/eslint.config.js diff --git a/blocks/address/.eslintrc.cjs b/blocks/address/.eslintrc.cjs deleted file mode 100644 index ee8314fefb0..00000000000 --- a/blocks/address/.eslintrc.cjs +++ /dev/null @@ -1,4 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-block-config.cjs")(__dirname), -}; diff --git a/blocks/address/eslint.config.js b/blocks/address/eslint.config.js new file mode 100644 index 00000000000..5b6bb9d538e --- /dev/null +++ b/blocks/address/eslint.config.js @@ -0,0 +1,3 @@ +import { createBlock } from "@local/eslint/deprecated"; + +export default createBlock(import.meta.dirname); diff --git a/blocks/address/package.json b/blocks/address/package.json index 761dd1fa90a..4facaa5682c 100644 --- a/blocks/address/package.json +++ b/blocks/address/package.json @@ -44,12 +44,12 @@ "uuid": "9.0.1" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@types/lodash.debounce": "4.0.9", "@types/react-dom": "18.2.25", "@types/uuid": "10.0.0", "block-scripts": "0.3.4", - "eslint": "8.57.0", + "eslint": "9.16.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/address/src/address-card.tsx b/blocks/address/src/address-card.tsx index 11303a2c148..327e1b7bb0b 100644 --- a/blocks/address/src/address-card.tsx +++ b/blocks/address/src/address-card.tsx @@ -10,6 +10,8 @@ import { Box, CircularProgress, Fade, + // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors + // eslint-disable-next-line no-restricted-imports Link, Stack, Typography, diff --git a/blocks/address/src/map-button.tsx b/blocks/address/src/map-button.tsx index 538726e5206..3ac64624177 100644 --- a/blocks/address/src/map-button.tsx +++ b/blocks/address/src/map-button.tsx @@ -1,5 +1,7 @@ import type { ButtonProps } from "@hashintel/design-system"; import { Button } from "@hashintel/design-system"; +// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors +// eslint-disable-next-line no-restricted-imports import { Link } from "@mui/material"; export const MapButton = ({ children, href, sx, ...props }: ButtonProps) => { diff --git a/blocks/ai-chat/.eslintrc.cjs b/blocks/ai-chat/.eslintrc.cjs deleted file mode 100644 index ee8314fefb0..00000000000 --- a/blocks/ai-chat/.eslintrc.cjs +++ /dev/null @@ -1,4 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-block-config.cjs")(__dirname), -}; diff --git a/blocks/ai-chat/eslint.config.js b/blocks/ai-chat/eslint.config.js new file mode 100644 index 00000000000..5b6bb9d538e --- /dev/null +++ b/blocks/ai-chat/eslint.config.js @@ -0,0 +1,3 @@ +import { createBlock } from "@local/eslint/deprecated"; + +export default createBlock(import.meta.dirname); diff --git a/blocks/ai-chat/package.json b/blocks/ai-chat/package.json index a42a407d18b..5e461299ab4 100644 --- a/blocks/ai-chat/package.json +++ b/blocks/ai-chat/package.json @@ -39,12 +39,12 @@ "uuid": "9.0.1" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/react-dom": "18.2.25", "@types/uuid": "10.0.0", "block-scripts": "0.3.4", - "eslint": "8.57.0", + "eslint": "9.16.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/ai-image/.eslintrc.cjs b/blocks/ai-image/.eslintrc.cjs deleted file mode 100644 index ee8314fefb0..00000000000 --- a/blocks/ai-image/.eslintrc.cjs +++ /dev/null @@ -1,4 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-block-config.cjs")(__dirname), -}; diff --git a/blocks/ai-image/eslint.config.js b/blocks/ai-image/eslint.config.js new file mode 100644 index 00000000000..5b6bb9d538e --- /dev/null +++ b/blocks/ai-image/eslint.config.js @@ -0,0 +1,3 @@ +import { createBlock } from "@local/eslint/deprecated"; + +export default createBlock(import.meta.dirname); diff --git a/blocks/ai-image/package.json b/blocks/ai-image/package.json index 185df1b8442..6ba2d49151a 100644 --- a/blocks/ai-image/package.json +++ b/blocks/ai-image/package.json @@ -40,12 +40,12 @@ "uuid": "9.0.1" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/react-dom": "18.2.25", "@types/uuid": "10.0.0", "block-scripts": "0.3.4", - "eslint": "8.57.0", + "eslint": "9.16.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/ai-text/.eslintrc.cjs b/blocks/ai-text/.eslintrc.cjs deleted file mode 100644 index ee8314fefb0..00000000000 --- a/blocks/ai-text/.eslintrc.cjs +++ /dev/null @@ -1,4 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-block-config.cjs")(__dirname), -}; diff --git a/blocks/ai-text/eslint.config.js b/blocks/ai-text/eslint.config.js new file mode 100644 index 00000000000..5b6bb9d538e --- /dev/null +++ b/blocks/ai-text/eslint.config.js @@ -0,0 +1,3 @@ +import { createBlock } from "@local/eslint/deprecated"; + +export default createBlock(import.meta.dirname); diff --git a/blocks/ai-text/package.json b/blocks/ai-text/package.json index 4e7a096ff57..a5eabbee0a4 100644 --- a/blocks/ai-text/package.json +++ b/blocks/ai-text/package.json @@ -34,11 +34,11 @@ "@mui/material": "5.16.9" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/react-dom": "18.2.25", "block-scripts": "0.3.4", - "eslint": "8.57.0", + "eslint": "9.16.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/callout/.eslintrc.cjs b/blocks/callout/.eslintrc.cjs deleted file mode 100644 index ee8314fefb0..00000000000 --- a/blocks/callout/.eslintrc.cjs +++ /dev/null @@ -1,4 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-block-config.cjs")(__dirname), -}; diff --git a/blocks/callout/eslint.config.js b/blocks/callout/eslint.config.js new file mode 100644 index 00000000000..5b6bb9d538e --- /dev/null +++ b/blocks/callout/eslint.config.js @@ -0,0 +1,3 @@ +import { createBlock } from "@local/eslint/deprecated"; + +export default createBlock(import.meta.dirname); diff --git a/blocks/callout/package.json b/blocks/callout/package.json index ed3bd3985ad..6290f1b96dd 100644 --- a/blocks/callout/package.json +++ b/blocks/callout/package.json @@ -31,11 +31,11 @@ "@blockprotocol/hook": "0.1.3" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/react-dom": "18.2.25", "block-scripts": "0.3.4", - "eslint": "8.57.0", + "eslint": "9.16.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/chart/.eslintrc.cjs b/blocks/chart/.eslintrc.cjs deleted file mode 100644 index ee8314fefb0..00000000000 --- a/blocks/chart/.eslintrc.cjs +++ /dev/null @@ -1,4 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-block-config.cjs")(__dirname), -}; diff --git a/blocks/chart/eslint.config.js b/blocks/chart/eslint.config.js new file mode 100644 index 00000000000..5b6bb9d538e --- /dev/null +++ b/blocks/chart/eslint.config.js @@ -0,0 +1,3 @@ +import { createBlock } from "@local/eslint/deprecated"; + +export default createBlock(import.meta.dirname); diff --git a/blocks/chart/package.json b/blocks/chart/package.json index 21c16940e7c..208a37ab5f5 100644 --- a/blocks/chart/package.json +++ b/blocks/chart/package.json @@ -30,6 +30,7 @@ "@blockprotocol/graph": "0.3.4", "@hashintel/block-design-system": "0.0.2", "@hashintel/design-system": "0.0.8", + "@local/hash-isomorphic-utils": "workspace:*", "@mui/material": "5.16.9", "echarts": "5.5.1", "lodash.debounce": "4.0.8", @@ -38,13 +39,13 @@ "devDependencies": { "@emotion/react": "11.13.5", "@emotion/styled": "11.13.5", - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/lodash.debounce": "4.0.9", "@types/react-dom": "18.2.25", "@types/react-is": "18.3.0", "block-scripts": "0.3.4", - "eslint": "8.57.0", + "eslint": "9.16.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/chart/src/bar-chart.tsx b/blocks/chart/src/bar-chart.tsx index caf3ba71e88..5093be86ba8 100644 --- a/blocks/chart/src/bar-chart.tsx +++ b/blocks/chart/src/bar-chart.tsx @@ -101,6 +101,8 @@ export const BarChart: FunctionComponent<{ ); const label = String( + // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors + // eslint-disable-next-line @typescript-eslint/no-base-to-string entity.properties[extractBaseUrl(labelPropertyTypeId)] ?? "Unknown", ); diff --git a/blocks/code/.eslintrc.cjs b/blocks/code/.eslintrc.cjs deleted file mode 100644 index ee8314fefb0..00000000000 --- a/blocks/code/.eslintrc.cjs +++ /dev/null @@ -1,4 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-block-config.cjs")(__dirname), -}; diff --git a/blocks/code/eslint.config.js b/blocks/code/eslint.config.js new file mode 100644 index 00000000000..5b6bb9d538e --- /dev/null +++ b/blocks/code/eslint.config.js @@ -0,0 +1,3 @@ +import { createBlock } from "@local/eslint/deprecated"; + +export default createBlock(import.meta.dirname); diff --git a/blocks/code/package.json b/blocks/code/package.json index 53b90d1fcc4..581b181a102 100644 --- a/blocks/code/package.json +++ b/blocks/code/package.json @@ -31,12 +31,12 @@ "prismjs": "1.29.0" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/prismjs": "1.26.5", "@types/react-dom": "18.2.25", "block-scripts": "0.3.4", - "eslint": "8.57.0", + "eslint": "9.16.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/countdown/.eslintrc.cjs b/blocks/countdown/.eslintrc.cjs deleted file mode 100644 index ee8314fefb0..00000000000 --- a/blocks/countdown/.eslintrc.cjs +++ /dev/null @@ -1,4 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-block-config.cjs")(__dirname), -}; diff --git a/blocks/countdown/eslint.config.js b/blocks/countdown/eslint.config.js new file mode 100644 index 00000000000..5b6bb9d538e --- /dev/null +++ b/blocks/countdown/eslint.config.js @@ -0,0 +1,3 @@ +import { createBlock } from "@local/eslint/deprecated"; + +export default createBlock(import.meta.dirname); diff --git a/blocks/countdown/package.json b/blocks/countdown/package.json index b2b4fc44b4e..371fc377d26 100644 --- a/blocks/countdown/package.json +++ b/blocks/countdown/package.json @@ -32,12 +32,12 @@ "react-datepicker": "4.25.0" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/react-datepicker": "4.19.6", "@types/react-dom": "18.2.25", "block-scripts": "0.3.4", - "eslint": "8.57.0", + "eslint": "9.16.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/divider/.eslintrc.cjs b/blocks/divider/.eslintrc.cjs deleted file mode 100644 index ee8314fefb0..00000000000 --- a/blocks/divider/.eslintrc.cjs +++ /dev/null @@ -1,4 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-block-config.cjs")(__dirname), -}; diff --git a/blocks/divider/eslint.config.js b/blocks/divider/eslint.config.js new file mode 100644 index 00000000000..5b6bb9d538e --- /dev/null +++ b/blocks/divider/eslint.config.js @@ -0,0 +1,3 @@ +import { createBlock } from "@local/eslint/deprecated"; + +export default createBlock(import.meta.dirname); diff --git a/blocks/divider/package.json b/blocks/divider/package.json index d9edec79235..88dcaf535e9 100644 --- a/blocks/divider/package.json +++ b/blocks/divider/package.json @@ -31,11 +31,11 @@ "@blockprotocol/graph": "0.3.4" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/react-dom": "18.2.25", "block-scripts": "0.3.4", - "eslint": "8.57.0", + "eslint": "9.16.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/embed/.eslintrc.cjs b/blocks/embed/.eslintrc.cjs deleted file mode 100644 index ee8314fefb0..00000000000 --- a/blocks/embed/.eslintrc.cjs +++ /dev/null @@ -1,4 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-block-config.cjs")(__dirname), -}; diff --git a/blocks/embed/eslint.config.js b/blocks/embed/eslint.config.js new file mode 100644 index 00000000000..5b6bb9d538e --- /dev/null +++ b/blocks/embed/eslint.config.js @@ -0,0 +1,3 @@ +import { createBlock } from "@local/eslint/deprecated"; + +export default createBlock(import.meta.dirname); diff --git a/blocks/embed/package.json b/blocks/embed/package.json index ec9b1fab9ba..660e67a97d0 100644 --- a/blocks/embed/package.json +++ b/blocks/embed/package.json @@ -30,12 +30,12 @@ "twind": "0.16.19" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/lodash": "4.17.13", "@types/react-dom": "18.0.9", "block-scripts": "0.0.14", - "eslint": "8.57.0", + "eslint": "9.16.0", "mock-block-dock": "0.0.10", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/blocks/faq/.eslintrc.cjs b/blocks/faq/.eslintrc.cjs deleted file mode 100644 index ee8314fefb0..00000000000 --- a/blocks/faq/.eslintrc.cjs +++ /dev/null @@ -1,4 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-block-config.cjs")(__dirname), -}; diff --git a/blocks/faq/eslint.config.js b/blocks/faq/eslint.config.js new file mode 100644 index 00000000000..5b6bb9d538e --- /dev/null +++ b/blocks/faq/eslint.config.js @@ -0,0 +1,3 @@ +import { createBlock } from "@local/eslint/deprecated"; + +export default createBlock(import.meta.dirname); diff --git a/blocks/faq/package.json b/blocks/faq/package.json index c84a62b8767..1841e937991 100644 --- a/blocks/faq/package.json +++ b/blocks/faq/package.json @@ -38,11 +38,11 @@ "uuid": "9.0.1" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@types/react-dom": "18.2.25", "@types/uuid": "10.0.0", "block-scripts": "0.3.4", - "eslint": "8.57.0", + "eslint": "9.16.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/faq/src/app.tsx b/blocks/faq/src/app.tsx index a58f4566114..3d8bfbab106 100644 --- a/blocks/faq/src/app.tsx +++ b/blocks/faq/src/app.tsx @@ -26,7 +26,7 @@ import type { FAQBlockOutgoingLinksByLinkEntityTypeId, FrequentlyAskedQuestion, FrequentlyAskedQuestionProperties, -} from "./types/block-entity"; +} from "./types/generated/block-entity"; type RootEntityKey = keyof BlockEntity["properties"]; type QuestionEntityKey = keyof FrequentlyAskedQuestionProperties; diff --git a/blocks/faq/src/dev.tsx b/blocks/faq/src/dev.tsx index 79d2ee5beb1..031ca870b38 100644 --- a/blocks/faq/src/dev.tsx +++ b/blocks/faq/src/dev.tsx @@ -4,7 +4,7 @@ import { createRoot } from "react-dom/client"; import packageJson from "../package.json"; import Component from "./index"; -import type { BlockEntity } from "./types/block-entity"; +import type { BlockEntity } from "./types/generated/block-entity"; const node = document.getElementById("app"); diff --git a/blocks/faq/src/types/block-entity.ts b/blocks/faq/src/types/block-entity.ts deleted file mode 100644 index c16a4945c19..00000000000 --- a/blocks/faq/src/types/block-entity.ts +++ /dev/null @@ -1,105 +0,0 @@ -/** - * This file was automatically generated – do not edit it. - */ - -import type { Entity, LinkData } from "@blockprotocol/graph"; - -/** - * A response to a question that provides information, clarification, or confirmation. - */ -export type AnswerPropertyValue = Text; - -/** - * Defines whether or not toggles should be displayed on questions to show/hide their respective answer. - */ -export type AnswerVisibilityIsConfigurablePropertyValue = boolean; - -export type BlockEntity = FAQBlock; - -export type BlockEntityOutgoingLinkAndTarget = FAQBlockOutgoingLinkAndTarget; - -/** - * A True or False value - */ -export type Boolean = boolean; - -/** - * A piece of text that tells you about something or someone. This can include explaining what they look like, what its purpose is for, what they’re like, etc. - */ -export type DescriptionPropertyValue = Text; - -export type FAQBlock = Entity; - -export type FAQBlockHasFrequentlyAskedQuestionLinks = { - linkEntity: HasFrequentlyAskedQuestion; - rightEntity: FrequentlyAskedQuestion; -}; - -export type FAQBlockOutgoingLinkAndTarget = - FAQBlockHasFrequentlyAskedQuestionLinks; - -export type FAQBlockOutgoingLinksByLinkEntityTypeId = { - "https://blockprotocol.org/@hash/types/entity-type/has-frequently-asked-question/v/1": FAQBlockHasFrequentlyAskedQuestionLinks; -}; - -export type FAQBlockProperties = { - "https://blockprotocol.org/@blockprotocol/types/property-type/description/"?: DescriptionPropertyValue; - "https://blockprotocol.org/@blockprotocol/types/property-type/title/"?: TitlePropertyValue; - "https://blockprotocol.org/@hash/types/property-type/sections-should-be-numbered/"?: SectionsShouldBeNumberedPropertyValue; - "https://blockprotocol.org/@hash/types/property-type/answer-visibility-is-configurable/"?: AnswerVisibilityIsConfigurablePropertyValue; -}; - -export type FrequentlyAskedQuestion = Entity; - -export type FrequentlyAskedQuestionOutgoingLinkAndTarget = never; - -export type FrequentlyAskedQuestionOutgoingLinksByLinkEntityTypeId = {}; - -export type FrequentlyAskedQuestionProperties = { - "https://blockprotocol.org/@blockprotocol/types/property-type/question/"?: QuestionPropertyValue; - "https://blockprotocol.org/@blockprotocol/types/property-type/answer/"?: AnswerPropertyValue; -}; - -export type HasFrequentlyAskedQuestion = - Entity & { linkData: LinkData }; - -export type HasFrequentlyAskedQuestionOutgoingLinkAndTarget = never; - -export type HasFrequentlyAskedQuestionOutgoingLinksByLinkEntityTypeId = {}; - -/** - * Contains a frequently asked question defined by a [Frequently Asked Question] entity. - */ -export type HasFrequentlyAskedQuestionProperties = - HasFrequentlyAskedQuestionProperties1 & HasFrequentlyAskedQuestionProperties2; -export type HasFrequentlyAskedQuestionProperties1 = LinkProperties; - -export type HasFrequentlyAskedQuestionProperties2 = {}; - -export type Link = Entity; - -export type LinkOutgoingLinkAndTarget = never; - -export type LinkOutgoingLinksByLinkEntityTypeId = {}; - -export type LinkProperties = {}; - -/** - * A sentence that is used to request information, clarification, or confirmation about something. - */ -export type QuestionPropertyValue = Text; - -/** - * Defines whether or not sections should be numbered. - */ -export type SectionsShouldBeNumberedPropertyValue = boolean; - -/** - * An ordered sequence of characters - */ -export type Text = string; - -/** - * The name given to something to identify it, generally associated with objects or inanimate things such as books, websites, songs, etc. - */ -export type TitlePropertyValue = Text; diff --git a/blocks/heading/.eslintrc.cjs b/blocks/heading/.eslintrc.cjs deleted file mode 100644 index ee8314fefb0..00000000000 --- a/blocks/heading/.eslintrc.cjs +++ /dev/null @@ -1,4 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-block-config.cjs")(__dirname), -}; diff --git a/blocks/heading/eslint.config.js b/blocks/heading/eslint.config.js new file mode 100644 index 00000000000..5b6bb9d538e --- /dev/null +++ b/blocks/heading/eslint.config.js @@ -0,0 +1,3 @@ +import { createBlock } from "@local/eslint/deprecated"; + +export default createBlock(import.meta.dirname); diff --git a/blocks/heading/package.json b/blocks/heading/package.json index be040d7dcdc..cb1b746a2c8 100644 --- a/blocks/heading/package.json +++ b/blocks/heading/package.json @@ -31,11 +31,11 @@ "@blockprotocol/hook": "0.1.3" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/react-dom": "18.2.25", "block-scripts": "0.3.4", - "eslint": "8.57.0", + "eslint": "9.16.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/how-to/.eslintrc.cjs b/blocks/how-to/.eslintrc.cjs deleted file mode 100644 index ee8314fefb0..00000000000 --- a/blocks/how-to/.eslintrc.cjs +++ /dev/null @@ -1,4 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-block-config.cjs")(__dirname), -}; diff --git a/blocks/how-to/eslint.config.js b/blocks/how-to/eslint.config.js new file mode 100644 index 00000000000..5b6bb9d538e --- /dev/null +++ b/blocks/how-to/eslint.config.js @@ -0,0 +1,3 @@ +import { createBlock } from "@local/eslint/deprecated"; + +export default createBlock(import.meta.dirname); diff --git a/blocks/how-to/package.json b/blocks/how-to/package.json index ee0fb2fe4ff..83341482f03 100644 --- a/blocks/how-to/package.json +++ b/blocks/how-to/package.json @@ -39,11 +39,11 @@ "uuid": "9.0.1" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@types/react-dom": "18.2.25", "@types/uuid": "10.0.0", "block-scripts": "0.3.4", - "eslint": "8.57.0", + "eslint": "9.16.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/how-to/src/app.tsx b/blocks/how-to/src/app.tsx index f9d549c6373..da56aea82f2 100644 --- a/blocks/how-to/src/app.tsx +++ b/blocks/how-to/src/app.tsx @@ -330,65 +330,59 @@ export const App: BlockComponent = ({ }), }} > - { - // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing -- we don't want an empty string - title || description || !readonly ? ( - + { + if (!readonly) { + setTitleValue(event.target.value); + } + }} + onBlur={(event) => + updateField(event.target.value, titleKey) + } sx={{ - gap: 1.5, + fontWeight: 700, + fontSize: 21, + lineHeight: 1, + letterSpacing: "-0.02em", + color: theme.palette.common.black, }} - > - { - if (!readonly) { - setTitleValue(event.target.value); - } - }} - onBlur={(event) => - updateField(event.target.value, titleKey) + placeholder="Enter a how-to guide name" + readonly={readonly} + /> + + { + if (!readonly) { + setDescriptionValue(event.target.value); } - sx={{ - fontWeight: 700, - fontSize: 21, - lineHeight: 1, - letterSpacing: "-0.02em", - color: theme.palette.common.black, - }} - placeholder="Enter a how-to guide name" - readonly={readonly} - /> - - { - if (!readonly) { - setDescriptionValue(event.target.value); - } - }} - onBlur={(event) => { - void updateField( - event.target.value, - descriptionKey, - ); - }} - sx={{ - fontWeight: 500, - fontSize: 14, - lineHeight: 1.3, - letterSpacing: "-0.02em", - color: theme.palette.gray[90], - }} - placeholder="Click here to add a description of the how-to process" - placeholderSx={{ - fontStyle: "italic", - }} - readonly={readonly} - /> - - ) : null - } + }} + onBlur={(event) => { + void updateField(event.target.value, descriptionKey); + }} + sx={{ + fontWeight: 500, + fontSize: 14, + lineHeight: 1.3, + letterSpacing: "-0.02em", + color: theme.palette.gray[90], + }} + placeholder="Click here to add a description of the how-to process" + placeholderSx={{ + fontStyle: "italic", + }} + readonly={readonly} + /> + + ) : null} {(introEntity ?? !readonly) ? ( diff --git a/blocks/image/.eslintrc.cjs b/blocks/image/.eslintrc.cjs deleted file mode 100644 index ee8314fefb0..00000000000 --- a/blocks/image/.eslintrc.cjs +++ /dev/null @@ -1,4 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-block-config.cjs")(__dirname), -}; diff --git a/blocks/image/eslint.config.js b/blocks/image/eslint.config.js new file mode 100644 index 00000000000..5b6bb9d538e --- /dev/null +++ b/blocks/image/eslint.config.js @@ -0,0 +1,3 @@ +import { createBlock } from "@local/eslint/deprecated"; + +export default createBlock(import.meta.dirname); diff --git a/blocks/image/package.json b/blocks/image/package.json index d933497f7ea..e45ddc8c99e 100644 --- a/blocks/image/package.json +++ b/blocks/image/package.json @@ -32,11 +32,11 @@ "twind": "0.16.19" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/react-dom": "18.2.25", "block-scripts": "0.3.4", - "eslint": "8.57.0", + "eslint": "9.16.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/kanban-board/.eslintrc.cjs b/blocks/kanban-board/.eslintrc.cjs deleted file mode 100644 index ee8314fefb0..00000000000 --- a/blocks/kanban-board/.eslintrc.cjs +++ /dev/null @@ -1,4 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-block-config.cjs")(__dirname), -}; diff --git a/blocks/kanban-board/eslint.config.js b/blocks/kanban-board/eslint.config.js new file mode 100644 index 00000000000..5b6bb9d538e --- /dev/null +++ b/blocks/kanban-board/eslint.config.js @@ -0,0 +1,3 @@ +import { createBlock } from "@local/eslint/deprecated"; + +export default createBlock(import.meta.dirname); diff --git a/blocks/kanban-board/package.json b/blocks/kanban-board/package.json index 9dcd7b06283..2bb8e78cc45 100644 --- a/blocks/kanban-board/package.json +++ b/blocks/kanban-board/package.json @@ -36,6 +36,7 @@ "@dnd-kit/sortable": "7.0.2", "@dnd-kit/utilities": "3.2.2", "@hashintel/block-design-system": "0.0.2", + "@hashintel/design-system": "workspace:*", "@mui/material": "5.16.9", "clsx": "1.2.1", "lodash.clonedeep": "4.5.0", @@ -44,14 +45,14 @@ "react-textarea-autosize": "8.5.6" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/lodash.clonedeep": "4.5.9", "@types/lodash.debounce": "4.0.9", "@types/lodash.isequal": "4.5.8", "@types/react-dom": "18.2.25", "block-scripts": "0.3.4", - "eslint": "8.57.0", + "eslint": "9.16.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/minesweeper/.eslintrc.cjs b/blocks/minesweeper/.eslintrc.cjs deleted file mode 100644 index ee8314fefb0..00000000000 --- a/blocks/minesweeper/.eslintrc.cjs +++ /dev/null @@ -1,4 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-block-config.cjs")(__dirname), -}; diff --git a/blocks/minesweeper/eslint.config.js b/blocks/minesweeper/eslint.config.js new file mode 100644 index 00000000000..5b6bb9d538e --- /dev/null +++ b/blocks/minesweeper/eslint.config.js @@ -0,0 +1,3 @@ +import { createBlock } from "@local/eslint/deprecated"; + +export default createBlock(import.meta.dirname); diff --git a/blocks/minesweeper/package.json b/blocks/minesweeper/package.json index 0a3619a981a..07e15c3e4e5 100644 --- a/blocks/minesweeper/package.json +++ b/blocks/minesweeper/package.json @@ -26,11 +26,11 @@ "mine-sweeper-tag": "1.0.6" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/react-dom": "18.2.25", "block-scripts": "0.3.4", - "eslint": "8.57.0", + "eslint": "9.16.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/minesweeper/src/app.ts b/blocks/minesweeper/src/app.ts index 6fe622ed001..cfb6c8ee863 100644 --- a/blocks/minesweeper/src/app.ts +++ b/blocks/minesweeper/src/app.ts @@ -1,7 +1,6 @@ import { BlockElementBase } from "@blockprotocol/graph/custom-element"; import { getRoots } from "@blockprotocol/graph/stdlib"; import type { PropertyValues } from "lit"; -// eslint-disable-next-line import/extensions import { unsafeHTML } from "lit/directives/unsafe-html.js"; import { mine_sweeper } from "mine-sweeper-tag"; diff --git a/blocks/paragraph/.eslintrc.cjs b/blocks/paragraph/.eslintrc.cjs deleted file mode 100644 index ee8314fefb0..00000000000 --- a/blocks/paragraph/.eslintrc.cjs +++ /dev/null @@ -1,4 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-block-config.cjs")(__dirname), -}; diff --git a/blocks/paragraph/eslint.config.js b/blocks/paragraph/eslint.config.js new file mode 100644 index 00000000000..5b6bb9d538e --- /dev/null +++ b/blocks/paragraph/eslint.config.js @@ -0,0 +1,3 @@ +import { createBlock } from "@local/eslint/deprecated"; + +export default createBlock(import.meta.dirname); diff --git a/blocks/paragraph/package.json b/blocks/paragraph/package.json index 36919101633..bb81b089128 100644 --- a/blocks/paragraph/package.json +++ b/blocks/paragraph/package.json @@ -31,11 +31,11 @@ "@blockprotocol/hook": "0.1.3" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/react-dom": "18.2.25", "block-scripts": "0.3.4", - "eslint": "8.57.0", + "eslint": "9.16.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/person/.eslintrc.cjs b/blocks/person/.eslintrc.cjs deleted file mode 100644 index ee8314fefb0..00000000000 --- a/blocks/person/.eslintrc.cjs +++ /dev/null @@ -1,4 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-block-config.cjs")(__dirname), -}; diff --git a/blocks/person/eslint.config.js b/blocks/person/eslint.config.js new file mode 100644 index 00000000000..5b6bb9d538e --- /dev/null +++ b/blocks/person/eslint.config.js @@ -0,0 +1,3 @@ +import { createBlock } from "@local/eslint/deprecated"; + +export default createBlock(import.meta.dirname); diff --git a/blocks/person/package.json b/blocks/person/package.json index bb2faaa1e37..0774c0cacd2 100644 --- a/blocks/person/package.json +++ b/blocks/person/package.json @@ -29,12 +29,12 @@ "dompurify": "2.5.8" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/dompurify": "2.4.0", "@types/react-dom": "18.0.9", "block-scripts": "0.0.14", - "eslint": "8.57.0", + "eslint": "9.16.0", "mock-block-dock": "0.0.38", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/blocks/shuffle/.eslintrc.cjs b/blocks/shuffle/.eslintrc.cjs deleted file mode 100644 index 9e5c261e5d9..00000000000 --- a/blocks/shuffle/.eslintrc.cjs +++ /dev/null @@ -1,14 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-block-config.cjs")(__dirname), - rules: { - "unicorn/import-style": [ - "error", - { - styles: { - react: { named: false }, - }, - }, - ], - }, -}; diff --git a/blocks/shuffle/eslint.config.js b/blocks/shuffle/eslint.config.js new file mode 100644 index 00000000000..5b6bb9d538e --- /dev/null +++ b/blocks/shuffle/eslint.config.js @@ -0,0 +1,3 @@ +import { createBlock } from "@local/eslint/deprecated"; + +export default createBlock(import.meta.dirname); diff --git a/blocks/shuffle/package.json b/blocks/shuffle/package.json index c9693b5dc42..2fac53c0c7c 100644 --- a/blocks/shuffle/package.json +++ b/blocks/shuffle/package.json @@ -39,12 +39,12 @@ "uuid": "9.0.1" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/lodash.isequal": "4.5.8", "@types/uuid": "10.0.0", "block-scripts": "0.3.4", - "eslint": "8.57.0", + "eslint": "9.16.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/shuffle/src/components/item-list.tsx b/blocks/shuffle/src/components/item-list.tsx index 2bbdbb52258..b6a41c8c28b 100644 --- a/blocks/shuffle/src/components/item-list.tsx +++ b/blocks/shuffle/src/components/item-list.tsx @@ -15,7 +15,9 @@ import { import { CSS } from "@dnd-kit/utilities"; import { List } from "@mui/material"; import type { FunctionComponent } from "react"; -import React, { useMemo, useRef, useState } from "react"; +// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors +// removed React import +import { useMemo, useRef, useState } from "react"; import { propertyIds } from "../property-ids"; import type { ShuffleBlockItemPropertyValue } from "../types/generated/block-entity"; diff --git a/blocks/shuffle/src/components/item.tsx b/blocks/shuffle/src/components/item.tsx index 5b98053faf7..a69deba73fe 100644 --- a/blocks/shuffle/src/components/item.tsx +++ b/blocks/shuffle/src/components/item.tsx @@ -5,7 +5,9 @@ import LinkIcon from "@mui/icons-material/Link"; import type { SxProps } from "@mui/material"; import { Tooltip } from "@mui/material"; import type { CSSProperties, RefObject } from "react"; -import React, { forwardRef, useState } from "react"; +// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors +// removed React import +import { forwardRef, useState } from "react"; import { SButtonsWrapper, @@ -25,7 +27,7 @@ export type ItemProps = { onDelete?: () => void; paperStyle?: SxProps; attributes?: DraggableAttributes; - // eslint-disable-next-line @typescript-eslint/ban-types -- this matches the library type we get listeners from + // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type -- this matches the library type we get listeners from listeners?: Record; style?: CSSProperties; dragOverlay?: RefObject; diff --git a/blocks/shuffle/src/components/sortable-item.tsx b/blocks/shuffle/src/components/sortable-item.tsx index f87aa374f88..df077fca050 100644 --- a/blocks/shuffle/src/components/sortable-item.tsx +++ b/blocks/shuffle/src/components/sortable-item.tsx @@ -1,8 +1,9 @@ import type { AnimateLayoutChanges } from "@dnd-kit/sortable"; import { defaultAnimateLayoutChanges, useSortable } from "@dnd-kit/sortable"; import { CSS } from "@dnd-kit/utilities"; +// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors +// removed React import import type { FunctionComponent } from "react"; -import React from "react"; import type { ItemProps } from "./item"; import { Item } from "./item"; diff --git a/blocks/shuffle/src/shuffle.tsx b/blocks/shuffle/src/shuffle.tsx index 44a328de3e8..980f5a32218 100644 --- a/blocks/shuffle/src/shuffle.tsx +++ b/blocks/shuffle/src/shuffle.tsx @@ -14,7 +14,9 @@ import ShuffleIcon from "@mui/icons-material/Shuffle"; import Box from "@mui/material/Box"; import produce from "immer"; import isEqual from "lodash.isequal"; -import React, { useMemo, useRef, useState } from "react"; +// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors +// removed React import +import { useMemo, useRef, useState } from "react"; import { v4 as uuid } from "uuid"; import { ItemList } from "./components/item-list"; diff --git a/blocks/table/.eslintrc.cjs b/blocks/table/.eslintrc.cjs deleted file mode 100644 index ee8314fefb0..00000000000 --- a/blocks/table/.eslintrc.cjs +++ /dev/null @@ -1,4 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-block-config.cjs")(__dirname), -}; diff --git a/blocks/table/eslint.config.js b/blocks/table/eslint.config.js new file mode 100644 index 00000000000..5b6bb9d538e --- /dev/null +++ b/blocks/table/eslint.config.js @@ -0,0 +1,3 @@ +import { createBlock } from "@local/eslint/deprecated"; + +export default createBlock(import.meta.dirname); diff --git a/blocks/table/package.json b/blocks/table/package.json index 129d73fee04..9f54de50cc0 100644 --- a/blocks/table/package.json +++ b/blocks/table/package.json @@ -34,6 +34,8 @@ "@blockprotocol/graph": "0.3.4", "@glideapps/glide-data-grid": "patch:@glideapps/glide-data-grid@npm%3A6.0.3#~/.yarn/patches/@glideapps-glide-data-grid-npm-6.0.3-f71d586425.patch", "@hashintel/block-design-system": "0.0.2", + "@hashintel/design-system": "workspace:*", + "@local/hash-isomorphic-utils": "workspace:*", "@mui/material": "5.16.9", "clsx": "1.2.1", "immer": "9.0.21", @@ -46,14 +48,14 @@ "rooks": "7.14.1" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/lodash.debounce": "4.0.9", "@types/lodash.isequal": "4.5.8", "@types/lodash.uniqueid": "4.0.9", "@types/react-dom": "18.2.25", "block-scripts": "0.3.4", - "eslint": "8.57.0", + "eslint": "9.16.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/timer/.eslintrc.cjs b/blocks/timer/.eslintrc.cjs deleted file mode 100644 index ee8314fefb0..00000000000 --- a/blocks/timer/.eslintrc.cjs +++ /dev/null @@ -1,4 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-block-config.cjs")(__dirname), -}; diff --git a/blocks/timer/eslint.config.js b/blocks/timer/eslint.config.js new file mode 100644 index 00000000000..5b6bb9d538e --- /dev/null +++ b/blocks/timer/eslint.config.js @@ -0,0 +1,3 @@ +import { createBlock } from "@local/eslint/deprecated"; + +export default createBlock(import.meta.dirname); diff --git a/blocks/timer/package.json b/blocks/timer/package.json index c3212c8cc35..78894682b86 100644 --- a/blocks/timer/package.json +++ b/blocks/timer/package.json @@ -32,11 +32,11 @@ "duration-fns": "3.0.2" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/react-dom": "18.2.25", "block-scripts": "0.3.4", - "eslint": "8.57.0", + "eslint": "9.16.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/video/.eslintrc.cjs b/blocks/video/.eslintrc.cjs deleted file mode 100644 index ee8314fefb0..00000000000 --- a/blocks/video/.eslintrc.cjs +++ /dev/null @@ -1,4 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-block-config.cjs")(__dirname), -}; diff --git a/blocks/video/eslint.config.js b/blocks/video/eslint.config.js new file mode 100644 index 00000000000..5b6bb9d538e --- /dev/null +++ b/blocks/video/eslint.config.js @@ -0,0 +1,3 @@ +import { createBlock } from "@local/eslint/deprecated"; + +export default createBlock(import.meta.dirname); diff --git a/blocks/video/package.json b/blocks/video/package.json index 80e99788935..1c490077617 100644 --- a/blocks/video/package.json +++ b/blocks/video/package.json @@ -31,11 +31,11 @@ "twind": "0.16.19" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/react-dom": "18.2.25", "block-scripts": "0.3.4", - "eslint": "8.57.0", + "eslint": "9.16.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/libs/@local/eslint/package.json b/libs/@local/eslint/package.json index fc557df9c21..7aa616e135e 100644 --- a/libs/@local/eslint/package.json +++ b/libs/@local/eslint/package.json @@ -24,7 +24,9 @@ "@eslint/eslintrc": "3.2.0", "effect": "3.11.0", "eslint": "9.16.0", + "eslint-config-airbnb": "19.0.4", "eslint-config-flat-gitignore": "0.3.0", + "eslint-config-prettier": "9.1.0", "eslint-config-sheriff": "25.3.0", "eslint-import-resolver-node": "0.3.9", "eslint-import-resolver-typescript": "3.7.0", diff --git a/libs/@local/eslint/src/deprecated/block.ts b/libs/@local/eslint/src/deprecated/block.ts index d312d51b81f..0378d29e372 100644 --- a/libs/@local/eslint/src/deprecated/block.ts +++ b/libs/@local/eslint/src/deprecated/block.ts @@ -1,5 +1,3 @@ -import getGitignorePatterns from "eslint-config-flat-gitignore"; -import { ignores } from "eslint-config-sheriff"; import react from "eslint-plugin-react"; // @ts-expect-error - react-hooks does not expose types import reactHooks from "eslint-plugin-react-hooks"; @@ -7,10 +5,12 @@ import unicorn from "eslint-plugin-unicorn"; import { fixupPluginRules } from "@eslint/compat"; import typescriptEslint from "@typescript-eslint/eslint-plugin"; -import type { ESConfig } from "../utils.js"; +import { type ESConfig } from "../utils.js"; +import { create as createBase } from "./base.js"; -export const create = () => +export const create = (projectDirectory: string) => [ + ...createBase(projectDirectory), { plugins: { "@typescript-eslint": typescriptEslint, @@ -39,8 +39,7 @@ export const create = () => "react/self-closing-comp": "error", }, }, - getGitignorePatterns({ strict: false }), { - ignores, + ignores: ["**/types/generated/*.ts"], }, ] as readonly ESConfig[]; diff --git a/libs/@local/eslint/src/index.ts b/libs/@local/eslint/src/index.ts index f5eb5a2b561..47173fdb215 100644 --- a/libs/@local/eslint/src/index.ts +++ b/libs/@local/eslint/src/index.ts @@ -27,7 +27,10 @@ export interface Options { mutableParametersRegex: () => string[]; } -export const create = (projectDirectory: string, options?: PartialDeep): readonly ESConfig[] => { +export const create = ( + projectDirectory: string, + options?: PartialDeep, +): readonly ESConfig[] => { const sheriffOptions: SheriffSettings = { react: options?.enabled?.frontend === "react", next: options?.enabled?.frontend === "next", @@ -44,11 +47,16 @@ export const create = (projectDirectory: string, options?: PartialDeep) return pipe( sheriff(sheriffOptions) as readonly ESConfig[], - Array.append(getGitignorePatterns({ strict: false , files: projectIgnoreFiles(projectDirectory)})), + Array.append( + getGitignorePatterns({ + strict: false, + files: projectIgnoreFiles(projectDirectory), + }), + ), builtIn(options ?? {}), importPlugin, unicorn, - react(options? {}), + react(options ?? {}), typescript, stylistic, ); diff --git a/yarn.lock b/yarn.lock index 0064029a471..6f5dbb6cb44 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4235,13 +4235,13 @@ __metadata: "@fortawesome/free-solid-svg-icons": "npm:6.7.1" "@hashintel/block-design-system": "npm:0.0.2" "@hashintel/design-system": "npm:0.0.8" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@mui/material": "npm:5.16.7" "@types/lodash.debounce": "npm:4.0.9" "@types/react-dom": "npm:18.2.25" "@types/uuid": "npm:10.0.0" block-scripts: "npm:0.3.4" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" lodash.debounce: "npm:4.0.8" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.1" @@ -4266,13 +4266,13 @@ __metadata: "@blockprotocol/service": "npm:0.1.4" "@hashintel/block-design-system": "npm:0.0.2" "@hashintel/design-system": "npm:0.0.8" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@mui/material": "npm:5.16.7" "@types/react-dom": "npm:18.2.25" "@types/uuid": "npm:10.0.0" block-scripts: "npm:0.3.4" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.1" react: "npm:18.2.0" @@ -4296,13 +4296,13 @@ __metadata: "@blockprotocol/service": "npm:0.1.4" "@hashintel/block-design-system": "npm:0.0.2" "@hashintel/design-system": "npm:0.0.8" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@mui/material": "npm:5.16.7" "@types/react-dom": "npm:18.2.25" "@types/uuid": "npm:10.0.0" block-scripts: "npm:0.3.4" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.1" react: "npm:18.2.0" @@ -4324,12 +4324,12 @@ __metadata: "@blockprotocol/service": "npm:0.1.4" "@hashintel/block-design-system": "npm:0.0.2" "@hashintel/design-system": "npm:0.0.8" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@mui/material": "npm:5.16.7" "@types/react-dom": "npm:18.2.25" block-scripts: "npm:0.3.4" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.1" react: "npm:18.2.0" @@ -4347,11 +4347,11 @@ __metadata: dependencies: "@blockprotocol/graph": "npm:0.3.4" "@blockprotocol/hook": "npm:0.1.3" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@types/react-dom": "npm:18.2.25" block-scripts: "npm:0.3.4" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.1" react: "npm:18.2.0" @@ -4372,7 +4372,8 @@ __metadata: "@emotion/styled": "npm:11.13.5" "@hashintel/block-design-system": "npm:0.0.2" "@hashintel/design-system": "npm:0.0.8" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" + "@local/hash-isomorphic-utils": "workspace:*" "@local/tsconfig": "npm:0.0.0-private" "@mui/material": "npm:5.16.7" "@types/lodash.debounce": "npm:4.0.9" @@ -4380,7 +4381,7 @@ __metadata: "@types/react-is": "npm:18.3.0" block-scripts: "npm:0.3.4" echarts: "npm:5.5.1" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" lodash.debounce: "npm:4.0.8" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.1" @@ -4399,12 +4400,12 @@ __metadata: resolution: "@blocks/code@workspace:blocks/code" dependencies: "@blockprotocol/graph": "npm:0.3.4" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@types/prismjs": "npm:1.26.5" "@types/react-dom": "npm:18.2.25" block-scripts: "npm:0.3.4" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.1" prismjs: "npm:1.29.0" @@ -4422,13 +4423,13 @@ __metadata: resolution: "@blocks/countdown@workspace:blocks/countdown" dependencies: "@blockprotocol/graph": "npm:0.3.4" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@types/react-datepicker": "npm:4.19.6" "@types/react-dom": "npm:18.2.25" block-scripts: "npm:0.3.4" date-fns: "npm:4.1.0" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.1" react: "npm:18.2.0" @@ -4447,11 +4448,11 @@ __metadata: dependencies: "@blockprotocol/core": "npm:0.1.3" "@blockprotocol/graph": "npm:0.3.4" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@types/react-dom": "npm:18.2.25" block-scripts: "npm:0.3.4" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.1" react: "npm:18.2.0" @@ -4467,13 +4468,13 @@ __metadata: version: 0.0.0-use.local resolution: "@blocks/embed@workspace:blocks/embed" dependencies: - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@types/lodash": "npm:4.17.13" "@types/react-dom": "npm:18.0.9" block-scripts: "npm:0.0.14" blockprotocol: "patch:blockprotocol@npm%3A0.0.12#~/.yarn/patches/blockprotocol-npm-0.0.12-2558a31f0a.patch" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" lodash: "npm:4.17.21" mock-block-dock: "npm:0.0.10" react: "npm:18.2.0" @@ -4494,12 +4495,12 @@ __metadata: "@blockprotocol/graph": "npm:0.3.4" "@hashintel/block-design-system": "npm:0.0.2" "@hashintel/design-system": "npm:0.0.8" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@mui/material": "npm:5.16.7" "@types/react-dom": "npm:18.2.25" "@types/uuid": "npm:10.0.0" block-scripts: "npm:0.3.4" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.1" react: "npm:18.2.0" @@ -4518,11 +4519,11 @@ __metadata: dependencies: "@blockprotocol/graph": "npm:0.3.4" "@blockprotocol/hook": "npm:0.1.3" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@types/react-dom": "npm:18.2.25" block-scripts: "npm:0.3.4" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.1" react: "npm:18.2.0" @@ -4541,12 +4542,12 @@ __metadata: "@blockprotocol/graph": "npm:0.3.4" "@hashintel/block-design-system": "npm:0.0.2" "@hashintel/design-system": "npm:0.0.8" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@mui/material": "npm:5.16.7" "@types/react-dom": "npm:18.2.25" "@types/uuid": "npm:10.0.0" block-scripts: "npm:0.3.4" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.1" react: "npm:18.2.0" @@ -4566,11 +4567,11 @@ __metadata: dependencies: "@blockprotocol/graph": "npm:0.3.4" "@blockprotocol/hook": "npm:0.1.3" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@types/react-dom": "npm:18.2.25" block-scripts: "npm:0.3.4" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.1" react: "npm:18.2.0" @@ -4592,7 +4593,8 @@ __metadata: "@dnd-kit/sortable": "npm:7.0.2" "@dnd-kit/utilities": "npm:3.2.2" "@hashintel/block-design-system": "npm:0.0.2" - "@local/eslint-config": "npm:0.0.0-private" + "@hashintel/design-system": "workspace:*" + "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@mui/material": "npm:5.16.7" "@types/lodash.clonedeep": "npm:4.5.9" @@ -4601,7 +4603,7 @@ __metadata: "@types/react-dom": "npm:18.2.25" block-scripts: "npm:0.3.4" clsx: "npm:1.2.1" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" lodash.clonedeep: "npm:4.5.0" lodash.debounce: "npm:4.0.8" lodash.isequal: "npm:4.5.0" @@ -4622,11 +4624,11 @@ __metadata: resolution: "@blocks/minesweeper@workspace:blocks/minesweeper" dependencies: "@blockprotocol/graph": "npm:0.3.4" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@types/react-dom": "npm:18.2.25" block-scripts: "npm:0.3.4" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" lit: "npm:2.8.0" mine-sweeper-tag: "npm:1.0.6" mock-block-dock: "npm:0.1.9" @@ -4643,11 +4645,11 @@ __metadata: dependencies: "@blockprotocol/graph": "npm:0.3.4" "@blockprotocol/hook": "npm:0.1.3" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@types/react-dom": "npm:18.2.25" block-scripts: "npm:0.3.4" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.1" react: "npm:18.2.0" @@ -4664,13 +4666,13 @@ __metadata: resolution: "@blocks/person@workspace:blocks/person" dependencies: "@blockprotocol/graph": "npm:0.0.18" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@types/dompurify": "npm:2.4.0" "@types/react-dom": "npm:18.0.9" block-scripts: "npm:0.0.14" dompurify: "npm:2.5.7" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" mock-block-dock: "npm:0.0.38" react: "npm:18.2.0" react-dom: "npm:18.2.0" @@ -4690,14 +4692,14 @@ __metadata: "@dnd-kit/sortable": "npm:7.0.2" "@dnd-kit/utilities": "npm:3.2.2" "@hashintel/design-system": "npm:0.0.8" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@mui/icons-material": "npm:5.16.7" "@mui/material": "npm:5.16.7" "@types/lodash.isequal": "npm:4.5.8" "@types/uuid": "npm:10.0.0" block-scripts: "npm:0.3.4" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" immer: "npm:9.0.21" lodash.isequal: "npm:4.5.0" mock-block-dock: "npm:0.1.9" @@ -4719,7 +4721,9 @@ __metadata: "@blockprotocol/graph": "npm:0.3.4" "@glideapps/glide-data-grid": "patch:@glideapps/glide-data-grid@npm%3A6.0.3#~/.yarn/patches/@glideapps-glide-data-grid-npm-6.0.3-f71d586425.patch" "@hashintel/block-design-system": "npm:0.0.2" - "@local/eslint-config": "npm:0.0.0-private" + "@hashintel/design-system": "workspace:*" + "@local/eslint": "npm:0.0.0-private" + "@local/hash-isomorphic-utils": "workspace:*" "@local/tsconfig": "npm:0.0.0-private" "@mui/material": "npm:5.16.7" "@types/lodash.debounce": "npm:4.0.9" @@ -4728,7 +4732,7 @@ __metadata: "@types/react-dom": "npm:18.2.25" block-scripts: "npm:0.3.4" clsx: "npm:1.2.1" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" immer: "npm:9.0.21" lodash.debounce: "npm:4.0.8" lodash.isequal: "npm:4.5.0" @@ -4753,13 +4757,13 @@ __metadata: resolution: "@blocks/timer@workspace:blocks/timer" dependencies: "@blockprotocol/graph": "npm:0.3.4" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@types/react-dom": "npm:18.2.25" block-scripts: "npm:0.3.4" date-fns: "npm:4.1.0" duration-fns: "npm:3.0.2" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.1" react: "npm:18.2.0" @@ -4776,11 +4780,11 @@ __metadata: resolution: "@blocks/video@workspace:blocks/video" dependencies: "@blockprotocol/graph": "npm:0.3.4" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@types/react-dom": "npm:18.2.25" block-scripts: "npm:0.3.4" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.1" react: "npm:18.2.0" @@ -7606,7 +7610,7 @@ __metadata: languageName: unknown linkType: soft -"@hashintel/design-system@npm:0.0.8, @hashintel/design-system@workspace:libs/@hashintel/design-system": +"@hashintel/design-system@npm:0.0.8, @hashintel/design-system@workspace:*, @hashintel/design-system@workspace:libs/@hashintel/design-system": version: 0.0.0-use.local resolution: "@hashintel/design-system@workspace:libs/@hashintel/design-system" dependencies: @@ -8591,7 +8595,9 @@ __metadata: "@types/eslint__eslintrc": "npm:2.1.2" effect: "npm:3.11.0" eslint: "npm:9.16.0" + eslint-config-airbnb: "npm:19.0.4" eslint-config-flat-gitignore: "npm:0.3.0" + eslint-config-prettier: "npm:9.1.0" eslint-config-sheriff: "npm:25.3.0" eslint-import-resolver-node: "npm:0.3.9" eslint-import-resolver-typescript: "npm:3.7.0" @@ -8728,7 +8734,7 @@ __metadata: languageName: unknown linkType: soft -"@local/hash-isomorphic-utils@npm:0.0.0-private, @local/hash-isomorphic-utils@workspace:libs/@local/hash-isomorphic-utils": +"@local/hash-isomorphic-utils@npm:0.0.0-private, @local/hash-isomorphic-utils@workspace:*, @local/hash-isomorphic-utils@workspace:libs/@local/hash-isomorphic-utils": version: 0.0.0-use.local resolution: "@local/hash-isomorphic-utils@workspace:libs/@local/hash-isomorphic-utils" dependencies: From 5848a317b89d17c3077b117d14105a8fffd27bca Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Mon, 9 Dec 2024 21:04:27 +0100 Subject: [PATCH 22/51] feat: convert blockprotocol --- libs/@blockprotocol/graph/.eslintrc.cjs | 7 ------- libs/@blockprotocol/graph/eslint.config.js | 10 ++++++++++ libs/@blockprotocol/graph/package.json | 4 ++-- libs/@blockprotocol/graph/src/codegen.ts | 2 +- .../graph/src/codegen/initialize/clean-output-dir.ts | 4 ++-- .../src/codegen/initialize/ensure-output-dir-exists.ts | 6 +++--- .../codegen/postprocess/prepend-imports-and-exports.ts | 2 +- .../graph/src/codegen/postprocess/write-to-files.ts | 2 +- .../graph/src/stdlib/subgraph/builder.ts | 4 +++- libs/@blockprotocol/graph/tsconfig.json | 2 +- .../type-system/typescript/.eslintrc.cjs | 4 ---- .../type-system/typescript/eslint.config.js | 6 ++++++ .../@blockprotocol/type-system/typescript/package.json | 4 ++-- .../type-system/typescript/tsconfig.json | 2 +- .../typescript/{vitest.config.js => vitest.config.ts} | 6 +++--- yarn.lock | 8 ++++---- 16 files changed, 40 insertions(+), 33 deletions(-) delete mode 100644 libs/@blockprotocol/graph/.eslintrc.cjs create mode 100644 libs/@blockprotocol/graph/eslint.config.js delete mode 100644 libs/@blockprotocol/type-system/typescript/.eslintrc.cjs create mode 100644 libs/@blockprotocol/type-system/typescript/eslint.config.js rename libs/@blockprotocol/type-system/typescript/{vitest.config.js => vitest.config.ts} (91%) diff --git a/libs/@blockprotocol/graph/.eslintrc.cjs b/libs/@blockprotocol/graph/.eslintrc.cjs deleted file mode 100644 index 3cb37833d62..00000000000 --- a/libs/@blockprotocol/graph/.eslintrc.cjs +++ /dev/null @@ -1,7 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-workspace-config.cjs")(__dirname), - rules: { - "@typescript-eslint/no-explicit-any": "off", - }, -}; diff --git a/libs/@blockprotocol/graph/eslint.config.js b/libs/@blockprotocol/graph/eslint.config.js new file mode 100644 index 00000000000..6e9ea6a4789 --- /dev/null +++ b/libs/@blockprotocol/graph/eslint.config.js @@ -0,0 +1,10 @@ +import { createBase } from "@local/eslint/deprecated"; + +export default [ + ...createBase(import.meta.dirname), + { + rules: { + "@typescript-eslint/no-explicit-any": "off", + }, + }, +]; diff --git a/libs/@blockprotocol/graph/package.json b/libs/@blockprotocol/graph/package.json index 75e9df23b69..c3d0d399f5f 100644 --- a/libs/@blockprotocol/graph/package.json +++ b/libs/@blockprotocol/graph/package.json @@ -75,12 +75,12 @@ "typescript": "5.6.3" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/lodash.isequal": "4.5.8", "@types/node": "22.10.1", "@types/react": "18.2.68", - "eslint": "8.57.0", + "eslint": "9.16.0", "rimraf": "6.0.1", "typescript": "5.6.3" }, diff --git a/libs/@blockprotocol/graph/src/codegen.ts b/libs/@blockprotocol/graph/src/codegen.ts index a9a57b19a91..d0f07222a7b 100644 --- a/libs/@blockprotocol/graph/src/codegen.ts +++ b/libs/@blockprotocol/graph/src/codegen.ts @@ -1,7 +1,7 @@ /** * Defines utilities for generating TypeScript types from elements of the Block Protocol Type System. */ -import * as path from "node:path"; +import path from "node:path"; import { compile } from "./codegen/compile.js"; import { diff --git a/libs/@blockprotocol/graph/src/codegen/initialize/clean-output-dir.ts b/libs/@blockprotocol/graph/src/codegen/initialize/clean-output-dir.ts index 6ceab05789f..bf35f2cb540 100644 --- a/libs/@blockprotocol/graph/src/codegen/initialize/clean-output-dir.ts +++ b/libs/@blockprotocol/graph/src/codegen/initialize/clean-output-dir.ts @@ -1,5 +1,5 @@ -import * as fs from "node:fs/promises"; -import * as path from "node:path"; +import fs from "node:fs/promises"; +import path from "node:path"; import type { InitializeContext } from "../context/initialize.js"; diff --git a/libs/@blockprotocol/graph/src/codegen/initialize/ensure-output-dir-exists.ts b/libs/@blockprotocol/graph/src/codegen/initialize/ensure-output-dir-exists.ts index fa0d0951e08..e561add6278 100644 --- a/libs/@blockprotocol/graph/src/codegen/initialize/ensure-output-dir-exists.ts +++ b/libs/@blockprotocol/graph/src/codegen/initialize/ensure-output-dir-exists.ts @@ -1,5 +1,5 @@ -import * as fs from "node:fs/promises"; -import * as path from "node:path"; +import fs from "node:fs/promises"; +import path from "node:path"; import type { InitializeContext } from "../context/initialize.js"; @@ -14,7 +14,7 @@ export const ensureOutputDirExists = async ( // Check the file exists await fs.stat(resolvedTargetDir); context.logTrace(`Target directory ${resolvedTargetDir} already existed`); - } catch (_) { + } catch { context.logTrace( `Target directory ${resolvedTargetDir} didn't exist, creating..`, ); diff --git a/libs/@blockprotocol/graph/src/codegen/postprocess/prepend-imports-and-exports.ts b/libs/@blockprotocol/graph/src/codegen/postprocess/prepend-imports-and-exports.ts index 2f2dc614f47..7971d64adc5 100644 --- a/libs/@blockprotocol/graph/src/codegen/postprocess/prepend-imports-and-exports.ts +++ b/libs/@blockprotocol/graph/src/codegen/postprocess/prepend-imports-and-exports.ts @@ -1,4 +1,4 @@ -import * as path from "node:path"; +import path from "node:path"; import { mustBeDefined } from "../../util/must-be-defined.js"; import type { PostprocessContext } from "../context/postprocess.js"; diff --git a/libs/@blockprotocol/graph/src/codegen/postprocess/write-to-files.ts b/libs/@blockprotocol/graph/src/codegen/postprocess/write-to-files.ts index 36e3ec2b50c..563984cd09d 100644 --- a/libs/@blockprotocol/graph/src/codegen/postprocess/write-to-files.ts +++ b/libs/@blockprotocol/graph/src/codegen/postprocess/write-to-files.ts @@ -1,5 +1,5 @@ import { writeFile } from "node:fs/promises"; -import * as path from "node:path"; +import path from "node:path"; import type { PostprocessContext } from "../context/postprocess.js"; diff --git a/libs/@blockprotocol/graph/src/stdlib/subgraph/builder.ts b/libs/@blockprotocol/graph/src/stdlib/subgraph/builder.ts index a08838d44ed..403345d3e6d 100644 --- a/libs/@blockprotocol/graph/src/stdlib/subgraph/builder.ts +++ b/libs/@blockprotocol/graph/src/stdlib/subgraph/builder.ts @@ -133,13 +133,15 @@ export const buildSubgraph = ( try { const vertexId = getVertexIdForRecordId(subgraph, rootRecordId); subgraph.roots.push(vertexId); - } catch (error) { + } catch { missingRootVertexIds.push(rootRecordId); } } if (missingRootVertexIds.length > 0) { throw new Error( + // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors + // eslint-disable-next-line @typescript-eslint/no-base-to-string `Internal implementation error, could not find VertexId for root RecordId(s): ${missingRootVertexIds.join( ", ", )}`, diff --git a/libs/@blockprotocol/graph/tsconfig.json b/libs/@blockprotocol/graph/tsconfig.json index 79cb84da404..ae679cd7b6a 100644 --- a/libs/@blockprotocol/graph/tsconfig.json +++ b/libs/@blockprotocol/graph/tsconfig.json @@ -5,5 +5,5 @@ "module": "NodeNext", "moduleResolution": "NodeNext" }, - "include": ["src"] + "include": ["src", "eslint.config.js"] } diff --git a/libs/@blockprotocol/type-system/typescript/.eslintrc.cjs b/libs/@blockprotocol/type-system/typescript/.eslintrc.cjs deleted file mode 100644 index 568c500804e..00000000000 --- a/libs/@blockprotocol/type-system/typescript/.eslintrc.cjs +++ /dev/null @@ -1,4 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-workspace-config.cjs")(__dirname), -}; diff --git a/libs/@blockprotocol/type-system/typescript/eslint.config.js b/libs/@blockprotocol/type-system/typescript/eslint.config.js new file mode 100644 index 00000000000..3ee9e76d8c7 --- /dev/null +++ b/libs/@blockprotocol/type-system/typescript/eslint.config.js @@ -0,0 +1,6 @@ +import { createBase } from "@local/eslint/deprecated"; + +export default [ + ...createBase(import.meta.dirname), + { ignores: ["rollup.config.js"] }, +]; diff --git a/libs/@blockprotocol/type-system/typescript/package.json b/libs/@blockprotocol/type-system/typescript/package.json index a0ec27ec541..1a59bc9b8b0 100644 --- a/libs/@blockprotocol/type-system/typescript/package.json +++ b/libs/@blockprotocol/type-system/typescript/package.json @@ -54,7 +54,7 @@ "@blockprotocol/type-system-rs": "0.0.0-private" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@rollup/plugin-node-resolve": "15.3.0", "@rollup/plugin-typescript": "12.1.1", @@ -62,7 +62,7 @@ "@types/node": "22.10.1", "@types/react": "18.2.68", "@vitest/coverage-istanbul": "2.1.8", - "eslint": "8.57.0", + "eslint": "9.16.0", "react": "18.2.0", "rimraf": "6.0.1", "rollup": "4.28.1", diff --git a/libs/@blockprotocol/type-system/typescript/tsconfig.json b/libs/@blockprotocol/type-system/typescript/tsconfig.json index 5418423ff93..9fc31a8f747 100644 --- a/libs/@blockprotocol/type-system/typescript/tsconfig.json +++ b/libs/@blockprotocol/type-system/typescript/tsconfig.json @@ -1,6 +1,6 @@ { "extends": "@local/tsconfig/legacy-base-tsconfig-to-refactor.json", - "include": ["scripts", "src", "test"], + "include": ["scripts", "src", "test", "eslint.config.js", "vitest.config.ts"], "exclude": ["dist"], "compilerOptions": { /** diff --git a/libs/@blockprotocol/type-system/typescript/vitest.config.js b/libs/@blockprotocol/type-system/typescript/vitest.config.ts similarity index 91% rename from libs/@blockprotocol/type-system/typescript/vitest.config.js rename to libs/@blockprotocol/type-system/typescript/vitest.config.ts index 206abacceb8..bc34d2671b1 100644 --- a/libs/@blockprotocol/type-system/typescript/vitest.config.js +++ b/libs/@blockprotocol/type-system/typescript/vitest.config.ts @@ -1,4 +1,3 @@ -/// import { defineConfig } from "vitest/config"; // This is super hacky, but basically adds the `?url` suffix to any wasm import @@ -12,14 +11,15 @@ import { defineConfig } from "vitest/config"; const rewriteWasmToUrl = { name: "vite-replace-wasm-import", enforce: "pre", - async load(id) { + // eslint-disable-next-line @typescript-eslint/require-await + async load(id: string) { if (!id.endsWith(".wasm")) { return null; } return `export * from "${id}?url"`; }, -}; +} as const; export default defineConfig({ plugins: [rewriteWasmToUrl], diff --git a/yarn.lock b/yarn.lock index 6f5dbb6cb44..32f9f46565b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4119,14 +4119,14 @@ __metadata: dependencies: "@blockprotocol/core": "npm:0.1.3" "@blockprotocol/type-system": "npm:0.1.2-canary.0" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@types/lodash.isequal": "npm:4.5.8" "@types/node": "npm:22.10.0" "@types/react": "npm:18.2.68" ajv: "npm:8.17.1" ajv-formats: "npm:3.0.1" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" json-schema-to-typescript: "npm:11.0.5" lit: "npm:2.8.0" lodash.isequal: "npm:4.5.0" @@ -4206,7 +4206,7 @@ __metadata: resolution: "@blockprotocol/type-system@workspace:libs/@blockprotocol/type-system/typescript" dependencies: "@blockprotocol/type-system-rs": "npm:0.0.0-private" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@rollup/plugin-node-resolve": "npm:15.3.0" "@rollup/plugin-typescript": "npm:12.1.1" @@ -4214,7 +4214,7 @@ __metadata: "@types/node": "npm:22.10.0" "@types/react": "npm:18.2.68" "@vitest/coverage-istanbul": "npm:2.1.6" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" react: "npm:18.2.0" rimraf: "npm:6.0.1" rollup: "npm:4.27.4" From bfc39a5ce67198a5701944c66db47fb7ee7e458e Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Tue, 10 Dec 2024 11:21:19 +0100 Subject: [PATCH 23/51] feat: convert @hashintel packages --- .../block-design-system/.eslintrc.cjs | 48 ---------------- .../block-design-system/eslint.config.js | 47 ++++++++++++++++ .../block-design-system/package.json | 6 +- .../block-design-system/tsconfig.json | 7 ++- libs/@hashintel/design-system/.eslintrc.cjs | 48 ---------------- .../@hashintel/design-system/eslint.config.js | 47 ++++++++++++++++ libs/@hashintel/design-system/package.json | 6 +- .../src/autocomplete-dropdown.tsx | 8 +-- .../src/popper-placement-modifier.ts | 1 + libs/@hashintel/design-system/tsconfig.json | 7 ++- libs/@hashintel/query-editor/.eslintrc.cjs | 43 -------------- libs/@hashintel/query-editor/eslint.config.js | 42 ++++++++++++++ libs/@hashintel/query-editor/package.json | 5 +- libs/@hashintel/query-editor/tsconfig.json | 2 +- libs/@hashintel/type-editor/.eslintrc.cjs | 43 -------------- libs/@hashintel/type-editor/eslint.config.js | 42 ++++++++++++++ libs/@hashintel/type-editor/package.json | 5 +- .../type-editor/src/entity-type-editor.tsx | 1 + .../shared/type-menu-cell.tsx | 2 +- libs/@hashintel/type-editor/tsconfig.json | 2 +- yarn.lock | 56 +++++-------------- 21 files changed, 225 insertions(+), 243 deletions(-) delete mode 100644 libs/@hashintel/block-design-system/.eslintrc.cjs create mode 100644 libs/@hashintel/block-design-system/eslint.config.js delete mode 100644 libs/@hashintel/design-system/.eslintrc.cjs create mode 100644 libs/@hashintel/design-system/eslint.config.js delete mode 100644 libs/@hashintel/query-editor/.eslintrc.cjs create mode 100644 libs/@hashintel/query-editor/eslint.config.js delete mode 100644 libs/@hashintel/type-editor/.eslintrc.cjs create mode 100644 libs/@hashintel/type-editor/eslint.config.js diff --git a/libs/@hashintel/block-design-system/.eslintrc.cjs b/libs/@hashintel/block-design-system/.eslintrc.cjs deleted file mode 100644 index 20fa50cb13a..00000000000 --- a/libs/@hashintel/block-design-system/.eslintrc.cjs +++ /dev/null @@ -1,48 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-workspace-config.cjs")(__dirname), - extends: [ - "plugin:storybook/recommended", - "@local/eslint-config/legacy-base-eslintrc-to-refactor.cjs", - ], - rules: { - ...require("@local/eslint-config/temporarily-disable-rules.cjs")([ - /* 2022-11-29: 14 */ "@typescript-eslint/no-unsafe-assignment", - ]), - "jsx-a11y/label-has-associated-control": "off", - "import/no-default-export": "error", - "no-restricted-imports": [ - "error", - { - patterns: [ - { - group: ["*/main"], - message: - "Please import from the component file directly, not main.ts", - }, - { - group: ["@mui/material/*"], - message: "Please import from @mui/material instead", - }, - { - group: ["@local/*"], - message: - "You cannot use unpublished local packages in a published package.", - }, - ], - }, - ], - "storybook/no-uninstalled-addons": [ - "error", - { packageJsonLocation: `${__dirname}/package.json` }, - ], - }, - overrides: [ - { - files: ["*.stories.{j,t}s{x,}"], - rules: { - "import/no-default-export": "off", - }, - }, - ], -}; diff --git a/libs/@hashintel/block-design-system/eslint.config.js b/libs/@hashintel/block-design-system/eslint.config.js new file mode 100644 index 00000000000..e2197285d21 --- /dev/null +++ b/libs/@hashintel/block-design-system/eslint.config.js @@ -0,0 +1,47 @@ +import storybook from "eslint-plugin-storybook"; +import { createBase, disableRules } from "@local/eslint/deprecated"; + +export default [ + ...createBase(import.meta.dirname), + ...storybook.configs["flat/recommended"], + ...disableRules([ + /* 2022-11-29: 14 */ "@typescript-eslint/no-unsafe-assignment", + ]), + { + rules: { + "jsx-a11y/label-has-associated-control": "off", + "import/no-default-export": "error", + "no-restricted-imports": [ + "error", + { + patterns: [ + { + group: ["*/main"], + message: + "Please import from the component file directly, not main.ts", + }, + { + group: ["@mui/material/*"], + message: "Please import from @mui/material instead", + }, + { + group: ["@local/*"], + message: + "You cannot use unpublished local packages in a published package.", + }, + ], + }, + ], + "storybook/no-uninstalled-addons": [ + "error", + { packageJsonLocation: `${import.meta.dirname}/package.json` }, + ], + }, + }, + { + files: ["**/*.stories.{j,t}s{x,}"], + rules: { + "import/no-default-export": "off", + }, + }, +]; diff --git a/libs/@hashintel/block-design-system/package.json b/libs/@hashintel/block-design-system/package.json index 51498866791..3b756c4f08e 100644 --- a/libs/@hashintel/block-design-system/package.json +++ b/libs/@hashintel/block-design-system/package.json @@ -39,15 +39,15 @@ "devDependencies": { "@emotion/react": "11.13.5", "@emotion/styled": "11.13.5", - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@mui/material": "5.16.9", "@mui/system": "5.16.8", "@types/react": "18.2.68", "@types/react-dom": "18.2.25", "@types/react-syntax-highlighter": "15.5.13", - "eslint": "8.57.0", - "eslint-plugin-storybook": "0.8.0", + "eslint": "9.16.0", + "eslint-plugin-storybook": "0.11.1", "react": "18.2.0", "react-dom": "18.2.0", "typescript": "5.6.3" diff --git a/libs/@hashintel/block-design-system/tsconfig.json b/libs/@hashintel/block-design-system/tsconfig.json index 8e3405e2951..e2a11fe7f88 100644 --- a/libs/@hashintel/block-design-system/tsconfig.json +++ b/libs/@hashintel/block-design-system/tsconfig.json @@ -5,5 +5,10 @@ "lib": ["dom", "dom.iterable", "ESNext"], "noEmit": true }, - "include": ["assets.d.ts", "theme-override.d.ts", "./src/"] + "include": [ + "assets.d.ts", + "theme-override.d.ts", + "./src/", + "eslint.config.js" + ] } diff --git a/libs/@hashintel/design-system/.eslintrc.cjs b/libs/@hashintel/design-system/.eslintrc.cjs deleted file mode 100644 index fdb0b0c242a..00000000000 --- a/libs/@hashintel/design-system/.eslintrc.cjs +++ /dev/null @@ -1,48 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-workspace-config.cjs")(__dirname), - extends: [ - "plugin:storybook/recommended", - "@local/eslint-config/legacy-base-eslintrc-to-refactor.cjs", - ], - rules: { - ...require("@local/eslint-config/temporarily-disable-rules.cjs")([ - /* 2022-11-29: 14 */ "@typescript-eslint/no-unsafe-assignment", - ]), - "jsx-a11y/label-has-associated-control": "off", - "import/no-default-export": "error", - "no-restricted-imports": [ - "error", - { - patterns: [ - { - group: ["components", "!./theme/components", "!components/"], - message: - "Please import from the component's file directly, not components.ts", - }, - { - group: ["@mui/material/*"], - message: "Please import from @mui/material instead", - }, - { - group: ["@local/*"], - message: - "You cannot use unpublished local packages in a published package.", - }, - ], - }, - ], - "storybook/no-uninstalled-addons": [ - "error", - { packageJsonLocation: `${__dirname}/package.json` }, - ], - }, - overrides: [ - { - files: ["*.stories.{j,t}s{x,}"], - rules: { - "import/no-default-export": "off", - }, - }, - ], -}; diff --git a/libs/@hashintel/design-system/eslint.config.js b/libs/@hashintel/design-system/eslint.config.js new file mode 100644 index 00000000000..4783568319d --- /dev/null +++ b/libs/@hashintel/design-system/eslint.config.js @@ -0,0 +1,47 @@ +import storybook from "eslint-plugin-storybook"; +import { createBase, disableRules } from "@local/eslint/deprecated"; + +export default [ + ...createBase(import.meta.dirname), + ...storybook.configs["flat/recommended"], + ...disableRules([ + /* 2022-11-29: 14 */ "@typescript-eslint/no-unsafe-assignment", + ]), + { + rules: { + "jsx-a11y/label-has-associated-control": "off", + "import/no-default-export": "error", + "no-restricted-imports": [ + "error", + { + patterns: [ + { + group: ["components", "!./theme/components", "!components/"], + message: + "Please import from the component's file directly, not components.ts", + }, + { + group: ["@mui/material/*"], + message: "Please import from @mui/material instead", + }, + { + group: ["@local/*"], + message: + "You cannot use unpublished local packages in a published package.", + }, + ], + }, + ], + "storybook/no-uninstalled-addons": [ + "error", + { packageJsonLocation: `${import.meta.dirname}/package.json` }, + ], + }, + }, + { + files: ["**/*.stories.{j,t}s{x,}"], + rules: { + "import/no-default-export": "off", + }, + }, +]; diff --git a/libs/@hashintel/design-system/package.json b/libs/@hashintel/design-system/package.json index 67e9ba71543..cd2067fee34 100644 --- a/libs/@hashintel/design-system/package.json +++ b/libs/@hashintel/design-system/package.json @@ -54,15 +54,15 @@ "@emotion/cache": "11.13.5", "@emotion/react": "11.13.5", "@emotion/styled": "11.13.5", - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@mui/material": "5.16.9", "@mui/system": "5.16.8", "@storybook/react": "7.6.20", "@types/react": "18.2.68", "@types/react-dom": "18.2.25", - "eslint": "8.57.0", - "eslint-plugin-storybook": "0.8.0", + "eslint": "9.16.0", + "eslint-plugin-storybook": "0.11.1", "react": "18.2.0", "react-dom": "18.2.0", "typescript": "5.6.3" diff --git a/libs/@hashintel/design-system/src/autocomplete-dropdown.tsx b/libs/@hashintel/design-system/src/autocomplete-dropdown.tsx index c2223e69811..e6c4c641367 100644 --- a/libs/@hashintel/design-system/src/autocomplete-dropdown.tsx +++ b/libs/@hashintel/design-system/src/autocomplete-dropdown.tsx @@ -25,16 +25,16 @@ export const AutocompleteDropdown = ({ pointerEvents: "none", borderRadius: `${textFieldBorderRadius}px`, [`${popperPlacementSelectors.top} &`]: { - bottom: -inputHeight, + bottom: -Number(inputHeight), }, [`${popperPlacementSelectors.topStart} &`]: { - bottom: -inputHeight, + bottom: -Number(inputHeight), }, [`${popperPlacementSelectors.bottom} &`]: { - top: -inputHeight, + top: -Number(inputHeight), }, [`${popperPlacementSelectors.bottomStart} &`]: { - top: -inputHeight, + top: -Number(inputHeight), }, })} aria-hidden diff --git a/libs/@hashintel/design-system/src/popper-placement-modifier.ts b/libs/@hashintel/design-system/src/popper-placement-modifier.ts index 883bab5df39..76418422ba6 100644 --- a/libs/@hashintel/design-system/src/popper-placement-modifier.ts +++ b/libs/@hashintel/design-system/src/popper-placement-modifier.ts @@ -33,6 +33,7 @@ export const addPopperPositionClassPopperModifier: NonNullable< // This allows a consumer to be notified when the placement has changed const { update } = options as { update?: unknown }; if (typeof update === "function") { + // eslint-disable-next-line @typescript-eslint/no-unsafe-call update(state.placement); } }, diff --git a/libs/@hashintel/design-system/tsconfig.json b/libs/@hashintel/design-system/tsconfig.json index 8e3405e2951..e2a11fe7f88 100644 --- a/libs/@hashintel/design-system/tsconfig.json +++ b/libs/@hashintel/design-system/tsconfig.json @@ -5,5 +5,10 @@ "lib": ["dom", "dom.iterable", "ESNext"], "noEmit": true }, - "include": ["assets.d.ts", "theme-override.d.ts", "./src/"] + "include": [ + "assets.d.ts", + "theme-override.d.ts", + "./src/", + "eslint.config.js" + ] } diff --git a/libs/@hashintel/query-editor/.eslintrc.cjs b/libs/@hashintel/query-editor/.eslintrc.cjs deleted file mode 100644 index f51a4752b12..00000000000 --- a/libs/@hashintel/query-editor/.eslintrc.cjs +++ /dev/null @@ -1,43 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-workspace-config.cjs")(__dirname), - extends: [ - "plugin:storybook/recommended", - "@local/eslint-config/legacy-base-eslintrc-to-refactor.cjs", - ], - rules: { - ...require("@local/eslint-config/temporarily-disable-rules.cjs")([ - /* 2022-11-29: 14 */ "@typescript-eslint/no-unsafe-assignment", - ]), - "jsx-a11y/label-has-associated-control": "off", - "import/no-default-export": "error", - "no-restricted-imports": [ - "error", - { - patterns: [ - { - group: ["@mui/material/*"], - message: "Please import from @mui/material instead", - }, - { - group: ["@local/*"], - message: - "You cannot use unpublished local packages in a published package.", - }, - ], - }, - ], - "storybook/no-uninstalled-addons": [ - "error", - { packageJsonLocation: `${__dirname}/package.json` }, - ], - }, - overrides: [ - { - files: ["*.stories.{j,t}s{x,}"], - rules: { - "import/no-default-export": "off", - }, - }, - ], -}; diff --git a/libs/@hashintel/query-editor/eslint.config.js b/libs/@hashintel/query-editor/eslint.config.js new file mode 100644 index 00000000000..d350c93c502 --- /dev/null +++ b/libs/@hashintel/query-editor/eslint.config.js @@ -0,0 +1,42 @@ +import storybook from "eslint-plugin-storybook"; +import { createBase, disableRules } from "@local/eslint/deprecated"; + +export default [ + ...createBase(import.meta.dirname), + ...storybook.configs["flat/recommended"], + ...disableRules([ + /* 2022-11-29: 14 */ "@typescript-eslint/no-unsafe-assignment", + ]), + { + rules: { + "jsx-a11y/label-has-associated-control": "off", + "import/no-default-export": "error", + "no-restricted-imports": [ + "error", + { + patterns: [ + { + group: ["@mui/material/*"], + message: "Please import from @mui/material instead", + }, + { + group: ["@local/*"], + message: + "You cannot use unpublished local packages in a published package.", + }, + ], + }, + ], + "storybook/no-uninstalled-addons": [ + "error", + { packageJsonLocation: `${import.meta.dirname}/package.json` }, + ], + }, + }, + { + files: ["**/*.stories.{j,t}s{x,}"], + rules: { + "import/no-default-export": "off", + }, + }, +]; diff --git a/libs/@hashintel/query-editor/package.json b/libs/@hashintel/query-editor/package.json index c596b0243a9..aa98894d017 100644 --- a/libs/@hashintel/query-editor/package.json +++ b/libs/@hashintel/query-editor/package.json @@ -28,10 +28,11 @@ "clsx": "1.2.1" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@mui/material": "5.16.9", "@mui/system": "5.16.8", - "eslint": "8.57.0", + "eslint": "9.16.0", + "eslint-plugin-storybook": "0.11.1", "react": "18.2.0", "react-dom": "18.2.0", "react-hook-form": "7.54.0", diff --git a/libs/@hashintel/query-editor/tsconfig.json b/libs/@hashintel/query-editor/tsconfig.json index 5888bbf23c3..8fbbdf3ee9e 100644 --- a/libs/@hashintel/query-editor/tsconfig.json +++ b/libs/@hashintel/query-editor/tsconfig.json @@ -5,5 +5,5 @@ "lib": ["dom", "dom.iterable", "ESNext"], "noEmit": true }, - "include": ["theme-override.d.ts", "./src/"] + "include": ["theme-override.d.ts", "./src/", "eslint.config.js"] } diff --git a/libs/@hashintel/type-editor/.eslintrc.cjs b/libs/@hashintel/type-editor/.eslintrc.cjs deleted file mode 100644 index f51a4752b12..00000000000 --- a/libs/@hashintel/type-editor/.eslintrc.cjs +++ /dev/null @@ -1,43 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-workspace-config.cjs")(__dirname), - extends: [ - "plugin:storybook/recommended", - "@local/eslint-config/legacy-base-eslintrc-to-refactor.cjs", - ], - rules: { - ...require("@local/eslint-config/temporarily-disable-rules.cjs")([ - /* 2022-11-29: 14 */ "@typescript-eslint/no-unsafe-assignment", - ]), - "jsx-a11y/label-has-associated-control": "off", - "import/no-default-export": "error", - "no-restricted-imports": [ - "error", - { - patterns: [ - { - group: ["@mui/material/*"], - message: "Please import from @mui/material instead", - }, - { - group: ["@local/*"], - message: - "You cannot use unpublished local packages in a published package.", - }, - ], - }, - ], - "storybook/no-uninstalled-addons": [ - "error", - { packageJsonLocation: `${__dirname}/package.json` }, - ], - }, - overrides: [ - { - files: ["*.stories.{j,t}s{x,}"], - rules: { - "import/no-default-export": "off", - }, - }, - ], -}; diff --git a/libs/@hashintel/type-editor/eslint.config.js b/libs/@hashintel/type-editor/eslint.config.js new file mode 100644 index 00000000000..d350c93c502 --- /dev/null +++ b/libs/@hashintel/type-editor/eslint.config.js @@ -0,0 +1,42 @@ +import storybook from "eslint-plugin-storybook"; +import { createBase, disableRules } from "@local/eslint/deprecated"; + +export default [ + ...createBase(import.meta.dirname), + ...storybook.configs["flat/recommended"], + ...disableRules([ + /* 2022-11-29: 14 */ "@typescript-eslint/no-unsafe-assignment", + ]), + { + rules: { + "jsx-a11y/label-has-associated-control": "off", + "import/no-default-export": "error", + "no-restricted-imports": [ + "error", + { + patterns: [ + { + group: ["@mui/material/*"], + message: "Please import from @mui/material instead", + }, + { + group: ["@local/*"], + message: + "You cannot use unpublished local packages in a published package.", + }, + ], + }, + ], + "storybook/no-uninstalled-addons": [ + "error", + { packageJsonLocation: `${import.meta.dirname}/package.json` }, + ], + }, + }, + { + files: ["**/*.stories.{j,t}s{x,}"], + rules: { + "import/no-default-export": "off", + }, + }, +]; diff --git a/libs/@hashintel/type-editor/package.json b/libs/@hashintel/type-editor/package.json index b77d98d97b9..6afc8de43b0 100644 --- a/libs/@hashintel/type-editor/package.json +++ b/libs/@hashintel/type-editor/package.json @@ -34,12 +34,13 @@ "setimmediate": "1.0.5" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@mui/material": "5.16.9", "@mui/system": "5.16.8", "@types/lodash.memoize": "4.1.9", "@types/lodash.uniqueid": "4.0.9", - "eslint": "8.57.0", + "eslint": "9.16.0", + "eslint-plugin-storybook": "0.11.1", "react": "18.2.0", "react-dom": "18.2.0", "react-hook-form": "7.54.0", diff --git a/libs/@hashintel/type-editor/src/entity-type-editor.tsx b/libs/@hashintel/type-editor/src/entity-type-editor.tsx index 1e8fd1a4939..84c333c8707 100644 --- a/libs/@hashintel/type-editor/src/entity-type-editor.tsx +++ b/libs/@hashintel/type-editor/src/entity-type-editor.tsx @@ -1,4 +1,5 @@ /* eslint-disable import/first */ +// eslint-disable-next-line @typescript-eslint/no-require-imports require("setimmediate"); import type { diff --git a/libs/@hashintel/type-editor/src/entity-type-editor/shared/type-menu-cell.tsx b/libs/@hashintel/type-editor/src/entity-type-editor/shared/type-menu-cell.tsx index 04b1846179e..dc888f8498b 100644 --- a/libs/@hashintel/type-editor/src/entity-type-editor/shared/type-menu-cell.tsx +++ b/libs/@hashintel/type-editor/src/entity-type-editor/shared/type-menu-cell.tsx @@ -122,7 +122,7 @@ export const TypeMenuCell = ({ event.preventDefault(); setHasCopied(true); - return navigator.clipboard.writeText(typeId); + void navigator.clipboard.writeText(typeId); }, [typeId, setHasCopied], ); diff --git a/libs/@hashintel/type-editor/tsconfig.json b/libs/@hashintel/type-editor/tsconfig.json index 5888bbf23c3..8fbbdf3ee9e 100644 --- a/libs/@hashintel/type-editor/tsconfig.json +++ b/libs/@hashintel/type-editor/tsconfig.json @@ -5,5 +5,5 @@ "lib": ["dom", "dom.iterable", "ESNext"], "noEmit": true }, - "include": ["theme-override.d.ts", "./src/"] + "include": ["theme-override.d.ts", "./src/", "eslint.config.js"] } diff --git a/yarn.lock b/yarn.lock index 32f9f46565b..c8f020edbfb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7583,7 +7583,7 @@ __metadata: "@emotion/react": "npm:11.13.5" "@emotion/styled": "npm:11.13.5" "@hashintel/design-system": "npm:0.0.8" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/hash-isomorphic-utils": "npm:0.0.0-private" "@local/hash-subgraph": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" @@ -7592,8 +7592,8 @@ __metadata: "@types/react": "npm:18.2.68" "@types/react-dom": "npm:18.2.25" "@types/react-syntax-highlighter": "npm:15.5.13" - eslint: "npm:8.57.0" - eslint-plugin-storybook: "npm:0.8.0" + eslint: "npm:9.16.0" + eslint-plugin-storybook: "npm:0.11.1" lowlight: "npm:2.9.0" react: "npm:18.2.0" react-dom: "npm:18.2.0" @@ -7621,7 +7621,7 @@ __metadata: "@emotion/styled": "npm:11.13.5" "@fortawesome/free-regular-svg-icons": "npm:6.7.1" "@fortawesome/free-solid-svg-icons": "npm:6.7.1" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/hash-isomorphic-utils": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@mui/material": "npm:5.16.7" @@ -7631,8 +7631,8 @@ __metadata: "@types/react-dom": "npm:18.2.25" clsx: "npm:1.2.1" echarts: "npm:5.5.1" - eslint: "npm:8.57.0" - eslint-plugin-storybook: "npm:0.8.0" + eslint: "npm:9.16.0" + eslint-plugin-storybook: "npm:0.11.1" react: "npm:18.2.0" react-dom: "npm:18.2.0" react-loading-skeleton: "npm:3.5.0" @@ -7657,11 +7657,12 @@ __metadata: "@fortawesome/free-regular-svg-icons": "npm:6.7.1" "@fortawesome/free-solid-svg-icons": "npm:6.7.1" "@hashintel/design-system": "npm:0.0.8" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@mui/material": "npm:5.16.7" "@mui/system": "npm:5.16.7" clsx: "npm:1.2.1" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" + eslint-plugin-storybook: "npm:0.11.1" react: "npm:18.2.0" react-dom: "npm:18.2.0" react-hook-form: "npm:7.53.2" @@ -7684,14 +7685,15 @@ __metadata: "@fortawesome/free-regular-svg-icons": "npm:6.7.1" "@fortawesome/free-solid-svg-icons": "npm:6.7.1" "@hashintel/design-system": "npm:0.0.8" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/hash-subgraph": "npm:0.0.0-private" "@mui/material": "npm:5.16.7" "@mui/system": "npm:5.16.7" "@types/lodash.memoize": "npm:4.1.9" "@types/lodash.uniqueid": "npm:4.0.9" clsx: "npm:1.2.1" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" + eslint-plugin-storybook: "npm:0.11.1" lodash.memoize: "npm:4.1.2" lodash.uniqueid: "npm:4.0.1" material-ui-popup-state: "npm:4.1.0" @@ -15002,15 +15004,6 @@ __metadata: languageName: node linkType: hard -"@storybook/csf@npm:^0.0.1": - version: 0.0.1 - resolution: "@storybook/csf@npm:0.0.1" - dependencies: - lodash: "npm:^4.17.15" - checksum: 10c0/7b0f75763415f9147692a460b44417ee56ea9639433716a1fd4d1df4c8b0221cbc71b8da0fbed4dcecb3ccd6c7ed64be39f5c255c713539a6088a1d6488aaa24 - languageName: node - linkType: hard - "@storybook/csf@npm:^0.1.11": version: 0.1.12 resolution: "@storybook/csf@npm:0.1.12" @@ -18505,7 +18498,7 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:5.62.0, @typescript-eslint/utils@npm:^5.62.0": +"@typescript-eslint/utils@npm:5.62.0": version: 5.62.0 resolution: "@typescript-eslint/utils@npm:5.62.0" dependencies: @@ -26838,20 +26831,6 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-storybook@npm:0.8.0": - version: 0.8.0 - resolution: "eslint-plugin-storybook@npm:0.8.0" - dependencies: - "@storybook/csf": "npm:^0.0.1" - "@typescript-eslint/utils": "npm:^5.62.0" - requireindex: "npm:^1.2.0" - ts-dedent: "npm:^2.2.0" - peerDependencies: - eslint: ">=6" - checksum: 10c0/c76f6decdd4c826cd6a8bb613085e0cde804f4648093a0464a39867cc0ba4e1d34be15ff91eed827730da5efbbf55ae5e71af648bb0b461946d5e41384669ab8 - languageName: node - linkType: hard - "eslint-plugin-storybook@npm:^0.10.2": version: 0.10.2 resolution: "eslint-plugin-storybook@npm:0.10.2" @@ -33582,7 +33561,7 @@ __metadata: languageName: node linkType: hard -"lodash@npm:4.17.21, lodash@npm:^4, lodash@npm:^4.17.14, lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.20, lodash@npm:^4.17.21, lodash@npm:^4.17.4, lodash@npm:~4.17.0": +"lodash@npm:4.17.21, lodash@npm:^4, lodash@npm:^4.17.14, lodash@npm:^4.17.19, lodash@npm:^4.17.20, lodash@npm:^4.17.21, lodash@npm:^4.17.4, lodash@npm:~4.17.0": version: 4.17.21 resolution: "lodash@npm:4.17.21" checksum: 10c0/d8cbea072bb08655bb4c989da418994b073a608dffa608b09ac04b43a791b12aeae7cd7ad919aa4c925f33b48490b5cfe6c1f71d827956071dae2e7bb3a6b74c @@ -41594,13 +41573,6 @@ __metadata: languageName: node linkType: hard -"requireindex@npm:^1.2.0": - version: 1.2.0 - resolution: "requireindex@npm:1.2.0" - checksum: 10c0/7fb42aed73bf8de9acc4d6716cf07acc7fbe180e58729433bafcf702e76e7bb10e54f8266c06bfec62d752e0ac14d50e8758833de539e6f4e2cd642077866153 - languageName: node - linkType: hard - "requirejs-config-file@npm:^4.0.0": version: 4.0.0 resolution: "requirejs-config-file@npm:4.0.0" From be120fc753a759d4539b6c310f0582fe45e98ed9 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Tue, 10 Dec 2024 11:34:23 +0100 Subject: [PATCH 24/51] feat: convert advandec-types, sdk, client --- libs/@local/advanced-types/.eslintrc.cjs | 14 -------------- libs/@local/advanced-types/eslint.config.js | 17 +++++++++++++++++ libs/@local/advanced-types/package.json | 4 ++-- libs/@local/advanced-types/tsconfig.json | 2 +- .../graph/client/typescript/.eslintrc.cjs | 9 --------- .../@local/graph/client/typescript/package.json | 1 - libs/@local/graph/sdk/typescript/.eslintrc.cjs | 7 ------- .../graph/sdk/typescript/eslint.config.js | 6 ++++++ libs/@local/graph/sdk/typescript/package.json | 4 ++-- libs/@local/graph/sdk/typescript/src/entity.ts | 2 ++ libs/@local/graph/sdk/typescript/tsconfig.json | 2 +- .../{vitest.config.js => vitest.config.ts} | 1 - yarn.lock | 10 ++++------ 13 files changed, 35 insertions(+), 44 deletions(-) delete mode 100644 libs/@local/advanced-types/.eslintrc.cjs create mode 100644 libs/@local/advanced-types/eslint.config.js delete mode 100644 libs/@local/graph/client/typescript/.eslintrc.cjs delete mode 100644 libs/@local/graph/sdk/typescript/.eslintrc.cjs create mode 100644 libs/@local/graph/sdk/typescript/eslint.config.js rename libs/@local/graph/sdk/typescript/{vitest.config.js => vitest.config.ts} (92%) diff --git a/libs/@local/advanced-types/.eslintrc.cjs b/libs/@local/advanced-types/.eslintrc.cjs deleted file mode 100644 index 35a9798690a..00000000000 --- a/libs/@local/advanced-types/.eslintrc.cjs +++ /dev/null @@ -1,14 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-workspace-config.cjs")(__dirname), - rules: { - ...require("@local/eslint-config/temporarily-disable-rules.cjs")([ - /* 2022-11-29: 6 */ "@typescript-eslint/no-unsafe-argument", - /* 2022-11-29: 15 */ "@typescript-eslint/no-unsafe-assignment", - /* 2022-11-29: 5 */ "@typescript-eslint/no-unsafe-call", - /* 2022-11-29: 7 */ "@typescript-eslint/no-unsafe-member-access", - /* 2022-11-29: 7 */ "@typescript-eslint/no-unsafe-return", - ]), - "import/no-extraneous-dependencies": ["error", { devDependencies: true }], - }, -}; diff --git a/libs/@local/advanced-types/eslint.config.js b/libs/@local/advanced-types/eslint.config.js new file mode 100644 index 00000000000..37363e709d2 --- /dev/null +++ b/libs/@local/advanced-types/eslint.config.js @@ -0,0 +1,17 @@ +import { createBase, disableRules } from "@local/eslint/deprecated"; + +export default [ + ...createBase(import.meta.dirname), + ...disableRules([ + /* 2022-11-29: 6 */ "@typescript-eslint/no-unsafe-argument", + /* 2022-11-29: 15 */ "@typescript-eslint/no-unsafe-assignment", + /* 2022-11-29: 5 */ "@typescript-eslint/no-unsafe-call", + /* 2022-11-29: 7 */ "@typescript-eslint/no-unsafe-member-access", + /* 2022-11-29: 7 */ "@typescript-eslint/no-unsafe-return", + ]), + { + rules: { + "import/no-extraneous-dependencies": ["error", { devDependencies: true }], + }, + }, +]; diff --git a/libs/@local/advanced-types/package.json b/libs/@local/advanced-types/package.json index 80fd7ca2bb7..25ee10f72c6 100644 --- a/libs/@local/advanced-types/package.json +++ b/libs/@local/advanced-types/package.json @@ -22,9 +22,9 @@ "lint:tsc": "tsc --noEmit" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", - "eslint": "8.57.0", + "eslint": "9.16.0", "react": "18.2.0", "rimraf": "6.0.1", "typescript": "5.6.3" diff --git a/libs/@local/advanced-types/tsconfig.json b/libs/@local/advanced-types/tsconfig.json index 08fd9785690..e9e22172e63 100644 --- a/libs/@local/advanced-types/tsconfig.json +++ b/libs/@local/advanced-types/tsconfig.json @@ -1,6 +1,6 @@ { "extends": "@local/tsconfig/legacy-base-tsconfig-to-refactor.json", - "include": ["./src/", "codegen.config.ts"], + "include": ["./src/", "codegen.config.ts", "eslint.config.js"], "compilerOptions": { "module": "NodeNext", "moduleResolution": "NodeNext" diff --git a/libs/@local/graph/client/typescript/.eslintrc.cjs b/libs/@local/graph/client/typescript/.eslintrc.cjs deleted file mode 100644 index 7214645fa15..00000000000 --- a/libs/@local/graph/client/typescript/.eslintrc.cjs +++ /dev/null @@ -1,9 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-workspace-config.cjs")(__dirname), - plugins: ["typescript-sort-keys"], - rules: { - "typescript-sort-keys/interface": "error", - }, - reportUnusedDisableDirectives: false, -}; diff --git a/libs/@local/graph/client/typescript/package.json b/libs/@local/graph/client/typescript/package.json index d2c4ad0476b..fe819742e19 100644 --- a/libs/@local/graph/client/typescript/package.json +++ b/libs/@local/graph/client/typescript/package.json @@ -16,7 +16,6 @@ "axios": "1.7.9" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@redocly/cli": "1.26.0", "@rust/hash-graph-api": "0.0.0-private", diff --git a/libs/@local/graph/sdk/typescript/.eslintrc.cjs b/libs/@local/graph/sdk/typescript/.eslintrc.cjs deleted file mode 100644 index ae0bc9befab..00000000000 --- a/libs/@local/graph/sdk/typescript/.eslintrc.cjs +++ /dev/null @@ -1,7 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-workspace-config.cjs")(__dirname), - rules: { - "global-require": "off", - }, -}; diff --git a/libs/@local/graph/sdk/typescript/eslint.config.js b/libs/@local/graph/sdk/typescript/eslint.config.js new file mode 100644 index 00000000000..1259c362459 --- /dev/null +++ b/libs/@local/graph/sdk/typescript/eslint.config.js @@ -0,0 +1,6 @@ +import { createBase } from "@local/eslint/deprecated"; + +export default [ + ...createBase(import.meta.dirname), + { rules: { "global-require": "off" } }, +]; diff --git a/libs/@local/graph/sdk/typescript/package.json b/libs/@local/graph/sdk/typescript/package.json index 6a6291af14b..2165a2b35e4 100644 --- a/libs/@local/graph/sdk/typescript/package.json +++ b/libs/@local/graph/sdk/typescript/package.json @@ -31,10 +31,10 @@ "effect": "3.11.3" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@vitest/coverage-istanbul": "2.1.8", - "eslint": "8.57.0", + "eslint": "9.16.0", "rimraf": "6.0.1", "typescript": "5.6.3", "vitest": "2.1.8" diff --git a/libs/@local/graph/sdk/typescript/src/entity.ts b/libs/@local/graph/sdk/typescript/src/entity.ts index dfb00dbb132..3ced7a7c386 100644 --- a/libs/@local/graph/sdk/typescript/src/entity.ts +++ b/libs/@local/graph/sdk/typescript/src/entity.ts @@ -985,6 +985,8 @@ export class Entity { ) .then( ({ data: entities }) => + // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors + // eslint-disable-next-line @typescript-eslint/no-unused-vars entities.map((entity, index) => { return new Entity(entity); }) as { [I in keyof T]: Entity }, diff --git a/libs/@local/graph/sdk/typescript/tsconfig.json b/libs/@local/graph/sdk/typescript/tsconfig.json index b60fa3ed434..35a36985b1e 100644 --- a/libs/@local/graph/sdk/typescript/tsconfig.json +++ b/libs/@local/graph/sdk/typescript/tsconfig.json @@ -1,6 +1,6 @@ { "extends": "@local/tsconfig/legacy-base-tsconfig-to-refactor.json", - "include": ["src", "tests"], + "include": ["src", "tests", "eslint.config.js", "vitest.config.ts"], "compilerOptions": { "module": "NodeNext", "moduleResolution": "NodeNext" diff --git a/libs/@local/graph/sdk/typescript/vitest.config.js b/libs/@local/graph/sdk/typescript/vitest.config.ts similarity index 92% rename from libs/@local/graph/sdk/typescript/vitest.config.js rename to libs/@local/graph/sdk/typescript/vitest.config.ts index d4519b2e7db..474acf4f1ac 100644 --- a/libs/@local/graph/sdk/typescript/vitest.config.js +++ b/libs/@local/graph/sdk/typescript/vitest.config.ts @@ -1,4 +1,3 @@ -/// import { defineConfig } from "vitest/config"; export default defineConfig({ diff --git a/yarn.lock b/yarn.lock index c8f020edbfb..327e0addac2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8552,9 +8552,9 @@ __metadata: version: 0.0.0-use.local resolution: "@local/advanced-types@workspace:libs/@local/advanced-types" dependencies: - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" react: "npm:18.2.0" rimraf: "npm:6.0.1" typescript: "npm:5.6.3" @@ -8688,14 +8688,12 @@ __metadata: version: 0.0.0-use.local resolution: "@local/hash-graph-client@workspace:libs/@local/graph/client/typescript" dependencies: - "@local/eslint-config": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@openapitools/openapi-generator-cli": "npm:2.15.3" "@redocly/cli": "npm:1.25.14" "@rust/hash-graph-api": "npm:0.0.0-private" "@types/node": "npm:22.10.0" axios: "npm:1.7.8" - eslint: "npm:8.57.0" fix-esm-import-path: "npm:1.10.1" rimraf: "npm:6.0.1" typescript: "npm:5.6.3" @@ -8708,12 +8706,12 @@ __metadata: dependencies: "@blockprotocol/graph": "npm:0.4.0-canary.0" "@local/advanced-types": "npm:0.0.0-private" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/hash-graph-client": "npm:0.0.0-private" "@local/hash-graph-types": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@vitest/coverage-istanbul": "npm:2.1.6" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" rimraf: "npm:6.0.1" typescript: "npm:5.6.3" vitest: "npm:2.1.6" From e61f7d694eb34534cef3179a0ee32ad3bfac1e23 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Tue, 10 Dec 2024 11:40:41 +0100 Subject: [PATCH 25/51] feat: convert type-defs, types, (WIP) harpc --- libs/@local/graph/type-defs/.eslintrc.cjs | 11 ----------- libs/@local/graph/type-defs/eslint.config.js | 11 +++++++++++ libs/@local/graph/type-defs/package.json | 4 ++-- libs/@local/graph/type-defs/tsconfig.json | 2 +- libs/@local/graph/types/typescript/.eslintrc.cjs | 7 ------- libs/@local/graph/types/typescript/eslint.config.js | 10 ++++++++++ libs/@local/graph/types/typescript/package.json | 4 ++-- libs/@local/graph/types/typescript/tsconfig.json | 2 +- libs/@local/harpc/client/typescript/.eslintrc.cjs | 13 ------------- .../@local/harpc/client/typescript/eslint.config.js | 12 ++++++++++++ libs/@local/harpc/client/typescript/package.json | 4 ++-- libs/@local/harpc/client/typescript/tsconfig.json | 2 +- yarn.lock | 12 ++++++------ 13 files changed, 48 insertions(+), 46 deletions(-) delete mode 100644 libs/@local/graph/type-defs/.eslintrc.cjs create mode 100644 libs/@local/graph/type-defs/eslint.config.js delete mode 100644 libs/@local/graph/types/typescript/.eslintrc.cjs create mode 100644 libs/@local/graph/types/typescript/eslint.config.js delete mode 100644 libs/@local/harpc/client/typescript/.eslintrc.cjs create mode 100644 libs/@local/harpc/client/typescript/eslint.config.js diff --git a/libs/@local/graph/type-defs/.eslintrc.cjs b/libs/@local/graph/type-defs/.eslintrc.cjs deleted file mode 100644 index 9a9cd07da3c..00000000000 --- a/libs/@local/graph/type-defs/.eslintrc.cjs +++ /dev/null @@ -1,11 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-workspace-config.cjs")(__dirname), - env: { - node: true, - }, - rules: { - "no-console": "off", - "@typescript-eslint/consistent-type-imports": "off", - }, -}; diff --git a/libs/@local/graph/type-defs/eslint.config.js b/libs/@local/graph/type-defs/eslint.config.js new file mode 100644 index 00000000000..cd8f2aa7fa7 --- /dev/null +++ b/libs/@local/graph/type-defs/eslint.config.js @@ -0,0 +1,11 @@ +import { createBase } from "@local/eslint/deprecated"; + +export default [ + ...createBase(import.meta.dirname), + { + rules: { + "no-console": "off", + "@typescript-eslint/consistent-type-imports": "off", + }, + }, +]; diff --git a/libs/@local/graph/type-defs/package.json b/libs/@local/graph/type-defs/package.json index 6f93e207440..7732077d815 100644 --- a/libs/@local/graph/type-defs/package.json +++ b/libs/@local/graph/type-defs/package.json @@ -14,8 +14,8 @@ "@rust/hash-status": "0.0.0-private" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", - "eslint": "8.57.0", + "@local/eslint": "0.0.0-private", + "eslint": "9.16.0", "quicktype": "16.0.43", "tsx": "4.19.2", "typescript": "5.6.3" diff --git a/libs/@local/graph/type-defs/tsconfig.json b/libs/@local/graph/type-defs/tsconfig.json index 82d2d9acf04..618780e98b9 100644 --- a/libs/@local/graph/type-defs/tsconfig.json +++ b/libs/@local/graph/type-defs/tsconfig.json @@ -1,6 +1,6 @@ { "extends": "@local/tsconfig/legacy-base-tsconfig-to-refactor.json", - "include": ["typescript"], + "include": ["typescript", "eslint.config.js"], "compilerOptions": { "module": "NodeNext", "moduleResolution": "NodeNext" diff --git a/libs/@local/graph/types/typescript/.eslintrc.cjs b/libs/@local/graph/types/typescript/.eslintrc.cjs deleted file mode 100644 index ae0bc9befab..00000000000 --- a/libs/@local/graph/types/typescript/.eslintrc.cjs +++ /dev/null @@ -1,7 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-workspace-config.cjs")(__dirname), - rules: { - "global-require": "off", - }, -}; diff --git a/libs/@local/graph/types/typescript/eslint.config.js b/libs/@local/graph/types/typescript/eslint.config.js new file mode 100644 index 00000000000..2a4de1a5fc4 --- /dev/null +++ b/libs/@local/graph/types/typescript/eslint.config.js @@ -0,0 +1,10 @@ +import { createBase } from "@local/eslint/deprecated"; + +export default [ + ...createBase(import.meta.dirname), + { + rules: { + "global-require": "off", + }, + }, +]; diff --git a/libs/@local/graph/types/typescript/package.json b/libs/@local/graph/types/typescript/package.json index d889ef2e4f0..7b9ab43713d 100644 --- a/libs/@local/graph/types/typescript/package.json +++ b/libs/@local/graph/types/typescript/package.json @@ -28,9 +28,9 @@ "@local/hash-graph-client": "0.0.0-private" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", - "eslint": "8.57.0", + "eslint": "9.16.0", "rimraf": "6.0.1", "typescript": "5.6.3" } diff --git a/libs/@local/graph/types/typescript/tsconfig.json b/libs/@local/graph/types/typescript/tsconfig.json index 5ab74b4e710..9d1658f15e2 100644 --- a/libs/@local/graph/types/typescript/tsconfig.json +++ b/libs/@local/graph/types/typescript/tsconfig.json @@ -1,6 +1,6 @@ { "extends": "@local/tsconfig/legacy-base-tsconfig-to-refactor.json", - "include": ["src"], + "include": ["src", "eslint.config.js"], "compilerOptions": { "module": "NodeNext", "moduleResolution": "NodeNext" diff --git a/libs/@local/harpc/client/typescript/.eslintrc.cjs b/libs/@local/harpc/client/typescript/.eslintrc.cjs deleted file mode 100644 index a4d15fbdaec..00000000000 --- a/libs/@local/harpc/client/typescript/.eslintrc.cjs +++ /dev/null @@ -1,13 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-workspace-config.cjs")(__dirname), - rules: { - "@typescript-eslint/no-redeclare": "off", - "unicorn/filename-case": "off", - "func-names": "off", - "canonical/filename-no-index": "off", - }, - ignorePatterns: require("@local/eslint-config/generate-ignore-patterns.cjs")( - __dirname, - ), -}; diff --git a/libs/@local/harpc/client/typescript/eslint.config.js b/libs/@local/harpc/client/typescript/eslint.config.js new file mode 100644 index 00000000000..25ae9e76383 --- /dev/null +++ b/libs/@local/harpc/client/typescript/eslint.config.js @@ -0,0 +1,12 @@ +import { createBase } from "@local/eslint/deprecated"; + +export default [ + ...createBase(import.meta.dirname), + { + rules: { + "@typescript-eslint/no-redeclare": "off", + "unicorn/filename-case": "off", + "func-names": "off", + }, + }, +]; diff --git a/libs/@local/harpc/client/typescript/package.json b/libs/@local/harpc/client/typescript/package.json index 356fdeccb26..d6de02e83a3 100644 --- a/libs/@local/harpc/client/typescript/package.json +++ b/libs/@local/harpc/client/typescript/package.json @@ -41,12 +41,12 @@ "@effect/platform": "0.70.4", "@effect/platform-node": "0.65.4", "@effect/vitest": "0.14.3", - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@rust/harpc-wire-protocol": "0.0.0-private", "@types/node": "22.10.1", "@vitest/coverage-istanbul": "2.1.8", - "eslint": "8.57.0", + "eslint": "9.16.0", "rimraf": "6.0.1", "typescript": "5.6.3", "vitest": "2.1.8" diff --git a/libs/@local/harpc/client/typescript/tsconfig.json b/libs/@local/harpc/client/typescript/tsconfig.json index d388501d083..92ba8a3a03d 100644 --- a/libs/@local/harpc/client/typescript/tsconfig.json +++ b/libs/@local/harpc/client/typescript/tsconfig.json @@ -6,5 +6,5 @@ "moduleResolution": "NodeNext", "types": ["vitest/importMeta"] }, - "include": ["src", "tests"] + "include": ["src", "tests", "eslint.config.js"] } diff --git a/yarn.lock b/yarn.lock index 327e0addac2..d4816e10b31 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8623,13 +8623,13 @@ __metadata: "@effect/platform": "npm:0.69.31" "@effect/platform-node": "npm:0.64.33" "@effect/vitest": "npm:0.13.19" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@rust/harpc-wire-protocol": "npm:0.0.0-private" "@types/node": "npm:22.10.0" "@vitest/coverage-istanbul": "npm:2.1.6" effect: "npm:3.10.19" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" rimraf: "npm:6.0.1" typescript: "npm:5.6.3" vitest: "npm:2.1.6" @@ -8725,10 +8725,10 @@ __metadata: "@blockprotocol/graph": "npm:0.4.0-canary.0" "@blockprotocol/type-system": "npm:0.1.2-canary.0" "@local/advanced-types": "npm:0.0.0-private" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/hash-graph-client": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" rimraf: "npm:6.0.1" typescript: "npm:5.6.3" languageName: unknown @@ -12843,10 +12843,10 @@ __metadata: version: 0.0.0-use.local resolution: "@rust/hash-graph-type-defs@workspace:libs/@local/graph/type-defs" dependencies: - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/status": "npm:0.0.0-private" "@rust/hash-status": "npm:0.0.0-private" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" quicktype: "npm:16.0.43" tsx: "npm:4.19.2" typescript: "npm:5.6.3" From 5d80e0b29096b5f4a1a10620c6bbc17dab9b0cf0 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Tue, 10 Dec 2024 12:03:12 +0100 Subject: [PATCH 26/51] feat: harpc --- .../harpc/client/typescript/eslint.config.js | 1 + .../client/typescript/src/codec/Decoder.ts | 3 +- .../client/typescript/src/codec/Encoder.ts | 1 + .../tests/codec/JsonDecoder.test.ts | 16 +- .../typescript/tests/net/Request.test.ts | 4 +- .../harpc/client/typescript/tsconfig.json | 2 +- .../{vitest.config.js => vitest.config.ts} | 0 .../legacy-base-tsconfig-to-refactor.json | 2 +- yarn.lock | 3591 ++++++++++------- 9 files changed, 2057 insertions(+), 1563 deletions(-) rename libs/@local/harpc/client/typescript/{vitest.config.js => vitest.config.ts} (100%) diff --git a/libs/@local/harpc/client/typescript/eslint.config.js b/libs/@local/harpc/client/typescript/eslint.config.js index 25ae9e76383..3edfcbdaadb 100644 --- a/libs/@local/harpc/client/typescript/eslint.config.js +++ b/libs/@local/harpc/client/typescript/eslint.config.js @@ -7,6 +7,7 @@ export default [ "@typescript-eslint/no-redeclare": "off", "unicorn/filename-case": "off", "func-names": "off", + "canonical/filename-no-index": "off", }, }, ]; diff --git a/libs/@local/harpc/client/typescript/src/codec/Decoder.ts b/libs/@local/harpc/client/typescript/src/codec/Decoder.ts index 998824a9d2e..b6f20ba935b 100644 --- a/libs/@local/harpc/client/typescript/src/codec/Decoder.ts +++ b/libs/@local/harpc/client/typescript/src/codec/Decoder.ts @@ -42,6 +42,7 @@ export interface Decoder }; } +// eslint-disable-next-line @typescript-eslint/no-empty-object-type interface DecoderImpl extends Decoder {} const DecoderProto: Omit = { @@ -57,7 +58,7 @@ const DecoderProto: Omit = { }; }, - [Inspectable.NodeInspectSymbol]() { + [Inspectable.NodeInspectSymbol](this: DecoderImpl) { return this.toJSON(); }, diff --git a/libs/@local/harpc/client/typescript/src/codec/Encoder.ts b/libs/@local/harpc/client/typescript/src/codec/Encoder.ts index cafef748f13..a679dc33dac 100644 --- a/libs/@local/harpc/client/typescript/src/codec/Encoder.ts +++ b/libs/@local/harpc/client/typescript/src/codec/Encoder.ts @@ -42,6 +42,7 @@ export interface Encoder }; } +// eslint-disable-next-line @typescript-eslint/no-empty-object-type interface EncoderImpl extends Encoder {} const EncoderProto: Omit = { diff --git a/libs/@local/harpc/client/typescript/tests/codec/JsonDecoder.test.ts b/libs/@local/harpc/client/typescript/tests/codec/JsonDecoder.test.ts index b3098dbd03e..aa783136b52 100644 --- a/libs/@local/harpc/client/typescript/tests/codec/JsonDecoder.test.ts +++ b/libs/@local/harpc/client/typescript/tests/codec/JsonDecoder.test.ts @@ -2,7 +2,10 @@ import { describe, it } from "@effect/vitest"; import { Chunk, Effect, pipe, Schema, Stream } from "effect"; +import type { ParseError } from "effect/ParseResult"; +import type { ReadonlyRecord } from "effect/Record"; +import type { DecodingError } from "../../src/codec/Decoder.js"; import { Decoder, JsonDecoder } from "../../src/codec/index.js"; const decode = (text: readonly string[]) => @@ -12,13 +15,15 @@ const decode = (text: readonly string[]) => const schema = Schema.Record({ key: Schema.String, value: Schema.String }); - return yield* pipe( - Stream.fromIterable(text), + const effect = Stream.fromChunk(Chunk.fromIterable(text)).pipe( Stream.map((input) => textEncoder.encode(input).buffer), decoder.decode(schema), Stream.runCollect, Effect.map(Chunk.toReadonlyArray), ); + + // explicit type annotation needed for eslint + return (yield* effect) as readonly ReadonlyRecord[]; }); describe.concurrent("JsonDecoder", () => { @@ -73,7 +78,12 @@ describe.concurrent("JsonDecoder", () => { Effect.gen(function* () { const textPayload = '{"key": "valu\x1E'; - const error = yield* pipe(decode([textPayload]), Effect.flip); + // explicit type annotation needed for eslint + const error: DecodingError | ParseError = yield* pipe( + decode([textPayload]), + Effect.flip, + ); + cx.expect(error.toString()).toMatch( /Unterminated string in JSON at position 13/, ); diff --git a/libs/@local/harpc/client/typescript/tests/net/Request.test.ts b/libs/@local/harpc/client/typescript/tests/net/Request.test.ts index faf1e8bc25d..af3d0d8696e 100644 --- a/libs/@local/harpc/client/typescript/tests/net/Request.test.ts +++ b/libs/@local/harpc/client/typescript/tests/net/Request.test.ts @@ -1,6 +1,6 @@ import { describe, it } from "@effect/vitest"; import { Chunk, Effect, pipe, Predicate, Stream } from "effect"; -import type * as V from "vitest"; +import type * as vitest from "vitest"; import { Request } from "../../src/net/index.js"; import { @@ -31,7 +31,7 @@ const makeRequest = (stream: Stream.Stream) => }); const assertBody = ( - cx: V.TaskContext> & V.TestContext, + cx: vitest.TaskContext> & vitest.TestContext, request: WireRequest.Request, bodyIs: (request: RequestBody.RequestBody) => boolean, body: string | number, diff --git a/libs/@local/harpc/client/typescript/tsconfig.json b/libs/@local/harpc/client/typescript/tsconfig.json index 92ba8a3a03d..7fff5ad2cd1 100644 --- a/libs/@local/harpc/client/typescript/tsconfig.json +++ b/libs/@local/harpc/client/typescript/tsconfig.json @@ -6,5 +6,5 @@ "moduleResolution": "NodeNext", "types": ["vitest/importMeta"] }, - "include": ["src", "tests", "eslint.config.js"] + "include": ["src", "tests", "eslint.config.js", "vitest.config.ts"] } diff --git a/libs/@local/harpc/client/typescript/vitest.config.js b/libs/@local/harpc/client/typescript/vitest.config.ts similarity index 100% rename from libs/@local/harpc/client/typescript/vitest.config.js rename to libs/@local/harpc/client/typescript/vitest.config.ts diff --git a/libs/@local/tsconfig/legacy-base-tsconfig-to-refactor.json b/libs/@local/tsconfig/legacy-base-tsconfig-to-refactor.json index 12afbd9bbc9..decdf82abc6 100644 --- a/libs/@local/tsconfig/legacy-base-tsconfig-to-refactor.json +++ b/libs/@local/tsconfig/legacy-base-tsconfig-to-refactor.json @@ -34,7 +34,7 @@ "@local/hash-subgraph": ["../hash-subgraph/src/main.ts"], "@local/hash-subgraph/*": ["../hash-subgraph/src/*.ts"], "@local/harpc-client": ["../harpc/client/typescript/src/index.ts"], - "@local/harpc-client/*": ["../harpc/client/typescript/src/*/index.ts"]. + "@local/harpc-client/*": ["../harpc/client/typescript/src/*/index.ts"], "@local/eslint": ["../eslint/src/index.ts"], "@local/eslint/*": ["../eslint/src/*/index.ts"] }, diff --git a/yarn.lock b/yarn.lock index d4816e10b31..e503b6804c5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -293,7 +293,7 @@ __metadata: "@blockprotocol/graph": "npm:0.4.0-canary.0" "@blockprotocol/type-system": "npm:0.1.2-canary.0" "@google-cloud/storage": "npm:7.14.0" - "@google-cloud/vertexai": "npm:1.9.0" + "@google-cloud/vertexai": "npm:1.9.2" "@local/advanced-types": "npm:0.0.0-private" "@local/eslint": "npm:0.0.0-private" "@local/hash-backend-utils": "npm:0.0.0-private" @@ -305,7 +305,7 @@ __metadata: "@local/status": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@sentry/cli": "npm:^2.39.1" - "@sentry/node": "npm:7.120.0" + "@sentry/node": "npm:7.120.1" "@temporalio/activity": "npm:1.11.5" "@temporalio/common": "npm:1.11.5" "@temporalio/proto": "npm:1.11.5" @@ -320,15 +320,14 @@ __metadata: "@types/lodash.pickby": "npm:4.6.9" "@types/md5": "npm:2.3.5" "@types/mime-types": "npm:2.1.4" - "@types/node": "npm:22.10.0" + "@types/node": "npm:22.10.1" "@types/papaparse": "npm:5.3.15" "@types/sanitize-html": "npm:2.13.0" - "@vitest/coverage-istanbul": "npm:2.1.6" + "@vitest/coverage-istanbul": "npm:2.1.8" ajv: "npm:8.17.1" ajv-formats: "npm:3.0.1" - axios: "npm:1.7.8" + axios: "npm:1.7.9" cache-manager: "npm:5.7.6" - cross-env: "npm:7.0.3" dedent: "npm:0.7.0" dotenv-flow: "npm:3.3.0" e2b: "npm:0.13.1" @@ -357,8 +356,8 @@ __metadata: tsconfig-paths-webpack-plugin: "npm:4.2.0" tsx: "npm:4.19.2" typescript: "npm:5.6.3" - vite-tsconfig-paths: "npm:5.1.3" - vitest: "npm:2.1.6" + vite-tsconfig-paths: "npm:5.1.4" + vitest: "npm:2.1.8" wait-on: "npm:8.0.1" languageName: unknown linkType: soft @@ -368,11 +367,11 @@ __metadata: resolution: "@apps/hash-api@workspace:apps/hash-api" dependencies: "@apps/hash-graph": "npm:0.0.0-private" - "@aws-sdk/client-s3": "npm:3.701.0" + "@aws-sdk/client-s3": "npm:3.705.0" "@aws-sdk/client-ses": "npm:3.699.0" "@aws-sdk/credential-provider-node": "npm:3.699.0" - "@aws-sdk/s3-presigned-post": "npm:3.701.0" - "@aws-sdk/s3-request-presigner": "npm:3.701.0" + "@aws-sdk/s3-presigned-post": "npm:3.705.0" + "@aws-sdk/s3-request-presigner": "npm:3.705.0" "@blockprotocol/core": "npm:0.1.3" "@blockprotocol/graph": "npm:0.4.0-canary.0" "@blockprotocol/type-system": "npm:0.1.2-canary.0" @@ -384,6 +383,7 @@ __metadata: "@linear/sdk": "npm:6.0.0" "@local/advanced-types": "npm:0.0.0-private" "@local/eslint": "npm:0.0.0-private" + "@local/harpc-client": "npm:0.0.0-private" "@local/hash-backend-utils": "npm:0.0.0-private" "@local/hash-graph-client": "npm:0.0.0-private" "@local/hash-graph-sdk": "npm:0.0.0-private" @@ -393,20 +393,20 @@ __metadata: "@local/tsconfig": "npm:0.0.0-private" "@mailchimp/mailchimp_marketing": "npm:3.0.80" "@opentelemetry/api": "npm:1.9.0" - "@opentelemetry/core": "npm:1.28.0" - "@opentelemetry/exporter-trace-otlp-grpc": "npm:0.55.0" - "@opentelemetry/instrumentation": "npm:0.55.0" - "@opentelemetry/instrumentation-express": "npm:0.45.0" - "@opentelemetry/instrumentation-graphql": "npm:0.45.0" - "@opentelemetry/instrumentation-http": "npm:0.55.0" - "@opentelemetry/resources": "npm:1.28.0" - "@opentelemetry/sdk-trace-base": "npm:1.28.0" - "@opentelemetry/sdk-trace-node": "npm:1.28.0" + "@opentelemetry/core": "npm:1.29.0" + "@opentelemetry/exporter-trace-otlp-grpc": "npm:0.56.0" + "@opentelemetry/instrumentation": "npm:0.56.0" + "@opentelemetry/instrumentation-express": "npm:0.46.0" + "@opentelemetry/instrumentation-graphql": "npm:0.46.0" + "@opentelemetry/instrumentation-http": "npm:0.56.0" + "@opentelemetry/resources": "npm:1.29.0" + "@opentelemetry/sdk-trace-base": "npm:1.29.0" + "@opentelemetry/sdk-trace-node": "npm:1.29.0" "@ory/client": "npm:1.1.41" "@ory/hydra-client": "npm:2.2.1" "@ory/kratos-client": "npm:1.0.0" "@rudderstack/rudder-sdk-node": "npm:2.1.1" - "@sentry/node": "npm:7.120.0" + "@sentry/node": "npm:7.120.1" "@snowplow/node-tracker": "npm:3.24.6" "@temporalio/client": "npm:1.11.5" "@temporalio/proto": "npm:1.11.5" @@ -421,22 +421,23 @@ __metadata: "@types/mime-types": "npm:2.1.4" "@types/nodemailer": "npm:6.4.17" "@types/ws": "npm:8.5.13" - "@vitest/coverage-istanbul": "npm:2.1.6" + "@vitest/coverage-istanbul": "npm:2.1.8" agentkeepalive: "npm:4.5.0" apollo-datasource: "npm:3.3.2" apollo-server-core: "npm:3.12.1" apollo-server-errors: "npm:3.3.1" apollo-server-express: "npm:3.9.0" app-root-path: "npm:3.1.0" - axios: "npm:1.7.8" + axios: "npm:1.7.9" body-parser: "npm:1.20.3" clipboardy: "npm:2.3.0" cors: "npm:2.8.5" cross-env: "npm:7.0.3" dedent: "npm:0.7.0" + effect: "npm:3.11.3" eslint: "npm:9.16.0" exponential-backoff: "npm:3.1.1" - express: "npm:4.21.1" + express: "npm:4.21.2" express-handlebars: "npm:7.1.3" express-http-proxy: "npm:2.1.1" express-rate-limit: "npm:7.4.1" @@ -457,11 +458,11 @@ __metadata: long: "npm:5.2.3" md5: "npm:2.3.0" mime-types: "npm:2.1.35" - nanoid: "npm:3.3.7" + nanoid: "npm:3.3.8" nodemailer: "npm:6.9.16" oembed-providers: "npm:1.0.20241022" openai: "npm:4.68.4" - prettier: "npm:3.4.1" + prettier: "npm:3.4.2" rimraf: "npm:6.0.1" ts-json-schema-generator: "npm:1.5.1" tsx: "npm:4.19.2" @@ -488,7 +489,7 @@ __metadata: "@blockprotocol/hook": "npm:0.1.3" "@blockprotocol/service": "npm:0.1.4" "@blockprotocol/type-system": "npm:0.1.2-canary.0" - "@dnd-kit/core": "npm:6.2.0" + "@dnd-kit/core": "npm:6.3.1" "@dnd-kit/sortable": "npm:7.0.2" "@dnd-kit/utilities": "npm:3.2.2" "@emoji-mart/react": "npm:1.0.1" @@ -516,16 +517,16 @@ __metadata: "@local/hash-subgraph": "npm:0.0.0-private" "@local/status": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - "@mui/icons-material": "npm:5.16.7" - "@mui/material": "npm:5.16.7" - "@mui/system": "npm:5.16.7" + "@mui/icons-material": "npm:5.16.9" + "@mui/material": "npm:5.16.9" + "@mui/system": "npm:5.16.8" "@next/bundle-analyzer": "npm:12.3.4" "@ory/client": "npm:1.1.41" "@ory/integrations": "npm:1.1.4" "@popperjs/core": "npm:2.11.8" "@react-sigma/core": "npm:4.0.3" - "@sentry/nextjs": "npm:7.120.0" - "@sentry/react": "npm:7.120.0" + "@sentry/nextjs": "npm:7.120.1" + "@sentry/react": "npm:7.120.1" "@sentry/webpack-plugin": "npm:1.21.0" "@sigma/edge-curve": "patch:@sigma/edge-curve@npm%3A3.0.0-beta.16#~/.yarn/patches/@sigma-edge-curve-npm-3.0.0-beta.16-3d8b985284.patch" "@sigma/node-border": "npm:3.0.0-beta.7" @@ -552,7 +553,7 @@ __metadata: "@types/url-regex-safe": "npm:1.0.2" "@types/uuid": "npm:10.0.0" "@welldone-software/why-did-you-render": "npm:8.0.3" - axios: "npm:1.7.8" + axios: "npm:1.7.9" buffer: "npm:6.0.3" clsx: "npm:1.2.1" date-fns: "npm:4.1.0" @@ -601,16 +602,16 @@ __metadata: react-pdf: "npm:9.1.1" react-responsive-carousel: "npm:3.2.23" react-transition-group: "npm:4.4.5" - react-virtuoso: "npm:4.12.2" + react-virtuoso: "npm:4.12.3" react-window: "npm:1.8.10" reactflow: "npm:11.11.4" remark-gfm: "npm:4.0.0" rimraf: "npm:6.0.1" rooks: "npm:7.14.1" safe-stable-stringify: "npm:2.5.0" - sass: "npm:1.81.0" + sass: "npm:1.82.0" setimmediate: "npm:1.0.5" - sigma: "npm:3.0.0-beta.38" + sigma: "npm:3.0.0-beta.39" signia: "npm:0.1.5" signia-react: "npm:0.1.5" typescript: "npm:5.6.3" @@ -618,7 +619,7 @@ __metadata: use-font-face-observer: "npm:1.2.2" uuid: "npm:9.0.1" wait-on: "npm:8.0.1" - webpack: "npm:5.96.1" + webpack: "npm:5.97.1" languageName: unknown linkType: soft @@ -659,14 +660,13 @@ __metadata: "@local/hash-subgraph": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@sentry/cli": "npm:^2.39.1" - "@sentry/node": "npm:7.120.0" + "@sentry/node": "npm:7.120.1" "@temporalio/activity": "npm:1.11.5" "@temporalio/worker": "npm:1.11.5" "@temporalio/workflow": "npm:1.11.5" "@types/dotenv-flow": "npm:3.3.3" agentkeepalive: "npm:4.5.0" - axios: "npm:1.7.8" - cross-env: "npm:7.0.3" + axios: "npm:1.7.9" dotenv-flow: "npm:3.3.0" eslint: "npm:9.16.0" rimraf: "npm:6.0.1" @@ -683,9 +683,8 @@ __metadata: "@local/eslint": "npm:0.0.0-private" "@local/hash-backend-utils": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - "@types/node": "npm:22.10.0" + "@types/node": "npm:22.10.1" "@types/set-interval-async": "npm:1.0.3" - cross-env: "npm:7.0.3" eslint: "npm:9.16.0" set-interval-async: "npm:2.0.3" slonik: "npm:24.2.0" @@ -703,8 +702,7 @@ __metadata: "@local/hash-backend-utils": "npm:0.0.0-private" "@local/hash-isomorphic-utils": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - "@types/node": "npm:22.10.0" - cross-env: "npm:7.0.3" + "@types/node": "npm:22.10.1" eslint: "npm:9.16.0" hot-shots: "npm:8.5.2" tsx: "npm:4.19.2" @@ -736,8 +734,8 @@ __metadata: "@emotion/cache": 11.13.5 "@emotion/react": 11.13.5 "@emotion/styled": 11.13.5 - "@mui/material": 5.16.7 - "@mui/system": 5.16.7 + "@mui/material": 5.16.9 + "@mui/system": 5.16.8 react: ^18.2.0 react-dom: ^18.2.0 languageName: unknown @@ -756,21 +754,21 @@ __metadata: "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@matejmazur/react-katex": "npm:3.1.3" - "@mui/icons-material": "npm:5.16.7" - "@mui/material": "npm:5.16.7" - "@mui/system": "npm:5.16.7" + "@mui/icons-material": "npm:5.16.9" + "@mui/material": "npm:5.16.9" + "@mui/system": "npm:5.16.8" "@types/d3": "npm:7.4.3" "@types/fs-extra": "npm:9.0.13" "@types/gtag.js": "npm:0.0.20" "@types/html-to-text": "npm:9.0.4" "@types/md5": "npm:2.3.5" - "@types/node": "npm:22.10.0" + "@types/node": "npm:22.10.1" "@types/prismjs": "npm:1.26.5" "@types/react": "npm:18.2.68" "@types/react-dom": "npm:18.2.25" "@types/react-html-parser": "npm:2.0.6" "@types/unist": "npm:2.0.11" - axios: "npm:1.7.8" + axios: "npm:1.7.9" babel-loader: "npm:9.2.1" calculation-block: "npm:0.2.2" chalk: "npm:5.3.0" @@ -785,7 +783,7 @@ __metadata: gray-matter: "npm:4.0.3" html-to-text: "npm:9.0.5" image-size: "npm:1.1.1" - katex: "npm:0.16.11" + katex: "npm:0.16.14" md5: "npm:2.3.0" mock-block-dock: "npm:0.0.21" next: "npm:13.5.5" @@ -820,7 +818,7 @@ __metadata: "@babel/plugin-proposal-class-properties": "npm:7.18.6" "@babel/plugin-proposal-private-property-in-object": "npm:^7.16.7" "@babel/preset-env": "npm:7.26.0" - "@babel/preset-react": "npm:7.25.9" + "@babel/preset-react": "npm:7.26.3" "@blockprotocol/core": "npm:0.1.3" "@blockprotocol/graph": "npm:0.4.0-canary.0" "@graphql-codegen/cli": "npm:^5.0.3" @@ -834,10 +832,10 @@ __metadata: "@local/hash-isomorphic-utils": "npm:0.0.0-private" "@local/hash-subgraph": "npm:0.0.0-private" "@local/status": "npm:0.0.0-private" - "@mui/material": "npm:5.16.7" + "@mui/material": "npm:5.16.9" "@pmmmwh/react-refresh-webpack-plugin": "npm:0.5.15" - "@sentry/browser": "npm:7.120.0" - "@sentry/webpack-plugin": "npm:2.22.6" + "@sentry/browser": "npm:7.120.1" + "@sentry/webpack-plugin": "npm:2.22.7" "@types/lodash.debounce": "npm:4.0.9" "@types/react": "npm:18.2.68" "@types/react-dom": "npm:18.2.25" @@ -865,7 +863,7 @@ __metadata: react-refresh: "npm:0.14.0" react-refresh-typescript: "npm:2.0.9" rimraf: "npm:6.0.1" - sass: "npm:1.81.0" + sass: "npm:1.82.0" sass-loader: "npm:13.3.3" source-map-loader: "npm:3.0.2" style-loader: "npm:3.3.4" @@ -876,7 +874,7 @@ __metadata: typescript: "npm:5.6.3" uuid: "npm:9.0.1" webextension-polyfill: "npm:0.10.0" - webpack: "npm:5.96.1" + webpack: "npm:5.97.1" webpack-cli: "npm:4.10.0" webpack-dev-server: "npm:4.15.2" ws: "npm:8.18.0" @@ -1296,9 +1294,9 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/client-s3@npm:3.701.0": - version: 3.701.0 - resolution: "@aws-sdk/client-s3@npm:3.701.0" +"@aws-sdk/client-s3@npm:3.705.0": + version: 3.705.0 + resolution: "@aws-sdk/client-s3@npm:3.705.0" dependencies: "@aws-crypto/sha1-browser": "npm:5.2.0" "@aws-crypto/sha256-browser": "npm:5.2.0" @@ -1358,7 +1356,7 @@ __metadata: "@smithy/util-utf8": "npm:^3.0.0" "@smithy/util-waiter": "npm:^3.1.9" tslib: "npm:^2.6.2" - checksum: 10c0/b7eeb84dddb1c5581de6210ecdfd943a1f94582d30bf58e7ce2ff7ecdbfee68edf01838c0f78f015ebfb134f60cb27d6827f85b78ad8b90cb6516a072425987f + checksum: 10c0/4bbd342f2943d36d488632a0ee898f48b60615eb57f5bb7584b43751242ea62bb199f34e0155006c02e128ac7e3a6f1e9790bb1bf50e0592b9409ad5f6a8282b languageName: node linkType: hard @@ -1948,11 +1946,11 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/s3-presigned-post@npm:3.701.0": - version: 3.701.0 - resolution: "@aws-sdk/s3-presigned-post@npm:3.701.0" +"@aws-sdk/s3-presigned-post@npm:3.705.0": + version: 3.705.0 + resolution: "@aws-sdk/s3-presigned-post@npm:3.705.0" dependencies: - "@aws-sdk/client-s3": "npm:3.701.0" + "@aws-sdk/client-s3": "npm:3.705.0" "@aws-sdk/types": "npm:3.696.0" "@aws-sdk/util-format-url": "npm:3.696.0" "@smithy/middleware-endpoint": "npm:^3.2.3" @@ -1961,13 +1959,13 @@ __metadata: "@smithy/util-hex-encoding": "npm:^3.0.0" "@smithy/util-utf8": "npm:^3.0.0" tslib: "npm:^2.6.2" - checksum: 10c0/6473d4e248e0ad265e6ea4753c5a46be9827e4ac12022780343b0e9a24f33017ce963c337d7a651991780d3fe7b5ff5084eb577b62ab4a917529fb5409494dcd + checksum: 10c0/1cf5724005131d1a0414ada903e7f8e0983aaa2611f53026d6cb64603b441532d2cdcc7d7a0fd4bff4eab9fb8132604f5749b8db51887e5d1a06fe73c0dd3ac6 languageName: node linkType: hard -"@aws-sdk/s3-request-presigner@npm:3.701.0": - version: 3.701.0 - resolution: "@aws-sdk/s3-request-presigner@npm:3.701.0" +"@aws-sdk/s3-request-presigner@npm:3.705.0": + version: 3.705.0 + resolution: "@aws-sdk/s3-request-presigner@npm:3.705.0" dependencies: "@aws-sdk/signature-v4-multi-region": "npm:3.696.0" "@aws-sdk/types": "npm:3.696.0" @@ -1977,7 +1975,7 @@ __metadata: "@smithy/smithy-client": "npm:^3.4.4" "@smithy/types": "npm:^3.7.1" tslib: "npm:^2.6.2" - checksum: 10c0/8cda9baeadd20cfc3ea770dca500dc6dab8cb40ac42c7cd0545b72830c3059ba06965546897e2e56e03cc6207681cee655051bb1c71faab285560d96fb795c5b + checksum: 10c0/8f32b979b0ce1b8758a59e27780c0783fb14dca7b230ae0dd9c499c786ca347d6b073dad049dbf27a967a07e36334abadb56d8b93e7ed06dea1ae1ea6cdbaae4 languageName: node linkType: hard @@ -3835,7 +3833,23 @@ __metadata: languageName: node linkType: hard -"@babel/preset-react@npm:7.25.9, @babel/preset-react@npm:^7.16.0, @babel/preset-react@npm:^7.16.7, @babel/preset-react@npm:^7.18.6, @babel/preset-react@npm:^7.22.15": +"@babel/preset-react@npm:7.26.3": + version: 7.26.3 + resolution: "@babel/preset-react@npm:7.26.3" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.25.9" + "@babel/helper-validator-option": "npm:^7.25.9" + "@babel/plugin-transform-react-display-name": "npm:^7.25.9" + "@babel/plugin-transform-react-jsx": "npm:^7.25.9" + "@babel/plugin-transform-react-jsx-development": "npm:^7.25.9" + "@babel/plugin-transform-react-pure-annotations": "npm:^7.25.9" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10c0/b470dcba11032ef6c832066f4af5c75052eaed49feb0f445227231ef1b5c42aacd6e216988c0bd469fd5728cd27b6b059ca307c9ecaa80c6bb5da4bf1c833e12 + languageName: node + linkType: hard + +"@babel/preset-react@npm:^7.16.0, @babel/preset-react@npm:^7.16.7, @babel/preset-react@npm:^7.18.6, @babel/preset-react@npm:^7.22.15": version: 7.25.9 resolution: "@babel/preset-react@npm:7.25.9" dependencies: @@ -4122,7 +4136,7 @@ __metadata: "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@types/lodash.isequal": "npm:4.5.8" - "@types/node": "npm:22.10.0" + "@types/node": "npm:22.10.1" "@types/react": "npm:18.2.68" ajv: "npm:8.17.1" ajv-formats: "npm:3.0.1" @@ -4211,17 +4225,17 @@ __metadata: "@rollup/plugin-node-resolve": "npm:15.3.0" "@rollup/plugin-typescript": "npm:12.1.1" "@rollup/plugin-wasm": "npm:6.2.2" - "@types/node": "npm:22.10.0" + "@types/node": "npm:22.10.1" "@types/react": "npm:18.2.68" - "@vitest/coverage-istanbul": "npm:2.1.6" + "@vitest/coverage-istanbul": "npm:2.1.8" eslint: "npm:9.16.0" react: "npm:18.2.0" rimraf: "npm:6.0.1" - rollup: "npm:4.27.4" + rollup: "npm:4.28.1" tslib: "npm:2.8.1" typescript: "npm:5.6.3" vite-plugin-wasm-pack: "npm:0.1.12" - vitest: "npm:2.1.6" + vitest: "npm:2.1.8" languageName: unknown linkType: soft @@ -4236,7 +4250,7 @@ __metadata: "@hashintel/block-design-system": "npm:0.0.2" "@hashintel/design-system": "npm:0.0.8" "@local/eslint": "npm:0.0.0-private" - "@mui/material": "npm:5.16.7" + "@mui/material": "npm:5.16.9" "@types/lodash.debounce": "npm:4.0.9" "@types/react-dom": "npm:18.2.25" "@types/uuid": "npm:10.0.0" @@ -4244,7 +4258,7 @@ __metadata: eslint: "npm:9.16.0" lodash.debounce: "npm:4.0.8" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.1" + prettier: "npm:3.4.2" react: "npm:18.2.0" react-dom: "npm:18.2.0" react-sizeme: "npm:3.0.2" @@ -4268,13 +4282,13 @@ __metadata: "@hashintel/design-system": "npm:0.0.8" "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - "@mui/material": "npm:5.16.7" + "@mui/material": "npm:5.16.9" "@types/react-dom": "npm:18.2.25" "@types/uuid": "npm:10.0.0" block-scripts: "npm:0.3.4" eslint: "npm:9.16.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.1" + prettier: "npm:3.4.2" react: "npm:18.2.0" react-dom: "npm:18.2.0" react-sizeme: "npm:3.0.2" @@ -4298,13 +4312,13 @@ __metadata: "@hashintel/design-system": "npm:0.0.8" "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - "@mui/material": "npm:5.16.7" + "@mui/material": "npm:5.16.9" "@types/react-dom": "npm:18.2.25" "@types/uuid": "npm:10.0.0" block-scripts: "npm:0.3.4" eslint: "npm:9.16.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.1" + prettier: "npm:3.4.2" react: "npm:18.2.0" react-dom: "npm:18.2.0" react-sizeme: "npm:3.0.2" @@ -4326,12 +4340,12 @@ __metadata: "@hashintel/design-system": "npm:0.0.8" "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - "@mui/material": "npm:5.16.7" + "@mui/material": "npm:5.16.9" "@types/react-dom": "npm:18.2.25" block-scripts: "npm:0.3.4" eslint: "npm:9.16.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.1" + prettier: "npm:3.4.2" react: "npm:18.2.0" react-dom: "npm:18.2.0" typescript: "npm:5.6.3" @@ -4353,7 +4367,7 @@ __metadata: block-scripts: "npm:0.3.4" eslint: "npm:9.16.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.1" + prettier: "npm:3.4.2" react: "npm:18.2.0" react-dom: "npm:18.2.0" typescript: "npm:5.6.3" @@ -4375,7 +4389,7 @@ __metadata: "@local/eslint": "npm:0.0.0-private" "@local/hash-isomorphic-utils": "workspace:*" "@local/tsconfig": "npm:0.0.0-private" - "@mui/material": "npm:5.16.7" + "@mui/material": "npm:5.16.9" "@types/lodash.debounce": "npm:4.0.9" "@types/react-dom": "npm:18.2.25" "@types/react-is": "npm:18.3.0" @@ -4384,7 +4398,7 @@ __metadata: eslint: "npm:9.16.0" lodash.debounce: "npm:4.0.8" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.1" + prettier: "npm:3.4.2" react: "npm:18.2.0" react-dom: "npm:18.2.0" react-hook-form: "npm:7.53.2" @@ -4407,7 +4421,7 @@ __metadata: block-scripts: "npm:0.3.4" eslint: "npm:9.16.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.1" + prettier: "npm:3.4.2" prismjs: "npm:1.29.0" react: "npm:18.2.0" react-dom: "npm:18.2.0" @@ -4431,7 +4445,7 @@ __metadata: date-fns: "npm:4.1.0" eslint: "npm:9.16.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.1" + prettier: "npm:3.4.2" react: "npm:18.2.0" react-datepicker: "npm:4.25.0" react-dom: "npm:18.2.0" @@ -4454,7 +4468,7 @@ __metadata: block-scripts: "npm:0.3.4" eslint: "npm:9.16.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.1" + prettier: "npm:3.4.2" react: "npm:18.2.0" react-dom: "npm:18.2.0" typescript: "npm:5.6.3" @@ -4496,13 +4510,13 @@ __metadata: "@hashintel/block-design-system": "npm:0.0.2" "@hashintel/design-system": "npm:0.0.8" "@local/eslint": "npm:0.0.0-private" - "@mui/material": "npm:5.16.7" + "@mui/material": "npm:5.16.9" "@types/react-dom": "npm:18.2.25" "@types/uuid": "npm:10.0.0" block-scripts: "npm:0.3.4" eslint: "npm:9.16.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.1" + prettier: "npm:3.4.2" react: "npm:18.2.0" react-dom: "npm:18.2.0" typescript: "npm:5.6.3" @@ -4525,7 +4539,7 @@ __metadata: block-scripts: "npm:0.3.4" eslint: "npm:9.16.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.1" + prettier: "npm:3.4.2" react: "npm:18.2.0" react-dom: "npm:18.2.0" typescript: "npm:5.6.3" @@ -4543,13 +4557,13 @@ __metadata: "@hashintel/block-design-system": "npm:0.0.2" "@hashintel/design-system": "npm:0.0.8" "@local/eslint": "npm:0.0.0-private" - "@mui/material": "npm:5.16.7" + "@mui/material": "npm:5.16.9" "@types/react-dom": "npm:18.2.25" "@types/uuid": "npm:10.0.0" block-scripts: "npm:0.3.4" eslint: "npm:9.16.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.1" + prettier: "npm:3.4.2" react: "npm:18.2.0" react-dom: "npm:18.2.0" react-sizeme: "npm:3.0.2" @@ -4573,7 +4587,7 @@ __metadata: block-scripts: "npm:0.3.4" eslint: "npm:9.16.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.1" + prettier: "npm:3.4.2" react: "npm:18.2.0" react-dom: "npm:18.2.0" twind: "npm:0.16.19" @@ -4589,14 +4603,14 @@ __metadata: resolution: "@blocks/kanban-board@workspace:blocks/kanban-board" dependencies: "@blockprotocol/graph": "npm:0.3.4" - "@dnd-kit/core": "npm:6.2.0" + "@dnd-kit/core": "npm:6.3.1" "@dnd-kit/sortable": "npm:7.0.2" "@dnd-kit/utilities": "npm:3.2.2" "@hashintel/block-design-system": "npm:0.0.2" "@hashintel/design-system": "workspace:*" "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - "@mui/material": "npm:5.16.7" + "@mui/material": "npm:5.16.9" "@types/lodash.clonedeep": "npm:4.5.9" "@types/lodash.debounce": "npm:4.0.9" "@types/lodash.isequal": "npm:4.5.8" @@ -4608,7 +4622,7 @@ __metadata: lodash.debounce: "npm:4.0.8" lodash.isequal: "npm:4.5.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.1" + prettier: "npm:3.4.2" react: "npm:18.2.0" react-dom: "npm:18.2.0" react-textarea-autosize: "npm:8.5.5" @@ -4632,7 +4646,7 @@ __metadata: lit: "npm:2.8.0" mine-sweeper-tag: "npm:1.0.6" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.1" + prettier: "npm:3.4.2" react: "npm:18.2.0" react-dom: "npm:18.2.0" typescript: "npm:5.6.3" @@ -4651,7 +4665,7 @@ __metadata: block-scripts: "npm:0.3.4" eslint: "npm:9.16.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.1" + prettier: "npm:3.4.2" react: "npm:18.2.0" react-dom: "npm:18.2.0" typescript: "npm:5.6.3" @@ -4671,7 +4685,7 @@ __metadata: "@types/dompurify": "npm:2.4.0" "@types/react-dom": "npm:18.0.9" block-scripts: "npm:0.0.14" - dompurify: "npm:2.5.7" + dompurify: "npm:2.5.8" eslint: "npm:9.16.0" mock-block-dock: "npm:0.0.38" react: "npm:18.2.0" @@ -4688,14 +4702,14 @@ __metadata: resolution: "@blocks/shuffle@workspace:blocks/shuffle" dependencies: "@blockprotocol/graph": "npm:0.3.4" - "@dnd-kit/core": "npm:6.2.0" + "@dnd-kit/core": "npm:6.3.1" "@dnd-kit/sortable": "npm:7.0.2" "@dnd-kit/utilities": "npm:3.2.2" "@hashintel/design-system": "npm:0.0.8" "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - "@mui/icons-material": "npm:5.16.7" - "@mui/material": "npm:5.16.7" + "@mui/icons-material": "npm:5.16.9" + "@mui/material": "npm:5.16.9" "@types/lodash.isequal": "npm:4.5.8" "@types/uuid": "npm:10.0.0" block-scripts: "npm:0.3.4" @@ -4703,7 +4717,7 @@ __metadata: immer: "npm:9.0.21" lodash.isequal: "npm:4.5.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.1" + prettier: "npm:3.4.2" react: "npm:18.2.0" react-dom: "npm:18.2.0" typescript: "npm:5.6.3" @@ -4725,7 +4739,7 @@ __metadata: "@local/eslint": "npm:0.0.0-private" "@local/hash-isomorphic-utils": "workspace:*" "@local/tsconfig": "npm:0.0.0-private" - "@mui/material": "npm:5.16.7" + "@mui/material": "npm:5.16.9" "@types/lodash.debounce": "npm:4.0.9" "@types/lodash.isequal": "npm:4.5.8" "@types/lodash.uniqueid": "npm:4.0.9" @@ -4738,7 +4752,7 @@ __metadata: lodash.isequal: "npm:4.5.0" lodash.uniqueid: "npm:4.0.1" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.1" + prettier: "npm:3.4.2" react: "npm:18.2.0" react-device-detect: "npm:2.2.3" react-dom: "npm:18.2.0" @@ -4765,7 +4779,7 @@ __metadata: duration-fns: "npm:3.0.2" eslint: "npm:9.16.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.1" + prettier: "npm:3.4.2" react: "npm:18.2.0" react-dom: "npm:18.2.0" typescript: "npm:5.6.3" @@ -4786,7 +4800,7 @@ __metadata: block-scripts: "npm:0.3.4" eslint: "npm:9.16.0" mock-block-dock: "npm:0.1.9" - prettier: "npm:3.4.1" + prettier: "npm:3.4.2" react: "npm:18.2.0" react-dom: "npm:18.2.0" twind: "npm:0.16.19" @@ -4814,6 +4828,76 @@ __metadata: languageName: node linkType: hard +"@chainsafe/as-chacha20poly1305@npm:^0.1.0": + version: 0.1.0 + resolution: "@chainsafe/as-chacha20poly1305@npm:0.1.0" + checksum: 10c0/a537dce48829484488c8e55678dec55f8d47b40bf27f0909dfd8d3b49d5a8e154a4a8433e76c787f9a60ef74524137b7f3fbf2bac10a20e698b30cfd6fe22257 + languageName: node + linkType: hard + +"@chainsafe/as-sha256@npm:^0.4.1": + version: 0.4.2 + resolution: "@chainsafe/as-sha256@npm:0.4.2" + checksum: 10c0/af1abf43340e93fb67b570b85dc88e71c97d00dbc3e68f1d54fe3bb0d99fd8ad7f9047f3f1aeb4c27900698e6653382e123c58b888b0c3946afb9f2067e35c55 + languageName: node + linkType: hard + +"@chainsafe/is-ip@npm:^2.0.1, @chainsafe/is-ip@npm:^2.0.2": + version: 2.0.2 + resolution: "@chainsafe/is-ip@npm:2.0.2" + checksum: 10c0/0bb8b9d0babe583642d31ffafad603ac5e5dc48884266feae57479d81f4e81ef903628527d81b39d5305657a957bf435bd2ef38b98a4526a7aab366febf793ad + languageName: node + linkType: hard + +"@chainsafe/libp2p-noise@npm:16.0.0": + version: 16.0.0 + resolution: "@chainsafe/libp2p-noise@npm:16.0.0" + dependencies: + "@chainsafe/as-chacha20poly1305": "npm:^0.1.0" + "@chainsafe/as-sha256": "npm:^0.4.1" + "@libp2p/crypto": "npm:^5.0.0" + "@libp2p/interface": "npm:^2.0.0" + "@libp2p/peer-id": "npm:^5.0.0" + "@noble/ciphers": "npm:^0.6.0" + "@noble/curves": "npm:^1.1.0" + "@noble/hashes": "npm:^1.3.1" + it-length-prefixed: "npm:^9.0.1" + it-length-prefixed-stream: "npm:^1.0.0" + it-pair: "npm:^2.0.6" + it-pipe: "npm:^3.0.1" + it-stream-types: "npm:^2.0.1" + protons-runtime: "npm:^5.5.0" + uint8arraylist: "npm:^2.4.3" + uint8arrays: "npm:^5.0.0" + wherearewe: "npm:^2.0.1" + checksum: 10c0/7d5480ce6836f4edc27b188dc60ddbb49f5a232fe6778bed7bd591368187cc45a4eb4602cec6e4f29db6fbd6c14436492709654a85546fd6a6f556696839dc7f + languageName: node + linkType: hard + +"@chainsafe/libp2p-yamux@npm:7.0.1": + version: 7.0.1 + resolution: "@chainsafe/libp2p-yamux@npm:7.0.1" + dependencies: + "@libp2p/interface": "npm:^2.0.0" + "@libp2p/utils": "npm:^6.0.0" + get-iterator: "npm:^2.0.1" + it-foreach: "npm:^2.0.6" + it-pushable: "npm:^3.2.3" + it-stream-types: "npm:^2.0.1" + uint8arraylist: "npm:^2.4.8" + checksum: 10c0/2cda578822ae80a6620c4529c414322ec4ceaa143ac8a4c19c9848363d36993d350edbcbec18979744d294f5c90e96a0abdc82a3b9afb2272384c0d2a72aee74 + languageName: node + linkType: hard + +"@chainsafe/netmask@npm:^2.0.0": + version: 2.0.0 + resolution: "@chainsafe/netmask@npm:2.0.0" + dependencies: + "@chainsafe/is-ip": "npm:^2.0.1" + checksum: 10c0/a9069e52b0a1470b00c88d3fb16ff4fe14274e5055770faab974b29f7bc69ebf76172775461da1e88b7fe73539a9228f6af0406253d46e987193ddf21a073da1 + languageName: node + linkType: hard + "@changesets/apply-release-plan@npm:^6.1.3": version: 6.1.4 resolution: "@changesets/apply-release-plan@npm:6.1.4" @@ -5237,9 +5321,9 @@ __metadata: languageName: node linkType: hard -"@dnd-kit/core@npm:6.2.0": - version: 6.2.0 - resolution: "@dnd-kit/core@npm:6.2.0" +"@dnd-kit/core@npm:6.3.1": + version: 6.3.1 + resolution: "@dnd-kit/core@npm:6.3.1" dependencies: "@dnd-kit/accessibility": "npm:^3.1.1" "@dnd-kit/utilities": "npm:^3.2.2" @@ -5247,7 +5331,7 @@ __metadata: peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" - checksum: 10c0/478d6bb027441b0e5fa5ecd9a4da8a5876811505147303de1a5a0783a4418c5f7f464bd3eb07b4be77ef7626364d1b905dc2a4f9055093b845cf39e1d6f13b73 + checksum: 10c0/196db95d81096d9dc248983533eab91ba83591770fa5c894b1ac776f42af0d99522b3fd5bb3923411470e4733fcfa103e6ee17adc17b9b7eb54c7fbec5ff7c52 languageName: node linkType: hard @@ -5275,53 +5359,53 @@ __metadata: languageName: node linkType: hard -"@effect/platform-node-shared@npm:^0.19.32": - version: 0.19.32 - resolution: "@effect/platform-node-shared@npm:0.19.32" +"@effect/platform-node-shared@npm:^0.20.4": + version: 0.20.6 + resolution: "@effect/platform-node-shared@npm:0.20.6" dependencies: "@parcel/watcher": "npm:^2.4.1" multipasta: "npm:^0.2.5" peerDependencies: - "@effect/platform": ^0.69.31 - effect: ^3.10.19 - checksum: 10c0/a6256806cc7c5f2dfb41f25f3d645b345c4877604f659120085ac2462495b56d4f59afe9cd8f33e3bbdef97873dc5703bc9dc1cb4cb5a53cbba1f9e135fd7516 + "@effect/platform": ^0.70.6 + effect: ^3.11.4 + checksum: 10c0/7f2191ada67dcc8c1e68ba1de39e2155dd2b5decaa86363f066e21e0c70f04604a33d9628e1449eccdff5e0cb198d7ada88b995ee577fda812822d369d1096bc languageName: node linkType: hard -"@effect/platform-node@npm:0.64.33": - version: 0.64.33 - resolution: "@effect/platform-node@npm:0.64.33" +"@effect/platform-node@npm:0.65.4": + version: 0.65.4 + resolution: "@effect/platform-node@npm:0.65.4" dependencies: - "@effect/platform-node-shared": "npm:^0.19.32" + "@effect/platform-node-shared": "npm:^0.20.4" mime: "npm:^3.0.0" undici: "npm:^6.19.7" ws: "npm:^8.18.0" peerDependencies: - "@effect/platform": ^0.69.31 - effect: ^3.10.19 - checksum: 10c0/bf2777d2126cf7981376024917dfe8b17d0e62868ee15be4b92764d2dfea7a4f40330b40546967595f9a50103a4dd34592612b481e53fbb591774faab598be09 + "@effect/platform": ^0.70.4 + effect: ^3.11.3 + checksum: 10c0/99915676a36f64e90ef2b2533ab0789f11ba8bc8cc19cb7cfda99e979f6d470f36ddb670eb905491b957fda1f2bde97c463a0c84f634aa12c864ebdf5f6fd1d1 languageName: node linkType: hard -"@effect/platform@npm:0.69.31": - version: 0.69.31 - resolution: "@effect/platform@npm:0.69.31" +"@effect/platform@npm:0.70.4": + version: 0.70.4 + resolution: "@effect/platform@npm:0.70.4" dependencies: find-my-way-ts: "npm:^0.1.5" multipasta: "npm:^0.2.5" peerDependencies: - effect: ^3.10.19 - checksum: 10c0/ef4422642408cfd3900b4d750040fbca76be20eabea2df9f308e43c8df05536d22c6a0cdd7c08db2b9030ddcaa6cbe7673b2ecb8985b032d9840cdbcccef74b5 + effect: ^3.11.3 + checksum: 10c0/d55e37943b3fcaca7e15e74b7c8dbd562d2cd028f684b9fbc9db0e82d9048c2b99954450516c2260ac5e6eba9529f1b5884c7bd0d8e180d1485405178f49c71e languageName: node linkType: hard -"@effect/vitest@npm:0.13.19": - version: 0.13.19 - resolution: "@effect/vitest@npm:0.13.19" +"@effect/vitest@npm:0.14.3": + version: 0.14.3 + resolution: "@effect/vitest@npm:0.14.3" peerDependencies: - effect: ^3.10.19 + effect: ^3.11.3 vitest: ^2.0.5 - checksum: 10c0/f548a32ef569686ddbea1a758645a44dd7dcff86f1356b21d1670e1318101e4dcf065d6b13a7f276faa65e6f5382c433788cdcff7352db8d871784ab5b8c85b7 + checksum: 10c0/06c1630e03b67eab565913090918532cdace2655cf6345accb42db5f60a01cfe1fbd03d6119d9c03554786ad2584520cc06034ebab7d6432355920133a8df53c languageName: node linkType: hard @@ -5584,13 +5668,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/aix-ppc64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/aix-ppc64@npm:0.24.0" - conditions: os=aix & cpu=ppc64 - languageName: node - linkType: hard - "@esbuild/android-arm64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/android-arm64@npm:0.18.20" @@ -5612,13 +5689,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/android-arm64@npm:0.24.0" - conditions: os=android & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/android-arm@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/android-arm@npm:0.18.20" @@ -5640,13 +5710,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/android-arm@npm:0.24.0" - conditions: os=android & cpu=arm - languageName: node - linkType: hard - "@esbuild/android-x64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/android-x64@npm:0.18.20" @@ -5668,13 +5731,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-x64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/android-x64@npm:0.24.0" - conditions: os=android & cpu=x64 - languageName: node - linkType: hard - "@esbuild/darwin-arm64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/darwin-arm64@npm:0.18.20" @@ -5696,13 +5752,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-arm64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/darwin-arm64@npm:0.24.0" - conditions: os=darwin & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/darwin-x64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/darwin-x64@npm:0.18.20" @@ -5724,13 +5773,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-x64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/darwin-x64@npm:0.24.0" - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - "@esbuild/freebsd-arm64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/freebsd-arm64@npm:0.18.20" @@ -5752,13 +5794,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-arm64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/freebsd-arm64@npm:0.24.0" - conditions: os=freebsd & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/freebsd-x64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/freebsd-x64@npm:0.18.20" @@ -5780,13 +5815,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-x64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/freebsd-x64@npm:0.24.0" - conditions: os=freebsd & cpu=x64 - languageName: node - linkType: hard - "@esbuild/linux-arm64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/linux-arm64@npm:0.18.20" @@ -5808,13 +5836,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/linux-arm64@npm:0.24.0" - conditions: os=linux & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/linux-arm@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/linux-arm@npm:0.18.20" @@ -5836,13 +5857,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/linux-arm@npm:0.24.0" - conditions: os=linux & cpu=arm - languageName: node - linkType: hard - "@esbuild/linux-ia32@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/linux-ia32@npm:0.18.20" @@ -5864,13 +5878,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ia32@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/linux-ia32@npm:0.24.0" - conditions: os=linux & cpu=ia32 - languageName: node - linkType: hard - "@esbuild/linux-loong64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/linux-loong64@npm:0.18.20" @@ -5892,13 +5899,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-loong64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/linux-loong64@npm:0.24.0" - conditions: os=linux & cpu=loong64 - languageName: node - linkType: hard - "@esbuild/linux-mips64el@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/linux-mips64el@npm:0.18.20" @@ -5920,13 +5920,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-mips64el@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/linux-mips64el@npm:0.24.0" - conditions: os=linux & cpu=mips64el - languageName: node - linkType: hard - "@esbuild/linux-ppc64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/linux-ppc64@npm:0.18.20" @@ -5948,13 +5941,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ppc64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/linux-ppc64@npm:0.24.0" - conditions: os=linux & cpu=ppc64 - languageName: node - linkType: hard - "@esbuild/linux-riscv64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/linux-riscv64@npm:0.18.20" @@ -5976,13 +5962,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-riscv64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/linux-riscv64@npm:0.24.0" - conditions: os=linux & cpu=riscv64 - languageName: node - linkType: hard - "@esbuild/linux-s390x@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/linux-s390x@npm:0.18.20" @@ -6004,13 +5983,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-s390x@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/linux-s390x@npm:0.24.0" - conditions: os=linux & cpu=s390x - languageName: node - linkType: hard - "@esbuild/linux-x64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/linux-x64@npm:0.18.20" @@ -6032,13 +6004,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-x64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/linux-x64@npm:0.24.0" - conditions: os=linux & cpu=x64 - languageName: node - linkType: hard - "@esbuild/netbsd-x64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/netbsd-x64@npm:0.18.20" @@ -6060,13 +6025,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/netbsd-x64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/netbsd-x64@npm:0.24.0" - conditions: os=netbsd & cpu=x64 - languageName: node - linkType: hard - "@esbuild/openbsd-arm64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/openbsd-arm64@npm:0.23.1" @@ -6074,13 +6032,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/openbsd-arm64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/openbsd-arm64@npm:0.24.0" - conditions: os=openbsd & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/openbsd-x64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/openbsd-x64@npm:0.18.20" @@ -6102,13 +6053,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/openbsd-x64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/openbsd-x64@npm:0.24.0" - conditions: os=openbsd & cpu=x64 - languageName: node - linkType: hard - "@esbuild/sunos-x64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/sunos-x64@npm:0.18.20" @@ -6130,13 +6074,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/sunos-x64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/sunos-x64@npm:0.24.0" - conditions: os=sunos & cpu=x64 - languageName: node - linkType: hard - "@esbuild/win32-arm64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/win32-arm64@npm:0.18.20" @@ -6158,13 +6095,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-arm64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/win32-arm64@npm:0.24.0" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/win32-ia32@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/win32-ia32@npm:0.18.20" @@ -6186,13 +6116,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-ia32@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/win32-ia32@npm:0.24.0" - conditions: os=win32 & cpu=ia32 - languageName: node - linkType: hard - "@esbuild/win32-x64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/win32-x64@npm:0.18.20" @@ -6214,13 +6137,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-x64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/win32-x64@npm:0.24.0" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - "@eslint-community/eslint-utils@npm:^4.2.0, @eslint-community/eslint-utils@npm:^4.4.0": version: 4.4.1 resolution: "@eslint-community/eslint-utils@npm:4.4.1" @@ -6639,12 +6555,12 @@ __metadata: languageName: node linkType: hard -"@google-cloud/vertexai@npm:1.9.0": - version: 1.9.0 - resolution: "@google-cloud/vertexai@npm:1.9.0" +"@google-cloud/vertexai@npm:1.9.2": + version: 1.9.2 + resolution: "@google-cloud/vertexai@npm:1.9.2" dependencies: google-auth-library: "npm:^9.1.0" - checksum: 10c0/6568fa105a180b4d27be31be92e6c71b9f8d018bb432631d63e0bb37cc299811895dbf237b9c560a1558de4f87b18882bdbb8e976ce43bf75bf80d998f395d76 + checksum: 10c0/d380fb9a1857019acdec6da99ab307bc3a9fe2d096138bf7ff7dc4dcc3c69ab8722a512a4ea365ac6c3311b808e230ecbddfd4ec949d98a69d22878a6bb002c5 languageName: node linkType: hard @@ -7587,8 +7503,8 @@ __metadata: "@local/hash-isomorphic-utils": "npm:0.0.0-private" "@local/hash-subgraph": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - "@mui/material": "npm:5.16.7" - "@mui/system": "npm:5.16.7" + "@mui/material": "npm:5.16.9" + "@mui/system": "npm:5.16.8" "@types/react": "npm:18.2.68" "@types/react-dom": "npm:18.2.25" "@types/react-syntax-highlighter": "npm:15.5.13" @@ -7603,8 +7519,8 @@ __metadata: peerDependencies: "@emotion/react": 11.13.5 "@emotion/styled": 11.13.5 - "@mui/material": 5.16.7 - "@mui/system": 5.16.7 + "@mui/material": 5.16.9 + "@mui/system": 5.16.8 react: ^18.2.0 react-dom: ^18.2.0 languageName: unknown @@ -7624,8 +7540,8 @@ __metadata: "@local/eslint": "npm:0.0.0-private" "@local/hash-isomorphic-utils": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - "@mui/material": "npm:5.16.7" - "@mui/system": "npm:5.16.7" + "@mui/material": "npm:5.16.9" + "@mui/system": "npm:5.16.8" "@storybook/react": "npm:7.6.20" "@types/react": "npm:18.2.68" "@types/react-dom": "npm:18.2.25" @@ -7641,8 +7557,8 @@ __metadata: "@emotion/cache": 11.13.5 "@emotion/react": 11.13.5 "@emotion/styled": 11.13.5 - "@mui/material": 5.16.7 - "@mui/system": 5.16.7 + "@mui/material": 5.16.9 + "@mui/system": 5.16.8 react: ^18.2.0 react-dom: ^18.2.0 languageName: unknown @@ -7658,8 +7574,8 @@ __metadata: "@fortawesome/free-solid-svg-icons": "npm:6.7.1" "@hashintel/design-system": "npm:0.0.8" "@local/eslint": "npm:0.0.0-private" - "@mui/material": "npm:5.16.7" - "@mui/system": "npm:5.16.7" + "@mui/material": "npm:5.16.9" + "@mui/system": "npm:5.16.8" clsx: "npm:1.2.1" eslint: "npm:9.16.0" eslint-plugin-storybook: "npm:0.11.1" @@ -7687,8 +7603,8 @@ __metadata: "@hashintel/design-system": "npm:0.0.8" "@local/eslint": "npm:0.0.0-private" "@local/hash-subgraph": "npm:0.0.0-private" - "@mui/material": "npm:5.16.7" - "@mui/system": "npm:5.16.7" + "@mui/material": "npm:5.16.9" + "@mui/system": "npm:5.16.8" "@types/lodash.memoize": "npm:4.1.9" "@types/lodash.uniqueid": "npm:4.0.9" clsx: "npm:1.2.1" @@ -8406,6 +8322,257 @@ __metadata: languageName: node linkType: hard +"@libp2p/crypto@npm:5.0.7": + version: 5.0.7 + resolution: "@libp2p/crypto@npm:5.0.7" + dependencies: + "@libp2p/interface": "npm:^2.2.1" + "@noble/curves": "npm:^1.4.0" + "@noble/hashes": "npm:^1.4.0" + asn1js: "npm:^3.0.5" + multiformats: "npm:^13.1.0" + protons-runtime: "npm:^5.4.0" + uint8arraylist: "npm:^2.4.8" + uint8arrays: "npm:^5.1.0" + checksum: 10c0/f55ff2d7203b1c81d306b657407fc2b98069ed17c35ec372ebc98596df0669980b8ced8ca587fac049d5b8ccca837591ed4034c46778520b1cea26bf9c01851a + languageName: node + linkType: hard + +"@libp2p/crypto@npm:^5.0.0, @libp2p/crypto@npm:^5.0.7, @libp2p/crypto@npm:^5.0.8": + version: 5.0.8 + resolution: "@libp2p/crypto@npm:5.0.8" + dependencies: + "@libp2p/interface": "npm:^2.3.0" + "@noble/curves": "npm:^1.7.0" + "@noble/hashes": "npm:^1.6.1" + asn1js: "npm:^3.0.5" + multiformats: "npm:^13.3.1" + protons-runtime: "npm:^5.5.0" + uint8arraylist: "npm:^2.4.8" + uint8arrays: "npm:^5.1.0" + checksum: 10c0/ae26cf47d613be458330f8611b39274b0fc008f46a56834914b5a0753b4bf552ed6da22d33e88ca4ca1a2c5d8ff088d902d7ad5d7c128fdde014d968800612ee + languageName: node + linkType: hard + +"@libp2p/identify@npm:3.0.12": + version: 3.0.12 + resolution: "@libp2p/identify@npm:3.0.12" + dependencies: + "@libp2p/crypto": "npm:^5.0.7" + "@libp2p/interface": "npm:^2.2.1" + "@libp2p/interface-internal": "npm:^2.1.1" + "@libp2p/peer-id": "npm:^5.0.8" + "@libp2p/peer-record": "npm:^8.0.12" + "@libp2p/utils": "npm:^6.2.1" + "@multiformats/multiaddr": "npm:^12.2.3" + "@multiformats/multiaddr-matcher": "npm:^1.2.1" + it-drain: "npm:^3.0.7" + it-parallel: "npm:^3.0.7" + it-protobuf-stream: "npm:^1.1.3" + protons-runtime: "npm:^5.4.0" + uint8arraylist: "npm:^2.4.8" + uint8arrays: "npm:^5.1.0" + wherearewe: "npm:^2.0.1" + checksum: 10c0/9e1e42760ceb095ce7b717ae53e913ef125b6190443a07220b1e32b3583e6b410d3f17e46d68cd84f329e304f43120d784a770966e3aa4ab647034d7c88e9d0a + languageName: node + linkType: hard + +"@libp2p/interface-internal@npm:^2.1.1": + version: 2.2.0 + resolution: "@libp2p/interface-internal@npm:2.2.0" + dependencies: + "@libp2p/interface": "npm:^2.3.0" + "@libp2p/peer-collections": "npm:^6.0.13" + "@multiformats/multiaddr": "npm:^12.3.3" + progress-events: "npm:^1.0.1" + uint8arraylist: "npm:^2.4.8" + checksum: 10c0/241c5962ab1a11ff3f0b613ad3db82fc4616672e5bf5dcc36023925c815d4382221ad57f4cd5d31d83a825d39d54eb4808acd525d00d8c4a8e916ec950b54aa7 + languageName: node + linkType: hard + +"@libp2p/interface@npm:2.2.1": + version: 2.2.1 + resolution: "@libp2p/interface@npm:2.2.1" + dependencies: + "@multiformats/multiaddr": "npm:^12.2.3" + it-pushable: "npm:^3.2.3" + it-stream-types: "npm:^2.0.1" + multiformats: "npm:^13.1.0" + progress-events: "npm:^1.0.0" + uint8arraylist: "npm:^2.4.8" + checksum: 10c0/0eeff44808dd3a96effd44fee805efa3ef8db8b70b0cbd3e3c467949d26f0b1fd9887297f487764083b451907262b88a6e14f8b722df139e5feeda9266c21602 + languageName: node + linkType: hard + +"@libp2p/interface@npm:^2.0.0, @libp2p/interface@npm:^2.2.1, @libp2p/interface@npm:^2.3.0": + version: 2.3.0 + resolution: "@libp2p/interface@npm:2.3.0" + dependencies: + "@multiformats/multiaddr": "npm:^12.3.3" + it-pushable: "npm:^3.2.3" + it-stream-types: "npm:^2.0.2" + multiformats: "npm:^13.3.1" + progress-events: "npm:^1.0.1" + uint8arraylist: "npm:^2.4.8" + checksum: 10c0/773edd70283a2de2aa787eeec6f0d2c1e662b25e14fbe49f443f506f7db443cf44ff578ca22b81c57e830cef3f0d94bce91189eee832bb617212c96eba1a65ca + languageName: node + linkType: hard + +"@libp2p/logger@npm:^5.0.1, @libp2p/logger@npm:^5.1.4, @libp2p/logger@npm:^5.1.5": + version: 5.1.5 + resolution: "@libp2p/logger@npm:5.1.5" + dependencies: + "@libp2p/interface": "npm:^2.3.0" + "@multiformats/multiaddr": "npm:^12.3.3" + interface-datastore: "npm:^8.3.1" + multiformats: "npm:^13.3.1" + weald: "npm:^1.0.4" + checksum: 10c0/9496aed33532a4f178fef5fcde523573ba05ea2dd310e691e22493536e4fd14bb789c633670277c613340a0ae5e6f6de21a1db53fd18c8ebee3649d96b6a99a1 + languageName: node + linkType: hard + +"@libp2p/multistream-select@npm:^6.0.9": + version: 6.0.10 + resolution: "@libp2p/multistream-select@npm:6.0.10" + dependencies: + "@libp2p/interface": "npm:^2.3.0" + it-length-prefixed: "npm:^9.1.0" + it-length-prefixed-stream: "npm:^1.2.0" + it-stream-types: "npm:^2.0.2" + p-defer: "npm:^4.0.1" + race-signal: "npm:^1.1.0" + uint8-varint: "npm:^2.0.4" + uint8arraylist: "npm:^2.4.8" + uint8arrays: "npm:^5.1.0" + checksum: 10c0/cad7e33ad4d676d16b44f2967b6b36485f650bcca11113460b8511fda40604a6a861ac7872aeafbc15613255f3e1be25e58f8af3efd6ad8f65f02a5a883d4ba8 + languageName: node + linkType: hard + +"@libp2p/peer-collections@npm:^6.0.12, @libp2p/peer-collections@npm:^6.0.13": + version: 6.0.13 + resolution: "@libp2p/peer-collections@npm:6.0.13" + dependencies: + "@libp2p/interface": "npm:^2.3.0" + "@libp2p/peer-id": "npm:^5.0.9" + "@libp2p/utils": "npm:^6.3.0" + multiformats: "npm:^13.3.1" + checksum: 10c0/4faf41d4c8937414b8b33f0a49991f677eb15c7a69d33188032a47367a19078afdb8610875d105d80285674c2607e930b5f375e83349804a78c49f88acab1793 + languageName: node + linkType: hard + +"@libp2p/peer-id@npm:^5.0.0, @libp2p/peer-id@npm:^5.0.8, @libp2p/peer-id@npm:^5.0.9": + version: 5.0.9 + resolution: "@libp2p/peer-id@npm:5.0.9" + dependencies: + "@libp2p/crypto": "npm:^5.0.8" + "@libp2p/interface": "npm:^2.3.0" + multiformats: "npm:^13.3.1" + uint8arrays: "npm:^5.1.0" + checksum: 10c0/bf883a63ad4009fe3349a0e60b3a8f2b7ea1d260cabdfbf5e90d32e31cb269794c18ea184955a9bd7d1a9477ac4ae704adff16283edef89a639f7ab159a1befe + languageName: node + linkType: hard + +"@libp2p/peer-record@npm:^8.0.12, @libp2p/peer-record@npm:^8.0.13": + version: 8.0.13 + resolution: "@libp2p/peer-record@npm:8.0.13" + dependencies: + "@libp2p/crypto": "npm:^5.0.8" + "@libp2p/interface": "npm:^2.3.0" + "@libp2p/peer-id": "npm:^5.0.9" + "@libp2p/utils": "npm:^6.3.0" + "@multiformats/multiaddr": "npm:^12.3.3" + multiformats: "npm:^13.3.1" + protons-runtime: "npm:^5.5.0" + uint8-varint: "npm:^2.0.4" + uint8arraylist: "npm:^2.4.8" + uint8arrays: "npm:^5.1.0" + checksum: 10c0/eea057c572d73e3713d1291f1ee43d33f49cbe9207c93aaec1b281bc28b4c9c6c1723412631560aaa409b4655bfc915765b734abef82806fb82edf9495f17c7b + languageName: node + linkType: hard + +"@libp2p/peer-store@npm:^11.0.12": + version: 11.0.13 + resolution: "@libp2p/peer-store@npm:11.0.13" + dependencies: + "@libp2p/crypto": "npm:^5.0.8" + "@libp2p/interface": "npm:^2.3.0" + "@libp2p/peer-id": "npm:^5.0.9" + "@libp2p/peer-record": "npm:^8.0.13" + "@multiformats/multiaddr": "npm:^12.3.3" + interface-datastore: "npm:^8.3.1" + it-all: "npm:^3.0.6" + mortice: "npm:^3.0.6" + multiformats: "npm:^13.3.1" + protons-runtime: "npm:^5.5.0" + uint8arraylist: "npm:^2.4.8" + uint8arrays: "npm:^5.1.0" + checksum: 10c0/2ac1900886ac26b96c5ed7a26bbbf87ed7e0502bbe7f667727aa7103150435e39d7853934ae32f02d175a5e8af6cc893e3cbcf2e8c3999acd78b122690417330 + languageName: node + linkType: hard + +"@libp2p/ping@npm:2.0.12": + version: 2.0.12 + resolution: "@libp2p/ping@npm:2.0.12" + dependencies: + "@libp2p/crypto": "npm:^5.0.7" + "@libp2p/interface": "npm:^2.2.1" + "@libp2p/interface-internal": "npm:^2.1.1" + "@multiformats/multiaddr": "npm:^12.2.3" + it-byte-stream: "npm:^1.1.0" + uint8arrays: "npm:^5.1.0" + checksum: 10c0/84fe8f1c24dd5d8854cab1f37a9f2582abf1039ac7fc0bea8629e7a066a1555843c8bf1a3e19544b22c36b8f4696edb010c082417593ad9ab54e4bb512daf2fd + languageName: node + linkType: hard + +"@libp2p/tcp@npm:10.0.13": + version: 10.0.13 + resolution: "@libp2p/tcp@npm:10.0.13" + dependencies: + "@libp2p/interface": "npm:^2.2.1" + "@libp2p/utils": "npm:^6.2.1" + "@multiformats/mafmt": "npm:^12.1.6" + "@multiformats/multiaddr": "npm:^12.2.3" + "@types/sinon": "npm:^17.0.3" + p-defer: "npm:^4.0.1" + p-event: "npm:^6.0.1" + progress-events: "npm:^1.0.0" + race-event: "npm:^1.3.0" + stream-to-it: "npm:^1.0.1" + checksum: 10c0/b67c3a5484124e26b0e620e532d02cd058c454f894774703e1d88f4650df8a55cd1e8ed6c63293a7c94d1c0179fb9d967aafc5ae5936a09d129f34ec75d34a28 + languageName: node + linkType: hard + +"@libp2p/utils@npm:^6.0.0, @libp2p/utils@npm:^6.2.1, @libp2p/utils@npm:^6.3.0": + version: 6.3.0 + resolution: "@libp2p/utils@npm:6.3.0" + dependencies: + "@chainsafe/is-ip": "npm:^2.0.2" + "@chainsafe/netmask": "npm:^2.0.0" + "@libp2p/crypto": "npm:^5.0.8" + "@libp2p/interface": "npm:^2.3.0" + "@libp2p/logger": "npm:^5.1.5" + "@multiformats/multiaddr": "npm:^12.3.3" + "@sindresorhus/fnv1a": "npm:^3.1.0" + "@types/murmurhash3js-revisited": "npm:^3.0.3" + any-signal: "npm:^4.1.1" + delay: "npm:^6.0.0" + get-iterator: "npm:^2.0.1" + is-loopback-addr: "npm:^2.0.2" + it-foreach: "npm:^2.1.1" + it-pipe: "npm:^3.0.1" + it-pushable: "npm:^3.2.3" + it-stream-types: "npm:^2.0.2" + murmurhash3js-revisited: "npm:^3.0.0" + netmask: "npm:^2.0.2" + p-defer: "npm:^4.0.1" + race-event: "npm:^1.3.0" + race-signal: "npm:^1.1.0" + uint8arraylist: "npm:^2.4.8" + uint8arrays: "npm:^5.1.0" + checksum: 10c0/16e52bca3aa034c3ced05dc134b61eb9b1a7668d2fb3baa358463aa850efe7139f979d836ca6ec0bf2c823aa11539ac05e6f8e73af4bb345f92f0247ab88ee20 + languageName: node + linkType: hard + "@linaria/core@npm:^4.5.4": version: 4.5.4 resolution: "@linaria/core@npm:4.5.4" @@ -8567,10 +8734,10 @@ __metadata: dependencies: "@babel/core": "npm:7.26.0" "@babel/eslint-parser": "npm:7.25.9" - "@babel/preset-react": "npm:7.25.9" + "@babel/preset-react": "npm:7.26.3" "@local/tsconfig": "npm:0.0.0-private" "@types/eslint": "npm:8.56.12" - "@types/node": "npm:22.10.0" + "@types/node": "npm:22.10.1" "@typescript-eslint/eslint-plugin": "npm:7.2.0" "@typescript-eslint/parser": "npm:7.2.0" eslint: "npm:8.57.0" @@ -8616,23 +8783,35 @@ __metadata: languageName: unknown linkType: soft -"@local/harpc-client@workspace:libs/@local/harpc/client/typescript": +"@local/harpc-client@npm:0.0.0-private, @local/harpc-client@workspace:libs/@local/harpc/client/typescript": version: 0.0.0-use.local resolution: "@local/harpc-client@workspace:libs/@local/harpc/client/typescript" dependencies: - "@effect/platform": "npm:0.69.31" - "@effect/platform-node": "npm:0.64.33" - "@effect/vitest": "npm:0.13.19" + "@chainsafe/libp2p-noise": "npm:16.0.0" + "@chainsafe/libp2p-yamux": "npm:7.0.1" + "@effect/platform": "npm:0.70.4" + "@effect/platform-node": "npm:0.65.4" + "@effect/vitest": "npm:0.14.3" + "@libp2p/crypto": "npm:5.0.7" + "@libp2p/identify": "npm:3.0.12" + "@libp2p/interface": "npm:2.2.1" + "@libp2p/ping": "npm:2.0.12" + "@libp2p/tcp": "npm:10.0.13" "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" + "@multiformats/multiaddr": "npm:12.3.4" "@rust/harpc-wire-protocol": "npm:0.0.0-private" - "@types/node": "npm:22.10.0" - "@vitest/coverage-istanbul": "npm:2.1.6" - effect: "npm:3.10.19" + "@types/node": "npm:22.10.1" + "@vitest/coverage-istanbul": "npm:2.1.8" + effect: "npm:3.11.3" eslint: "npm:9.16.0" + it-stream-types: "npm:2.0.2" + libp2p: "npm:2.3.1" + multiformats: "npm:13.3.1" rimraf: "npm:6.0.1" typescript: "npm:5.6.3" - vitest: "npm:2.1.6" + uint8arraylist: "npm:2.4.8" + vitest: "npm:2.1.8" languageName: unknown linkType: soft @@ -8640,8 +8819,8 @@ __metadata: version: 0.0.0-use.local resolution: "@local/hash-backend-utils@workspace:libs/@local/hash-backend-utils" dependencies: - "@aws-sdk/client-s3": "npm:3.701.0" - "@aws-sdk/s3-request-presigner": "npm:3.701.0" + "@aws-sdk/client-s3": "npm:3.705.0" + "@aws-sdk/s3-request-presigner": "npm:3.705.0" "@blockprotocol/core": "npm:0.1.3" "@blockprotocol/graph": "npm:0.4.0-canary.0" "@blockprotocol/type-system": "npm:0.1.2-canary.0" @@ -8656,19 +8835,19 @@ __metadata: "@local/status": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@opensearch-project/opensearch": "npm:2.13.0" - "@sentry/node": "npm:7.120.0" + "@sentry/node": "npm:7.120.1" "@temporalio/activity": "npm:1.11.5" "@temporalio/client": "npm:1.11.5" "@temporalio/proto": "npm:1.11.5" "@temporalio/worker": "npm:1.11.5" "@temporalio/workflow": "npm:1.11.5" "@types/dotenv-flow": "npm:3.3.3" - "@types/node": "npm:22.10.0" + "@types/node": "npm:22.10.1" "@types/wait-on": "npm:5.3.4" - "@vitest/coverage-istanbul": "npm:2.1.6" + "@vitest/coverage-istanbul": "npm:2.1.8" agentkeepalive: "npm:4.5.0" apollo-datasource: "npm:3.3.2" - axios: "npm:1.7.8" + axios: "npm:1.7.9" dotenv-flow: "npm:3.3.0" eslint: "npm:8.57.0" exponential-backoff: "npm:3.1.1" @@ -8678,7 +8857,7 @@ __metadata: rimraf: "npm:6.0.1" slonik: "npm:24.2.0" typescript: "npm:5.6.3" - vitest: "npm:2.1.6" + vitest: "npm:2.1.8" wait-on: "npm:8.0.1" winston: "npm:3.17.0" languageName: unknown @@ -8690,10 +8869,10 @@ __metadata: dependencies: "@local/tsconfig": "npm:0.0.0-private" "@openapitools/openapi-generator-cli": "npm:2.15.3" - "@redocly/cli": "npm:1.25.14" + "@redocly/cli": "npm:1.25.15" "@rust/hash-graph-api": "npm:0.0.0-private" - "@types/node": "npm:22.10.0" - axios: "npm:1.7.8" + "@types/node": "npm:22.10.1" + axios: "npm:1.7.9" fix-esm-import-path: "npm:1.10.1" rimraf: "npm:6.0.1" typescript: "npm:5.6.3" @@ -8707,14 +8886,16 @@ __metadata: "@blockprotocol/graph": "npm:0.4.0-canary.0" "@local/advanced-types": "npm:0.0.0-private" "@local/eslint": "npm:0.0.0-private" + "@local/harpc-client": "npm:0.0.0-private" "@local/hash-graph-client": "npm:0.0.0-private" "@local/hash-graph-types": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - "@vitest/coverage-istanbul": "npm:2.1.6" + "@vitest/coverage-istanbul": "npm:2.1.8" + effect: "npm:3.11.3" eslint: "npm:9.16.0" rimraf: "npm:6.0.1" typescript: "npm:5.6.3" - vitest: "npm:2.1.6" + vitest: "npm:2.1.8" languageName: unknown linkType: soft @@ -8753,13 +8934,13 @@ __metadata: "@local/hash-graph-types": "npm:0.0.0-private" "@local/hash-subgraph": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - "@sentry/browser": "npm:7.120.0" + "@sentry/browser": "npm:7.120.1" "@sindresorhus/slugify": "npm:1.1.2" "@temporalio/workflow": "npm:1.11.5" "@types/lodash-es": "npm:4.17.12" - "@types/node": "npm:22.10.0" + "@types/node": "npm:22.10.1" "@types/pluralize": "npm:0.0.33" - "@vitest/coverage-istanbul": "npm:2.1.6" + "@vitest/coverage-istanbul": "npm:2.1.8" apollo-server-express: "npm:3.9.0" eslint: "npm:8.57.0" fix-esm-import-path: "npm:1.10.1" @@ -8771,7 +8952,7 @@ __metadata: lodash-es: "npm:4.17.21" next: "npm:13.5.5" pluralize: "npm:8.0.0" - prettier: "npm:3.4.1" + prettier: "npm:3.4.2" prosemirror-commands: "npm:1.3.1" prosemirror-dropcursor: "npm:1.6.1" prosemirror-keymap: "npm:1.2.0" @@ -8785,7 +8966,7 @@ __metadata: tsx: "npm:4.19.2" typescript: "npm:5.6.3" uuid: "npm:9.0.1" - vitest: "npm:2.1.6" + vitest: "npm:2.1.8" languageName: unknown linkType: soft @@ -8801,12 +8982,12 @@ __metadata: "@local/hash-graph-sdk": "npm:0.0.0-private" "@local/hash-graph-types": "npm:0.0.0-private" "@types/uuid": "npm:10.0.0" - "@vitest/coverage-istanbul": "npm:2.1.6" + "@vitest/coverage-istanbul": "npm:2.1.8" eslint: "npm:8.57.0" rimraf: "npm:6.0.1" typescript: "npm:5.6.3" uuid: "npm:9.0.1" - vitest: "npm:2.1.6" + vitest: "npm:2.1.8" languageName: unknown linkType: soft @@ -8816,10 +8997,9 @@ __metadata: dependencies: "@local/eslint-config": "npm:0.0.0-private" "@openapitools/openapi-generator-cli": "npm:2.15.3" - "@types/node": "npm:22.10.0" - axios: "npm:1.7.8" - eslint: "npm:8.57.0" - prettier: "npm:3.4.1" + "@types/node": "npm:22.10.1" + axios: "npm:1.7.9" + prettier: "npm:3.4.2" rimraf: "npm:6.0.1" typescript: "npm:5.6.3" languageName: unknown @@ -8840,7 +9020,7 @@ __metadata: execa: "npm:5.1.1" fs-extra: "npm:11.1.0" globby: "npm:11.1.0" - prettier: "npm:3.4.1" + prettier: "npm:3.4.2" regex-parser: "npm:2.3.0" tsx: "npm:4.19.2" typescript: "npm:5.6.3" @@ -8854,7 +9034,7 @@ __metadata: "@local/eslint-config": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@types/lodash-es": "npm:4.17.12" - "@types/node": "npm:22.10.0" + "@types/node": "npm:22.10.1" "@types/yargs": "npm:17.0.33" eslint: "npm:8.57.0" execa: "npm:5.1.1" @@ -9169,19 +9349,26 @@ __metadata: languageName: node linkType: hard -"@mui/icons-material@npm:5.16.7": - version: 5.16.7 - resolution: "@mui/icons-material@npm:5.16.7" +"@mui/core-downloads-tracker@npm:^5.16.9": + version: 5.16.9 + resolution: "@mui/core-downloads-tracker@npm:5.16.9" + checksum: 10c0/73774e9dcf7c8549759ae5ebfe5d87761cecb8477f0624ac051e26f9cdb110167a39bd93ce119caf2620f5991af3cbf2865e0cb380d783c6ec109c4c3d563396 + languageName: node + linkType: hard + +"@mui/icons-material@npm:5.16.9": + version: 5.16.9 + resolution: "@mui/icons-material@npm:5.16.9" dependencies: "@babel/runtime": "npm:^7.23.9" peerDependencies: "@mui/material": ^5.0.0 - "@types/react": ^17.0.0 || ^18.0.0 - react: ^17.0.0 || ^18.0.0 + "@types/react": ^17.0.0 || ^18.0.0 || ^19.0.0 + react: ^17.0.0 || ^18.0.0 || ^19.0.0 peerDependenciesMeta: "@types/react": optional: true - checksum: 10c0/49bab1754334798acaf93187d27200cf90d7c50b6a019531594aeac9e5ced9168281fec70bb040792dc86c8bc0d3bf9a876f22cfbf86ad07941ca6bc6c564921 + checksum: 10c0/30a4901367ef6df6b1d92315be5e8ac47300aeea924a95b3590081bef62d7f42d9b71773c4022c3f36b70c9abb52ba099899e95a8b23e8bbafb04748d9eec501 languageName: node linkType: hard @@ -9218,7 +9405,40 @@ __metadata: languageName: node linkType: hard -"@mui/material@npm:5.16.7, @mui/material@npm:^5.0.0, @mui/material@npm:^5.10.4": +"@mui/material@npm:5.16.9": + version: 5.16.9 + resolution: "@mui/material@npm:5.16.9" + dependencies: + "@babel/runtime": "npm:^7.23.9" + "@mui/core-downloads-tracker": "npm:^5.16.9" + "@mui/system": "npm:^5.16.8" + "@mui/types": "npm:^7.2.15" + "@mui/utils": "npm:^5.16.8" + "@popperjs/core": "npm:^2.11.8" + "@types/react-transition-group": "npm:^4.4.10" + clsx: "npm:^2.1.0" + csstype: "npm:^3.1.3" + prop-types: "npm:^15.8.1" + react-is: "npm:^18.3.1" + react-transition-group: "npm:^4.4.5" + peerDependencies: + "@emotion/react": ^11.5.0 + "@emotion/styled": ^11.3.0 + "@types/react": ^17.0.0 || ^18.0.0 || ^19.0.0 + react: ^17.0.0 || ^18.0.0 || ^19.0.0 + react-dom: ^17.0.0 || ^18.0.0 || ^19.0.0 + peerDependenciesMeta: + "@emotion/react": + optional: true + "@emotion/styled": + optional: true + "@types/react": + optional: true + checksum: 10c0/b6d3d9c7449f2a496d0589ae7da1186328fa41d0bd57256ee90071bb9d650c5933041c07769cd13f756a9274cdd9e47c4ac4fa323a7652bb74f1c03ad2217670 + languageName: node + linkType: hard + +"@mui/material@npm:^5.0.0, @mui/material@npm:^5.10.4": version: 5.16.7 resolution: "@mui/material@npm:5.16.7" dependencies: @@ -9268,6 +9488,23 @@ __metadata: languageName: node linkType: hard +"@mui/private-theming@npm:^5.16.8": + version: 5.16.8 + resolution: "@mui/private-theming@npm:5.16.8" + dependencies: + "@babel/runtime": "npm:^7.23.9" + "@mui/utils": "npm:^5.16.8" + prop-types: "npm:^15.8.1" + peerDependencies: + "@types/react": ^17.0.0 || ^18.0.0 || ^19.0.0 + react: ^17.0.0 || ^18.0.0 || ^19.0.0 + peerDependenciesMeta: + "@types/react": + optional: true + checksum: 10c0/737e6930be1dbd1dff01702e6583b8a507ca01a4a0ec140d766985b7ebaf8c444d78da52cdada89989728be444d4cd13509ba8950c4397af87c4fc8c8162741b + languageName: node + linkType: hard + "@mui/styled-engine@npm:^5.16.6": version: 5.16.6 resolution: "@mui/styled-engine@npm:5.16.6" @@ -9289,7 +9526,56 @@ __metadata: languageName: node linkType: hard -"@mui/system@npm:5.16.7, @mui/system@npm:^5.11.8, @mui/system@npm:^5.16.7": +"@mui/styled-engine@npm:^5.16.8": + version: 5.16.8 + resolution: "@mui/styled-engine@npm:5.16.8" + dependencies: + "@babel/runtime": "npm:^7.23.9" + "@emotion/cache": "npm:^11.11.0" + csstype: "npm:^3.1.3" + prop-types: "npm:^15.8.1" + peerDependencies: + "@emotion/react": ^11.4.1 + "@emotion/styled": ^11.3.0 + react: ^17.0.0 || ^18.0.0 || ^19.0.0 + peerDependenciesMeta: + "@emotion/react": + optional: true + "@emotion/styled": + optional: true + checksum: 10c0/9c1866cf94fed61013324458be623f2de0c0cb6be065730c12441e798172a08389524b4b011c9e5a120bcc50c07cc7a835d365bd75a8b60f9a553d1de9c8af20 + languageName: node + linkType: hard + +"@mui/system@npm:5.16.8, @mui/system@npm:^5.16.8": + version: 5.16.8 + resolution: "@mui/system@npm:5.16.8" + dependencies: + "@babel/runtime": "npm:^7.23.9" + "@mui/private-theming": "npm:^5.16.8" + "@mui/styled-engine": "npm:^5.16.8" + "@mui/types": "npm:^7.2.15" + "@mui/utils": "npm:^5.16.8" + clsx: "npm:^2.1.0" + csstype: "npm:^3.1.3" + prop-types: "npm:^15.8.1" + peerDependencies: + "@emotion/react": ^11.5.0 + "@emotion/styled": ^11.3.0 + "@types/react": ^17.0.0 || ^18.0.0 || ^19.0.0 + react: ^17.0.0 || ^18.0.0 || ^19.0.0 + peerDependenciesMeta: + "@emotion/react": + optional: true + "@emotion/styled": + optional: true + "@types/react": + optional: true + checksum: 10c0/9b950b606fb8dd3ca4a737c2d945e0b7b30236d3857977ffc6e0dd9bc0781e00693b3690fcc80d595a6e0ad21a36cab5ed1f64df7a3217e0b033d961d91a7e51 + languageName: node + linkType: hard + +"@mui/system@npm:^5.11.8, @mui/system@npm:^5.16.7": version: 5.16.7 resolution: "@mui/system@npm:5.16.7" dependencies: @@ -9349,6 +9635,75 @@ __metadata: languageName: node linkType: hard +"@mui/utils@npm:^5.16.8": + version: 5.16.8 + resolution: "@mui/utils@npm:5.16.8" + dependencies: + "@babel/runtime": "npm:^7.23.9" + "@mui/types": "npm:^7.2.15" + "@types/prop-types": "npm:^15.7.12" + clsx: "npm:^2.1.1" + prop-types: "npm:^15.8.1" + react-is: "npm:^18.3.1" + peerDependencies: + "@types/react": ^17.0.0 || ^18.0.0 || ^19.0.0 + react: ^17.0.0 || ^18.0.0 || ^19.0.0 + peerDependenciesMeta: + "@types/react": + optional: true + checksum: 10c0/86a1daf249a1dc766c0babe439c6874e092ce8239bdd67a57e81fc349934bdee0c98ee1833b282286847ffc16966edff88d9e2a47ac98577fb1010245191888a + languageName: node + linkType: hard + +"@multiformats/dns@npm:^1.0.3, @multiformats/dns@npm:^1.0.6": + version: 1.0.6 + resolution: "@multiformats/dns@npm:1.0.6" + dependencies: + "@types/dns-packet": "npm:^5.6.5" + buffer: "npm:^6.0.3" + dns-packet: "npm:^5.6.1" + hashlru: "npm:^2.3.0" + p-queue: "npm:^8.0.1" + progress-events: "npm:^1.0.0" + uint8arrays: "npm:^5.0.2" + checksum: 10c0/ab0323ec9e697fb345a47b68e9e6ee5e2def2f00e99467ac6c53c9b6f613cff2dc2b792e9270cfe385500b6cdcc565a1c6e6e7871c584a6bc49366441bc4fa7f + languageName: node + linkType: hard + +"@multiformats/mafmt@npm:^12.1.6": + version: 12.1.6 + resolution: "@multiformats/mafmt@npm:12.1.6" + dependencies: + "@multiformats/multiaddr": "npm:^12.0.0" + checksum: 10c0/aedae1275263b7350afdd8581b337c803420aee116fdd537f1ec0160b8333d58b51c19c45dcdf9a82c0188064c8aa0ce8f1a16bb7130a17f3b5b4d53177fe6da + languageName: node + linkType: hard + +"@multiformats/multiaddr-matcher@npm:^1.2.1": + version: 1.6.0 + resolution: "@multiformats/multiaddr-matcher@npm:1.6.0" + dependencies: + "@chainsafe/is-ip": "npm:^2.0.1" + "@multiformats/multiaddr": "npm:^12.0.0" + multiformats: "npm:^13.0.0" + checksum: 10c0/32d5f3264816452a71825848f74ebd67b8baef5bdf2337fb3caa1a280e572a60cadcf6d7d2f7031194bd126668fee5d00bed24fbc0ca77894eb5bdfeadc118b7 + languageName: node + linkType: hard + +"@multiformats/multiaddr@npm:12.3.4, @multiformats/multiaddr@npm:^12.0.0, @multiformats/multiaddr@npm:^12.2.3, @multiformats/multiaddr@npm:^12.3.3": + version: 12.3.4 + resolution: "@multiformats/multiaddr@npm:12.3.4" + dependencies: + "@chainsafe/is-ip": "npm:^2.0.1" + "@chainsafe/netmask": "npm:^2.0.0" + "@multiformats/dns": "npm:^1.0.3" + multiformats: "npm:^13.0.0" + uint8-varint: "npm:^2.0.1" + uint8arrays: "npm:^5.0.0" + checksum: 10c0/0fd1522e5e6e7ab5aa288188b33f958c866f32c754e8ad9270b232ee0842282a4572c15a7fd5480e7c35c237b53ab19862129a87acbf09aa38ea47a5619ae700 + languageName: node + linkType: hard + "@ndelangen/get-tarball@npm:^3.0.7": version: 3.0.9 resolution: "@ndelangen/get-tarball@npm:3.0.9" @@ -9597,6 +9952,36 @@ __metadata: languageName: node linkType: hard +"@noble/ciphers@npm:^0.6.0": + version: 0.6.0 + resolution: "@noble/ciphers@npm:0.6.0" + checksum: 10c0/840900243306dbf4caad942d518dc215bbe83e4daf6385d9294e76ea39b0834ba21591271cf2dd5cc5e64f96f98cdb967065b75e804b0b338b10ed50415ea64e + languageName: node + linkType: hard + +"@noble/curves@npm:^1.1.0, @noble/curves@npm:^1.4.0, @noble/curves@npm:^1.7.0": + version: 1.7.0 + resolution: "@noble/curves@npm:1.7.0" + dependencies: + "@noble/hashes": "npm:1.6.0" + checksum: 10c0/3317ec9b7699d2476707a89ceb3ddce60e69bac287561a31dd533669408633e093860fea5067eb9c54e5a7ced0705da1cba8859b6b1e0c48d3afff55fe2e77d0 + languageName: node + linkType: hard + +"@noble/hashes@npm:1.6.0": + version: 1.6.0 + resolution: "@noble/hashes@npm:1.6.0" + checksum: 10c0/e7e75898257fb36d933935fcdf1cc67ca7c083eb7b2411aa57fde7eb494c2cea0bec03686462032e25d5b0e1e4ab7357d1afb6718f6a68515db1f392141e9f14 + languageName: node + linkType: hard + +"@noble/hashes@npm:^1.3.1, @noble/hashes@npm:^1.4.0, @noble/hashes@npm:^1.6.1": + version: 1.6.1 + resolution: "@noble/hashes@npm:1.6.1" + checksum: 10c0/27643cd8b551bc933b57cc29aa8c8763d586552fc4c3e06ecf7897f55be3463c0c9dff7f6ebacd88e5ce6d0cdb5415ca4874d0cf4359b5ea4a85be21ada03aab + languageName: node + linkType: hard + "@nodelib/fs.scandir@npm:2.1.5": version: 2.1.5 resolution: "@nodelib/fs.scandir@npm:2.1.5" @@ -9854,12 +10239,12 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/api-logs@npm:0.55.0": - version: 0.55.0 - resolution: "@opentelemetry/api-logs@npm:0.55.0" +"@opentelemetry/api-logs@npm:0.56.0": + version: 0.56.0 + resolution: "@opentelemetry/api-logs@npm:0.56.0" dependencies: "@opentelemetry/api": "npm:^1.3.0" - checksum: 10c0/9de1601939df121828ed8c48fa2cd923df9d471ef53ca7345a809ff1a940d3541efb64d2adada123b9a7f7feafb1d2acc59fa70e30dc3c3261a17b351c1309c3 + checksum: 10c0/af78b5534fd8f93edc23811349c88acf9e7cc2c7d94f58a2b58f70016f97aaa80878096c46283fdb53fb7375df83f1a048ac8d5f52b3dc1c98a2184c3a5d50ff languageName: node linkType: hard @@ -9870,7 +10255,16 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/context-async-hooks@npm:1.28.0, @opentelemetry/context-async-hooks@npm:^1.17.1": +"@opentelemetry/context-async-hooks@npm:1.29.0": + version: 1.29.0 + resolution: "@opentelemetry/context-async-hooks@npm:1.29.0" + peerDependencies: + "@opentelemetry/api": ">=1.0.0 <1.10.0" + checksum: 10c0/f7b5c6b4cad60021a0f7815016fda1b4b8d364348ecfa7e04fe07dfe9af90caaf4065fa5f9169a65f28b71aaf961672eed3849c42cd6484a9051dec0e5c9de5c + languageName: node + linkType: hard + +"@opentelemetry/context-async-hooks@npm:^1.17.1": version: 1.28.0 resolution: "@opentelemetry/context-async-hooks@npm:1.28.0" peerDependencies: @@ -9890,149 +10284,174 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/exporter-logs-otlp-grpc@npm:0.55.0": - version: 0.55.0 - resolution: "@opentelemetry/exporter-logs-otlp-grpc@npm:0.55.0" +"@opentelemetry/core@npm:1.29.0": + version: 1.29.0 + resolution: "@opentelemetry/core@npm:1.29.0" + dependencies: + "@opentelemetry/semantic-conventions": "npm:1.28.0" + peerDependencies: + "@opentelemetry/api": ">=1.0.0 <1.10.0" + checksum: 10c0/393fa276262ecc0e7bd7db5f507a2118df0725afab0cea1cb071b8d0ec879c08d9d163a83bb13f77a6bd0ad0cb66094856eb19caf225da32d3b1767156105d26 + languageName: node + linkType: hard + +"@opentelemetry/exporter-logs-otlp-grpc@npm:0.56.0": + version: 0.56.0 + resolution: "@opentelemetry/exporter-logs-otlp-grpc@npm:0.56.0" dependencies: "@grpc/grpc-js": "npm:^1.7.1" - "@opentelemetry/core": "npm:1.28.0" - "@opentelemetry/otlp-grpc-exporter-base": "npm:0.55.0" - "@opentelemetry/otlp-transformer": "npm:0.55.0" - "@opentelemetry/sdk-logs": "npm:0.55.0" + "@opentelemetry/core": "npm:1.29.0" + "@opentelemetry/otlp-grpc-exporter-base": "npm:0.56.0" + "@opentelemetry/otlp-transformer": "npm:0.56.0" + "@opentelemetry/sdk-logs": "npm:0.56.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/9128ddf91a96fcec9bc916d027089eb09dff9061d7f8a85263182dcdfd139b412567871fe63ab9a84b6fb72eafd44d7fd05919b75f1d97baee4cb9505950f61f + checksum: 10c0/464bc15c6f1e237d29719ce884cbbc5f8708b4c274bc9e1998dfb4b0920aa67f6152fa19c31b510c14a5e4d9f226fc36bd7f324957b9e61c40cf39681c5ce796 languageName: node linkType: hard -"@opentelemetry/exporter-logs-otlp-http@npm:0.55.0": - version: 0.55.0 - resolution: "@opentelemetry/exporter-logs-otlp-http@npm:0.55.0" +"@opentelemetry/exporter-logs-otlp-http@npm:0.56.0": + version: 0.56.0 + resolution: "@opentelemetry/exporter-logs-otlp-http@npm:0.56.0" dependencies: - "@opentelemetry/api-logs": "npm:0.55.0" - "@opentelemetry/core": "npm:1.28.0" - "@opentelemetry/otlp-exporter-base": "npm:0.55.0" - "@opentelemetry/otlp-transformer": "npm:0.55.0" - "@opentelemetry/sdk-logs": "npm:0.55.0" + "@opentelemetry/api-logs": "npm:0.56.0" + "@opentelemetry/core": "npm:1.29.0" + "@opentelemetry/otlp-exporter-base": "npm:0.56.0" + "@opentelemetry/otlp-transformer": "npm:0.56.0" + "@opentelemetry/sdk-logs": "npm:0.56.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/c451c59b4b502f8d0cb7a034fea16523b9a4f187e05dfc0eb5ea8be81679c3bb8084a2a2e530516db8cc8dbf1e08ae28a8c1fc5ab827a6b85f187b35c24b6c6d + checksum: 10c0/cfb7b90b6534f54632949139935a43d374e49ca70e05a84fc5fa157b5f5ced5357fbe8908221b56cb5e477a34fc57457774531b70023bb4002168bbff9dbb1ab languageName: node linkType: hard -"@opentelemetry/exporter-logs-otlp-proto@npm:0.55.0": - version: 0.55.0 - resolution: "@opentelemetry/exporter-logs-otlp-proto@npm:0.55.0" +"@opentelemetry/exporter-logs-otlp-proto@npm:0.56.0": + version: 0.56.0 + resolution: "@opentelemetry/exporter-logs-otlp-proto@npm:0.56.0" dependencies: - "@opentelemetry/api-logs": "npm:0.55.0" - "@opentelemetry/core": "npm:1.28.0" - "@opentelemetry/otlp-exporter-base": "npm:0.55.0" - "@opentelemetry/otlp-transformer": "npm:0.55.0" - "@opentelemetry/resources": "npm:1.28.0" - "@opentelemetry/sdk-logs": "npm:0.55.0" - "@opentelemetry/sdk-trace-base": "npm:1.28.0" + "@opentelemetry/api-logs": "npm:0.56.0" + "@opentelemetry/core": "npm:1.29.0" + "@opentelemetry/otlp-exporter-base": "npm:0.56.0" + "@opentelemetry/otlp-transformer": "npm:0.56.0" + "@opentelemetry/resources": "npm:1.29.0" + "@opentelemetry/sdk-logs": "npm:0.56.0" + "@opentelemetry/sdk-trace-base": "npm:1.29.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/0f6ca147dbefba1b81a80d49b4f1bd7e9c46cac1201bb7e93265339756ae628118d8048ebc00521d8dd5a397eae052059e4181ee9f7a2867ea1780406ccf71d4 + checksum: 10c0/4f1f18318f12186bebc7aa4c896c8f4286c772a7f6035d6f905296c9ccfdd5bb1379c6b6492d7d29e675e4f05090de3d1a3b9c93359909c4c5a76e1254972af5 languageName: node linkType: hard -"@opentelemetry/exporter-metrics-otlp-grpc@npm:0.55.0": - version: 0.55.0 - resolution: "@opentelemetry/exporter-metrics-otlp-grpc@npm:0.55.0" +"@opentelemetry/exporter-metrics-otlp-grpc@npm:0.56.0": + version: 0.56.0 + resolution: "@opentelemetry/exporter-metrics-otlp-grpc@npm:0.56.0" dependencies: "@grpc/grpc-js": "npm:^1.7.1" - "@opentelemetry/core": "npm:1.28.0" - "@opentelemetry/exporter-metrics-otlp-http": "npm:0.55.0" - "@opentelemetry/otlp-exporter-base": "npm:0.55.0" - "@opentelemetry/otlp-grpc-exporter-base": "npm:0.55.0" - "@opentelemetry/otlp-transformer": "npm:0.55.0" - "@opentelemetry/resources": "npm:1.28.0" - "@opentelemetry/sdk-metrics": "npm:1.28.0" + "@opentelemetry/core": "npm:1.29.0" + "@opentelemetry/exporter-metrics-otlp-http": "npm:0.56.0" + "@opentelemetry/otlp-exporter-base": "npm:0.56.0" + "@opentelemetry/otlp-grpc-exporter-base": "npm:0.56.0" + "@opentelemetry/otlp-transformer": "npm:0.56.0" + "@opentelemetry/resources": "npm:1.29.0" + "@opentelemetry/sdk-metrics": "npm:1.29.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/6cdbc4d3453ec0a87e33b0f8badb7044878232c4b6f08f9b45abf34e48575edfe437c66604eba3e23550693f191cb9195acfb11b34c903045d94512482fd78fb + checksum: 10c0/220e50022dc9ade1135493cce83515b331ee7ad421f80d2c0f91743fada52cc5428d3323cdfc4f360b7aa65421482d3b41141f63646faa0a0177731d4b2c2dff languageName: node linkType: hard -"@opentelemetry/exporter-metrics-otlp-http@npm:0.55.0": - version: 0.55.0 - resolution: "@opentelemetry/exporter-metrics-otlp-http@npm:0.55.0" +"@opentelemetry/exporter-metrics-otlp-http@npm:0.56.0": + version: 0.56.0 + resolution: "@opentelemetry/exporter-metrics-otlp-http@npm:0.56.0" dependencies: - "@opentelemetry/core": "npm:1.28.0" - "@opentelemetry/otlp-exporter-base": "npm:0.55.0" - "@opentelemetry/otlp-transformer": "npm:0.55.0" - "@opentelemetry/resources": "npm:1.28.0" - "@opentelemetry/sdk-metrics": "npm:1.28.0" + "@opentelemetry/core": "npm:1.29.0" + "@opentelemetry/otlp-exporter-base": "npm:0.56.0" + "@opentelemetry/otlp-transformer": "npm:0.56.0" + "@opentelemetry/resources": "npm:1.29.0" + "@opentelemetry/sdk-metrics": "npm:1.29.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/6e6fa7224336c64af569e56a3a92c3593ba3588b0a698aecba30fc52ae8af3922fec78df6ff840c6e3ab9cb42c5344f013d86b15efd56052d04c725bd444b084 + checksum: 10c0/a93e79c5e7e4279c774353fa611a42400600540acda93538d342d98aad786c8ed210d92acb644f467f60737091ffd7c05941d9ed4b633cfb4b19582cdcb900a8 languageName: node linkType: hard -"@opentelemetry/exporter-metrics-otlp-proto@npm:0.55.0": - version: 0.55.0 - resolution: "@opentelemetry/exporter-metrics-otlp-proto@npm:0.55.0" +"@opentelemetry/exporter-metrics-otlp-proto@npm:0.56.0": + version: 0.56.0 + resolution: "@opentelemetry/exporter-metrics-otlp-proto@npm:0.56.0" dependencies: - "@opentelemetry/core": "npm:1.28.0" - "@opentelemetry/exporter-metrics-otlp-http": "npm:0.55.0" - "@opentelemetry/otlp-exporter-base": "npm:0.55.0" - "@opentelemetry/otlp-transformer": "npm:0.55.0" - "@opentelemetry/resources": "npm:1.28.0" - "@opentelemetry/sdk-metrics": "npm:1.28.0" + "@opentelemetry/core": "npm:1.29.0" + "@opentelemetry/exporter-metrics-otlp-http": "npm:0.56.0" + "@opentelemetry/otlp-exporter-base": "npm:0.56.0" + "@opentelemetry/otlp-transformer": "npm:0.56.0" + "@opentelemetry/resources": "npm:1.29.0" + "@opentelemetry/sdk-metrics": "npm:1.29.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/9a245e2bfb93ee508bd12a72f0f6cf4147725aacaa50763823599aecddcaa78964089ba84ad08567193acbfcd33ca6b41a8ad5abbc953ad9de0f146b469b4294 + checksum: 10c0/c873df00daf48733aa5f2d6cba30a1edd5866cf08e4bfacea64b4f1d75633087cb5082729c42b73c6f40d38180f558b4309b4b81004b6d5137e487f51540523d languageName: node linkType: hard -"@opentelemetry/exporter-trace-otlp-grpc@npm:0.55.0": - version: 0.55.0 - resolution: "@opentelemetry/exporter-trace-otlp-grpc@npm:0.55.0" +"@opentelemetry/exporter-trace-otlp-grpc@npm:0.56.0": + version: 0.56.0 + resolution: "@opentelemetry/exporter-trace-otlp-grpc@npm:0.56.0" dependencies: "@grpc/grpc-js": "npm:^1.7.1" - "@opentelemetry/core": "npm:1.28.0" - "@opentelemetry/otlp-grpc-exporter-base": "npm:0.55.0" - "@opentelemetry/otlp-transformer": "npm:0.55.0" - "@opentelemetry/resources": "npm:1.28.0" - "@opentelemetry/sdk-trace-base": "npm:1.28.0" + "@opentelemetry/core": "npm:1.29.0" + "@opentelemetry/otlp-grpc-exporter-base": "npm:0.56.0" + "@opentelemetry/otlp-transformer": "npm:0.56.0" + "@opentelemetry/resources": "npm:1.29.0" + "@opentelemetry/sdk-trace-base": "npm:1.29.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/5b6f2821055179ba6b1d9a2fcf6e477890ec7cf9a778e6574ed2cec841df1e27bee5dee0059f91d25ea8200532c22accd063272f9f5f65d6613036480de1ab21 + checksum: 10c0/4a9a1a454bec714dbe14dfe2a248d649e19882200c88de7c53404ff063aff11356ec0fefd099b439f27de71c4c14db532609a7f9ee3e55a285e0d451dcaf6497 languageName: node linkType: hard -"@opentelemetry/exporter-trace-otlp-http@npm:0.55.0": - version: 0.55.0 - resolution: "@opentelemetry/exporter-trace-otlp-http@npm:0.55.0" +"@opentelemetry/exporter-trace-otlp-http@npm:0.56.0": + version: 0.56.0 + resolution: "@opentelemetry/exporter-trace-otlp-http@npm:0.56.0" dependencies: - "@opentelemetry/core": "npm:1.28.0" - "@opentelemetry/otlp-exporter-base": "npm:0.55.0" - "@opentelemetry/otlp-transformer": "npm:0.55.0" - "@opentelemetry/resources": "npm:1.28.0" - "@opentelemetry/sdk-trace-base": "npm:1.28.0" + "@opentelemetry/core": "npm:1.29.0" + "@opentelemetry/otlp-exporter-base": "npm:0.56.0" + "@opentelemetry/otlp-transformer": "npm:0.56.0" + "@opentelemetry/resources": "npm:1.29.0" + "@opentelemetry/sdk-trace-base": "npm:1.29.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/3a64cdd70f5b3e0d21705114593b5e8528e6cda4fd8f68243dc02c059db823d2ce6e3c1d9d50a3028c9065a827caaf3aeb4e5eaecafd03875633e18c0a44b730 + checksum: 10c0/2e606f25312d435e48a3e221cb26ac791f789ba68fa441dae83c0f8dd4bda22964a5cf75d39b548ae482a641f552332948010f782dfc6fe1641157a8b4ef02b0 languageName: node linkType: hard -"@opentelemetry/exporter-trace-otlp-proto@npm:0.55.0": - version: 0.55.0 - resolution: "@opentelemetry/exporter-trace-otlp-proto@npm:0.55.0" +"@opentelemetry/exporter-trace-otlp-proto@npm:0.56.0": + version: 0.56.0 + resolution: "@opentelemetry/exporter-trace-otlp-proto@npm:0.56.0" dependencies: - "@opentelemetry/core": "npm:1.28.0" - "@opentelemetry/otlp-exporter-base": "npm:0.55.0" - "@opentelemetry/otlp-transformer": "npm:0.55.0" - "@opentelemetry/resources": "npm:1.28.0" - "@opentelemetry/sdk-trace-base": "npm:1.28.0" + "@opentelemetry/core": "npm:1.29.0" + "@opentelemetry/otlp-exporter-base": "npm:0.56.0" + "@opentelemetry/otlp-transformer": "npm:0.56.0" + "@opentelemetry/resources": "npm:1.29.0" + "@opentelemetry/sdk-trace-base": "npm:1.29.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/d66034bcab3782f056c35e5664fc915d55d776deb105e6eb8c9eab06036d19642608a43477818c5997cdcea245e65fcf9ee066827639a35a9a8d74e772cd9d6f + checksum: 10c0/aeda673934a2958fbed3da7ee0725ae61d97398ff7d9fb6f0b19ee8e520cae01c73918a423136ced6f92dc0159ba805453c3005c89571f0b1c7db7b07d67e190 languageName: node linkType: hard -"@opentelemetry/exporter-zipkin@npm:1.28.0, @opentelemetry/exporter-zipkin@npm:^1.15.2": +"@opentelemetry/exporter-zipkin@npm:1.29.0": + version: 1.29.0 + resolution: "@opentelemetry/exporter-zipkin@npm:1.29.0" + dependencies: + "@opentelemetry/core": "npm:1.29.0" + "@opentelemetry/resources": "npm:1.29.0" + "@opentelemetry/sdk-trace-base": "npm:1.29.0" + "@opentelemetry/semantic-conventions": "npm:1.28.0" + peerDependencies: + "@opentelemetry/api": ^1.0.0 + checksum: 10c0/13815933699035aba7d90750cebbe02894be36680e945c33e92e2044da9be2315289c786bd98b606cae6bdc818ce4951a0661bd97c99648b6b4637e76a3c63d6 + languageName: node + linkType: hard + +"@opentelemetry/exporter-zipkin@npm:^1.15.2": version: 1.28.0 resolution: "@opentelemetry/exporter-zipkin@npm:1.28.0" dependencies: @@ -10046,50 +10465,50 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/instrumentation-express@npm:0.45.0": - version: 0.45.0 - resolution: "@opentelemetry/instrumentation-express@npm:0.45.0" +"@opentelemetry/instrumentation-express@npm:0.46.0": + version: 0.46.0 + resolution: "@opentelemetry/instrumentation-express@npm:0.46.0" dependencies: "@opentelemetry/core": "npm:^1.8.0" - "@opentelemetry/instrumentation": "npm:^0.55.0" + "@opentelemetry/instrumentation": "npm:^0.56.0" "@opentelemetry/semantic-conventions": "npm:^1.27.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/1546a21a24fc957c2bd20d72100aa3db1a95760a73dbff4fe3b25059231c7a26715a637339ef6efa6bac2aa5134fdd42142b6e905c932c2c5e5df5c63f30a477 + checksum: 10c0/a43820542a8bc6042e70e229f3658f85fdb2a9f9c207542b232380908065979b5eb6e67a3b7a32e962ac6b70a4a622f1d675d6fc3b88f59a66083ff995141c75 languageName: node linkType: hard -"@opentelemetry/instrumentation-graphql@npm:0.45.0": - version: 0.45.0 - resolution: "@opentelemetry/instrumentation-graphql@npm:0.45.0" +"@opentelemetry/instrumentation-graphql@npm:0.46.0": + version: 0.46.0 + resolution: "@opentelemetry/instrumentation-graphql@npm:0.46.0" dependencies: - "@opentelemetry/instrumentation": "npm:^0.55.0" + "@opentelemetry/instrumentation": "npm:^0.56.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/604911d280babae9c24bdd6ffac821a5859a3c2c6bc76a77f651f9de38f428781126476ec7d828211e185e9081d7828dfb149b87a28324c26b5e56cda885a311 + checksum: 10c0/d5b00b258a883bb0386905a298c8af6bfb3e67a24d53c1c994b396427e82cb075a86a25291477d08fca1a8ebc39d49bf85df3b4dbfc46b88c0fadf15d5de3794 languageName: node linkType: hard -"@opentelemetry/instrumentation-http@npm:0.55.0": - version: 0.55.0 - resolution: "@opentelemetry/instrumentation-http@npm:0.55.0" +"@opentelemetry/instrumentation-http@npm:0.56.0": + version: 0.56.0 + resolution: "@opentelemetry/instrumentation-http@npm:0.56.0" dependencies: - "@opentelemetry/core": "npm:1.28.0" - "@opentelemetry/instrumentation": "npm:0.55.0" - "@opentelemetry/semantic-conventions": "npm:1.27.0" + "@opentelemetry/core": "npm:1.29.0" + "@opentelemetry/instrumentation": "npm:0.56.0" + "@opentelemetry/semantic-conventions": "npm:1.28.0" forwarded-parse: "npm:2.1.2" semver: "npm:^7.5.2" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/ee760160e4e67557388b2137b1c485985c38e06cbc7ee341ddde12cb844ee755f7dae69247f4a8757f10269492c500c746d31fdd39bfdee52c94e163e3b17512 + checksum: 10c0/b225252476ad049f888b45e03c4b2ce3ccb68e0b226049090eefa4e20b3859abfb84daede4562f75d2c3820a1351400ee996cf89e2665a91209e920d711f2e49 languageName: node linkType: hard -"@opentelemetry/instrumentation@npm:0.55.0, @opentelemetry/instrumentation@npm:^0.55.0": - version: 0.55.0 - resolution: "@opentelemetry/instrumentation@npm:0.55.0" +"@opentelemetry/instrumentation@npm:0.56.0, @opentelemetry/instrumentation@npm:^0.56.0": + version: 0.56.0 + resolution: "@opentelemetry/instrumentation@npm:0.56.0" dependencies: - "@opentelemetry/api-logs": "npm:0.55.0" + "@opentelemetry/api-logs": "npm:0.56.0" "@types/shimmer": "npm:^1.2.0" import-in-the-middle: "npm:^1.8.1" require-in-the-middle: "npm:^7.1.1" @@ -10097,72 +10516,72 @@ __metadata: shimmer: "npm:^1.2.1" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/c1175c63ecd3940a14176f5db89c48bcb64e9a7a366db70d3560913ccf624f6629fc91eb4ff3b6d5208e36df416bb14b5d87dbce5975c23e174c0191f54d06ab + checksum: 10c0/31c79f2cfe832c42dd7892b248d474dc6fac134f3ff58faea746abf1b25a5127c4a8608296792bf8ed9c838a1eb0384bf2f51a5123f6569033e346733476e7c9 languageName: node linkType: hard -"@opentelemetry/otlp-exporter-base@npm:0.55.0": - version: 0.55.0 - resolution: "@opentelemetry/otlp-exporter-base@npm:0.55.0" +"@opentelemetry/otlp-exporter-base@npm:0.56.0": + version: 0.56.0 + resolution: "@opentelemetry/otlp-exporter-base@npm:0.56.0" dependencies: - "@opentelemetry/core": "npm:1.28.0" - "@opentelemetry/otlp-transformer": "npm:0.55.0" + "@opentelemetry/core": "npm:1.29.0" + "@opentelemetry/otlp-transformer": "npm:0.56.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/716a845b7e3f58e37a76adb3838f54da409352e7dd9c44fa5727dc952985ce7e4b9ee96bc52f6a762d2f38c6ca60d36a85afd82cabf55dcd2cc86cb252b4170b + checksum: 10c0/1c7062bf9edf2a012826341a41fe7bd03b03835a3dc5be5a43a85f5d5ad5d474a3f9241e12906cf9454df6e10f8039d97b21645afdc5f1fb3f55b371a1ed9bd6 languageName: node linkType: hard -"@opentelemetry/otlp-grpc-exporter-base@npm:0.55.0": - version: 0.55.0 - resolution: "@opentelemetry/otlp-grpc-exporter-base@npm:0.55.0" +"@opentelemetry/otlp-grpc-exporter-base@npm:0.56.0": + version: 0.56.0 + resolution: "@opentelemetry/otlp-grpc-exporter-base@npm:0.56.0" dependencies: "@grpc/grpc-js": "npm:^1.7.1" - "@opentelemetry/core": "npm:1.28.0" - "@opentelemetry/otlp-exporter-base": "npm:0.55.0" - "@opentelemetry/otlp-transformer": "npm:0.55.0" + "@opentelemetry/core": "npm:1.29.0" + "@opentelemetry/otlp-exporter-base": "npm:0.56.0" + "@opentelemetry/otlp-transformer": "npm:0.56.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/cfcde887effe3d757caf1585fb9e6ea18ff87ff6431513e89ff43dcaed2b6497d2ab4ac8c316a123242d5315b30956e8c64ea049e7076607ee687ffe20d55ac6 + checksum: 10c0/b00ef6521ce4dfb080e10e4d2826626f5adecbe2ab18c21be46635f8b64b65dc54f2bcb8f3ea85828d9b90e8e5055f404c29f9df8c4947d6177382abe20eb907 languageName: node linkType: hard -"@opentelemetry/otlp-transformer@npm:0.55.0": - version: 0.55.0 - resolution: "@opentelemetry/otlp-transformer@npm:0.55.0" +"@opentelemetry/otlp-transformer@npm:0.56.0": + version: 0.56.0 + resolution: "@opentelemetry/otlp-transformer@npm:0.56.0" dependencies: - "@opentelemetry/api-logs": "npm:0.55.0" - "@opentelemetry/core": "npm:1.28.0" - "@opentelemetry/resources": "npm:1.28.0" - "@opentelemetry/sdk-logs": "npm:0.55.0" - "@opentelemetry/sdk-metrics": "npm:1.28.0" - "@opentelemetry/sdk-trace-base": "npm:1.28.0" + "@opentelemetry/api-logs": "npm:0.56.0" + "@opentelemetry/core": "npm:1.29.0" + "@opentelemetry/resources": "npm:1.29.0" + "@opentelemetry/sdk-logs": "npm:0.56.0" + "@opentelemetry/sdk-metrics": "npm:1.29.0" + "@opentelemetry/sdk-trace-base": "npm:1.29.0" protobufjs: "npm:^7.3.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10c0/d0a21566f0b39f70475458d2532b3737b55585a91a699da04efab4869219d045e2e022d514ea0b26d0fdfe5c4fb432e8827a21f3128930c6a6936fc284908795 + checksum: 10c0/898bae14a8f84a2f5a8d3a3b89966a5d3af1102b273dac748e404651ad113876b095faf1528055fce65de99dc33bc764cd650f21019ada0f85926f7606dc377e languageName: node linkType: hard -"@opentelemetry/propagator-b3@npm:1.28.0": - version: 1.28.0 - resolution: "@opentelemetry/propagator-b3@npm:1.28.0" +"@opentelemetry/propagator-b3@npm:1.29.0": + version: 1.29.0 + resolution: "@opentelemetry/propagator-b3@npm:1.29.0" dependencies: - "@opentelemetry/core": "npm:1.28.0" + "@opentelemetry/core": "npm:1.29.0" peerDependencies: "@opentelemetry/api": ">=1.0.0 <1.10.0" - checksum: 10c0/dd0ca51d2b216d8443790a4ba9c922985a627aad00505a15b32e9db48cb2a7934173e1c9bbd85682dc28873f4c4f46803f717850e348e54f1fe01f7de26be8e1 + checksum: 10c0/deb04f14906ec72f6eb8e2dffeb836450c35432732776fef40413e56c8738dd6c49c4d084be04fdedc45b3670dc0e94af2808780cf8921305d57c22cc0f24891 languageName: node linkType: hard -"@opentelemetry/propagator-jaeger@npm:1.28.0": - version: 1.28.0 - resolution: "@opentelemetry/propagator-jaeger@npm:1.28.0" +"@opentelemetry/propagator-jaeger@npm:1.29.0": + version: 1.29.0 + resolution: "@opentelemetry/propagator-jaeger@npm:1.29.0" dependencies: - "@opentelemetry/core": "npm:1.28.0" + "@opentelemetry/core": "npm:1.29.0" peerDependencies: "@opentelemetry/api": ">=1.0.0 <1.10.0" - checksum: 10c0/e6e3d26593041abf86fff9e667720b4cc15fa823359d9b8ae9d9f8e127c43a3298229090321628556fad25e83b39bb799b3bd10e05ed12b4e0119134fd6d90e4 + checksum: 10c0/9d91968ed88d4946d1b7a03cec774be8569ce9cc8a21f735c4c3f044baa4bb7c5732cfb3caf0c03266258dd9df7abaf329f7d79221827cdcd287b9824f0079df languageName: node linkType: hard @@ -10178,20 +10597,44 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/sdk-logs@npm:0.55.0": - version: 0.55.0 - resolution: "@opentelemetry/sdk-logs@npm:0.55.0" +"@opentelemetry/resources@npm:1.29.0": + version: 1.29.0 + resolution: "@opentelemetry/resources@npm:1.29.0" dependencies: - "@opentelemetry/api-logs": "npm:0.55.0" - "@opentelemetry/core": "npm:1.28.0" - "@opentelemetry/resources": "npm:1.28.0" + "@opentelemetry/core": "npm:1.29.0" + "@opentelemetry/semantic-conventions": "npm:1.28.0" + peerDependencies: + "@opentelemetry/api": ">=1.0.0 <1.10.0" + checksum: 10c0/10a91597b2ae92eeeeee9645c8147056b930739023bde4f18190317f7e8a05acd9e440b29d04be3580f7af4ffe5ff629d970264278f86574c429685f4804a006 + languageName: node + linkType: hard + +"@opentelemetry/sdk-logs@npm:0.56.0": + version: 0.56.0 + resolution: "@opentelemetry/sdk-logs@npm:0.56.0" + dependencies: + "@opentelemetry/api-logs": "npm:0.56.0" + "@opentelemetry/core": "npm:1.29.0" + "@opentelemetry/resources": "npm:1.29.0" peerDependencies: "@opentelemetry/api": ">=1.4.0 <1.10.0" - checksum: 10c0/aa272b3f939911550def2d8f225e6e020b864b8fb4474a468f9324ed63ca0adb5afca0ece32264eaff7bd5cb891cd9dae1030671ae3d9d9313d29801d2b6efa7 + checksum: 10c0/abd5584c8d98a71bfefdca4b864f69714d0e638c5ad9fe4819744b938aea362c9602b884da1da24ae394bccbe044246463a208e775b3ac4718eadaff7fac295d languageName: node linkType: hard -"@opentelemetry/sdk-metrics@npm:1.28.0, @opentelemetry/sdk-metrics@npm:^1.15.2": +"@opentelemetry/sdk-metrics@npm:1.29.0": + version: 1.29.0 + resolution: "@opentelemetry/sdk-metrics@npm:1.29.0" + dependencies: + "@opentelemetry/core": "npm:1.29.0" + "@opentelemetry/resources": "npm:1.29.0" + peerDependencies: + "@opentelemetry/api": ">=1.3.0 <1.10.0" + checksum: 10c0/4fca3b43fc9e9d139e87e18abf91069ba09c110bd4aa093e97ae02cd9af2cc82560f38dd4e3a6c76b054e1f8cbe5801faada2d24d7673a0ab15bf69923d6202c + languageName: node + linkType: hard + +"@opentelemetry/sdk-metrics@npm:^1.15.2": version: 1.28.0 resolution: "@opentelemetry/sdk-metrics@npm:1.28.0" dependencies: @@ -10203,29 +10646,29 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/sdk-node@npm:0.55.0": - version: 0.55.0 - resolution: "@opentelemetry/sdk-node@npm:0.55.0" - dependencies: - "@opentelemetry/api-logs": "npm:0.55.0" - "@opentelemetry/core": "npm:1.28.0" - "@opentelemetry/exporter-logs-otlp-grpc": "npm:0.55.0" - "@opentelemetry/exporter-logs-otlp-http": "npm:0.55.0" - "@opentelemetry/exporter-logs-otlp-proto": "npm:0.55.0" - "@opentelemetry/exporter-trace-otlp-grpc": "npm:0.55.0" - "@opentelemetry/exporter-trace-otlp-http": "npm:0.55.0" - "@opentelemetry/exporter-trace-otlp-proto": "npm:0.55.0" - "@opentelemetry/exporter-zipkin": "npm:1.28.0" - "@opentelemetry/instrumentation": "npm:0.55.0" - "@opentelemetry/resources": "npm:1.28.0" - "@opentelemetry/sdk-logs": "npm:0.55.0" - "@opentelemetry/sdk-metrics": "npm:1.28.0" - "@opentelemetry/sdk-trace-base": "npm:1.28.0" - "@opentelemetry/sdk-trace-node": "npm:1.28.0" - "@opentelemetry/semantic-conventions": "npm:1.27.0" +"@opentelemetry/sdk-node@npm:0.56.0": + version: 0.56.0 + resolution: "@opentelemetry/sdk-node@npm:0.56.0" + dependencies: + "@opentelemetry/api-logs": "npm:0.56.0" + "@opentelemetry/core": "npm:1.29.0" + "@opentelemetry/exporter-logs-otlp-grpc": "npm:0.56.0" + "@opentelemetry/exporter-logs-otlp-http": "npm:0.56.0" + "@opentelemetry/exporter-logs-otlp-proto": "npm:0.56.0" + "@opentelemetry/exporter-trace-otlp-grpc": "npm:0.56.0" + "@opentelemetry/exporter-trace-otlp-http": "npm:0.56.0" + "@opentelemetry/exporter-trace-otlp-proto": "npm:0.56.0" + "@opentelemetry/exporter-zipkin": "npm:1.29.0" + "@opentelemetry/instrumentation": "npm:0.56.0" + "@opentelemetry/resources": "npm:1.29.0" + "@opentelemetry/sdk-logs": "npm:0.56.0" + "@opentelemetry/sdk-metrics": "npm:1.29.0" + "@opentelemetry/sdk-trace-base": "npm:1.29.0" + "@opentelemetry/sdk-trace-node": "npm:1.29.0" + "@opentelemetry/semantic-conventions": "npm:1.28.0" peerDependencies: "@opentelemetry/api": ">=1.3.0 <1.10.0" - checksum: 10c0/84e25018e35516d3743844c50eeaa4b1aed68aa32da4bd676ebae86b2c50e8516527daba640d07d55c4c763b9f73be7f2a4c0ce53671005cd313e6cff28c303c + checksum: 10c0/fd2c468bdbe9d8dab21444335793f3a6778578791a1659f8e81383c53e12bc7fc7e7a7722040679dd55afba1ad7104f3e3b5df99457e9cabb0b721549617feb1 languageName: node linkType: hard @@ -10242,19 +10685,32 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/sdk-trace-node@npm:1.28.0": - version: 1.28.0 - resolution: "@opentelemetry/sdk-trace-node@npm:1.28.0" +"@opentelemetry/sdk-trace-base@npm:1.29.0": + version: 1.29.0 + resolution: "@opentelemetry/sdk-trace-base@npm:1.29.0" dependencies: - "@opentelemetry/context-async-hooks": "npm:1.28.0" - "@opentelemetry/core": "npm:1.28.0" - "@opentelemetry/propagator-b3": "npm:1.28.0" - "@opentelemetry/propagator-jaeger": "npm:1.28.0" - "@opentelemetry/sdk-trace-base": "npm:1.28.0" + "@opentelemetry/core": "npm:1.29.0" + "@opentelemetry/resources": "npm:1.29.0" + "@opentelemetry/semantic-conventions": "npm:1.28.0" + peerDependencies: + "@opentelemetry/api": ">=1.0.0 <1.10.0" + checksum: 10c0/870f29d3d72f4d6cbcaada328b544aa111527d72f0818f89bc5661b0427a37618db939cc65e834c8c73bad744665f9ac6dc0ec48276b113b5d4a0913c2b8fece + languageName: node + linkType: hard + +"@opentelemetry/sdk-trace-node@npm:1.29.0": + version: 1.29.0 + resolution: "@opentelemetry/sdk-trace-node@npm:1.29.0" + dependencies: + "@opentelemetry/context-async-hooks": "npm:1.29.0" + "@opentelemetry/core": "npm:1.29.0" + "@opentelemetry/propagator-b3": "npm:1.29.0" + "@opentelemetry/propagator-jaeger": "npm:1.29.0" + "@opentelemetry/sdk-trace-base": "npm:1.29.0" semver: "npm:^7.5.2" peerDependencies: "@opentelemetry/api": ">=1.0.0 <1.10.0" - checksum: 10c0/ea05da3279cae12526440c2966e2988108ea8cc5102acfc263d2080f711c0cf7e9bb22949e32bb918785dda0521a6096af63480280c2dbbe0556316e641ae066 + checksum: 10c0/0201340e451fc3a3969df8c5d405706d6b454c28ddb76bb99fce20b58a53f47fee94bb7134ff1591ddf322a48c7641aeb11e58bebcdf82e933ceb85a54157d46 languageName: node linkType: hard @@ -12066,11 +12522,11 @@ __metadata: languageName: node linkType: hard -"@redocly/cli@npm:1.25.14": - version: 1.25.14 - resolution: "@redocly/cli@npm:1.25.14" +"@redocly/cli@npm:1.25.15": + version: 1.25.15 + resolution: "@redocly/cli@npm:1.25.15" dependencies: - "@redocly/openapi-core": "npm:1.25.14" + "@redocly/openapi-core": "npm:1.25.15" abort-controller: "npm:^3.0.0" chokidar: "npm:^3.5.1" colorette: "npm:^1.2.0" @@ -12092,7 +12548,7 @@ __metadata: bin: openapi: bin/cli.js redocly: bin/cli.js - checksum: 10c0/2488be44437bd082d3dd17baad313e905a2f059ea8e6c20e1b30d88a9e22fb0df1ab010fc0717a996ea2ad3d0b464089f4b62bfab2a2a52cb5da58e8a0466fe6 + checksum: 10c0/cc182693b9276b01e70140fa35da88671af271ad15776478245f4a1fc5850d82ae7646704df6ef02ee28927d552fd95ee3e5e73f9c4a3b8b516684bc502e88ee languageName: node linkType: hard @@ -12103,7 +12559,33 @@ __metadata: languageName: node linkType: hard -"@redocly/openapi-core@npm:1.25.14, @redocly/openapi-core@npm:^1.4.0": +"@redocly/config@npm:^0.17.0": + version: 0.17.1 + resolution: "@redocly/config@npm:0.17.1" + checksum: 10c0/47dca7970d921d8f128422fbc14cdf2e74e4c3bb76b1ce3ce8e33e2c90d39b1c7ca96c84c108a23e6abae30120b1b761a0abc70d631590e8a78831b2335b942b + languageName: node + linkType: hard + +"@redocly/openapi-core@npm:1.25.15": + version: 1.25.15 + resolution: "@redocly/openapi-core@npm:1.25.15" + dependencies: + "@redocly/ajv": "npm:^8.11.2" + "@redocly/config": "npm:^0.17.0" + colorette: "npm:^1.2.0" + https-proxy-agent: "npm:^7.0.4" + js-levenshtein: "npm:^1.1.6" + js-yaml: "npm:^4.1.0" + lodash.isequal: "npm:^4.5.0" + minimatch: "npm:^5.0.1" + node-fetch: "npm:^2.6.1" + pluralize: "npm:^8.0.0" + yaml-ast-parser: "npm:0.0.43" + checksum: 10c0/e7ae4b7b8d0fd84bda1c69e528f5c565d2651543c497aee850b889f7684a859376c98fe98cf78e6b1de9b077fd3407cd7bb1cca5a83d407cad27ad94472d0d04 + languageName: node + linkType: hard + +"@redocly/openapi-core@npm:^1.4.0": version: 1.25.14 resolution: "@redocly/openapi-core@npm:1.25.14" dependencies: @@ -12242,13 +12724,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-android-arm-eabi@npm:4.27.4": - version: 4.27.4 - resolution: "@rollup/rollup-android-arm-eabi@npm:4.27.4" - conditions: os=android & cpu=arm - languageName: node - linkType: hard - "@rollup/rollup-android-arm-eabi@npm:4.28.1": version: 4.28.1 resolution: "@rollup/rollup-android-arm-eabi@npm:4.28.1" @@ -12256,13 +12731,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-android-arm64@npm:4.27.4": - version: 4.27.4 - resolution: "@rollup/rollup-android-arm64@npm:4.27.4" - conditions: os=android & cpu=arm64 - languageName: node - linkType: hard - "@rollup/rollup-android-arm64@npm:4.28.1": version: 4.28.1 resolution: "@rollup/rollup-android-arm64@npm:4.28.1" @@ -12270,13 +12738,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-darwin-arm64@npm:4.27.4": - version: 4.27.4 - resolution: "@rollup/rollup-darwin-arm64@npm:4.27.4" - conditions: os=darwin & cpu=arm64 - languageName: node - linkType: hard - "@rollup/rollup-darwin-arm64@npm:4.28.1": version: 4.28.1 resolution: "@rollup/rollup-darwin-arm64@npm:4.28.1" @@ -12284,13 +12745,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-darwin-x64@npm:4.27.4": - version: 4.27.4 - resolution: "@rollup/rollup-darwin-x64@npm:4.27.4" - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - "@rollup/rollup-darwin-x64@npm:4.28.1": version: 4.28.1 resolution: "@rollup/rollup-darwin-x64@npm:4.28.1" @@ -12298,13 +12752,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-freebsd-arm64@npm:4.27.4": - version: 4.27.4 - resolution: "@rollup/rollup-freebsd-arm64@npm:4.27.4" - conditions: os=freebsd & cpu=arm64 - languageName: node - linkType: hard - "@rollup/rollup-freebsd-arm64@npm:4.28.1": version: 4.28.1 resolution: "@rollup/rollup-freebsd-arm64@npm:4.28.1" @@ -12312,13 +12759,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-freebsd-x64@npm:4.27.4": - version: 4.27.4 - resolution: "@rollup/rollup-freebsd-x64@npm:4.27.4" - conditions: os=freebsd & cpu=x64 - languageName: node - linkType: hard - "@rollup/rollup-freebsd-x64@npm:4.28.1": version: 4.28.1 resolution: "@rollup/rollup-freebsd-x64@npm:4.28.1" @@ -12326,13 +12766,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm-gnueabihf@npm:4.27.4": - version: 4.27.4 - resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.27.4" - conditions: os=linux & cpu=arm & libc=glibc - languageName: node - linkType: hard - "@rollup/rollup-linux-arm-gnueabihf@npm:4.28.1": version: 4.28.1 resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.28.1" @@ -12340,13 +12773,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm-musleabihf@npm:4.27.4": - version: 4.27.4 - resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.27.4" - conditions: os=linux & cpu=arm & libc=musl - languageName: node - linkType: hard - "@rollup/rollup-linux-arm-musleabihf@npm:4.28.1": version: 4.28.1 resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.28.1" @@ -12354,13 +12780,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm64-gnu@npm:4.27.4": - version: 4.27.4 - resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.27.4" - conditions: os=linux & cpu=arm64 & libc=glibc - languageName: node - linkType: hard - "@rollup/rollup-linux-arm64-gnu@npm:4.28.1": version: 4.28.1 resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.28.1" @@ -12368,13 +12787,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm64-musl@npm:4.27.4": - version: 4.27.4 - resolution: "@rollup/rollup-linux-arm64-musl@npm:4.27.4" - conditions: os=linux & cpu=arm64 & libc=musl - languageName: node - linkType: hard - "@rollup/rollup-linux-arm64-musl@npm:4.28.1": version: 4.28.1 resolution: "@rollup/rollup-linux-arm64-musl@npm:4.28.1" @@ -12389,13 +12801,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-powerpc64le-gnu@npm:4.27.4": - version: 4.27.4 - resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.27.4" - conditions: os=linux & cpu=ppc64 & libc=glibc - languageName: node - linkType: hard - "@rollup/rollup-linux-powerpc64le-gnu@npm:4.28.1": version: 4.28.1 resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.28.1" @@ -12403,13 +12808,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-riscv64-gnu@npm:4.27.4": - version: 4.27.4 - resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.27.4" - conditions: os=linux & cpu=riscv64 & libc=glibc - languageName: node - linkType: hard - "@rollup/rollup-linux-riscv64-gnu@npm:4.28.1": version: 4.28.1 resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.28.1" @@ -12417,13 +12815,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-s390x-gnu@npm:4.27.4": - version: 4.27.4 - resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.27.4" - conditions: os=linux & cpu=s390x & libc=glibc - languageName: node - linkType: hard - "@rollup/rollup-linux-s390x-gnu@npm:4.28.1": version: 4.28.1 resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.28.1" @@ -12431,13 +12822,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-x64-gnu@npm:4.27.4": - version: 4.27.4 - resolution: "@rollup/rollup-linux-x64-gnu@npm:4.27.4" - conditions: os=linux & cpu=x64 & libc=glibc - languageName: node - linkType: hard - "@rollup/rollup-linux-x64-gnu@npm:4.28.1": version: 4.28.1 resolution: "@rollup/rollup-linux-x64-gnu@npm:4.28.1" @@ -12445,13 +12829,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-x64-musl@npm:4.27.4": - version: 4.27.4 - resolution: "@rollup/rollup-linux-x64-musl@npm:4.27.4" - conditions: os=linux & cpu=x64 & libc=musl - languageName: node - linkType: hard - "@rollup/rollup-linux-x64-musl@npm:4.28.1": version: 4.28.1 resolution: "@rollup/rollup-linux-x64-musl@npm:4.28.1" @@ -12459,13 +12836,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-win32-arm64-msvc@npm:4.27.4": - version: 4.27.4 - resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.27.4" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - "@rollup/rollup-win32-arm64-msvc@npm:4.28.1": version: 4.28.1 resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.28.1" @@ -12473,13 +12843,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-win32-ia32-msvc@npm:4.27.4": - version: 4.27.4 - resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.27.4" - conditions: os=win32 & cpu=ia32 - languageName: node - linkType: hard - "@rollup/rollup-win32-ia32-msvc@npm:4.28.1": version: 4.28.1 resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.28.1" @@ -12487,13 +12850,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-win32-x64-msvc@npm:4.27.4": - version: 4.27.4 - resolution: "@rollup/rollup-win32-x64-msvc@npm:4.27.4" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - "@rollup/rollup-win32-x64-msvc@npm:4.28.1": version: 4.28.1 resolution: "@rollup/rollup-win32-x64-msvc@npm:4.28.1" @@ -12705,6 +13061,7 @@ __metadata: "@rust/hash-graph-type-defs": "npm:0.0.0-private" "@rust/hash-graph-type-fetcher": "npm:0.0.0-private" "@rust/hash-graph-types": "npm:0.0.0-private" + "@rust/hash-graph-validation": "npm:0.0.0-private" "@rust/hash-status": "npm:0.0.0-private" "@rust/hash-temporal-client": "npm:0.0.0-private" languageName: unknown @@ -12984,76 +13341,76 @@ __metadata: languageName: node linkType: hard -"@sentry-internal/feedback@npm:7.120.0": - version: 7.120.0 - resolution: "@sentry-internal/feedback@npm:7.120.0" +"@sentry-internal/feedback@npm:7.120.1": + version: 7.120.1 + resolution: "@sentry-internal/feedback@npm:7.120.1" dependencies: - "@sentry/core": "npm:7.120.0" - "@sentry/types": "npm:7.120.0" - "@sentry/utils": "npm:7.120.0" - checksum: 10c0/b47597718c6930c98ebddbb617b63b6efee57df3e76b83662bc726a96c755e926270fa26a0ac69d49e92073ec442c958d37655cde576e5cd279ba3df09487b1b + "@sentry/core": "npm:7.120.1" + "@sentry/types": "npm:7.120.1" + "@sentry/utils": "npm:7.120.1" + checksum: 10c0/618abbe92d43b4ef549f4abb6bc44b52c5752c0e60326fa4e918356ce204c451e0ed6f9758d3ade8664de7d7005cd17b92d8a6b47075627e18c7ca0a8954e1ab languageName: node linkType: hard -"@sentry-internal/replay-canvas@npm:7.120.0": - version: 7.120.0 - resolution: "@sentry-internal/replay-canvas@npm:7.120.0" +"@sentry-internal/replay-canvas@npm:7.120.1": + version: 7.120.1 + resolution: "@sentry-internal/replay-canvas@npm:7.120.1" dependencies: - "@sentry/core": "npm:7.120.0" - "@sentry/replay": "npm:7.120.0" - "@sentry/types": "npm:7.120.0" - "@sentry/utils": "npm:7.120.0" - checksum: 10c0/4ad37f53fd24e0d9faf6a61f6d185ed5a6be64e086a7ddefd8ff75421cb996d7359ca478bc7a25afdbb92edd27a0c961cfdbd7d1d6d81ccc6845c33a4afe1720 + "@sentry/core": "npm:7.120.1" + "@sentry/replay": "npm:7.120.1" + "@sentry/types": "npm:7.120.1" + "@sentry/utils": "npm:7.120.1" + checksum: 10c0/e52d8552786dad3ac8c66cb7ec8490bc8452d82ad186f7b34955ba4227898273c8ccccf26e66c43deee6bb369c2411a2335e5d296b980e61a01a48255e148fde languageName: node linkType: hard -"@sentry-internal/tracing@npm:7.120.0": - version: 7.120.0 - resolution: "@sentry-internal/tracing@npm:7.120.0" +"@sentry-internal/tracing@npm:7.120.1": + version: 7.120.1 + resolution: "@sentry-internal/tracing@npm:7.120.1" dependencies: - "@sentry/core": "npm:7.120.0" - "@sentry/types": "npm:7.120.0" - "@sentry/utils": "npm:7.120.0" - checksum: 10c0/08b080466124ae1d08198f65346ed989f1662bf445ff32c6931f79350c17984e33bef67f897c7ff3f1fe11ff6933ef8adf09e93ed54a253bfc1a6edbb564e336 + "@sentry/core": "npm:7.120.1" + "@sentry/types": "npm:7.120.1" + "@sentry/utils": "npm:7.120.1" + checksum: 10c0/3506337aa399c8c250c879a35c4eebe92095b11f689aadfdbf48699f58d46b02996dfb7aff757811d44f75cf3cd164387eb531f496dda9748fc222a617125db0 languageName: node linkType: hard -"@sentry/babel-plugin-component-annotate@npm:2.22.6": - version: 2.22.6 - resolution: "@sentry/babel-plugin-component-annotate@npm:2.22.6" - checksum: 10c0/142f8a742c1c4bb04d8ef5809bcc8e7f00be1467ada4954103403340bb696c2ca19515891e4cbe11bd5671ef52dca3d7cb6b782d4f3d1444aaf9e5bb35c5c963 +"@sentry/babel-plugin-component-annotate@npm:2.22.7": + version: 2.22.7 + resolution: "@sentry/babel-plugin-component-annotate@npm:2.22.7" + checksum: 10c0/1812aa3de7ec1a93e24d4fbac49b609a4feac9a7c72de440456707013b6e68c3e2a1bac5d24d99ca710eac49a96fa1cf081ca032e24e667ae1b1165e143dc03d languageName: node linkType: hard -"@sentry/browser@npm:7.120.0": - version: 7.120.0 - resolution: "@sentry/browser@npm:7.120.0" +"@sentry/browser@npm:7.120.1": + version: 7.120.1 + resolution: "@sentry/browser@npm:7.120.1" dependencies: - "@sentry-internal/feedback": "npm:7.120.0" - "@sentry-internal/replay-canvas": "npm:7.120.0" - "@sentry-internal/tracing": "npm:7.120.0" - "@sentry/core": "npm:7.120.0" - "@sentry/integrations": "npm:7.120.0" - "@sentry/replay": "npm:7.120.0" - "@sentry/types": "npm:7.120.0" - "@sentry/utils": "npm:7.120.0" - checksum: 10c0/619a6f0a43d5428b6923c026bb389581955f814876974eaa9b1b7659520d36b666fe289d4b20688b5d32459f4020d81b95f46b67eb895cdf50f435297cc799c7 + "@sentry-internal/feedback": "npm:7.120.1" + "@sentry-internal/replay-canvas": "npm:7.120.1" + "@sentry-internal/tracing": "npm:7.120.1" + "@sentry/core": "npm:7.120.1" + "@sentry/integrations": "npm:7.120.1" + "@sentry/replay": "npm:7.120.1" + "@sentry/types": "npm:7.120.1" + "@sentry/utils": "npm:7.120.1" + checksum: 10c0/1df2576137fdaa987168b19db9bf95e19c6bd05effa123c4d77bf3686e8adc335192b15532d339ccd9b3671c26889ca06242581fed80b48c72d43b375e2dd8d9 languageName: node linkType: hard -"@sentry/bundler-plugin-core@npm:2.22.6": - version: 2.22.6 - resolution: "@sentry/bundler-plugin-core@npm:2.22.6" +"@sentry/bundler-plugin-core@npm:2.22.7": + version: 2.22.7 + resolution: "@sentry/bundler-plugin-core@npm:2.22.7" dependencies: "@babel/core": "npm:^7.18.5" - "@sentry/babel-plugin-component-annotate": "npm:2.22.6" - "@sentry/cli": "npm:^2.36.1" + "@sentry/babel-plugin-component-annotate": "npm:2.22.7" + "@sentry/cli": "npm:2.39.1" dotenv: "npm:^16.3.1" find-up: "npm:^5.0.0" glob: "npm:^9.3.2" magic-string: "npm:0.30.8" unplugin: "npm:1.0.1" - checksum: 10c0/97d425a49182ed178c2d147ab48b5095394fcde5e3f94ca9dec21dcf0771269ecfebfb596e8ab41cda926591a4c2443a54616fd74b9e1c91a041add4b1ef187a + checksum: 10c0/0dbc8d7359a70b0195a87605123eec6dc60ccdad8f84520bc92be0377f1bd9d3e3c92af2939f4c27ed31fc2d6c174a33a8024ce9a9f4b40b79f7ffe8f9cf872c languageName: node linkType: hard @@ -13106,23 +13463,7 @@ __metadata: languageName: node linkType: hard -"@sentry/cli@npm:^1.77.1": - version: 1.77.3 - resolution: "@sentry/cli@npm:1.77.3" - dependencies: - https-proxy-agent: "npm:^5.0.0" - mkdirp: "npm:^0.5.5" - node-fetch: "npm:^2.6.7" - progress: "npm:^2.0.3" - proxy-from-env: "npm:^1.1.0" - which: "npm:^2.0.2" - bin: - sentry-cli: bin/sentry-cli - checksum: 10c0/b8c584b31b210a28894a8c4269dccc6eaf57fef51405533a18758609fa5b7e249807f8f4111f2f75e8b04e81865a4a758d1c487e668910e1d1b126c3f52aa782 - languageName: node - linkType: hard - -"@sentry/cli@npm:^2.36.1, @sentry/cli@npm:^2.39.1": +"@sentry/cli@npm:2.39.1, @sentry/cli@npm:^2.39.1": version: 2.39.1 resolution: "@sentry/cli@npm:2.39.1" dependencies: @@ -13159,40 +13500,56 @@ __metadata: languageName: node linkType: hard -"@sentry/core@npm:7.120.0": - version: 7.120.0 - resolution: "@sentry/core@npm:7.120.0" +"@sentry/cli@npm:^1.77.1": + version: 1.77.3 + resolution: "@sentry/cli@npm:1.77.3" + dependencies: + https-proxy-agent: "npm:^5.0.0" + mkdirp: "npm:^0.5.5" + node-fetch: "npm:^2.6.7" + progress: "npm:^2.0.3" + proxy-from-env: "npm:^1.1.0" + which: "npm:^2.0.2" + bin: + sentry-cli: bin/sentry-cli + checksum: 10c0/b8c584b31b210a28894a8c4269dccc6eaf57fef51405533a18758609fa5b7e249807f8f4111f2f75e8b04e81865a4a758d1c487e668910e1d1b126c3f52aa782 + languageName: node + linkType: hard + +"@sentry/core@npm:7.120.1": + version: 7.120.1 + resolution: "@sentry/core@npm:7.120.1" dependencies: - "@sentry/types": "npm:7.120.0" - "@sentry/utils": "npm:7.120.0" - checksum: 10c0/e2a09af3d21f02174eeafaeabf88e1ba66b017a920659cee71048cb845515f3e4e47611154238226d061ea47a8e8871297fd8b19fd820e42823234869fb4e0fe + "@sentry/types": "npm:7.120.1" + "@sentry/utils": "npm:7.120.1" + checksum: 10c0/f59c36f67a98b9d64fb5c28b719782c09c4014245fb4ca617ef9779ee5fd3100f89bae87b1e06c4e39e40227f45edf25facf2a99b2381ffaa172507340097d4f languageName: node linkType: hard -"@sentry/integrations@npm:7.120.0": - version: 7.120.0 - resolution: "@sentry/integrations@npm:7.120.0" +"@sentry/integrations@npm:7.120.1": + version: 7.120.1 + resolution: "@sentry/integrations@npm:7.120.1" dependencies: - "@sentry/core": "npm:7.120.0" - "@sentry/types": "npm:7.120.0" - "@sentry/utils": "npm:7.120.0" + "@sentry/core": "npm:7.120.1" + "@sentry/types": "npm:7.120.1" + "@sentry/utils": "npm:7.120.1" localforage: "npm:^1.8.1" - checksum: 10c0/857ae26286cf322ec12b96a975a544c36fa36fa3b70344196c83fd5ee8bf9dc01fed848faa99926960533ef3e639071d83b80ea68d298b6f77ce40b7eb9255ca + checksum: 10c0/3383b529abf57cc7f37cd6d5cce217e77a4326c262c9f063ebb45b446bcefe9999597493d5641bde1ba250ae62c53cc1536ccda24f822d8b04b878580a8e3410 languageName: node linkType: hard -"@sentry/nextjs@npm:7.120.0": - version: 7.120.0 - resolution: "@sentry/nextjs@npm:7.120.0" +"@sentry/nextjs@npm:7.120.1": + version: 7.120.1 + resolution: "@sentry/nextjs@npm:7.120.1" dependencies: "@rollup/plugin-commonjs": "npm:24.0.0" - "@sentry/core": "npm:7.120.0" - "@sentry/integrations": "npm:7.120.0" - "@sentry/node": "npm:7.120.0" - "@sentry/react": "npm:7.120.0" - "@sentry/types": "npm:7.120.0" - "@sentry/utils": "npm:7.120.0" - "@sentry/vercel-edge": "npm:7.120.0" + "@sentry/core": "npm:7.120.1" + "@sentry/integrations": "npm:7.120.1" + "@sentry/node": "npm:7.120.1" + "@sentry/react": "npm:7.120.1" + "@sentry/types": "npm:7.120.1" + "@sentry/utils": "npm:7.120.1" + "@sentry/vercel-edge": "npm:7.120.1" "@sentry/webpack-plugin": "npm:1.21.0" chalk: "npm:3.0.0" resolve: "npm:1.22.8" @@ -13205,76 +13562,76 @@ __metadata: peerDependenciesMeta: webpack: optional: true - checksum: 10c0/b078131ea2aa44471c3fabaaa97b72463e9582ee033b6bd63062e8409779303aa3924d7c54ce3216052a9ecac53718a0898455808f36a43a2c9d55675c79cdbd + checksum: 10c0/f50a616705c1a19092594a2874d281698264cf13b686516f275f7df0629181e523eee5ab39839c719517e402c06bbb88c1efe4bc7858e48c6ae1e93feaf4909f languageName: node linkType: hard -"@sentry/node@npm:7.120.0": - version: 7.120.0 - resolution: "@sentry/node@npm:7.120.0" +"@sentry/node@npm:7.120.1": + version: 7.120.1 + resolution: "@sentry/node@npm:7.120.1" dependencies: - "@sentry-internal/tracing": "npm:7.120.0" - "@sentry/core": "npm:7.120.0" - "@sentry/integrations": "npm:7.120.0" - "@sentry/types": "npm:7.120.0" - "@sentry/utils": "npm:7.120.0" - checksum: 10c0/278190e9398153253ae7dde4d5661d6f9671c780c7d30650e379a2d4deec49261292a04844069548f636023f4eaf980d2f1b8edf647470c282d067b64bfab95f + "@sentry-internal/tracing": "npm:7.120.1" + "@sentry/core": "npm:7.120.1" + "@sentry/integrations": "npm:7.120.1" + "@sentry/types": "npm:7.120.1" + "@sentry/utils": "npm:7.120.1" + checksum: 10c0/005e05c0c31d376495ff309231f4bd2907bb0c406f545aa66b3886a615bed8671838c87f43d0e88a78c80f76ce1dc5a2e783341dab1a02bcb8aa4a053154d9ee languageName: node linkType: hard -"@sentry/react@npm:7.120.0": - version: 7.120.0 - resolution: "@sentry/react@npm:7.120.0" +"@sentry/react@npm:7.120.1": + version: 7.120.1 + resolution: "@sentry/react@npm:7.120.1" dependencies: - "@sentry/browser": "npm:7.120.0" - "@sentry/core": "npm:7.120.0" - "@sentry/types": "npm:7.120.0" - "@sentry/utils": "npm:7.120.0" + "@sentry/browser": "npm:7.120.1" + "@sentry/core": "npm:7.120.1" + "@sentry/types": "npm:7.120.1" + "@sentry/utils": "npm:7.120.1" hoist-non-react-statics: "npm:^3.3.2" peerDependencies: react: 15.x || 16.x || 17.x || 18.x - checksum: 10c0/cc9e9cd6408d136595ce5277fbb93ecec3797b0f7137a7d1dbfd29e04e463e71871211401c85bbae64d0068049607224b94741ecd7f26d1fd549244f9802c89b + checksum: 10c0/c25bc5336e3f62fa2868b86ed9e8ce3e8818ffc6996eafc764b2429aee90b00309e2eb6cc1b00ceb22ec4a33be41445d17b7e63562b6cbb0c451683a1e4a4790 languageName: node linkType: hard -"@sentry/replay@npm:7.120.0": - version: 7.120.0 - resolution: "@sentry/replay@npm:7.120.0" +"@sentry/replay@npm:7.120.1": + version: 7.120.1 + resolution: "@sentry/replay@npm:7.120.1" dependencies: - "@sentry-internal/tracing": "npm:7.120.0" - "@sentry/core": "npm:7.120.0" - "@sentry/types": "npm:7.120.0" - "@sentry/utils": "npm:7.120.0" - checksum: 10c0/ead29c27424b7cd5f4f8d4163f86594a478356739322cbc8e384f9a38b88d4b5adebb59bd2d0375b39cdf896ea13b34d3206a2ce54ffcc065e7198f9ac0f4540 + "@sentry-internal/tracing": "npm:7.120.1" + "@sentry/core": "npm:7.120.1" + "@sentry/types": "npm:7.120.1" + "@sentry/utils": "npm:7.120.1" + checksum: 10c0/53e485004a7d4cd1a2a1519aaa62ca7b562c0e274e142019d677688e2ba6b76e65202ceb1ef95b71c3cde917cb26c4636dc5559454cb48a686bed34b2ac67855 languageName: node linkType: hard -"@sentry/types@npm:7.120.0": - version: 7.120.0 - resolution: "@sentry/types@npm:7.120.0" - checksum: 10c0/6db9de799591378d8d77ca80bb0b9271e514feb93f70fcbbd295cf71386ac2a7c35a317689894d86b37623c6fad85e3a7f2116b44660b1c1c44b7d49f00457d5 +"@sentry/types@npm:7.120.1": + version: 7.120.1 + resolution: "@sentry/types@npm:7.120.1" + checksum: 10c0/2a803e1445304c365a2459111bc44d2226adbf5cf8332b486508d1920d8f8fd6b9d04fbcf764bc97920c11030b953f62fa43acec62722f973747cbaa2b189ad4 languageName: node linkType: hard -"@sentry/utils@npm:7.120.0": - version: 7.120.0 - resolution: "@sentry/utils@npm:7.120.0" +"@sentry/utils@npm:7.120.1": + version: 7.120.1 + resolution: "@sentry/utils@npm:7.120.1" dependencies: - "@sentry/types": "npm:7.120.0" - checksum: 10c0/b5b20bbccd47d6b3732d2c5a6fbbb40474c66d96e2923c1d09c5060e677f3156a5a73a6527c2fa46e712a4dec37fb6a4b81e185f0d4275beb48cfc028fdeec7e + "@sentry/types": "npm:7.120.1" + checksum: 10c0/bff650f6019e2ec44af46e4a80faf00aa2978a278c19cec464b7a0718c19cc514c82747a6e58c7443cd12bf64263b29a25c173581484290b85ad7ececd31c76e languageName: node linkType: hard -"@sentry/vercel-edge@npm:7.120.0": - version: 7.120.0 - resolution: "@sentry/vercel-edge@npm:7.120.0" +"@sentry/vercel-edge@npm:7.120.1": + version: 7.120.1 + resolution: "@sentry/vercel-edge@npm:7.120.1" dependencies: - "@sentry-internal/tracing": "npm:7.120.0" - "@sentry/core": "npm:7.120.0" - "@sentry/integrations": "npm:7.120.0" - "@sentry/types": "npm:7.120.0" - "@sentry/utils": "npm:7.120.0" - checksum: 10c0/6d4567e4edf46bfba6459d64ada81d5ecf95ee68b635b5ba7a38c94283db2b93bc714919744078f8ecbd2a53a78db22ac7402b5cab4724db5abedf71fb3cc3e9 + "@sentry-internal/tracing": "npm:7.120.1" + "@sentry/core": "npm:7.120.1" + "@sentry/integrations": "npm:7.120.1" + "@sentry/types": "npm:7.120.1" + "@sentry/utils": "npm:7.120.1" + checksum: 10c0/73f2ba487c27ba2d0e1b35fb902aba8e9e596faa06209572c323f24494182899b338b697b19fab8d15f4728490016ba009501af5d92bf7f06e285fdda13fc9ce languageName: node linkType: hard @@ -13288,16 +13645,16 @@ __metadata: languageName: node linkType: hard -"@sentry/webpack-plugin@npm:2.22.6": - version: 2.22.6 - resolution: "@sentry/webpack-plugin@npm:2.22.6" +"@sentry/webpack-plugin@npm:2.22.7": + version: 2.22.7 + resolution: "@sentry/webpack-plugin@npm:2.22.7" dependencies: - "@sentry/bundler-plugin-core": "npm:2.22.6" + "@sentry/bundler-plugin-core": "npm:2.22.7" unplugin: "npm:1.0.1" uuid: "npm:^9.0.0" peerDependencies: webpack: ">=4.40.0" - checksum: 10c0/0f74b571f09b71774e233138a5a7581a06d12fc71caedceacbb3afaa50be1b726794502282dd18e692d7710fc6eb2e5e6d5d8e3646e74e0c8f0e60303f68d4ae + checksum: 10c0/075ac3f3a35814d0af5b14f078c662d9f07133f7c1a8dbe6d7d19aeb60cfe01aafbe0ecb9be8e8115fdf82390650a1cd68f3d47d6f76db014b355dbe17e52645 languageName: node linkType: hard @@ -13439,6 +13796,13 @@ __metadata: languageName: node linkType: hard +"@sindresorhus/fnv1a@npm:^3.1.0": + version: 3.1.0 + resolution: "@sindresorhus/fnv1a@npm:3.1.0" + checksum: 10c0/75b31084b4d886eb774266c546ecd06744758d26e1b89c9a2ee11d5f8f84541c1e1befa4b37d8548fd78c03a617dcfe92730a65178510369a73ecf4cda4c341b + languageName: node + linkType: hard + "@sindresorhus/is@npm:^4.0.0": version: 4.6.0 resolution: "@sindresorhus/is@npm:4.6.0" @@ -16139,7 +16503,7 @@ __metadata: "@local/tsconfig": "npm:0.0.0-private" "@rust/hash-graph-type-defs": "npm:0.0.0-private" "@types/node-fetch": "npm:2.6.12" - "@vitest/coverage-istanbul": "npm:2.1.6" + "@vitest/coverage-istanbul": "npm:2.1.8" eslint: "npm:8.57.0" execa: "npm:5.1.1" fractional-indexing: "npm:2.1.0" @@ -16148,7 +16512,7 @@ __metadata: node-fetch: "npm:2.7.0" rimraf: "npm:6.0.1" typescript: "npm:5.6.3" - vitest: "npm:2.1.6" + vitest: "npm:2.1.8" languageName: unknown linkType: soft @@ -16166,10 +16530,10 @@ __metadata: "@local/hash-subgraph": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@opentelemetry/api": "npm:1.9.0" - "@opentelemetry/exporter-trace-otlp-grpc": "npm:0.55.0" - "@opentelemetry/resources": "npm:1.28.0" - "@opentelemetry/sdk-node": "npm:0.55.0" - "@opentelemetry/sdk-trace-node": "npm:1.28.0" + "@opentelemetry/exporter-trace-otlp-grpc": "npm:0.56.0" + "@opentelemetry/resources": "npm:1.29.0" + "@opentelemetry/sdk-node": "npm:0.56.0" + "@opentelemetry/sdk-trace-node": "npm:1.29.0" "@opentelemetry/semantic-conventions": "npm:1.28.0" "@ory/client": "npm:1.1.41" "@rollup/plugin-commonjs": "npm:28.0.1" @@ -16181,7 +16545,7 @@ __metadata: dotenv-flow: "npm:3.3.0" eslint: "npm:8.57.0" rimraf: "npm:6.0.1" - rollup: "npm:4.27.4" + rollup: "npm:4.28.1" typescript: "npm:5.6.3" uuid: "npm:9.0.1" languageName: unknown @@ -16960,6 +17324,15 @@ __metadata: languageName: node linkType: hard +"@types/dns-packet@npm:^5.6.5": + version: 5.6.5 + resolution: "@types/dns-packet@npm:5.6.5" + dependencies: + "@types/node": "npm:*" + checksum: 10c0/70fa9cb77a614f65288a48749d28cc9f40ce6c60980e2b75b25eac0b4e1e4109d14edf5151fa5e7b10aae1ec6b1094a2f171b9941191ff4c9a7afe23116b9edc + languageName: node + linkType: hard + "@types/doctrine@npm:^0.0.3": version: 0.0.3 resolution: "@types/doctrine@npm:0.0.3" @@ -17573,6 +17946,13 @@ __metadata: languageName: node linkType: hard +"@types/murmurhash3js-revisited@npm:^3.0.3": + version: 3.0.3 + resolution: "@types/murmurhash3js-revisited@npm:3.0.3" + checksum: 10c0/6d604012f7dc6c4a7352cdfefebd301f0d1d525459bcff649fc63c6a715729db8ac0944425de9efbff4a05be9ebbc0eedae39886a1a88687ed1607dcc5d9ee5f + languageName: node + linkType: hard + "@types/node-fetch@npm:2.6.12, @types/node-fetch@npm:^2.5.10, @types/node-fetch@npm:^2.6.4": version: 2.6.12 resolution: "@types/node-fetch@npm:2.6.12" @@ -17592,7 +17972,7 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*, @types/node@npm:22.10.0, @types/node@npm:>=13.7.0": +"@types/node@npm:*, @types/node@npm:>=13.7.0": version: 22.10.0 resolution: "@types/node@npm:22.10.0" dependencies: @@ -17601,6 +17981,15 @@ __metadata: languageName: node linkType: hard +"@types/node@npm:22.10.1": + version: 22.10.1 + resolution: "@types/node@npm:22.10.1" + dependencies: + undici-types: "npm:~6.20.0" + checksum: 10c0/0fbb6d29fa35d807f0223a4db709c598ac08d66820240a2cd6a8a69b8f0bc921d65b339d850a666b43b4e779f967e6ed6cf6f0fca3575e08241e6b900364c234 + languageName: node + linkType: hard + "@types/node@npm:^10.1.0": version: 10.17.60 resolution: "@types/node@npm:10.17.60" @@ -17899,6 +18288,13 @@ __metadata: languageName: node linkType: hard +"@types/retry@npm:0.12.2": + version: 0.12.2 + resolution: "@types/retry@npm:0.12.2" + checksum: 10c0/07481551a988cc90b423351919928b9ddcd14e3f5591cac3ab950851bb20646e55a10e89141b38bc3093d2056d4df73700b22ff2612976ac86a6367862381884 + languageName: node + linkType: hard + "@types/sanitize-html@npm:2.13.0": version: 2.13.0 resolution: "@types/sanitize-html@npm:2.13.0" @@ -17973,6 +18369,22 @@ __metadata: languageName: node linkType: hard +"@types/sinon@npm:^17.0.3": + version: 17.0.3 + resolution: "@types/sinon@npm:17.0.3" + dependencies: + "@types/sinonjs__fake-timers": "npm:*" + checksum: 10c0/6fc3aa497fd87826375de3dbddc2bf01c281b517c32c05edf95b5ad906382dc221bca01ca9d44fc7d5cb4c768f996f268154e87633a45b3c0b5cddca7ef5e2be + languageName: node + linkType: hard + +"@types/sinonjs__fake-timers@npm:*": + version: 8.1.5 + resolution: "@types/sinonjs__fake-timers@npm:8.1.5" + checksum: 10c0/2b8bdc246365518fc1b08f5720445093cce586183acca19a560be6ef81f824bd9a96c090e462f622af4d206406dadf2033c5daf99a51c1096da6494e5c8dc32e + languageName: node + linkType: hard + "@types/sockjs@npm:^0.3.33": version: 0.3.36 resolution: "@types/sockjs@npm:0.3.36" @@ -18681,9 +19093,9 @@ __metadata: languageName: node linkType: hard -"@vitest/coverage-istanbul@npm:2.1.6": - version: 2.1.6 - resolution: "@vitest/coverage-istanbul@npm:2.1.6" +"@vitest/coverage-istanbul@npm:2.1.8": + version: 2.1.8 + resolution: "@vitest/coverage-istanbul@npm:2.1.8" dependencies: "@istanbuljs/schema": "npm:^0.1.3" debug: "npm:^4.3.7" @@ -18696,8 +19108,8 @@ __metadata: test-exclude: "npm:^7.0.1" tinyrainbow: "npm:^1.2.0" peerDependencies: - vitest: 2.1.6 - checksum: 10c0/ec70ee61a60357f586f0f7911018caef7a41ff622f8c2e9683d36dd620f50bc9ed2445916aced64e1f34428a2c3ea7c1d2ddfdb23201a0f59d72c0d828e30216 + vitest: 2.1.8 + checksum: 10c0/809eeccebaa7fd0e349d89a8d374e449c65a1d626f46b03b080aa507ac93dfb340c90dd491fe9a08dca896d6832e0f3dcffd6fd7ba3d05c1dc95c7a32aabc50c languageName: node linkType: hard @@ -18718,18 +19130,6 @@ __metadata: languageName: node linkType: hard -"@vitest/expect@npm:2.1.6": - version: 2.1.6 - resolution: "@vitest/expect@npm:2.1.6" - dependencies: - "@vitest/spy": "npm:2.1.6" - "@vitest/utils": "npm:2.1.6" - chai: "npm:^5.1.2" - tinyrainbow: "npm:^1.2.0" - checksum: 10c0/86327692f03b2ec6895486b118f25e1a141749c31ba671d253da4e33cf81db81f40755198ac9b46616155a8b74765d0ab15b8080041dbe139c83a9a0690004a2 - languageName: node - linkType: hard - "@vitest/expect@npm:2.1.8": version: 2.1.8 resolution: "@vitest/expect@npm:2.1.8" @@ -18742,25 +19142,6 @@ __metadata: languageName: node linkType: hard -"@vitest/mocker@npm:2.1.6": - version: 2.1.6 - resolution: "@vitest/mocker@npm:2.1.6" - dependencies: - "@vitest/spy": "npm:2.1.6" - estree-walker: "npm:^3.0.3" - magic-string: "npm:^0.30.12" - peerDependencies: - msw: ^2.4.9 - vite: ^5.0.0 || ^6.0.0 - peerDependenciesMeta: - msw: - optional: true - vite: - optional: true - checksum: 10c0/f8f4482e196a72cc9f202edb07da6f8d612f0daef272525a4c2447a5ffa435cc1cfe758cb79af0e296a60faa973ee0e2767cbb8bb6769eff2b5b9c6941ceda7c - languageName: node - linkType: hard - "@vitest/mocker@npm:2.1.8": version: 2.1.8 resolution: "@vitest/mocker@npm:2.1.8" @@ -18780,15 +19161,6 @@ __metadata: languageName: node linkType: hard -"@vitest/pretty-format@npm:2.1.6, @vitest/pretty-format@npm:^2.1.6": - version: 2.1.6 - resolution: "@vitest/pretty-format@npm:2.1.6" - dependencies: - tinyrainbow: "npm:^1.2.0" - checksum: 10c0/5c82496e5816c0c388bbe18a88ed01b39f5492aaa8e0df90868a65a50ee135105da367e58b4a0bed0dc67201c0518c451a32a5d9b81f56665b76b1c75c550686 - languageName: node - linkType: hard - "@vitest/pretty-format@npm:2.1.8, @vitest/pretty-format@npm:^2.1.8": version: 2.1.8 resolution: "@vitest/pretty-format@npm:2.1.8" @@ -18798,16 +19170,6 @@ __metadata: languageName: node linkType: hard -"@vitest/runner@npm:2.1.6": - version: 2.1.6 - resolution: "@vitest/runner@npm:2.1.6" - dependencies: - "@vitest/utils": "npm:2.1.6" - pathe: "npm:^1.1.2" - checksum: 10c0/3105aaa875ac58e237626ae3f9734cf003c2e40886a96ba20e78f1c1f721c9013d4f720d4a2fa4cd3a415ccd529bb4c7ff73021871c8ecda423f7e1fb7695cd4 - languageName: node - linkType: hard - "@vitest/runner@npm:2.1.8": version: 2.1.8 resolution: "@vitest/runner@npm:2.1.8" @@ -18818,17 +19180,6 @@ __metadata: languageName: node linkType: hard -"@vitest/snapshot@npm:2.1.6": - version: 2.1.6 - resolution: "@vitest/snapshot@npm:2.1.6" - dependencies: - "@vitest/pretty-format": "npm:2.1.6" - magic-string: "npm:^0.30.12" - pathe: "npm:^1.1.2" - checksum: 10c0/91708ee9fdf9ccaa637d9fa58141342831aaf2119641f050a45f80cca37f0a4c1f7d65363e609a6353594418d5ecfebacd090c64273cd63de6915d186c948632 - languageName: node - linkType: hard - "@vitest/snapshot@npm:2.1.8": version: 2.1.8 resolution: "@vitest/snapshot@npm:2.1.8" @@ -18840,15 +19191,6 @@ __metadata: languageName: node linkType: hard -"@vitest/spy@npm:2.1.6": - version: 2.1.6 - resolution: "@vitest/spy@npm:2.1.6" - dependencies: - tinyspy: "npm:^3.0.2" - checksum: 10c0/4d3e965f9096968125dd4f53a66a8afd7a105852a41bd36865288bef5b6a79f3ec6f2056cc1c7be5a0afb2cd86b3b83e354451f452bf049ddd4516005a748f6f - languageName: node - linkType: hard - "@vitest/spy@npm:2.1.8": version: 2.1.8 resolution: "@vitest/spy@npm:2.1.8" @@ -18858,17 +19200,6 @@ __metadata: languageName: node linkType: hard -"@vitest/utils@npm:2.1.6": - version: 2.1.6 - resolution: "@vitest/utils@npm:2.1.6" - dependencies: - "@vitest/pretty-format": "npm:2.1.6" - loupe: "npm:^3.1.2" - tinyrainbow: "npm:^1.2.0" - checksum: 10c0/1ec077b9707ec627075348f1a98687c7bb2fcbf9edf6e73dea6842c328d0d51a33663d22679e2a90a75f45afca9246f8fa3ea452447f474ae9d5f4eca4023b91 - languageName: node - linkType: hard - "@vitest/utils@npm:2.1.8": version: 2.1.8 resolution: "@vitest/utils@npm:2.1.8" @@ -18980,7 +19311,7 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/ast@npm:1.14.1, @webassemblyjs/ast@npm:^1.12.1": +"@webassemblyjs/ast@npm:1.14.1, @webassemblyjs/ast@npm:^1.12.1, @webassemblyjs/ast@npm:^1.14.1": version: 1.14.1 resolution: "@webassemblyjs/ast@npm:1.14.1" dependencies: @@ -19066,7 +19397,7 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/wasm-edit@npm:^1.12.1": +"@webassemblyjs/wasm-edit@npm:^1.12.1, @webassemblyjs/wasm-edit@npm:^1.14.1": version: 1.14.1 resolution: "@webassemblyjs/wasm-edit@npm:1.14.1" dependencies: @@ -19107,7 +19438,7 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/wasm-parser@npm:1.14.1, @webassemblyjs/wasm-parser@npm:^1.12.1": +"@webassemblyjs/wasm-parser@npm:1.14.1, @webassemblyjs/wasm-parser@npm:^1.12.1, @webassemblyjs/wasm-parser@npm:^1.14.1": version: 1.14.1 resolution: "@webassemblyjs/wasm-parser@npm:1.14.1" dependencies: @@ -19572,7 +19903,7 @@ __metadata: languageName: node linkType: hard -"ajv@npm:8.17.1, ajv@npm:^8.0.0, ajv@npm:^8.0.1, ajv@npm:^8.11.2, ajv@npm:^8.12.0, ajv@npm:^8.9.0": +"ajv@npm:8.17.1, ajv@npm:^8.0.0, ajv@npm:^8.11.2, ajv@npm:^8.12.0, ajv@npm:^8.9.0": version: 8.17.1 resolution: "ajv@npm:8.17.1" dependencies: @@ -19633,15 +19964,6 @@ __metadata: languageName: node linkType: hard -"ansi-escapes@npm:^7.0.0": - version: 7.0.0 - resolution: "ansi-escapes@npm:7.0.0" - dependencies: - environment: "npm:^1.0.0" - checksum: 10c0/86e51e36fabef18c9c004af0a280573e828900641cea35134a124d2715e0c5a473494ab4ce396614505da77638ae290ff72dd8002d9747d2ee53f5d6bbe336be - languageName: node - linkType: hard - "ansi-html-community@npm:0.0.8, ansi-html-community@npm:^0.0.8": version: 0.0.8 resolution: "ansi-html-community@npm:0.0.8" @@ -19734,6 +20056,13 @@ __metadata: languageName: node linkType: hard +"any-signal@npm:^4.1.1": + version: 4.1.1 + resolution: "any-signal@npm:4.1.1" + checksum: 10c0/44066b59b5c5c3639147d792486c3fca64f17aba8d4c307a81e2b8d19abf4485a9122efae058f690f0c8af6f677da41968c28b64d91e68b8e535e341b609b674 + languageName: node + linkType: hard + "anymatch@npm:^3.0.3, anymatch@npm:~3.1.2": version: 3.1.3 resolution: "anymatch@npm:3.1.3" @@ -20437,6 +20766,17 @@ __metadata: languageName: node linkType: hard +"asn1js@npm:^3.0.5": + version: 3.0.5 + resolution: "asn1js@npm:3.0.5" + dependencies: + pvtsutils: "npm:^1.3.2" + pvutils: "npm:^1.1.3" + tslib: "npm:^2.4.0" + checksum: 10c0/bb8eaf4040c8f49dd475566874986f5976b81bae65a6b5526e2208a13cdca323e69ce297bcd435fdda3eb6933defe888e71974d705b6fcb14f2734a907f8aed4 + languageName: node + linkType: hard + "assemblyai@npm:^4.4.1": version: 4.8.0 resolution: "assemblyai@npm:4.8.0" @@ -20704,14 +21044,14 @@ __metadata: languageName: node linkType: hard -"axios@npm:1.7.8, axios@npm:^1.4.0, axios@npm:^1.6.0, axios@npm:^1.6.1, axios@npm:^1.7.7": - version: 1.7.8 - resolution: "axios@npm:1.7.8" +"axios@npm:1.7.9": + version: 1.7.9 + resolution: "axios@npm:1.7.9" dependencies: follow-redirects: "npm:^1.15.6" form-data: "npm:^4.0.0" proxy-from-env: "npm:^1.1.0" - checksum: 10c0/23ae2d0105aea9170c34ac9b6f30d9b2ab2fa8b1370205d2f7ce98b9f9510ab420148c13359ee837ea5a4bf2fb028ff225bd2fc92052fb0c478c6b4a836e2d5f + checksum: 10c0/b7a41e24b59fee5f0f26c1fc844b45b17442832eb3a0fb42dd4f1430eb4abc571fe168e67913e8a1d91c993232bd1d1ab03e20e4d1fee8c6147649b576fc1b0b languageName: node linkType: hard @@ -20743,6 +21083,17 @@ __metadata: languageName: node linkType: hard +"axios@npm:^1.4.0, axios@npm:^1.6.0, axios@npm:^1.6.1, axios@npm:^1.7.7": + version: 1.7.8 + resolution: "axios@npm:1.7.8" + dependencies: + follow-redirects: "npm:^1.15.6" + form-data: "npm:^4.0.0" + proxy-from-env: "npm:^1.1.0" + checksum: 10c0/23ae2d0105aea9170c34ac9b6f30d9b2ab2fa8b1370205d2f7ce98b9f9510ab420148c13359ee837ea5a4bf2fb028ff225bd2fc92052fb0c478c6b4a836e2d5f + languageName: node + linkType: hard + "axobject-query@npm:^3.2.1": version: 3.2.4 resolution: "axobject-query@npm:3.2.4" @@ -21924,7 +22275,7 @@ __metadata: languageName: node linkType: hard -"chalk@npm:5.3.0, chalk@npm:^5.0.1, chalk@npm:^5.2.0, chalk@npm:^5.3.0, chalk@npm:~5.3.0": +"chalk@npm:5.3.0, chalk@npm:^5.2.0, chalk@npm:^5.3.0": version: 5.3.0 resolution: "chalk@npm:5.3.0" checksum: 10c0/8297d436b2c0f95801103ff2ef67268d362021b8210daf8ddbe349695333eb3610a71122172ff3b0272f1ef2cf7cc2c41fdaa4715f52e49ffe04c56340feed09 @@ -22068,23 +22419,6 @@ __metadata: languageName: node linkType: hard -"check-dependency-version-consistency@npm:3.0.3": - version: 3.0.3 - resolution: "check-dependency-version-consistency@npm:3.0.3" - dependencies: - chalk: "npm:^5.0.1" - commander: "npm:^9.0.0" - edit-json-file: "npm:^1.7.0" - globby: "npm:^13.1.1" - semver: "npm:^7.3.5" - table: "npm:^6.7.1" - type-fest: "npm:^2.1.0" - bin: - check-dependency-version-consistency: dist/bin/check-dependency-version-consistency.js - checksum: 10c0/7ff6a2bfd0e3208b095f04788f19b83dc2f8507148047f7f9e8ca7e7cd36ec39e43c4cccd072c1c9b1c05cfd9636a33b37af02f45e560f990f1471a838aadbb7 - languageName: node - linkType: hard - "check-error@npm:^2.1.1": version: 2.1.1 resolution: "check-error@npm:2.1.1" @@ -22335,15 +22669,6 @@ __metadata: languageName: node linkType: hard -"cli-cursor@npm:^5.0.0": - version: 5.0.0 - resolution: "cli-cursor@npm:5.0.0" - dependencies: - restore-cursor: "npm:^5.0.0" - checksum: 10c0/7ec62f69b79f6734ab209a3e4dbdc8af7422d44d360a7cb1efa8a0887bbe466a6e625650c466fe4359aee44dbe2dc0b6994b583d40a05d0808a5cb193641d220 - languageName: node - linkType: hard - "cli-progress@npm:^3.12.0": version: 3.12.0 resolution: "cli-progress@npm:3.12.0" @@ -22393,16 +22718,6 @@ __metadata: languageName: node linkType: hard -"cli-truncate@npm:^4.0.0": - version: 4.0.0 - resolution: "cli-truncate@npm:4.0.0" - dependencies: - slice-ansi: "npm:^5.0.0" - string-width: "npm:^7.0.0" - checksum: 10c0/d7f0b73e3d9b88cb496e6c086df7410b541b56a43d18ade6a573c9c18bd001b1c3fba1ad578f741a4218fdc794d042385f8ac02c25e1c295a2d8b9f3cb86eb4c - languageName: node - linkType: hard - "cli-width@npm:^3.0.0": version: 3.0.0 resolution: "cli-width@npm:3.0.0" @@ -22688,7 +23003,7 @@ __metadata: languageName: node linkType: hard -"colorette@npm:^2.0.10, colorette@npm:^2.0.14, colorette@npm:^2.0.16, colorette@npm:^2.0.20": +"colorette@npm:^2.0.10, colorette@npm:^2.0.14, colorette@npm:^2.0.16": version: 2.0.20 resolution: "colorette@npm:2.0.20" checksum: 10c0/e94116ff33b0ff56f3b83b9ace895e5bf87c2a7a47b3401b8c3f3226e050d5ef76cf4072fb3325f9dc24d1698f9b730baf4e05eeaf861d74a1883073f4c98a40 @@ -22795,13 +23110,6 @@ __metadata: languageName: node linkType: hard -"commander@npm:^9.0.0": - version: 9.5.0 - resolution: "commander@npm:9.5.0" - checksum: 10c0/5f7784fbda2aaec39e89eb46f06a999e00224b3763dc65976e05929ec486e174fe9aac2655f03ba6a5e83875bd173be5283dc19309b7c65954701c02025b3c1d - languageName: node - linkType: hard - "comment-parser@npm:1.4.1, comment-parser@npm:^1.4.0": version: 1.4.1 resolution: "comment-parser@npm:1.4.1" @@ -24007,6 +24315,25 @@ __metadata: languageName: node linkType: hard +"datastore-core@npm:^10.0.0": + version: 10.0.2 + resolution: "datastore-core@npm:10.0.2" + dependencies: + "@libp2p/logger": "npm:^5.0.1" + interface-datastore: "npm:^8.0.0" + interface-store: "npm:^6.0.0" + it-drain: "npm:^3.0.7" + it-filter: "npm:^3.1.1" + it-map: "npm:^3.1.1" + it-merge: "npm:^3.0.5" + it-pipe: "npm:^3.0.1" + it-pushable: "npm:^3.2.3" + it-sort: "npm:^3.0.6" + it-take: "npm:^3.0.6" + checksum: 10c0/625a7859b9a12593c958380907c96bba8046f7665dde2a12e095069717cdef2481832f7f6e1e5c3dc6e101df05d6fe60e32ec27d0e9b34edf0550f510609893a + languageName: node + linkType: hard + "date-fns@npm:4.1.0": version: 4.1.0 resolution: "date-fns@npm:4.1.0" @@ -24062,7 +24389,7 @@ __metadata: languageName: node linkType: hard -"debug@npm:4, debug@npm:^4.0.0, debug@npm:^4.0.1, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4, debug@npm:^4.3.5, debug@npm:^4.3.6, debug@npm:^4.3.7, debug@npm:~4.3.1, debug@npm:~4.3.2, debug@npm:~4.3.6": +"debug@npm:4, debug@npm:^4.0.0, debug@npm:^4.0.1, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4, debug@npm:^4.3.5, debug@npm:^4.3.6, debug@npm:^4.3.7, debug@npm:~4.3.1, debug@npm:~4.3.2": version: 4.3.7 resolution: "debug@npm:4.3.7" dependencies: @@ -24410,6 +24737,13 @@ __metadata: languageName: node linkType: hard +"delay@npm:^6.0.0": + version: 6.0.0 + resolution: "delay@npm:6.0.0" + checksum: 10c0/5175e887512d65b2bfe9e1168b5ce7a488de99c1d0af52cb4f799bb13dd7cb0bbbba8a4f5c500a5b03fb42bec8621d6ab59244bd8dfbe9a2bf7b173f25621a10 + languageName: node + linkType: hard + "delayed-stream@npm:~1.0.0": version: 1.0.0 resolution: "delayed-stream@npm:1.0.0" @@ -24705,7 +25039,7 @@ __metadata: languageName: node linkType: hard -"dns-packet@npm:^5.2.2": +"dns-packet@npm:^5.2.2, dns-packet@npm:^5.6.1": version: 5.6.1 resolution: "dns-packet@npm:5.6.1" dependencies: @@ -24846,10 +25180,10 @@ __metadata: languageName: node linkType: hard -"dompurify@npm:2.5.7": - version: 2.5.7 - resolution: "dompurify@npm:2.5.7" - checksum: 10c0/23c4f737182fcf3e731e458c3930ef4d2916191e4180e1e345f153124dfa7ec117d2810af1754e8854c581131fc75dac914a8391183d1511852ef32b4055f711 +"dompurify@npm:2.5.8": + version: 2.5.8 + resolution: "dompurify@npm:2.5.8" + checksum: 10c0/4101708d190b67be00350369d72619266a2e0ebb7dcab12628cf07711329b1df12239baea613df41b65cba571128e8ea4c29c442f4e2c98670a9bb5563521f03 languageName: node linkType: hard @@ -25110,19 +25444,6 @@ __metadata: languageName: node linkType: hard -"edit-json-file@npm:^1.7.0": - version: 1.8.0 - resolution: "edit-json-file@npm:1.8.0" - dependencies: - find-value: "npm:^1.0.12" - iterate-object: "npm:^1.3.4" - r-json: "npm:^1.2.10" - set-value: "npm:^4.1.0" - w-json: "npm:^1.3.10" - checksum: 10c0/3dc1e7da2245601bd301310d0a3d40123918eb9468268ad4f7b9aeb347fbf10286da026515be870d01b8e4fb5282254650113a6d501e14815663a94cb705e753 - languageName: node - linkType: hard - "ee-first@npm:1.1.1": version: 1.1.1 resolution: "ee-first@npm:1.1.1" @@ -25130,21 +25451,21 @@ __metadata: languageName: node linkType: hard -"effect@npm:3.10.19": - version: 3.10.19 - resolution: "effect@npm:3.10.19" +"effect@npm:3.11.0": + version: 3.11.0 + resolution: "effect@npm:3.11.0" dependencies: fast-check: "npm:^3.21.0" - checksum: 10c0/0206a1c79591e499ad65ae6e3f0faf40bce66f5ba1a4d5836d5db2661b67d03ed443803810b7d7d2c490f0362ff404857096eb961fb80879957f7f41f7b168c9 + checksum: 10c0/a756a45fa98a45f1d1283909bac1995d8e160378be4fe1e3a16f469b5a78b3ac198f385f94626e344e4fc414220be511c396ff07d7bcc473bdf29d3fb6341eae languageName: node linkType: hard -"effect@npm:3.11.0": - version: 3.11.0 - resolution: "effect@npm:3.11.0" +"effect@npm:3.11.3": + version: 3.11.3 + resolution: "effect@npm:3.11.3" dependencies: fast-check: "npm:^3.21.0" - checksum: 10c0/a756a45fa98a45f1d1283909bac1995d8e160378be4fe1e3a16f469b5a78b3ac198f385f94626e344e4fc414220be511c396ff07d7bcc473bdf29d3fb6341eae + checksum: 10c0/a343a20d833112e21b27f17f404e97a33240fafe09d638428381d8bb96b4f0d2eccdaebe43453dce4982242134e1c8cfbab1d63e364fea79de02faeb92940c04 languageName: node linkType: hard @@ -25189,13 +25510,6 @@ __metadata: languageName: node linkType: hard -"emoji-regex@npm:^10.3.0": - version: 10.4.0 - resolution: "emoji-regex@npm:10.4.0" - checksum: 10c0/a3fcedfc58bfcce21a05a5f36a529d81e88d602100145fcca3dc6f795e3c8acc4fc18fe773fbf9b6d6e9371205edb3afa2668ec3473fa2aa7fd47d2a9d46482d - languageName: node - linkType: hard - "emoji-regex@npm:^8.0.0": version: 8.0.0 resolution: "emoji-regex@npm:8.0.0" @@ -25370,13 +25684,6 @@ __metadata: languageName: node linkType: hard -"environment@npm:^1.0.0": - version: 1.1.0 - resolution: "environment@npm:1.1.0" - checksum: 10c0/fb26434b0b581ab397039e51ff3c92b34924a98b2039dcb47e41b7bca577b9dbf134a8eadb364415c74464b682e2d3afe1a4c0eb9873dc44ea814c5d3103331d - languageName: node - linkType: hard - "enzyme-shallow-equal@npm:^1.0.0": version: 1.0.7 resolution: "enzyme-shallow-equal@npm:1.0.7" @@ -25826,89 +26133,6 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:^0.24.0": - version: 0.24.0 - resolution: "esbuild@npm:0.24.0" - dependencies: - "@esbuild/aix-ppc64": "npm:0.24.0" - "@esbuild/android-arm": "npm:0.24.0" - "@esbuild/android-arm64": "npm:0.24.0" - "@esbuild/android-x64": "npm:0.24.0" - "@esbuild/darwin-arm64": "npm:0.24.0" - "@esbuild/darwin-x64": "npm:0.24.0" - "@esbuild/freebsd-arm64": "npm:0.24.0" - "@esbuild/freebsd-x64": "npm:0.24.0" - "@esbuild/linux-arm": "npm:0.24.0" - "@esbuild/linux-arm64": "npm:0.24.0" - "@esbuild/linux-ia32": "npm:0.24.0" - "@esbuild/linux-loong64": "npm:0.24.0" - "@esbuild/linux-mips64el": "npm:0.24.0" - "@esbuild/linux-ppc64": "npm:0.24.0" - "@esbuild/linux-riscv64": "npm:0.24.0" - "@esbuild/linux-s390x": "npm:0.24.0" - "@esbuild/linux-x64": "npm:0.24.0" - "@esbuild/netbsd-x64": "npm:0.24.0" - "@esbuild/openbsd-arm64": "npm:0.24.0" - "@esbuild/openbsd-x64": "npm:0.24.0" - "@esbuild/sunos-x64": "npm:0.24.0" - "@esbuild/win32-arm64": "npm:0.24.0" - "@esbuild/win32-ia32": "npm:0.24.0" - "@esbuild/win32-x64": "npm:0.24.0" - dependenciesMeta: - "@esbuild/aix-ppc64": - optional: true - "@esbuild/android-arm": - optional: true - "@esbuild/android-arm64": - optional: true - "@esbuild/android-x64": - optional: true - "@esbuild/darwin-arm64": - optional: true - "@esbuild/darwin-x64": - optional: true - "@esbuild/freebsd-arm64": - optional: true - "@esbuild/freebsd-x64": - optional: true - "@esbuild/linux-arm": - optional: true - "@esbuild/linux-arm64": - optional: true - "@esbuild/linux-ia32": - optional: true - "@esbuild/linux-loong64": - optional: true - "@esbuild/linux-mips64el": - optional: true - "@esbuild/linux-ppc64": - optional: true - "@esbuild/linux-riscv64": - optional: true - "@esbuild/linux-s390x": - optional: true - "@esbuild/linux-x64": - optional: true - "@esbuild/netbsd-x64": - optional: true - "@esbuild/openbsd-arm64": - optional: true - "@esbuild/openbsd-x64": - optional: true - "@esbuild/sunos-x64": - optional: true - "@esbuild/win32-arm64": - optional: true - "@esbuild/win32-ia32": - optional: true - "@esbuild/win32-x64": - optional: true - bin: - esbuild: bin/esbuild - checksum: 10c0/9f1aadd8d64f3bff422ae78387e66e51a5e09de6935a6f987b6e4e189ed00fdc2d1bc03d2e33633b094008529c8b6e06c7ad1a9782fb09fec223bf95998c0683 - languageName: node - linkType: hard - "esbuild@npm:~0.23.0": version: 0.23.1 resolution: "esbuild@npm:0.23.1" @@ -27396,7 +27620,7 @@ __metadata: languageName: node linkType: hard -"execa@npm:^8.0.1, execa@npm:~8.0.1": +"execa@npm:^8.0.1": version: 8.0.1 resolution: "execa@npm:8.0.1" dependencies: @@ -27465,7 +27689,46 @@ __metadata: languageName: node linkType: hard -"express@npm:4.21.1, express@npm:^4.17.3": +"express@npm:4.21.2": + version: 4.21.2 + resolution: "express@npm:4.21.2" + dependencies: + accepts: "npm:~1.3.8" + array-flatten: "npm:1.1.1" + body-parser: "npm:1.20.3" + content-disposition: "npm:0.5.4" + content-type: "npm:~1.0.4" + cookie: "npm:0.7.1" + cookie-signature: "npm:1.0.6" + debug: "npm:2.6.9" + depd: "npm:2.0.0" + encodeurl: "npm:~2.0.0" + escape-html: "npm:~1.0.3" + etag: "npm:~1.8.1" + finalhandler: "npm:1.3.1" + fresh: "npm:0.5.2" + http-errors: "npm:2.0.0" + merge-descriptors: "npm:1.0.3" + methods: "npm:~1.1.2" + on-finished: "npm:2.4.1" + parseurl: "npm:~1.3.3" + path-to-regexp: "npm:0.1.12" + proxy-addr: "npm:~2.0.7" + qs: "npm:6.13.0" + range-parser: "npm:~1.2.1" + safe-buffer: "npm:5.2.1" + send: "npm:0.19.0" + serve-static: "npm:1.16.2" + setprototypeof: "npm:1.2.0" + statuses: "npm:2.0.1" + type-is: "npm:~1.6.18" + utils-merge: "npm:1.0.1" + vary: "npm:~1.1.2" + checksum: 10c0/38168fd0a32756600b56e6214afecf4fc79ec28eca7f7a91c2ab8d50df4f47562ca3f9dee412da7f5cea6b1a1544b33b40f9f8586dbacfbdada0fe90dbb10a1f + languageName: node + linkType: hard + +"express@npm:^4.17.3": version: 4.21.1 resolution: "express@npm:4.21.1" dependencies: @@ -28177,13 +28440,6 @@ __metadata: languageName: node linkType: hard -"find-value@npm:^1.0.12": - version: 1.0.12 - resolution: "find-value@npm:1.0.12" - checksum: 10c0/71fa0c4cd003ca09c3a679c99b899a1d45d60e325f858fd463c484358a3424c7dba9ff965b67764ba3226ffe6642cf458c5be7797fdd68c90fb9c0a9eae4e39c - languageName: node - linkType: hard - "find-yarn-workspace-root2@npm:1.2.16": version: 1.2.16 resolution: "find-yarn-workspace-root2@npm:1.2.16" @@ -28825,13 +29081,6 @@ __metadata: languageName: node linkType: hard -"get-east-asian-width@npm:^1.0.0": - version: 1.3.0 - resolution: "get-east-asian-width@npm:1.3.0" - checksum: 10c0/1a049ba697e0f9a4d5514c4623781c5246982bdb61082da6b5ae6c33d838e52ce6726407df285cdbb27ec1908b333cf2820989bd3e986e37bb20979437fdf34b - languageName: node - linkType: hard - "get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.1, get-intrinsic@npm:^1.2.2, get-intrinsic@npm:^1.2.3, get-intrinsic@npm:^1.2.4": version: 1.2.4 resolution: "get-intrinsic@npm:1.2.4" @@ -28845,6 +29094,13 @@ __metadata: languageName: node linkType: hard +"get-iterator@npm:^2.0.1": + version: 2.0.1 + resolution: "get-iterator@npm:2.0.1" + checksum: 10c0/400d90d39bac5dc137176fc7a48a5d7267f85c1b653e8b14548e0e99f25fad4dab24efc4bca44c7d79d808c6ed3ce2e5779703a2f205fc230a25bb134aa524f7 + languageName: node + linkType: hard + "get-nonce@npm:^1.0.0": version: 1.0.1 resolution: "get-nonce@npm:1.0.1" @@ -29800,25 +30056,26 @@ __metadata: "@sentry/cli": "npm:^2.39.1" "@taplo/cli": "npm:0.7.0" "@yarnpkg/types": "npm:^4.0.0" - check-dependency-version-consistency: "npm:3.0.3" concurrently: "npm:7.6.0" - cross-env: "npm:7.0.3" - dotenv-flow: "npm:3.3.0" - husky: "npm:8.0.3" - lint-staged: "npm:15.2.10" + lefthook: "npm:1.9.0" lockfile-lint: "npm:4.14.0" markdownlint-cli: "npm:0.43.0" npm-run-all2: "npm:7.0.1" - postinstall-postinstall: "npm:2.1.0" - prettier: "npm:3.4.1" + prettier: "npm:3.4.2" prettier-plugin-packagejson: "npm:2.5.6" prettier-plugin-sh: "npm:0.14.0" suppress-exit-code: "npm:3.2.0" turbo: "npm:2.3.3" - wait-on: "npm:8.0.1" languageName: unknown linkType: soft +"hashlru@npm:^2.3.0": + version: 2.3.0 + resolution: "hashlru@npm:2.3.0" + checksum: 10c0/90f351db1a320c43aeb681c7e806f35af6877a86d3fa9b970636ea21f111d0f0b819e046dc9b5fe6a8ab211a3d98178eb37aacbad29ea4f6f53554a4541a6f0d + languageName: node + linkType: hard + "hasown@npm:^2.0.0, hasown@npm:^2.0.1, hasown@npm:^2.0.2": version: 2.0.2 resolution: "hasown@npm:2.0.2" @@ -30552,15 +30809,6 @@ __metadata: languageName: node linkType: hard -"husky@npm:8.0.3": - version: 8.0.3 - resolution: "husky@npm:8.0.3" - bin: - husky: lib/bin.js - checksum: 10c0/6722591771c657b91a1abb082e07f6547eca79144d678e586828ae806499d90dce2a6aee08b66183fd8b085f19d20e0990a2ad396961746b4c8bd5bdb619d668 - languageName: node - linkType: hard - "hyperdyperid@npm:^1.2.0": version: 1.2.0 resolution: "hyperdyperid@npm:1.2.0" @@ -30946,6 +31194,23 @@ __metadata: languageName: node linkType: hard +"interface-datastore@npm:^8.0.0, interface-datastore@npm:^8.3.0, interface-datastore@npm:^8.3.1": + version: 8.3.1 + resolution: "interface-datastore@npm:8.3.1" + dependencies: + interface-store: "npm:^6.0.0" + uint8arrays: "npm:^5.1.0" + checksum: 10c0/7b7fbe94fe00ed8a69e2197a0b58fa7db733d7a7110dfaa259fc19c9cb1761402a9f31063d4d87676e4d2213ed94b06d3f2b9dd65bc727e89bd0dbfbc17882a1 + languageName: node + linkType: hard + +"interface-store@npm:^6.0.0": + version: 6.0.2 + resolution: "interface-store@npm:6.0.2" + checksum: 10c0/26650c98c411fcf5dfeec76d4433f9ca594c2d27cc7afb285b618132d512b62d684471054b2fb4e687b477ab36f1ca21fd81caad404925502a4a54160a7158c4 + languageName: node + linkType: hard + "internal-slot@npm:^1.0.4, internal-slot@npm:^1.0.7": version: 1.0.7 resolution: "internal-slot@npm:1.0.7" @@ -31280,6 +31545,13 @@ __metadata: languageName: node linkType: hard +"is-electron@npm:^2.2.0": + version: 2.2.2 + resolution: "is-electron@npm:2.2.2" + checksum: 10c0/327bb373f7be01b16cdff3998b5ddaa87d28f576092affaa7fe0659571b3306fdd458afbf0683a66841e7999af13f46ad0e1b51647b469526cd05a4dd736438a + languageName: node + linkType: hard + "is-extendable@npm:^0.1.0, is-extendable@npm:^0.1.1": version: 0.1.1 resolution: "is-extendable@npm:0.1.1" @@ -31342,15 +31614,6 @@ __metadata: languageName: node linkType: hard -"is-fullwidth-code-point@npm:^5.0.0": - version: 5.0.0 - resolution: "is-fullwidth-code-point@npm:5.0.0" - dependencies: - get-east-asian-width: "npm:^1.0.0" - checksum: 10c0/cd591b27d43d76b05fa65ed03eddce57a16e1eca0b7797ff7255de97019bcaf0219acfc0c4f7af13319e13541f2a53c0ace476f442b13267b9a6a7568f2b65c8 - languageName: node - linkType: hard - "is-generator-function@npm:^1.0.10, is-generator-function@npm:^1.0.7": version: 1.0.10 resolution: "is-generator-function@npm:1.0.10" @@ -31455,6 +31718,13 @@ __metadata: languageName: node linkType: hard +"is-loopback-addr@npm:^2.0.2": + version: 2.0.2 + resolution: "is-loopback-addr@npm:2.0.2" + checksum: 10c0/574ce2f8f9c9f4543295a6e1979c4f9dcc96e353c48e8bcd4f1089b05a88ad9e87e3e6131c977fcd1dab0a775d8bf9e456284dda119317b9b901cd7d6a995494 + languageName: node + linkType: hard + "is-lower-case@npm:^2.0.2": version: 2.0.2 resolution: "is-lower-case@npm:2.0.2" @@ -31502,6 +31772,13 @@ __metadata: languageName: node linkType: hard +"is-network-error@npm:^1.0.0": + version: 1.1.0 + resolution: "is-network-error@npm:1.1.0" + checksum: 10c0/89eef83c2a4cf43d853145ce175d1cf43183b7a58d48c7a03e7eed4eb395d0934c1f6d101255cdd8c8c2980ab529bfbe5dd9edb24e1c3c28d2b3c814469b5b7d + languageName: node + linkType: hard + "is-number-object@npm:^1.0.4": version: 1.0.7 resolution: "is-number-object@npm:1.0.7" @@ -31581,6 +31858,13 @@ __metadata: languageName: node linkType: hard +"is-plain-obj@npm:^2.1.0": + version: 2.1.0 + resolution: "is-plain-obj@npm:2.1.0" + checksum: 10c0/e5c9814cdaa627a9ad0a0964ded0e0491bfd9ace405c49a5d63c88b30a162f1512c069d5b80997893c4d0181eadc3fed02b4ab4b81059aba5620bfcdfdeb9c53 + languageName: node + linkType: hard + "is-plain-obj@npm:^3.0.0": version: 3.0.0 resolution: "is-plain-obj@npm:3.0.0" @@ -31618,13 +31902,6 @@ __metadata: languageName: node linkType: hard -"is-primitive@npm:^3.0.1": - version: 3.0.1 - resolution: "is-primitive@npm:3.0.1" - checksum: 10c0/2e3b6f029fabbdda467ea51ea4fdd00e6552434108b863a08f296638072c506a7c195089e3e31f83e7fc14bebbd1c5c9f872fe127c9284a7665c8227b47ffdd6 - languageName: node - linkType: hard - "is-promise@npm:^2.2.2": version: 2.2.2 resolution: "is-promise@npm:2.2.2" @@ -32055,6 +32332,192 @@ __metadata: languageName: node linkType: hard +"it-all@npm:^3.0.0, it-all@npm:^3.0.6": + version: 3.0.6 + resolution: "it-all@npm:3.0.6" + checksum: 10c0/b615dcbc8dcda46f192a19f8ffeb526054e325d0301a1434ad821bcb71d102c6b3ff61a658f9b92091b14e5e53803ddec92669a5ae82f1afd2f4aeb34fceb517 + languageName: node + linkType: hard + +"it-byte-stream@npm:^1.0.0, it-byte-stream@npm:^1.0.12, it-byte-stream@npm:^1.1.0": + version: 1.1.0 + resolution: "it-byte-stream@npm:1.1.0" + dependencies: + it-queueless-pushable: "npm:^1.0.0" + it-stream-types: "npm:^2.0.1" + uint8arraylist: "npm:^2.4.8" + checksum: 10c0/df7e7bd26d726b91306a7181c1880e18cc21c43df843d279522923ef4cd080b0b91a4d0bd4eb929b6d597392402ce9c3fceebae31f429dee8a4b84b30c519fc8 + languageName: node + linkType: hard + +"it-drain@npm:^3.0.7": + version: 3.0.7 + resolution: "it-drain@npm:3.0.7" + checksum: 10c0/d5f59a48060bcceabbc8122cd9d8e48de5725f60556ca7e3336917b9b0a5aaedfca986a9125d223b33a2b09971bf95027c03dc8bdc8b502af0e8566bc3c48b93 + languageName: node + linkType: hard + +"it-filter@npm:^3.1.1": + version: 3.1.1 + resolution: "it-filter@npm:3.1.1" + dependencies: + it-peekable: "npm:^3.0.0" + checksum: 10c0/810288d93c16423f87fe04b8e5773e101382260cad8056023817262454b7e0efbc87b3158a17c23420d61d3e4b7c81e263fd34d4971ea3189a5cb670f764796f + languageName: node + linkType: hard + +"it-foreach@npm:^2.0.6, it-foreach@npm:^2.1.1": + version: 2.1.1 + resolution: "it-foreach@npm:2.1.1" + dependencies: + it-peekable: "npm:^3.0.0" + checksum: 10c0/93f90f7a8a474b747c7ba4c701363bdb9427329aaac6c5657d24d9d89dd8bddd1ca2590807129bb60184982da2e70fd4120fd8752578ecd722eb31ba83c66d0f + languageName: node + linkType: hard + +"it-length-prefixed-stream@npm:^1.0.0, it-length-prefixed-stream@npm:^1.2.0": + version: 1.2.0 + resolution: "it-length-prefixed-stream@npm:1.2.0" + dependencies: + it-byte-stream: "npm:^1.0.0" + it-stream-types: "npm:^2.0.1" + uint8-varint: "npm:^2.0.4" + uint8arraylist: "npm:^2.4.8" + checksum: 10c0/093644881c73ab76b4074c65605f25b22892d1267fa9a2ec8c2a4731f4e51d86b54be0a6e2bc9772b81cc7c3f2f3d705695304fe33eeac32849076bdebb46829 + languageName: node + linkType: hard + +"it-length-prefixed@npm:^9.0.1, it-length-prefixed@npm:^9.1.0": + version: 9.1.0 + resolution: "it-length-prefixed@npm:9.1.0" + dependencies: + it-reader: "npm:^6.0.1" + it-stream-types: "npm:^2.0.1" + uint8-varint: "npm:^2.0.1" + uint8arraylist: "npm:^2.0.0" + uint8arrays: "npm:^5.0.1" + checksum: 10c0/4a64c51a14a50e65e502dc65aafc1f867c08aad0e7a82f8e0245c378e1484287d0d0f8ae73b451f96f8221f32c6b9db5f93f88f6be3ef992de23d92d0dc7a9ea + languageName: node + linkType: hard + +"it-map@npm:^3.1.1": + version: 3.1.1 + resolution: "it-map@npm:3.1.1" + dependencies: + it-peekable: "npm:^3.0.0" + checksum: 10c0/d18f8a71dee320e38efde0d8787011e1213e4261bb3161541a2a0915ded5b0950d5ac09d6b81aa56c408ea727be8096cd84502e40810f81e6acbf3af2c970a65 + languageName: node + linkType: hard + +"it-merge@npm:^3.0.0, it-merge@npm:^3.0.5": + version: 3.0.5 + resolution: "it-merge@npm:3.0.5" + dependencies: + it-pushable: "npm:^3.2.3" + checksum: 10c0/3c8ac84f440571b6679b88d5d8bb90468cd449706b02cb2dce264bee5eec334cddfa546f9a68b14461cdda1d0bdd53663bb40b1dba26164e79700cc78388ae52 + languageName: node + linkType: hard + +"it-pair@npm:^2.0.6": + version: 2.0.6 + resolution: "it-pair@npm:2.0.6" + dependencies: + it-stream-types: "npm:^2.0.1" + p-defer: "npm:^4.0.0" + checksum: 10c0/211ebcef17d9853763c1762171a194132ceeb3afe2bee11fa71d98cd98d25fac2af50968e4a0c21a76f898191819bf0f4f951dd0cb0cbdf2b1fadf8a6185d8c1 + languageName: node + linkType: hard + +"it-parallel@npm:^3.0.7": + version: 3.0.8 + resolution: "it-parallel@npm:3.0.8" + dependencies: + p-defer: "npm:^4.0.1" + checksum: 10c0/b0fc9d042058e644ebf40044cb7f7f71133c994caa76af87087453cee4bdb608f4e6200966adb9d1af6fb674118e6c9d1ebf5fdd616b918e69b8fe8b026b744f + languageName: node + linkType: hard + +"it-peekable@npm:^3.0.0": + version: 3.0.5 + resolution: "it-peekable@npm:3.0.5" + checksum: 10c0/6c220b65f73c3e776ba4a457054b91258f81ad68cfc7c56f7f93489361ba3bd1156aeb1f981d40d842d9b736f3eedb42d229a877f13af8292f196569fefdc9c7 + languageName: node + linkType: hard + +"it-pipe@npm:^3.0.1": + version: 3.0.1 + resolution: "it-pipe@npm:3.0.1" + dependencies: + it-merge: "npm:^3.0.0" + it-pushable: "npm:^3.1.2" + it-stream-types: "npm:^2.0.1" + checksum: 10c0/342b7dec98fb3a7247f576091cbf3c3b121eb32ceb0480ca39b5a757f56658aba852d35d78a59472ce3d6502af1b6b43a19b2311134f67800404d74da7cf4e43 + languageName: node + linkType: hard + +"it-protobuf-stream@npm:^1.1.3": + version: 1.1.5 + resolution: "it-protobuf-stream@npm:1.1.5" + dependencies: + it-length-prefixed-stream: "npm:^1.0.0" + it-stream-types: "npm:^2.0.1" + uint8arraylist: "npm:^2.4.8" + checksum: 10c0/4d21b82fd287797edcb8caf94dd91cffe568084799d82f8cccd1030cc3102cab8f911658aa37d154759b2866036f37e15530a8be1e1551d04af7b28e2f9eec5a + languageName: node + linkType: hard + +"it-pushable@npm:^3.1.2, it-pushable@npm:^3.2.3": + version: 3.2.3 + resolution: "it-pushable@npm:3.2.3" + dependencies: + p-defer: "npm:^4.0.0" + checksum: 10c0/ba99744f0a6fe9e555bdde76ce2144a3e35c37a33830c69d65f5512129fb5a58272f1bbb4b9741fca69be868c301109fc910b26629c8eb0961f0503dd80a4830 + languageName: node + linkType: hard + +"it-queueless-pushable@npm:^1.0.0": + version: 1.0.0 + resolution: "it-queueless-pushable@npm:1.0.0" + dependencies: + p-defer: "npm:^4.0.1" + race-signal: "npm:^1.0.2" + checksum: 10c0/93d7601515f32c01cc9ca0f77addcda57e3524516747716a0101e54f44d6cad5037bc9f7005f21837822fb154e47868f19f9c89dcc3e8fd255d72455a0b95e73 + languageName: node + linkType: hard + +"it-reader@npm:^6.0.1": + version: 6.0.4 + resolution: "it-reader@npm:6.0.4" + dependencies: + it-stream-types: "npm:^2.0.1" + uint8arraylist: "npm:^2.0.0" + checksum: 10c0/7c87be7df0d573fa2fc3bd29ec7b5c34e3ec722bb65d7f19a25c52f3bfd2e0170073850f2ebde2c8b48156c4fd9cc684583f63ca601c6dad53c31859f6b1c275 + languageName: node + linkType: hard + +"it-sort@npm:^3.0.6": + version: 3.0.6 + resolution: "it-sort@npm:3.0.6" + dependencies: + it-all: "npm:^3.0.0" + checksum: 10c0/3bae0be054858c9bb75d258d505f3f166dc32b46c0e1db0cc98a05ea29e9804f55ca56b1a94e82b2ab61b4d74cd4d06654448ff54f49801fa13faeb5a11fe4da + languageName: node + linkType: hard + +"it-stream-types@npm:2.0.2, it-stream-types@npm:^2.0.1, it-stream-types@npm:^2.0.2": + version: 2.0.2 + resolution: "it-stream-types@npm:2.0.2" + checksum: 10c0/da2a035234b3a914c12cfbfc38cbae201c8464b917db1e6dadd88aaa87d4ca6c52c35827b9c3405fe0c55862bdc63d5cefca33a219394d0b4c2f22987e838807 + languageName: node + linkType: hard + +"it-take@npm:^3.0.6": + version: 3.0.6 + resolution: "it-take@npm:3.0.6" + checksum: 10c0/8fca59578e93700067b785a53303ba2ad10df7f5b4c3fc4929b1f9d9052365d0f8fe4050089b47e50aed67cafd714e295aea9c51797659b43ded13be90f030e1 + languageName: node + linkType: hard + "iterall@npm:1.1.3": version: 1.1.3 resolution: "iterall@npm:1.1.3" @@ -32069,13 +32532,6 @@ __metadata: languageName: node linkType: hard -"iterate-object@npm:^1.3.4": - version: 1.3.4 - resolution: "iterate-object@npm:1.3.4" - checksum: 10c0/ff37f08223397ea637af136061ba74590efe5b29be5ca9006ae8168ce2faca67b0b4ebc763317173da65d2ae3ba81c1b51f4ceb80092a7bc668f3798f63db9e2 - languageName: node - linkType: hard - "iterator.prototype@npm:^1.1.3": version: 1.1.3 resolution: "iterator.prototype@npm:1.1.3" @@ -32827,14 +33283,14 @@ __metadata: languageName: node linkType: hard -"katex@npm:0.16.11": - version: 0.16.11 - resolution: "katex@npm:0.16.11" +"katex@npm:0.16.14": + version: 0.16.14 + resolution: "katex@npm:0.16.14" dependencies: commander: "npm:^8.3.0" bin: katex: cli.js - checksum: 10c0/be405d45d7228bbfeecd491e0f74d9da0066b5e7b457e3f1dc833de5b63f9e98e40d2ef6b46e1cbe577490a43338c043851da032c45aeec0cc03ad431ef6fd83 + checksum: 10c0/ec9b5b5c4ffb1d7a1adea45b30d84551f65ad786a89114bb7509f4fdf691a61bcb3feab1c07ca386adbd8ae87efbce6cc14d337774334d1890f2da4ab2ed3f80 languageName: node linkType: hard @@ -32976,6 +33432,117 @@ __metadata: languageName: node linkType: hard +"lefthook-darwin-arm64@npm:1.9.0": + version: 1.9.0 + resolution: "lefthook-darwin-arm64@npm:1.9.0" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"lefthook-darwin-x64@npm:1.9.0": + version: 1.9.0 + resolution: "lefthook-darwin-x64@npm:1.9.0" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"lefthook-freebsd-arm64@npm:1.9.0": + version: 1.9.0 + resolution: "lefthook-freebsd-arm64@npm:1.9.0" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + +"lefthook-freebsd-x64@npm:1.9.0": + version: 1.9.0 + resolution: "lefthook-freebsd-x64@npm:1.9.0" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"lefthook-linux-arm64@npm:1.9.0": + version: 1.9.0 + resolution: "lefthook-linux-arm64@npm:1.9.0" + conditions: os=linux & cpu=arm64 + languageName: node + linkType: hard + +"lefthook-linux-x64@npm:1.9.0": + version: 1.9.0 + resolution: "lefthook-linux-x64@npm:1.9.0" + conditions: os=linux & cpu=x64 + languageName: node + linkType: hard + +"lefthook-openbsd-arm64@npm:1.9.0": + version: 1.9.0 + resolution: "lefthook-openbsd-arm64@npm:1.9.0" + conditions: os=openbsd & cpu=arm64 + languageName: node + linkType: hard + +"lefthook-openbsd-x64@npm:1.9.0": + version: 1.9.0 + resolution: "lefthook-openbsd-x64@npm:1.9.0" + conditions: os=openbsd & cpu=x64 + languageName: node + linkType: hard + +"lefthook-windows-arm64@npm:1.9.0": + version: 1.9.0 + resolution: "lefthook-windows-arm64@npm:1.9.0" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"lefthook-windows-x64@npm:1.9.0": + version: 1.9.0 + resolution: "lefthook-windows-x64@npm:1.9.0" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"lefthook@npm:1.9.0": + version: 1.9.0 + resolution: "lefthook@npm:1.9.0" + dependencies: + lefthook-darwin-arm64: "npm:1.9.0" + lefthook-darwin-x64: "npm:1.9.0" + lefthook-freebsd-arm64: "npm:1.9.0" + lefthook-freebsd-x64: "npm:1.9.0" + lefthook-linux-arm64: "npm:1.9.0" + lefthook-linux-x64: "npm:1.9.0" + lefthook-openbsd-arm64: "npm:1.9.0" + lefthook-openbsd-x64: "npm:1.9.0" + lefthook-windows-arm64: "npm:1.9.0" + lefthook-windows-x64: "npm:1.9.0" + dependenciesMeta: + lefthook-darwin-arm64: + optional: true + lefthook-darwin-x64: + optional: true + lefthook-freebsd-arm64: + optional: true + lefthook-freebsd-x64: + optional: true + lefthook-linux-arm64: + optional: true + lefthook-linux-x64: + optional: true + lefthook-openbsd-arm64: + optional: true + lefthook-openbsd-x64: + optional: true + lefthook-windows-arm64: + optional: true + lefthook-windows-x64: + optional: true + bin: + lefthook: bin/index.js + checksum: 10c0/f013cca0257758e023abc68525793c18ab29353c222670e16a907274346483c8ca3d3a9f8d2f7d51dc9154e356da9f069c2423500eb055991930ebdc2c6f26c6 + languageName: node + linkType: hard + "leven@npm:^3.1.0": version: 3.1.0 resolution: "leven@npm:3.1.0" @@ -33003,6 +33570,40 @@ __metadata: languageName: node linkType: hard +"libp2p@npm:2.3.1": + version: 2.3.1 + resolution: "libp2p@npm:2.3.1" + dependencies: + "@libp2p/crypto": "npm:^5.0.7" + "@libp2p/interface": "npm:^2.2.1" + "@libp2p/interface-internal": "npm:^2.1.1" + "@libp2p/logger": "npm:^5.1.4" + "@libp2p/multistream-select": "npm:^6.0.9" + "@libp2p/peer-collections": "npm:^6.0.12" + "@libp2p/peer-id": "npm:^5.0.8" + "@libp2p/peer-store": "npm:^11.0.12" + "@libp2p/utils": "npm:^6.2.1" + "@multiformats/dns": "npm:^1.0.6" + "@multiformats/multiaddr": "npm:^12.2.3" + "@multiformats/multiaddr-matcher": "npm:^1.2.1" + any-signal: "npm:^4.1.1" + datastore-core: "npm:^10.0.0" + interface-datastore: "npm:^8.3.0" + it-byte-stream: "npm:^1.0.12" + it-merge: "npm:^3.0.5" + it-parallel: "npm:^3.0.7" + merge-options: "npm:^3.0.4" + multiformats: "npm:^13.1.0" + p-defer: "npm:^4.0.1" + p-retry: "npm:^6.2.0" + progress-events: "npm:^1.0.0" + race-event: "npm:^1.3.0" + race-signal: "npm:^1.0.2" + uint8arrays: "npm:^5.1.0" + checksum: 10c0/ed54bb14513a179d73b9aa222446cc338ad9565584ec876e9dcd32f5ce3d83e05b0922eb20612ee181d52dfd4dabf0cbc8dc0f08627199979bce1ddd855b1f07 + languageName: node + linkType: hard + "lie@npm:3.1.1": version: 3.1.1 resolution: "lie@npm:3.1.1" @@ -33036,13 +33637,6 @@ __metadata: languageName: node linkType: hard -"lilconfig@npm:~3.1.2": - version: 3.1.2 - resolution: "lilconfig@npm:3.1.2" - checksum: 10c0/f059630b1a9bddaeba83059db00c672b64dc14074e9f232adce32b38ca1b5686ab737eb665c5ba3c32f147f0002b4bee7311ad0386a9b98547b5623e87071fbe - languageName: node - linkType: hard - "lines-and-columns@npm:^1.1.6": version: 1.2.4 resolution: "lines-and-columns@npm:1.2.4" @@ -33059,26 +33653,6 @@ __metadata: languageName: node linkType: hard -"lint-staged@npm:15.2.10": - version: 15.2.10 - resolution: "lint-staged@npm:15.2.10" - dependencies: - chalk: "npm:~5.3.0" - commander: "npm:~12.1.0" - debug: "npm:~4.3.6" - execa: "npm:~8.0.1" - lilconfig: "npm:~3.1.2" - listr2: "npm:~8.2.4" - micromatch: "npm:~4.0.8" - pidtree: "npm:~0.6.0" - string-argv: "npm:~0.3.2" - yaml: "npm:~2.5.0" - bin: - lint-staged: bin/lint-staged.js - checksum: 10c0/6ad7b41f5e87a84fa2eb1990080ea3c68a2f2031b4e81edcdc2a458cc878538eedb310e6f98ffd878a1287e1a52ac968e540ee8a0e96c247e04b0cbc36421cdd - languageName: node - linkType: hard - "listr2@npm:^4.0.5": version: 4.0.5 resolution: "listr2@npm:4.0.5" @@ -33100,20 +33674,6 @@ __metadata: languageName: node linkType: hard -"listr2@npm:~8.2.4": - version: 8.2.5 - resolution: "listr2@npm:8.2.5" - dependencies: - cli-truncate: "npm:^4.0.0" - colorette: "npm:^2.0.20" - eventemitter3: "npm:^5.0.1" - log-update: "npm:^6.1.0" - rfdc: "npm:^1.4.1" - wrap-ansi: "npm:^9.0.0" - checksum: 10c0/f5a9599514b00c27d7eb32d1117c83c61394b2a985ec20e542c798bf91cf42b19340215701522736f5b7b42f557e544afeadec47866e35e5d4f268f552729671 - languageName: node - linkType: hard - "lit-element@npm:^3.3.0": version: 3.3.3 resolution: "lit-element@npm:3.3.3" @@ -33531,13 +34091,6 @@ __metadata: languageName: node linkType: hard -"lodash.truncate@npm:^4.4.2": - version: 4.4.2 - resolution: "lodash.truncate@npm:4.4.2" - checksum: 10c0/4e870d54e8a6c86c8687e057cec4069d2e941446ccab7f40b4d9555fa5872d917d0b6aa73bece7765500a3123f1723bcdba9ae881b679ef120bba9e1a0b0ed70 - languageName: node - linkType: hard - "lodash.union@npm:^4.6.0": version: 4.6.0 resolution: "lodash.union@npm:4.6.0" @@ -33597,19 +34150,6 @@ __metadata: languageName: node linkType: hard -"log-update@npm:^6.1.0": - version: 6.1.0 - resolution: "log-update@npm:6.1.0" - dependencies: - ansi-escapes: "npm:^7.0.0" - cli-cursor: "npm:^5.0.0" - slice-ansi: "npm:^7.1.0" - strip-ansi: "npm:^7.1.0" - wrap-ansi: "npm:^9.0.0" - checksum: 10c0/4b350c0a83d7753fea34dcac6cd797d1dc9603291565de009baa4aa91c0447eab0d3815a05c8ec9ac04fdfffb43c82adcdb03ec1fceafd8518e1a8c1cff4ff89 - languageName: node - linkType: hard - "logform@npm:2.7.0, logform@npm:^2.7.0": version: 2.7.0 resolution: "logform@npm:2.7.0" @@ -34743,6 +35283,15 @@ __metadata: languageName: node linkType: hard +"merge-options@npm:^3.0.4": + version: 3.0.4 + resolution: "merge-options@npm:3.0.4" + dependencies: + is-plain-obj: "npm:^2.1.0" + checksum: 10c0/02b5891ceef09b0b497b5a0154c37a71784e68ed71b14748f6fd4258ffd3fe4ecd5cb0fd6f7cae3954fd11e7686c5cb64486daffa63c2793bbe8b614b61c7055 + languageName: node + linkType: hard + "merge-refs@npm:^1.3.0": version: 1.3.0 resolution: "merge-refs@npm:1.3.0" @@ -35554,7 +36103,7 @@ __metadata: languageName: node linkType: hard -"micromatch@npm:^4.0.0, micromatch@npm:^4.0.2, micromatch@npm:^4.0.4, micromatch@npm:^4.0.5, micromatch@npm:^4.0.8, micromatch@npm:~4.0.8": +"micromatch@npm:^4.0.0, micromatch@npm:^4.0.2, micromatch@npm:^4.0.4, micromatch@npm:^4.0.5, micromatch@npm:^4.0.8": version: 4.0.8 resolution: "micromatch@npm:4.0.8" dependencies: @@ -35655,13 +36204,6 @@ __metadata: languageName: node linkType: hard -"mimic-function@npm:^5.0.0": - version: 5.0.1 - resolution: "mimic-function@npm:5.0.1" - checksum: 10c0/f3d9464dd1816ecf6bdf2aec6ba32c0728022039d992f178237d8e289b48764fee4131319e72eedd4f7f094e22ded0af836c3187a7edc4595d28dd74368fd81d - languageName: node - linkType: hard - "mimic-response@npm:^1.0.0": version: 1.0.1 resolution: "mimic-response@npm:1.0.1" @@ -36190,6 +36732,17 @@ __metadata: languageName: node linkType: hard +"mortice@npm:^3.0.6": + version: 3.0.6 + resolution: "mortice@npm:3.0.6" + dependencies: + observable-webworkers: "npm:^2.0.1" + p-queue: "npm:^8.0.1" + p-timeout: "npm:^6.0.0" + checksum: 10c0/4fbacc709193e0a365c34b8022e8337575efa60f349eb4d1d4409b11291140101fdfb753b4ae6a061cffa8795ec420e9d02e3328e22db90b119d9a5c97d34231 + languageName: node + linkType: hard + "mqtt-packet@npm:^9.0.1": version: 9.0.1 resolution: "mqtt-packet@npm:9.0.1" @@ -36333,6 +36886,13 @@ __metadata: languageName: node linkType: hard +"multiformats@npm:13.3.1, multiformats@npm:^13.0.0, multiformats@npm:^13.1.0, multiformats@npm:^13.3.1": + version: 13.3.1 + resolution: "multiformats@npm:13.3.1" + checksum: 10c0/12a68569a2b74b0b3ed554af866149300ed587aa46ce65ef6539c522fc8d7deb5d38d38e41e004b50bc1109566e2c04bf848f1909c9e687e86f504c6cf586eac + languageName: node + linkType: hard + "multipasta@npm:^0.2.5": version: 0.2.5 resolution: "multipasta@npm:0.2.5" @@ -36350,6 +36910,13 @@ __metadata: languageName: node linkType: hard +"murmurhash3js-revisited@npm:^3.0.0": + version: 3.0.0 + resolution: "murmurhash3js-revisited@npm:3.0.0" + checksum: 10c0/53e14df6b123f1ff402952eaf51caa5e803316fbaa176b13cc522efa1d5261156319f0d2d87ba9f67dbc9b4e00f72296b975e1b92643faf88b8a8a8725a58e5f + languageName: node + linkType: hard + "mute-stream@npm:0.0.8": version: 0.0.8 resolution: "mute-stream@npm:0.0.8" @@ -36391,12 +36958,12 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:3.3.7": - version: 3.3.7 - resolution: "nanoid@npm:3.3.7" +"nanoid@npm:3.3.8, nanoid@npm:^3.0.0, nanoid@npm:^3.3.4, nanoid@npm:^3.3.6, nanoid@npm:^3.3.7": + version: 3.3.8 + resolution: "nanoid@npm:3.3.8" bin: nanoid: bin/nanoid.cjs - checksum: 10c0/e3fb661aa083454f40500473bb69eedb85dc160e763150b9a2c567c7e9ff560ce028a9f833123b618a6ea742e311138b591910e795614a629029e86e180660f3 + checksum: 10c0/4b1bb29f6cfebf3be3bc4ad1f1296fb0a10a3043a79f34fbffe75d1621b4318319211cd420549459018ea3592f0d2f159247a6f874911d6d26eaaadda2478120 languageName: node linkType: hard @@ -36407,15 +36974,6 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:^3.0.0, nanoid@npm:^3.3.4, nanoid@npm:^3.3.6, nanoid@npm:^3.3.7": - version: 3.3.8 - resolution: "nanoid@npm:3.3.8" - bin: - nanoid: bin/nanoid.cjs - checksum: 10c0/4b1bb29f6cfebf3be3bc4ad1f1296fb0a10a3043a79f34fbffe75d1621b4318319211cd420549459018ea3592f0d2f159247a6f874911d6d26eaaadda2478120 - languageName: node - linkType: hard - "nanotimer@npm:0.3.14": version: 0.3.14 resolution: "nanotimer@npm:0.3.14" @@ -37412,6 +37970,13 @@ __metadata: languageName: node linkType: hard +"observable-webworkers@npm:^2.0.1": + version: 2.0.1 + resolution: "observable-webworkers@npm:2.0.1" + checksum: 10c0/fc7607392aa38320f43278a5e17bbcdfe2c7fb8796ddb5b2836184856663a7af2d611fdaf8db7897e4fe2b436e620c6865d40feb4fc715391ae2cb3977fbf235 + languageName: node + linkType: hard + "obuf@npm:^1.0.0, obuf@npm:^1.1.2, obuf@npm:~1.1.2": version: 1.1.2 resolution: "obuf@npm:1.1.2" @@ -37500,15 +38065,6 @@ __metadata: languageName: node linkType: hard -"onetime@npm:^7.0.0": - version: 7.0.0 - resolution: "onetime@npm:7.0.0" - dependencies: - mimic-function: "npm:^5.0.0" - checksum: 10c0/5cb9179d74b63f52a196a2e7037ba2b9a893245a5532d3f44360012005c9cadb60851d56716ebff18a6f47129dab7168022445df47c2aff3b276d92585ed1221 - languageName: node - linkType: hard - "onnx-proto@npm:^4.0.4": version: 4.0.4 resolution: "onnx-proto@npm:4.0.4" @@ -37779,6 +38335,22 @@ __metadata: languageName: node linkType: hard +"p-defer@npm:^4.0.0, p-defer@npm:^4.0.1": + version: 4.0.1 + resolution: "p-defer@npm:4.0.1" + checksum: 10c0/592f5bd32f8c6a57f892b00976e5272b3bbbd792b503f4cf3bc22094d08d7a973413c59c15deccff4759d860b38467a08b5b3363e865da6f00f44a031777118c + languageName: node + linkType: hard + +"p-event@npm:^6.0.1": + version: 6.0.1 + resolution: "p-event@npm:6.0.1" + dependencies: + p-timeout: "npm:^6.1.2" + checksum: 10c0/c2da4d3f445376db2130d740b41309f97e8802d17277590684ca51cdcafcc77a024ccdd6b1a24c275c49c3c4ef57bbfc499e6d2b3b18813c774aaceb81cde7b4 + languageName: node + linkType: hard + "p-filter@npm:^2.1.0": version: 2.1.0 resolution: "p-filter@npm:2.1.0" @@ -37881,6 +38453,16 @@ __metadata: languageName: node linkType: hard +"p-queue@npm:^8.0.1": + version: 8.0.1 + resolution: "p-queue@npm:8.0.1" + dependencies: + eventemitter3: "npm:^5.0.1" + p-timeout: "npm:^6.1.2" + checksum: 10c0/fe185bc8bbd32d17a5f6dba090077b1bb326b008b4ec9b0646c57a32a6984035aa8ece909a6d0de7f6c4640296dc288197f430e7394cdc76a26d862339494616 + languageName: node + linkType: hard + "p-retry@npm:^4.5.0": version: 4.6.2 resolution: "p-retry@npm:4.6.2" @@ -37891,6 +38473,17 @@ __metadata: languageName: node linkType: hard +"p-retry@npm:^6.2.0": + version: 6.2.1 + resolution: "p-retry@npm:6.2.1" + dependencies: + "@types/retry": "npm:0.12.2" + is-network-error: "npm:^1.0.0" + retry: "npm:^0.13.1" + checksum: 10c0/10d014900107da2c7071ad60fffe4951675f09930b7a91681643ea224ae05649c05001d9e78436d902fe8b116d520dd1f60e72e091de097e2640979d56f3fb60 + languageName: node + linkType: hard + "p-timeout@npm:^3.0.0": version: 3.2.0 resolution: "p-timeout@npm:3.2.0" @@ -37900,6 +38493,13 @@ __metadata: languageName: node linkType: hard +"p-timeout@npm:^6.0.0, p-timeout@npm:^6.1.2": + version: 6.1.3 + resolution: "p-timeout@npm:6.1.3" + checksum: 10c0/6dcd1efc1a18afac08dd4f8e09797bbe635110e597d27026b478f884b867616871499427643a6b2e11f0404b2936d17db69da2b5e58d5fe99e1fac80a53f0250 + languageName: node + linkType: hard + "p-try@npm:^2.0.0": version: 2.2.0 resolution: "p-try@npm:2.2.0" @@ -38326,6 +38926,13 @@ __metadata: languageName: node linkType: hard +"path-to-regexp@npm:0.1.12": + version: 0.1.12 + resolution: "path-to-regexp@npm:0.1.12" + checksum: 10c0/1c6ff10ca169b773f3bba943bbc6a07182e332464704572962d277b900aeee81ac6aa5d060ff9e01149636c30b1f63af6e69dd7786ba6e0ddb39d4dee1f0645b + languageName: node + linkType: hard + "path-to-regexp@npm:3.3.0": version: 3.3.0 resolution: "path-to-regexp@npm:3.3.0" @@ -38621,7 +39228,7 @@ __metadata: languageName: node linkType: hard -"pidtree@npm:^0.6.0, pidtree@npm:~0.6.0": +"pidtree@npm:^0.6.0": version: 0.6.0 resolution: "pidtree@npm:0.6.0" bin: @@ -38952,7 +39559,7 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.3.11, postcss@npm:^8.4.14, postcss@npm:^8.4.23, postcss@npm:^8.4.33, postcss@npm:^8.4.43, postcss@npm:^8.4.48, postcss@npm:^8.4.49": +"postcss@npm:^8.3.11, postcss@npm:^8.4.14, postcss@npm:^8.4.23, postcss@npm:^8.4.33, postcss@npm:^8.4.43, postcss@npm:^8.4.48": version: 8.4.49 resolution: "postcss@npm:8.4.49" dependencies: @@ -39039,13 +39646,6 @@ __metadata: languageName: node linkType: hard -"postinstall-postinstall@npm:2.1.0": - version: 2.1.0 - resolution: "postinstall-postinstall@npm:2.1.0" - checksum: 10c0/70488447292c712afa7806126824d6fe93362392cbe261ae60166d9119a350713e0dbf4deb2ca91637c1037bc030ed1de78d61d9041bf2504513070f1caacdfd - languageName: node - linkType: hard - "prebuild-install@npm:^7.1.1": version: 7.1.2 resolution: "prebuild-install@npm:7.1.2" @@ -39150,12 +39750,12 @@ __metadata: languageName: node linkType: hard -"prettier@npm:3.4.1": - version: 3.4.1 - resolution: "prettier@npm:3.4.1" +"prettier@npm:3.4.2": + version: 3.4.2 + resolution: "prettier@npm:3.4.2" bin: prettier: bin/prettier.cjs - checksum: 10c0/2d6cc3101ad9de72b49c59339480b0983e6ff6742143da0c43f476bf3b5ef88ede42ebd9956d7a0a8fa59f7a5990e8ef03c9ad4c37f7e4c9e5db43ee0853156c + checksum: 10c0/99e076a26ed0aba4ebc043880d0f08bbb8c59a4c6641cdee6cdadf2205bdd87aa1d7823f50c3aea41e015e99878d37c58d7b5f0e663bba0ef047f94e36b96446 languageName: node linkType: hard @@ -39258,6 +39858,13 @@ __metadata: languageName: node linkType: hard +"progress-events@npm:^1.0.0, progress-events@npm:^1.0.1": + version: 1.0.1 + resolution: "progress-events@npm:1.0.1" + checksum: 10c0/27d998de678ca91ea8fdfba4c39c1e393144e658663fcdab344aacc4a3c7d420d2007eaba9e981c1b0894d4b1df05facfc90f5844e1c6518dcf95330fd09473d + languageName: node + linkType: hard + "progress@npm:^2.0.1, progress@npm:^2.0.3": version: 2.0.3 resolution: "progress@npm:2.0.3" @@ -39566,6 +40173,17 @@ __metadata: languageName: node linkType: hard +"protons-runtime@npm:^5.4.0, protons-runtime@npm:^5.5.0": + version: 5.5.0 + resolution: "protons-runtime@npm:5.5.0" + dependencies: + uint8-varint: "npm:^2.0.2" + uint8arraylist: "npm:^2.4.3" + uint8arrays: "npm:^5.0.1" + checksum: 10c0/577588eb47c20136d1d41a1aa2c6ae8bef7d2504cf81e1e2ed15afb3cee97ea0a8743106c83cedd72fa7f4ffeb270d9c9e16479c1ad5ad79879a0b11218baf4d + languageName: node + linkType: hard + "proxy-addr@npm:~2.0.7": version: 2.0.7 resolution: "proxy-addr@npm:2.0.7" @@ -39833,6 +40451,22 @@ __metadata: languageName: node linkType: hard +"pvtsutils@npm:^1.3.2": + version: 1.3.6 + resolution: "pvtsutils@npm:1.3.6" + dependencies: + tslib: "npm:^2.8.1" + checksum: 10c0/b1b42646370505ccae536dcffa662303b2c553995211330c8e39dec9ab8c197585d7751c2c5b9ab2f186feda0219d9bb23c34ee1e565573be96450f79d89a13c + languageName: node + linkType: hard + +"pvutils@npm:^1.1.3": + version: 1.1.3 + resolution: "pvutils@npm:1.1.3" + checksum: 10c0/23489e6b3c76b6afb6964a20f891d6bef092939f401c78bba186b2bfcdc7a13904a0af0a78f7933346510f8c1228d5ab02d3c80e968fd84d3c76ff98d8ec9aac + languageName: node + linkType: hard + "q@npm:^1.5.0": version: 1.5.1 resolution: "q@npm:1.5.1" @@ -39973,12 +40607,17 @@ __metadata: languageName: node linkType: hard -"r-json@npm:^1.2.10": +"race-event@npm:^1.3.0": version: 1.3.0 - resolution: "r-json@npm:1.3.0" - dependencies: - w-json: "npm:1.3.10" - checksum: 10c0/de54df28ee2642767c821818257da87d68d72f443cdb1db2256afc1dba9701acdebb0afbea9017680daff483464dfe02ba9692a9b1dfea29a14ba3ce0a9e9fcb + resolution: "race-event@npm:1.3.0" + checksum: 10c0/ec7cb815ac5b4714eea59c2831e951f1d43e1c7ec34f9aadf1a4a941f460bb7721f23aa82e61fc96efb3049bbcfc11df9b4db82408f80a1be46c3564205aacab + languageName: node + linkType: hard + +"race-signal@npm:^1.0.2, race-signal@npm:^1.1.0": + version: 1.1.0 + resolution: "race-signal@npm:1.1.0" + checksum: 10c0/b640d5ee8769044b5a5155fad993b03a19b68f26c627d1af77c21caf71f12563187f8e8ac36523ee88627d8efeefede011657c40f4bc4ac7f563a7339187ee4c languageName: node linkType: hard @@ -40754,13 +41393,13 @@ __metadata: languageName: node linkType: hard -"react-virtuoso@npm:4.12.2": - version: 4.12.2 - resolution: "react-virtuoso@npm:4.12.2" +"react-virtuoso@npm:4.12.3": + version: 4.12.3 + resolution: "react-virtuoso@npm:4.12.3" peerDependencies: react: ">=16 || >=17 || >= 18" react-dom: ">=16 || >=17 || >= 18" - checksum: 10c0/786c6bb95e02e7cb589839916ba2b5c191b49aeab8d1f2a947155a6a1ec0a68dcfb80b942663ad16becb3bcd316c374205a8d1993c1bf55170eb67e3e8761a56 + checksum: 10c0/609f06098fce65c6b6f687d84f108d8e4e7b75cfe329f3554c37252c28ff54081c4a2bd970da0dc16d2e417d70ccbd8b393e17b94b954ea360c0fb87c9712e32 languageName: node linkType: hard @@ -41760,16 +42399,6 @@ __metadata: languageName: node linkType: hard -"restore-cursor@npm:^5.0.0": - version: 5.1.0 - resolution: "restore-cursor@npm:5.1.0" - dependencies: - onetime: "npm:^7.0.0" - signal-exit: "npm:^4.1.0" - checksum: 10c0/c2ba89131eea791d1b25205bdfdc86699767e2b88dee2a590b1a6caa51737deac8bad0260a5ded2f7c074b7db2f3a626bcf1fcf3cdf35974cbeea5e2e6764f60 - languageName: node - linkType: hard - "ret@npm:~0.1.10": version: 0.1.15 resolution: "ret@npm:0.1.15" @@ -41809,7 +42438,7 @@ __metadata: languageName: node linkType: hard -"rfdc@npm:^1.3.0, rfdc@npm:^1.3.1, rfdc@npm:^1.4.1": +"rfdc@npm:^1.3.0, rfdc@npm:^1.3.1": version: 1.4.1 resolution: "rfdc@npm:1.4.1" checksum: 10c0/4614e4292356cafade0b6031527eea9bc90f2372a22c012313be1dcc69a3b90c7338158b414539be863fa95bfcb2ddcd0587be696841af4e6679d85e62c060c7 @@ -41904,76 +42533,7 @@ __metadata: languageName: node linkType: hard -"rollup@npm:4.27.4, rollup@npm:^4.23.0": - version: 4.27.4 - resolution: "rollup@npm:4.27.4" - dependencies: - "@rollup/rollup-android-arm-eabi": "npm:4.27.4" - "@rollup/rollup-android-arm64": "npm:4.27.4" - "@rollup/rollup-darwin-arm64": "npm:4.27.4" - "@rollup/rollup-darwin-x64": "npm:4.27.4" - "@rollup/rollup-freebsd-arm64": "npm:4.27.4" - "@rollup/rollup-freebsd-x64": "npm:4.27.4" - "@rollup/rollup-linux-arm-gnueabihf": "npm:4.27.4" - "@rollup/rollup-linux-arm-musleabihf": "npm:4.27.4" - "@rollup/rollup-linux-arm64-gnu": "npm:4.27.4" - "@rollup/rollup-linux-arm64-musl": "npm:4.27.4" - "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.27.4" - "@rollup/rollup-linux-riscv64-gnu": "npm:4.27.4" - "@rollup/rollup-linux-s390x-gnu": "npm:4.27.4" - "@rollup/rollup-linux-x64-gnu": "npm:4.27.4" - "@rollup/rollup-linux-x64-musl": "npm:4.27.4" - "@rollup/rollup-win32-arm64-msvc": "npm:4.27.4" - "@rollup/rollup-win32-ia32-msvc": "npm:4.27.4" - "@rollup/rollup-win32-x64-msvc": "npm:4.27.4" - "@types/estree": "npm:1.0.6" - fsevents: "npm:~2.3.2" - dependenciesMeta: - "@rollup/rollup-android-arm-eabi": - optional: true - "@rollup/rollup-android-arm64": - optional: true - "@rollup/rollup-darwin-arm64": - optional: true - "@rollup/rollup-darwin-x64": - optional: true - "@rollup/rollup-freebsd-arm64": - optional: true - "@rollup/rollup-freebsd-x64": - optional: true - "@rollup/rollup-linux-arm-gnueabihf": - optional: true - "@rollup/rollup-linux-arm-musleabihf": - optional: true - "@rollup/rollup-linux-arm64-gnu": - optional: true - "@rollup/rollup-linux-arm64-musl": - optional: true - "@rollup/rollup-linux-powerpc64le-gnu": - optional: true - "@rollup/rollup-linux-riscv64-gnu": - optional: true - "@rollup/rollup-linux-s390x-gnu": - optional: true - "@rollup/rollup-linux-x64-gnu": - optional: true - "@rollup/rollup-linux-x64-musl": - optional: true - "@rollup/rollup-win32-arm64-msvc": - optional: true - "@rollup/rollup-win32-ia32-msvc": - optional: true - "@rollup/rollup-win32-x64-msvc": - optional: true - fsevents: - optional: true - bin: - rollup: dist/bin/rollup - checksum: 10c0/1442650cfea5e4617ce14743784f6f578817e31db56f9c8aaf96a82daa9bc20b6ccd66c0d677dbf302a4da3e70664dc3bef11a1aec85e6aff3cecccb945b1d35 - languageName: node - linkType: hard - -"rollup@npm:^4.20.0": +"rollup@npm:4.28.1, rollup@npm:^4.20.0": version: 4.28.1 resolution: "rollup@npm:4.28.1" dependencies: @@ -42263,7 +42823,24 @@ __metadata: languageName: node linkType: hard -"sass@npm:1.81.0, sass@npm:^1.52.3": +"sass@npm:1.82.0": + version: 1.82.0 + resolution: "sass@npm:1.82.0" + dependencies: + "@parcel/watcher": "npm:^2.4.1" + chokidar: "npm:^4.0.0" + immutable: "npm:^5.0.2" + source-map-js: "npm:>=0.6.2 <2.0.0" + dependenciesMeta: + "@parcel/watcher": + optional: true + bin: + sass: sass.js + checksum: 10c0/7f86fe6ade4f6018862c448ed69d5c52f485b0125c9dab24e63f679739a04cc7c56562d588e3cf16b5efb4d2c4d0530e62740e1cfd273e2e3707d04d11011736 + languageName: node + linkType: hard + +"sass@npm:^1.52.3": version: 1.81.0 resolution: "sass@npm:1.81.0" dependencies: @@ -42635,16 +43212,6 @@ __metadata: languageName: node linkType: hard -"set-value@npm:^4.1.0": - version: 4.1.0 - resolution: "set-value@npm:4.1.0" - dependencies: - is-plain-object: "npm:^2.0.4" - is-primitive: "npm:^3.0.1" - checksum: 10c0/dc186676b6cc0cfcf1656b8acdfe7a68591f0645dd2872250100817fb53e5e9298dc1727a95605ac03f82110e9b3820c90a0a02d84e0fb89f210922b08b37e02 - languageName: node - linkType: hard - "setimmediate@npm:1.0.5, setimmediate@npm:^1.0.5": version: 1.0.5 resolution: "setimmediate@npm:1.0.5" @@ -42932,13 +43499,13 @@ __metadata: languageName: node linkType: hard -"sigma@npm:3.0.0-beta.38": - version: 3.0.0-beta.38 - resolution: "sigma@npm:3.0.0-beta.38" +"sigma@npm:3.0.0-beta.39": + version: 3.0.0-beta.39 + resolution: "sigma@npm:3.0.0-beta.39" dependencies: events: "npm:^3.3.0" graphology-utils: "npm:^2.5.2" - checksum: 10c0/431467fb25539a12523edd1202d3bec83f3150a25788a0947004cff8a8ff1e536cbfa547d2c180a65a5c64d6070732eb435b641030795ff540c6b0218322722d + checksum: 10c0/42194a49990c929caa873f6026546351dbf079092e5feaca5b77150c415cfdb50b7a9ce61248b0087881ad267e896389d67227e79651cce842edb00f1a25fce5 languageName: node linkType: hard @@ -43183,16 +43750,6 @@ __metadata: languageName: node linkType: hard -"slice-ansi@npm:^7.1.0": - version: 7.1.0 - resolution: "slice-ansi@npm:7.1.0" - dependencies: - ansi-styles: "npm:^6.2.1" - is-fullwidth-code-point: "npm:^5.0.0" - checksum: 10c0/631c971d4abf56cf880f034d43fcc44ff883624867bf11ecbd538c47343911d734a4656d7bc02362b40b89d765652a7f935595441e519b59e2ad3f4d5d6fe7ca - languageName: node - linkType: hard - "slonik@npm:24.2.0": version: 24.2.0 resolution: "slonik@npm:24.2.0" @@ -43789,6 +44346,15 @@ __metadata: languageName: node linkType: hard +"stream-to-it@npm:^1.0.1": + version: 1.0.1 + resolution: "stream-to-it@npm:1.0.1" + dependencies: + it-stream-types: "npm:^2.0.1" + checksum: 10c0/e90abc2e05ef6832cc52fbf48ec230a00883f53a00f9aa4968a7367d0f9cea97cc8e848b204dcaef8a04a2efe540cdd4c256ed0e6650321de4e449a7d554224f + languageName: node + linkType: hard + "stream-transform@npm:^2.1.3": version: 2.1.3 resolution: "stream-transform@npm:2.1.3" @@ -43820,13 +44386,6 @@ __metadata: languageName: node linkType: hard -"string-argv@npm:~0.3.2": - version: 0.3.2 - resolution: "string-argv@npm:0.3.2" - checksum: 10c0/75c02a83759ad1722e040b86823909d9a2fc75d15dd71ec4b537c3560746e33b5f5a07f7332d1e3f88319909f82190843aa2f0a0d8c8d591ec08e93d5b8dec82 - languageName: node - linkType: hard - "string-collapse-leading-whitespace@npm:^7.0.7": version: 7.0.7 resolution: "string-collapse-leading-whitespace@npm:7.0.7" @@ -43942,17 +44501,6 @@ __metadata: languageName: node linkType: hard -"string-width@npm:^7.0.0": - version: 7.2.0 - resolution: "string-width@npm:7.2.0" - dependencies: - emoji-regex: "npm:^10.3.0" - get-east-asian-width: "npm:^1.0.0" - strip-ansi: "npm:^7.1.0" - checksum: 10c0/eb0430dd43f3199c7a46dcbf7a0b34539c76fe3aa62763d0b0655acdcbdf360b3f66f3d58ca25ba0205f42ea3491fa00f09426d3b7d3040e506878fc7664c9b9 - languageName: node - linkType: hard - "string.prototype.includes@npm:^2.0.1": version: 2.0.1 resolution: "string.prototype.includes@npm:2.0.1" @@ -44410,6 +44958,13 @@ __metadata: languageName: node linkType: hard +"supports-color@npm:^9.4.0": + version: 9.4.0 + resolution: "supports-color@npm:9.4.0" + checksum: 10c0/6c24e6b2b64c6a60e5248490cfa50de5924da32cf09ae357ad8ebbf305cc5d2717ba705a9d4cb397d80bbf39417e8fdc8d7a0ce18bd0041bf7b5b456229164e4 + languageName: node + linkType: hard + "supports-hyperlinks@npm:^2.2.0": version: 2.3.0 resolution: "supports-hyperlinks@npm:2.3.0" @@ -44571,19 +45126,6 @@ __metadata: languageName: node linkType: hard -"table@npm:^6.7.1": - version: 6.8.2 - resolution: "table@npm:6.8.2" - dependencies: - ajv: "npm:^8.0.1" - lodash.truncate: "npm:^4.4.2" - slice-ansi: "npm:^4.0.0" - string-width: "npm:^4.2.3" - strip-ansi: "npm:^6.0.1" - checksum: 10c0/f8b348af38ee34e419d8ce7306ba00671ce6f20e861ccff22555f491ba264e8416086063ce278a8d81abfa8d23b736ec2cca7ac4029b5472f63daa4b4688b803 - languageName: node - linkType: hard - "tap-parser@npm:16.0.1": version: 16.0.1 resolution: "tap-parser@npm:16.0.1" @@ -45592,7 +46134,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:2.8.1, tslib@npm:^2.0.0, tslib@npm:^2.0.1, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.2.0, tslib@npm:^2.3.0, tslib@npm:^2.3.1, tslib@npm:^2.4.0, tslib@npm:^2.5.0, tslib@npm:^2.6.2, tslib@npm:^2.6.3, tslib@npm:^2.7.0": +"tslib@npm:2.8.1, tslib@npm:^2.0.0, tslib@npm:^2.0.1, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.2.0, tslib@npm:^2.3.0, tslib@npm:^2.3.1, tslib@npm:^2.4.0, tslib@npm:^2.5.0, tslib@npm:^2.6.2, tslib@npm:^2.6.3, tslib@npm:^2.7.0, tslib@npm:^2.8.1": version: 2.8.1 resolution: "tslib@npm:2.8.1" checksum: 10c0/9c4759110a19c53f992d9aae23aac5ced636e99887b51b9e61def52611732872ff7668757d4e4c61f19691e36f4da981cd9485e869b4a7408d689f6bf1f14e62 @@ -45859,7 +46401,7 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^2.1.0, type-fest@npm:^2.12.2, type-fest@npm:^2.19.0, type-fest@npm:^2.3.3, type-fest@npm:~2.19": +"type-fest@npm:^2.12.2, type-fest@npm:^2.19.0, type-fest@npm:^2.3.3, type-fest@npm:~2.19": version: 2.19.0 resolution: "type-fest@npm:2.19.0" checksum: 10c0/a5a7ecf2e654251613218c215c7493574594951c08e52ab9881c9df6a6da0aeca7528c213c622bc374b4e0cb5c443aa3ab758da4e3c959783ce884c3194e12cb @@ -46222,6 +46764,34 @@ __metadata: languageName: node linkType: hard +"uint8-varint@npm:^2.0.1, uint8-varint@npm:^2.0.2, uint8-varint@npm:^2.0.4": + version: 2.0.4 + resolution: "uint8-varint@npm:2.0.4" + dependencies: + uint8arraylist: "npm:^2.0.0" + uint8arrays: "npm:^5.0.0" + checksum: 10c0/850bce72c2b639d317db6af2c30544f7f8c6451fa328d674aca74d7e263a9510acd3af555ed04ffbc20b9ff68fd5d2e06b91a5c9ffde781cf6ee6233606f34dc + languageName: node + linkType: hard + +"uint8arraylist@npm:2.4.8, uint8arraylist@npm:^2.0.0, uint8arraylist@npm:^2.4.3, uint8arraylist@npm:^2.4.8": + version: 2.4.8 + resolution: "uint8arraylist@npm:2.4.8" + dependencies: + uint8arrays: "npm:^5.0.1" + checksum: 10c0/a997289ad66d4ffff24d85524b70af9fb6914ef1657400907a792afbff4c4600e7dde7ab3de83da8309c7b22c093c93bc8a95b3d288eeac4c935133bfb925bac + languageName: node + linkType: hard + +"uint8arrays@npm:^5.0.0, uint8arrays@npm:^5.0.1, uint8arrays@npm:^5.0.2, uint8arrays@npm:^5.1.0": + version: 5.1.0 + resolution: "uint8arrays@npm:5.1.0" + dependencies: + multiformats: "npm:^13.0.0" + checksum: 10c0/e7587f97d03a17a608becd01b3ca52aa6db43e7ee6156c18b278c715a62f4f9e62ef2fe9432a3cd02791b6222a17578476a20b8e3ea37dd3b5ce454c6a8782a9 + languageName: node + linkType: hard + "unbox-primitive@npm:^1.0.2": version: 1.0.2 resolution: "unbox-primitive@npm:1.0.2" @@ -47157,21 +47727,6 @@ __metadata: languageName: node linkType: hard -"vite-node@npm:2.1.6": - version: 2.1.6 - resolution: "vite-node@npm:2.1.6" - dependencies: - cac: "npm:^6.7.14" - debug: "npm:^4.3.7" - es-module-lexer: "npm:^1.5.4" - pathe: "npm:^1.1.2" - vite: "npm:^5.0.0 || ^6.0.0" - bin: - vite-node: vite-node.mjs - checksum: 10c0/513c815a6d4ca09a48fc8741bd4bfb1a6cbfe5555b009081b194069863326aede7d66197c2b60927514d22cc6efc2c793d1ca1bb70e13dca120e01a507bcf35b - languageName: node - linkType: hard - "vite-node@npm:2.1.8": version: 2.1.8 resolution: "vite-node@npm:2.1.8" @@ -47198,9 +47753,9 @@ __metadata: languageName: node linkType: hard -"vite-tsconfig-paths@npm:5.1.3": - version: 5.1.3 - resolution: "vite-tsconfig-paths@npm:5.1.3" +"vite-tsconfig-paths@npm:5.1.4": + version: 5.1.4 + resolution: "vite-tsconfig-paths@npm:5.1.4" dependencies: debug: "npm:^4.1.1" globrex: "npm:^0.1.2" @@ -47210,7 +47765,7 @@ __metadata: peerDependenciesMeta: vite: optional: true - checksum: 10c0/fb7480efa31fd50439f4a12c91bc953e5cc09d69fdc7eeb6ffff7cc796bc2c1f2c617c3abfdcbf5d7414848076cea9deb60bc002142f93b6e3131e5458760710 + checksum: 10c0/6228f23155ea25d92b1e1702284cf8dc52ad3c683c5ca691edd5a4c82d2913e7326d00708cef1cbfde9bb226261df0e0a12e03ef1d43b6a92d8f02b483ef37e3 languageName: node linkType: hard @@ -47257,108 +47812,6 @@ __metadata: languageName: node linkType: hard -"vite@npm:^5.0.0 || ^6.0.0": - version: 6.0.1 - resolution: "vite@npm:6.0.1" - dependencies: - esbuild: "npm:^0.24.0" - fsevents: "npm:~2.3.3" - postcss: "npm:^8.4.49" - rollup: "npm:^4.23.0" - peerDependencies: - "@types/node": ^18.0.0 || ^20.0.0 || >=22.0.0 - jiti: ">=1.21.0" - less: "*" - lightningcss: ^1.21.0 - sass: "*" - sass-embedded: "*" - stylus: "*" - sugarss: "*" - terser: ^5.16.0 - tsx: ^4.8.1 - yaml: ^2.4.2 - dependenciesMeta: - fsevents: - optional: true - peerDependenciesMeta: - "@types/node": - optional: true - jiti: - optional: true - less: - optional: true - lightningcss: - optional: true - sass: - optional: true - sass-embedded: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - tsx: - optional: true - yaml: - optional: true - bin: - vite: bin/vite.js - checksum: 10c0/e4d853eb9042ff29fa4d7cee1484738faaee4b1d9dcf786a94783bebb736b39af0afa7ac1a209000530638098d0a1b240b51f509d32addb028b222453f862916 - languageName: node - linkType: hard - -"vitest@npm:2.1.6": - version: 2.1.6 - resolution: "vitest@npm:2.1.6" - dependencies: - "@vitest/expect": "npm:2.1.6" - "@vitest/mocker": "npm:2.1.6" - "@vitest/pretty-format": "npm:^2.1.6" - "@vitest/runner": "npm:2.1.6" - "@vitest/snapshot": "npm:2.1.6" - "@vitest/spy": "npm:2.1.6" - "@vitest/utils": "npm:2.1.6" - chai: "npm:^5.1.2" - debug: "npm:^4.3.7" - expect-type: "npm:^1.1.0" - magic-string: "npm:^0.30.12" - pathe: "npm:^1.1.2" - std-env: "npm:^3.8.0" - tinybench: "npm:^2.9.0" - tinyexec: "npm:^0.3.1" - tinypool: "npm:^1.0.1" - tinyrainbow: "npm:^1.2.0" - vite: "npm:^5.0.0 || ^6.0.0" - vite-node: "npm:2.1.6" - why-is-node-running: "npm:^2.3.0" - peerDependencies: - "@edge-runtime/vm": "*" - "@types/node": ^18.0.0 || ^20.0.0 || >=22.0.0 - "@vitest/browser": 2.1.6 - "@vitest/ui": 2.1.6 - happy-dom: "*" - jsdom: "*" - peerDependenciesMeta: - "@edge-runtime/vm": - optional: true - "@types/node": - optional: true - "@vitest/browser": - optional: true - "@vitest/ui": - optional: true - happy-dom: - optional: true - jsdom: - optional: true - bin: - vitest: vitest.mjs - checksum: 10c0/a183e4f573aacccf14d6466fdee0cee9ecd3f258bf98ebffa2da33c4d5aa1886d156f50d9eeb3d751c634679257e2196d8b3c9988256f2e860b9a1d7070bd4df - languageName: node - linkType: hard - "vitest@npm:2.1.8": version: 2.1.8 resolution: "vitest@npm:2.1.8" @@ -47427,13 +47880,6 @@ __metadata: languageName: node linkType: hard -"w-json@npm:1.3.10, w-json@npm:^1.3.10": - version: 1.3.10 - resolution: "w-json@npm:1.3.10" - checksum: 10c0/441bf7685d8c8d9ff787066d75c66f7a66794a90ea7577d9e94103089427f04117176b40bdf4def505c5f90ee3e65a4f569765754e866f688d68e4521da1fa94 - languageName: node - linkType: hard - "w3c-keyname@npm:^2.2.0": version: 2.2.8 resolution: "w3c-keyname@npm:2.2.8" @@ -47549,6 +47995,16 @@ __metadata: languageName: node linkType: hard +"weald@npm:^1.0.4": + version: 1.0.4 + resolution: "weald@npm:1.0.4" + dependencies: + ms: "npm:^3.0.0-canary.1" + supports-color: "npm:^9.4.0" + checksum: 10c0/6f705176549ffa9a8b14c589cc72b0a64d8bae3eed154d133d46e429f7156bc809a10416ea804b80acbf5cb108b144b8a1af20d5a22c60d1c283c69a3bd8233d + languageName: node + linkType: hard + "web-streams-polyfill@npm:4.0.0-beta.3": version: 4.0.0-beta.3 resolution: "web-streams-polyfill@npm:4.0.0-beta.3" @@ -47805,7 +48261,7 @@ __metadata: languageName: node linkType: hard -"webpack@npm:5, webpack@npm:5.96.1, webpack@npm:^5.72.0, webpack@npm:^5.76.0, webpack@npm:^5.94.0": +"webpack@npm:5, webpack@npm:^5.72.0, webpack@npm:^5.76.0, webpack@npm:^5.94.0": version: 5.96.1 resolution: "webpack@npm:5.96.1" dependencies: @@ -47841,6 +48297,42 @@ __metadata: languageName: node linkType: hard +"webpack@npm:5.97.1": + version: 5.97.1 + resolution: "webpack@npm:5.97.1" + dependencies: + "@types/eslint-scope": "npm:^3.7.7" + "@types/estree": "npm:^1.0.6" + "@webassemblyjs/ast": "npm:^1.14.1" + "@webassemblyjs/wasm-edit": "npm:^1.14.1" + "@webassemblyjs/wasm-parser": "npm:^1.14.1" + acorn: "npm:^8.14.0" + browserslist: "npm:^4.24.0" + chrome-trace-event: "npm:^1.0.2" + enhanced-resolve: "npm:^5.17.1" + es-module-lexer: "npm:^1.2.1" + eslint-scope: "npm:5.1.1" + events: "npm:^3.2.0" + glob-to-regexp: "npm:^0.4.1" + graceful-fs: "npm:^4.2.11" + json-parse-even-better-errors: "npm:^2.3.1" + loader-runner: "npm:^4.2.0" + mime-types: "npm:^2.1.27" + neo-async: "npm:^2.6.2" + schema-utils: "npm:^3.2.0" + tapable: "npm:^2.1.1" + terser-webpack-plugin: "npm:^5.3.10" + watchpack: "npm:^2.4.1" + webpack-sources: "npm:^3.2.3" + peerDependenciesMeta: + webpack-cli: + optional: true + bin: + webpack: bin/webpack.js + checksum: 10c0/a12d3dc882ca582075f2c4bd88840be8307427245c90a8a0e0b372d73560df13fcf25a61625c9e7edc964981d16b5a8323640562eb48347cf9dd2f8bd1b39d35 + languageName: node + linkType: hard + "websocket-driver@npm:>=0.5.1, websocket-driver@npm:^0.7.4": version: 0.7.4 resolution: "websocket-driver@npm:0.7.4" @@ -47930,6 +48422,15 @@ __metadata: languageName: node linkType: hard +"wherearewe@npm:^2.0.1": + version: 2.0.1 + resolution: "wherearewe@npm:2.0.1" + dependencies: + is-electron: "npm:^2.2.0" + checksum: 10c0/a6193319688972890597342108b083fe35505ad0501a9c6c56926b6897f478f66d76436951005e24637265df717f81bc70ea511bd684972be5a966310581b872 + languageName: node + linkType: hard + "which-boxed-primitive@npm:^1.0.2": version: 1.0.2 resolution: "which-boxed-primitive@npm:1.0.2" @@ -48244,17 +48745,6 @@ __metadata: languageName: node linkType: hard -"wrap-ansi@npm:^9.0.0": - version: 9.0.0 - resolution: "wrap-ansi@npm:9.0.0" - dependencies: - ansi-styles: "npm:^6.2.1" - string-width: "npm:^7.0.0" - strip-ansi: "npm:^7.1.0" - checksum: 10c0/a139b818da9573677548dd463bd626a5a5286271211eb6e4e82f34a4f643191d74e6d4a9bb0a3c26ec90e6f904f679e0569674ac099ea12378a8b98e20706066 - languageName: node - linkType: hard - "wrappy@npm:1": version: 1.0.2 resolution: "wrappy@npm:1.0.2" @@ -48529,15 +49019,6 @@ __metadata: languageName: node linkType: hard -"yaml@npm:~2.5.0": - version: 2.5.1 - resolution: "yaml@npm:2.5.1" - bin: - yaml: bin.mjs - checksum: 10c0/40fba5682898dbeeb3319e358a968fe886509fab6f58725732a15f8dda3abac509f91e76817c708c9959a15f786f38ff863c1b88062d7c1162c5334a7d09cb4a - languageName: node - linkType: hard - "yargs-parser@npm:21.0.1": version: 21.0.1 resolution: "yargs-parser@npm:21.0.1" From d488248cd3231474df82e9856bfc02ecd2341036 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Tue, 10 Dec 2024 12:13:05 +0100 Subject: [PATCH 27/51] feat: convert hash-backend-utils, hash-isomorphic-utils --- libs/@local/hash-backend-utils/.eslintrc.cjs | 10 ---- .../hash-backend-utils/eslint.config.js | 9 ++++ libs/@local/hash-backend-utils/package.json | 4 +- .../hash-backend-utils/src/environment.ts | 4 +- libs/@local/hash-backend-utils/src/google.ts | 2 +- .../hash-backend-utils/src/machine-actors.ts | 2 + libs/@local/hash-backend-utils/tsconfig.json | 2 +- .../{vitest.config.js => vitest.config.ts} | 1 - .../hash-isomorphic-utils/.eslintrc.cjs | 50 ------------------- .../hash-isomorphic-utils/eslint.config.js | 40 +++++++++++++++ .../@local/hash-isomorphic-utils/package.json | 4 +- .../src/create-prose-mirror-state.ts | 2 + .../src/entity-store-plugin.ts | 4 ++ .../src/flows/action-definitions.ts | 2 + .../src/flows/trigger-definitions.ts | 2 + .../hash-isomorphic-utils/src/flows/types.ts | 2 + .../hash-isomorphic-utils/src/sanitize.ts | 2 +- .../src/stringify-property-value.ts | 2 + .../src/wrap-entities-plugin.ts | 1 + .../hash-isomorphic-utils/tsconfig.json | 8 ++- .../{vitest.config.js => vitest.config.ts} | 1 - yarn.lock | 8 +-- 22 files changed, 86 insertions(+), 76 deletions(-) delete mode 100644 libs/@local/hash-backend-utils/.eslintrc.cjs create mode 100644 libs/@local/hash-backend-utils/eslint.config.js rename libs/@local/hash-backend-utils/{vitest.config.js => vitest.config.ts} (91%) delete mode 100644 libs/@local/hash-isomorphic-utils/.eslintrc.cjs create mode 100644 libs/@local/hash-isomorphic-utils/eslint.config.js rename libs/@local/hash-isomorphic-utils/{vitest.config.js => vitest.config.ts} (91%) diff --git a/libs/@local/hash-backend-utils/.eslintrc.cjs b/libs/@local/hash-backend-utils/.eslintrc.cjs deleted file mode 100644 index f35065da60c..00000000000 --- a/libs/@local/hash-backend-utils/.eslintrc.cjs +++ /dev/null @@ -1,10 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-workspace-config.cjs")(__dirname), - rules: { - ...require("@local/eslint-config/temporarily-disable-rules.cjs")([ - /* 2022-11-29: 15 */ "@typescript-eslint/no-unsafe-member-access", - /* 2022-11-29: 11 */ "@typescript-eslint/unbound-method", - ]), - }, -}; diff --git a/libs/@local/hash-backend-utils/eslint.config.js b/libs/@local/hash-backend-utils/eslint.config.js new file mode 100644 index 00000000000..9c2d440037c --- /dev/null +++ b/libs/@local/hash-backend-utils/eslint.config.js @@ -0,0 +1,9 @@ +import { createBase, disableRules } from "@local/eslint/deprecated"; + +export default [ + ...createBase(import.meta.dirname), + ...disableRules([ + /* 2022-11-29: 15 */ "@typescript-eslint/no-unsafe-member-access", + /* 2022-11-29: 11 */ "@typescript-eslint/unbound-method", + ]), +]; diff --git a/libs/@local/hash-backend-utils/package.json b/libs/@local/hash-backend-utils/package.json index 47837381790..6ecfbb0cffd 100644 --- a/libs/@local/hash-backend-utils/package.json +++ b/libs/@local/hash-backend-utils/package.json @@ -56,13 +56,13 @@ "winston": "3.17.0" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/dotenv-flow": "3.3.3", "@types/node": "22.10.1", "@types/wait-on": "5.3.4", "@vitest/coverage-istanbul": "2.1.8", - "eslint": "8.57.0", + "eslint": "9.16.0", "rimraf": "6.0.1", "typescript": "5.6.3", "vitest": "2.1.8" diff --git a/libs/@local/hash-backend-utils/src/environment.ts b/libs/@local/hash-backend-utils/src/environment.ts index baa8f115300..a8c5a7af0c6 100644 --- a/libs/@local/hash-backend-utils/src/environment.ts +++ b/libs/@local/hash-backend-utils/src/environment.ts @@ -1,11 +1,11 @@ -import path, { dirname } from "node:path"; +import path from "node:path"; import { fileURLToPath } from "node:url"; import { config } from "dotenv-flow"; import waitOn from "wait-on"; const __filename = fileURLToPath(import.meta.url); -const __dirname = dirname(__filename); +const __dirname = path.dirname(__filename); export const monorepoRootDir = path.resolve(__dirname, "../../../.."); diff --git a/libs/@local/hash-backend-utils/src/google.ts b/libs/@local/hash-backend-utils/src/google.ts index 56dc09bef1d..e4094969885 100644 --- a/libs/@local/hash-backend-utils/src/google.ts +++ b/libs/@local/hash-backend-utils/src/google.ts @@ -136,7 +136,7 @@ export const getTokensForGoogleAccount = async ({ userAccountId, }); return vaultResponse.data; - } catch (err) { + } catch { return null; } }; diff --git a/libs/@local/hash-backend-utils/src/machine-actors.ts b/libs/@local/hash-backend-utils/src/machine-actors.ts index d7ff8a7c67a..2421d2ebfcb 100644 --- a/libs/@local/hash-backend-utils/src/machine-actors.ts +++ b/libs/@local/hash-backend-utils/src/machine-actors.ts @@ -18,6 +18,8 @@ import { NotFoundError } from "./error.js"; export type WebMachineActorIdentifier = `system-${OwnedById}`; +// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors +// eslint-disable-next-line @typescript-eslint/no-unused-vars const globalMachineActorIdentifiers = [ ...systemTypeWebShortnames, "hash-ai", diff --git a/libs/@local/hash-backend-utils/tsconfig.json b/libs/@local/hash-backend-utils/tsconfig.json index 5ab74b4e710..7cb93887c0c 100644 --- a/libs/@local/hash-backend-utils/tsconfig.json +++ b/libs/@local/hash-backend-utils/tsconfig.json @@ -1,6 +1,6 @@ { "extends": "@local/tsconfig/legacy-base-tsconfig-to-refactor.json", - "include": ["src"], + "include": ["src", "eslint.config.js", "vitest.config.ts"], "compilerOptions": { "module": "NodeNext", "moduleResolution": "NodeNext" diff --git a/libs/@local/hash-backend-utils/vitest.config.js b/libs/@local/hash-backend-utils/vitest.config.ts similarity index 91% rename from libs/@local/hash-backend-utils/vitest.config.js rename to libs/@local/hash-backend-utils/vitest.config.ts index f19ca5fb70a..1feb2e96bcd 100644 --- a/libs/@local/hash-backend-utils/vitest.config.js +++ b/libs/@local/hash-backend-utils/vitest.config.ts @@ -1,4 +1,3 @@ -/// import { defineConfig } from "vitest/config"; export default defineConfig({ diff --git a/libs/@local/hash-isomorphic-utils/.eslintrc.cjs b/libs/@local/hash-isomorphic-utils/.eslintrc.cjs deleted file mode 100644 index f0383c86073..00000000000 --- a/libs/@local/hash-isomorphic-utils/.eslintrc.cjs +++ /dev/null @@ -1,50 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-workspace-config.cjs")(__dirname), - rules: { - ...require("@local/eslint-config/temporarily-disable-rules.cjs")([ - /* 2022-11-29: 6 */ "@typescript-eslint/no-unsafe-argument", - /* 2022-11-29: 15 */ "@typescript-eslint/no-unsafe-assignment", - /* 2022-11-29: 5 */ "@typescript-eslint/no-unsafe-call", - /* 2022-11-29: 7 */ "@typescript-eslint/no-unsafe-member-access", - /* 2022-11-29: 7 */ "@typescript-eslint/no-unsafe-return", - ]), - "import/no-extraneous-dependencies": ["error", { devDependencies: true }], - }, - overrides: [ - { - files: ["./src/**/*.ts"], - rules: { - "no-restricted-imports": [ - "error", - { - patterns: [ - { - group: ["@local/hash-backend-utils/*"], - message: - "This package is shared by FE and BE, move backend utils here if both need them.", - }, - ], - }, - ], - }, - }, - { - files: ["src/system-types/**"], - rules: { - "@typescript-eslint/ban-types": [ - "error", - { - types: { - /** - * @todo update the codegen utility in @blockprotocol/graph to generate Object as Record, not {} - */ - "{}": false, - }, - extendDefaults: true, - }, - ], - }, - }, - ], -}; diff --git a/libs/@local/hash-isomorphic-utils/eslint.config.js b/libs/@local/hash-isomorphic-utils/eslint.config.js new file mode 100644 index 00000000000..d6ac75c7ec6 --- /dev/null +++ b/libs/@local/hash-isomorphic-utils/eslint.config.js @@ -0,0 +1,40 @@ +import { createBase, disableRules } from "@local/eslint/deprecated"; + +export default [ + ...createBase(import.meta.dirname), + ...disableRules([ + /* 2022-11-29: 6 */ "@typescript-eslint/no-unsafe-argument", + /* 2022-11-29: 15 */ "@typescript-eslint/no-unsafe-assignment", + /* 2022-11-29: 5 */ "@typescript-eslint/no-unsafe-call", + /* 2022-11-29: 7 */ "@typescript-eslint/no-unsafe-member-access", + /* 2022-11-29: 7 */ "@typescript-eslint/no-unsafe-return", + ]), + { + rules: { + "import/no-extraneous-dependencies": ["error", { devDependencies: true }], + }, + }, + { + files: ["**/src/**/*.ts"], + rules: { + "no-restricted-imports": [ + "error", + { + patterns: [ + { + group: ["@local/hash-backend-utils/*"], + message: + "This package is shared by FE and BE, move backend utils here if both need them.", + }, + ], + }, + ], + }, + }, + { + files: ["**/src/system-types/**"], + rules: { + "@typescript-eslint/no-empty-object-type": "off", + }, + }, +]; diff --git a/libs/@local/hash-isomorphic-utils/package.json b/libs/@local/hash-isomorphic-utils/package.json index 5fa480e7069..a1dccf0b42a 100644 --- a/libs/@local/hash-isomorphic-utils/package.json +++ b/libs/@local/hash-isomorphic-utils/package.json @@ -60,14 +60,14 @@ "@graphql-codegen/fragment-matcher": "3.3.3", "@graphql-codegen/typescript": "2.8.8", "@graphql-codegen/typescript-operations": "2.5.13", - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@temporalio/workflow": "1.11.5", "@types/lodash-es": "4.17.12", "@types/node": "22.10.1", "@types/pluralize": "0.0.33", "@vitest/coverage-istanbul": "2.1.8", - "eslint": "8.57.0", + "eslint": "9.16.0", "graphql": "16.9.0", "next": "13.5.5", "prettier": "3.4.2", diff --git a/libs/@local/hash-isomorphic-utils/src/create-prose-mirror-state.ts b/libs/@local/hash-isomorphic-utils/src/create-prose-mirror-state.ts index 4cd9c8d6ca7..f96bb8c7bdd 100644 --- a/libs/@local/hash-isomorphic-utils/src/create-prose-mirror-state.ts +++ b/libs/@local/hash-isomorphic-utils/src/create-prose-mirror-state.ts @@ -26,6 +26,7 @@ const nodes = { const createInitialDoc = (schema: Schema = createSchema(cloneDeep(nodes))) => schema.node("doc", {}, [schema.node("loading")]); +// eslint-disable-next-line no-restricted-syntax -- prosemirror issue const defaultPlugins: Plugin[] = [ ...wrapEntitiesPlugin(baseKeymap), // This enables an indicator to appear when drag and dropping blocks @@ -39,6 +40,7 @@ export const createProseMirrorState = ({ }: { ownedById: OwnedById; doc?: Node; + // eslint-disable-next-line no-restricted-syntax -- prosemirror issue plugins?: Plugin[]; }) => { return EditorState.create({ diff --git a/libs/@local/hash-isomorphic-utils/src/entity-store-plugin.ts b/libs/@local/hash-isomorphic-utils/src/entity-store-plugin.ts index dc91966eb53..ba962c46384 100644 --- a/libs/@local/hash-isomorphic-utils/src/entity-store-plugin.ts +++ b/libs/@local/hash-isomorphic-utils/src/entity-store-plugin.ts @@ -94,10 +94,12 @@ export type EntityStorePluginAction = { received?: boolean } & ( ); const EntityStoreListeners = new WeakMap< + // eslint-disable-next-line no-restricted-syntax -- prosemirror issue Plugin, Set >(); +// eslint-disable-next-line no-restricted-syntax -- prosemirror issue const entityStorePluginKey = new PluginKey( "entityStore", ); @@ -757,6 +759,7 @@ const scheduleNotifyEntityStoreSubscribers = collect< [ view: EditorView, prevState: EditorState, + // eslint-disable-next-line no-restricted-syntax -- prosemirror issue entityStorePlugin: Plugin, ] >((calls) => { @@ -782,6 +785,7 @@ export const createEntityStorePlugin = ({ }: { ownedById: OwnedById; }) => { + // eslint-disable-next-line no-restricted-syntax -- prosemirror issue const entityStorePlugin = new Plugin({ key: entityStorePluginKey, state: { diff --git a/libs/@local/hash-isomorphic-utils/src/flows/action-definitions.ts b/libs/@local/hash-isomorphic-utils/src/flows/action-definitions.ts index d4a9842d4fd..aacb3c9d028 100644 --- a/libs/@local/hash-isomorphic-utils/src/flows/action-definitions.ts +++ b/libs/@local/hash-isomorphic-utils/src/flows/action-definitions.ts @@ -6,6 +6,8 @@ import type { StepInput, } from "./types.js"; +// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors +// eslint-disable-next-line @typescript-eslint/no-unused-vars const actionDefinitionIds = [ "answerQuestion", "generateWebQueries", diff --git a/libs/@local/hash-isomorphic-utils/src/flows/trigger-definitions.ts b/libs/@local/hash-isomorphic-utils/src/flows/trigger-definitions.ts index bdd937a98fd..b1e65e9a49c 100644 --- a/libs/@local/hash-isomorphic-utils/src/flows/trigger-definitions.ts +++ b/libs/@local/hash-isomorphic-utils/src/flows/trigger-definitions.ts @@ -1,5 +1,7 @@ import type { DeepReadOnly, TriggerDefinition } from "./types.js"; +// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors +// eslint-disable-next-line @typescript-eslint/no-unused-vars const triggerIds = [ "onFileUpload", "userTrigger", diff --git a/libs/@local/hash-isomorphic-utils/src/flows/types.ts b/libs/@local/hash-isomorphic-utils/src/flows/types.ts index b05a642ec70..0e652898e68 100644 --- a/libs/@local/hash-isomorphic-utils/src/flows/types.ts +++ b/libs/@local/hash-isomorphic-utils/src/flows/types.ts @@ -594,6 +594,8 @@ export type StepProgressLog = | ViewedFile | VisitedWebPageLog; +// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors +// eslint-disable-next-line @typescript-eslint/no-unused-vars const flowSignalTypes = [ "externalInputRequest", "externalInputResponse", diff --git a/libs/@local/hash-isomorphic-utils/src/sanitize.ts b/libs/@local/hash-isomorphic-utils/src/sanitize.ts index 5db031d7d3f..d0d0fec8c4d 100644 --- a/libs/@local/hash-isomorphic-utils/src/sanitize.ts +++ b/libs/@local/hash-isomorphic-utils/src/sanitize.ts @@ -17,7 +17,7 @@ export const sanitizeHref = (url?: string) => { } return href; - } catch (err) { + } catch { // eslint-disable-next-line no-console console.error(`Could not construct URL from ${url}`); return ""; diff --git a/libs/@local/hash-isomorphic-utils/src/stringify-property-value.ts b/libs/@local/hash-isomorphic-utils/src/stringify-property-value.ts index cda96c61490..a5627942add 100644 --- a/libs/@local/hash-isomorphic-utils/src/stringify-property-value.ts +++ b/libs/@local/hash-isomorphic-utils/src/stringify-property-value.ts @@ -40,5 +40,7 @@ export const stringifyPropertyValue = (propertyValue: unknown): string => { } // Otherwise directly stringify the property value (for example if it's a number) + // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors + // eslint-disable-next-line @typescript-eslint/no-base-to-string return String(propertyValue); }; diff --git a/libs/@local/hash-isomorphic-utils/src/wrap-entities-plugin.ts b/libs/@local/hash-isomorphic-utils/src/wrap-entities-plugin.ts index 52a491f5ae3..04bf7265848 100644 --- a/libs/@local/hash-isomorphic-utils/src/wrap-entities-plugin.ts +++ b/libs/@local/hash-isomorphic-utils/src/wrap-entities-plugin.ts @@ -257,6 +257,7 @@ export const wrapEntitiesPlugin = (baseKeymap: Record) => { * This plugin ensures at the end of every transaction all necessary nodes * are wrapped with block nodeviews */ + // eslint-disable-next-line no-restricted-syntax -- prosemirror issue const ensureWrappedPlugin = new Plugin({ appendTransaction: (_, __, newState) => ensureEntitiesAreWrapped(newState), }); diff --git a/libs/@local/hash-isomorphic-utils/tsconfig.json b/libs/@local/hash-isomorphic-utils/tsconfig.json index 83c9cf7fefb..57db930a6b8 100644 --- a/libs/@local/hash-isomorphic-utils/tsconfig.json +++ b/libs/@local/hash-isomorphic-utils/tsconfig.json @@ -1,6 +1,12 @@ { "extends": "@local/tsconfig/legacy-base-tsconfig-to-refactor.json", - "include": ["src", "codegen.config.ts", "/**/*.gen.json"], + "include": [ + "src", + "codegen.config.ts", + "/**/*.gen.json", + "eslint.config.js", + "vitest.config.ts" + ], "compilerOptions": { "module": "NodeNext", "moduleResolution": "NodeNext", diff --git a/libs/@local/hash-isomorphic-utils/vitest.config.js b/libs/@local/hash-isomorphic-utils/vitest.config.ts similarity index 91% rename from libs/@local/hash-isomorphic-utils/vitest.config.js rename to libs/@local/hash-isomorphic-utils/vitest.config.ts index f19ca5fb70a..1feb2e96bcd 100644 --- a/libs/@local/hash-isomorphic-utils/vitest.config.js +++ b/libs/@local/hash-isomorphic-utils/vitest.config.ts @@ -1,4 +1,3 @@ -/// import { defineConfig } from "vitest/config"; export default defineConfig({ diff --git a/yarn.lock b/yarn.lock index e503b6804c5..8532ac99e63 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8826,7 +8826,7 @@ __metadata: "@blockprotocol/type-system": "npm:0.1.2-canary.0" "@linear/sdk": "npm:6.0.0" "@local/advanced-types": "npm:0.0.0-private" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/hash-graph-client": "npm:0.0.0-private" "@local/hash-graph-sdk": "npm:0.0.0-private" "@local/hash-isomorphic-utils": "npm:0.0.0-private" @@ -8849,7 +8849,7 @@ __metadata: apollo-datasource: "npm:3.3.2" axios: "npm:1.7.9" dotenv-flow: "npm:3.3.0" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" exponential-backoff: "npm:3.1.1" googleapis: "npm:133.0.0" logform: "npm:2.7.0" @@ -8928,7 +8928,7 @@ __metadata: "@graphql-codegen/typescript": "npm:2.8.8" "@graphql-codegen/typescript-operations": "npm:2.5.13" "@local/advanced-types": "npm:0.0.0-private" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/hash-graph-client": "npm:0.0.0-private" "@local/hash-graph-sdk": "npm:0.0.0-private" "@local/hash-graph-types": "npm:0.0.0-private" @@ -8942,7 +8942,7 @@ __metadata: "@types/pluralize": "npm:0.0.33" "@vitest/coverage-istanbul": "npm:2.1.8" apollo-server-express: "npm:3.9.0" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" fix-esm-import-path: "npm:1.10.1" fractional-indexing: "npm:2.1.0" graphql: "npm:16.9.0" From 33b2ba09d0c142441b82cdae78c09684f9c8f057 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Tue, 10 Dec 2024 12:31:44 +0100 Subject: [PATCH 28/51] feat: convert the rest --- libs/@local/eslint-config/.eslintrc.cjs | 7 - libs/@local/eslint-config/LICENSE.md | 607 ------------------ .../eslint-config/generate-block-config.cjs | 35 - .../generate-ignore-patterns.cjs | 181 ------ .../generate-workspace-config.cjs | 21 - .../legacy-base-eslintrc-to-refactor.cjs | 373 ----------- .../legacy-block-eslintrc-to-refactor.cjs | 15 - libs/@local/eslint-config/package.json | 36 -- .../temporarily-disable-rules.cjs | 18 - libs/@local/eslint-config/tsconfig.json | 3 - libs/@local/hash-subgraph/.eslintrc.cjs | 4 - libs/@local/hash-subgraph/eslint.config.js | 3 + libs/@local/hash-subgraph/package.json | 4 +- libs/@local/hash-subgraph/tsconfig.json | 2 +- .../{vitest.config.js => vitest.config.ts} | 0 .../typescript/package.json | 1 - libs/@local/repo-chores/node/.eslintrc.cjs | 7 - libs/@local/repo-chores/node/eslint.config.js | 13 + libs/@local/repo-chores/node/package.json | 4 +- .../repo-chores/node/scripts/create-block.ts | 4 +- .../node/scripts/shared/monorepo.ts | 4 +- libs/@local/repo-chores/node/tsconfig.json | 1 + libs/@local/status/typescript/.eslintrc.cjs | 7 - .../@local/status/typescript/eslint.config.js | 10 + libs/@local/status/typescript/package.json | 4 +- .../status/typescript/scripts/codegen.ts | 2 +- libs/@local/status/typescript/tsconfig.json | 2 +- tests/hash-backend-integration/.eslintrc.cjs | 14 - .../hash-backend-integration/eslint.config.js | 10 + tests/hash-backend-integration/package.json | 4 +- .../graph/knowledge/primitive/entity.test.ts | 1 + .../ontology/primitive/data-type.test.ts | 1 + .../ontology/primitive/entity-type.test.ts | 1 + .../ontology/primitive/property-type.test.ts | 1 + tests/hash-backend-integration/tsconfig.json | 7 +- .../{vitest.config.js => vitest.config.ts} | 0 tests/hash-backend-load/.eslintrc.cjs | 7 - tests/hash-backend-load/eslint.config.js | 10 + tests/hash-backend-load/package.json | 4 +- tests/hash-backend-load/tsconfig.json | 2 +- tests/hash-playwright/.eslintrc.cjs | 22 - tests/hash-playwright/eslint.config.js | 21 + tests/hash-playwright/package.json | 5 +- .../tests/browser-plugin/fixtures.ts | 6 +- tests/hash-playwright/tests/shared/runtime.ts | 10 + tests/hash-playwright/tsconfig.json | 6 + yarn.lock | 602 ++--------------- 47 files changed, 169 insertions(+), 1933 deletions(-) delete mode 100644 libs/@local/eslint-config/.eslintrc.cjs delete mode 100644 libs/@local/eslint-config/LICENSE.md delete mode 100644 libs/@local/eslint-config/generate-block-config.cjs delete mode 100644 libs/@local/eslint-config/generate-ignore-patterns.cjs delete mode 100644 libs/@local/eslint-config/generate-workspace-config.cjs delete mode 100644 libs/@local/eslint-config/legacy-base-eslintrc-to-refactor.cjs delete mode 100644 libs/@local/eslint-config/legacy-block-eslintrc-to-refactor.cjs delete mode 100644 libs/@local/eslint-config/package.json delete mode 100644 libs/@local/eslint-config/temporarily-disable-rules.cjs delete mode 100644 libs/@local/eslint-config/tsconfig.json delete mode 100644 libs/@local/hash-subgraph/.eslintrc.cjs create mode 100644 libs/@local/hash-subgraph/eslint.config.js rename libs/@local/hash-subgraph/{vitest.config.js => vitest.config.ts} (100%) delete mode 100644 libs/@local/repo-chores/node/.eslintrc.cjs create mode 100644 libs/@local/repo-chores/node/eslint.config.js delete mode 100644 libs/@local/status/typescript/.eslintrc.cjs create mode 100644 libs/@local/status/typescript/eslint.config.js delete mode 100644 tests/hash-backend-integration/.eslintrc.cjs create mode 100644 tests/hash-backend-integration/eslint.config.js rename tests/hash-backend-integration/{vitest.config.js => vitest.config.ts} (100%) delete mode 100644 tests/hash-backend-load/.eslintrc.cjs create mode 100644 tests/hash-backend-load/eslint.config.js delete mode 100644 tests/hash-playwright/.eslintrc.cjs create mode 100644 tests/hash-playwright/eslint.config.js diff --git a/libs/@local/eslint-config/.eslintrc.cjs b/libs/@local/eslint-config/.eslintrc.cjs deleted file mode 100644 index 4c445f95541..00000000000 --- a/libs/@local/eslint-config/.eslintrc.cjs +++ /dev/null @@ -1,7 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("./generate-workspace-config.cjs")(__dirname), - rules: { - "global-require": "off", - }, -}; diff --git a/libs/@local/eslint-config/LICENSE.md b/libs/@local/eslint-config/LICENSE.md deleted file mode 100644 index c7d627721e2..00000000000 --- a/libs/@local/eslint-config/LICENSE.md +++ /dev/null @@ -1,607 +0,0 @@ -GNU Affero General Public License -================================= - -_Version 3, 19 November 2007_ -_Copyright © 2007 Free Software Foundation, Inc. <>_ - -Everyone is permitted to copy and distribute verbatim copies -of this license document, but changing it is not allowed. - -## Preamble - -The GNU Affero General Public License is a free, copyleft license for -software and other kinds of works, specifically designed to ensure -cooperation with the community in the case of network server software. - -The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -our General Public Licenses are intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. - -When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - -Developers that use our General Public Licenses protect your rights -with two steps: **(1)** assert copyright on the software, and **(2)** offer -you this License which gives you legal permission to copy, distribute -and/or modify the software. - -A secondary benefit of defending all users' freedom is that -improvements made in alternate versions of the program, if they -receive widespread use, become available for other developers to -incorporate. Many developers of free software are heartened and -encouraged by the resulting cooperation. However, in the case of -software used on network servers, this result may fail to come about. -The GNU General Public License permits making a modified version and -letting the public access it on a server without ever releasing its -source code to the public. - -The GNU Affero General Public License is designed specifically to -ensure that, in such cases, the modified source code becomes available -to the community. It requires the operator of a network server to -provide the source code of the modified version running there to the -users of that server. Therefore, public use of a modified version, on -a publicly accessible server, gives the public access to the source -code of the modified version. - -An older license, called the Affero General Public License and -published by Affero, was designed to accomplish similar goals. This is -a different license, not a version of the Affero GPL, but Affero has -released a new version of the Affero GPL which permits relicensing under -this license. - -The precise terms and conditions for copying, distribution and -modification follow. - -## TERMS AND CONDITIONS - -### 0. Definitions - -“This License” refers to version 3 of the GNU Affero General Public License. - -“Copyright” also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - -“The Program” refers to any copyrightable work licensed under this -License. Each licensee is addressed as “you”. “Licensees” and -“recipients” may be individuals or organizations. - -To “modify” a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a “modified version” of the -earlier work or a work “based on” the earlier work. - -A “covered work” means either the unmodified Program or a work based -on the Program. - -To “propagate” a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - -To “convey” a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - -An interactive user interface displays “Appropriate Legal Notices” -to the extent that it includes a convenient and prominently visible -feature that **(1)** displays an appropriate copyright notice, and **(2)** -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - -### 1. Source Code - -The “source code” for a work means the preferred form of the work -for making modifications to it. “Object code” means any non-source -form of a work. - -A “Standard Interface” means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - -The “System Libraries” of an executable work include anything, other -than the work as a whole, that **(a)** is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and **(b)** serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -“Major Component”, in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - -The “Corresponding Source” for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - -The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - -The Corresponding Source for a work in source code form is that -same work. - -### 2. Basic Permissions - -All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - -You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - -Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - -### 3. Protecting Users' Legal Rights From Anti-Circumvention Law - -No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - -When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - -### 4. Conveying Verbatim Copies - -You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - -You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - -### 5. Conveying Modified Source Versions - -You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - -* **a)** The work must carry prominent notices stating that you modified -it, and giving a relevant date. -* **b)** The work must carry prominent notices stating that it is -released under this License and any conditions added under section 7. -This requirement modifies the requirement in section 4 to -“keep intact all notices”. -* **c)** You must license the entire work, as a whole, under this -License to anyone who comes into possession of a copy. This -License will therefore apply, along with any applicable section 7 -additional terms, to the whole of the work, and all its parts, -regardless of how they are packaged. This License gives no -permission to license the work in any other way, but it does not -invalidate such permission if you have separately received it. -* **d)** If the work has interactive user interfaces, each must display -Appropriate Legal Notices; however, if the Program has interactive -interfaces that do not display Appropriate Legal Notices, your -work need not make them do so. - -A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -“aggregate” if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - -### 6. Conveying Non-Source Forms - -You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - -* **a)** Convey the object code in, or embodied in, a physical product -(including a physical distribution medium), accompanied by the -Corresponding Source fixed on a durable physical medium -customarily used for software interchange. -* **b)** Convey the object code in, or embodied in, a physical product -(including a physical distribution medium), accompanied by a -written offer, valid for at least three years and valid for as -long as you offer spare parts or customer support for that product -model, to give anyone who possesses the object code either **(1)** a -copy of the Corresponding Source for all the software in the -product that is covered by this License, on a durable physical -medium customarily used for software interchange, for a price no -more than your reasonable cost of physically performing this -conveying of source, or **(2)** access to copy the -Corresponding Source from a network server at no charge. -* **c)** Convey individual copies of the object code with a copy of the -written offer to provide the Corresponding Source. This -alternative is allowed only occasionally and noncommercially, and -only if you received the object code with such an offer, in accord -with subsection 6b. -* **d)** Convey the object code by offering access from a designated -place (gratis or for a charge), and offer equivalent access to the -Corresponding Source in the same way through the same place at no -further charge. You need not require recipients to copy the -Corresponding Source along with the object code. If the place to -copy the object code is a network server, the Corresponding Source -may be on a different server (operated by you or a third party) -that supports equivalent copying facilities, provided you maintain -clear directions next to the object code saying where to find the -Corresponding Source. Regardless of what server hosts the -Corresponding Source, you remain obligated to ensure that it is -available for as long as needed to satisfy these requirements. -* **e)** Convey the object code using peer-to-peer transmission, provided -you inform other peers where the object code and Corresponding -Source of the work are being offered to the general public at no -charge under subsection 6d. - -A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - -A “User Product” is either **(1)** a “consumer product”, which means any -tangible personal property which is normally used for personal, family, -or household purposes, or **(2)** anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, “normally used” refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - -“Installation Information” for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - -If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - -The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - -Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - -### 7. Additional Terms - -“Additional permissions” are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - -When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - -Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - -* **a)** Disclaiming warranty or limiting liability differently from the -terms of sections 15 and 16 of this License; or -* **b)** Requiring preservation of specified reasonable legal notices or -author attributions in that material or in the Appropriate Legal -Notices displayed by works containing it; or -* **c)** Prohibiting misrepresentation of the origin of that material, or -requiring that modified versions of such material be marked in -reasonable ways as different from the original version; or -* **d)** Limiting the use for publicity purposes of names of licensors or -authors of the material; or -* **e)** Declining to grant rights under trademark law for use of some -trade names, trademarks, or service marks; or -* **f)** Requiring indemnification of licensors and authors of that -material by anyone who conveys the material (or modified versions of -it) with contractual assumptions of liability to the recipient, for -any liability that these contractual assumptions directly impose on -those licensors and authors. - -All other non-permissive additional terms are considered “further -restrictions” within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - -If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - -Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - -### 8. Termination - -You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - -However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated **(a)** -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and **(b)** permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - -Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - -Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - -### 9. Acceptance Not Required for Having Copies - -You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - -### 10. Automatic Licensing of Downstream Recipients - -Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - -An “entity transaction” is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - -You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - -### 11. Patents - -A “contributor” is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's “contributor version”. - -A contributor's “essential patent claims” are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, “control” includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - -Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - -In the following three paragraphs, a “patent license” is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To “grant” such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - -If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either **(1)** cause the Corresponding Source to be so -available, or **(2)** arrange to deprive yourself of the benefit of the -patent license for this particular work, or **(3)** arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. “Knowingly relying” means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - -If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - -A patent license is “discriminatory” if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license **(a)** in connection with copies of the covered work -conveyed by you (or copies made from those copies), or **(b)** primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - -Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - -### 12. No Surrender of Others' Freedom - -If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - -### 13. Remote Network Interaction; Use with the GNU General Public License - -Notwithstanding any other provision of this License, if you modify the -Program, your modified version must prominently offer all users -interacting with it remotely through a computer network (if your version -supports such interaction) an opportunity to receive the Corresponding -Source of your version by providing access to the Corresponding Source -from a network server at no charge, through some standard or customary -means of facilitating copying of software. This Corresponding Source -shall include the Corresponding Source for any work covered by version 3 -of the GNU General Public License that is incorporated pursuant to the -following paragraph. - -Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the work with which it is combined will remain governed by version -3 of the GNU General Public License. - -### 14. Revised Versions of this License - -The Free Software Foundation may publish revised and/or new versions of -the GNU Affero General Public License from time to time. Such new versions -will be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU Affero General -Public License “or any later version” applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU Affero General Public License, you may choose any version ever published -by the Free Software Foundation. - -If the Program specifies that a proxy can decide which future -versions of the GNU Affero General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - -Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - -### 15. Disclaimer of Warranty - -THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - -### 16. Limitation of Liability - -IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - -### 17. Interpretation of Sections 15 and 16 - -If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. diff --git a/libs/@local/eslint-config/generate-block-config.cjs b/libs/@local/eslint-config/generate-block-config.cjs deleted file mode 100644 index c38456ae84f..00000000000 --- a/libs/@local/eslint-config/generate-block-config.cjs +++ /dev/null @@ -1,35 +0,0 @@ -/** - * @param {string} workspaceDirPath - * @returns {import("eslint").Linter.Config} - */ -module.exports = (workspaceDirPath) => ({ - root: true, - extends: [ - "@local/eslint-config/legacy-base-eslintrc-to-refactor.cjs", - "@local/eslint-config/legacy-block-eslintrc-to-refactor.cjs", - ], - ignorePatterns: require("./generate-ignore-patterns.cjs")(workspaceDirPath), - parserOptions: { - tsconfigRootDir: workspaceDirPath, - project: `${workspaceDirPath}/tsconfig.json`, - }, - overrides: [ - { - files: ["**/src/types/**"], - rules: { - "@typescript-eslint/ban-types": [ - "error", - { - types: { - /** - * @todo update the codegen utility in @blockprotocol/graph to generate Object as Record, not {} - */ - "{}": false, - }, - extendDefaults: true, - }, - ], - }, - }, - ], -}); diff --git a/libs/@local/eslint-config/generate-ignore-patterns.cjs b/libs/@local/eslint-config/generate-ignore-patterns.cjs deleted file mode 100644 index f5acc672f9d..00000000000 --- a/libs/@local/eslint-config/generate-ignore-patterns.cjs +++ /dev/null @@ -1,181 +0,0 @@ -const path = require("node:path"); -const fs = require("node:fs"); - -const monorepoRoot = path.resolve(__dirname, "../../.."); - -// Check if the line's glob affects this workspace e.g. -// say the path to this workspace is `path/to/workspace/foo` -// - if the line is `path/to/**/bar` -// then we want patterns equivalent to `**/bar` -// as `path/to/**` overlaps the current path -// - if the line is `**/bar` -// then we want patterns equivalent to `**/bar` -// as `**` overlaps the current path -// - if the line is `path/to/**/foo/bar**` -// then we want patterns equivalent to [`bar**`, `**/foo/bar/**`] -// as both `path/to/**/foo` and `path/to/**` overlaps the current path -/** - * Given a path from a .gitignore in a parent directory, this returns the equivalent paths if written in the current - * directory - * - * @param {string} pattern - * @param {string} workspaceDirPrefix - * @returns {string[]} - */ -const getEquivalentIgnorePaths = (pattern, workspaceDirPrefix) => { - // We want to traverse the components of the workspaceDirPrefix, and consume wild cards whenever they match. - // On some wildcards there may be a branch of equivalent paths, e.g. for a "**" wildcard - /** - * @param {string[]} pathComponents - * @param {string[]} patternComponents - * @returns {Set} - */ - const getEquivalentPaths = (pathComponents, patternComponents) => { - const equivalentPaths = new Set(); - - let i = 0; - for (; i < patternComponents.length; i++) { - const patternComponent = patternComponents[i]; - const pathComponent = pathComponents[i]; - - // This could happen if the pattern started or ended with `/` - if (patternComponent === "") { - break; - } - - if (!pathComponent) { - // We have reached the end of the path components - equivalentPaths.add(patternComponents.slice(i).join("/")); - break; - } - - if (patternComponent === "**") { - // We can choose to use ** once, or multiple times, or never - - // we use and consume **, so we advance both sets of components - for (const equivalentPath of getEquivalentPaths( - pathComponents.slice(i + 1), - patternComponents.slice(i + 1), - )) { - equivalentPaths.add(equivalentPath); - } - // we use ** but don't consume it, so we advance the path components by one but leave the pattern as is - for (const equivalentPath of getEquivalentPaths( - pathComponents.slice(i + 1), - patternComponents.slice(i), - )) { - equivalentPaths.add(equivalentPath); - } - - // we don't use but consume **, so we advance the pattern components by one but leave the path as is - for (const equivalentPath of getEquivalentPaths( - pathComponents.slice(i), - patternComponents.slice(i + 1), - )) { - equivalentPaths.add(equivalentPath); - } - } else if (patternComponent === "*") { - // We must consume "*" if it is present - for (const equivalentPath of getEquivalentPaths( - pathComponents.slice(i + 1), - patternComponents.slice(i + 1), - )) { - equivalentPaths.add(equivalentPath); - } - } - } - - return equivalentPaths; - }; - - return [ - ...getEquivalentPaths(workspaceDirPrefix.split("/"), pattern.split("/")), - ]; -}; - -/** - * ESlint requires .eslintignore file to be placed next to .eslintrc.cjs file. - * Because .*ignore files are not composable, we cannot import or otherwise reuse - * a top-level .eslintignore. To avoid repetition and to maintain a coherent behavior - * of ESLint CLI and IDE extensions, we generate ignore patterns for each workspace - * based from .prettierignore. This is done via ignorePatterns option in ESLint config. - * - * @param {string} workspaceDirPath - * @returns {string[]} - */ -module.exports = (workspaceDirPath) => { - const [, match] = - fs - .readFileSync(`${monorepoRoot}/.prettierignore`, "utf8") - .match(/Same as in .gitignore([^\0]*?)$/) ?? []; - - if (!match) { - throw new Error( - "Could not find shared .prettierignore patterns. Please update .prettierignore or the regexp in this file.", - ); - } - - const workspaceDirPrefix = `/${path - .relative(monorepoRoot, workspaceDirPath) - .replace(/\\/g, "/")}/`; - - const sharedPatternsFromPrettierIgnore = match - .split("\n") - .map((line) => { - // Ignore empty lines and comments - if (!line || line.startsWith("#")) { - return []; - } - - if (line.includes("**")) { - // remove the leading "/" from the workspaceDirPrefix as we need to check it as a relative path - const relativePrefix = workspaceDirPrefix.slice(1); - - const overlappingPatterns = getEquivalentIgnorePaths( - line.startsWith("/") ? line.slice(1) : line, - relativePrefix, - ); - - if (overlappingPatterns.length > 0) { - return overlappingPatterns; - } - } - - // Ignore patterns specific to other workspaces - if ( - line.includes("/") && - !line.match(/^[^/]+\/$/) && - !line.startsWith(workspaceDirPrefix) && - !line.startsWith("**") - ) { - return []; - } - - // Remove workspace-specific prefix (path/to/workspace/foo/**/bar => foo/**/bar) - if (line.startsWith(workspaceDirPrefix)) { - return [line.replace(workspaceDirPrefix, "")]; - } - - // Keep other patterns as is - return [line]; - }) - .flat(); - - return [ - // Ignore all files (but still allow sub-folder scanning) - "*", - "!*/", - - // Allow certain file types - "!*.cjs", - "!*.js", - "!*.json", - "!*.jsx", - "!*.mjs", - "!*.ts", - "!*.tsx", - - // Add patterns extracted from .prettierignore - ...sharedPatternsFromPrettierIgnore, - ]; -}; diff --git a/libs/@local/eslint-config/generate-workspace-config.cjs b/libs/@local/eslint-config/generate-workspace-config.cjs deleted file mode 100644 index 399e1d1446e..00000000000 --- a/libs/@local/eslint-config/generate-workspace-config.cjs +++ /dev/null @@ -1,21 +0,0 @@ -/** - * @param {string} workspaceDirPath - * @returns {import("eslint").Linter.Config} - */ -module.exports = (workspaceDirPath) => ({ - root: true, - extends: ["@local/eslint-config/legacy-base-eslintrc-to-refactor.cjs"], - ignorePatterns: require("./generate-ignore-patterns.cjs")(workspaceDirPath), - parserOptions: { - tsconfigRootDir: workspaceDirPath, - project: `${workspaceDirPath}/tsconfig.json`, - }, - settings: { - "import/resolver": { - typescript: { - alwaysTryTypes: true, - project: `${workspaceDirPath}}/tsconfig.json`, - }, - }, - }, -}); diff --git a/libs/@local/eslint-config/legacy-base-eslintrc-to-refactor.cjs b/libs/@local/eslint-config/legacy-base-eslintrc-to-refactor.cjs deleted file mode 100644 index 6c692a3b853..00000000000 --- a/libs/@local/eslint-config/legacy-base-eslintrc-to-refactor.cjs +++ /dev/null @@ -1,373 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - root: true, - // this is the highest config lower ones will automatically extend - parser: "@typescript-eslint/parser", - plugins: [ - "@typescript-eslint", - "canonical", - "react-hooks", - "simple-import-sort", - "unicorn", - ], - extends: [ - "airbnb", - "prettier", - // mutes eslint rules conflicting w/ prettier (requires eslint-config-prettier) - ], - globals: { - NodeJS: true, - FixMeLater: "readonly", - globalThis: "readonly", - }, - env: { - browser: true, - node: true, - }, - reportUnusedDisableDirectives: true, - rules: { - "canonical/filename-no-index": "error", - "@typescript-eslint/consistent-type-imports": "error", - // overridden airbnb rules (if you wish to add to this list, please outline your reasoning here: https://www.notion.so/hashintel/HASH-dev-eslint-configuration-60c52c127d13478fbce6bb5579a6b7be) - "no-undef-init": "off", - "no-underscore-dangle": "off", - "no-nested-ternary": "off", - "no-restricted-syntax": [ - "error", - { - selector: - "TSTypeReference[typeName.name=/^(Plugin|PluginKey)$/]:not([typeParameters])", - message: "Please provide a generic to avoid implicit `any`", - }, - { - selector: - "TSTypeReference[typeName.name=/^(Plugin|PluginKey)$/][typeParameters.params.0.type=TSAnyKeyword]", - message: "Please replace `any` with a specific type", - }, - { - selector: - "NewExpression[callee.name=/^(Plugin|PluginKey)$/]:not([typeParameters])", - message: "Please provide a generic to avoid implicit `any`", - }, - { - selector: - "NewExpression[callee.name=/^(Plugin|PluginKey)$/][typeParameters.params.0.type=TSAnyKeyword]", - message: "Please replace `any` with a specific type", - }, - ], - camelcase: "off", - "default-param-last": "off", // using @typescript-eslint/default-param-last instead - "import/no-cycle": "error", - "import/named": "off", // redundant for TypeScript code, leads to false positives with @blockprotocol/type-system - "import/prefer-default-export": "off", - "no-await-in-loop": "off", - "no-console": "error", - "no-dupe-class-members": "off", - "import/no-unresolved": [ - 2, - { - // graph uses 'exports' field in package.json https://github.com/import-js/eslint-plugin-import/issues/1810 - ignore: [ - "^@apps/", - "^@blockprotocol/graph", - "^@blockprotocol/hook", - "^@blockprotocol/service", - "^@blockprotocol/type-system", - "^@hashintel/", - "^@local/", - ], - }, - ], - "react/prop-types": "off", - // because we are using typescript this is redundant - "jsx-a11y/anchor-is-valid": "off", - // because we use next.js empty anchor tags should be used when using the Link component - "react/jsx-filename-extension": [ - 2, - { - extensions: [".js", ".jsx", ".ts", ".tsx"], - }, - ], - "react/jsx-props-no-spreading": "off", - "no-void": [ - "error", - { - allowAsStatement: true, - }, - ], - "no-continue": "off", - "react/react-in-jsx-scope": "off", - "no-return-await": "off", - "max-classes-per-file": "off", - "lines-between-class-members": [ - "error", - "always", - { - exceptAfterSingleLine: true, - }, - ], - "consistent-return": "off", - "default-case": "off", - "class-methods-use-this": "off", - "react/no-unescapted-entities": "off", - "jsx-a11y/no-autofocus": "off", - "no-plusplus": "off", - "prefer-destructuring": "off", - "no-else-return": "off", - "arrow-body-style": "off", - "react/no-unescaped-entities": "off", - // Other rule changes - "react-hooks/rules-of-hooks": "error", - "react-hooks/exhaustive-deps": [ - "error", - { - additionalHooks: "^(useModal|useUserGatedEffect)$", - }, - ], - "react/function-component-definition": [ - "error", - { - namedComponents: "arrow-function", - unnamedComponents: "arrow-function", - }, - ], - "react/jsx-key": "error", - "react/jsx-no-useless-fragment": "error", - "react/self-closing-comp": "error", - "no-restricted-imports": [ - "error", - { - paths: [ - { - name: "react", - importNames: ["FC", "VFC", "VoidFunctionComponent"], - message: "Please use FunctionComponent instead", - }, - { - name: "@testing-library/react", - importNames: ["render"], - message: "Please use ./src/tests/testUtils.tsx#render instead", - }, - { - name: "@mui/material", - importNames: ["Link"], - message: - "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", - }, - { - name: "@mui/material/Link", - message: - "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", - }, - { - name: "next", - importNames: ["Link"], - message: - "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", - }, - { - name: "next/link", - message: - "Please use the custom src/components/Link component instead to ensure Next.js and MUI compatibility.", - }, - { - name: "@mui/material", - importNames: ["Button"], - message: - "Please use the custom wrapper component in src/component instead.", - }, - { - name: "@mui/material/Button", - importNames: ["default"], - message: - "Please use the custom src/components/Button component instead.", - }, - ], - patterns: [ - { - group: [ - "@hashintel/design-system/*", - "!@hashintel/design-system/theme", - "!@hashintel/design-system/constants", - "!@hashintel/design-system/palettes", - ], - message: "Please import from @hashintel/design-system instead.", - }, - ], - }, - ], - "react/require-default-props": "off", - "no-shadow": "off", - "@typescript-eslint/default-param-last": "error", - // see https://github.com/typescript-eslint/typescript-eslint/issues/2483 - "@typescript-eslint/no-shadow": "error", - "no-use-before-define": "off", - "@typescript-eslint/no-use-before-define": ["error"], - "no-redeclare": "off", - "@typescript-eslint/no-redeclare": ["error"], - - eqeqeq: [ - "error", - "always", - { - null: "ignore", - }, - ], - "id-length": [ - "error", - { - min: 2, - exceptions: ["_", "x", "y", "z", "a", "b", "i"], - properties: "never", - }, - ], - "no-unused-expressions": "error", - curly: ["error", "all"], - "import/extensions": [ - "error", - "ignorePackages", - { - js: "never", - jsx: "never", - ts: "never", - tsx: "never", - }, - ], - "no-useless-constructor": "off", - "@typescript-eslint/no-useless-constructor": ["error"], - "@typescript-eslint/ban-ts-comment": [ - "error", - { - "ts-expect-error": "allow-with-description", - minimumDescriptionLength: 10, - }, - ], - "no-empty-function": "off", - "no-param-reassign": [ - "error", - { - props: true, - ignorePropertyModificationsForRegex: ["^draft"], - ignorePropertyModificationsFor: [ - "acc", - "accumulator", - "e", - "ctx", - "context", - "req", - "request", - "res", - "response", - "$scope", - "staticContext", - ], - }, - ], - "simple-import-sort/exports": "error", - "simple-import-sort/imports": "error", - "unicorn/filename-case": "error", - "unicorn/import-style": [ - "error", - { - styles: { - react: { named: true }, - "react-dom": { named: true }, - }, - }, - ], - "unicorn/no-array-for-each": "error", - "unicorn/prefer-node-protocol": "error", - }, - settings: { - "import/resolver": { - node: { - extensions: [".js", ".jsx", ".ts", ".tsx"], - }, - }, - }, - overrides: [ - { - files: ["**/*.{c,m,}js"], - parser: "@babel/eslint-parser", // disables typescript rules - parserOptions: { - requireConfigFile: false, - extraFileExtensions: [".cjs"], - babelOptions: { - presets: ["@babel/preset-react"], // allows jsx - }, - }, - }, - { - files: [ - "**/tests/**", - "**/__mocks__/**", - "**/testUtils/**", - "*.test.{j,t}s{x,}", - ], - env: { - node: true, - }, - rules: { - "import/no-extraneous-dependencies": [ - "error", - { devDependencies: true }, - ], - }, - }, - { - files: [".storybook/*", "**/*.stories.{j,t}s{x,}"], - rules: { - "import/no-extraneous-dependencies": [ - "error", - { devDependencies: true }, - ], - }, - }, - { - files: ["*.config.{c,m,}{j,t}s", "*.d.ts", "*rc.{c,m,}js"], - rules: { - "global-require": "off", - "import/no-extraneous-dependencies": [ - "error", - { devDependencies: true }, - ], - }, - }, - { - files: ["*.ts", "*.tsx"], - extends: [ - "plugin:@typescript-eslint/recommended-requiring-type-checking", - ], - rules: { - "no-unused-vars": "off", - "@typescript-eslint/prefer-nullish-coalescing": [ - "error", - { - ignoreMixedLogicalExpressions: true, - }, - ], - "@typescript-eslint/no-meaningless-void-operator": "error", - "@typescript-eslint/no-misused-promises": [ - "error", // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-misused-promises.md#checksvoidreturn - { checksVoidReturn: { attributes: false, properties: false } }, - ], - "no-constant-condition": "off", // replaced by @typescript-eslint/no-unnecessary-condition - "@typescript-eslint/no-unnecessary-condition": "error", - "@typescript-eslint/no-unused-vars": [ - "error", - { - args: "all", // check all args, not just those after-used - argsIgnorePattern: "^_+", - varsIgnorePattern: "^_+", - }, - ], - }, - }, - { - files: ["**/scripts/**"], - rules: { - "no-console": "off", - }, - }, - ], -}; diff --git a/libs/@local/eslint-config/legacy-block-eslintrc-to-refactor.cjs b/libs/@local/eslint-config/legacy-block-eslintrc-to-refactor.cjs deleted file mode 100644 index 98d47913605..00000000000 --- a/libs/@local/eslint-config/legacy-block-eslintrc-to-refactor.cjs +++ /dev/null @@ -1,15 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - plugins: ["@typescript-eslint", "react-hooks", "react", "unicorn"], - rules: { - curly: ["error", "multi-line"], - "import/no-extraneous-dependencies": ["error", { devDependencies: true }], - "jsx-a11y/label-has-associated-control": "off", - "react-hooks/exhaustive-deps": "error", - "react-hooks/rules-of-hooks": "error", - "react/jsx-key": "error", - "react/jsx-no-useless-fragment": "error", - "react/no-danger": "error", - "react/self-closing-comp": "error", - }, -}; diff --git a/libs/@local/eslint-config/package.json b/libs/@local/eslint-config/package.json deleted file mode 100644 index f59afd88f4b..00000000000 --- a/libs/@local/eslint-config/package.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "name": "@local/eslint-config", - "version": "0.0.0-private", - "private": true, - "scripts": { - "fix:eslint": "eslint --fix .", - "lint:eslint": "eslint --report-unused-disable-directives .", - "lint:tsc": "tsc --noEmit" - }, - "dependencies": { - "@babel/core": "7.26.0", - "@babel/eslint-parser": "7.25.9", - "@babel/preset-react": "7.26.3", - "@typescript-eslint/eslint-plugin": "7.2.0", - "@typescript-eslint/parser": "7.2.0", - "eslint": "8.57.0", - "eslint-config-airbnb": "19.0.4", - "eslint-config-prettier": "9.1.0", - "eslint-plugin-canonical": "5.0.0", - "eslint-plugin-import": "2.29.1", - "eslint-plugin-jsx-a11y": "6.8.0", - "eslint-plugin-react": "7.34.1", - "eslint-plugin-react-hooks": "4.6.0", - "eslint-plugin-simple-import-sort": "12.0.0", - "eslint-plugin-typescript-sort-keys": "3.2.0", - "eslint-plugin-unicorn": "51.0.1", - "typescript": "5.6.3" - }, - "devDependencies": { - "@local/tsconfig": "0.0.0-private", - "@types/eslint": "8.56.12", - "@types/node": "22.10.1", - "eslint": "8.57.0", - "typescript": "5.6.3" - } -} diff --git a/libs/@local/eslint-config/temporarily-disable-rules.cjs b/libs/@local/eslint-config/temporarily-disable-rules.cjs deleted file mode 100644 index 9cd480bc28d..00000000000 --- a/libs/@local/eslint-config/temporarily-disable-rules.cjs +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @param {string[]} ruleNames - * @returns {import("eslint").Linter.RulesRecord} - * @see https://github.com/hashintel/hash/pull/1384 - */ -module.exports = (ruleNames) => { - /** @type {import("eslint").Linter.RulesRecord} */ - const result = {}; - - if (process.env.CHECK_TEMPORARILY_DISABLED_RULES === "true") { - return result; - } - - for (const ruleName of ruleNames) { - result[ruleName] = "off"; - } - return result; -}; diff --git a/libs/@local/eslint-config/tsconfig.json b/libs/@local/eslint-config/tsconfig.json deleted file mode 100644 index b2aa2356617..00000000000 --- a/libs/@local/eslint-config/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "@local/tsconfig/legacy-base-tsconfig-to-refactor.json" -} diff --git a/libs/@local/hash-subgraph/.eslintrc.cjs b/libs/@local/hash-subgraph/.eslintrc.cjs deleted file mode 100644 index 568c500804e..00000000000 --- a/libs/@local/hash-subgraph/.eslintrc.cjs +++ /dev/null @@ -1,4 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-workspace-config.cjs")(__dirname), -}; diff --git a/libs/@local/hash-subgraph/eslint.config.js b/libs/@local/hash-subgraph/eslint.config.js new file mode 100644 index 00000000000..0eac3025266 --- /dev/null +++ b/libs/@local/hash-subgraph/eslint.config.js @@ -0,0 +1,3 @@ +import { createBase } from "@local/eslint/deprecated"; + +export default createBase(import.meta.dirname); diff --git a/libs/@local/hash-subgraph/package.json b/libs/@local/hash-subgraph/package.json index fb34004835e..e1efa1bf65f 100644 --- a/libs/@local/hash-subgraph/package.json +++ b/libs/@local/hash-subgraph/package.json @@ -39,10 +39,10 @@ "uuid": "9.0.1" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@types/uuid": "10.0.0", "@vitest/coverage-istanbul": "2.1.8", - "eslint": "8.57.0", + "eslint": "9.16.0", "rimraf": "6.0.1", "typescript": "5.6.3", "vitest": "2.1.8" diff --git a/libs/@local/hash-subgraph/tsconfig.json b/libs/@local/hash-subgraph/tsconfig.json index b60fa3ed434..35a36985b1e 100644 --- a/libs/@local/hash-subgraph/tsconfig.json +++ b/libs/@local/hash-subgraph/tsconfig.json @@ -1,6 +1,6 @@ { "extends": "@local/tsconfig/legacy-base-tsconfig-to-refactor.json", - "include": ["src", "tests"], + "include": ["src", "tests", "eslint.config.js", "vitest.config.ts"], "compilerOptions": { "module": "NodeNext", "moduleResolution": "NodeNext" diff --git a/libs/@local/hash-subgraph/vitest.config.js b/libs/@local/hash-subgraph/vitest.config.ts similarity index 100% rename from libs/@local/hash-subgraph/vitest.config.js rename to libs/@local/hash-subgraph/vitest.config.ts diff --git a/libs/@local/internal-api-client/typescript/package.json b/libs/@local/internal-api-client/typescript/package.json index 0fe25df176c..76e527d5f70 100644 --- a/libs/@local/internal-api-client/typescript/package.json +++ b/libs/@local/internal-api-client/typescript/package.json @@ -15,7 +15,6 @@ "axios": "1.7.9" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", "@openapitools/openapi-generator-cli": "2.15.3", "@types/node": "22.10.1", "prettier": "3.4.2", diff --git a/libs/@local/repo-chores/node/.eslintrc.cjs b/libs/@local/repo-chores/node/.eslintrc.cjs deleted file mode 100644 index ae0bc9befab..00000000000 --- a/libs/@local/repo-chores/node/.eslintrc.cjs +++ /dev/null @@ -1,7 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-workspace-config.cjs")(__dirname), - rules: { - "global-require": "off", - }, -}; diff --git a/libs/@local/repo-chores/node/eslint.config.js b/libs/@local/repo-chores/node/eslint.config.js new file mode 100644 index 00000000000..9d16684fdcd --- /dev/null +++ b/libs/@local/repo-chores/node/eslint.config.js @@ -0,0 +1,13 @@ +import { createBase, defineConfig } from "@local/eslint/deprecated"; + +export default [ + ...createBase(import.meta.dirname), + ...defineConfig([ + { + rules: { + "global-require": "off", + }, + }, + { ignores: ["**/scripts/**/.eslintrc.cjs"] }, + ]), +]; diff --git a/libs/@local/repo-chores/node/package.json b/libs/@local/repo-chores/node/package.json index c2e27bdaf9d..584a2ad8b56 100644 --- a/libs/@local/repo-chores/node/package.json +++ b/libs/@local/repo-chores/node/package.json @@ -22,11 +22,11 @@ "typescript": "5.6.3" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/fs-extra": "9.0.13", "@types/prettier": "3.0.0", - "eslint": "8.57.0", + "eslint": "9.16.0", "typescript": "5.6.3" } } diff --git a/libs/@local/repo-chores/node/scripts/create-block.ts b/libs/@local/repo-chores/node/scripts/create-block.ts index 725d57ee5c6..e5077172e8b 100644 --- a/libs/@local/repo-chores/node/scripts/create-block.ts +++ b/libs/@local/repo-chores/node/scripts/create-block.ts @@ -1,4 +1,4 @@ -import path, { dirname } from "node:path"; +import path from "node:path"; import { fileURLToPath } from "node:url"; import type { JsonObject } from "@blockprotocol/core"; @@ -8,7 +8,7 @@ import fs from "fs-extra"; import { monorepoRootDirPath } from "./shared/monorepo"; const __filename = fileURLToPath(import.meta.url); -const __dirname = dirname(__filename); +const __dirname = path.dirname(__filename); const script = async () => { const args = process.argv.slice(2); diff --git a/libs/@local/repo-chores/node/scripts/shared/monorepo.ts b/libs/@local/repo-chores/node/scripts/shared/monorepo.ts index f445e14b18e..e02d6bcf2c2 100644 --- a/libs/@local/repo-chores/node/scripts/shared/monorepo.ts +++ b/libs/@local/repo-chores/node/scripts/shared/monorepo.ts @@ -1,10 +1,10 @@ -import path, { dirname } from "node:path"; +import path from "node:path"; import { fileURLToPath } from "node:url"; import execa from "execa"; const __filename = fileURLToPath(import.meta.url); -const __dirname = dirname(__filename); +const __dirname = path.dirname(__filename); export const monorepoRootDirPath = path.resolve(__dirname, "../../../../../.."); diff --git a/libs/@local/repo-chores/node/tsconfig.json b/libs/@local/repo-chores/node/tsconfig.json index 7d1d7a1d07e..00f9ce6a44c 100644 --- a/libs/@local/repo-chores/node/tsconfig.json +++ b/libs/@local/repo-chores/node/tsconfig.json @@ -1,4 +1,5 @@ { "extends": "@local/tsconfig/legacy-base-tsconfig-to-refactor.json", + "include": ["scripts", "eslint.config.js"], "exclude": ["scripts/create-block/**/*.d.ts"] } diff --git a/libs/@local/status/typescript/.eslintrc.cjs b/libs/@local/status/typescript/.eslintrc.cjs deleted file mode 100644 index fff09db378a..00000000000 --- a/libs/@local/status/typescript/.eslintrc.cjs +++ /dev/null @@ -1,7 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-workspace-config.cjs")(__dirname), - rules: { - "no-console": "off", - }, -}; diff --git a/libs/@local/status/typescript/eslint.config.js b/libs/@local/status/typescript/eslint.config.js new file mode 100644 index 00000000000..a80412afd2e --- /dev/null +++ b/libs/@local/status/typescript/eslint.config.js @@ -0,0 +1,10 @@ +import { createBase } from "@local/eslint/deprecated"; + +export default [ + ...createBase(import.meta.dirname), + { + rules: { + "no-console": "off", + }, + }, +]; diff --git a/libs/@local/status/typescript/package.json b/libs/@local/status/typescript/package.json index b5813fcb2e9..b20264604c9 100644 --- a/libs/@local/status/typescript/package.json +++ b/libs/@local/status/typescript/package.json @@ -22,12 +22,12 @@ "yargs": "17.7.2" }, "devDependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/lodash-es": "4.17.12", "@types/node": "22.10.1", "@types/yargs": "17.0.33", - "eslint": "8.57.0", + "eslint": "9.16.0", "quicktype": "16.0.43", "rimraf": "6.0.1", "typescript": "5.6.3" diff --git a/libs/@local/status/typescript/scripts/codegen.ts b/libs/@local/status/typescript/scripts/codegen.ts index 9412e7868a1..4667d646487 100644 --- a/libs/@local/status/typescript/scripts/codegen.ts +++ b/libs/@local/status/typescript/scripts/codegen.ts @@ -2,7 +2,7 @@ import { existsSync, lstatSync, rmSync } from "node:fs"; import { mkdir, readdir, writeFile } from "node:fs/promises"; -import * as path from "node:path"; +import path from "node:path"; import { argv } from "node:process"; import execa from "execa"; diff --git a/libs/@local/status/typescript/tsconfig.json b/libs/@local/status/typescript/tsconfig.json index 57af11e8ed8..ab95f2df657 100644 --- a/libs/@local/status/typescript/tsconfig.json +++ b/libs/@local/status/typescript/tsconfig.json @@ -1,6 +1,6 @@ { "extends": "@local/tsconfig/legacy-base-tsconfig-to-refactor.json", - "include": ["./pkg/src/", "./scripts", "./type-defs"], + "include": ["./pkg/src/", "./scripts", "./type-defs", "eslint.config.js"], "compilerOptions": { "module": "NodeNext", "moduleResolution": "NodeNext" diff --git a/tests/hash-backend-integration/.eslintrc.cjs b/tests/hash-backend-integration/.eslintrc.cjs deleted file mode 100644 index 04db4b6f9a6..00000000000 --- a/tests/hash-backend-integration/.eslintrc.cjs +++ /dev/null @@ -1,14 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-workspace-config.cjs")(__dirname), - rules: { - ...require("@local/eslint-config/temporarily-disable-rules.cjs")([ - /* 2022-11-29: 82 */ "@typescript-eslint/no-unsafe-assignment", - /* 2022-11-29: 28 */ "@typescript-eslint/no-unsafe-call", - /* 2022-11-29: 81 */ "@typescript-eslint/no-unsafe-member-access", - ]), - }, - env: { - node: true, - }, -}; diff --git a/tests/hash-backend-integration/eslint.config.js b/tests/hash-backend-integration/eslint.config.js new file mode 100644 index 00000000000..53e3d898462 --- /dev/null +++ b/tests/hash-backend-integration/eslint.config.js @@ -0,0 +1,10 @@ +import { createBase, disableRules } from "@local/eslint/deprecated"; + +export default [ + ...createBase(import.meta.dirname), + ...disableRules([ + /* 2022-11-29: 82 */ "@typescript-eslint/no-unsafe-assignment", + /* 2022-11-29: 28 */ "@typescript-eslint/no-unsafe-call", + /* 2022-11-29: 81 */ "@typescript-eslint/no-unsafe-member-access", + ]), +]; diff --git a/tests/hash-backend-integration/package.json b/tests/hash-backend-integration/package.json index e8c15471c5b..054b0a8d010 100644 --- a/tests/hash-backend-integration/package.json +++ b/tests/hash-backend-integration/package.json @@ -37,11 +37,11 @@ "@graphql-codegen/typescript": "2.8.8", "@graphql-codegen/typescript-graphql-request": "4.5.9", "@graphql-codegen/typescript-resolvers": "2.7.13", - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/node-fetch": "2.6.12", "@vitest/coverage-istanbul": "2.1.8", - "eslint": "8.57.0", + "eslint": "9.16.0", "rimraf": "6.0.1", "typescript": "5.6.3", "vitest": "2.1.8" diff --git a/tests/hash-backend-integration/src/tests/graph/knowledge/primitive/entity.test.ts b/tests/hash-backend-integration/src/tests/graph/knowledge/primitive/entity.test.ts index 992571ed64e..87ef891424f 100644 --- a/tests/hash-backend-integration/src/tests/graph/knowledge/primitive/entity.test.ts +++ b/tests/hash-backend-integration/src/tests/graph/knowledge/primitive/entity.test.ts @@ -395,6 +395,7 @@ describe("Entity CRU", () => { }, ], }, + // eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors ).catch((err) => Promise.reject(err)); expect(updatedEntity.metadata.provenance.edition.createdById).toBe( diff --git a/tests/hash-backend-integration/src/tests/graph/ontology/primitive/data-type.test.ts b/tests/hash-backend-integration/src/tests/graph/ontology/primitive/data-type.test.ts index 8f9749a7ed2..162170ccec9 100644 --- a/tests/hash-backend-integration/src/tests/graph/ontology/primitive/data-type.test.ts +++ b/tests/hash-backend-integration/src/tests/graph/ontology/primitive/data-type.test.ts @@ -138,6 +138,7 @@ describe("Data type CRU", () => { schema: { ...dataTypeSchema, title: updatedTitle }, relationships: [{ relation: "viewer", subject: { kind: "public" } }], conversions: {}, + // eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors }).catch((err) => Promise.reject(err.data)); expect( diff --git a/tests/hash-backend-integration/src/tests/graph/ontology/primitive/entity-type.test.ts b/tests/hash-backend-integration/src/tests/graph/ontology/primitive/entity-type.test.ts index a5c53397ecb..dff7ab2a72b 100644 --- a/tests/hash-backend-integration/src/tests/graph/ontology/primitive/entity-type.test.ts +++ b/tests/hash-backend-integration/src/tests/graph/ontology/primitive/entity-type.test.ts @@ -497,6 +497,7 @@ describe("Entity type CRU", () => { { relation: "instantiator", subject: { kind: "public" } }, ], }, + // eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors ).catch((err) => Promise.reject(err.data)); expect( diff --git a/tests/hash-backend-integration/src/tests/graph/ontology/primitive/property-type.test.ts b/tests/hash-backend-integration/src/tests/graph/ontology/primitive/property-type.test.ts index 17be1ff7dda..46b40ee8ff8 100644 --- a/tests/hash-backend-integration/src/tests/graph/ontology/primitive/property-type.test.ts +++ b/tests/hash-backend-integration/src/tests/graph/ontology/primitive/property-type.test.ts @@ -156,6 +156,7 @@ describe("Property type CRU", () => { }, ], }, + // eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors ).catch((err) => Promise.reject(err.data)); expect( diff --git a/tests/hash-backend-integration/tsconfig.json b/tests/hash-backend-integration/tsconfig.json index 2f82e7ab2e5..78d4da6a6cb 100644 --- a/tests/hash-backend-integration/tsconfig.json +++ b/tests/hash-backend-integration/tsconfig.json @@ -1,4 +1,9 @@ { "extends": "@local/tsconfig/legacy-base-tsconfig-to-refactor.json", - "include": ["./src/", "codegen.config.ts"] + "include": [ + "./src/", + "codegen.config.ts", + "vitest.config.ts", + "eslint.config.js" + ] } diff --git a/tests/hash-backend-integration/vitest.config.js b/tests/hash-backend-integration/vitest.config.ts similarity index 100% rename from tests/hash-backend-integration/vitest.config.js rename to tests/hash-backend-integration/vitest.config.ts diff --git a/tests/hash-backend-load/.eslintrc.cjs b/tests/hash-backend-load/.eslintrc.cjs deleted file mode 100644 index ae0bc9befab..00000000000 --- a/tests/hash-backend-load/.eslintrc.cjs +++ /dev/null @@ -1,7 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-workspace-config.cjs")(__dirname), - rules: { - "global-require": "off", - }, -}; diff --git a/tests/hash-backend-load/eslint.config.js b/tests/hash-backend-load/eslint.config.js new file mode 100644 index 00000000000..2a4de1a5fc4 --- /dev/null +++ b/tests/hash-backend-load/eslint.config.js @@ -0,0 +1,10 @@ +import { createBase } from "@local/eslint/deprecated"; + +export default [ + ...createBase(import.meta.dirname), + { + rules: { + "global-require": "off", + }, + }, +]; diff --git a/tests/hash-backend-load/package.json b/tests/hash-backend-load/package.json index 5c8620e4db5..031bfd38414 100644 --- a/tests/hash-backend-load/package.json +++ b/tests/hash-backend-load/package.json @@ -49,14 +49,14 @@ }, "devDependencies": { "@apps/hash-api": "0.0.0-private", - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@rollup/plugin-commonjs": "28.0.1", "@rollup/plugin-node-resolve": "15.3.0", "@rollup/plugin-typescript": "12.1.1", "@types/dotenv-flow": "3.3.3", "@types/uuid": "10.0.0", - "eslint": "8.57.0", + "eslint": "9.16.0", "rimraf": "6.0.1", "rollup": "4.28.1", "typescript": "5.6.3" diff --git a/tests/hash-backend-load/tsconfig.json b/tests/hash-backend-load/tsconfig.json index cffe9b89ecc..f4bbd92ff8d 100644 --- a/tests/hash-backend-load/tsconfig.json +++ b/tests/hash-backend-load/tsconfig.json @@ -1,6 +1,6 @@ { "extends": "@local/tsconfig/legacy-base-tsconfig-to-refactor.json", - "include": ["src", "rollup.config.ts"], + "include": ["src", "rollup.config.ts", "eslint.config.js"], "compilerOptions": { "outDir": "dist", "sourceMap": true, diff --git a/tests/hash-playwright/.eslintrc.cjs b/tests/hash-playwright/.eslintrc.cjs deleted file mode 100644 index 1e6d27b0164..00000000000 --- a/tests/hash-playwright/.eslintrc.cjs +++ /dev/null @@ -1,22 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - ...require("@local/eslint-config/generate-workspace-config.cjs")(__dirname), - overrides: [ - { - files: ["**/*.{spec,test}.ts"], - rules: { - "no-restricted-imports": [ - "error", - { - paths: [ - { - name: "@playwright/test", - message: "Please import from ./shared/runtime instead", - }, - ], - }, - ], - }, - }, - ], -}; diff --git a/tests/hash-playwright/eslint.config.js b/tests/hash-playwright/eslint.config.js new file mode 100644 index 00000000000..0143e95540b --- /dev/null +++ b/tests/hash-playwright/eslint.config.js @@ -0,0 +1,21 @@ +import { createBase } from "@local/eslint/deprecated"; + +export default [ + ...createBase(import.meta.dirname), + { + files: ["**/*.{spec,test}.ts"], + rules: { + "no-restricted-imports": [ + "error", + { + paths: [ + { + name: "@playwright/test", + message: "Please import from ./shared/runtime instead", + }, + ], + }, + ], + }, + }, +]; diff --git a/tests/hash-playwright/package.json b/tests/hash-playwright/package.json index ae2212a195d..d29457fd0da 100644 --- a/tests/hash-playwright/package.json +++ b/tests/hash-playwright/package.json @@ -11,14 +11,14 @@ "test:integration": "PW_EXPERIMENTAL_SERVICE_WORKER_NETWORK_EVENTS=1 PW_EXPERIMENTAL_TS_ESM=1 npx playwright test --project chromium" }, "dependencies": { - "@local/eslint-config": "0.0.0-private", + "@local/eslint": "0.0.0-private", "@local/hash-backend-utils": "0.0.0-private", "@local/hash-graph-sdk": "0.0.0-private", "@local/hash-isomorphic-utils": "0.0.0-private", "@local/hash-subgraph": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@playwright/test": "1.49.0", - "eslint": "8.57.0", + "eslint": "9.16.0", "execa": "5.1.1", "graphql": "16.9.0", "js-yaml": "4.1.0", @@ -31,7 +31,6 @@ "@apps/plugin-browser": "0.0.8", "@blockprotocol/graph": "0.4.0-canary.0", "@graphql-codegen/cli": "^5.0.3", - "eslint": "8.57.0", "rimraf": "6.0.1", "typescript": "5.6.3" } diff --git a/tests/hash-playwright/tests/browser-plugin/fixtures.ts b/tests/hash-playwright/tests/browser-plugin/fixtures.ts index 60a40a60fa6..e6a3d72cb8c 100644 --- a/tests/hash-playwright/tests/browser-plugin/fixtures.ts +++ b/tests/hash-playwright/tests/browser-plugin/fixtures.ts @@ -1,10 +1,10 @@ -import path, { dirname } from "node:path"; +import path from "node:path"; import { fileURLToPath } from "node:url"; import { type BrowserContext, chromium, test as base } from "@playwright/test"; const __filename = fileURLToPath(import.meta.url); -const __dirname = dirname(__filename); +const __dirname = path.dirname(__filename); const monorepoRootDir = path.resolve(__dirname, "../../../../"); @@ -27,6 +27,7 @@ export const test = base.extend<{ ], serviceWorkers: "allow", }); + // eslint-disable-next-line react-hooks/rules-of-hooks await use(context); await context.close(); }, @@ -40,6 +41,7 @@ export const test = base.extend<{ if (!extensionId) { throw new Error("Could not find extension ID"); } + // eslint-disable-next-line react-hooks/rules-of-hooks await use(extensionId); }, }); diff --git a/tests/hash-playwright/tests/shared/runtime.ts b/tests/hash-playwright/tests/shared/runtime.ts index d7c43cd53cb..883523fb405 100644 --- a/tests/hash-playwright/tests/shared/runtime.ts +++ b/tests/hash-playwright/tests/shared/runtime.ts @@ -21,13 +21,23 @@ export * from "@playwright/test"; export const test = base.extend({ page: async ({ page }, use) => { const messages: string[] = []; + // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors + // eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access page.on("console", (msg) => { + // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors + // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access const text = msg.text(); + // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors + // eslint-disable-next-line @typescript-eslint/no-unsafe-argument if (tolerableConsoleMessageMatches.some((match) => match.test(text))) { return; } + // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors + // eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access messages.push(`[${msg.type()}] ${msg.text()}`); }); + // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors + // eslint-disable-next-line react-hooks/rules-of-hooks, @typescript-eslint/no-unsafe-call await use(page); expect( messages, diff --git a/tests/hash-playwright/tsconfig.json b/tests/hash-playwright/tsconfig.json index d9ae39e4854..c71f8d5ab9e 100644 --- a/tests/hash-playwright/tsconfig.json +++ b/tests/hash-playwright/tsconfig.json @@ -1,5 +1,11 @@ { "extends": "@local/tsconfig/legacy-base-tsconfig-to-refactor.json", + "include": [ + "tests", + "eslint.config.js", + "codegen.config.ts", + "playwright.config.ts" + ], "compilerOptions": { "lib": ["dom", "dom.iterable", "ESNext"] } diff --git a/yarn.lock b/yarn.lock index 8532ac99e63..d73ac28269f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2627,7 +2627,7 @@ __metadata: languageName: node linkType: hard -"@babel/helper-validator-identifier@npm:^7.22.20, @babel/helper-validator-identifier@npm:^7.24.5, @babel/helper-validator-identifier@npm:^7.25.9": +"@babel/helper-validator-identifier@npm:^7.24.5, @babel/helper-validator-identifier@npm:^7.25.9": version: 7.25.9 resolution: "@babel/helper-validator-identifier@npm:7.25.9" checksum: 10c0/4fc6f830177b7b7e887ad3277ddb3b91d81e6c4a24151540d9d1023e8dc6b1c0505f0f0628ae653601eb4388a8db45c1c14b2c07a9173837aef7e4116456259d @@ -3927,7 +3927,7 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.15.4, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.17.9, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.20.1, @babel/runtime@npm:^7.20.13, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.21.0, @babel/runtime@npm:^7.23.2, @babel/runtime@npm:^7.23.8, @babel/runtime@npm:^7.23.9, @babel/runtime@npm:^7.24.5, @babel/runtime@npm:^7.3.1, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7, @babel/runtime@npm:^7.9.2": +"@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.15.4, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.17.9, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.20.1, @babel/runtime@npm:^7.20.13, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.21.0, @babel/runtime@npm:^7.23.8, @babel/runtime@npm:^7.23.9, @babel/runtime@npm:^7.24.5, @babel/runtime@npm:^7.3.1, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7, @babel/runtime@npm:^7.9.2": version: 7.26.0 resolution: "@babel/runtime@npm:7.26.0" dependencies: @@ -6148,7 +6148,7 @@ __metadata: languageName: node linkType: hard -"@eslint-community/regexpp@npm:^4.10.0, @eslint-community/regexpp@npm:^4.11.0, @eslint-community/regexpp@npm:^4.12.1, @eslint-community/regexpp@npm:^4.5.1, @eslint-community/regexpp@npm:^4.6.1, @eslint-community/regexpp@npm:^4.8.0": +"@eslint-community/regexpp@npm:^4.10.0, @eslint-community/regexpp@npm:^4.11.0, @eslint-community/regexpp@npm:^4.12.1, @eslint-community/regexpp@npm:^4.8.0": version: 4.12.1 resolution: "@eslint-community/regexpp@npm:4.12.1" checksum: 10c0/a03d98c246bcb9109aec2c08e4d10c8d010256538dcb3f56610191607214523d4fb1b00aa81df830b6dffb74c5fa0be03642513a289c567949d3e550ca11cdf6 @@ -6343,30 +6343,6 @@ __metadata: languageName: node linkType: hard -"@eslint/eslintrc@npm:^2.1.4": - version: 2.1.4 - resolution: "@eslint/eslintrc@npm:2.1.4" - dependencies: - ajv: "npm:^6.12.4" - debug: "npm:^4.3.2" - espree: "npm:^9.6.0" - globals: "npm:^13.19.0" - ignore: "npm:^5.2.0" - import-fresh: "npm:^3.2.1" - js-yaml: "npm:^4.1.0" - minimatch: "npm:^3.1.2" - strip-json-comments: "npm:^3.1.1" - checksum: 10c0/32f67052b81768ae876c84569ffd562491ec5a5091b0c1e1ca1e0f3c24fb42f804952fdd0a137873bc64303ba368a71ba079a6f691cee25beee9722d94cc8573 - languageName: node - linkType: hard - -"@eslint/js@npm:8.57.0": - version: 8.57.0 - resolution: "@eslint/js@npm:8.57.0" - checksum: 10c0/9a518bb8625ba3350613903a6d8c622352ab0c6557a59fe6ff6178bf882bf57123f9d92aa826ee8ac3ee74b9c6203fe630e9ee00efb03d753962dcf65ee4bd94 - languageName: node - linkType: hard - "@eslint/js@npm:9.16.0, @eslint/js@npm:^9.14.0": version: 9.16.0 resolution: "@eslint/js@npm:9.16.0" @@ -7652,17 +7628,6 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/config-array@npm:^0.11.14": - version: 0.11.14 - resolution: "@humanwhocodes/config-array@npm:0.11.14" - dependencies: - "@humanwhocodes/object-schema": "npm:^2.0.2" - debug: "npm:^4.3.1" - minimatch: "npm:^3.0.5" - checksum: 10c0/66f725b4ee5fdd8322c737cb5013e19fac72d4d69c8bf4b7feb192fcb83442b035b92186f8e9497c220e58b2d51a080f28a73f7899bc1ab288c3be172c467541 - languageName: node - linkType: hard - "@humanwhocodes/module-importer@npm:^1.0.1": version: 1.0.1 resolution: "@humanwhocodes/module-importer@npm:1.0.1" @@ -7670,13 +7635,6 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/object-schema@npm:^2.0.2": - version: 2.0.3 - resolution: "@humanwhocodes/object-schema@npm:2.0.3" - checksum: 10c0/80520eabbfc2d32fe195a93557cef50dfe8c8905de447f022675aaf66abc33ae54098f5ea78548d925aa671cd4ab7c7daa5ad704fe42358c9b5e7db60f80696c - languageName: node - linkType: hard - "@humanwhocodes/retry@npm:^0.3.0": version: 0.3.1 resolution: "@humanwhocodes/retry@npm:0.3.1" @@ -8728,33 +8686,6 @@ __metadata: languageName: unknown linkType: soft -"@local/eslint-config@npm:0.0.0-private, @local/eslint-config@workspace:libs/@local/eslint-config": - version: 0.0.0-use.local - resolution: "@local/eslint-config@workspace:libs/@local/eslint-config" - dependencies: - "@babel/core": "npm:7.26.0" - "@babel/eslint-parser": "npm:7.25.9" - "@babel/preset-react": "npm:7.26.3" - "@local/tsconfig": "npm:0.0.0-private" - "@types/eslint": "npm:8.56.12" - "@types/node": "npm:22.10.1" - "@typescript-eslint/eslint-plugin": "npm:7.2.0" - "@typescript-eslint/parser": "npm:7.2.0" - eslint: "npm:8.57.0" - eslint-config-airbnb: "npm:19.0.4" - eslint-config-prettier: "npm:9.1.0" - eslint-plugin-canonical: "npm:5.0.0" - eslint-plugin-import: "npm:2.29.1" - eslint-plugin-jsx-a11y: "npm:6.8.0" - eslint-plugin-react: "npm:7.34.1" - eslint-plugin-react-hooks: "npm:4.6.0" - eslint-plugin-simple-import-sort: "npm:12.0.0" - eslint-plugin-typescript-sort-keys: "npm:3.2.0" - eslint-plugin-unicorn: "npm:51.0.1" - typescript: "npm:5.6.3" - languageName: unknown - linkType: soft - "@local/eslint@npm:0.0.0-private, @local/eslint@workspace:libs/@local/eslint": version: 0.0.0-use.local resolution: "@local/eslint@workspace:libs/@local/eslint" @@ -8977,13 +8908,13 @@ __metadata: "@blockprotocol/graph": "npm:0.4.0-canary.0" "@blockprotocol/type-system": "npm:0.1.2-canary.0" "@local/advanced-types": "npm:0.0.0-private" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/hash-graph-client": "npm:0.0.0-private" "@local/hash-graph-sdk": "npm:0.0.0-private" "@local/hash-graph-types": "npm:0.0.0-private" "@types/uuid": "npm:10.0.0" "@vitest/coverage-istanbul": "npm:2.1.8" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" rimraf: "npm:6.0.1" typescript: "npm:5.6.3" uuid: "npm:9.0.1" @@ -8995,7 +8926,6 @@ __metadata: version: 0.0.0-use.local resolution: "@local/internal-api-client@workspace:libs/@local/internal-api-client/typescript" dependencies: - "@local/eslint-config": "npm:0.0.0-private" "@openapitools/openapi-generator-cli": "npm:2.15.3" "@types/node": "npm:22.10.1" axios: "npm:1.7.9" @@ -9010,13 +8940,13 @@ __metadata: resolution: "@local/repo-chores@workspace:libs/@local/repo-chores/node" dependencies: "@blockprotocol/core": "npm:0.1.3" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@types/fs-extra": "npm:9.0.13" "@types/prettier": "npm:2.7.3" chalk: "npm:4.1.2" envalid: "npm:7.3.1" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" execa: "npm:5.1.1" fs-extra: "npm:11.1.0" globby: "npm:11.1.0" @@ -9031,12 +8961,12 @@ __metadata: version: 0.0.0-use.local resolution: "@local/status@workspace:libs/@local/status/typescript" dependencies: - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@types/lodash-es": "npm:4.17.12" "@types/node": "npm:22.10.1" "@types/yargs": "npm:17.0.33" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" execa: "npm:5.1.1" lodash-es: "npm:4.17.21" quicktype: "npm:16.0.43" @@ -9999,7 +9929,7 @@ __metadata: languageName: node linkType: hard -"@nodelib/fs.walk@npm:^1.2.3, @nodelib/fs.walk@npm:^1.2.8": +"@nodelib/fs.walk@npm:^1.2.3": version: 1.2.8 resolution: "@nodelib/fs.walk@npm:1.2.8" dependencies: @@ -16492,7 +16422,7 @@ __metadata: "@graphql-codegen/typescript": "npm:2.8.8" "@graphql-codegen/typescript-graphql-request": "npm:4.5.9" "@graphql-codegen/typescript-resolvers": "npm:2.7.13" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/hash-backend-utils": "npm:0.0.0-private" "@local/hash-graph-client": "npm:0.0.0-private" "@local/hash-graph-sdk": "npm:0.0.0-private" @@ -16504,7 +16434,7 @@ __metadata: "@rust/hash-graph-type-defs": "npm:0.0.0-private" "@types/node-fetch": "npm:2.6.12" "@vitest/coverage-istanbul": "npm:2.1.8" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" execa: "npm:5.1.1" fractional-indexing: "npm:2.1.0" graphql: "npm:16.9.0" @@ -16521,7 +16451,7 @@ __metadata: resolution: "@tests/hash-backend-load@workspace:tests/hash-backend-load" dependencies: "@apps/hash-api": "npm:0.0.0-private" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/hash-backend-utils": "npm:0.0.0-private" "@local/hash-graph-client": "npm:0.0.0-private" "@local/hash-graph-sdk": "npm:0.0.0-private" @@ -16543,7 +16473,7 @@ __metadata: "@types/uuid": "npm:10.0.0" artillery: "npm:2.0.20" dotenv-flow: "npm:3.3.0" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" rimraf: "npm:6.0.1" rollup: "npm:4.28.1" typescript: "npm:5.6.3" @@ -16561,14 +16491,14 @@ __metadata: "@apps/plugin-browser": "npm:0.0.8" "@blockprotocol/graph": "npm:0.4.0-canary.0" "@graphql-codegen/cli": "npm:^5.0.3" - "@local/eslint-config": "npm:0.0.0-private" + "@local/eslint": "npm:0.0.0-private" "@local/hash-backend-utils": "npm:0.0.0-private" "@local/hash-graph-sdk": "npm:0.0.0-private" "@local/hash-isomorphic-utils": "npm:0.0.0-private" "@local/hash-subgraph": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@playwright/test": "npm:1.49.0" - eslint: "npm:8.57.0" + eslint: "npm:9.16.0" execa: "npm:5.1.1" graphql: "npm:16.9.0" js-yaml: "npm:4.1.0" @@ -17438,16 +17368,6 @@ __metadata: languageName: node linkType: hard -"@types/eslint@npm:8.56.12": - version: 8.56.12 - resolution: "@types/eslint@npm:8.56.12" - dependencies: - "@types/estree": "npm:*" - "@types/json-schema": "npm:*" - checksum: 10c0/e4ca426abe9d55f82b69a3250bec78b6d340ad1e567f91c97ecc59d3b2d6a1d8494955ac62ad0ea14b97519db580611c02be8277cbea370bdfb0f96aa2910504 - languageName: node - linkType: hard - "@types/eslint__eslintrc@npm:2.1.2": version: 2.1.2 resolution: "@types/eslint__eslintrc@npm:2.1.2" @@ -18318,7 +18238,7 @@ __metadata: languageName: node linkType: hard -"@types/semver@npm:^7.3.12, @types/semver@npm:^7.3.4, @types/semver@npm:^7.5.0": +"@types/semver@npm:^7.3.4, @types/semver@npm:^7.5.0": version: 7.5.8 resolution: "@types/semver@npm:7.5.8" checksum: 10c0/8663ff927234d1c5fcc04b33062cb2b9fcfbe0f5f351ed26c4d1e1581657deebd506b41ff7fdf89e787e3d33ce05854bc01686379b89e9c49b564c4cfa988efa @@ -18546,31 +18466,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:7.2.0": - version: 7.2.0 - resolution: "@typescript-eslint/eslint-plugin@npm:7.2.0" - dependencies: - "@eslint-community/regexpp": "npm:^4.5.1" - "@typescript-eslint/scope-manager": "npm:7.2.0" - "@typescript-eslint/type-utils": "npm:7.2.0" - "@typescript-eslint/utils": "npm:7.2.0" - "@typescript-eslint/visitor-keys": "npm:7.2.0" - debug: "npm:^4.3.4" - graphemer: "npm:^1.4.0" - ignore: "npm:^5.2.4" - natural-compare: "npm:^1.4.0" - semver: "npm:^7.5.4" - ts-api-utils: "npm:^1.0.1" - peerDependencies: - "@typescript-eslint/parser": ^7.0.0 - eslint: ^8.56.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/8725c2193a16cc103a697d6e408c515a7618df3902dc504cf69999f60634dac79ce14a5bd942f0388ba7547caba44ac40e01097cda1106aa3912e2303dada8ab - languageName: node - linkType: hard - "@typescript-eslint/eslint-plugin@npm:8.16.0": version: 8.16.0 resolution: "@typescript-eslint/eslint-plugin@npm:8.16.0" @@ -18594,35 +18489,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/experimental-utils@npm:^5.0.0": - version: 5.62.0 - resolution: "@typescript-eslint/experimental-utils@npm:5.62.0" - dependencies: - "@typescript-eslint/utils": "npm:5.62.0" - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - checksum: 10c0/f7037977e00849cd8c03677a88b0659a4f0e0b1e0151aebb47c49c92b8e57408578142df598eac08b364623d926343c724f42494f87662e437b1c89f0b2e815b - languageName: node - linkType: hard - -"@typescript-eslint/parser@npm:7.2.0": - version: 7.2.0 - resolution: "@typescript-eslint/parser@npm:7.2.0" - dependencies: - "@typescript-eslint/scope-manager": "npm:7.2.0" - "@typescript-eslint/types": "npm:7.2.0" - "@typescript-eslint/typescript-estree": "npm:7.2.0" - "@typescript-eslint/visitor-keys": "npm:7.2.0" - debug: "npm:^4.3.4" - peerDependencies: - eslint: ^8.56.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/11ce36c68212fdbf98fc6fd32ba0977d46b645fd669a3f4fdb8be2036225f86ad005b31a66f97097e90517c44c92cf9cc5fb1d6e9647ee2fa125c4af21cdb477 - languageName: node - linkType: hard - "@typescript-eslint/parser@npm:8.16.0": version: 8.16.0 resolution: "@typescript-eslint/parser@npm:8.16.0" @@ -18659,16 +18525,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:5.62.0": - version: 5.62.0 - resolution: "@typescript-eslint/scope-manager@npm:5.62.0" - dependencies: - "@typescript-eslint/types": "npm:5.62.0" - "@typescript-eslint/visitor-keys": "npm:5.62.0" - checksum: 10c0/861253235576c1c5c1772d23cdce1418c2da2618a479a7de4f6114a12a7ca853011a1e530525d0931c355a8fd237b9cd828fac560f85f9623e24054fd024726f - languageName: node - linkType: hard - "@typescript-eslint/scope-manager@npm:6.21.0": version: 6.21.0 resolution: "@typescript-eslint/scope-manager@npm:6.21.0" @@ -18689,16 +18545,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:7.2.0": - version: 7.2.0 - resolution: "@typescript-eslint/scope-manager@npm:7.2.0" - dependencies: - "@typescript-eslint/types": "npm:7.2.0" - "@typescript-eslint/visitor-keys": "npm:7.2.0" - checksum: 10c0/4d088c127e6ba1a7de8567f70684779083be24b48746c3b4a86a0ec7062bca58693ee08482349ad6572a17ada8aa6f26b74d1c7139c8fcf7101fa09a572e0ea6 - languageName: node - linkType: hard - "@typescript-eslint/scope-manager@npm:8.16.0, @typescript-eslint/scope-manager@npm:^7.0.0 || ^8.0.0, @typescript-eslint/scope-manager@npm:^8.16.0": version: 8.16.0 resolution: "@typescript-eslint/scope-manager@npm:8.16.0" @@ -18719,23 +18565,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:7.2.0": - version: 7.2.0 - resolution: "@typescript-eslint/type-utils@npm:7.2.0" - dependencies: - "@typescript-eslint/typescript-estree": "npm:7.2.0" - "@typescript-eslint/utils": "npm:7.2.0" - debug: "npm:^4.3.4" - ts-api-utils: "npm:^1.0.1" - peerDependencies: - eslint: ^8.56.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/069b65ef327e1bfa1e59009504c8307f88f3673ebcc23d17ad370452ece107013c9dc321876092673d2c02ddd35104f67231b31b0e4f7d5ca6fbf95b43f828b2 - languageName: node - linkType: hard - "@typescript-eslint/type-utils@npm:8.16.0, @typescript-eslint/type-utils@npm:^8.0.0, @typescript-eslint/type-utils@npm:^8.16.0": version: 8.16.0 resolution: "@typescript-eslint/type-utils@npm:8.16.0" @@ -18774,13 +18603,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:7.2.0": - version: 7.2.0 - resolution: "@typescript-eslint/types@npm:7.2.0" - checksum: 10c0/135aae061720185855bea61ea6cfd33f4801d2de57f65e50079bbdb505100f844632aa4e4bdeec9e9e79d29aaddad949178d0e918e41867da6ab4b1390820e33 - languageName: node - linkType: hard - "@typescript-eslint/types@npm:8.16.0, @typescript-eslint/types@npm:^7.0.0 || ^8.0.0, @typescript-eslint/types@npm:^7.7.1 || ^8, @typescript-eslint/types@npm:^8.16.0": version: 8.16.0 resolution: "@typescript-eslint/types@npm:8.16.0" @@ -18795,24 +18617,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:5.62.0, @typescript-eslint/typescript-estree@npm:^5.62.0": - version: 5.62.0 - resolution: "@typescript-eslint/typescript-estree@npm:5.62.0" - dependencies: - "@typescript-eslint/types": "npm:5.62.0" - "@typescript-eslint/visitor-keys": "npm:5.62.0" - debug: "npm:^4.3.4" - globby: "npm:^11.1.0" - is-glob: "npm:^4.0.3" - semver: "npm:^7.3.7" - tsutils: "npm:^3.21.0" - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/d7984a3e9d56897b2481940ec803cb8e7ead03df8d9cfd9797350be82ff765dfcf3cfec04e7355e1779e948da8f02bc5e11719d07a596eb1cb995c48a95e38cf - languageName: node - linkType: hard - "@typescript-eslint/typescript-estree@npm:6.21.0": version: 6.21.0 resolution: "@typescript-eslint/typescript-estree@npm:6.21.0" @@ -18851,25 +18655,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:7.2.0": - version: 7.2.0 - resolution: "@typescript-eslint/typescript-estree@npm:7.2.0" - dependencies: - "@typescript-eslint/types": "npm:7.2.0" - "@typescript-eslint/visitor-keys": "npm:7.2.0" - debug: "npm:^4.3.4" - globby: "npm:^11.1.0" - is-glob: "npm:^4.0.3" - minimatch: "npm:9.0.3" - semver: "npm:^7.5.4" - ts-api-utils: "npm:^1.0.1" - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/2730bb17730e6f3ca4061f00688a70386a808f5d174fdeb757c3cfa92c455373f69080df33237c1a8970e818af0cea0ae5a083970ed8ba493f3b04458c6f9271 - languageName: node - linkType: hard - "@typescript-eslint/typescript-estree@npm:8.16.0, @typescript-eslint/typescript-estree@npm:^7.0.0 || ^8.0.0, @typescript-eslint/typescript-estree@npm:^8.16.0": version: 8.16.0 resolution: "@typescript-eslint/typescript-estree@npm:8.16.0" @@ -18908,38 +18693,21 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:5.62.0": +"@typescript-eslint/typescript-estree@npm:^5.62.0": version: 5.62.0 - resolution: "@typescript-eslint/utils@npm:5.62.0" + resolution: "@typescript-eslint/typescript-estree@npm:5.62.0" dependencies: - "@eslint-community/eslint-utils": "npm:^4.2.0" - "@types/json-schema": "npm:^7.0.9" - "@types/semver": "npm:^7.3.12" - "@typescript-eslint/scope-manager": "npm:5.62.0" "@typescript-eslint/types": "npm:5.62.0" - "@typescript-eslint/typescript-estree": "npm:5.62.0" - eslint-scope: "npm:^5.1.1" + "@typescript-eslint/visitor-keys": "npm:5.62.0" + debug: "npm:^4.3.4" + globby: "npm:^11.1.0" + is-glob: "npm:^4.0.3" semver: "npm:^7.3.7" - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - checksum: 10c0/f09b7d9952e4a205eb1ced31d7684dd55cee40bf8c2d78e923aa8a255318d97279825733902742c09d8690f37a50243f4c4d383ab16bd7aefaf9c4b438f785e1 - languageName: node - linkType: hard - -"@typescript-eslint/utils@npm:7.2.0": - version: 7.2.0 - resolution: "@typescript-eslint/utils@npm:7.2.0" - dependencies: - "@eslint-community/eslint-utils": "npm:^4.4.0" - "@types/json-schema": "npm:^7.0.12" - "@types/semver": "npm:^7.5.0" - "@typescript-eslint/scope-manager": "npm:7.2.0" - "@typescript-eslint/types": "npm:7.2.0" - "@typescript-eslint/typescript-estree": "npm:7.2.0" - semver: "npm:^7.5.4" - peerDependencies: - eslint: ^8.56.0 - checksum: 10c0/37944e1a4038820da82b51ac4756e09cff31851d9d957d3fd67a3b6fd2cf6c0e87767161eaeb8b6e63de418e513bb2570a6ee3fa986ba77f6d451d66a538f753 + tsutils: "npm:^3.21.0" + peerDependenciesMeta: + typescript: + optional: true + checksum: 10c0/d7984a3e9d56897b2481940ec803cb8e7ead03df8d9cfd9797350be82ff765dfcf3cfec04e7355e1779e948da8f02bc5e11719d07a596eb1cb995c48a95e38cf languageName: node linkType: hard @@ -19038,16 +18806,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:7.2.0": - version: 7.2.0 - resolution: "@typescript-eslint/visitor-keys@npm:7.2.0" - dependencies: - "@typescript-eslint/types": "npm:7.2.0" - eslint-visitor-keys: "npm:^3.4.1" - checksum: 10c0/2d7467495b2b76f3edb1b3047e97076c2242e7eca6d50bbbdd88219f9ff754dbcb9334a0568fe0ceb4c562823980938bd278aa2ba53da6343e7d99a167924f24 - languageName: node - linkType: hard - "@typescript-eslint/visitor-keys@npm:8.16.0": version: 8.16.0 resolution: "@typescript-eslint/visitor-keys@npm:8.16.0" @@ -19068,7 +18826,7 @@ __metadata: languageName: node linkType: hard -"@ungap/structured-clone@npm:^1.0.0, @ungap/structured-clone@npm:^1.2.0": +"@ungap/structured-clone@npm:^1.0.0": version: 1.2.0 resolution: "@ungap/structured-clone@npm:1.2.0" checksum: 10c0/8209c937cb39119f44eb63cf90c0b73e7c754209a6411c707be08e50e29ee81356dca1a848a405c8bdeebfe2f5e4f831ad310ae1689eeef65e7445c090c6657d @@ -20374,7 +20132,7 @@ __metadata: languageName: node linkType: hard -"aria-query@npm:^5.3.0, aria-query@npm:^5.3.2": +"aria-query@npm:^5.3.2": version: 5.3.2 resolution: "aria-query@npm:5.3.2" checksum: 10c0/003c7e3e2cff5540bf7a7893775fc614de82b0c5dde8ae823d47b7a28a9d4da1f7ed85f340bdb93d5649caa927755f0e31ecc7ab63edfdfc00c8ef07e505e03e @@ -20423,7 +20181,7 @@ __metadata: languageName: node linkType: hard -"array-includes@npm:^3.1.6, array-includes@npm:^3.1.7, array-includes@npm:^3.1.8": +"array-includes@npm:^3.1.6, array-includes@npm:^3.1.8": version: 3.1.8 resolution: "array-includes@npm:3.1.8" dependencies: @@ -20467,7 +20225,7 @@ __metadata: languageName: node linkType: hard -"array.prototype.findlast@npm:^1.2.4, array.prototype.findlast@npm:^1.2.5": +"array.prototype.findlast@npm:^1.2.5": version: 1.2.5 resolution: "array.prototype.findlast@npm:1.2.5" dependencies: @@ -20481,7 +20239,7 @@ __metadata: languageName: node linkType: hard -"array.prototype.findlastindex@npm:^1.2.3, array.prototype.findlastindex@npm:^1.2.5": +"array.prototype.findlastindex@npm:^1.2.5": version: 1.2.5 resolution: "array.prototype.findlastindex@npm:1.2.5" dependencies: @@ -20519,19 +20277,7 @@ __metadata: languageName: node linkType: hard -"array.prototype.toreversed@npm:^1.1.2": - version: 1.1.2 - resolution: "array.prototype.toreversed@npm:1.1.2" - dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - es-shim-unscopables: "npm:^1.0.0" - checksum: 10c0/2b7627ea85eae1e80ecce665a500cc0f3355ac83ee4a1a727562c7c2a1d5f1c0b4dd7b65c468ec6867207e452ba01256910a2c0b41486bfdd11acf875a7a3435 - languageName: node - linkType: hard - -"array.prototype.tosorted@npm:^1.1.3, array.prototype.tosorted@npm:^1.1.4": +"array.prototype.tosorted@npm:^1.1.4": version: 1.1.4 resolution: "array.prototype.tosorted@npm:1.1.4" dependencies: @@ -21008,13 +20754,6 @@ __metadata: languageName: node linkType: hard -"axe-core@npm:=4.7.0": - version: 4.7.0 - resolution: "axe-core@npm:4.7.0" - checksum: 10c0/89ac5712b5932ac7d23398b4cb5ba081c394a086e343acc68ba49c83472706e18e0799804e8388c779dcdacc465377deb29f2714241d3fbb389cf3a6b275c9ba - languageName: node - linkType: hard - "axe-core@npm:^4.10.0": version: 4.10.2 resolution: "axe-core@npm:4.10.2" @@ -21094,13 +20833,6 @@ __metadata: languageName: node linkType: hard -"axobject-query@npm:^3.2.1": - version: 3.2.4 - resolution: "axobject-query@npm:3.2.4" - checksum: 10c0/3848c9119273d4c8d8c8283154ee8de1c7ce85fc07990f98bbb3a188628bf58261ca3aa59ec982485dc975ab66ea0ead317db7b5cceea84c019f0943de78257f - languageName: node - linkType: hard - "axobject-query@npm:^4.1.0": version: 4.1.0 resolution: "axobject-query@npm:4.1.0" @@ -23475,7 +23207,7 @@ __metadata: languageName: node linkType: hard -"core-js-compat@npm:^3.34.0, core-js-compat@npm:^3.37.0, core-js-compat@npm:^3.38.0, core-js-compat@npm:^3.38.1": +"core-js-compat@npm:^3.37.0, core-js-compat@npm:^3.38.0, core-js-compat@npm:^3.38.1": version: 3.39.0 resolution: "core-js-compat@npm:3.39.0" dependencies: @@ -23675,7 +23407,7 @@ __metadata: languageName: node linkType: hard -"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.1, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3, cross-spawn@npm:^7.0.5": +"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.1, cross-spawn@npm:^7.0.3, cross-spawn@npm:^7.0.5": version: 7.0.6 resolution: "cross-spawn@npm:7.0.6" dependencies: @@ -25806,7 +25538,7 @@ __metadata: languageName: node linkType: hard -"es-iterator-helpers@npm:^1.0.15, es-iterator-helpers@npm:^1.0.17, es-iterator-helpers@npm:^1.1.0": +"es-iterator-helpers@npm:^1.1.0": version: 1.2.0 resolution: "es-iterator-helpers@npm:1.2.0" dependencies: @@ -26464,7 +26196,7 @@ __metadata: languageName: node linkType: hard -"eslint-module-utils@npm:^2.12.0, eslint-module-utils@npm:^2.8.0, eslint-module-utils@npm:^2.8.1": +"eslint-module-utils@npm:^2.12.0, eslint-module-utils@npm:^2.8.1": version: 2.12.0 resolution: "eslint-module-utils@npm:2.12.0" dependencies: @@ -26551,33 +26283,6 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-import@npm:2.29.1": - version: 2.29.1 - resolution: "eslint-plugin-import@npm:2.29.1" - dependencies: - array-includes: "npm:^3.1.7" - array.prototype.findlastindex: "npm:^1.2.3" - array.prototype.flat: "npm:^1.3.2" - array.prototype.flatmap: "npm:^1.3.2" - debug: "npm:^3.2.7" - doctrine: "npm:^2.1.0" - eslint-import-resolver-node: "npm:^0.3.9" - eslint-module-utils: "npm:^2.8.0" - hasown: "npm:^2.0.0" - is-core-module: "npm:^2.13.1" - is-glob: "npm:^4.0.3" - minimatch: "npm:^3.1.2" - object.fromentries: "npm:^2.0.7" - object.groupby: "npm:^1.0.1" - object.values: "npm:^1.1.7" - semver: "npm:^6.3.1" - tsconfig-paths: "npm:^3.15.0" - peerDependencies: - eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 - checksum: 10c0/5f35dfbf4e8e67f741f396987de9504ad125c49f4144508a93282b4ea0127e052bde65ab6def1f31b6ace6d5d430be698333f75bdd7dca3bc14226c92a083196 - languageName: node - linkType: hard - "eslint-plugin-import@npm:2.31.0, eslint-plugin-import@npm:^2.31.0": version: 2.31.0 resolution: "eslint-plugin-import@npm:2.31.0" @@ -26646,32 +26351,6 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-jsx-a11y@npm:6.8.0": - version: 6.8.0 - resolution: "eslint-plugin-jsx-a11y@npm:6.8.0" - dependencies: - "@babel/runtime": "npm:^7.23.2" - aria-query: "npm:^5.3.0" - array-includes: "npm:^3.1.7" - array.prototype.flatmap: "npm:^1.3.2" - ast-types-flow: "npm:^0.0.8" - axe-core: "npm:=4.7.0" - axobject-query: "npm:^3.2.1" - damerau-levenshtein: "npm:^1.0.8" - emoji-regex: "npm:^9.2.2" - es-iterator-helpers: "npm:^1.0.15" - hasown: "npm:^2.0.0" - jsx-ast-utils: "npm:^3.3.5" - language-tags: "npm:^1.0.9" - minimatch: "npm:^3.1.2" - object.entries: "npm:^1.1.7" - object.fromentries: "npm:^2.0.7" - peerDependencies: - eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 - checksum: 10c0/199b883e526e6f9d7c54cb3f094abc54f11a1ec816db5fb6cae3b938eb0e503acc10ccba91ca7451633a9d0b9abc0ea03601844a8aba5fe88c5e8897c9ac8f49 - languageName: node - linkType: hard - "eslint-plugin-jsx-a11y@npm:^6.10.0": version: 6.10.2 resolution: "eslint-plugin-jsx-a11y@npm:6.10.2" @@ -26808,15 +26487,6 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-react-hooks@npm:4.6.0": - version: 4.6.0 - resolution: "eslint-plugin-react-hooks@npm:4.6.0" - peerDependencies: - eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 - checksum: 10c0/58c7e10ea5792c33346fcf5cb4024e14837035ce412ff99c2dcb7c4f903dc9b17939078f80bfef826301ce326582c396c00e8e0ac9d10ac2cde2b42d33763c65 - languageName: node - linkType: hard - "eslint-plugin-react-hooks@npm:5.1.0": version: 5.1.0 resolution: "eslint-plugin-react-hooks@npm:5.1.0" @@ -26929,34 +26599,6 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-react@npm:7.34.1": - version: 7.34.1 - resolution: "eslint-plugin-react@npm:7.34.1" - dependencies: - array-includes: "npm:^3.1.7" - array.prototype.findlast: "npm:^1.2.4" - array.prototype.flatmap: "npm:^1.3.2" - array.prototype.toreversed: "npm:^1.1.2" - array.prototype.tosorted: "npm:^1.1.3" - doctrine: "npm:^2.1.0" - es-iterator-helpers: "npm:^1.0.17" - estraverse: "npm:^5.3.0" - jsx-ast-utils: "npm:^2.4.1 || ^3.0.0" - minimatch: "npm:^3.1.2" - object.entries: "npm:^1.1.7" - object.fromentries: "npm:^2.0.7" - object.hasown: "npm:^1.1.3" - object.values: "npm:^1.1.7" - prop-types: "npm:^15.8.1" - resolve: "npm:^2.0.0-next.5" - semver: "npm:^6.3.1" - string.prototype.matchall: "npm:^4.0.10" - peerDependencies: - eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 - checksum: 10c0/7c61b1314d37a4ac2f2474f9571f801f1a1a5d81dcd4abbb5d07145406518722fb792367267757ee116bde254be9753242d6b93c9619110398b3fe1746e4848c - languageName: node - linkType: hard - "eslint-plugin-react@npm:^7.36.1": version: 7.37.2 resolution: "eslint-plugin-react@npm:7.37.2" @@ -27013,15 +26655,6 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-simple-import-sort@npm:12.0.0": - version: 12.0.0 - resolution: "eslint-plugin-simple-import-sort@npm:12.0.0" - peerDependencies: - eslint: ">=5.0.0" - checksum: 10c0/5405f01e4ca5b3c9a2a1b019e39fa858bb081872eb9602fb85d2e4913356fec0a9b3f997e957b1df0c370908ec124114148491e442d57e911b8249728d474398 - languageName: node - linkType: hard - "eslint-plugin-simple-import-sort@npm:^12.1.0": version: 12.1.1 resolution: "eslint-plugin-simple-import-sort@npm:12.1.1" @@ -27076,47 +26709,6 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-typescript-sort-keys@npm:3.2.0": - version: 3.2.0 - resolution: "eslint-plugin-typescript-sort-keys@npm:3.2.0" - dependencies: - "@typescript-eslint/experimental-utils": "npm:^5.0.0" - json-schema: "npm:^0.4.0" - natural-compare-lite: "npm:^1.4.0" - peerDependencies: - "@typescript-eslint/parser": ^6 || ^7 - eslint: ^7 || ^8 - typescript: ^3 || ^4 || ^5 - checksum: 10c0/c832d5a93cac4f955f05b126ad79d1df49f9f11402ab225b1835d42972291a3855e477d28b07696d2a65a511ccdcdf64001eeda216248da82a5187af6d03e70f - languageName: node - linkType: hard - -"eslint-plugin-unicorn@npm:51.0.1": - version: 51.0.1 - resolution: "eslint-plugin-unicorn@npm:51.0.1" - dependencies: - "@babel/helper-validator-identifier": "npm:^7.22.20" - "@eslint-community/eslint-utils": "npm:^4.4.0" - "@eslint/eslintrc": "npm:^2.1.4" - ci-info: "npm:^4.0.0" - clean-regexp: "npm:^1.0.0" - core-js-compat: "npm:^3.34.0" - esquery: "npm:^1.5.0" - indent-string: "npm:^4.0.0" - is-builtin-module: "npm:^3.2.1" - jsesc: "npm:^3.0.2" - pluralize: "npm:^8.0.0" - read-pkg-up: "npm:^7.0.1" - regexp-tree: "npm:^0.1.27" - regjsparser: "npm:^0.10.0" - semver: "npm:^7.5.4" - strip-indent: "npm:^3.0.0" - peerDependencies: - eslint: ">=8.56.0" - checksum: 10c0/e3b019e55d60511c18aec081ff512366f917d0162db3ee122e1f881657b9a1c89e0d505bb7aec968d612ff3c757c055d5b734aaf0b3078a283315bb7db56ca04 - languageName: node - linkType: hard - "eslint-plugin-unicorn@npm:^55.0.0": version: 55.0.0 resolution: "eslint-plugin-unicorn@npm:55.0.0" @@ -27143,7 +26735,7 @@ __metadata: languageName: node linkType: hard -"eslint-scope@npm:5.1.1, eslint-scope@npm:^5.1.1": +"eslint-scope@npm:5.1.1": version: 5.1.1 resolution: "eslint-scope@npm:5.1.1" dependencies: @@ -27153,16 +26745,6 @@ __metadata: languageName: node linkType: hard -"eslint-scope@npm:^7.2.2": - version: 7.2.2 - resolution: "eslint-scope@npm:7.2.2" - dependencies: - esrecurse: "npm:^4.3.0" - estraverse: "npm:^5.2.0" - checksum: 10c0/613c267aea34b5a6d6c00514e8545ef1f1433108097e857225fed40d397dd6b1809dffd11c2fde23b37ca53d7bf935fe04d2a18e6fc932b31837b6ad67e1c116 - languageName: node - linkType: hard - "eslint-scope@npm:^8.0.1, eslint-scope@npm:^8.2.0": version: 8.2.0 resolution: "eslint-scope@npm:8.2.0" @@ -27220,54 +26802,6 @@ __metadata: languageName: node linkType: hard -"eslint@npm:8.57.0": - version: 8.57.0 - resolution: "eslint@npm:8.57.0" - dependencies: - "@eslint-community/eslint-utils": "npm:^4.2.0" - "@eslint-community/regexpp": "npm:^4.6.1" - "@eslint/eslintrc": "npm:^2.1.4" - "@eslint/js": "npm:8.57.0" - "@humanwhocodes/config-array": "npm:^0.11.14" - "@humanwhocodes/module-importer": "npm:^1.0.1" - "@nodelib/fs.walk": "npm:^1.2.8" - "@ungap/structured-clone": "npm:^1.2.0" - ajv: "npm:^6.12.4" - chalk: "npm:^4.0.0" - cross-spawn: "npm:^7.0.2" - debug: "npm:^4.3.2" - doctrine: "npm:^3.0.0" - escape-string-regexp: "npm:^4.0.0" - eslint-scope: "npm:^7.2.2" - eslint-visitor-keys: "npm:^3.4.3" - espree: "npm:^9.6.1" - esquery: "npm:^1.4.2" - esutils: "npm:^2.0.2" - fast-deep-equal: "npm:^3.1.3" - file-entry-cache: "npm:^6.0.1" - find-up: "npm:^5.0.0" - glob-parent: "npm:^6.0.2" - globals: "npm:^13.19.0" - graphemer: "npm:^1.4.0" - ignore: "npm:^5.2.0" - imurmurhash: "npm:^0.1.4" - is-glob: "npm:^4.0.0" - is-path-inside: "npm:^3.0.3" - js-yaml: "npm:^4.1.0" - json-stable-stringify-without-jsonify: "npm:^1.0.1" - levn: "npm:^0.4.1" - lodash.merge: "npm:^4.6.2" - minimatch: "npm:^3.1.2" - natural-compare: "npm:^1.4.0" - optionator: "npm:^0.9.3" - strip-ansi: "npm:^6.0.1" - text-table: "npm:^0.2.0" - bin: - eslint: bin/eslint.js - checksum: 10c0/00bb96fd2471039a312435a6776fe1fd557c056755eaa2b96093ef3a8508c92c8775d5f754768be6b1dddd09fdd3379ddb231eeb9b6c579ee17ea7d68000a529 - languageName: node - linkType: hard - "eslint@npm:9.16.0": version: 9.16.0 resolution: "eslint@npm:9.16.0" @@ -27340,7 +26874,7 @@ __metadata: languageName: node linkType: hard -"espree@npm:^9.4.1, espree@npm:^9.6.0, espree@npm:^9.6.1": +"espree@npm:^9.4.1": version: 9.6.1 resolution: "espree@npm:9.6.1" dependencies: @@ -27371,7 +26905,7 @@ __metadata: languageName: node linkType: hard -"esquery@npm:^1.4.2, esquery@npm:^1.5.0, esquery@npm:^1.6.0": +"esquery@npm:^1.5.0, esquery@npm:^1.6.0": version: 1.6.0 resolution: "esquery@npm:1.6.0" dependencies: @@ -28174,15 +27708,6 @@ __metadata: languageName: node linkType: hard -"file-entry-cache@npm:^6.0.1": - version: 6.0.1 - resolution: "file-entry-cache@npm:6.0.1" - dependencies: - flat-cache: "npm:^3.0.4" - checksum: 10c0/58473e8a82794d01b38e5e435f6feaf648e3f36fdb3a56e98f417f4efae71ad1c0d4ebd8a9a7c50c3ad085820a93fc7494ad721e0e4ebc1da3573f4e1c3c7cdd - languageName: node - linkType: hard - "file-entry-cache@npm:^8.0.0": version: 8.0.0 resolution: "file-entry-cache@npm:8.0.0" @@ -29438,7 +28963,7 @@ __metadata: languageName: node linkType: hard -"globals@npm:^13.19.0, globals@npm:^13.23.0": +"globals@npm:^13.23.0": version: 13.24.0 resolution: "globals@npm:13.24.0" dependencies: @@ -31479,7 +31004,7 @@ __metadata: languageName: node linkType: hard -"is-core-module@npm:^2.1.0, is-core-module@npm:^2.13.0, is-core-module@npm:^2.13.1, is-core-module@npm:^2.15.1": +"is-core-module@npm:^2.1.0, is-core-module@npm:^2.13.0, is-core-module@npm:^2.15.1": version: 2.15.1 resolution: "is-core-module@npm:2.15.1" dependencies: @@ -31844,7 +31369,7 @@ __metadata: languageName: node linkType: hard -"is-path-inside@npm:^3.0.2, is-path-inside@npm:^3.0.3": +"is-path-inside@npm:^3.0.2": version: 3.0.3 resolution: "is-path-inside@npm:3.0.3" checksum: 10c0/cf7d4ac35fb96bab6a1d2c3598fe5ebb29aafb52c0aaa482b5a3ed9d8ba3edc11631e3ec2637660c44b3ce0e61a08d54946e8af30dec0b60a7c27296c68ffd05 @@ -33006,7 +32531,7 @@ __metadata: languageName: node linkType: hard -"json-schema@npm:0.4.0, json-schema@npm:^0.4.0": +"json-schema@npm:0.4.0": version: 0.4.0 resolution: "json-schema@npm:0.4.0" checksum: 10c0/d4a637ec1d83544857c1c163232f3da46912e971d5bf054ba44fdb88f07d8d359a462b4aec46f2745efbc57053365608d88bc1d7b1729f7b4fc3369765639ed3 @@ -36248,7 +35773,7 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:3.1.2, minimatch@npm:^3.0.2, minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": +"minimatch@npm:3.1.2, minimatch@npm:^3.0.2, minimatch@npm:^3.0.4, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": version: 3.1.2 resolution: "minimatch@npm:3.1.2" dependencies: @@ -36995,13 +36520,6 @@ __metadata: languageName: node linkType: hard -"natural-compare-lite@npm:^1.4.0": - version: 1.4.0 - resolution: "natural-compare-lite@npm:1.4.0" - checksum: 10c0/f6cef26f5044515754802c0fc475d81426f3b90fe88c20fabe08771ce1f736ce46e0397c10acb569a4dd0acb84c7f1ee70676122f95d5bfdd747af3a6c6bbaa8 - languageName: node - linkType: hard - "natural-compare@npm:^1.4.0": version: 1.4.0 resolution: "natural-compare@npm:1.4.0" @@ -37891,7 +37409,7 @@ __metadata: languageName: node linkType: hard -"object.entries@npm:^1.1.5, object.entries@npm:^1.1.7, object.entries@npm:^1.1.8": +"object.entries@npm:^1.1.5, object.entries@npm:^1.1.8": version: 1.1.8 resolution: "object.entries@npm:1.1.8" dependencies: @@ -37902,7 +37420,7 @@ __metadata: languageName: node linkType: hard -"object.fromentries@npm:^2.0.7, object.fromentries@npm:^2.0.8": +"object.fromentries@npm:^2.0.8": version: 2.0.8 resolution: "object.fromentries@npm:2.0.8" dependencies: @@ -37914,7 +37432,7 @@ __metadata: languageName: node linkType: hard -"object.groupby@npm:^1.0.1, object.groupby@npm:^1.0.3": +"object.groupby@npm:^1.0.3": version: 1.0.3 resolution: "object.groupby@npm:1.0.3" dependencies: @@ -37925,17 +37443,6 @@ __metadata: languageName: node linkType: hard -"object.hasown@npm:^1.1.3": - version: 1.1.4 - resolution: "object.hasown@npm:1.1.4" - dependencies: - define-properties: "npm:^1.2.1" - es-abstract: "npm:^1.23.2" - es-object-atoms: "npm:^1.0.0" - checksum: 10c0/f23187b08d874ef1aea060118c8259eb7f99f93c15a50771d710569534119062b90e087b92952b2d0fb1bb8914d61fb0b43c57fb06f622aaad538fe6868ab987 - languageName: node - linkType: hard - "object.omit@npm:^3.0.0": version: 3.0.0 resolution: "object.omit@npm:3.0.0" @@ -37945,7 +37452,7 @@ __metadata: languageName: node linkType: hard -"object.values@npm:^1.1.6, object.values@npm:^1.1.7, object.values@npm:^1.2.0": +"object.values@npm:^1.1.6, object.values@npm:^1.2.0": version: 1.2.0 resolution: "object.values@npm:1.2.0" dependencies: @@ -44512,7 +44019,7 @@ __metadata: languageName: node linkType: hard -"string.prototype.matchall@npm:^4.0.10, string.prototype.matchall@npm:^4.0.11": +"string.prototype.matchall@npm:^4.0.11": version: 4.0.11 resolution: "string.prototype.matchall@npm:4.0.11" dependencies: @@ -45436,13 +44943,6 @@ __metadata: languageName: node linkType: hard -"text-table@npm:^0.2.0": - version: 0.2.0 - resolution: "text-table@npm:0.2.0" - checksum: 10c0/02805740c12851ea5982686810702e2f14369a5f4c5c40a836821e3eefc65ffeec3131ba324692a37608294b0fd8c1e55a2dd571ffed4909822787668ddbee5c - languageName: node - linkType: hard - "textextensions@npm:^5.14.0": version: 5.16.0 resolution: "textextensions@npm:5.16.0" From 69563e72f97adc93030c1be767a0454a6ef2cc26 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Tue, 10 Dec 2024 13:30:15 +0100 Subject: [PATCH 29/51] fix: constraints --- blocks/chart/package.json | 2 +- blocks/kanban-board/package.json | 2 +- blocks/table/package.json | 4 ++-- libs/@local/eslint/package.json | 4 ++-- tests/hash-playwright/package.json | 7 +++---- yarn.config.cjs | 4 ++++ 6 files changed, 13 insertions(+), 10 deletions(-) diff --git a/blocks/chart/package.json b/blocks/chart/package.json index 208a37ab5f5..c887b534245 100644 --- a/blocks/chart/package.json +++ b/blocks/chart/package.json @@ -30,7 +30,7 @@ "@blockprotocol/graph": "0.3.4", "@hashintel/block-design-system": "0.0.2", "@hashintel/design-system": "0.0.8", - "@local/hash-isomorphic-utils": "workspace:*", + "@local/hash-isomorphic-utils": "0.0.0-private", "@mui/material": "5.16.9", "echarts": "5.5.1", "lodash.debounce": "4.0.8", diff --git a/blocks/kanban-board/package.json b/blocks/kanban-board/package.json index 2bb8e78cc45..b375ee75318 100644 --- a/blocks/kanban-board/package.json +++ b/blocks/kanban-board/package.json @@ -36,7 +36,7 @@ "@dnd-kit/sortable": "7.0.2", "@dnd-kit/utilities": "3.2.2", "@hashintel/block-design-system": "0.0.2", - "@hashintel/design-system": "workspace:*", + "@hashintel/design-system": "0.0.8", "@mui/material": "5.16.9", "clsx": "1.2.1", "lodash.clonedeep": "4.5.0", diff --git a/blocks/table/package.json b/blocks/table/package.json index 9f54de50cc0..8d394308615 100644 --- a/blocks/table/package.json +++ b/blocks/table/package.json @@ -34,8 +34,8 @@ "@blockprotocol/graph": "0.3.4", "@glideapps/glide-data-grid": "patch:@glideapps/glide-data-grid@npm%3A6.0.3#~/.yarn/patches/@glideapps-glide-data-grid-npm-6.0.3-f71d586425.patch", "@hashintel/block-design-system": "0.0.2", - "@hashintel/design-system": "workspace:*", - "@local/hash-isomorphic-utils": "workspace:*", + "@hashintel/design-system": "0.0.8", + "@local/hash-isomorphic-utils": "0.0.0-private", "@mui/material": "5.16.9", "clsx": "1.2.1", "immer": "9.0.21", diff --git a/libs/@local/eslint/package.json b/libs/@local/eslint/package.json index 7aa616e135e..91b0e358160 100644 --- a/libs/@local/eslint/package.json +++ b/libs/@local/eslint/package.json @@ -22,7 +22,7 @@ "dependencies": { "@eslint/compat": "1.2.4", "@eslint/eslintrc": "3.2.0", - "effect": "3.11.0", + "effect": "3.11.3", "eslint": "9.16.0", "eslint-config-airbnb": "19.0.4", "eslint-config-flat-gitignore": "0.3.0", @@ -42,6 +42,6 @@ "@types/eslint__eslintrc": "2.1.2", "jiti": "2.4.1", "rimraf": "6.0.1", - "typescript": "5.7.2" + "typescript": "5.6.3" } } diff --git a/tests/hash-playwright/package.json b/tests/hash-playwright/package.json index d29457fd0da..8e867784c5c 100644 --- a/tests/hash-playwright/package.json +++ b/tests/hash-playwright/package.json @@ -11,18 +11,15 @@ "test:integration": "PW_EXPERIMENTAL_SERVICE_WORKER_NETWORK_EVENTS=1 PW_EXPERIMENTAL_TS_ESM=1 npx playwright test --project chromium" }, "dependencies": { - "@local/eslint": "0.0.0-private", "@local/hash-backend-utils": "0.0.0-private", "@local/hash-graph-sdk": "0.0.0-private", "@local/hash-isomorphic-utils": "0.0.0-private", "@local/hash-subgraph": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@playwright/test": "1.49.0", - "eslint": "9.16.0", "execa": "5.1.1", "graphql": "16.9.0", - "js-yaml": "4.1.0", - "typescript": "5.6.3" + "js-yaml": "4.1.0" }, "devDependencies": { "@apps/hash-frontend": "0.0.0-private", @@ -31,6 +28,8 @@ "@apps/plugin-browser": "0.0.8", "@blockprotocol/graph": "0.4.0-canary.0", "@graphql-codegen/cli": "^5.0.3", + "@local/eslint": "0.0.0-private", + "eslint": "9.16.0", "rimraf": "6.0.1", "typescript": "5.6.3" } diff --git a/yarn.config.cjs b/yarn.config.cjs index 4791260fb6b..0f921e4553c 100644 --- a/yarn.config.cjs +++ b/yarn.config.cjs @@ -146,6 +146,10 @@ function enforceDevDependenciesAreProperlyDeclared({ Yarn }) { for (const [key, { commands }] of Object.entries( enforcedDevDependencies, )) { + if (workspace.ident === "@local/eslint" && key === "eslint") { + continue; + } + const scriptSplit = script.split(" "); if (commands.some((command) => scriptSplit.includes(command))) { From 387fe0311175348a162e8636d2a38c87ec27fed9 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Tue, 10 Dec 2024 13:32:08 +0100 Subject: [PATCH 30/51] feat: make lint dependent on build --- turbo.json | 2 +- yarn.lock | 563 ++++++----------------------------------------------- 2 files changed, 59 insertions(+), 506 deletions(-) diff --git a/turbo.json b/turbo.json index d9bb744183d..5e461d3c40d 100644 --- a/turbo.json +++ b/turbo.json @@ -87,7 +87,7 @@ "lint:clippy": {}, "lint:eslint": { "env": ["CHECK_TEMPORARILY_DISABLED_RULES"], - "dependsOn": ["codegen"] + "dependsOn": ["codegen", "@local/eslint#build"] }, "lint:tsc": { "dependsOn": ["codegen"] diff --git a/yarn.lock b/yarn.lock index d73ac28269f..cb6aa1a0e3c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3833,7 +3833,7 @@ __metadata: languageName: node linkType: hard -"@babel/preset-react@npm:7.26.3": +"@babel/preset-react@npm:7.26.3, @babel/preset-react@npm:^7.16.0, @babel/preset-react@npm:^7.16.7, @babel/preset-react@npm:^7.18.6, @babel/preset-react@npm:^7.22.15": version: 7.26.3 resolution: "@babel/preset-react@npm:7.26.3" dependencies: @@ -3849,22 +3849,6 @@ __metadata: languageName: node linkType: hard -"@babel/preset-react@npm:^7.16.0, @babel/preset-react@npm:^7.16.7, @babel/preset-react@npm:^7.18.6, @babel/preset-react@npm:^7.22.15": - version: 7.25.9 - resolution: "@babel/preset-react@npm:7.25.9" - dependencies: - "@babel/helper-plugin-utils": "npm:^7.25.9" - "@babel/helper-validator-option": "npm:^7.25.9" - "@babel/plugin-transform-react-display-name": "npm:^7.25.9" - "@babel/plugin-transform-react-jsx": "npm:^7.25.9" - "@babel/plugin-transform-react-jsx-development": "npm:^7.25.9" - "@babel/plugin-transform-react-pure-annotations": "npm:^7.25.9" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/c294b475ee741f01f63ea0d828862811c453fabc6023f01814ce983bc316388e9d73290164d2b1384c2684db9c330803a3d4d2170285b105dcbacd483329eb93 - languageName: node - linkType: hard - "@babel/preset-typescript@npm:7.16.7": version: 7.16.7 resolution: "@babel/preset-typescript@npm:7.16.7" @@ -4387,7 +4371,7 @@ __metadata: "@hashintel/block-design-system": "npm:0.0.2" "@hashintel/design-system": "npm:0.0.8" "@local/eslint": "npm:0.0.0-private" - "@local/hash-isomorphic-utils": "workspace:*" + "@local/hash-isomorphic-utils": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@mui/material": "npm:5.16.9" "@types/lodash.debounce": "npm:4.0.9" @@ -4607,7 +4591,7 @@ __metadata: "@dnd-kit/sortable": "npm:7.0.2" "@dnd-kit/utilities": "npm:3.2.2" "@hashintel/block-design-system": "npm:0.0.2" - "@hashintel/design-system": "workspace:*" + "@hashintel/design-system": "npm:0.0.8" "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@mui/material": "npm:5.16.9" @@ -4735,9 +4719,9 @@ __metadata: "@blockprotocol/graph": "npm:0.3.4" "@glideapps/glide-data-grid": "patch:@glideapps/glide-data-grid@npm%3A6.0.3#~/.yarn/patches/@glideapps-glide-data-grid-npm-6.0.3-f71d586425.patch" "@hashintel/block-design-system": "npm:0.0.2" - "@hashintel/design-system": "workspace:*" + "@hashintel/design-system": "npm:0.0.8" "@local/eslint": "npm:0.0.0-private" - "@local/hash-isomorphic-utils": "workspace:*" + "@local/hash-isomorphic-utils": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@mui/material": "npm:5.16.9" "@types/lodash.debounce": "npm:4.0.9" @@ -6284,7 +6268,7 @@ __metadata: languageName: node linkType: hard -"@eslint/compat@npm:1.2.4": +"@eslint/compat@npm:1.2.4, @eslint/compat@npm:^1.1.1": version: 1.2.4 resolution: "@eslint/compat@npm:1.2.4" peerDependencies: @@ -6296,18 +6280,6 @@ __metadata: languageName: node linkType: hard -"@eslint/compat@npm:^1.1.1": - version: 1.2.3 - resolution: "@eslint/compat@npm:1.2.3" - peerDependencies: - eslint: ^9.10.0 - peerDependenciesMeta: - eslint: - optional: true - checksum: 10c0/b7439e62f73b9a05abea3b54ad8edc171e299171fc4673fc5a2c84d97a584bb9487a7f0bee397342f6574bd53597819a8abe52f1ca72184378cf387275b84e32 - languageName: node - linkType: hard - "@eslint/config-array@npm:^0.19.0": version: 0.19.0 resolution: "@eslint/config-array@npm:0.19.0" @@ -7502,7 +7474,7 @@ __metadata: languageName: unknown linkType: soft -"@hashintel/design-system@npm:0.0.8, @hashintel/design-system@workspace:*, @hashintel/design-system@workspace:libs/@hashintel/design-system": +"@hashintel/design-system@npm:0.0.8, @hashintel/design-system@workspace:libs/@hashintel/design-system": version: 0.0.0-use.local resolution: "@hashintel/design-system@workspace:libs/@hashintel/design-system" dependencies: @@ -8693,7 +8665,7 @@ __metadata: "@eslint/compat": "npm:1.2.4" "@eslint/eslintrc": "npm:3.2.0" "@types/eslint__eslintrc": "npm:2.1.2" - effect: "npm:3.11.0" + effect: "npm:3.11.3" eslint: "npm:9.16.0" eslint-config-airbnb: "npm:19.0.4" eslint-config-flat-gitignore: "npm:0.3.0" @@ -8710,7 +8682,7 @@ __metadata: globals: "npm:15.13.0" jiti: "npm:2.4.1" rimraf: "npm:6.0.1" - typescript: "npm:5.7.2" + typescript: "npm:5.6.3" languageName: unknown linkType: soft @@ -8846,7 +8818,7 @@ __metadata: languageName: unknown linkType: soft -"@local/hash-isomorphic-utils@npm:0.0.0-private, @local/hash-isomorphic-utils@workspace:*, @local/hash-isomorphic-utils@workspace:libs/@local/hash-isomorphic-utils": +"@local/hash-isomorphic-utils@npm:0.0.0-private, @local/hash-isomorphic-utils@workspace:libs/@local/hash-isomorphic-utils": version: 0.0.0-use.local resolution: "@local/hash-isomorphic-utils@workspace:libs/@local/hash-isomorphic-utils" dependencies: @@ -9272,14 +9244,7 @@ __metadata: languageName: node linkType: hard -"@mui/core-downloads-tracker@npm:^5.11.8, @mui/core-downloads-tracker@npm:^5.16.7": - version: 5.16.7 - resolution: "@mui/core-downloads-tracker@npm:5.16.7" - checksum: 10c0/4644c850160d01232c1abdbed141e4fa70e155891a9c68f0c2cc3054b4a3cdc1d28cf2d6665366fd8c725b2b091db677e11831552889a4e4e14f1e44450cf654 - languageName: node - linkType: hard - -"@mui/core-downloads-tracker@npm:^5.16.9": +"@mui/core-downloads-tracker@npm:^5.11.8, @mui/core-downloads-tracker@npm:^5.16.9": version: 5.16.9 resolution: "@mui/core-downloads-tracker@npm:5.16.9" checksum: 10c0/73774e9dcf7c8549759ae5ebfe5d87761cecb8477f0624ac051e26f9cdb110167a39bd93ce119caf2620f5991af3cbf2865e0cb380d783c6ec109c4c3d563396 @@ -9335,7 +9300,7 @@ __metadata: languageName: node linkType: hard -"@mui/material@npm:5.16.9": +"@mui/material@npm:5.16.9, @mui/material@npm:^5.0.0, @mui/material@npm:^5.10.4": version: 5.16.9 resolution: "@mui/material@npm:5.16.9" dependencies: @@ -9368,56 +9333,6 @@ __metadata: languageName: node linkType: hard -"@mui/material@npm:^5.0.0, @mui/material@npm:^5.10.4": - version: 5.16.7 - resolution: "@mui/material@npm:5.16.7" - dependencies: - "@babel/runtime": "npm:^7.23.9" - "@mui/core-downloads-tracker": "npm:^5.16.7" - "@mui/system": "npm:^5.16.7" - "@mui/types": "npm:^7.2.15" - "@mui/utils": "npm:^5.16.6" - "@popperjs/core": "npm:^2.11.8" - "@types/react-transition-group": "npm:^4.4.10" - clsx: "npm:^2.1.0" - csstype: "npm:^3.1.3" - prop-types: "npm:^15.8.1" - react-is: "npm:^18.3.1" - react-transition-group: "npm:^4.4.5" - peerDependencies: - "@emotion/react": ^11.5.0 - "@emotion/styled": ^11.3.0 - "@types/react": ^17.0.0 || ^18.0.0 - react: ^17.0.0 || ^18.0.0 - react-dom: ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - "@emotion/react": - optional: true - "@emotion/styled": - optional: true - "@types/react": - optional: true - checksum: 10c0/b11419c1a77835413471f9352586fed65fb5de19c6737e121669da0484c441c7dd9939aa73fdad779482c30efaa694fb9fdcf18dcf418af07881e60eaff92b4f - languageName: node - linkType: hard - -"@mui/private-theming@npm:^5.16.6": - version: 5.16.6 - resolution: "@mui/private-theming@npm:5.16.6" - dependencies: - "@babel/runtime": "npm:^7.23.9" - "@mui/utils": "npm:^5.16.6" - prop-types: "npm:^15.8.1" - peerDependencies: - "@types/react": ^17.0.0 || ^18.0.0 - react: ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - "@types/react": - optional: true - checksum: 10c0/0a09afd6c2be37197973a856049f97e2f17f3e5e6cf6387af036055342efbfcd7d7066dcad587886f25f491e5940e4e9bb7d732d5099eb85b53b84ef120e9555 - languageName: node - linkType: hard - "@mui/private-theming@npm:^5.16.8": version: 5.16.8 resolution: "@mui/private-theming@npm:5.16.8" @@ -9435,27 +9350,6 @@ __metadata: languageName: node linkType: hard -"@mui/styled-engine@npm:^5.16.6": - version: 5.16.6 - resolution: "@mui/styled-engine@npm:5.16.6" - dependencies: - "@babel/runtime": "npm:^7.23.9" - "@emotion/cache": "npm:^11.11.0" - csstype: "npm:^3.1.3" - prop-types: "npm:^15.8.1" - peerDependencies: - "@emotion/react": ^11.4.1 - "@emotion/styled": ^11.3.0 - react: ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - "@emotion/react": - optional: true - "@emotion/styled": - optional: true - checksum: 10c0/b15e653c8756059c8ae2891ca54900573e22f6ed1aaf65a389ec838f2aca3252aeeb9a79aec4a43f080152b161a416e60b31a62595ba86ad5f72eda5642caaf2 - languageName: node - linkType: hard - "@mui/styled-engine@npm:^5.16.8": version: 5.16.8 resolution: "@mui/styled-engine@npm:5.16.8" @@ -9477,7 +9371,7 @@ __metadata: languageName: node linkType: hard -"@mui/system@npm:5.16.8, @mui/system@npm:^5.16.8": +"@mui/system@npm:5.16.8, @mui/system@npm:^5.11.8, @mui/system@npm:^5.16.8": version: 5.16.8 resolution: "@mui/system@npm:5.16.8" dependencies: @@ -9505,34 +9399,6 @@ __metadata: languageName: node linkType: hard -"@mui/system@npm:^5.11.8, @mui/system@npm:^5.16.7": - version: 5.16.7 - resolution: "@mui/system@npm:5.16.7" - dependencies: - "@babel/runtime": "npm:^7.23.9" - "@mui/private-theming": "npm:^5.16.6" - "@mui/styled-engine": "npm:^5.16.6" - "@mui/types": "npm:^7.2.15" - "@mui/utils": "npm:^5.16.6" - clsx: "npm:^2.1.0" - csstype: "npm:^3.1.3" - prop-types: "npm:^15.8.1" - peerDependencies: - "@emotion/react": ^11.5.0 - "@emotion/styled": ^11.3.0 - "@types/react": ^17.0.0 || ^18.0.0 - react: ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - "@emotion/react": - optional: true - "@emotion/styled": - optional: true - "@types/react": - optional: true - checksum: 10c0/c07479c0728433847c1e3d7f57b96d9e0770cc814dfd1c9e070304955984a0b706832703b22388eb83906d1a01691f37047e2bac6a5e5c083e8c29a54302d476 - languageName: node - linkType: hard - "@mui/types@npm:^7.2.15, @mui/types@npm:^7.2.3": version: 7.2.19 resolution: "@mui/types@npm:7.2.19" @@ -9545,27 +9411,7 @@ __metadata: languageName: node linkType: hard -"@mui/utils@npm:^5.11.7, @mui/utils@npm:^5.16.6": - version: 5.16.6 - resolution: "@mui/utils@npm:5.16.6" - dependencies: - "@babel/runtime": "npm:^7.23.9" - "@mui/types": "npm:^7.2.15" - "@types/prop-types": "npm:^15.7.12" - clsx: "npm:^2.1.1" - prop-types: "npm:^15.8.1" - react-is: "npm:^18.3.1" - peerDependencies: - "@types/react": ^17.0.0 || ^18.0.0 - react: ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - "@types/react": - optional: true - checksum: 10c0/2db3d11a83d7216fb8ceb459d4b30c795922c04cd8fabc26c721dd7b4f5ed5c4f3f3ace6ea70227bf3b79361bd58f13b723562cfd40255424d979ab238ab2e91 - languageName: node - linkType: hard - -"@mui/utils@npm:^5.16.8": +"@mui/utils@npm:^5.11.7, @mui/utils@npm:^5.16.8": version: 5.16.8 resolution: "@mui/utils@npm:5.16.8" dependencies: @@ -10185,7 +10031,7 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/context-async-hooks@npm:1.29.0": +"@opentelemetry/context-async-hooks@npm:1.29.0, @opentelemetry/context-async-hooks@npm:^1.17.1": version: 1.29.0 resolution: "@opentelemetry/context-async-hooks@npm:1.29.0" peerDependencies: @@ -10194,27 +10040,7 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/context-async-hooks@npm:^1.17.1": - version: 1.28.0 - resolution: "@opentelemetry/context-async-hooks@npm:1.28.0" - peerDependencies: - "@opentelemetry/api": ">=1.0.0 <1.10.0" - checksum: 10c0/bfd3b76dce4495d538307fef597c9145949f2b67b9096b1c06c63e14003cdee73fc06fa36bb512eb403f9e625caa4282024ca39367307524e501fcece93611dd - languageName: node - linkType: hard - -"@opentelemetry/core@npm:1.28.0, @opentelemetry/core@npm:^1.8.0": - version: 1.28.0 - resolution: "@opentelemetry/core@npm:1.28.0" - dependencies: - "@opentelemetry/semantic-conventions": "npm:1.27.0" - peerDependencies: - "@opentelemetry/api": ">=1.0.0 <1.10.0" - checksum: 10c0/4f87318ca59bc4c2f4302decfdbc3b3672604e4bbc7cb40d09f0ecbbe9e5a8b7db527a1c7ee17a93c3f9ca69c1dd88cc24cb07398b7828efc30ea9fcb8adbc4d - languageName: node - linkType: hard - -"@opentelemetry/core@npm:1.29.0": +"@opentelemetry/core@npm:1.29.0, @opentelemetry/core@npm:^1.8.0": version: 1.29.0 resolution: "@opentelemetry/core@npm:1.29.0" dependencies: @@ -10367,7 +10193,7 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/exporter-zipkin@npm:1.29.0": +"@opentelemetry/exporter-zipkin@npm:1.29.0, @opentelemetry/exporter-zipkin@npm:^1.15.2": version: 1.29.0 resolution: "@opentelemetry/exporter-zipkin@npm:1.29.0" dependencies: @@ -10381,20 +10207,6 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/exporter-zipkin@npm:^1.15.2": - version: 1.28.0 - resolution: "@opentelemetry/exporter-zipkin@npm:1.28.0" - dependencies: - "@opentelemetry/core": "npm:1.28.0" - "@opentelemetry/resources": "npm:1.28.0" - "@opentelemetry/sdk-trace-base": "npm:1.28.0" - "@opentelemetry/semantic-conventions": "npm:1.27.0" - peerDependencies: - "@opentelemetry/api": ^1.0.0 - checksum: 10c0/d4862dfa51a914e029c64a49694425358a907c5444eda8d7bece9e8071c0bba45fcc7f2b5a9fda31bc9bce0a4c6142e47939a859b99b53735148d3234f5396ae - languageName: node - linkType: hard - "@opentelemetry/instrumentation-express@npm:0.46.0": version: 0.46.0 resolution: "@opentelemetry/instrumentation-express@npm:0.46.0" @@ -10515,19 +10327,7 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/resources@npm:1.28.0, @opentelemetry/resources@npm:^1.15.2": - version: 1.28.0 - resolution: "@opentelemetry/resources@npm:1.28.0" - dependencies: - "@opentelemetry/core": "npm:1.28.0" - "@opentelemetry/semantic-conventions": "npm:1.27.0" - peerDependencies: - "@opentelemetry/api": ">=1.0.0 <1.10.0" - checksum: 10c0/84fae85d3e26d338b8e31c765a42da637d4e626e564b8d86108f87963a5a07f58793eab8041a602e74b8144bbdea851825b22e3fd4222977bf59bcd42ae1bab4 - languageName: node - linkType: hard - -"@opentelemetry/resources@npm:1.29.0": +"@opentelemetry/resources@npm:1.29.0, @opentelemetry/resources@npm:^1.15.2": version: 1.29.0 resolution: "@opentelemetry/resources@npm:1.29.0" dependencies: @@ -10552,7 +10352,7 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/sdk-metrics@npm:1.29.0": +"@opentelemetry/sdk-metrics@npm:1.29.0, @opentelemetry/sdk-metrics@npm:^1.15.2": version: 1.29.0 resolution: "@opentelemetry/sdk-metrics@npm:1.29.0" dependencies: @@ -10564,18 +10364,6 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/sdk-metrics@npm:^1.15.2": - version: 1.28.0 - resolution: "@opentelemetry/sdk-metrics@npm:1.28.0" - dependencies: - "@opentelemetry/core": "npm:1.28.0" - "@opentelemetry/resources": "npm:1.28.0" - peerDependencies: - "@opentelemetry/api": ">=1.3.0 <1.10.0" - checksum: 10c0/deafed540ea5ece764729216eb4019bb5fa3d2759c25c3a0217228bb07324590047520d3f3936a21d1fdfcc10c266f98bdcc22e8620db8d2e443eaa4d5588c11 - languageName: node - linkType: hard - "@opentelemetry/sdk-node@npm:0.56.0": version: 0.56.0 resolution: "@opentelemetry/sdk-node@npm:0.56.0" @@ -10602,20 +10390,7 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/sdk-trace-base@npm:1.28.0, @opentelemetry/sdk-trace-base@npm:^1.15.2": - version: 1.28.0 - resolution: "@opentelemetry/sdk-trace-base@npm:1.28.0" - dependencies: - "@opentelemetry/core": "npm:1.28.0" - "@opentelemetry/resources": "npm:1.28.0" - "@opentelemetry/semantic-conventions": "npm:1.27.0" - peerDependencies: - "@opentelemetry/api": ">=1.0.0 <1.10.0" - checksum: 10c0/0a9ac13dc375ba320323f72dd853133e169473a6bb971d82c8e6403ffb4d25124c6ad2b9ad31e0a2320b7971b83590094030f9716a57d5a3a2ede8c11ae67c5d - languageName: node - linkType: hard - -"@opentelemetry/sdk-trace-base@npm:1.29.0": +"@opentelemetry/sdk-trace-base@npm:1.29.0, @opentelemetry/sdk-trace-base@npm:^1.15.2": version: 1.29.0 resolution: "@opentelemetry/sdk-trace-base@npm:1.29.0" dependencies: @@ -10644,13 +10419,6 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/semantic-conventions@npm:1.27.0": - version: 1.27.0 - resolution: "@opentelemetry/semantic-conventions@npm:1.27.0" - checksum: 10c0/b859773ba06b7e53dd9c6b45a171bf3000e405733adbf462ae91004ed011bc80edb5beecb817fb344a085adfd06045ab5b729c9bd0f1479650ad377134fb798c - languageName: node - linkType: hard - "@opentelemetry/semantic-conventions@npm:1.28.0, @opentelemetry/semantic-conventions@npm:^1.15.2, @opentelemetry/semantic-conventions@npm:^1.27.0": version: 1.28.0 resolution: "@opentelemetry/semantic-conventions@npm:1.28.0" @@ -12482,13 +12250,6 @@ __metadata: languageName: node linkType: hard -"@redocly/config@npm:^0.16.0": - version: 0.16.0 - resolution: "@redocly/config@npm:0.16.0" - checksum: 10c0/9e2ee2b1eb61312d0479aee9ebb583818d0a061170ac4b733c5ab3a9351e2fdcaf282e9378f82853a7adcde899e218e43ea8d95f0068b3c0ac97c7333517ef34 - languageName: node - linkType: hard - "@redocly/config@npm:^0.17.0": version: 0.17.1 resolution: "@redocly/config@npm:0.17.1" @@ -12496,7 +12257,7 @@ __metadata: languageName: node linkType: hard -"@redocly/openapi-core@npm:1.25.15": +"@redocly/openapi-core@npm:1.25.15, @redocly/openapi-core@npm:^1.4.0": version: 1.25.15 resolution: "@redocly/openapi-core@npm:1.25.15" dependencies: @@ -12515,25 +12276,6 @@ __metadata: languageName: node linkType: hard -"@redocly/openapi-core@npm:^1.4.0": - version: 1.25.14 - resolution: "@redocly/openapi-core@npm:1.25.14" - dependencies: - "@redocly/ajv": "npm:^8.11.2" - "@redocly/config": "npm:^0.16.0" - colorette: "npm:^1.2.0" - https-proxy-agent: "npm:^7.0.4" - js-levenshtein: "npm:^1.1.6" - js-yaml: "npm:^4.1.0" - lodash.isequal: "npm:^4.5.0" - minimatch: "npm:^5.0.1" - node-fetch: "npm:^2.6.1" - pluralize: "npm:^8.0.0" - yaml-ast-parser: "npm:0.0.43" - checksum: 10c0/58d2b650a7ff2aa27d1764e9323c006ebb6ea76067b2a27b9e5df7d2381cdf41631db7955b67b07d3864f9ce94f07c644c10744ae856dd75e857fea60117854b - languageName: node - linkType: hard - "@regru/eslint-plugin-prefer-early-return@npm:^1.0.0": version: 1.0.0 resolution: "@regru/eslint-plugin-prefer-early-return@npm:1.0.0" @@ -15296,7 +15038,7 @@ __metadata: languageName: node linkType: hard -"@storybook/csf@npm:^0.1.11": +"@storybook/csf@npm:^0.1.11, @storybook/csf@npm:^0.1.2": version: 0.1.12 resolution: "@storybook/csf@npm:0.1.12" dependencies: @@ -15305,15 +15047,6 @@ __metadata: languageName: node linkType: hard -"@storybook/csf@npm:^0.1.2": - version: 0.1.11 - resolution: "@storybook/csf@npm:0.1.11" - dependencies: - type-fest: "npm:^2.19.0" - checksum: 10c0/c5329fc13e7d762049b5c91df1bc1c0e510a1a898c401b72b68f1ff64139a85ab64a92f8e681d2fcb226c0a4a55d0f23b569b2bdb517e0f067bd05ea46228356 - languageName: node - linkType: hard - "@storybook/docs-mdx@npm:^0.1.0": version: 0.1.0 resolution: "@storybook/docs-mdx@npm:0.1.0" @@ -17892,16 +17625,7 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*, @types/node@npm:>=13.7.0": - version: 22.10.0 - resolution: "@types/node@npm:22.10.0" - dependencies: - undici-types: "npm:~6.20.0" - checksum: 10c0/efb3783b6fe74b4300c5bdd4f245f1025887d9b1d0950edae584af58a30d95cc058c10b4b3428f8300e4318468b605240c2ede8fcfb6ead2e0f05bca31e54c1b - languageName: node - linkType: hard - -"@types/node@npm:22.10.1": +"@types/node@npm:*, @types/node@npm:22.10.1, @types/node@npm:>=13.7.0": version: 22.10.1 resolution: "@types/node@npm:22.10.1" dependencies: @@ -18545,7 +18269,7 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:8.16.0, @typescript-eslint/scope-manager@npm:^7.0.0 || ^8.0.0, @typescript-eslint/scope-manager@npm:^8.16.0": +"@typescript-eslint/scope-manager@npm:8.16.0": version: 8.16.0 resolution: "@typescript-eslint/scope-manager@npm:8.16.0" dependencies: @@ -18555,7 +18279,7 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:8.17.0": +"@typescript-eslint/scope-manager@npm:8.17.0, @typescript-eslint/scope-manager@npm:^7.0.0 || ^8.0.0, @typescript-eslint/scope-manager@npm:^8.16.0": version: 8.17.0 resolution: "@typescript-eslint/scope-manager@npm:8.17.0" dependencies: @@ -18603,14 +18327,14 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:8.16.0, @typescript-eslint/types@npm:^7.0.0 || ^8.0.0, @typescript-eslint/types@npm:^7.7.1 || ^8, @typescript-eslint/types@npm:^8.16.0": +"@typescript-eslint/types@npm:8.16.0": version: 8.16.0 resolution: "@typescript-eslint/types@npm:8.16.0" checksum: 10c0/141e257ab4060a9c0e2e14334ca14ab6be713659bfa38acd13be70a699fb5f36932a2584376b063063ab3d723b24bc703dbfb1ce57d61d7cfd7ec5bd8a975129 languageName: node linkType: hard -"@typescript-eslint/types@npm:8.17.0": +"@typescript-eslint/types@npm:8.17.0, @typescript-eslint/types@npm:^7.0.0 || ^8.0.0, @typescript-eslint/types@npm:^7.7.1 || ^8, @typescript-eslint/types@npm:^8.16.0": version: 8.17.0 resolution: "@typescript-eslint/types@npm:8.17.0" checksum: 10c0/26b1bf9dfc3ee783c85c6f354b84c28706d5689d777f3ff2de2cb496e45f9d0189c0d561c03ccbc8b24712438be17cf63dd0871ff3ca2083e7f48749770d1893 @@ -18655,7 +18379,7 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:8.16.0, @typescript-eslint/typescript-estree@npm:^7.0.0 || ^8.0.0, @typescript-eslint/typescript-estree@npm:^8.16.0": +"@typescript-eslint/typescript-estree@npm:8.16.0": version: 8.16.0 resolution: "@typescript-eslint/typescript-estree@npm:8.16.0" dependencies: @@ -18674,7 +18398,7 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:8.17.0": +"@typescript-eslint/typescript-estree@npm:8.17.0, @typescript-eslint/typescript-estree@npm:^7.0.0 || ^8.0.0, @typescript-eslint/typescript-estree@npm:^8.16.0": version: 8.17.0 resolution: "@typescript-eslint/typescript-estree@npm:8.17.0" dependencies: @@ -18711,7 +18435,7 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:8.16.0, @typescript-eslint/utils@npm:^6.0.0 || ^7.0.0 || ^8.0.0, @typescript-eslint/utils@npm:^8.13.0, @typescript-eslint/utils@npm:^8.16.0, @typescript-eslint/utils@npm:^8.8.1": +"@typescript-eslint/utils@npm:8.16.0": version: 8.16.0 resolution: "@typescript-eslint/utils@npm:8.16.0" dependencies: @@ -18745,21 +18469,7 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:^7.16.0": - version: 7.18.0 - resolution: "@typescript-eslint/utils@npm:7.18.0" - dependencies: - "@eslint-community/eslint-utils": "npm:^4.4.0" - "@typescript-eslint/scope-manager": "npm:7.18.0" - "@typescript-eslint/types": "npm:7.18.0" - "@typescript-eslint/typescript-estree": "npm:7.18.0" - peerDependencies: - eslint: ^8.56.0 - checksum: 10c0/a25a6d50eb45c514469a01ff01f215115a4725fb18401055a847ddf20d1b681409c4027f349033a95c4ff7138d28c3b0a70253dfe8262eb732df4b87c547bd1e - languageName: node - linkType: hard - -"@typescript-eslint/utils@npm:^8.2.0": +"@typescript-eslint/utils@npm:^6.0.0 || ^7.0.0 || ^8.0.0, @typescript-eslint/utils@npm:^8.13.0, @typescript-eslint/utils@npm:^8.16.0, @typescript-eslint/utils@npm:^8.2.0, @typescript-eslint/utils@npm:^8.8.1": version: 8.17.0 resolution: "@typescript-eslint/utils@npm:8.17.0" dependencies: @@ -18776,6 +18486,20 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/utils@npm:^7.16.0": + version: 7.18.0 + resolution: "@typescript-eslint/utils@npm:7.18.0" + dependencies: + "@eslint-community/eslint-utils": "npm:^4.4.0" + "@typescript-eslint/scope-manager": "npm:7.18.0" + "@typescript-eslint/types": "npm:7.18.0" + "@typescript-eslint/typescript-estree": "npm:7.18.0" + peerDependencies: + eslint: ^8.56.0 + checksum: 10c0/a25a6d50eb45c514469a01ff01f215115a4725fb18401055a847ddf20d1b681409c4027f349033a95c4ff7138d28c3b0a70253dfe8262eb732df4b87c547bd1e + languageName: node + linkType: hard + "@typescript-eslint/visitor-keys@npm:5.62.0": version: 5.62.0 resolution: "@typescript-eslint/visitor-keys@npm:5.62.0" @@ -19069,7 +18793,7 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/ast@npm:1.14.1, @webassemblyjs/ast@npm:^1.12.1, @webassemblyjs/ast@npm:^1.14.1": +"@webassemblyjs/ast@npm:1.14.1, @webassemblyjs/ast@npm:^1.14.1": version: 1.14.1 resolution: "@webassemblyjs/ast@npm:1.14.1" dependencies: @@ -19155,7 +18879,7 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/wasm-edit@npm:^1.12.1, @webassemblyjs/wasm-edit@npm:^1.14.1": +"@webassemblyjs/wasm-edit@npm:^1.14.1": version: 1.14.1 resolution: "@webassemblyjs/wasm-edit@npm:1.14.1" dependencies: @@ -19196,7 +18920,7 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/wasm-parser@npm:1.14.1, @webassemblyjs/wasm-parser@npm:^1.12.1, @webassemblyjs/wasm-parser@npm:^1.14.1": +"@webassemblyjs/wasm-parser@npm:1.14.1, @webassemblyjs/wasm-parser@npm:^1.14.1": version: 1.14.1 resolution: "@webassemblyjs/wasm-parser@npm:1.14.1" dependencies: @@ -20783,7 +20507,7 @@ __metadata: languageName: node linkType: hard -"axios@npm:1.7.9": +"axios@npm:1.7.9, axios@npm:^1.4.0, axios@npm:^1.6.0, axios@npm:^1.6.1, axios@npm:^1.7.7": version: 1.7.9 resolution: "axios@npm:1.7.9" dependencies: @@ -20822,17 +20546,6 @@ __metadata: languageName: node linkType: hard -"axios@npm:^1.4.0, axios@npm:^1.6.0, axios@npm:^1.6.1, axios@npm:^1.7.7": - version: 1.7.8 - resolution: "axios@npm:1.7.8" - dependencies: - follow-redirects: "npm:^1.15.6" - form-data: "npm:^4.0.0" - proxy-from-env: "npm:^1.1.0" - checksum: 10c0/23ae2d0105aea9170c34ac9b6f30d9b2ab2fa8b1370205d2f7ce98b9f9510ab420148c13359ee837ea5a4bf2fb028ff225bd2fc92052fb0c478c6b4a836e2d5f - languageName: node - linkType: hard - "axobject-query@npm:^4.1.0": version: 4.1.0 resolution: "axobject-query@npm:4.1.0" @@ -25183,15 +24896,6 @@ __metadata: languageName: node linkType: hard -"effect@npm:3.11.0": - version: 3.11.0 - resolution: "effect@npm:3.11.0" - dependencies: - fast-check: "npm:^3.21.0" - checksum: 10c0/a756a45fa98a45f1d1283909bac1995d8e160378be4fe1e3a16f469b5a78b3ac198f385f94626e344e4fc414220be511c396ff07d7bcc473bdf29d3fb6341eae - languageName: node - linkType: hard - "effect@npm:3.11.3": version: 3.11.3 resolution: "effect@npm:3.11.3" @@ -26146,7 +25850,7 @@ __metadata: languageName: node linkType: hard -"eslint-import-resolver-typescript@npm:3.7.0, eslint-import-resolver-typescript@npm:^3.6.1": +"eslint-import-resolver-typescript@npm:3.7.0, eslint-import-resolver-typescript@npm:^3.6.1, eslint-import-resolver-typescript@npm:^3.6.3": version: 3.7.0 resolution: "eslint-import-resolver-typescript@npm:3.7.0" dependencies: @@ -26171,31 +25875,6 @@ __metadata: languageName: node linkType: hard -"eslint-import-resolver-typescript@npm:^3.6.3": - version: 3.6.3 - resolution: "eslint-import-resolver-typescript@npm:3.6.3" - dependencies: - "@nolyfill/is-core-module": "npm:1.0.39" - debug: "npm:^4.3.5" - enhanced-resolve: "npm:^5.15.0" - eslint-module-utils: "npm:^2.8.1" - fast-glob: "npm:^3.3.2" - get-tsconfig: "npm:^4.7.5" - is-bun-module: "npm:^1.0.2" - is-glob: "npm:^4.0.3" - peerDependencies: - eslint: "*" - eslint-plugin-import: "*" - eslint-plugin-import-x: "*" - peerDependenciesMeta: - eslint-plugin-import: - optional: true - eslint-plugin-import-x: - optional: true - checksum: 10c0/5933b00791b7b077725b9ba9a85327d2e2dc7c8944c18a868feb317a0bf0e1e77aed2254c9c5e24dcc49360d119331d2c15281837f4269592965ace380a75111 - languageName: node - linkType: hard - "eslint-module-utils@npm:^2.12.0, eslint-module-utils@npm:^2.8.1": version: 2.12.0 resolution: "eslint-module-utils@npm:2.12.0" @@ -26487,7 +26166,7 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-react-hooks@npm:5.1.0": +"eslint-plugin-react-hooks@npm:5.1.0, eslint-plugin-react-hooks@npm:^5.0.0": version: 5.1.0 resolution: "eslint-plugin-react-hooks@npm:5.1.0" peerDependencies: @@ -26496,15 +26175,6 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-react-hooks@npm:^5.0.0": - version: 5.0.0 - resolution: "eslint-plugin-react-hooks@npm:5.0.0" - peerDependencies: - eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 - checksum: 10c0/bcb74b421f32e4203a7100405b57aab85526be4461e5a1da01bc537969a30012d2ee209a2c2a6cac543833a27188ce1e6ad71e4628d0bb4a2e5365cad86c5002 - languageName: node - linkType: hard - "eslint-plugin-react-naming-convention@npm:1.17.2": version: 1.17.2 resolution: "eslint-plugin-react-naming-convention@npm:1.17.2" @@ -27223,7 +26893,7 @@ __metadata: languageName: node linkType: hard -"express@npm:4.21.2": +"express@npm:4.21.2, express@npm:^4.17.3": version: 4.21.2 resolution: "express@npm:4.21.2" dependencies: @@ -27262,45 +26932,6 @@ __metadata: languageName: node linkType: hard -"express@npm:^4.17.3": - version: 4.21.1 - resolution: "express@npm:4.21.1" - dependencies: - accepts: "npm:~1.3.8" - array-flatten: "npm:1.1.1" - body-parser: "npm:1.20.3" - content-disposition: "npm:0.5.4" - content-type: "npm:~1.0.4" - cookie: "npm:0.7.1" - cookie-signature: "npm:1.0.6" - debug: "npm:2.6.9" - depd: "npm:2.0.0" - encodeurl: "npm:~2.0.0" - escape-html: "npm:~1.0.3" - etag: "npm:~1.8.1" - finalhandler: "npm:1.3.1" - fresh: "npm:0.5.2" - http-errors: "npm:2.0.0" - merge-descriptors: "npm:1.0.3" - methods: "npm:~1.1.2" - on-finished: "npm:2.4.1" - parseurl: "npm:~1.3.3" - path-to-regexp: "npm:0.1.10" - proxy-addr: "npm:~2.0.7" - qs: "npm:6.13.0" - range-parser: "npm:~1.2.1" - safe-buffer: "npm:5.2.1" - send: "npm:0.19.0" - serve-static: "npm:1.16.2" - setprototypeof: "npm:1.2.0" - statuses: "npm:2.0.1" - type-is: "npm:~1.6.18" - utils-merge: "npm:1.0.1" - vary: "npm:~1.1.2" - checksum: 10c0/0c287867e5f6129d3def1edd9b63103a53c40d4dc8628839d4b6827e35eb8f0de5a4656f9d85f4457eba584f9871ebb2ad26c750b36bd75d9bbb8bcebdc4892c - languageName: node - linkType: hard - "ext@npm:^1.7.0": version: 1.7.0 resolution: "ext@npm:1.7.0" @@ -32190,7 +31821,7 @@ __metadata: languageName: node linkType: hard -"jiti@npm:2.4.1": +"jiti@npm:2.4.1, jiti@npm:^2.0.0": version: 2.4.1 resolution: "jiti@npm:2.4.1" bin: @@ -32208,15 +31839,6 @@ __metadata: languageName: node linkType: hard -"jiti@npm:^2.0.0": - version: 2.4.0 - resolution: "jiti@npm:2.4.0" - bin: - jiti: lib/jiti-cli.mjs - checksum: 10c0/f97365a83169e0544b0a6e7f415f1ee69ca9c0bdd55e336035490b4b7a6ff99b63b9df89c70babfc49e924247dfbdc730f9eb0c5ed4771d3db989ac70e49bf18 - languageName: node - linkType: hard - "jju@npm:~1.4.0": version: 1.4.0 resolution: "jju@npm:1.4.0" @@ -38426,13 +38048,6 @@ __metadata: languageName: node linkType: hard -"path-to-regexp@npm:0.1.10": - version: 0.1.10 - resolution: "path-to-regexp@npm:0.1.10" - checksum: 10c0/34196775b9113ca6df88e94c8d83ba82c0e1a2063dd33bfe2803a980da8d49b91db8104f49d5191b44ea780d46b8670ce2b7f4a5e349b0c48c6779b653f1afe4 - languageName: node - linkType: hard - "path-to-regexp@npm:0.1.12": version: 0.1.12 resolution: "path-to-regexp@npm:0.1.12" @@ -42330,7 +41945,7 @@ __metadata: languageName: node linkType: hard -"sass@npm:1.82.0": +"sass@npm:1.82.0, sass@npm:^1.52.3": version: 1.82.0 resolution: "sass@npm:1.82.0" dependencies: @@ -42347,23 +41962,6 @@ __metadata: languageName: node linkType: hard -"sass@npm:^1.52.3": - version: 1.81.0 - resolution: "sass@npm:1.81.0" - dependencies: - "@parcel/watcher": "npm:^2.4.1" - chokidar: "npm:^4.0.0" - immutable: "npm:^5.0.2" - source-map-js: "npm:>=0.6.2 <2.0.0" - dependenciesMeta: - "@parcel/watcher": - optional: true - bin: - sass: sass.js - checksum: 10c0/9c59b3c9b4231c18fcb4583cc232dbc4de501ddc11101b7a025e44833e3f3ce6031546dc1cd109ee9f04ebcfb1fe30ff870810af33b8feb9aa9e36dfba9ec1ef - languageName: node - linkType: hard - "sax@npm:1.2.1": version: 1.2.1 resolution: "sax@npm:1.2.1" @@ -45389,16 +44987,7 @@ __metadata: languageName: node linkType: hard -"ts-api-utils@npm:^1.0.1": - version: 1.4.2 - resolution: "ts-api-utils@npm:1.4.2" - peerDependencies: - typescript: ">=4.2.0" - checksum: 10c0/b9d82922af42cefa14650397f5ff42a1ff8c8a1b4fac3590fa3e2daeeb3666fbe260a324f55dc748d9653dce30c2a21a148fba928511b2022bedda66423695bf - languageName: node - linkType: hard - -"ts-api-utils@npm:^1.3.0": +"ts-api-utils@npm:^1.0.1, ts-api-utils@npm:^1.3.0": version: 1.4.3 resolution: "ts-api-utils@npm:1.4.3" peerDependencies: @@ -46076,7 +45665,7 @@ __metadata: languageName: node linkType: hard -"typescript@npm:5, typescript@npm:5.7.2, typescript@npm:^5.0.4, typescript@npm:^5.4.4": +"typescript@npm:5, typescript@npm:^5.0.4, typescript@npm:^5.4.4": version: 5.7.2 resolution: "typescript@npm:5.7.2" bin: @@ -46156,7 +45745,7 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A5#optional!builtin, typescript@patch:typescript@npm%3A5.7.2#optional!builtin, typescript@patch:typescript@npm%3A^5.0.4#optional!builtin, typescript@patch:typescript@npm%3A^5.4.4#optional!builtin": +"typescript@patch:typescript@npm%3A5#optional!builtin, typescript@patch:typescript@npm%3A^5.0.4#optional!builtin, typescript@patch:typescript@npm%3A^5.4.4#optional!builtin": version: 5.7.2 resolution: "typescript@patch:typescript@npm%3A5.7.2#optional!builtin::version=5.7.2&hash=5786d5" bin: @@ -47761,43 +47350,7 @@ __metadata: languageName: node linkType: hard -"webpack@npm:5, webpack@npm:^5.72.0, webpack@npm:^5.76.0, webpack@npm:^5.94.0": - version: 5.96.1 - resolution: "webpack@npm:5.96.1" - dependencies: - "@types/eslint-scope": "npm:^3.7.7" - "@types/estree": "npm:^1.0.6" - "@webassemblyjs/ast": "npm:^1.12.1" - "@webassemblyjs/wasm-edit": "npm:^1.12.1" - "@webassemblyjs/wasm-parser": "npm:^1.12.1" - acorn: "npm:^8.14.0" - browserslist: "npm:^4.24.0" - chrome-trace-event: "npm:^1.0.2" - enhanced-resolve: "npm:^5.17.1" - es-module-lexer: "npm:^1.2.1" - eslint-scope: "npm:5.1.1" - events: "npm:^3.2.0" - glob-to-regexp: "npm:^0.4.1" - graceful-fs: "npm:^4.2.11" - json-parse-even-better-errors: "npm:^2.3.1" - loader-runner: "npm:^4.2.0" - mime-types: "npm:^2.1.27" - neo-async: "npm:^2.6.2" - schema-utils: "npm:^3.2.0" - tapable: "npm:^2.1.1" - terser-webpack-plugin: "npm:^5.3.10" - watchpack: "npm:^2.4.1" - webpack-sources: "npm:^3.2.3" - peerDependenciesMeta: - webpack-cli: - optional: true - bin: - webpack: bin/webpack.js - checksum: 10c0/ae6052fde9a546f79f14987b65823ba4024c6642a8489339ecfee7a351dff93325842aad453295bbdc6b65fb1690e4ef07529db63aa84ece55c7869e991a0039 - languageName: node - linkType: hard - -"webpack@npm:5.97.1": +"webpack@npm:5, webpack@npm:5.97.1, webpack@npm:^5.72.0, webpack@npm:^5.76.0, webpack@npm:^5.94.0": version: 5.97.1 resolution: "webpack@npm:5.97.1" dependencies: From f069376d90a5cba42128996b1730a76103a2595a Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Tue, 10 Dec 2024 13:52:40 +0100 Subject: [PATCH 31/51] fix: dependencies --- libs/@local/eslint/package.json | 2 +- yarn.lock | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/libs/@local/eslint/package.json b/libs/@local/eslint/package.json index 91b0e358160..b4d4b2dcb3a 100644 --- a/libs/@local/eslint/package.json +++ b/libs/@local/eslint/package.json @@ -40,7 +40,7 @@ }, "devDependencies": { "@types/eslint__eslintrc": "2.1.2", - "jiti": "2.4.1", + "@types/node": "22.10.1", "rimraf": "6.0.1", "typescript": "5.6.3" } diff --git a/yarn.lock b/yarn.lock index cb6aa1a0e3c..9b46ab002e9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8665,6 +8665,7 @@ __metadata: "@eslint/compat": "npm:1.2.4" "@eslint/eslintrc": "npm:3.2.0" "@types/eslint__eslintrc": "npm:2.1.2" + "@types/node": "npm:22.10.1" effect: "npm:3.11.3" eslint: "npm:9.16.0" eslint-config-airbnb: "npm:19.0.4" @@ -8680,7 +8681,6 @@ __metadata: eslint-plugin-storybook: "npm:0.11.1" eslint-unicorn: "npm:55.0.0" globals: "npm:15.13.0" - jiti: "npm:2.4.1" rimraf: "npm:6.0.1" typescript: "npm:5.6.3" languageName: unknown @@ -31821,15 +31821,6 @@ __metadata: languageName: node linkType: hard -"jiti@npm:2.4.1, jiti@npm:^2.0.0": - version: 2.4.1 - resolution: "jiti@npm:2.4.1" - bin: - jiti: lib/jiti-cli.mjs - checksum: 10c0/3cf67d1b952a9e8cffbb4f96527880da6cdb58a1eae2a6d2deb4645621dfc8b766d21549f71c6153a2094a40bb635ffafed4cd0dd42f3b3263b187d1ee846225 - languageName: node - linkType: hard - "jiti@npm:^1.17.1": version: 1.21.6 resolution: "jiti@npm:1.21.6" @@ -31839,6 +31830,15 @@ __metadata: languageName: node linkType: hard +"jiti@npm:^2.0.0": + version: 2.4.1 + resolution: "jiti@npm:2.4.1" + bin: + jiti: lib/jiti-cli.mjs + checksum: 10c0/3cf67d1b952a9e8cffbb4f96527880da6cdb58a1eae2a6d2deb4645621dfc8b766d21549f71c6153a2094a40bb635ffafed4cd0dd42f3b3263b187d1ee846225 + languageName: node + linkType: hard + "jju@npm:~1.4.0": version: 1.4.0 resolution: "jju@npm:1.4.0" From 911f91d04b2d9e139831e34d1c07739033a91de4 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Tue, 10 Dec 2024 13:56:55 +0100 Subject: [PATCH 32/51] feat: add explicit parser --- apps/plugin-browser/package.json | 1 - libs/@local/eslint/package.json | 1 + yarn.lock | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/plugin-browser/package.json b/apps/plugin-browser/package.json index 32c7958454f..482caf28bd6 100755 --- a/apps/plugin-browser/package.json +++ b/apps/plugin-browser/package.json @@ -50,7 +50,6 @@ }, "devDependencies": { "@babel/core": "7.26.0", - "@babel/eslint-parser": "7.25.9", "@babel/plugin-proposal-class-properties": "7.18.6", "@babel/preset-env": "7.26.0", "@babel/preset-react": "7.26.3", diff --git a/libs/@local/eslint/package.json b/libs/@local/eslint/package.json index b4d4b2dcb3a..f86c2b84dad 100644 --- a/libs/@local/eslint/package.json +++ b/libs/@local/eslint/package.json @@ -20,6 +20,7 @@ "lint:eslint": "eslint --report-unused-disable-directives --flag unstable_ts_config ." }, "dependencies": { + "@babel/eslint-parser": "7.25.9", "@eslint/compat": "1.2.4", "@eslint/eslintrc": "3.2.0", "effect": "3.11.3", diff --git a/yarn.lock b/yarn.lock index 9b46ab002e9..fa0532845ae 100644 --- a/yarn.lock +++ b/yarn.lock @@ -814,7 +814,6 @@ __metadata: resolution: "@apps/plugin-browser@workspace:apps/plugin-browser" dependencies: "@babel/core": "npm:7.26.0" - "@babel/eslint-parser": "npm:7.25.9" "@babel/plugin-proposal-class-properties": "npm:7.18.6" "@babel/plugin-proposal-private-property-in-object": "npm:^7.16.7" "@babel/preset-env": "npm:7.26.0" @@ -8662,6 +8661,7 @@ __metadata: version: 0.0.0-use.local resolution: "@local/eslint@workspace:libs/@local/eslint" dependencies: + "@babel/eslint-parser": "npm:7.25.9" "@eslint/compat": "npm:1.2.4" "@eslint/eslintrc": "npm:3.2.0" "@types/eslint__eslintrc": "npm:2.1.2" From c2f933ac3b323f5139ccf704b51af57ac38b4cf6 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Tue, 10 Dec 2024 14:03:41 +0100 Subject: [PATCH 33/51] feat: pin `@types/scheduler` --- package.json | 1 + yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 2998d109981..2a7b4899c19 100644 --- a/package.json +++ b/package.json @@ -99,6 +99,7 @@ "@tldraw/tlschema@npm:2.0.0-alpha.12": "patch:@tldraw/tlschema@npm%3A2.0.0-alpha.12#~/.yarn/patches/@tldraw-tlschema-npm-2.0.0-alpha.12-13bf88407b.patch", "@types/express": "4.17.21", "@types/react": "18.2.68", + "@types/react/@types/scheduler": "0.16.8", "blockprotocol@npm:0.0.10": "patch:blockprotocol@npm%3A0.0.12#~/.yarn/patches/blockprotocol-npm-0.0.12-2558a31f0a.patch", "prosemirror-model@npm:>=1.0.0": "patch:prosemirror-model@npm%3A1.18.2#~/.yarn/patches/prosemirror-model-npm-1.18.2-479d845b52.patch", "prosemirror-model@npm:^1.0.0": "patch:prosemirror-model@npm%3A1.18.2#~/.yarn/patches/prosemirror-model-npm-1.18.2-479d845b52.patch", diff --git a/yarn.lock b/yarn.lock index fa0532845ae..dbf949b0364 100644 --- a/yarn.lock +++ b/yarn.lock @@ -17948,10 +17948,10 @@ __metadata: languageName: node linkType: hard -"@types/scheduler@npm:*": - version: 0.23.0 - resolution: "@types/scheduler@npm:0.23.0" - checksum: 10c0/5cf7f2ba3732b74877559eb20b19f95fcd0a20c17dcb20e75a7ca7c7369cd455aeb2d406b3ff5a38168a9750da3bad78dd20d96d11118468b78f4959b8e56090 +"@types/scheduler@npm:0.16.8": + version: 0.16.8 + resolution: "@types/scheduler@npm:0.16.8" + checksum: 10c0/f86de504945b8fc41b1f391f847444d542e2e4067cf7e5d9bfeb5d2d2393d3203b1161bc0ef3b1e104d828dabfb60baf06e8d2c27e27ff7e8258e6e618d8c4ec languageName: node linkType: hard From efaa7815f69483fe9e1eef97ce3111bc09319b22 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Tue, 10 Dec 2024 14:22:32 +0100 Subject: [PATCH 34/51] chore: remove outdated @types --- libs/@blockprotocol/graph/package.json | 2 +- package.json | 2 + yarn.lock | 332 +++---------------------- 3 files changed, 40 insertions(+), 296 deletions(-) diff --git a/libs/@blockprotocol/graph/package.json b/libs/@blockprotocol/graph/package.json index c3d0d399f5f..1dfcd68af74 100644 --- a/libs/@blockprotocol/graph/package.json +++ b/libs/@blockprotocol/graph/package.json @@ -69,7 +69,7 @@ "@blockprotocol/type-system": "0.1.2-canary.0", "ajv": "8.17.1", "ajv-formats": "3.0.1", - "json-schema-to-typescript": "11.0.5", + "json-schema-to-typescript": "15.0.3", "lit": "2.8.0", "lodash.isequal": "4.5.0", "typescript": "5.6.3" diff --git a/package.json b/package.json index 2a7b4899c19..01e1458816f 100644 --- a/package.json +++ b/package.json @@ -84,6 +84,7 @@ }, "resolutions": { "@artilleryio/int-commons@npm:2.11.0": "patch:@artilleryio/int-commons@npm%3A2.11.0#~/.yarn/patches/@artilleryio-int-commons-npm-2.11.0-5b69c05121.patch", + "@blockprotocol/graph/json-schema-to-typescript": "15.0.3", "@changesets/assemble-release-plan@npm:^5.2.3": "patch:@changesets/assemble-release-plan@npm%3A5.2.4#~/.yarn/patches/@changesets-assemble-release-plan-npm-5.2.4-2920e4dc4c.patch", "@changesets/assemble-release-plan@npm:^5.2.4": "patch:@changesets/assemble-release-plan@npm%3A5.2.4#~/.yarn/patches/@changesets-assemble-release-plan-npm-5.2.4-2920e4dc4c.patch", "@changesets/get-dependents-graph@npm:^1.3.5": "patch:@changesets/get-dependents-graph@npm%3A1.3.6#~/.yarn/patches/@changesets-get-dependents-graph-npm-1.3.6-ddd5f64f78.patch", @@ -101,6 +102,7 @@ "@types/react": "18.2.68", "@types/react/@types/scheduler": "0.16.8", "blockprotocol@npm:0.0.10": "patch:blockprotocol@npm%3A0.0.12#~/.yarn/patches/blockprotocol-npm-0.0.12-2558a31f0a.patch", + "clean-webpack-plugin/del": "6.1.1", "prosemirror-model@npm:>=1.0.0": "patch:prosemirror-model@npm%3A1.18.2#~/.yarn/patches/prosemirror-model-npm-1.18.2-479d845b52.patch", "prosemirror-model@npm:^1.0.0": "patch:prosemirror-model@npm%3A1.18.2#~/.yarn/patches/prosemirror-model-npm-1.18.2-479d845b52.patch", "prosemirror-model@npm:^1.16.0": "patch:prosemirror-model@npm%3A1.18.2#~/.yarn/patches/prosemirror-model-npm-1.18.2-479d845b52.patch", diff --git a/yarn.lock b/yarn.lock index dbf949b0364..5de54c9da92 100644 --- a/yarn.lock +++ b/yarn.lock @@ -92,6 +92,17 @@ __metadata: languageName: node linkType: hard +"@apidevtools/json-schema-ref-parser@npm:^11.5.5": + version: 11.7.3 + resolution: "@apidevtools/json-schema-ref-parser@npm:11.7.3" + dependencies: + "@jsdevtools/ono": "npm:^7.1.3" + "@types/json-schema": "npm:^7.0.15" + js-yaml: "npm:^4.1.0" + checksum: 10c0/326dcb3d4dfaf3f75ecab1ffae99d71123cc0a062a5996ac3d0ae66a1c6a852975bbdf606d2ef559766119e84aa6ca72b155f90529458d9ce22ab9d6c513404c + languageName: node + linkType: hard + "@apollo/client@npm:3.10.5": version: 3.10.5 resolution: "@apollo/client@npm:3.10.5" @@ -3962,18 +3973,6 @@ __metadata: languageName: node linkType: hard -"@bcherny/json-schema-ref-parser@npm:10.0.5-fork": - version: 10.0.5-fork - resolution: "@bcherny/json-schema-ref-parser@npm:10.0.5-fork" - dependencies: - "@jsdevtools/ono": "npm:^7.1.3" - "@types/json-schema": "npm:^7.0.6" - call-me-maybe: "npm:^1.0.1" - js-yaml: "npm:^4.1.0" - checksum: 10c0/3fb8aa660e4ec457df56224cda531ad92495a24aa8c05788761b74716169c781aebceb3476b072d327efe48b52c1a0c3ddc57823c0e8c4503abb2a7d82b43235 - languageName: node - linkType: hard - "@bcoe/v8-coverage@npm:^0.2.3": version: 0.2.3 resolution: "@bcoe/v8-coverage@npm:0.2.3" @@ -4124,7 +4123,7 @@ __metadata: ajv: "npm:8.17.1" ajv-formats: "npm:3.0.1" eslint: "npm:9.16.0" - json-schema-to-typescript: "npm:11.0.5" + json-schema-to-typescript: "npm:15.0.3" lit: "npm:2.8.0" lodash.isequal: "npm:4.5.0" rimraf: "npm:6.0.1" @@ -17219,16 +17218,6 @@ __metadata: languageName: node linkType: hard -"@types/glob@npm:^7.1.1, @types/glob@npm:^7.1.3": - version: 7.2.0 - resolution: "@types/glob@npm:7.2.0" - dependencies: - "@types/minimatch": "npm:*" - "@types/node": "npm:*" - checksum: 10c0/a8eb5d5cb5c48fc58c7ca3ff1e1ddf771ee07ca5043da6e4871e6757b4472e2e73b4cfef2644c38983174a4bc728c73f8da02845c28a1212f98cabd293ecae98 - languageName: node - linkType: hard - "@types/google.accounts@npm:0.0.15": version: 0.0.15 resolution: "@types/google.accounts@npm:0.0.15" @@ -17409,7 +17398,7 @@ __metadata: languageName: node linkType: hard -"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.11, @types/json-schema@npm:^7.0.12, @types/json-schema@npm:^7.0.15, @types/json-schema@npm:^7.0.5, @types/json-schema@npm:^7.0.6, @types/json-schema@npm:^7.0.7, @types/json-schema@npm:^7.0.8, @types/json-schema@npm:^7.0.9": +"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.12, @types/json-schema@npm:^7.0.15, @types/json-schema@npm:^7.0.5, @types/json-schema@npm:^7.0.7, @types/json-schema@npm:^7.0.8, @types/json-schema@npm:^7.0.9": version: 7.0.15 resolution: "@types/json-schema@npm:7.0.15" checksum: 10c0/a996a745e6c5d60292f36731dd41341339d4eeed8180bb09226e5c8d23759067692b1d88e5d91d72ee83dfc00d3aca8e7bd43ea120516c17922cbcb7c3e252db @@ -17511,7 +17500,7 @@ __metadata: languageName: node linkType: hard -"@types/lodash@npm:*, @types/lodash@npm:4.17.13, @types/lodash@npm:^4.14.149, @types/lodash@npm:^4.14.167, @types/lodash@npm:^4.14.182, @types/lodash@npm:^4.14.202, @types/lodash@npm:^4.17.0, @types/lodash@npm:^4.17.13": +"@types/lodash@npm:*, @types/lodash@npm:4.17.13, @types/lodash@npm:^4.14.149, @types/lodash@npm:^4.14.167, @types/lodash@npm:^4.14.202, @types/lodash@npm:^4.17.0, @types/lodash@npm:^4.17.13, @types/lodash@npm:^4.17.7": version: 4.17.13 resolution: "@types/lodash@npm:4.17.13" checksum: 10c0/c3d0b7efe7933ac0369b99f2f7bff9240d960680fdb74b41ed4bd1b3ca60cca1e31fe4046d9abbde778f941a41bc2a75eb629abf8659fa6c27b66efbbb0802a9 @@ -17578,13 +17567,6 @@ __metadata: languageName: node linkType: hard -"@types/minimatch@npm:*": - version: 5.1.2 - resolution: "@types/minimatch@npm:5.1.2" - checksum: 10c0/83cf1c11748891b714e129de0585af4c55dd4c2cafb1f1d5233d79246e5e1e19d1b5ad9e8db449667b3ffa2b6c80125c429dbee1054e9efb45758dbc4e118562 - languageName: node - linkType: hard - "@types/minimist@npm:^1.2.0": version: 1.2.5 resolution: "@types/minimist@npm:1.2.5" @@ -17730,7 +17712,7 @@ __metadata: languageName: node linkType: hard -"@types/prettier@npm:2.7.3, @types/prettier@npm:^2.6.1": +"@types/prettier@npm:2.7.3": version: 2.7.3 resolution: "@types/prettier@npm:2.7.3" checksum: 10c0/0960b5c1115bb25e979009d0b44c42cf3d792accf24085e4bfce15aef5794ea042e04e70c2139a2c3387f781f18c89b5706f000ddb089e9a4a2ccb7536a2c5f0 @@ -19919,15 +19901,6 @@ __metadata: languageName: node linkType: hard -"array-union@npm:^1.0.1": - version: 1.0.2 - resolution: "array-union@npm:1.0.2" - dependencies: - array-uniq: "npm:^1.0.1" - checksum: 10c0/18686767c0cfdae8dc4acf5ac119b0f0eacad82b7fcc0aa62cc41f93c5ad406d494b6a6e53d85e52e8f0349b67a4fec815feeb537e95c02510d747bc9a4157c7 - languageName: node - linkType: hard - "array-union@npm:^2.1.0": version: 2.1.0 resolution: "array-union@npm:2.1.0" @@ -19942,13 +19915,6 @@ __metadata: languageName: node linkType: hard -"array-uniq@npm:^1.0.1": - version: 1.0.3 - resolution: "array-uniq@npm:1.0.3" - checksum: 10c0/3acbaf9e6d5faeb1010e2db04ab171b8d265889e46c61762e502979bdc5e55656013726e9a61507de3c82d329a0dc1e8072630a3454b4f2b881cb19ba7fd8aa6 - languageName: node - linkType: hard - "array.prototype.findlast@npm:^1.2.5": version: 1.2.5 resolution: "array.prototype.findlast@npm:1.2.5" @@ -22083,19 +22049,6 @@ __metadata: languageName: node linkType: hard -"cli-color@npm:^2.0.2": - version: 2.0.4 - resolution: "cli-color@npm:2.0.4" - dependencies: - d: "npm:^1.0.1" - es5-ext: "npm:^0.10.64" - es6-iterator: "npm:^2.0.3" - memoizee: "npm:^0.4.15" - timers-ext: "npm:^0.1.7" - checksum: 10c0/49a0078fa3517cdfb3ad919a05ab2fe7352d9c9f0617937c38fc6245a38101632d9a23f40a53b2818773d2694b8ae814ff760801a702a26d76b297990ce8d399 - languageName: node - linkType: hard - "cli-cursor@npm:^3.1.0": version: 3.1.0 resolution: "cli-cursor@npm:3.1.0" @@ -23653,16 +23606,6 @@ __metadata: languageName: node linkType: hard -"d@npm:1, d@npm:^1.0.1, d@npm:^1.0.2": - version: 1.0.2 - resolution: "d@npm:1.0.2" - dependencies: - es5-ext: "npm:^0.10.64" - type: "npm:^2.7.2" - checksum: 10c0/3e6ede10cd3b77586c47da48423b62bed161bf1a48bdbcc94d87263522e22f5dfb0e678a6dba5323fdc14c5d8612b7f7eb9e7d9e37b2e2d67a7bf9f116dabe5a - languageName: node - linkType: hard - "damerau-levenshtein@npm:^1.0.8": version: 1.0.8 resolution: "damerau-levenshtein@npm:1.0.8" @@ -24135,22 +24078,7 @@ __metadata: languageName: node linkType: hard -"del@npm:^4.1.1": - version: 4.1.1 - resolution: "del@npm:4.1.1" - dependencies: - "@types/glob": "npm:^7.1.1" - globby: "npm:^6.1.0" - is-path-cwd: "npm:^2.0.0" - is-path-in-cwd: "npm:^2.0.0" - p-map: "npm:^2.0.0" - pify: "npm:^4.0.1" - rimraf: "npm:^2.6.3" - checksum: 10c0/ed3233e86e39c0a6a7ea85d8ad0ebc00603078ad408b9c34b4742f707c20028c5731dce2e8aa9a6eb5ae6bee30ccc5405cf7b5d457306520e37c92d0410b6061 - languageName: node - linkType: hard - -"del@npm:^6.0.0": +"del@npm:6.1.1, del@npm:^6.0.0": version: 6.1.1 resolution: "del@npm:6.1.1" dependencies: @@ -25319,18 +25247,6 @@ __metadata: languageName: node linkType: hard -"es5-ext@npm:^0.10.35, es5-ext@npm:^0.10.46, es5-ext@npm:^0.10.62, es5-ext@npm:^0.10.64, es5-ext@npm:~0.10.14, es5-ext@npm:~0.10.2": - version: 0.10.64 - resolution: "es5-ext@npm:0.10.64" - dependencies: - es6-iterator: "npm:^2.0.3" - es6-symbol: "npm:^3.1.3" - esniff: "npm:^2.0.1" - next-tick: "npm:^1.1.0" - checksum: 10c0/4459b6ae216f3c615db086e02437bdfde851515a101577fd61b19f9b3c1ad924bab4d197981eb7f0ccb915f643f2fc10ff76b97a680e96cbb572d15a27acd9a3 - languageName: node - linkType: hard - "es6-error@npm:^4.1.1": version: 4.1.1 resolution: "es6-error@npm:4.1.1" @@ -25338,17 +25254,6 @@ __metadata: languageName: node linkType: hard -"es6-iterator@npm:^2.0.3": - version: 2.0.3 - resolution: "es6-iterator@npm:2.0.3" - dependencies: - d: "npm:1" - es5-ext: "npm:^0.10.35" - es6-symbol: "npm:^3.1.1" - checksum: 10c0/91f20b799dba28fb05bf623c31857fc1524a0f1c444903beccaf8929ad196c8c9ded233e5ac7214fc63a92b3f25b64b7f2737fcca8b1f92d2d96cf3ac902f5d8 - languageName: node - linkType: hard - "es6-promise@npm:^3.2.1": version: 3.3.1 resolution: "es6-promise@npm:3.3.1" @@ -25363,28 +25268,6 @@ __metadata: languageName: node linkType: hard -"es6-symbol@npm:^3.1.1, es6-symbol@npm:^3.1.3": - version: 3.1.4 - resolution: "es6-symbol@npm:3.1.4" - dependencies: - d: "npm:^1.0.2" - ext: "npm:^1.7.0" - checksum: 10c0/777bf3388db5d7919e09a0fd175aa5b8a62385b17cb2227b7a137680cba62b4d9f6193319a102642aa23d5840d38a62e4784f19cfa5be4a2210a3f0e9b23d15d - languageName: node - linkType: hard - -"es6-weak-map@npm:^2.0.3": - version: 2.0.3 - resolution: "es6-weak-map@npm:2.0.3" - dependencies: - d: "npm:1" - es5-ext: "npm:^0.10.46" - es6-iterator: "npm:^2.0.3" - es6-symbol: "npm:^3.1.1" - checksum: 10c0/460932be9542473dbbddd183e21c15a66cfec1b2c17dae2b514e190d6fb2896b7eb683783d4b36da036609d2e1c93d2815f21b374dfccaf02a8978694c2f7b67 - languageName: node - linkType: hard - "esbuild-plugin-alias@npm:^0.2.1": version: 0.2.1 resolution: "esbuild-plugin-alias@npm:0.2.1" @@ -26521,18 +26404,6 @@ __metadata: languageName: node linkType: hard -"esniff@npm:^2.0.1": - version: 2.0.1 - resolution: "esniff@npm:2.0.1" - dependencies: - d: "npm:^1.0.1" - es5-ext: "npm:^0.10.62" - event-emitter: "npm:^0.3.5" - type: "npm:^2.7.2" - checksum: 10c0/7efd8d44ac20e5db8cb0ca77eb65eca60628b2d0f3a1030bcb05e71cc40e6e2935c47b87dba3c733db12925aa5b897f8e0e7a567a2c274206f184da676ea2e65 - languageName: node - linkType: hard - "espree@npm:^10.0.0, espree@npm:^10.0.1, espree@npm:^10.1.0, espree@npm:^10.3.0": version: 10.3.0 resolution: "espree@npm:10.3.0" @@ -26692,16 +26563,6 @@ __metadata: languageName: node linkType: hard -"event-emitter@npm:^0.3.5": - version: 0.3.5 - resolution: "event-emitter@npm:0.3.5" - dependencies: - d: "npm:1" - es5-ext: "npm:~0.10.14" - checksum: 10c0/75082fa8ffb3929766d0f0a063bfd6046bd2a80bea2666ebaa0cfd6f4a9116be6647c15667bea77222afc12f5b4071b68d393cf39fdaa0e8e81eda006160aff0 - languageName: node - linkType: hard - "event-target-shim@npm:^5.0.0": version: 5.0.1 resolution: "event-target-shim@npm:5.0.1" @@ -26932,15 +26793,6 @@ __metadata: languageName: node linkType: hard -"ext@npm:^1.7.0": - version: 1.7.0 - resolution: "ext@npm:1.7.0" - dependencies: - type: "npm:^2.7.2" - checksum: 10c0/a8e5f34e12214e9eee3a4af3b5c9d05ba048f28996450975b369fc86e5d0ef13b6df0615f892f5396a9c65d616213c25ec5b0ad17ef42eac4a500512a19da6c7 - languageName: node - linkType: hard - "extend-shallow@npm:^2.0.1": version: 2.0.1 resolution: "extend-shallow@npm:2.0.1" @@ -28323,13 +28175,6 @@ __metadata: languageName: node linkType: hard -"get-stdin@npm:^8.0.0": - version: 8.0.0 - resolution: "get-stdin@npm:8.0.0" - checksum: 10c0/b71b72b83928221052f713b3b6247ebf1ceaeb4ef76937778557537fd51ad3f586c9e6a7476865022d9394b39b74eed1dc7514052fa74d80625276253571b76f - languageName: node - linkType: hard - "get-stdin@npm:^9.0.0": version: 9.0.0 resolution: "get-stdin@npm:9.0.0" @@ -28477,17 +28322,6 @@ __metadata: languageName: node linkType: hard -"glob-promise@npm:^4.2.2": - version: 4.2.2 - resolution: "glob-promise@npm:4.2.2" - dependencies: - "@types/glob": "npm:^7.1.3" - peerDependencies: - glob: ^7.1.6 - checksum: 10c0/3eb01bed2901539365df6a4d27800afb8788840647d01f9bf3500b3de756597f2ff4b8c823971ace34db228c83159beca459dc42a70968d4e9c8200ed2cc96bd - languageName: node - linkType: hard - "glob-to-regexp@npm:^0.4.1": version: 0.4.1 resolution: "glob-to-regexp@npm:0.4.1" @@ -28553,7 +28387,7 @@ __metadata: languageName: node linkType: hard -"glob@npm:^7.0.3, glob@npm:^7.1.1, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:^7.1.7, glob@npm:^7.2.0, glob@npm:^7.2.3": +"glob@npm:^7.1.1, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:^7.1.7, glob@npm:^7.2.0, glob@npm:^7.2.3": version: 7.2.3 resolution: "glob@npm:7.2.3" dependencies: @@ -28675,19 +28509,6 @@ __metadata: languageName: node linkType: hard -"globby@npm:^6.1.0": - version: 6.1.0 - resolution: "globby@npm:6.1.0" - dependencies: - array-union: "npm:^1.0.1" - glob: "npm:^7.0.3" - object-assign: "npm:^4.0.1" - pify: "npm:^2.0.0" - pinkie-promise: "npm:^2.0.0" - checksum: 10c0/656ad1f0d02c6ef378c07589519ed3ec27fe988ea177195c05b8aff280320f3d67b91fa0baa6f7e49288f9bf1f92fc84f783a79ac3ed66278f3fa082e627ed84 - languageName: node - linkType: hard - "globrex@npm:^0.1.2": version: 0.1.2 resolution: "globrex@npm:0.1.2" @@ -30975,31 +30796,13 @@ __metadata: languageName: node linkType: hard -"is-path-cwd@npm:^2.0.0, is-path-cwd@npm:^2.2.0": +"is-path-cwd@npm:^2.2.0": version: 2.2.0 resolution: "is-path-cwd@npm:2.2.0" checksum: 10c0/afce71533a427a759cd0329301c18950333d7589533c2c90205bd3fdcf7b91eb92d1940493190567a433134d2128ec9325de2fd281e05be1920fbee9edd22e0a languageName: node linkType: hard -"is-path-in-cwd@npm:^2.0.0": - version: 2.1.0 - resolution: "is-path-in-cwd@npm:2.1.0" - dependencies: - is-path-inside: "npm:^2.1.0" - checksum: 10c0/674a4282fb3732cf4b4e9ea31e06380d8b074fb8106c4c1742a9f0f3d5650bf059b2c45e5c4cfa7abe847ca88474de63abec323a7fe1eb14f8ec4de2fa951d3a - languageName: node - linkType: hard - -"is-path-inside@npm:^2.1.0": - version: 2.1.0 - resolution: "is-path-inside@npm:2.1.0" - dependencies: - path-is-inside: "npm:^1.0.2" - checksum: 10c0/50272b9aa301964c0bc4032d5c968e63c516d15bd7800cd06845df97bee637451fcd92a8001b37e309563eff2dffae5fa6d635a0c1d162dc257489c86b1fda51 - languageName: node - linkType: hard - "is-path-inside@npm:^3.0.2": version: 3.0.3 resolution: "is-path-inside@npm:3.0.3" @@ -31058,13 +30861,6 @@ __metadata: languageName: node linkType: hard -"is-promise@npm:^2.2.2": - version: 2.2.2 - resolution: "is-promise@npm:2.2.2" - checksum: 10c0/2dba959812380e45b3df0fb12e7cb4d4528c989c7abb03ececb1d1fd6ab1cbfee956ca9daa587b9db1d8ac3c1e5738cf217bdb3dfd99df8c691be4c00ae09069 - languageName: node - linkType: hard - "is-proto-prop@npm:^2.0.0": version: 2.0.0 resolution: "is-proto-prop@npm:2.0.0" @@ -32115,27 +31911,22 @@ __metadata: languageName: node linkType: hard -"json-schema-to-typescript@npm:11.0.5, json-schema-to-typescript@npm:^11.0.2": - version: 11.0.5 - resolution: "json-schema-to-typescript@npm:11.0.5" - dependencies: - "@bcherny/json-schema-ref-parser": "npm:10.0.5-fork" - "@types/json-schema": "npm:^7.0.11" - "@types/lodash": "npm:^4.14.182" - "@types/prettier": "npm:^2.6.1" - cli-color: "npm:^2.0.2" - get-stdin: "npm:^8.0.0" - glob: "npm:^7.1.6" - glob-promise: "npm:^4.2.2" +"json-schema-to-typescript@npm:15.0.3": + version: 15.0.3 + resolution: "json-schema-to-typescript@npm:15.0.3" + dependencies: + "@apidevtools/json-schema-ref-parser": "npm:^11.5.5" + "@types/json-schema": "npm:^7.0.15" + "@types/lodash": "npm:^4.17.7" is-glob: "npm:^4.0.3" + js-yaml: "npm:^4.1.0" lodash: "npm:^4.17.21" - minimist: "npm:^1.2.6" - mkdirp: "npm:^1.0.4" - mz: "npm:^2.7.0" - prettier: "npm:^2.6.2" + minimist: "npm:^1.2.8" + prettier: "npm:^3.2.5" + tinyglobby: "npm:^0.2.9" bin: json2ts: dist/src/cli.js - checksum: 10c0/559cd8d15e0da897bd610e806d1c79afdc1dbac59468785e3b88e789413654558ee837befde6c2d0f29c01b841ea6997570c6fb6d2e7ed256369c1921855482c + checksum: 10c0/b972ceb85c9491a08964669ba878b2f12ba27ef14d4ac0444dac6c9479f91e635b1a6a3bf491a8b36cba6409edbdb2730a8f30db6106305e344f5bce0bf1a76d languageName: node linkType: hard @@ -33484,15 +33275,6 @@ __metadata: languageName: node linkType: hard -"lru-queue@npm:^0.1.0": - version: 0.1.0 - resolution: "lru-queue@npm:0.1.0" - dependencies: - es5-ext: "npm:~0.10.2" - checksum: 10c0/83517032b46843601c4528be65e8aaf85f5a7860a9cfa3e4f2b5591da436e7cd748d95b450c91434c4ffb75d3ae4c069ddbdd9f71ada56a99a00c03088c51b4d - languageName: node - linkType: hard - "lunr@npm:^2.3.9": version: 2.3.9 resolution: "lunr@npm:2.3.9" @@ -34354,22 +34136,6 @@ __metadata: languageName: node linkType: hard -"memoizee@npm:^0.4.15": - version: 0.4.17 - resolution: "memoizee@npm:0.4.17" - dependencies: - d: "npm:^1.0.2" - es5-ext: "npm:^0.10.64" - es6-weak-map: "npm:^2.0.3" - event-emitter: "npm:^0.3.5" - is-promise: "npm:^2.2.2" - lru-queue: "npm:^0.1.0" - next-tick: "npm:^1.1.0" - timers-ext: "npm:^0.1.7" - checksum: 10c0/19821d055f0f641e79b718f91d6d89a6c92840643234a6f4e91d42aa330e8406f06c47d3828931e177c38830aa9b959710e5b7f0013be452af46d0f9eae4baf4 - languageName: node - linkType: hard - "memoizerific@npm:^1.11.3": version: 1.11.3 resolution: "memoizerific@npm:1.11.3" @@ -35619,7 +35385,7 @@ __metadata: languageName: node linkType: hard -"mkdirp@npm:^1.0.3, mkdirp@npm:^1.0.4": +"mkdirp@npm:^1.0.3": version: 1.0.4 resolution: "mkdirp@npm:1.0.4" bin: @@ -36085,7 +35851,7 @@ __metadata: languageName: node linkType: hard -"mz@npm:^2.6.0, mz@npm:^2.7.0": +"mz@npm:^2.6.0": version: 2.7.0 resolution: "mz@npm:2.7.0" dependencies: @@ -36227,13 +35993,6 @@ __metadata: languageName: node linkType: hard -"next-tick@npm:^1.1.0": - version: 1.1.0 - resolution: "next-tick@npm:1.1.0" - checksum: 10c0/3ba80dd805fcb336b4f52e010992f3e6175869c8d88bf4ff0a81d5d66e6049f89993463b28211613e58a6b7fe93ff5ccbba0da18d4fa574b96289e8f0b577f28 - languageName: node - linkType: hard - "next@npm:13.5.5": version: 13.5.5 resolution: "next@npm:13.5.5" @@ -37977,7 +37736,7 @@ __metadata: languageName: node linkType: hard -"path-is-inside@npm:1.0.2, path-is-inside@npm:^1.0.2": +"path-is-inside@npm:1.0.2": version: 1.0.2 resolution: "path-is-inside@npm:1.0.2" checksum: 10c0/7fdd4b41672c70461cce734fc222b33e7b447fa489c7c4377c95e7e6852d83d69741f307d88ec0cc3b385b41cb4accc6efac3c7c511cd18512e95424f5fa980c @@ -38359,7 +38118,7 @@ __metadata: languageName: node linkType: hard -"pify@npm:^2.0.0, pify@npm:^2.3.0": +"pify@npm:^2.3.0": version: 2.3.0 resolution: "pify@npm:2.3.0" checksum: 10c0/551ff8ab830b1052633f59cb8adc9ae8407a436e06b4a9718bcb27dc5844b83d535c3a8512b388b6062af65a98c49bdc0dd523d8b2617b188f7c8fee457158dc @@ -38872,7 +38631,7 @@ __metadata: languageName: node linkType: hard -"prettier@npm:3.4.2": +"prettier@npm:3.4.2, prettier@npm:^3.2.5": version: 3.4.2 resolution: "prettier@npm:3.4.2" bin: @@ -38881,7 +38640,7 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^2.3.2, prettier@npm:^2.6.2, prettier@npm:^2.7.1, prettier@npm:^2.8.0": +"prettier@npm:^2.3.2, prettier@npm:^2.7.1, prettier@npm:^2.8.0": version: 2.8.8 resolution: "prettier@npm:2.8.8" bin: @@ -41579,7 +41338,7 @@ __metadata: languageName: node linkType: hard -"rimraf@npm:^2.6.1, rimraf@npm:^2.6.3": +"rimraf@npm:^2.6.1": version: 2.7.1 resolution: "rimraf@npm:2.7.1" dependencies: @@ -44648,16 +44407,6 @@ __metadata: languageName: node linkType: hard -"timers-ext@npm:^0.1.7": - version: 0.1.8 - resolution: "timers-ext@npm:0.1.8" - dependencies: - es5-ext: "npm:^0.10.64" - next-tick: "npm:^1.1.0" - checksum: 10c0/d0222d0c171d08df69e51462e3fa2085744d13f8ac82b27597db05db1a09bc4244e03ea3cebe89ba279fd43f45daa39156acbe5b6ae5a9b9d62d300543312533 - languageName: node - linkType: hard - "tiny-inflate@npm:^1.0.0": version: 1.0.3 resolution: "tiny-inflate@npm:1.0.3" @@ -45514,13 +45263,6 @@ __metadata: languageName: node linkType: hard -"type@npm:^2.7.2": - version: 2.7.3 - resolution: "type@npm:2.7.3" - checksum: 10c0/dec6902c2c42fcb86e3adf8cdabdf80e5ef9de280872b5fd547351e9cca2fe58dd2aa6d2547626ddff174145db272f62d95c7aa7038e27c11315657d781a688d - languageName: node - linkType: hard - "typed-array-buffer@npm:^1.0.2": version: 1.0.2 resolution: "typed-array-buffer@npm:1.0.2" From 668b5095a6e95d4f28e99e797dbf6ecf9bef32a5 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Tue, 10 Dec 2024 14:33:09 +0100 Subject: [PATCH 35/51] fix: eslint build --- libs/@local/eslint/package.json | 1 + libs/@local/eslint/tsconfig.build.json | 1 + libs/@local/eslint/tsconfig.json | 5 +- package.json | 3 - yarn.lock | 321 +++++++++++++++++++++++-- 5 files changed, 308 insertions(+), 23 deletions(-) diff --git a/libs/@local/eslint/package.json b/libs/@local/eslint/package.json index f86c2b84dad..15f0b95c661 100644 --- a/libs/@local/eslint/package.json +++ b/libs/@local/eslint/package.json @@ -40,6 +40,7 @@ "globals": "15.13.0" }, "devDependencies": { + "@local/tsconfig": "0.0.0-private", "@types/eslint__eslintrc": "2.1.2", "@types/node": "22.10.1", "rimraf": "6.0.1", diff --git a/libs/@local/eslint/tsconfig.build.json b/libs/@local/eslint/tsconfig.build.json index 85f5f1162d1..f57633edc28 100644 --- a/libs/@local/eslint/tsconfig.build.json +++ b/libs/@local/eslint/tsconfig.build.json @@ -1,5 +1,6 @@ { "extends": "./tsconfig.json", + "include": ["src"], "compilerOptions": { "declaration": true, "outDir": "dist", diff --git a/libs/@local/eslint/tsconfig.json b/libs/@local/eslint/tsconfig.json index eb10ba6de91..1d8fe2a0680 100644 --- a/libs/@local/eslint/tsconfig.json +++ b/libs/@local/eslint/tsconfig.json @@ -1,9 +1,6 @@ { - // TODO: hook this into the global TS config + "extends": "@local/tsconfig/legacy-base-tsconfig-to-refactor.json", "compilerOptions": { - "strict": true, - "allowJs": false, - "exactOptionalPropertyTypes": false, "module": "NodeNext", "moduleResolution": "NodeNext" }, diff --git a/package.json b/package.json index 01e1458816f..2998d109981 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,6 @@ }, "resolutions": { "@artilleryio/int-commons@npm:2.11.0": "patch:@artilleryio/int-commons@npm%3A2.11.0#~/.yarn/patches/@artilleryio-int-commons-npm-2.11.0-5b69c05121.patch", - "@blockprotocol/graph/json-schema-to-typescript": "15.0.3", "@changesets/assemble-release-plan@npm:^5.2.3": "patch:@changesets/assemble-release-plan@npm%3A5.2.4#~/.yarn/patches/@changesets-assemble-release-plan-npm-5.2.4-2920e4dc4c.patch", "@changesets/assemble-release-plan@npm:^5.2.4": "patch:@changesets/assemble-release-plan@npm%3A5.2.4#~/.yarn/patches/@changesets-assemble-release-plan-npm-5.2.4-2920e4dc4c.patch", "@changesets/get-dependents-graph@npm:^1.3.5": "patch:@changesets/get-dependents-graph@npm%3A1.3.6#~/.yarn/patches/@changesets-get-dependents-graph-npm-1.3.6-ddd5f64f78.patch", @@ -100,9 +99,7 @@ "@tldraw/tlschema@npm:2.0.0-alpha.12": "patch:@tldraw/tlschema@npm%3A2.0.0-alpha.12#~/.yarn/patches/@tldraw-tlschema-npm-2.0.0-alpha.12-13bf88407b.patch", "@types/express": "4.17.21", "@types/react": "18.2.68", - "@types/react/@types/scheduler": "0.16.8", "blockprotocol@npm:0.0.10": "patch:blockprotocol@npm%3A0.0.12#~/.yarn/patches/blockprotocol-npm-0.0.12-2558a31f0a.patch", - "clean-webpack-plugin/del": "6.1.1", "prosemirror-model@npm:>=1.0.0": "patch:prosemirror-model@npm%3A1.18.2#~/.yarn/patches/prosemirror-model-npm-1.18.2-479d845b52.patch", "prosemirror-model@npm:^1.0.0": "patch:prosemirror-model@npm%3A1.18.2#~/.yarn/patches/prosemirror-model-npm-1.18.2-479d845b52.patch", "prosemirror-model@npm:^1.16.0": "patch:prosemirror-model@npm%3A1.18.2#~/.yarn/patches/prosemirror-model-npm-1.18.2-479d845b52.patch", diff --git a/yarn.lock b/yarn.lock index 5de54c9da92..792923678c6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3973,6 +3973,18 @@ __metadata: languageName: node linkType: hard +"@bcherny/json-schema-ref-parser@npm:10.0.5-fork": + version: 10.0.5-fork + resolution: "@bcherny/json-schema-ref-parser@npm:10.0.5-fork" + dependencies: + "@jsdevtools/ono": "npm:^7.1.3" + "@types/json-schema": "npm:^7.0.6" + call-me-maybe: "npm:^1.0.1" + js-yaml: "npm:^4.1.0" + checksum: 10c0/3fb8aa660e4ec457df56224cda531ad92495a24aa8c05788761b74716169c781aebceb3476b072d327efe48b52c1a0c3ddc57823c0e8c4503abb2a7d82b43235 + languageName: node + linkType: hard + "@bcoe/v8-coverage@npm:^0.2.3": version: 0.2.3 resolution: "@bcoe/v8-coverage@npm:0.2.3" @@ -8663,6 +8675,7 @@ __metadata: "@babel/eslint-parser": "npm:7.25.9" "@eslint/compat": "npm:1.2.4" "@eslint/eslintrc": "npm:3.2.0" + "@local/tsconfig": "npm:0.0.0-private" "@types/eslint__eslintrc": "npm:2.1.2" "@types/node": "npm:22.10.1" effect: "npm:3.11.3" @@ -17218,6 +17231,16 @@ __metadata: languageName: node linkType: hard +"@types/glob@npm:^7.1.1, @types/glob@npm:^7.1.3": + version: 7.2.0 + resolution: "@types/glob@npm:7.2.0" + dependencies: + "@types/minimatch": "npm:*" + "@types/node": "npm:*" + checksum: 10c0/a8eb5d5cb5c48fc58c7ca3ff1e1ddf771ee07ca5043da6e4871e6757b4472e2e73b4cfef2644c38983174a4bc728c73f8da02845c28a1212f98cabd293ecae98 + languageName: node + linkType: hard + "@types/google.accounts@npm:0.0.15": version: 0.0.15 resolution: "@types/google.accounts@npm:0.0.15" @@ -17398,7 +17421,7 @@ __metadata: languageName: node linkType: hard -"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.12, @types/json-schema@npm:^7.0.15, @types/json-schema@npm:^7.0.5, @types/json-schema@npm:^7.0.7, @types/json-schema@npm:^7.0.8, @types/json-schema@npm:^7.0.9": +"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.11, @types/json-schema@npm:^7.0.12, @types/json-schema@npm:^7.0.15, @types/json-schema@npm:^7.0.5, @types/json-schema@npm:^7.0.6, @types/json-schema@npm:^7.0.7, @types/json-schema@npm:^7.0.8, @types/json-schema@npm:^7.0.9": version: 7.0.15 resolution: "@types/json-schema@npm:7.0.15" checksum: 10c0/a996a745e6c5d60292f36731dd41341339d4eeed8180bb09226e5c8d23759067692b1d88e5d91d72ee83dfc00d3aca8e7bd43ea120516c17922cbcb7c3e252db @@ -17500,7 +17523,7 @@ __metadata: languageName: node linkType: hard -"@types/lodash@npm:*, @types/lodash@npm:4.17.13, @types/lodash@npm:^4.14.149, @types/lodash@npm:^4.14.167, @types/lodash@npm:^4.14.202, @types/lodash@npm:^4.17.0, @types/lodash@npm:^4.17.13, @types/lodash@npm:^4.17.7": +"@types/lodash@npm:*, @types/lodash@npm:4.17.13, @types/lodash@npm:^4.14.149, @types/lodash@npm:^4.14.167, @types/lodash@npm:^4.14.182, @types/lodash@npm:^4.14.202, @types/lodash@npm:^4.17.0, @types/lodash@npm:^4.17.13, @types/lodash@npm:^4.17.7": version: 4.17.13 resolution: "@types/lodash@npm:4.17.13" checksum: 10c0/c3d0b7efe7933ac0369b99f2f7bff9240d960680fdb74b41ed4bd1b3ca60cca1e31fe4046d9abbde778f941a41bc2a75eb629abf8659fa6c27b66efbbb0802a9 @@ -17567,6 +17590,13 @@ __metadata: languageName: node linkType: hard +"@types/minimatch@npm:*": + version: 5.1.2 + resolution: "@types/minimatch@npm:5.1.2" + checksum: 10c0/83cf1c11748891b714e129de0585af4c55dd4c2cafb1f1d5233d79246e5e1e19d1b5ad9e8db449667b3ffa2b6c80125c429dbee1054e9efb45758dbc4e118562 + languageName: node + linkType: hard + "@types/minimist@npm:^1.2.0": version: 1.2.5 resolution: "@types/minimist@npm:1.2.5" @@ -17712,7 +17742,7 @@ __metadata: languageName: node linkType: hard -"@types/prettier@npm:2.7.3": +"@types/prettier@npm:2.7.3, @types/prettier@npm:^2.6.1": version: 2.7.3 resolution: "@types/prettier@npm:2.7.3" checksum: 10c0/0960b5c1115bb25e979009d0b44c42cf3d792accf24085e4bfce15aef5794ea042e04e70c2139a2c3387f781f18c89b5706f000ddb089e9a4a2ccb7536a2c5f0 @@ -17930,10 +17960,10 @@ __metadata: languageName: node linkType: hard -"@types/scheduler@npm:0.16.8": - version: 0.16.8 - resolution: "@types/scheduler@npm:0.16.8" - checksum: 10c0/f86de504945b8fc41b1f391f847444d542e2e4067cf7e5d9bfeb5d2d2393d3203b1161bc0ef3b1e104d828dabfb60baf06e8d2c27e27ff7e8258e6e618d8c4ec +"@types/scheduler@npm:*": + version: 0.23.0 + resolution: "@types/scheduler@npm:0.23.0" + checksum: 10c0/5cf7f2ba3732b74877559eb20b19f95fcd0a20c17dcb20e75a7ca7c7369cd455aeb2d406b3ff5a38168a9750da3bad78dd20d96d11118468b78f4959b8e56090 languageName: node linkType: hard @@ -19901,6 +19931,15 @@ __metadata: languageName: node linkType: hard +"array-union@npm:^1.0.1": + version: 1.0.2 + resolution: "array-union@npm:1.0.2" + dependencies: + array-uniq: "npm:^1.0.1" + checksum: 10c0/18686767c0cfdae8dc4acf5ac119b0f0eacad82b7fcc0aa62cc41f93c5ad406d494b6a6e53d85e52e8f0349b67a4fec815feeb537e95c02510d747bc9a4157c7 + languageName: node + linkType: hard + "array-union@npm:^2.1.0": version: 2.1.0 resolution: "array-union@npm:2.1.0" @@ -19915,6 +19954,13 @@ __metadata: languageName: node linkType: hard +"array-uniq@npm:^1.0.1": + version: 1.0.3 + resolution: "array-uniq@npm:1.0.3" + checksum: 10c0/3acbaf9e6d5faeb1010e2db04ab171b8d265889e46c61762e502979bdc5e55656013726e9a61507de3c82d329a0dc1e8072630a3454b4f2b881cb19ba7fd8aa6 + languageName: node + linkType: hard + "array.prototype.findlast@npm:^1.2.5": version: 1.2.5 resolution: "array.prototype.findlast@npm:1.2.5" @@ -22049,6 +22095,19 @@ __metadata: languageName: node linkType: hard +"cli-color@npm:^2.0.2": + version: 2.0.4 + resolution: "cli-color@npm:2.0.4" + dependencies: + d: "npm:^1.0.1" + es5-ext: "npm:^0.10.64" + es6-iterator: "npm:^2.0.3" + memoizee: "npm:^0.4.15" + timers-ext: "npm:^0.1.7" + checksum: 10c0/49a0078fa3517cdfb3ad919a05ab2fe7352d9c9f0617937c38fc6245a38101632d9a23f40a53b2818773d2694b8ae814ff760801a702a26d76b297990ce8d399 + languageName: node + linkType: hard + "cli-cursor@npm:^3.1.0": version: 3.1.0 resolution: "cli-cursor@npm:3.1.0" @@ -23606,6 +23665,16 @@ __metadata: languageName: node linkType: hard +"d@npm:1, d@npm:^1.0.1, d@npm:^1.0.2": + version: 1.0.2 + resolution: "d@npm:1.0.2" + dependencies: + es5-ext: "npm:^0.10.64" + type: "npm:^2.7.2" + checksum: 10c0/3e6ede10cd3b77586c47da48423b62bed161bf1a48bdbcc94d87263522e22f5dfb0e678a6dba5323fdc14c5d8612b7f7eb9e7d9e37b2e2d67a7bf9f116dabe5a + languageName: node + linkType: hard + "damerau-levenshtein@npm:^1.0.8": version: 1.0.8 resolution: "damerau-levenshtein@npm:1.0.8" @@ -24078,7 +24147,22 @@ __metadata: languageName: node linkType: hard -"del@npm:6.1.1, del@npm:^6.0.0": +"del@npm:^4.1.1": + version: 4.1.1 + resolution: "del@npm:4.1.1" + dependencies: + "@types/glob": "npm:^7.1.1" + globby: "npm:^6.1.0" + is-path-cwd: "npm:^2.0.0" + is-path-in-cwd: "npm:^2.0.0" + p-map: "npm:^2.0.0" + pify: "npm:^4.0.1" + rimraf: "npm:^2.6.3" + checksum: 10c0/ed3233e86e39c0a6a7ea85d8ad0ebc00603078ad408b9c34b4742f707c20028c5731dce2e8aa9a6eb5ae6bee30ccc5405cf7b5d457306520e37c92d0410b6061 + languageName: node + linkType: hard + +"del@npm:^6.0.0": version: 6.1.1 resolution: "del@npm:6.1.1" dependencies: @@ -25247,6 +25331,18 @@ __metadata: languageName: node linkType: hard +"es5-ext@npm:^0.10.35, es5-ext@npm:^0.10.46, es5-ext@npm:^0.10.62, es5-ext@npm:^0.10.64, es5-ext@npm:~0.10.14, es5-ext@npm:~0.10.2": + version: 0.10.64 + resolution: "es5-ext@npm:0.10.64" + dependencies: + es6-iterator: "npm:^2.0.3" + es6-symbol: "npm:^3.1.3" + esniff: "npm:^2.0.1" + next-tick: "npm:^1.1.0" + checksum: 10c0/4459b6ae216f3c615db086e02437bdfde851515a101577fd61b19f9b3c1ad924bab4d197981eb7f0ccb915f643f2fc10ff76b97a680e96cbb572d15a27acd9a3 + languageName: node + linkType: hard + "es6-error@npm:^4.1.1": version: 4.1.1 resolution: "es6-error@npm:4.1.1" @@ -25254,6 +25350,17 @@ __metadata: languageName: node linkType: hard +"es6-iterator@npm:^2.0.3": + version: 2.0.3 + resolution: "es6-iterator@npm:2.0.3" + dependencies: + d: "npm:1" + es5-ext: "npm:^0.10.35" + es6-symbol: "npm:^3.1.1" + checksum: 10c0/91f20b799dba28fb05bf623c31857fc1524a0f1c444903beccaf8929ad196c8c9ded233e5ac7214fc63a92b3f25b64b7f2737fcca8b1f92d2d96cf3ac902f5d8 + languageName: node + linkType: hard + "es6-promise@npm:^3.2.1": version: 3.3.1 resolution: "es6-promise@npm:3.3.1" @@ -25268,6 +25375,28 @@ __metadata: languageName: node linkType: hard +"es6-symbol@npm:^3.1.1, es6-symbol@npm:^3.1.3": + version: 3.1.4 + resolution: "es6-symbol@npm:3.1.4" + dependencies: + d: "npm:^1.0.2" + ext: "npm:^1.7.0" + checksum: 10c0/777bf3388db5d7919e09a0fd175aa5b8a62385b17cb2227b7a137680cba62b4d9f6193319a102642aa23d5840d38a62e4784f19cfa5be4a2210a3f0e9b23d15d + languageName: node + linkType: hard + +"es6-weak-map@npm:^2.0.3": + version: 2.0.3 + resolution: "es6-weak-map@npm:2.0.3" + dependencies: + d: "npm:1" + es5-ext: "npm:^0.10.46" + es6-iterator: "npm:^2.0.3" + es6-symbol: "npm:^3.1.1" + checksum: 10c0/460932be9542473dbbddd183e21c15a66cfec1b2c17dae2b514e190d6fb2896b7eb683783d4b36da036609d2e1c93d2815f21b374dfccaf02a8978694c2f7b67 + languageName: node + linkType: hard + "esbuild-plugin-alias@npm:^0.2.1": version: 0.2.1 resolution: "esbuild-plugin-alias@npm:0.2.1" @@ -26404,6 +26533,18 @@ __metadata: languageName: node linkType: hard +"esniff@npm:^2.0.1": + version: 2.0.1 + resolution: "esniff@npm:2.0.1" + dependencies: + d: "npm:^1.0.1" + es5-ext: "npm:^0.10.62" + event-emitter: "npm:^0.3.5" + type: "npm:^2.7.2" + checksum: 10c0/7efd8d44ac20e5db8cb0ca77eb65eca60628b2d0f3a1030bcb05e71cc40e6e2935c47b87dba3c733db12925aa5b897f8e0e7a567a2c274206f184da676ea2e65 + languageName: node + linkType: hard + "espree@npm:^10.0.0, espree@npm:^10.0.1, espree@npm:^10.1.0, espree@npm:^10.3.0": version: 10.3.0 resolution: "espree@npm:10.3.0" @@ -26563,6 +26704,16 @@ __metadata: languageName: node linkType: hard +"event-emitter@npm:^0.3.5": + version: 0.3.5 + resolution: "event-emitter@npm:0.3.5" + dependencies: + d: "npm:1" + es5-ext: "npm:~0.10.14" + checksum: 10c0/75082fa8ffb3929766d0f0a063bfd6046bd2a80bea2666ebaa0cfd6f4a9116be6647c15667bea77222afc12f5b4071b68d393cf39fdaa0e8e81eda006160aff0 + languageName: node + linkType: hard + "event-target-shim@npm:^5.0.0": version: 5.0.1 resolution: "event-target-shim@npm:5.0.1" @@ -26793,6 +26944,15 @@ __metadata: languageName: node linkType: hard +"ext@npm:^1.7.0": + version: 1.7.0 + resolution: "ext@npm:1.7.0" + dependencies: + type: "npm:^2.7.2" + checksum: 10c0/a8e5f34e12214e9eee3a4af3b5c9d05ba048f28996450975b369fc86e5d0ef13b6df0615f892f5396a9c65d616213c25ec5b0ad17ef42eac4a500512a19da6c7 + languageName: node + linkType: hard + "extend-shallow@npm:^2.0.1": version: 2.0.1 resolution: "extend-shallow@npm:2.0.1" @@ -28175,6 +28335,13 @@ __metadata: languageName: node linkType: hard +"get-stdin@npm:^8.0.0": + version: 8.0.0 + resolution: "get-stdin@npm:8.0.0" + checksum: 10c0/b71b72b83928221052f713b3b6247ebf1ceaeb4ef76937778557537fd51ad3f586c9e6a7476865022d9394b39b74eed1dc7514052fa74d80625276253571b76f + languageName: node + linkType: hard + "get-stdin@npm:^9.0.0": version: 9.0.0 resolution: "get-stdin@npm:9.0.0" @@ -28322,6 +28489,17 @@ __metadata: languageName: node linkType: hard +"glob-promise@npm:^4.2.2": + version: 4.2.2 + resolution: "glob-promise@npm:4.2.2" + dependencies: + "@types/glob": "npm:^7.1.3" + peerDependencies: + glob: ^7.1.6 + checksum: 10c0/3eb01bed2901539365df6a4d27800afb8788840647d01f9bf3500b3de756597f2ff4b8c823971ace34db228c83159beca459dc42a70968d4e9c8200ed2cc96bd + languageName: node + linkType: hard + "glob-to-regexp@npm:^0.4.1": version: 0.4.1 resolution: "glob-to-regexp@npm:0.4.1" @@ -28387,7 +28565,7 @@ __metadata: languageName: node linkType: hard -"glob@npm:^7.1.1, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:^7.1.7, glob@npm:^7.2.0, glob@npm:^7.2.3": +"glob@npm:^7.0.3, glob@npm:^7.1.1, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:^7.1.7, glob@npm:^7.2.0, glob@npm:^7.2.3": version: 7.2.3 resolution: "glob@npm:7.2.3" dependencies: @@ -28509,6 +28687,19 @@ __metadata: languageName: node linkType: hard +"globby@npm:^6.1.0": + version: 6.1.0 + resolution: "globby@npm:6.1.0" + dependencies: + array-union: "npm:^1.0.1" + glob: "npm:^7.0.3" + object-assign: "npm:^4.0.1" + pify: "npm:^2.0.0" + pinkie-promise: "npm:^2.0.0" + checksum: 10c0/656ad1f0d02c6ef378c07589519ed3ec27fe988ea177195c05b8aff280320f3d67b91fa0baa6f7e49288f9bf1f92fc84f783a79ac3ed66278f3fa082e627ed84 + languageName: node + linkType: hard + "globrex@npm:^0.1.2": version: 0.1.2 resolution: "globrex@npm:0.1.2" @@ -30796,13 +30987,31 @@ __metadata: languageName: node linkType: hard -"is-path-cwd@npm:^2.2.0": +"is-path-cwd@npm:^2.0.0, is-path-cwd@npm:^2.2.0": version: 2.2.0 resolution: "is-path-cwd@npm:2.2.0" checksum: 10c0/afce71533a427a759cd0329301c18950333d7589533c2c90205bd3fdcf7b91eb92d1940493190567a433134d2128ec9325de2fd281e05be1920fbee9edd22e0a languageName: node linkType: hard +"is-path-in-cwd@npm:^2.0.0": + version: 2.1.0 + resolution: "is-path-in-cwd@npm:2.1.0" + dependencies: + is-path-inside: "npm:^2.1.0" + checksum: 10c0/674a4282fb3732cf4b4e9ea31e06380d8b074fb8106c4c1742a9f0f3d5650bf059b2c45e5c4cfa7abe847ca88474de63abec323a7fe1eb14f8ec4de2fa951d3a + languageName: node + linkType: hard + +"is-path-inside@npm:^2.1.0": + version: 2.1.0 + resolution: "is-path-inside@npm:2.1.0" + dependencies: + path-is-inside: "npm:^1.0.2" + checksum: 10c0/50272b9aa301964c0bc4032d5c968e63c516d15bd7800cd06845df97bee637451fcd92a8001b37e309563eff2dffae5fa6d635a0c1d162dc257489c86b1fda51 + languageName: node + linkType: hard + "is-path-inside@npm:^3.0.2": version: 3.0.3 resolution: "is-path-inside@npm:3.0.3" @@ -30861,6 +31070,13 @@ __metadata: languageName: node linkType: hard +"is-promise@npm:^2.2.2": + version: 2.2.2 + resolution: "is-promise@npm:2.2.2" + checksum: 10c0/2dba959812380e45b3df0fb12e7cb4d4528c989c7abb03ececb1d1fd6ab1cbfee956ca9daa587b9db1d8ac3c1e5738cf217bdb3dfd99df8c691be4c00ae09069 + languageName: node + linkType: hard + "is-proto-prop@npm:^2.0.0": version: 2.0.0 resolution: "is-proto-prop@npm:2.0.0" @@ -31930,6 +32146,30 @@ __metadata: languageName: node linkType: hard +"json-schema-to-typescript@npm:^11.0.2": + version: 11.0.5 + resolution: "json-schema-to-typescript@npm:11.0.5" + dependencies: + "@bcherny/json-schema-ref-parser": "npm:10.0.5-fork" + "@types/json-schema": "npm:^7.0.11" + "@types/lodash": "npm:^4.14.182" + "@types/prettier": "npm:^2.6.1" + cli-color: "npm:^2.0.2" + get-stdin: "npm:^8.0.0" + glob: "npm:^7.1.6" + glob-promise: "npm:^4.2.2" + is-glob: "npm:^4.0.3" + lodash: "npm:^4.17.21" + minimist: "npm:^1.2.6" + mkdirp: "npm:^1.0.4" + mz: "npm:^2.7.0" + prettier: "npm:^2.6.2" + bin: + json2ts: dist/src/cli.js + checksum: 10c0/559cd8d15e0da897bd610e806d1c79afdc1dbac59468785e3b88e789413654558ee837befde6c2d0f29c01b841ea6997570c6fb6d2e7ed256369c1921855482c + languageName: node + linkType: hard + "json-schema-traverse@npm:^0.4.1": version: 0.4.1 resolution: "json-schema-traverse@npm:0.4.1" @@ -33275,6 +33515,15 @@ __metadata: languageName: node linkType: hard +"lru-queue@npm:^0.1.0": + version: 0.1.0 + resolution: "lru-queue@npm:0.1.0" + dependencies: + es5-ext: "npm:~0.10.2" + checksum: 10c0/83517032b46843601c4528be65e8aaf85f5a7860a9cfa3e4f2b5591da436e7cd748d95b450c91434c4ffb75d3ae4c069ddbdd9f71ada56a99a00c03088c51b4d + languageName: node + linkType: hard + "lunr@npm:^2.3.9": version: 2.3.9 resolution: "lunr@npm:2.3.9" @@ -34136,6 +34385,22 @@ __metadata: languageName: node linkType: hard +"memoizee@npm:^0.4.15": + version: 0.4.17 + resolution: "memoizee@npm:0.4.17" + dependencies: + d: "npm:^1.0.2" + es5-ext: "npm:^0.10.64" + es6-weak-map: "npm:^2.0.3" + event-emitter: "npm:^0.3.5" + is-promise: "npm:^2.2.2" + lru-queue: "npm:^0.1.0" + next-tick: "npm:^1.1.0" + timers-ext: "npm:^0.1.7" + checksum: 10c0/19821d055f0f641e79b718f91d6d89a6c92840643234a6f4e91d42aa330e8406f06c47d3828931e177c38830aa9b959710e5b7f0013be452af46d0f9eae4baf4 + languageName: node + linkType: hard + "memoizerific@npm:^1.11.3": version: 1.11.3 resolution: "memoizerific@npm:1.11.3" @@ -35385,7 +35650,7 @@ __metadata: languageName: node linkType: hard -"mkdirp@npm:^1.0.3": +"mkdirp@npm:^1.0.3, mkdirp@npm:^1.0.4": version: 1.0.4 resolution: "mkdirp@npm:1.0.4" bin: @@ -35851,7 +36116,7 @@ __metadata: languageName: node linkType: hard -"mz@npm:^2.6.0": +"mz@npm:^2.6.0, mz@npm:^2.7.0": version: 2.7.0 resolution: "mz@npm:2.7.0" dependencies: @@ -35993,6 +36258,13 @@ __metadata: languageName: node linkType: hard +"next-tick@npm:^1.1.0": + version: 1.1.0 + resolution: "next-tick@npm:1.1.0" + checksum: 10c0/3ba80dd805fcb336b4f52e010992f3e6175869c8d88bf4ff0a81d5d66e6049f89993463b28211613e58a6b7fe93ff5ccbba0da18d4fa574b96289e8f0b577f28 + languageName: node + linkType: hard + "next@npm:13.5.5": version: 13.5.5 resolution: "next@npm:13.5.5" @@ -37736,7 +38008,7 @@ __metadata: languageName: node linkType: hard -"path-is-inside@npm:1.0.2": +"path-is-inside@npm:1.0.2, path-is-inside@npm:^1.0.2": version: 1.0.2 resolution: "path-is-inside@npm:1.0.2" checksum: 10c0/7fdd4b41672c70461cce734fc222b33e7b447fa489c7c4377c95e7e6852d83d69741f307d88ec0cc3b385b41cb4accc6efac3c7c511cd18512e95424f5fa980c @@ -38118,7 +38390,7 @@ __metadata: languageName: node linkType: hard -"pify@npm:^2.3.0": +"pify@npm:^2.0.0, pify@npm:^2.3.0": version: 2.3.0 resolution: "pify@npm:2.3.0" checksum: 10c0/551ff8ab830b1052633f59cb8adc9ae8407a436e06b4a9718bcb27dc5844b83d535c3a8512b388b6062af65a98c49bdc0dd523d8b2617b188f7c8fee457158dc @@ -38640,7 +38912,7 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^2.3.2, prettier@npm:^2.7.1, prettier@npm:^2.8.0": +"prettier@npm:^2.3.2, prettier@npm:^2.6.2, prettier@npm:^2.7.1, prettier@npm:^2.8.0": version: 2.8.8 resolution: "prettier@npm:2.8.8" bin: @@ -41338,7 +41610,7 @@ __metadata: languageName: node linkType: hard -"rimraf@npm:^2.6.1": +"rimraf@npm:^2.6.1, rimraf@npm:^2.6.3": version: 2.7.1 resolution: "rimraf@npm:2.7.1" dependencies: @@ -44407,6 +44679,16 @@ __metadata: languageName: node linkType: hard +"timers-ext@npm:^0.1.7": + version: 0.1.8 + resolution: "timers-ext@npm:0.1.8" + dependencies: + es5-ext: "npm:^0.10.64" + next-tick: "npm:^1.1.0" + checksum: 10c0/d0222d0c171d08df69e51462e3fa2085744d13f8ac82b27597db05db1a09bc4244e03ea3cebe89ba279fd43f45daa39156acbe5b6ae5a9b9d62d300543312533 + languageName: node + linkType: hard + "tiny-inflate@npm:^1.0.0": version: 1.0.3 resolution: "tiny-inflate@npm:1.0.3" @@ -45263,6 +45545,13 @@ __metadata: languageName: node linkType: hard +"type@npm:^2.7.2": + version: 2.7.3 + resolution: "type@npm:2.7.3" + checksum: 10c0/dec6902c2c42fcb86e3adf8cdabdf80e5ef9de280872b5fd547351e9cca2fe58dd2aa6d2547626ddff174145db272f62d95c7aa7038e27c11315657d781a688d + languageName: node + linkType: hard + "typed-array-buffer@npm:^1.0.2": version: 1.0.2 resolution: "typed-array-buffer@npm:1.0.2" From 8c91bb522df9e118b73a6f2efec677d148080ad5 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Tue, 10 Dec 2024 14:39:53 +0100 Subject: [PATCH 36/51] fix: CI --- blocks/embed/turbo.json | 2 +- libs/@blockprotocol/graph/package.json | 2 +- yarn.lock | 38 +++----------------------- 3 files changed, 6 insertions(+), 36 deletions(-) diff --git a/blocks/embed/turbo.json b/blocks/embed/turbo.json index a127d67087c..2815ced6012 100644 --- a/blocks/embed/turbo.json +++ b/blocks/embed/turbo.json @@ -14,7 +14,7 @@ }, "lint:eslint": { "env": ["CHECK_TEMPORARILY_DISABLED_RULES"], - "dependsOn": ["schema"] + "dependsOn": ["schema", "@local/eslint#build"] }, "fix:eslint": { "cache": false, diff --git a/libs/@blockprotocol/graph/package.json b/libs/@blockprotocol/graph/package.json index 1dfcd68af74..c3d0d399f5f 100644 --- a/libs/@blockprotocol/graph/package.json +++ b/libs/@blockprotocol/graph/package.json @@ -69,7 +69,7 @@ "@blockprotocol/type-system": "0.1.2-canary.0", "ajv": "8.17.1", "ajv-formats": "3.0.1", - "json-schema-to-typescript": "15.0.3", + "json-schema-to-typescript": "11.0.5", "lit": "2.8.0", "lodash.isequal": "4.5.0", "typescript": "5.6.3" diff --git a/yarn.lock b/yarn.lock index 792923678c6..06a2789edda 100644 --- a/yarn.lock +++ b/yarn.lock @@ -92,17 +92,6 @@ __metadata: languageName: node linkType: hard -"@apidevtools/json-schema-ref-parser@npm:^11.5.5": - version: 11.7.3 - resolution: "@apidevtools/json-schema-ref-parser@npm:11.7.3" - dependencies: - "@jsdevtools/ono": "npm:^7.1.3" - "@types/json-schema": "npm:^7.0.15" - js-yaml: "npm:^4.1.0" - checksum: 10c0/326dcb3d4dfaf3f75ecab1ffae99d71123cc0a062a5996ac3d0ae66a1c6a852975bbdf606d2ef559766119e84aa6ca72b155f90529458d9ce22ab9d6c513404c - languageName: node - linkType: hard - "@apollo/client@npm:3.10.5": version: 3.10.5 resolution: "@apollo/client@npm:3.10.5" @@ -4135,7 +4124,7 @@ __metadata: ajv: "npm:8.17.1" ajv-formats: "npm:3.0.1" eslint: "npm:9.16.0" - json-schema-to-typescript: "npm:15.0.3" + json-schema-to-typescript: "npm:11.0.5" lit: "npm:2.8.0" lodash.isequal: "npm:4.5.0" rimraf: "npm:6.0.1" @@ -17523,7 +17512,7 @@ __metadata: languageName: node linkType: hard -"@types/lodash@npm:*, @types/lodash@npm:4.17.13, @types/lodash@npm:^4.14.149, @types/lodash@npm:^4.14.167, @types/lodash@npm:^4.14.182, @types/lodash@npm:^4.14.202, @types/lodash@npm:^4.17.0, @types/lodash@npm:^4.17.13, @types/lodash@npm:^4.17.7": +"@types/lodash@npm:*, @types/lodash@npm:4.17.13, @types/lodash@npm:^4.14.149, @types/lodash@npm:^4.14.167, @types/lodash@npm:^4.14.182, @types/lodash@npm:^4.14.202, @types/lodash@npm:^4.17.0, @types/lodash@npm:^4.17.13": version: 4.17.13 resolution: "@types/lodash@npm:4.17.13" checksum: 10c0/c3d0b7efe7933ac0369b99f2f7bff9240d960680fdb74b41ed4bd1b3ca60cca1e31fe4046d9abbde778f941a41bc2a75eb629abf8659fa6c27b66efbbb0802a9 @@ -32127,26 +32116,7 @@ __metadata: languageName: node linkType: hard -"json-schema-to-typescript@npm:15.0.3": - version: 15.0.3 - resolution: "json-schema-to-typescript@npm:15.0.3" - dependencies: - "@apidevtools/json-schema-ref-parser": "npm:^11.5.5" - "@types/json-schema": "npm:^7.0.15" - "@types/lodash": "npm:^4.17.7" - is-glob: "npm:^4.0.3" - js-yaml: "npm:^4.1.0" - lodash: "npm:^4.17.21" - minimist: "npm:^1.2.8" - prettier: "npm:^3.2.5" - tinyglobby: "npm:^0.2.9" - bin: - json2ts: dist/src/cli.js - checksum: 10c0/b972ceb85c9491a08964669ba878b2f12ba27ef14d4ac0444dac6c9479f91e635b1a6a3bf491a8b36cba6409edbdb2730a8f30db6106305e344f5bce0bf1a76d - languageName: node - linkType: hard - -"json-schema-to-typescript@npm:^11.0.2": +"json-schema-to-typescript@npm:11.0.5, json-schema-to-typescript@npm:^11.0.2": version: 11.0.5 resolution: "json-schema-to-typescript@npm:11.0.5" dependencies: @@ -38903,7 +38873,7 @@ __metadata: languageName: node linkType: hard -"prettier@npm:3.4.2, prettier@npm:^3.2.5": +"prettier@npm:3.4.2": version: 3.4.2 resolution: "prettier@npm:3.4.2" bin: From ef388ea9605cca0004113f4481ed80e1342bb372 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Tue, 10 Dec 2024 14:44:43 +0100 Subject: [PATCH 37/51] fix: turbo --- libs/@local/eslint/turbo.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 libs/@local/eslint/turbo.json diff --git a/libs/@local/eslint/turbo.json b/libs/@local/eslint/turbo.json new file mode 100644 index 00000000000..35be9c68fa8 --- /dev/null +++ b/libs/@local/eslint/turbo.json @@ -0,0 +1,8 @@ +{ + "extends": ["//"], + "tasks": { + "build": { + "outputs": ["dist/**"] + } + } +} From df374a8e575a8169a7a621e4742efbec8d084308 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Tue, 10 Dec 2024 14:45:39 +0100 Subject: [PATCH 38/51] fix: rust impl --- libs/@local/graph/type-defs/Cargo.toml | 2 +- libs/@local/repo-chores/node/scripts/create-block.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/@local/graph/type-defs/Cargo.toml b/libs/@local/graph/type-defs/Cargo.toml index 01355cc1e0d..7454ac4d3c7 100644 --- a/libs/@local/graph/type-defs/Cargo.toml +++ b/libs/@local/graph/type-defs/Cargo.toml @@ -12,7 +12,7 @@ extra-dependencies = [ { name = "@local/status", version = "0.0.0-private" }, ] extra-dev-dependencies = [ - { name = "@local/eslint-config", version = "0.0.0-private" }, + { name = "@local/eslint", version = "0.0.0-private" }, ] [dependencies] diff --git a/libs/@local/repo-chores/node/scripts/create-block.ts b/libs/@local/repo-chores/node/scripts/create-block.ts index e5077172e8b..c0d1c8f2fa7 100644 --- a/libs/@local/repo-chores/node/scripts/create-block.ts +++ b/libs/@local/repo-chores/node/scripts/create-block.ts @@ -59,7 +59,7 @@ const script = async () => { (packageJson.scripts as JsonObject).format = "prettier --write --ignore-unknown src/types/generated/*.ts"; - (packageJson.devDependencies as JsonObject)["@local/eslint-config"] = + (packageJson.devDependencies as JsonObject)["@local/eslint"] = "0.0.0-private"; fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2)); From 8a9e38d033bc9f07ee4c92b882860a7974d42014 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Tue, 10 Dec 2024 15:08:31 +0100 Subject: [PATCH 39/51] fix: build --- libs/@local/graph/types/typescript/turbo.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/@local/graph/types/typescript/turbo.json b/libs/@local/graph/types/typescript/turbo.json index 35be9c68fa8..12a44b35146 100644 --- a/libs/@local/graph/types/typescript/turbo.json +++ b/libs/@local/graph/types/typescript/turbo.json @@ -2,7 +2,8 @@ "extends": ["//"], "tasks": { "build": { - "outputs": ["dist/**"] + "outputs": ["dist/**"], + "dependsOn": ["^build"] } } } From 458e4f7cbd5322d9bd43da825adf5330a3a4aadb Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Tue, 10 Dec 2024 15:22:45 +0100 Subject: [PATCH 40/51] fix: tsconfig includes --- apps/hashdotdev/tsconfig.json | 5 +++-- libs/@blockprotocol/graph/tsconfig.build.json | 1 + libs/@local/advanced-types/tsconfig.build.json | 1 + libs/@local/graph/types/typescript/tsconfig.build.json | 1 + libs/@local/hash-backend-utils/tsconfig.build.json | 1 + 5 files changed, 7 insertions(+), 2 deletions(-) diff --git a/apps/hashdotdev/tsconfig.json b/apps/hashdotdev/tsconfig.json index 5f6389bcf91..99cea24810a 100644 --- a/apps/hashdotdev/tsconfig.json +++ b/apps/hashdotdev/tsconfig.json @@ -16,7 +16,8 @@ "next-env.d.ts", "theme-override.d.ts", "**/*.ts", - "**/*.tsx" + "**/*.tsx", + "eslint.config.js" ], - "exclude": ["node_modules", "eslint.config.js"] + "exclude": ["node_modules"] } diff --git a/libs/@blockprotocol/graph/tsconfig.build.json b/libs/@blockprotocol/graph/tsconfig.build.json index 85f5f1162d1..19340e844f2 100644 --- a/libs/@blockprotocol/graph/tsconfig.build.json +++ b/libs/@blockprotocol/graph/tsconfig.build.json @@ -1,5 +1,6 @@ { "extends": "./tsconfig.json", + "exclude": ["eslint.config.js"], "compilerOptions": { "declaration": true, "outDir": "dist", diff --git a/libs/@local/advanced-types/tsconfig.build.json b/libs/@local/advanced-types/tsconfig.build.json index 85f5f1162d1..19340e844f2 100644 --- a/libs/@local/advanced-types/tsconfig.build.json +++ b/libs/@local/advanced-types/tsconfig.build.json @@ -1,5 +1,6 @@ { "extends": "./tsconfig.json", + "exclude": ["eslint.config.js"], "compilerOptions": { "declaration": true, "outDir": "dist", diff --git a/libs/@local/graph/types/typescript/tsconfig.build.json b/libs/@local/graph/types/typescript/tsconfig.build.json index 85f5f1162d1..19340e844f2 100644 --- a/libs/@local/graph/types/typescript/tsconfig.build.json +++ b/libs/@local/graph/types/typescript/tsconfig.build.json @@ -1,5 +1,6 @@ { "extends": "./tsconfig.json", + "exclude": ["eslint.config.js"], "compilerOptions": { "declaration": true, "outDir": "dist", diff --git a/libs/@local/hash-backend-utils/tsconfig.build.json b/libs/@local/hash-backend-utils/tsconfig.build.json index 85f5f1162d1..d6484184671 100644 --- a/libs/@local/hash-backend-utils/tsconfig.build.json +++ b/libs/@local/hash-backend-utils/tsconfig.build.json @@ -1,5 +1,6 @@ { "extends": "./tsconfig.json", + "exclude": ["eslint.config.js", "vitest.config.ts"], "compilerOptions": { "declaration": true, "outDir": "dist", From e6de3be4a65993ca9fdbf2bd7d239f05db7ada7b Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Tue, 10 Dec 2024 15:27:16 +0100 Subject: [PATCH 41/51] fix: explicit @babel/core dependency --- libs/@local/eslint/package.json | 2 ++ yarn.lock | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libs/@local/eslint/package.json b/libs/@local/eslint/package.json index 15f0b95c661..bb82a51a861 100644 --- a/libs/@local/eslint/package.json +++ b/libs/@local/eslint/package.json @@ -20,6 +20,7 @@ "lint:eslint": "eslint --report-unused-disable-directives --flag unstable_ts_config ." }, "dependencies": { + "@babel/core": "7.26.0", "@babel/eslint-parser": "7.25.9", "@eslint/compat": "1.2.4", "@eslint/eslintrc": "3.2.0", @@ -41,6 +42,7 @@ }, "devDependencies": { "@local/tsconfig": "0.0.0-private", + "@types/babel__core": "^7", "@types/eslint__eslintrc": "2.1.2", "@types/node": "22.10.1", "rimraf": "6.0.1", diff --git a/yarn.lock b/yarn.lock index 06a2789edda..d063f41ee57 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8661,10 +8661,12 @@ __metadata: version: 0.0.0-use.local resolution: "@local/eslint@workspace:libs/@local/eslint" dependencies: + "@babel/core": "npm:7.26.0" "@babel/eslint-parser": "npm:7.25.9" "@eslint/compat": "npm:1.2.4" "@eslint/eslintrc": "npm:3.2.0" "@local/tsconfig": "npm:0.0.0-private" + "@types/babel__core": "npm:^7" "@types/eslint__eslintrc": "npm:2.1.2" "@types/node": "npm:22.10.1" effect: "npm:3.11.3" @@ -16560,7 +16562,7 @@ __metadata: languageName: node linkType: hard -"@types/babel__core@npm:^7.0.0, @types/babel__core@npm:^7.18.0": +"@types/babel__core@npm:^7, @types/babel__core@npm:^7.0.0, @types/babel__core@npm:^7.18.0": version: 7.20.5 resolution: "@types/babel__core@npm:7.20.5" dependencies: From f088b744c9ff30b714eb9ecd451a1e266f6c7c7e Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Tue, 10 Dec 2024 15:27:48 +0100 Subject: [PATCH 42/51] chore: force turbo cache --- libs/@local/eslint/turbo.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/@local/eslint/turbo.json b/libs/@local/eslint/turbo.json index 35be9c68fa8..5e4a1571375 100644 --- a/libs/@local/eslint/turbo.json +++ b/libs/@local/eslint/turbo.json @@ -2,7 +2,7 @@ "extends": ["//"], "tasks": { "build": { - "outputs": ["dist/**"] + "outputs": ["./dist/**"] } } } From 2430e820f7de222f387336dea8c4c10b0149c6bf Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Tue, 10 Dec 2024 15:36:09 +0100 Subject: [PATCH 43/51] chore: remove eslint from tsconfig moduleResolution is outdated --- apps/hash-api/tsconfig.json | 7 +------ apps/hash-integration-worker/tsconfig.json | 2 +- apps/hash-search-loader/tsconfig.json | 2 +- apps/hashdotdev/tsconfig.json | 3 +-- libs/@hashintel/block-design-system/tsconfig.json | 7 +------ libs/@hashintel/design-system/tsconfig.json | 7 +------ libs/@hashintel/query-editor/tsconfig.json | 2 +- libs/@hashintel/type-editor/tsconfig.json | 2 +- libs/@local/eslint/eslint.config.js | 2 +- libs/@local/repo-chores/node/tsconfig.json | 2 +- 10 files changed, 10 insertions(+), 26 deletions(-) diff --git a/apps/hash-api/tsconfig.json b/apps/hash-api/tsconfig.json index bbd856281f1..fc7cc2a2407 100644 --- a/apps/hash-api/tsconfig.json +++ b/apps/hash-api/tsconfig.json @@ -1,9 +1,4 @@ { "extends": "@local/tsconfig/legacy-base-tsconfig-to-refactor.json", - "include": [ - "src", - "codegen.config.ts", - "eslint.config.js", - "vitest.config.ts" - ] + "include": ["src", "codegen.config.ts", "vitest.config.ts"] } diff --git a/apps/hash-integration-worker/tsconfig.json b/apps/hash-integration-worker/tsconfig.json index 4c50bf5d2d6..8f69ca92e8c 100644 --- a/apps/hash-integration-worker/tsconfig.json +++ b/apps/hash-integration-worker/tsconfig.json @@ -1,6 +1,6 @@ { "extends": "@local/tsconfig/legacy-base-tsconfig-to-refactor.json", - "include": ["./src/", "./scripts/", "eslint.config.js"], + "include": ["./src/", "./scripts/"], "compilerOptions": { "outDir": "dist", "sourceMap": true, diff --git a/apps/hash-search-loader/tsconfig.json b/apps/hash-search-loader/tsconfig.json index c5f83870782..afe150284d2 100644 --- a/apps/hash-search-loader/tsconfig.json +++ b/apps/hash-search-loader/tsconfig.json @@ -1,4 +1,4 @@ { "extends": "@local/tsconfig/legacy-base-tsconfig-to-refactor.json", - "include": ["./src/", "eslint.config.js"] + "include": ["./src/"] } diff --git a/apps/hashdotdev/tsconfig.json b/apps/hashdotdev/tsconfig.json index 99cea24810a..bb1718c2a45 100644 --- a/apps/hashdotdev/tsconfig.json +++ b/apps/hashdotdev/tsconfig.json @@ -16,8 +16,7 @@ "next-env.d.ts", "theme-override.d.ts", "**/*.ts", - "**/*.tsx", - "eslint.config.js" + "**/*.tsx" ], "exclude": ["node_modules"] } diff --git a/libs/@hashintel/block-design-system/tsconfig.json b/libs/@hashintel/block-design-system/tsconfig.json index e2a11fe7f88..8e3405e2951 100644 --- a/libs/@hashintel/block-design-system/tsconfig.json +++ b/libs/@hashintel/block-design-system/tsconfig.json @@ -5,10 +5,5 @@ "lib": ["dom", "dom.iterable", "ESNext"], "noEmit": true }, - "include": [ - "assets.d.ts", - "theme-override.d.ts", - "./src/", - "eslint.config.js" - ] + "include": ["assets.d.ts", "theme-override.d.ts", "./src/"] } diff --git a/libs/@hashintel/design-system/tsconfig.json b/libs/@hashintel/design-system/tsconfig.json index e2a11fe7f88..8e3405e2951 100644 --- a/libs/@hashintel/design-system/tsconfig.json +++ b/libs/@hashintel/design-system/tsconfig.json @@ -5,10 +5,5 @@ "lib": ["dom", "dom.iterable", "ESNext"], "noEmit": true }, - "include": [ - "assets.d.ts", - "theme-override.d.ts", - "./src/", - "eslint.config.js" - ] + "include": ["assets.d.ts", "theme-override.d.ts", "./src/"] } diff --git a/libs/@hashintel/query-editor/tsconfig.json b/libs/@hashintel/query-editor/tsconfig.json index 8fbbdf3ee9e..5888bbf23c3 100644 --- a/libs/@hashintel/query-editor/tsconfig.json +++ b/libs/@hashintel/query-editor/tsconfig.json @@ -5,5 +5,5 @@ "lib": ["dom", "dom.iterable", "ESNext"], "noEmit": true }, - "include": ["theme-override.d.ts", "./src/", "eslint.config.js"] + "include": ["theme-override.d.ts", "./src/"] } diff --git a/libs/@hashintel/type-editor/tsconfig.json b/libs/@hashintel/type-editor/tsconfig.json index 8fbbdf3ee9e..5888bbf23c3 100644 --- a/libs/@hashintel/type-editor/tsconfig.json +++ b/libs/@hashintel/type-editor/tsconfig.json @@ -5,5 +5,5 @@ "lib": ["dom", "dom.iterable", "ESNext"], "noEmit": true }, - "include": ["theme-override.d.ts", "./src/", "eslint.config.js"] + "include": ["theme-override.d.ts", "./src/"] } diff --git a/libs/@local/eslint/eslint.config.js b/libs/@local/eslint/eslint.config.js index 2cbb345c7b2..6aff3b50988 100644 --- a/libs/@local/eslint/eslint.config.js +++ b/libs/@local/eslint/eslint.config.js @@ -1,3 +1,3 @@ import { create } from "@local/eslint"; -export default create({}); +export default create(import.meta.dirname); diff --git a/libs/@local/repo-chores/node/tsconfig.json b/libs/@local/repo-chores/node/tsconfig.json index 00f9ce6a44c..3154c3f4e8e 100644 --- a/libs/@local/repo-chores/node/tsconfig.json +++ b/libs/@local/repo-chores/node/tsconfig.json @@ -1,5 +1,5 @@ { "extends": "@local/tsconfig/legacy-base-tsconfig-to-refactor.json", - "include": ["scripts", "eslint.config.js"], + "include": ["scripts"], "exclude": ["scripts/create-block/**/*.d.ts"] } From 8fe0dcd026ae13521e413ecd07e9656fe0a3aa29 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Tue, 10 Dec 2024 15:40:58 +0100 Subject: [PATCH 44/51] fix: eslint --- libs/@local/eslint/src/deprecated/block.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/@local/eslint/src/deprecated/block.ts b/libs/@local/eslint/src/deprecated/block.ts index 0378d29e372..38eafc53125 100644 --- a/libs/@local/eslint/src/deprecated/block.ts +++ b/libs/@local/eslint/src/deprecated/block.ts @@ -5,7 +5,8 @@ import unicorn from "eslint-plugin-unicorn"; import { fixupPluginRules } from "@eslint/compat"; import typescriptEslint from "@typescript-eslint/eslint-plugin"; -import { type ESConfig } from "../utils.js"; +import type { ESConfig } from "../utils.js"; + import { create as createBase } from "./base.js"; export const create = (projectDirectory: string) => From 9bd2f77a12968182f007eeb03bc6ccc4fd9128bd Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Tue, 10 Dec 2024 15:46:13 +0100 Subject: [PATCH 45/51] fix: tsconfig --- apps/hash-frontend/tsconfig.json | 3 +-- tests/hash-backend-integration/tsconfig.json | 7 +------ tests/hash-backend-load/tsconfig.json | 2 +- tests/hash-playwright/tsconfig.json | 7 +------ 4 files changed, 4 insertions(+), 15 deletions(-) diff --git a/apps/hash-frontend/tsconfig.json b/apps/hash-frontend/tsconfig.json index 07de72210f2..bdc90fae4b6 100644 --- a/apps/hash-frontend/tsconfig.json +++ b/apps/hash-frontend/tsconfig.json @@ -19,8 +19,7 @@ "theme-override.d.ts", "**/*.ts", "**/*.tsx", - "codegen.config.ts", - "eslint.config.js" + "codegen.config.ts" ], "exclude": ["node_modules", ".next"] } diff --git a/tests/hash-backend-integration/tsconfig.json b/tests/hash-backend-integration/tsconfig.json index 78d4da6a6cb..8ff51e490d6 100644 --- a/tests/hash-backend-integration/tsconfig.json +++ b/tests/hash-backend-integration/tsconfig.json @@ -1,9 +1,4 @@ { "extends": "@local/tsconfig/legacy-base-tsconfig-to-refactor.json", - "include": [ - "./src/", - "codegen.config.ts", - "vitest.config.ts", - "eslint.config.js" - ] + "include": ["./src/", "codegen.config.ts", "vitest.config.ts"] } diff --git a/tests/hash-backend-load/tsconfig.json b/tests/hash-backend-load/tsconfig.json index f4bbd92ff8d..cffe9b89ecc 100644 --- a/tests/hash-backend-load/tsconfig.json +++ b/tests/hash-backend-load/tsconfig.json @@ -1,6 +1,6 @@ { "extends": "@local/tsconfig/legacy-base-tsconfig-to-refactor.json", - "include": ["src", "rollup.config.ts", "eslint.config.js"], + "include": ["src", "rollup.config.ts"], "compilerOptions": { "outDir": "dist", "sourceMap": true, diff --git a/tests/hash-playwright/tsconfig.json b/tests/hash-playwright/tsconfig.json index c71f8d5ab9e..5a93f1d88c1 100644 --- a/tests/hash-playwright/tsconfig.json +++ b/tests/hash-playwright/tsconfig.json @@ -1,11 +1,6 @@ { "extends": "@local/tsconfig/legacy-base-tsconfig-to-refactor.json", - "include": [ - "tests", - "eslint.config.js", - "codegen.config.ts", - "playwright.config.ts" - ], + "include": ["tests", "codegen.config.ts", "playwright.config.ts"], "compilerOptions": { "lib": ["dom", "dom.iterable", "ESNext"] } From 4e15a32f92501340971773b7f531341b0b71aac8 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Tue, 10 Dec 2024 15:54:27 +0100 Subject: [PATCH 46/51] fix: unused variable errors --- .../get-link-follower-next-tool-calls.ts | 6 +--- .../shared/coordinator-tools.ts | 7 +--- .../propose-entity-from-claims-agent.ts | 6 +--- .../get-llm-response/anthropic-client.ts | 19 +++------- .../incoming-links-table.tsx | 11 +----- .../readonly-outgoing-links-table.tsx | 6 +--- .../src/pages/shared/visualizer-views.tsx | 6 +--- .../src/pages/types/[[...type-kind]].page.tsx | 15 +++----- .../[[...type-kind]].page/types-table.tsx | 36 +++++++------------ .../hash-backend-utils/src/machine-actors.ts | 12 ++----- .../src/flows/action-definitions.ts | 33 ++++++++--------- .../src/flows/trigger-definitions.ts | 15 +++----- .../hash-isomorphic-utils/src/flows/types.ts | 17 ++++----- 13 files changed, 56 insertions(+), 133 deletions(-) diff --git a/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/link-follower-agent/get-link-follower-next-tool-calls.ts b/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/link-follower-agent/get-link-follower-next-tool-calls.ts index 37f68f3d860..88f78a01351 100644 --- a/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/link-follower-agent/get-link-follower-next-tool-calls.ts +++ b/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/link-follower-agent/get-link-follower-next-tool-calls.ts @@ -116,11 +116,7 @@ Now decide what to do next. If you have gathered enough information about entiti }; }; -// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors -// eslint-disable-next-line @typescript-eslint/no-unused-vars -const toolNames = ["exploreLinks", "complete", "terminate"] as const; - -type ToolName = (typeof toolNames)[number]; +type ToolName = "exploreLinks" | "complete" | "terminate"; const suggestionForNextStepsDefinition = { type: "string", diff --git a/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/shared/coordinator-tools.ts b/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/shared/coordinator-tools.ts index f2525bf9678..314c12a3de9 100644 --- a/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/shared/coordinator-tools.ts +++ b/apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/shared/coordinator-tools.ts @@ -56,12 +56,7 @@ export const subCoordinatorOmittedCoordinatorToolNames = [ type SubCoordinatorOmittedCoordinatorToolName = (typeof subCoordinatorOmittedCoordinatorToolNames)[number]; -// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors -// eslint-disable-next-line @typescript-eslint/no-unused-vars -const subCoordinatingAgentCustomToolNames = ["complete"] as const; - -export type SubCoordinatingAgentCustomToolName = - (typeof subCoordinatingAgentCustomToolNames)[number]; +export type SubCoordinatingAgentCustomToolName = "complete"; export type SubCoordinatingAgentToolName = | Exclude diff --git a/apps/hash-ai-worker-ts/src/activities/flow-activities/shared/propose-entities-from-claims/propose-entity-from-claims-agent.ts b/apps/hash-ai-worker-ts/src/activities/flow-activities/shared/propose-entities-from-claims/propose-entity-from-claims-agent.ts index e1ec0519fb5..66b5de0d2d8 100644 --- a/apps/hash-ai-worker-ts/src/activities/flow-activities/shared/propose-entities-from-claims/propose-entity-from-claims-agent.ts +++ b/apps/hash-ai-worker-ts/src/activities/flow-activities/shared/propose-entities-from-claims/propose-entity-from-claims-agent.ts @@ -164,11 +164,7 @@ const generatePropertyMetadata = (params: { }; }; -// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors -// eslint-disable-next-line @typescript-eslint/no-unused-vars -const toolNames = ["proposeEntity", "abandonEntity"] as const; - -type ToolName = (typeof toolNames)[number]; +type ToolName = "proposeEntity" | "abandonEntity"; const generateToolDefinitions = (params: { dereferencedEntityTypes: DereferencedEntityType[]; diff --git a/apps/hash-ai-worker-ts/src/activities/shared/get-llm-response/anthropic-client.ts b/apps/hash-ai-worker-ts/src/activities/shared/get-llm-response/anthropic-client.ts index e670d7f4718..7ea62b72f1e 100644 --- a/apps/hash-ai-worker-ts/src/activities/shared/get-llm-response/anthropic-client.ts +++ b/apps/hash-ai-worker-ts/src/activities/shared/get-llm-response/anthropic-client.ts @@ -91,15 +91,10 @@ const anthropicBedrockClient: AnthropicBedrock = new AnthropicBedrock({ awsRegion, }); -// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors -// eslint-disable-next-line @typescript-eslint/no-unused-vars -const anthropicBedrockModels = [ - "anthropic.claude-3-haiku-20240307-v1:0", - "anthropic.claude-3-opus-20240229-v1:0", - "anthropic.claude-3-5-sonnet-20240620-v1:0", -] as const; - -type AnthropicBedrockModel = (typeof anthropicBedrockModels)[number]; +type AnthropicBedrockModel = + | "anthropic.claude-3-haiku-20240307-v1:0" + | "anthropic.claude-3-opus-20240229-v1:0" + | "anthropic.claude-3-5-sonnet-20240620-v1:0"; /** @see https://docs.anthropic.com/en/api/claude-on-amazon-bedrock#api-model-names */ export const anthropicModelToBedrockModel: Record< @@ -111,11 +106,7 @@ export const anthropicModelToBedrockModel: Record< "claude-3-5-sonnet-20240620": "anthropic.claude-3-5-sonnet-20240620-v1:0", }; -// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors -// eslint-disable-next-line @typescript-eslint/no-unused-vars -const anthropicApiProviders = ["anthropic", "amazon-bedrock"] as const; - -export type AnthropicApiProvider = (typeof anthropicApiProviders)[number]; +export type AnthropicApiProvider = "anthropic" | "amazon-bedrock"; type AnthropicBedrockMessagesCreateParams = Parameters< typeof anthropicBedrockClient.messages.create diff --git a/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-editor/links-section/incoming-links-section/incoming-links-table.tsx b/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-editor/links-section/incoming-links-section/incoming-links-table.tsx index 938d16e74ca..8d45e2f46fc 100644 --- a/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-editor/links-section/incoming-links-section/incoming-links-table.tsx +++ b/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-editor/links-section/incoming-links-section/incoming-links-table.tsx @@ -52,16 +52,7 @@ import { maxLinksTableHeight, } from "../shared/table-styling"; -// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors -// eslint-disable-next-line @typescript-eslint/no-unused-vars -const fieldIds = [ - "linkedFrom", - "linkTypes", - "linkedFromTypes", - "link", -] as const; - -type FieldId = (typeof fieldIds)[number]; +type FieldId = "linkedFrom" | "linkTypes" | "linkedFromTypes" | "link"; const staticColumns: VirtualizedTableColumn[] = [ { diff --git a/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-editor/links-section/outgoing-links-section/readonly-outgoing-links-table.tsx b/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-editor/links-section/outgoing-links-section/readonly-outgoing-links-table.tsx index 3f24ac2a335..ffd63cfae03 100644 --- a/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-editor/links-section/outgoing-links-section/readonly-outgoing-links-table.tsx +++ b/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-editor/links-section/outgoing-links-section/readonly-outgoing-links-table.tsx @@ -53,11 +53,7 @@ import { maxLinksTableHeight, } from "../shared/table-styling"; -// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors -// eslint-disable-next-line @typescript-eslint/no-unused-vars -const fieldIds = ["linkTypes", "linkedTo", "linkedToTypes", "link"] as const; - -type OutgoingLinksFieldId = (typeof fieldIds)[number]; +type OutgoingLinksFieldId = "linkTypes" | "linkedTo" | "linkedToTypes" | "link"; export type OutgoingLinksFilterValues = VirtualizedTableFilterValuesByFieldId; diff --git a/apps/hash-frontend/src/pages/shared/visualizer-views.tsx b/apps/hash-frontend/src/pages/shared/visualizer-views.tsx index 598a6f55558..c7181798323 100644 --- a/apps/hash-frontend/src/pages/shared/visualizer-views.tsx +++ b/apps/hash-frontend/src/pages/shared/visualizer-views.tsx @@ -5,11 +5,7 @@ import type { ReactElement } from "react"; import { ChartNetworkRegularIcon } from "../../shared/icons/chart-network-regular-icon"; import { GridSolidIcon } from "../../shared/icons/grid-solid-icon"; -// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors -// eslint-disable-next-line @typescript-eslint/no-unused-vars -const visualizerViews = ["Table", "Graph", "Grid"] as const; - -export type VisualizerView = (typeof visualizerViews)[number]; +export type VisualizerView = "Table" | "Graph" | "Grid"; export const visualizerViewIcons: Record< VisualizerView, diff --git a/apps/hash-frontend/src/pages/types/[[...type-kind]].page.tsx b/apps/hash-frontend/src/pages/types/[[...type-kind]].page.tsx index 1eafcbfa04c..d9c0e3a5381 100644 --- a/apps/hash-frontend/src/pages/types/[[...type-kind]].page.tsx +++ b/apps/hash-frontend/src/pages/types/[[...type-kind]].page.tsx @@ -22,16 +22,11 @@ import { } from "./[[...type-kind]].page/types-page-tabs"; import { TypesTable } from "./[[...type-kind]].page/types-table"; -// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors -// eslint-disable-next-line @typescript-eslint/no-unused-vars -const parsedQueryParams = [ - "entity-type", - "link-type", - "property-type", - "data-type", -] as const; - -type ParsedQueryKindParam = (typeof parsedQueryParams)[number]; +type ParsedQueryKindParam = + | "entity-type" + | "link-type" + | "property-type" + | "data-type"; type ParsedQueryParams = { ["type-kind"]?: ParsedQueryKindParam[]; diff --git a/apps/hash-frontend/src/pages/types/[[...type-kind]].page/types-table.tsx b/apps/hash-frontend/src/pages/types/[[...type-kind]].page/types-table.tsx index eafffb7070c..5f9286ffe86 100644 --- a/apps/hash-frontend/src/pages/types/[[...type-kind]].page/types-table.tsx +++ b/apps/hash-frontend/src/pages/types/[[...type-kind]].page/types-table.tsx @@ -51,18 +51,13 @@ import { TypeGraphVisualizer } from "../../shared/type-graph-visualizer"; import type { VisualizerView } from "../../shared/visualizer-views"; import { visualizerViewIcons } from "../../shared/visualizer-views"; -// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors -// eslint-disable-next-line @typescript-eslint/no-unused-vars -const typesTableColumnIds = [ - "title", - "kind", - "webShortname", - "archived", - "lastEdited", - "lastEditedBy", -] as const; - -type LinkColumnId = (typeof typesTableColumnIds)[number]; +type LinkColumnId = + | "title" + | "kind" + | "webShortname" + | "archived" + | "lastEdited" + | "lastEditedBy"; type TypesTableColumn = { id: LinkColumnId; @@ -88,17 +83,12 @@ const typeNamespaceFromTypeId = (typeId: VersionedUrl): string => { return `${domain}/${firstPathSegment}`; }; -// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors -// eslint-disable-next-line @typescript-eslint/no-unused-vars -const typeTableKinds = [ - "all", - "entity-type", - "link-type", - "property-type", - "data-type", -] as const; - -type TypeTableKind = (typeof typeTableKinds)[number]; +type TypeTableKind = + | "all" + | "entity-type" + | "link-type" + | "property-type" + | "data-type"; const typesTablesToTitle: Record = { all: "Types", diff --git a/libs/@local/hash-backend-utils/src/machine-actors.ts b/libs/@local/hash-backend-utils/src/machine-actors.ts index 2421d2ebfcb..c5934e87c13 100644 --- a/libs/@local/hash-backend-utils/src/machine-actors.ts +++ b/libs/@local/hash-backend-utils/src/machine-actors.ts @@ -9,7 +9,7 @@ import { systemEntityTypes, systemPropertyTypes, } from "@local/hash-isomorphic-utils/ontology-type-ids"; -import { systemTypeWebShortnames } from "@local/hash-isomorphic-utils/ontology-types"; +import type { SystemTypeWebShortname } from "@local/hash-isomorphic-utils/ontology-types"; import { mapGraphApiEntityToEntity } from "@local/hash-isomorphic-utils/subgraph-mapping"; import type { Machine } from "@local/hash-isomorphic-utils/system-types/machine"; import { backOff } from "exponential-backoff"; @@ -18,15 +18,7 @@ import { NotFoundError } from "./error.js"; export type WebMachineActorIdentifier = `system-${OwnedById}`; -// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors -// eslint-disable-next-line @typescript-eslint/no-unused-vars -const globalMachineActorIdentifiers = [ - ...systemTypeWebShortnames, - "hash-ai", -] as const; - -export type GlobalMachineActorIdentifier = - (typeof globalMachineActorIdentifiers)[number]; +export type GlobalMachineActorIdentifier = SystemTypeWebShortname | "hash-ai"; export type MachineActorIdentifier = | GlobalMachineActorIdentifier diff --git a/libs/@local/hash-isomorphic-utils/src/flows/action-definitions.ts b/libs/@local/hash-isomorphic-utils/src/flows/action-definitions.ts index aacb3c9d028..45910a2ee65 100644 --- a/libs/@local/hash-isomorphic-utils/src/flows/action-definitions.ts +++ b/libs/@local/hash-isomorphic-utils/src/flows/action-definitions.ts @@ -6,25 +6,20 @@ import type { StepInput, } from "./types.js"; -// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors -// eslint-disable-next-line @typescript-eslint/no-unused-vars -const actionDefinitionIds = [ - "answerQuestion", - "generateWebQueries", - "getFileFromUrl", - "getWebPageByUrl", - "getWebPageSummary", - "inferMetadataFromDocument", - "inferEntitiesFromContent", - "processAutomaticBrowsingSettings", - "persistEntities", - "persistEntity", - "researchEntities", - "webSearch", - "writeGoogleSheet", -] as const; - -export type ActionDefinitionId = (typeof actionDefinitionIds)[number]; +export type ActionDefinitionId = + | "answerQuestion" + | "generateWebQueries" + | "getFileFromUrl" + | "getWebPageByUrl" + | "getWebPageSummary" + | "inferMetadataFromDocument" + | "inferEntitiesFromContent" + | "processAutomaticBrowsingSettings" + | "persistEntities" + | "persistEntity" + | "researchEntities" + | "webSearch" + | "writeGoogleSheet"; const actionDefinitionsAsConst = { generateWebQueries: { diff --git a/libs/@local/hash-isomorphic-utils/src/flows/trigger-definitions.ts b/libs/@local/hash-isomorphic-utils/src/flows/trigger-definitions.ts index b1e65e9a49c..537655a3779 100644 --- a/libs/@local/hash-isomorphic-utils/src/flows/trigger-definitions.ts +++ b/libs/@local/hash-isomorphic-utils/src/flows/trigger-definitions.ts @@ -1,15 +1,10 @@ import type { DeepReadOnly, TriggerDefinition } from "./types.js"; -// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors -// eslint-disable-next-line @typescript-eslint/no-unused-vars -const triggerIds = [ - "onFileUpload", - "userTrigger", - "userVisitedWebPageTrigger", - "scheduledTrigger", -] as const; - -export type TriggerDefinitionId = (typeof triggerIds)[number]; +export type TriggerDefinitionId = + | "onFileUpload" + | "userTrigger" + | "userVisitedWebPageTrigger" + | "scheduledTrigger"; const triggerDefinitionsAsConst = { onFileUpload: { diff --git a/libs/@local/hash-isomorphic-utils/src/flows/types.ts b/libs/@local/hash-isomorphic-utils/src/flows/types.ts index 0e652898e68..d0c51b25af3 100644 --- a/libs/@local/hash-isomorphic-utils/src/flows/types.ts +++ b/libs/@local/hash-isomorphic-utils/src/flows/types.ts @@ -594,17 +594,12 @@ export type StepProgressLog = | ViewedFile | VisitedWebPageLog; -// @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors -// eslint-disable-next-line @typescript-eslint/no-unused-vars -const flowSignalTypes = [ - "externalInputRequest", - "externalInputResponse", - "logProgress", - "researchActionCheckpoint", - "stopWorker", -] as const; - -export type FlowSignalType = (typeof flowSignalTypes)[number]; +export type FlowSignalType = + | "externalInputRequest" + | "externalInputResponse" + | "logProgress" + | "researchActionCheckpoint" + | "stopWorker"; export type ProgressLogSignal = { attempt: number; From c5535c454964370f4baa58bcb95547285aee1608 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Tue, 10 Dec 2024 15:57:51 +0100 Subject: [PATCH 47/51] fix: eslint --- libs/@local/eslint/src/index.ts | 1 + tests/hash-playwright/tests/shared/runtime.ts | 12 +++--------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/libs/@local/eslint/src/index.ts b/libs/@local/eslint/src/index.ts index 47173fdb215..c7201dcc325 100644 --- a/libs/@local/eslint/src/index.ts +++ b/libs/@local/eslint/src/index.ts @@ -29,6 +29,7 @@ export interface Options { export const create = ( projectDirectory: string, + // eslint-disable-next-line fsecond/prefer-destructured-optionals options?: PartialDeep, ): readonly ESConfig[] => { const sheriffOptions: SheriffSettings = { diff --git a/tests/hash-playwright/tests/shared/runtime.ts b/tests/hash-playwright/tests/shared/runtime.ts index 883523fb405..e4f6dc67bb8 100644 --- a/tests/hash-playwright/tests/shared/runtime.ts +++ b/tests/hash-playwright/tests/shared/runtime.ts @@ -21,23 +21,17 @@ export * from "@playwright/test"; export const test = base.extend({ page: async ({ page }, use) => { const messages: string[] = []; - // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors - // eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access + page.on("console", (msg) => { - // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors - // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access const text = msg.text(); - // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors - // eslint-disable-next-line @typescript-eslint/no-unsafe-argument if (tolerableConsoleMessageMatches.some((match) => match.test(text))) { return; } - // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors - // eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access + messages.push(`[${msg.type()}] ${msg.text()}`); }); // @todo: https://linear.app/hash/issue/H-3769/investigate-new-eslint-errors - // eslint-disable-next-line react-hooks/rules-of-hooks, @typescript-eslint/no-unsafe-call + // eslint-disable-next-line react-hooks/rules-of-hooks await use(page); expect( messages, From cf3e35ad8683a05251123e3dcbb724d8102b93a6 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Tue, 10 Dec 2024 16:13:36 +0100 Subject: [PATCH 48/51] chore: remove offending plugin --- libs/@local/eslint/package.json | 1 - yarn.lock | 8 -------- 2 files changed, 9 deletions(-) diff --git a/libs/@local/eslint/package.json b/libs/@local/eslint/package.json index bb82a51a861..51438dd5584 100644 --- a/libs/@local/eslint/package.json +++ b/libs/@local/eslint/package.json @@ -32,7 +32,6 @@ "eslint-config-sheriff": "25.3.0", "eslint-import-resolver-node": "0.3.9", "eslint-import-resolver-typescript": "3.7.0", - "eslint-plugin-airbnb": "0.0.1-security", "eslint-plugin-canonical": "5.0.0", "eslint-plugin-import": "2.31.0", "eslint-plugin-react-hooks": "5.1.0", diff --git a/yarn.lock b/yarn.lock index d063f41ee57..b7f89711f48 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8677,7 +8677,6 @@ __metadata: eslint-config-sheriff: "npm:25.3.0" eslint-import-resolver-node: "npm:0.3.9" eslint-import-resolver-typescript: "npm:3.7.0" - eslint-plugin-airbnb: "npm:0.0.1-security" eslint-plugin-canonical: "npm:5.0.0" eslint-plugin-import: "npm:2.31.0" eslint-plugin-react-hooks: "npm:5.1.0" @@ -25890,13 +25889,6 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-airbnb@npm:0.0.1-security": - version: 0.0.1-security - resolution: "eslint-plugin-airbnb@npm:0.0.1-security" - checksum: 10c0/d7fc1c39a3da4e728521f0559b8d40b2eb7a393188bf0cfcdbd349b2558a8ae092e0606a1a75045950f7ea55dd37c638da39fd3f3429ab64ec49062320137a43 - languageName: node - linkType: hard - "eslint-plugin-arrow-return-style@npm:^1.3.0": version: 1.3.1 resolution: "eslint-plugin-arrow-return-style@npm:1.3.1" From ee2cac6e84c5058c9f8a7f14d2f14827cc914b14 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Wed, 11 Dec 2024 12:43:14 +0100 Subject: [PATCH 49/51] fix: adjust rules to allow empty interface extends --- libs/@local/harpc/client/typescript/eslint.config.js | 4 ++++ libs/@local/harpc/client/typescript/src/codec/Decoder.ts | 1 - libs/@local/harpc/client/typescript/src/codec/Encoder.ts | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libs/@local/harpc/client/typescript/eslint.config.js b/libs/@local/harpc/client/typescript/eslint.config.js index 3edfcbdaadb..9b68b9bc5bd 100644 --- a/libs/@local/harpc/client/typescript/eslint.config.js +++ b/libs/@local/harpc/client/typescript/eslint.config.js @@ -8,6 +8,10 @@ export default [ "unicorn/filename-case": "off", "func-names": "off", "canonical/filename-no-index": "off", + "@typescript-eslint/no-empty-object-type": [ + "error", + { allowInterfaces: "with-single-extends" }, + ], }, }, ]; diff --git a/libs/@local/harpc/client/typescript/src/codec/Decoder.ts b/libs/@local/harpc/client/typescript/src/codec/Decoder.ts index b6f20ba935b..7d601715b58 100644 --- a/libs/@local/harpc/client/typescript/src/codec/Decoder.ts +++ b/libs/@local/harpc/client/typescript/src/codec/Decoder.ts @@ -42,7 +42,6 @@ export interface Decoder }; } -// eslint-disable-next-line @typescript-eslint/no-empty-object-type interface DecoderImpl extends Decoder {} const DecoderProto: Omit = { diff --git a/libs/@local/harpc/client/typescript/src/codec/Encoder.ts b/libs/@local/harpc/client/typescript/src/codec/Encoder.ts index a679dc33dac..cafef748f13 100644 --- a/libs/@local/harpc/client/typescript/src/codec/Encoder.ts +++ b/libs/@local/harpc/client/typescript/src/codec/Encoder.ts @@ -42,7 +42,6 @@ export interface Encoder }; } -// eslint-disable-next-line @typescript-eslint/no-empty-object-type interface EncoderImpl extends Encoder {} const EncoderProto: Omit = { From d1fdbfc53dfa009e26d4493417bd1e33857d85b7 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Wed, 11 Dec 2024 12:46:46 +0100 Subject: [PATCH 50/51] fix: yarn install --- yarn.lock | 85 +++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 63 insertions(+), 22 deletions(-) diff --git a/yarn.lock b/yarn.lock index b7f89711f48..5a3d3b413ab 100644 --- a/yarn.lock +++ b/yarn.lock @@ -597,7 +597,7 @@ __metadata: react-dom: "npm:18.2.0" react-dropzone: "npm:14.3.5" react-full-screen: "npm:1.1.1" - react-hook-form: "npm:7.53.2" + react-hook-form: "npm:7.54.0" react-markdown: "npm:9.0.1" react-pdf: "npm:9.1.1" react-responsive-carousel: "npm:3.2.23" @@ -4384,7 +4384,7 @@ __metadata: prettier: "npm:3.4.2" react: "npm:18.2.0" react-dom: "npm:18.2.0" - react-hook-form: "npm:7.53.2" + react-hook-form: "npm:7.54.0" typescript: "npm:5.6.3" peerDependencies: react: ^18.2.0 @@ -4608,7 +4608,7 @@ __metadata: prettier: "npm:3.4.2" react: "npm:18.2.0" react-dom: "npm:18.2.0" - react-textarea-autosize: "npm:8.5.5" + react-textarea-autosize: "npm:8.5.6" typescript: "npm:5.6.3" peerDependencies: react: ^18.0.0 @@ -7528,14 +7528,14 @@ __metadata: eslint-plugin-storybook: "npm:0.11.1" react: "npm:18.2.0" react-dom: "npm:18.2.0" - react-hook-form: "npm:7.53.2" + react-hook-form: "npm:7.54.0" typescript: "npm:5.6.3" peerDependencies: "@mui/material": ^5.14.0 "@mui/system": ^5.14.0 react: ^18.0.0 react-dom: ^18.0.0 - react-hook-form: 7.53.2 + react-hook-form: 7.54.0 languageName: unknown linkType: soft @@ -7562,7 +7562,7 @@ __metadata: material-ui-popup-state: "npm:4.1.0" react: "npm:18.2.0" react-dom: "npm:18.2.0" - react-hook-form: "npm:7.53.2" + react-hook-form: "npm:7.54.0" rooks: "npm:7.14.1" setimmediate: "npm:1.0.5" typescript: "npm:5.6.3" @@ -7571,7 +7571,7 @@ __metadata: "@mui/system": ^5.14.0 react: ^18.0.0 react-dom: ^18.0.0 - react-hook-form: 7.53.2 + react-hook-form: 7.54.0 languageName: unknown linkType: soft @@ -8774,7 +8774,7 @@ __metadata: dependencies: "@local/tsconfig": "npm:0.0.0-private" "@openapitools/openapi-generator-cli": "npm:2.15.3" - "@redocly/cli": "npm:1.25.15" + "@redocly/cli": "npm:1.26.0" "@rust/hash-graph-api": "npm:0.0.0-private" "@types/node": "npm:22.10.1" axios: "npm:1.7.9" @@ -8917,7 +8917,7 @@ __metadata: "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@types/fs-extra": "npm:9.0.13" - "@types/prettier": "npm:2.7.3" + "@types/prettier": "npm:3.0.0" chalk: "npm:4.1.2" envalid: "npm:7.3.1" eslint: "npm:9.16.0" @@ -12222,11 +12222,11 @@ __metadata: languageName: node linkType: hard -"@redocly/cli@npm:1.25.15": - version: 1.25.15 - resolution: "@redocly/cli@npm:1.25.15" +"@redocly/cli@npm:1.26.0": + version: 1.26.0 + resolution: "@redocly/cli@npm:1.26.0" dependencies: - "@redocly/openapi-core": "npm:1.25.15" + "@redocly/openapi-core": "npm:1.26.0" abort-controller: "npm:^3.0.0" chokidar: "npm:^3.5.1" colorette: "npm:^1.2.0" @@ -12248,7 +12248,7 @@ __metadata: bin: openapi: bin/cli.js redocly: bin/cli.js - checksum: 10c0/cc182693b9276b01e70140fa35da88671af271ad15776478245f4a1fc5850d82ae7646704df6ef02ee28927d552fd95ee3e5e73f9c4a3b8b516684bc502e88ee + checksum: 10c0/bb1d26459414a5166fec14c4788ff1074a01f604ed4f411baada362070bb8627004506c9864dc32b8ed35cba3bc68e7662ab4acd45a8e0aa70ca0318e0152587 languageName: node linkType: hard @@ -12259,7 +12259,26 @@ __metadata: languageName: node linkType: hard -"@redocly/openapi-core@npm:1.25.15, @redocly/openapi-core@npm:^1.4.0": +"@redocly/openapi-core@npm:1.26.0": + version: 1.26.0 + resolution: "@redocly/openapi-core@npm:1.26.0" + dependencies: + "@redocly/ajv": "npm:^8.11.2" + "@redocly/config": "npm:^0.17.0" + colorette: "npm:^1.2.0" + https-proxy-agent: "npm:^7.0.4" + js-levenshtein: "npm:^1.1.6" + js-yaml: "npm:^4.1.0" + lodash.isequal: "npm:^4.5.0" + minimatch: "npm:^5.0.1" + node-fetch: "npm:^2.6.1" + pluralize: "npm:^8.0.0" + yaml-ast-parser: "npm:0.0.43" + checksum: 10c0/d55989a3d2b343c5f5792c704f0e7b2030d739be65f80fb7ff4625f6cb189bb646003180ea605940014c5c77f9954c21cc36d371fa510775c25fbd5534311b0e + languageName: node + linkType: hard + +"@redocly/openapi-core@npm:^1.4.0": version: 1.25.15 resolution: "@redocly/openapi-core@npm:1.25.15" dependencies: @@ -17732,7 +17751,16 @@ __metadata: languageName: node linkType: hard -"@types/prettier@npm:2.7.3, @types/prettier@npm:^2.6.1": +"@types/prettier@npm:3.0.0": + version: 3.0.0 + resolution: "@types/prettier@npm:3.0.0" + dependencies: + prettier: "npm:*" + checksum: 10c0/edab8c0c0e56936e89c919cac17e384a9f231ce12062fb3beeb45bc45e7dcc4035dd3d7df3333b0bdd39f3b4501f22267a9dba45e22b9728c139857142e90282 + languageName: node + linkType: hard + +"@types/prettier@npm:^2.6.1": version: 2.7.3 resolution: "@types/prettier@npm:2.7.3" checksum: 10c0/0960b5c1115bb25e979009d0b44c42cf3d792accf24085e4bfce15aef5794ea042e04e70c2139a2c3387f781f18c89b5706f000ddb089e9a4a2ccb7536a2c5f0 @@ -38867,7 +38895,7 @@ __metadata: languageName: node linkType: hard -"prettier@npm:3.4.2": +"prettier@npm:*, prettier@npm:3.4.2": version: 3.4.2 resolution: "prettier@npm:3.4.2" bin: @@ -40076,12 +40104,12 @@ __metadata: languageName: node linkType: hard -"react-hook-form@npm:7.53.2": - version: 7.53.2 - resolution: "react-hook-form@npm:7.53.2" +"react-hook-form@npm:7.54.0": + version: 7.54.0 + resolution: "react-hook-form@npm:7.54.0" peerDependencies: react: ^16.8.0 || ^17 || ^18 || ^19 - checksum: 10c0/18336d8e8798a70dcd0af703a0becca2d5dbf82a7b7a3ca334ae0e1f26410490bc3ef2ea51adcf790bb1e7006ed7a763fd00d664e398f71225b23529a7ccf0bf + checksum: 10c0/8dbc68e8b82aafda1271bbc291052b5efb091505865cd10e3d7dd618ca3870bd05596d7ba68f128427d47ff11e0d9f03089fd7afb88d2a8865ff81f21af417a0 languageName: node linkType: hard @@ -40471,7 +40499,20 @@ __metadata: languageName: node linkType: hard -"react-textarea-autosize@npm:8.5.5, react-textarea-autosize@npm:^8.3.2": +"react-textarea-autosize@npm:8.5.6": + version: 8.5.6 + resolution: "react-textarea-autosize@npm:8.5.6" + dependencies: + "@babel/runtime": "npm:^7.20.13" + use-composed-ref: "npm:^1.3.0" + use-latest: "npm:^1.2.1" + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 + checksum: 10c0/652d290d316c55a253507ecf65ca27f2162801dace10c715f2241203e81d82e9de6d282095b758b26c6bc9e1af9ca552cab5c3a361b230e5fcf25bec31e1bd25 + languageName: node + linkType: hard + +"react-textarea-autosize@npm:^8.3.2": version: 8.5.5 resolution: "react-textarea-autosize@npm:8.5.5" dependencies: From eceafcae712688b82ec9205ad22b69077dcd3b97 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Wed, 11 Dec 2024 12:52:23 +0100 Subject: [PATCH 51/51] fix: yarn dedupe --- yarn.lock | 36 ++---------------------------------- 1 file changed, 2 insertions(+), 34 deletions(-) diff --git a/yarn.lock b/yarn.lock index 5a3d3b413ab..660d7206cf8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12259,7 +12259,7 @@ __metadata: languageName: node linkType: hard -"@redocly/openapi-core@npm:1.26.0": +"@redocly/openapi-core@npm:1.26.0, @redocly/openapi-core@npm:^1.4.0": version: 1.26.0 resolution: "@redocly/openapi-core@npm:1.26.0" dependencies: @@ -12278,25 +12278,6 @@ __metadata: languageName: node linkType: hard -"@redocly/openapi-core@npm:^1.4.0": - version: 1.25.15 - resolution: "@redocly/openapi-core@npm:1.25.15" - dependencies: - "@redocly/ajv": "npm:^8.11.2" - "@redocly/config": "npm:^0.17.0" - colorette: "npm:^1.2.0" - https-proxy-agent: "npm:^7.0.4" - js-levenshtein: "npm:^1.1.6" - js-yaml: "npm:^4.1.0" - lodash.isequal: "npm:^4.5.0" - minimatch: "npm:^5.0.1" - node-fetch: "npm:^2.6.1" - pluralize: "npm:^8.0.0" - yaml-ast-parser: "npm:0.0.43" - checksum: 10c0/e7ae4b7b8d0fd84bda1c69e528f5c565d2651543c497aee850b889f7684a859376c98fe98cf78e6b1de9b077fd3407cd7bb1cca5a83d407cad27ad94472d0d04 - languageName: node - linkType: hard - "@regru/eslint-plugin-prefer-early-return@npm:^1.0.0": version: 1.0.0 resolution: "@regru/eslint-plugin-prefer-early-return@npm:1.0.0" @@ -40499,7 +40480,7 @@ __metadata: languageName: node linkType: hard -"react-textarea-autosize@npm:8.5.6": +"react-textarea-autosize@npm:8.5.6, react-textarea-autosize@npm:^8.3.2": version: 8.5.6 resolution: "react-textarea-autosize@npm:8.5.6" dependencies: @@ -40512,19 +40493,6 @@ __metadata: languageName: node linkType: hard -"react-textarea-autosize@npm:^8.3.2": - version: 8.5.5 - resolution: "react-textarea-autosize@npm:8.5.5" - dependencies: - "@babel/runtime": "npm:^7.20.13" - use-composed-ref: "npm:^1.3.0" - use-latest: "npm:^1.2.1" - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 10c0/d708a31b39a409d0246cd8afbd956ce51db58ce0b6411b9d4e1dc876ce93c329d20875933ce5d337662fdcd3699596966dc630149236fee2835d74e302404c98 - languageName: node - linkType: hard - "react-transition-group@npm:4.4.5, react-transition-group@npm:^4.4.5": version: 4.4.5 resolution: "react-transition-group@npm:4.4.5"