├── .editorconfig ├── .eslintignore ├── .eslintrc ├── .github └── workflows │ └── release.yml ├── .gitignore ├── .nvmrc ├── LICENSE ├── README.md ├── docs └── release.md ├── esbuild.config.mjs ├── manifest.json ├── package.json ├── src ├── api.ts ├── main.ts ├── rendering.ts ├── settings.ts └── utils.ts ├── styles.css ├── tsconfig.json ├── types.d.ts ├── versions.json └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- 1 | # top-most EditorConfig file 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | insert_final_newline = true 7 | indent_style = space 8 | indent_size = 2 9 | tab_width = 2 10 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | npm node_modules 2 | build -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | "parser": "@typescript-eslint/parser", 4 | "plugins": [ 5 | "@typescript-eslint" 6 | ], 7 | "extends": [ 8 | "eslint:recommended", 9 | "plugin:@typescript-eslint/eslint-recommended", 10 | "plugin:@typescript-eslint/recommended" 11 | ], 12 | "parserOptions": { 13 | "sourceType": "module" 14 | }, 15 | "rules": { 16 | "no-unused-vars": "off", 17 | "@typescript-eslint/no-unused-vars": ["error", { "args": "none" }], 18 | "@typescript-eslint/ban-ts-comment": "off", 19 | "no-prototype-builtins": "off", 20 | "@typescript-eslint/no-empty-function": "off" 21 | } 22 | } -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- 1 | name: Release Obsidian plugin 2 | 3 | on: 4 | push: 5 | tags: 6 | - "*" 7 | 8 | env: 9 | PLUGIN_NAME: matter 10 | 11 | jobs: 12 | build: 13 | runs-on: ubuntu-latest 14 | 15 | steps: 16 | - uses: actions/checkout@v2 17 | - name: Use Node.js 18 | uses: actions/setup-node@v1 19 | with: 20 | node-version: "14.x" 21 | 22 | - name: Build 23 | id: build 24 | run: | 25 | yarn 26 | yarn build 27 | mkdir ${{ env.PLUGIN_NAME }} 28 | cp main.js manifest.json styles.css ${{ env.PLUGIN_NAME }} 29 | zip -r ${{ env.PLUGIN_NAME }}.zip ${{ env.PLUGIN_NAME }} 30 | ls 31 | echo "::set-output name=tag_name::$(git tag --sort version:refname | tail -n 1)" 32 | 33 | - name: Create Release 34 | id: create_release 35 | uses: actions/create-release@v1 36 | env: 37 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 38 | VERSION: ${{ github.ref }} 39 | with: 40 | tag_name: ${{ github.ref }} 41 | release_name: ${{ github.ref }} 42 | draft: false 43 | prerelease: false 44 | 45 | - name: Upload zip file 46 | id: upload-zip 47 | uses: actions/upload-release-asset@v1 48 | env: 49 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 50 | with: 51 | upload_url: ${{ steps.create_release.outputs.upload_url }} 52 | asset_path: ./${{ env.PLUGIN_NAME }}.zip 53 | asset_name: ${{ env.PLUGIN_NAME }}-${{ steps.build.outputs.tag_name }}.zip 54 | asset_content_type: application/zip 55 | 56 | - name: Upload main.js 57 | id: upload-main 58 | uses: actions/upload-release-asset@v1 59 | env: 60 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 61 | with: 62 | upload_url: ${{ steps.create_release.outputs.upload_url }} 63 | asset_path: ./main.js 64 | asset_name: main.js 65 | asset_content_type: text/javascript 66 | 67 | - name: Upload manifest.json 68 | id: upload-manifest 69 | uses: actions/upload-release-asset@v1 70 | env: 71 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 72 | with: 73 | upload_url: ${{ steps.create_release.outputs.upload_url }} 74 | asset_path: ./manifest.json 75 | asset_name: manifest.json 76 | asset_content_type: application/json 77 | 78 | - name: Upload styles.css 79 | id: upload-css 80 | uses: actions/upload-release-asset@v1 81 | env: 82 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 83 | with: 84 | upload_url: ${{ steps.create_release.outputs.upload_url }} 85 | asset_path: ./styles.css 86 | asset_name: styles.css 87 | asset_content_type: text/css 88 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # vscode 2 | .vscode 3 | 4 | # Intellij 5 | *.iml 6 | .idea 7 | 8 | # npm 9 | node_modules 10 | package-lock.json 11 | 12 | # Don't include the compiled main.js file in the repo. 13 | # They should be uploaded to GitHub releases instead. 14 | *.js 15 | 16 | # Exclude sourcemaps 17 | *.map 18 | 19 | # obsidian 20 | data.json 21 | 22 | # Mac 23 | .DS_Store 24 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v16.13.0 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Matter Obsidian Plugin 2 | 3 | Sync all of your [Matter](https://hq.getmatter.app) highlights and notes directly to your Obsidian vault. 4 | 5 | ## Usage 6 | 7 | 1. Install the Matter plugin via the Obsidian community plugins page 8 | 2. Enable the plugin 9 | 3. In the "Matter" settings page, connect the plugin to your Matter account 10 | * Open the Matter application on your phone. 11 | * Go to your Profile > Settings > Connected Accounts > Obsidian 12 | * Press "Scan QR Code" and scan the QR code in the Matter settings page of Obsidian. 13 | 4. Configure the plugin if desired 14 | 5. Start Syncing! 15 | 16 | After the initial setup, Matter will automatically sync in the background. 17 | 18 | ## Demo video 19 | https://www.loom.com/share/a86707aff6854e5da5a5b60d6f3fdd04 20 | 21 | ## Questions or need help? 22 | * Say hello at hello@getmatter.app 23 | * Send feedback directly in the Matter app (Settings -> Send feedback) 24 | * We are @bspring, @huntr, and @angryfakeleg in the Obsidian discord 25 | -------------------------------------------------------------------------------- /docs/release.md: -------------------------------------------------------------------------------- 1 | # Creating a new release 2 | 3 | 1. Update the following files with the new release version: 4 | - manifest.json 5 | - package.json 6 | - versions.json 7 | 2. Commit and push those changes. 8 | 3. Run: 9 | ``` 10 | git tag -a -m "" 11 | git push origin 12 | ``` 13 | -------------------------------------------------------------------------------- /esbuild.config.mjs: -------------------------------------------------------------------------------- 1 | import esbuild from "esbuild"; 2 | import process from "process"; 3 | import builtins from 'builtin-modules' 4 | 5 | const banner = 6 | `/* 7 | THIS IS A GENERATED/BUNDLED FILE BY ESBUILD 8 | if you want to view the source, please visit the github repository of this plugin 9 | */ 10 | `; 11 | 12 | const prod = (process.argv[2] === 'production'); 13 | 14 | esbuild.build({ 15 | banner: { 16 | js: banner, 17 | }, 18 | entryPoints: ['src/main.ts'], 19 | bundle: true, 20 | external: ['obsidian', 'electron', ...builtins], 21 | format: 'cjs', 22 | watch: !prod, 23 | target: 'es2016', 24 | logLevel: "info", 25 | sourcemap: prod ? false : 'inline', 26 | treeShaking: true, 27 | outfile: 'main.js', 28 | }).catch(() => process.exit(1)); 29 | -------------------------------------------------------------------------------- /manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "matter", 3 | "name": "Matter", 4 | "version": "1.1.4", 5 | "minAppVersion": "0.12.0", 6 | "description": "The official Matter <> Obsidian plugin", 7 | "author": "Matter", 8 | "authorUrl": "https://hq.getmatter.app", 9 | "isDesktopOnly": false 10 | } 11 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "matter", 3 | "version": "1.1.4", 4 | "description": "The Matter Obsidian Plugin", 5 | "main": "main.js", 6 | "scripts": { 7 | "dev": "node esbuild.config.mjs", 8 | "build": "node esbuild.config.mjs production", 9 | "lint": "eslint **/*.ts" 10 | }, 11 | "keywords": [], 12 | "author": "", 13 | "license": "MIT", 14 | "devDependencies": { 15 | "@types/node": "^16.11.6", 16 | "@types/nunjucks": "^3.2.1", 17 | "@typescript-eslint/eslint-plugin": "^5.2.0", 18 | "@typescript-eslint/parser": "^5.2.0", 19 | "builtin-modules": "^3.2.0", 20 | "esbuild": "0.13.12", 21 | "eslint": "^8.4.0", 22 | "obsidian": "^0.14.8", 23 | "tslib": "2.3.1", 24 | "typescript": "4.4.4" 25 | }, 26 | "dependencies": { 27 | "nunjucks": "^3.2.3", 28 | "qrious": "^4.0.2" 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/api.ts: -------------------------------------------------------------------------------- 1 | export const CLIENT_TYPE = 'integration'; 2 | export const MATTER_API_VERSION = 'v11'; 3 | export const MATTER_API_DOMAIN = 'api.getmatter.app'; 4 | export const MATTER_API_HOST = `https://${MATTER_API_DOMAIN}/api/${MATTER_API_VERSION}`; 5 | export const ENDPOINTS = { 6 | QR_LOGIN_TRIGGER: `${MATTER_API_HOST}/qr_login/trigger/`, 7 | QR_LOGIN_EXCHANGE: `${MATTER_API_HOST}/qr_login/exchange/`, 8 | REFRESH_TOKEN_EXCHANGE: `${MATTER_API_HOST}/token/refresh/`, 9 | HIGHLIGHTS_FEED: `${MATTER_API_HOST}/library_items/highlights_feed/` 10 | } 11 | 12 | export interface Annotation { 13 | created_date: string; 14 | note: string | null; 15 | text: string; 16 | word_start: number; 17 | word_end: number; 18 | } 19 | 20 | export interface Author { 21 | any_name: string | null; 22 | } 23 | 24 | export interface ContentNote { 25 | note: string; 26 | } 27 | 28 | export interface Publisher { 29 | any_name: string | null; 30 | } 31 | 32 | export interface Tag { 33 | created_date: string; 34 | name: string; 35 | } 36 | 37 | export interface LibraryEntry { 38 | library_state: number; 39 | } 40 | 41 | export interface Content { 42 | author: Author; 43 | library: LibraryEntry | null; 44 | publisher: Publisher; 45 | my_annotations: Annotation[]; 46 | my_note: ContentNote; 47 | publication_date: string; 48 | tags: Tag[]; 49 | title: string; 50 | url: string; 51 | } 52 | 53 | export interface FeedEntry { 54 | annotations: Annotation[]; 55 | content: Content; 56 | feed_context: null; 57 | id: string; 58 | } 59 | 60 | export interface FeedResponse { 61 | feed: FeedEntry[]; 62 | id: string; 63 | next: string | null; 64 | previous: string | null; 65 | } 66 | 67 | export interface QRLoginExchangeResponse { 68 | access_token?: string | null; 69 | refresh_token?: string | null; 70 | } 71 | 72 | class RequestError extends Error { 73 | response: Response; 74 | 75 | public constructor(response: Response, message?: string,) { 76 | super(message); 77 | this.response = response; 78 | } 79 | } 80 | 81 | export async function authedRequest( 82 | accessToken: string, 83 | url: string, 84 | fetchArgs: RequestInit = {}, 85 | ) { 86 | const headers = new Headers(); 87 | headers.set('Authorization', `Bearer ${accessToken}`); 88 | headers.set('Content-Type', 'application/json'); 89 | 90 | const response = await fetch(url, { 91 | ...fetchArgs, 92 | headers, 93 | }); 94 | 95 | if (!response.ok) { 96 | throw new RequestError(response, "Matter authenticated request failed"); 97 | } 98 | 99 | return (await response.json()); 100 | } 101 | -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- 1 | import { 2 | normalizePath, 3 | Notice, 4 | Plugin, 5 | } from 'obsidian'; 6 | import { 7 | Annotation, 8 | ENDPOINTS, 9 | FeedEntry, 10 | FeedResponse, 11 | authedRequest, 12 | } from './api'; 13 | import { LAYOUT_TEMPLATE, HIGHLIGHT_TEMPLATE, METADATA_TEMPLATE, renderer } from './rendering'; 14 | import { 15 | DEFAULT_SETTINGS, 16 | MatterSettings, 17 | MatterSettingsTab, 18 | SyncNotificationPreference 19 | } from './settings'; 20 | import { toFilename } from './utils'; 21 | 22 | const LOOP_SYNC_INTERVAL = 60 * 1000; 23 | 24 | export default class MatterPlugin extends Plugin { 25 | settings: MatterSettings; 26 | 27 | async onload() { 28 | await this.loadSettings(); 29 | this.addSettingTab(new MatterSettingsTab(this.app, this)); 30 | 31 | if (this.settings.syncOnLaunch) { 32 | // Call in parallel to avoid long loading times. 33 | this.initialSync(); 34 | } 35 | 36 | // Set up sync interval 37 | this.registerInterval(window.setInterval(async () => { 38 | await this.loopSync(); 39 | }, LOOP_SYNC_INTERVAL)); 40 | 41 | this.addCommand({ 42 | id: 'matter-sync', 43 | name: 'Sync', 44 | callback: () => { 45 | this.sync(); 46 | }, 47 | }); 48 | } 49 | 50 | onunload() { 51 | } 52 | 53 | async initialSync() { 54 | // Reset isSyncing when the plugin is loaded. 55 | this.settings.isSyncing = false; 56 | await this.saveSettings(); 57 | 58 | // Sync on load 59 | if ( 60 | this.settings.accessToken 61 | && this.settings.hasCompletedInitialSetup 62 | ) { 63 | await this.sync(); 64 | } else { 65 | new Notice("Finish setting up Matter in settings"); 66 | } 67 | } 68 | 69 | async loadSettings() { 70 | this.settings = Object.assign({}, DEFAULT_SETTINGS, await this.loadData()); 71 | } 72 | 73 | async saveSettings() { 74 | await this.saveData(this.settings); 75 | } 76 | 77 | async loopSync() { 78 | const msSinceLastSync = new Date().valueOf() - new Date(this.settings.lastSync).valueOf(); 79 | const mssyncInterval = this.settings.syncInterval * 60 * 1000; 80 | if ( 81 | this.settings.accessToken 82 | && this.settings.hasCompletedInitialSetup 83 | && mssyncInterval > 0 84 | && msSinceLastSync >= mssyncInterval 85 | ) { 86 | this.sync(); 87 | } 88 | } 89 | 90 | async sync() { 91 | // The settings file can change via multiple device sync. Fetch a fresh copy 92 | // just in case another sync is happening elsewhere. 93 | await this.loadSettings(); 94 | const initialSyncState = Object.values(this.settings.contentMap); 95 | 96 | if (this.settings.isSyncing || !this.settings.accessToken) { 97 | return; 98 | } 99 | 100 | this.settings.isSyncing = true; 101 | await this.saveSettings(); 102 | 103 | try { 104 | if (this.settings.notifyOnSync === SyncNotificationPreference.ALWAYS) { 105 | new Notice('Syncing with Matter'); 106 | } 107 | await this._pageAnnotations(initialSyncState); 108 | this.settings.lastSync = new Date(); 109 | if (this.settings.notifyOnSync === SyncNotificationPreference.ALWAYS) { 110 | new Notice('Finished syncing with Matter'); 111 | } 112 | } catch (error) { 113 | console.error(error); 114 | if (this.settings.notifyOnSync !== SyncNotificationPreference.NEVER) { 115 | new Notice('There was a problem syncing with Matter, try again later.'); 116 | } 117 | } 118 | 119 | this.settings.isSyncing = false; 120 | await this.saveSettings(); 121 | } 122 | 123 | private async _pageAnnotations(initialSyncState: string[]) { 124 | let url = ENDPOINTS.HIGHLIGHTS_FEED; 125 | let feedEntries: FeedEntry[] = []; 126 | 127 | // Load all feed items new to old. 128 | while (url !== null) { 129 | const response: FeedResponse = await this._authedRequest(url); 130 | feedEntries = feedEntries.concat(response.feed); 131 | url = response.next; 132 | } 133 | 134 | // Reverse the feed items so that chronological ordering is preserved. 135 | feedEntries = feedEntries.reverse(); 136 | 137 | for (const feedEntry of feedEntries) { 138 | // If an entry has appeared with the same id since the sync started, skip it 139 | // for now. This indicates a race condition with another sync service. 140 | await this.loadSettings() 141 | const currentSyncState = Object.values(this.settings.contentMap); 142 | if ( 143 | !initialSyncState.includes(feedEntry.id) 144 | && currentSyncState.includes(feedEntry.id) 145 | ) { 146 | continue 147 | } 148 | 149 | await this._handleFeedEntry(feedEntry); 150 | } 151 | } 152 | 153 | private async _authedRequest(url: string) { 154 | try { 155 | return (await authedRequest(this.settings.accessToken, url)); 156 | } catch (e) { 157 | await this._refreshTokenExchange(); 158 | return (await authedRequest(this.settings.accessToken, url)); 159 | } 160 | } 161 | 162 | private async _refreshTokenExchange() { 163 | const headers = new Headers(); 164 | headers.set('Content-Type', 'application/json'); 165 | const response = await fetch(ENDPOINTS.REFRESH_TOKEN_EXCHANGE, { 166 | method: 'POST', 167 | headers, 168 | body: JSON.stringify({ refresh_token: this.settings.refreshToken }) 169 | }); 170 | const payload = await response.json(); 171 | this.settings.accessToken = payload.access_token; 172 | this.settings.refreshToken = payload.refresh_token; 173 | await this.saveSettings(); 174 | 175 | if (!this.settings.accessToken) { 176 | new Notice("Unable to sync with Matter, please sign in again."); 177 | throw new Error("Authentication failed"); 178 | } 179 | } 180 | 181 | private async _handleFeedEntry(feedEntry: FeedEntry) { 182 | const fs = this.app.vault.adapter; 183 | if (!(await fs.exists(this.settings.dataDir))) { 184 | await fs.mkdir(this.settings.dataDir); 185 | } 186 | 187 | let entryName = Object.keys(this.settings.contentMap).find(key => this.settings.contentMap[key] === feedEntry.id); 188 | if (!entryName) { 189 | entryName = await this._generateEntryName(feedEntry); 190 | } 191 | 192 | const entryPath = this._getPath(entryName); 193 | if (await fs.exists(entryPath)) { 194 | const after = new Date(this.settings.lastSync); 195 | const content = await fs.read(entryPath); 196 | const newContent = this._appendAnnotations(feedEntry, content, after); 197 | if (newContent != content) { 198 | await fs.write(entryPath, newContent); 199 | } 200 | } else { 201 | const notDeleted = !feedEntry.content.library || !(feedEntry.content.library.library_state === 3); 202 | const entryDoesNotExist = !this.settings.contentMap[entryName]; 203 | const recreateIfMissing = this.settings.recreateIfMissing; 204 | const shouldCreate = notDeleted && (entryDoesNotExist || recreateIfMissing); 205 | if (shouldCreate) { 206 | await fs.write(entryPath, this._renderFeedEntry(feedEntry)); 207 | } 208 | } 209 | 210 | this.settings.contentMap[entryName] = feedEntry.id; 211 | await this.saveSettings(); 212 | } 213 | 214 | private _getPath(name: string){ 215 | return normalizePath(`${this.settings.dataDir}/${name}`); 216 | } 217 | 218 | private async _generateEntryName(feedEntry: FeedEntry): Promise { 219 | const fs = this.app.vault.adapter; 220 | let name = `${toFilename(feedEntry.content.title)}.md` 221 | let i = 1; 222 | while ( 223 | (await fs.exists(this._getPath(name))) 224 | && this.settings.contentMap[name] !== feedEntry.id 225 | ) { 226 | i++; 227 | name = `${toFilename(feedEntry.content.title)}-${i}.md`; 228 | } 229 | 230 | return name; 231 | } 232 | 233 | private _appendAnnotations(feedEntry: FeedEntry, content: string, after: Date): string { 234 | const newAnnotations = feedEntry.content.my_annotations.filter(a => new Date(a.created_date) > after); 235 | if (!newAnnotations.length) { 236 | return content; 237 | } 238 | 239 | return content.trimEnd() + '\n' + newAnnotations.map((a) => this._renderAnnotation(a)).join(''); 240 | } 241 | 242 | private _renderFeedEntry(feedEntry: FeedEntry): string { 243 | let metadata; 244 | try { 245 | metadata = this._renderMetadata(feedEntry); 246 | } catch (error) { 247 | new Notice("There was a problem with your Matter metadata template. Please update it in settings."); 248 | return 249 | } 250 | 251 | 252 | let highlights; 253 | try { 254 | const annotations = feedEntry.content.my_annotations.sort((a, b) => a.word_start - b.word_start); 255 | highlights = annotations.map((a) => this._renderAnnotation(a)).join('') 256 | } catch (error) { 257 | console.error(error) 258 | new Notice("There was a problem with your Matter highlight template. Please update it in settings."); 259 | return 260 | } 261 | 262 | try { 263 | return renderer.renderString(LAYOUT_TEMPLATE.trim(), { 264 | title: feedEntry.content.title, 265 | metadata: metadata, 266 | highlights: highlights, 267 | }) 268 | } catch (error) { 269 | new Notice("There was a problem with your Matter template. Please update it in settings."); 270 | } 271 | } 272 | 273 | private _renderMetadata(feedEntry: FeedEntry): string { 274 | const template = this.settings.metadataTemplate || METADATA_TEMPLATE; 275 | 276 | let publishedDate: string | null = null; 277 | if (feedEntry.content.publication_date) { 278 | publishedDate = feedEntry.content.publication_date 279 | } 280 | 281 | return renderer.renderString(template.trim(), { 282 | author: feedEntry.content.author?.any_name, 283 | note: feedEntry.content.my_note?.note, 284 | published_date: publishedDate, 285 | publisher: feedEntry.content.publisher?.any_name, 286 | tags: feedEntry.content.tags.map(t => t.name), 287 | title: feedEntry.content.title, 288 | url: feedEntry.content.url, 289 | }) 290 | } 291 | 292 | private _renderAnnotation(annotation: Annotation) { 293 | const template = this.settings.highlightTemplate || HIGHLIGHT_TEMPLATE; 294 | 295 | return renderer.renderString(template.trim(), { 296 | text: annotation.text, 297 | note: annotation.note, 298 | created_date: annotation.created_date, 299 | }) 300 | } 301 | } 302 | -------------------------------------------------------------------------------- /src/rendering.ts: -------------------------------------------------------------------------------- 1 | import * as nunjucks from 'nunjucks'; 2 | 3 | const renderer = new nunjucks.Environment(null, {trimBlocks: true, autoescape: false}) 4 | renderer.addFilter('date', (str, format) => { 5 | return window.moment(str).format(format); 6 | }); 7 | 8 | const LAYOUT_TEMPLATE = ` 9 | {{metadata}} 10 | 11 | ## Highlights 12 | {{highlights}} 13 | `; 14 | 15 | const METADATA_TEMPLATE = ` 16 | ## Metadata 17 | * URL: [{{url}}]({{url}}) 18 | {% if author %} 19 | * Author: {{author}} 20 | {% endif %} 21 | {% if publisher %} 22 | * Publisher: {{publisher}} 23 | {% endif %} 24 | {% if published_date %} 25 | * Published Date: {{published_date|date("YYYY-MM-DD")}} 26 | {% endif %} 27 | {% if note %} 28 | * Note: {{note}} 29 | {% endif %} 30 | {% if tags %} 31 | * Tags: {% for tag in tags %}#{{tag | replace(' ', '_')}}{% if not loop.last %}, {% endif %}{% endfor%} 32 | {% endif %} 33 | `; 34 | 35 | const HIGHLIGHT_TEMPLATE = ` 36 | * {{text}} 37 | {% if note %} 38 | * **Note**: {{note}} 39 | {% endif %} 40 | `; 41 | 42 | export { 43 | renderer, 44 | LAYOUT_TEMPLATE, 45 | METADATA_TEMPLATE, 46 | HIGHLIGHT_TEMPLATE 47 | } 48 | -------------------------------------------------------------------------------- /src/settings.ts: -------------------------------------------------------------------------------- 1 | import { 2 | App, 3 | ButtonComponent, 4 | normalizePath, 5 | Notice, 6 | PluginSettingTab, 7 | Setting, 8 | TFolder, 9 | } from 'obsidian'; 10 | import QRious from 'qrious'; 11 | import { 12 | CLIENT_TYPE, 13 | ENDPOINTS, 14 | QRLoginExchangeResponse, 15 | } from './api'; 16 | import MatterPlugin from './main'; 17 | import { HIGHLIGHT_TEMPLATE, METADATA_TEMPLATE } from './rendering'; 18 | import { sleep } from './utils'; 19 | 20 | export interface ContentMap { 21 | [key: string]: string; 22 | } 23 | 24 | export enum SyncNotificationPreference { 25 | NEVER = 'never', 26 | ERROR = 'error', 27 | ALWAYS = 'always', 28 | } 29 | 30 | export interface MatterSettings { 31 | accessToken: string | null; 32 | refreshToken: string | null; 33 | qrSessionToken: string | null; 34 | dataDir: string | null; 35 | syncInterval: number; 36 | syncOnLaunch: boolean; 37 | notifyOnSync: SyncNotificationPreference; 38 | hasCompletedInitialSetup: boolean; 39 | lastSync: Date | null; 40 | isSyncing: boolean; 41 | contentMap: ContentMap 42 | recreateIfMissing: boolean; 43 | metadataTemplate: string | null; 44 | highlightTemplate: string | null; 45 | } 46 | 47 | export const DEFAULT_SETTINGS: MatterSettings = { 48 | accessToken: null, 49 | refreshToken: null, 50 | qrSessionToken: null, 51 | dataDir: "Matter", 52 | syncInterval: 60, 53 | syncOnLaunch: true, 54 | notifyOnSync: SyncNotificationPreference.ALWAYS, 55 | hasCompletedInitialSetup: false, 56 | lastSync: null, 57 | isSyncing: false, 58 | contentMap: {}, 59 | recreateIfMissing: true, 60 | metadataTemplate: null, 61 | highlightTemplate: null, 62 | } 63 | 64 | export class MatterSettingsTab extends PluginSettingTab { 65 | plugin: MatterPlugin; 66 | 67 | constructor(app: App, plugin: MatterPlugin) { 68 | super(app, plugin); 69 | this.plugin = plugin; 70 | } 71 | 72 | display(): void { 73 | const { containerEl } = this; 74 | containerEl.empty(); 75 | this.loadInterface(); 76 | } 77 | 78 | loadInterface(): void { 79 | const { containerEl } = this; 80 | containerEl.createEl('h1', { text: 'Matter' }); 81 | 82 | if (!this.plugin.settings.accessToken || !this.plugin.settings.hasCompletedInitialSetup) { 83 | this.displaySetup(); 84 | } else { 85 | this.displaySettings(); 86 | } 87 | } 88 | 89 | async displaySetup(): Promise { 90 | const { containerEl } = this; 91 | 92 | try { 93 | const headers = new Headers(); 94 | headers.set('Content-Type', 'application/json'); 95 | 96 | const triggerResponse = await fetch(ENDPOINTS.QR_LOGIN_TRIGGER, { 97 | method: "POST", 98 | body: JSON.stringify({ client_type: CLIENT_TYPE }), 99 | headers, 100 | }); 101 | this.plugin.settings.qrSessionToken = (await triggerResponse.json()).session_token; 102 | } catch (error) { 103 | return; 104 | } 105 | 106 | const qrSetting = new Setting(containerEl) 107 | .setName('Scan this QR code in the Matter app') 108 | .setDesc('Go to Profile > Settings > Connected Accounts > Obsidian'); 109 | 110 | const canvas = document.createElement('canvas'); 111 | canvas.className = 'matter-qr'; 112 | qrSetting.settingEl.appendChild(canvas); 113 | 114 | new QRious({ 115 | element: canvas, 116 | value: this.plugin.settings.qrSessionToken, 117 | size: 80, 118 | backgroundAlpha: 0.2, 119 | }); 120 | 121 | new Setting(containerEl) 122 | .setName('Matter Sync Folder') 123 | .setDesc('Where do you want your Matter data to live in Obsidian?') 124 | .addText(text => text 125 | .setPlaceholder('Enter location') 126 | .setValue(this.plugin.settings.dataDir) 127 | .onChange(async (value) => { 128 | value = value.replace(/^\/+|\/+$/g, ''); 129 | this.plugin.settings.dataDir = normalizePath(value); 130 | await this.plugin.saveSettings(); 131 | })); 132 | 133 | const startBtn = new ButtonComponent(containerEl) 134 | .setButtonText('Start Syncing') 135 | .setClass('mod-cta') 136 | .setClass('matter-setup-btn') 137 | .setDisabled(true) 138 | .onClick(async () => { 139 | this.plugin.settings.hasCompletedInitialSetup = true; 140 | await this.plugin.saveSettings(); 141 | this.plugin.sync(); 142 | this.plugin.loopSync(); 143 | this.display(); 144 | }); 145 | 146 | const { access_token, refresh_token } = await this._pollQRLoginExchange(); 147 | if (access_token) { 148 | this.plugin.settings.accessToken = access_token; 149 | this.plugin.settings.refreshToken = refresh_token; 150 | await this.plugin.saveSettings(); 151 | 152 | canvas.remove(); 153 | const authConfirmation = document.createElement('p'); 154 | authConfirmation.className = 'matter-auth-confirmation'; 155 | authConfirmation.appendText('✅'); 156 | qrSetting.settingEl.appendChild(authConfirmation); 157 | startBtn.setDisabled(false); 158 | } 159 | } 160 | 161 | async displaySettings() { 162 | const { containerEl } = this; 163 | 164 | let newDataDir = this.plugin.settings.dataDir; 165 | new Setting(containerEl) 166 | .setName('Matter Sync Folder') 167 | .setDesc('Where do you want your Matter data to live in Obsidian? Once you click "Apply" all of your current data will be moved') 168 | .addText(text => text 169 | .setPlaceholder('Enter location') 170 | .setValue(newDataDir) 171 | .onChange(async (value) => { 172 | value = value.replace(/^\/+|\/+$/g, ''); 173 | newDataDir = normalizePath(value) 174 | }) 175 | ) 176 | .addButton(button => button 177 | .setButtonText('Apply') 178 | .setClass('matter-folder-button') 179 | .onClick(async () => { 180 | const vault = this.plugin.app.vault; 181 | const oldDataDir = this.plugin.settings.dataDir; 182 | 183 | if (newDataDir === oldDataDir) { 184 | return; 185 | } 186 | 187 | if (this.plugin.settings.isSyncing) { 188 | new Notice("Wait for the current sync to end and try again.") 189 | return; 190 | } 191 | 192 | // Temporarily disable sync 193 | this.plugin.settings.isSyncing = true; 194 | await this.plugin.saveSettings(); 195 | 196 | // Copy over the current data to the new vault location 197 | try { 198 | button.setButtonText('Migrating...') 199 | button.setDisabled(true); 200 | 201 | if (!vault.getAbstractFileByPath(newDataDir)) { 202 | await vault.createFolder(newDataDir); 203 | } 204 | 205 | const contentKeys = Object.keys(this.plugin.settings.contentMap); 206 | const files = this.plugin.app.vault.getFiles().filter(f => f.parent.path === oldDataDir && contentKeys.includes(f.name)); 207 | const copies = files.map(file => vault.copy(file, `${newDataDir}/${file.name}`)); 208 | await Promise.all(copies); 209 | 210 | const deletes = files.map(file => vault.delete(file)); 211 | await Promise.all(deletes); 212 | 213 | // If the old data folder is empty, go ahead and remove it as well 214 | const oldFolder = vault.getAbstractFileByPath(oldDataDir) as TFolder; 215 | if (oldFolder && oldFolder.children.length === 0) { 216 | await vault.delete(oldFolder); 217 | } 218 | } catch(e) { 219 | console.error(e); 220 | new Notice(e.message); 221 | this.plugin.settings.isSyncing = false; 222 | await this.plugin.saveSettings(); 223 | button.setButtonText('Apply') 224 | button.setDisabled(false); 225 | return; 226 | } 227 | 228 | // Re-enable sync and persist setting 229 | this.plugin.settings.dataDir = newDataDir; 230 | this.plugin.settings.isSyncing = false; 231 | await this.plugin.saveSettings(); 232 | new Notice("Sync folder updated") 233 | button.setButtonText('Apply') 234 | button.setDisabled(false); 235 | }) 236 | ); 237 | 238 | new Setting(containerEl) 239 | .setName('Sync Frequency') 240 | .setDesc('How often should Obsidian sync with Matter?') 241 | .addDropdown(dropdown => dropdown 242 | .addOption("0", "Manual") 243 | .addOption("30", "Every half hour") 244 | .addOption("60", "Every hour") 245 | .addOption("720", "Every 12 hours") 246 | .addOption("1440", "Every 24 hours") 247 | .setValue(this.plugin.settings.syncInterval.toString()) 248 | .onChange(async (val) => { 249 | this.plugin.settings.syncInterval = parseInt(val, 10); 250 | await this.plugin.saveSettings(); 251 | }) 252 | ); 253 | 254 | new Setting(containerEl) 255 | .setName('Sync on launch') 256 | .setDesc('If enabled, a sync will begin when Obsidian launches') 257 | .addToggle(toggle => toggle 258 | .setValue(this.plugin.settings.syncOnLaunch) 259 | .onChange(async (val) => { 260 | this.plugin.settings.syncOnLaunch = val; 261 | await this.plugin.saveSettings(); 262 | }) 263 | ) 264 | 265 | new Setting(containerEl) 266 | .setName('Notify on sync') 267 | .setDesc('When do you want to see sync notifications?') 268 | .addDropdown(dropdown => dropdown 269 | .addOption(SyncNotificationPreference.ALWAYS, "Always") 270 | .addOption(SyncNotificationPreference.ERROR, "On error") 271 | .addOption(SyncNotificationPreference.NEVER, "Never") 272 | .setValue(this.plugin.settings.notifyOnSync) 273 | .onChange(async (val) => { 274 | this.plugin.settings.notifyOnSync = val as SyncNotificationPreference; 275 | await this.plugin.saveSettings(); 276 | }) 277 | ); 278 | 279 | new Setting(containerEl) 280 | .setName('Always Recreate Missing Files') 281 | .setDesc('If enabled, a sync will re-create missing entries in your vault') 282 | .addToggle(toggle => toggle 283 | .setValue(this.plugin.settings.recreateIfMissing) 284 | .onChange(async (val) => { 285 | this.plugin.settings.recreateIfMissing = val; 286 | await this.plugin.saveSettings(); 287 | }) 288 | ) 289 | 290 | new Setting(containerEl) 291 | .setName('Sync Now') 292 | .setDesc('Manually start a sync with Matter') 293 | .addButton(button => button 294 | .setButtonText('Sync Now') 295 | .onClick(async () => { 296 | await this.plugin.sync() 297 | })); 298 | 299 | new Setting(containerEl) 300 | .setName('Metadata Template') 301 | .setDesc('Customize the template used to display the article\'s metadata. Supported tags: {{url}}, {{title}}, {{author}}, {{publisher}}, {{published_date}}, {{note}}, {{tags}}. To see the full templating API, visit https://mozilla.github.io/nunjucks/templating.html.') 302 | .addTextArea(textarea => { 303 | textarea.inputEl.style.minWidth = '480px'; 304 | textarea.inputEl.style.minHeight = '200px'; 305 | textarea 306 | .setValue(this.plugin.settings.metadataTemplate || METADATA_TEMPLATE.trim()) 307 | .onChange(async (val) => { 308 | this.plugin.settings.metadataTemplate = val; 309 | await this.plugin.saveSettings(); 310 | }); 311 | }) 312 | 313 | new Setting(containerEl) 314 | .setName('Highlight Template') 315 | .setDesc('Customize the template used to display each highlight. Supported tags: {{text}}, {{note}}, {{created_date}}. To see the full templating API, visit https://mozilla.github.io/nunjucks/templating.html.') 316 | .addTextArea(textarea => { 317 | textarea.inputEl.style.minWidth = '480px'; 318 | textarea.inputEl.style.minHeight = '200px'; 319 | textarea 320 | .setValue(this.plugin.settings.highlightTemplate || HIGHLIGHT_TEMPLATE.trim()) 321 | .onChange(async (val) => { 322 | this.plugin.settings.highlightTemplate = val; 323 | await this.plugin.saveSettings(); 324 | }); 325 | }) 326 | } 327 | 328 | private async _pollQRLoginExchange() { 329 | if (!this.plugin.settings.qrSessionToken) { 330 | return; 331 | } 332 | 333 | let attempts = 0; 334 | while (attempts < 600) { 335 | try { 336 | const loginSession = await this._qrLoginExchange(this.plugin.settings.qrSessionToken); 337 | if (loginSession?.access_token) { 338 | return { 339 | access_token: loginSession.access_token, 340 | refresh_token: loginSession.refresh_token, 341 | }; 342 | } 343 | } finally { 344 | attempts++; 345 | await sleep(1000); 346 | } 347 | } 348 | } 349 | 350 | private async _qrLoginExchange(sessionToken: string): Promise { 351 | const headers = new Headers(); 352 | headers.set('Content-Type', 'application/json'); 353 | const response = await fetch(ENDPOINTS.QR_LOGIN_EXCHANGE, { 354 | method: "POST", 355 | body: JSON.stringify({ 356 | session_token: sessionToken 357 | }), 358 | headers, 359 | }); 360 | return response.json(); 361 | } 362 | } 363 | -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- 1 | export const sleep = (ms: number): Promise => { 2 | return new Promise(resolve => setTimeout(resolve, ms)); 3 | } 4 | 5 | export const toFilename = (s: string): string => { 6 | return s.replace(/[/\\?%*:|"<>#]/g, '-'); 7 | } 8 | -------------------------------------------------------------------------------- /styles.css: -------------------------------------------------------------------------------- 1 | .matter-setup-btn { 2 | margin-top: 16px; 3 | float: right; 4 | } 5 | 6 | .matter-folder-button { 7 | margin-left: 4px; 8 | } 9 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "baseUrl": ".", 4 | "inlineSourceMap": true, 5 | "inlineSources": true, 6 | "module": "ESNext", 7 | "target": "ES6", 8 | "allowJs": true, 9 | "noImplicitAny": true, 10 | "moduleResolution": "node", 11 | "importHelpers": true, 12 | "lib": [ 13 | "DOM", 14 | "ES5", 15 | "ES6", 16 | "ES7" 17 | ] 18 | }, 19 | "include": [ 20 | "**/*.ts" 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /types.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'qrious'; // module is untyped 2 | -------------------------------------------------------------------------------- /versions.json: -------------------------------------------------------------------------------- 1 | { 2 | "1.1.4": "0.12.0", 3 | "1.1.3": "0.12.0", 4 | "1.1.2": "0.12.0", 5 | "1.1.1": "0.12.0", 6 | "1.1.0": "0.12.0", 7 | "1.0.7": "0.12.0", 8 | "1.0.6": "0.12.0", 9 | "1.0.5": "0.12.0", 10 | "1.0.4": "0.12.0", 11 | "1.0.3": "0.12.0", 12 | "1.0.2": "0.12.0", 13 | "1.0.1": "0.12.0", 14 | "1.0.0": "0.12.0" 15 | } 16 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@codemirror/rangeset@^0.19.5": 6 | version "0.19.9" 7 | resolved "https://registry.yarnpkg.com/@codemirror/rangeset/-/rangeset-0.19.9.tgz#e80895de93c39dc7899f5be31d368c9d88aa4efc" 8 | integrity sha512-V8YUuOvK+ew87Xem+71nKcqu1SXd5QROMRLMS/ljT5/3MCxtgrRie1Cvild0G/Z2f1fpWxzX78V0U4jjXBorBQ== 9 | dependencies: 10 | "@codemirror/state" "^0.19.0" 11 | 12 | "@codemirror/state@^0.19.0", "@codemirror/state@^0.19.3", "@codemirror/state@^0.19.6": 13 | version "0.19.9" 14 | resolved "https://registry.yarnpkg.com/@codemirror/state/-/state-0.19.9.tgz#b797f9fbc204d6dc7975485e231693c09001b0dd" 15 | integrity sha512-psOzDolKTZkx4CgUqhBQ8T8gBc0xN5z4gzed109aF6x7D7umpDRoimacI/O6d9UGuyl4eYuDCZmDFr2Rq7aGOw== 16 | dependencies: 17 | "@codemirror/text" "^0.19.0" 18 | 19 | "@codemirror/text@^0.19.0": 20 | version "0.19.6" 21 | resolved "https://registry.yarnpkg.com/@codemirror/text/-/text-0.19.6.tgz#9adcbd8137f69b75518eacd30ddb16fd67bbac45" 22 | integrity sha512-T9jnREMIygx+TPC1bOuepz18maGq/92q2a+n4qTqObKwvNMg+8cMTslb8yxeEDEq7S3kpgGWxgO1UWbQRij0dA== 23 | 24 | "@codemirror/view@^0.19.31": 25 | version "0.19.48" 26 | resolved "https://registry.yarnpkg.com/@codemirror/view/-/view-0.19.48.tgz#1c657e2b0f8ed896ac6448d6e2215ab115e2a0fc" 27 | integrity sha512-0eg7D2Nz4S8/caetCTz61rK0tkHI17V/d15Jy0kLOT8dTLGGNJUponDnW28h2B6bERmPlVHKh8MJIr5OCp1nGw== 28 | dependencies: 29 | "@codemirror/rangeset" "^0.19.5" 30 | "@codemirror/state" "^0.19.3" 31 | "@codemirror/text" "^0.19.0" 32 | style-mod "^4.0.0" 33 | w3c-keyname "^2.2.4" 34 | 35 | "@eslint/eslintrc@^1.3.0": 36 | version "1.3.0" 37 | resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.3.0.tgz#29f92c30bb3e771e4a2048c95fa6855392dfac4f" 38 | integrity sha512-UWW0TMTmk2d7hLcWD1/e2g5HDM/HQ3csaLSqXCfqwh4uNDuNqlaKWXmEsL4Cs41Z0KnILNvwbHAah3C2yt06kw== 39 | dependencies: 40 | ajv "^6.12.4" 41 | debug "^4.3.2" 42 | espree "^9.3.2" 43 | globals "^13.15.0" 44 | ignore "^5.2.0" 45 | import-fresh "^3.2.1" 46 | js-yaml "^4.1.0" 47 | minimatch "^3.1.2" 48 | strip-json-comments "^3.1.1" 49 | 50 | "@humanwhocodes/config-array@^0.9.2": 51 | version "0.9.5" 52 | resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.9.5.tgz#2cbaf9a89460da24b5ca6531b8bbfc23e1df50c7" 53 | integrity sha512-ObyMyWxZiCu/yTisA7uzx81s40xR2fD5Cg/2Kq7G02ajkNubJf6BopgDTmDyc3U7sXpNKM8cYOw7s7Tyr+DnCw== 54 | dependencies: 55 | "@humanwhocodes/object-schema" "^1.2.1" 56 | debug "^4.1.1" 57 | minimatch "^3.0.4" 58 | 59 | "@humanwhocodes/object-schema@^1.2.1": 60 | version "1.2.1" 61 | resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" 62 | integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== 63 | 64 | "@nodelib/fs.scandir@2.1.5": 65 | version "2.1.5" 66 | resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" 67 | integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== 68 | dependencies: 69 | "@nodelib/fs.stat" "2.0.5" 70 | run-parallel "^1.1.9" 71 | 72 | "@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2": 73 | version "2.0.5" 74 | resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b" 75 | integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== 76 | 77 | "@nodelib/fs.walk@^1.2.3": 78 | version "1.2.8" 79 | resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a" 80 | integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== 81 | dependencies: 82 | "@nodelib/fs.scandir" "2.1.5" 83 | fastq "^1.6.0" 84 | 85 | "@types/codemirror@0.0.108": 86 | version "0.0.108" 87 | resolved "https://registry.yarnpkg.com/@types/codemirror/-/codemirror-0.0.108.tgz#e640422b666bf49251b384c390cdeb2362585bde" 88 | integrity sha512-3FGFcus0P7C2UOGCNUVENqObEb4SFk+S8Dnxq7K6aIsLVs/vDtlangl3PEO0ykaKXyK56swVF6Nho7VsA44uhw== 89 | dependencies: 90 | "@types/tern" "*" 91 | 92 | "@types/estree@*": 93 | version "0.0.50" 94 | resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.50.tgz#1e0caa9364d3fccd2931c3ed96fdbeaa5d4cca83" 95 | integrity sha512-C6N5s2ZFtuZRj54k2/zyRhNDjJwwcViAM3Nbm8zjBpbqAdZ00mr0CFxvSKeO8Y/e03WVFLpQMdHYVfUd6SB+Hw== 96 | 97 | "@types/json-schema@^7.0.9": 98 | version "7.0.11" 99 | resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" 100 | integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== 101 | 102 | "@types/node@^16.11.6": 103 | version "16.11.36" 104 | resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.36.tgz#9ab9f8276987132ed2b225cace2218ba794fc751" 105 | integrity sha512-FR5QJe+TaoZ2GsMHkjuwoNabr+UrJNRr2HNOo+r/7vhcuntM6Ee/pRPOnRhhL2XE9OOvX9VLEq+BcXl3VjNoWA== 106 | 107 | "@types/nunjucks@^3.2.1": 108 | version "3.2.1" 109 | resolved "https://registry.yarnpkg.com/@types/nunjucks/-/nunjucks-3.2.1.tgz#02a3ade3dc4d3950029c6466a4034565dba7cf8c" 110 | integrity sha512-hUh5HIC7peH+0MvlYU5KM2RydWxG1mBceivHsQGwlelU9zlczLICyJmjMwgjkI3m0+N50n46GVHkw35lIim6LQ== 111 | 112 | "@types/tern@*": 113 | version "0.23.4" 114 | resolved "https://registry.yarnpkg.com/@types/tern/-/tern-0.23.4.tgz#03926eb13dbeaf3ae0d390caf706b2643a0127fb" 115 | integrity sha512-JAUw1iXGO1qaWwEOzxTKJZ/5JxVeON9kvGZ/osgZaJImBnyjyn0cjovPsf6FNLmyGY8Vw9DoXZCMlfMkMwHRWg== 116 | dependencies: 117 | "@types/estree" "*" 118 | 119 | "@typescript-eslint/eslint-plugin@^5.2.0": 120 | version "5.26.0" 121 | resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.26.0.tgz#c1f98ccba9d345e38992975d3ca56ed6260643c2" 122 | integrity sha512-oGCmo0PqnRZZndr+KwvvAUvD3kNE4AfyoGCwOZpoCncSh4MVD06JTE8XQa2u9u+NX5CsyZMBTEc2C72zx38eYA== 123 | dependencies: 124 | "@typescript-eslint/scope-manager" "5.26.0" 125 | "@typescript-eslint/type-utils" "5.26.0" 126 | "@typescript-eslint/utils" "5.26.0" 127 | debug "^4.3.4" 128 | functional-red-black-tree "^1.0.1" 129 | ignore "^5.2.0" 130 | regexpp "^3.2.0" 131 | semver "^7.3.7" 132 | tsutils "^3.21.0" 133 | 134 | "@typescript-eslint/parser@^5.2.0": 135 | version "5.26.0" 136 | resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.26.0.tgz#a61b14205fe2ab7533deb4d35e604add9a4ceee2" 137 | integrity sha512-n/IzU87ttzIdnAH5vQ4BBDnLPly7rC5VnjN3m0xBG82HK6rhRxnCb3w/GyWbNDghPd+NktJqB/wl6+YkzZ5T5Q== 138 | dependencies: 139 | "@typescript-eslint/scope-manager" "5.26.0" 140 | "@typescript-eslint/types" "5.26.0" 141 | "@typescript-eslint/typescript-estree" "5.26.0" 142 | debug "^4.3.4" 143 | 144 | "@typescript-eslint/scope-manager@5.26.0": 145 | version "5.26.0" 146 | resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.26.0.tgz#44209c7f649d1a120f0717e0e82da856e9871339" 147 | integrity sha512-gVzTJUESuTwiju/7NiTb4c5oqod8xt5GhMbExKsCTp6adU3mya6AGJ4Pl9xC7x2DX9UYFsjImC0mA62BCY22Iw== 148 | dependencies: 149 | "@typescript-eslint/types" "5.26.0" 150 | "@typescript-eslint/visitor-keys" "5.26.0" 151 | 152 | "@typescript-eslint/type-utils@5.26.0": 153 | version "5.26.0" 154 | resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.26.0.tgz#937dee97702361744a3815c58991acf078230013" 155 | integrity sha512-7ccbUVWGLmcRDSA1+ADkDBl5fP87EJt0fnijsMFTVHXKGduYMgienC/i3QwoVhDADUAPoytgjbZbCOMj4TY55A== 156 | dependencies: 157 | "@typescript-eslint/utils" "5.26.0" 158 | debug "^4.3.4" 159 | tsutils "^3.21.0" 160 | 161 | "@typescript-eslint/types@5.26.0": 162 | version "5.26.0" 163 | resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.26.0.tgz#cb204bb154d3c103d9cc4d225f311b08219469f3" 164 | integrity sha512-8794JZFE1RN4XaExLWLI2oSXsVImNkl79PzTOOWt9h0UHROwJedNOD2IJyfL0NbddFllcktGIO2aOu10avQQyA== 165 | 166 | "@typescript-eslint/typescript-estree@5.26.0": 167 | version "5.26.0" 168 | resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.26.0.tgz#16cbceedb0011c2ed4f607255f3ee1e6e43b88c3" 169 | integrity sha512-EyGpw6eQDsfD6jIqmXP3rU5oHScZ51tL/cZgFbFBvWuCwrIptl+oueUZzSmLtxFuSOQ9vDcJIs+279gnJkfd1w== 170 | dependencies: 171 | "@typescript-eslint/types" "5.26.0" 172 | "@typescript-eslint/visitor-keys" "5.26.0" 173 | debug "^4.3.4" 174 | globby "^11.1.0" 175 | is-glob "^4.0.3" 176 | semver "^7.3.7" 177 | tsutils "^3.21.0" 178 | 179 | "@typescript-eslint/utils@5.26.0": 180 | version "5.26.0" 181 | resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.26.0.tgz#896b8480eb124096e99c8b240460bb4298afcfb4" 182 | integrity sha512-PJFwcTq2Pt4AMOKfe3zQOdez6InIDOjUJJD3v3LyEtxHGVVRK3Vo7Dd923t/4M9hSH2q2CLvcTdxlLPjcIk3eg== 183 | dependencies: 184 | "@types/json-schema" "^7.0.9" 185 | "@typescript-eslint/scope-manager" "5.26.0" 186 | "@typescript-eslint/types" "5.26.0" 187 | "@typescript-eslint/typescript-estree" "5.26.0" 188 | eslint-scope "^5.1.1" 189 | eslint-utils "^3.0.0" 190 | 191 | "@typescript-eslint/visitor-keys@5.26.0": 192 | version "5.26.0" 193 | resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.26.0.tgz#7195f756e367f789c0e83035297c45b417b57f57" 194 | integrity sha512-wei+ffqHanYDOQgg/fS6Hcar6wAWv0CUPQ3TZzOWd2BLfgP539rb49bwua8WRAs7R6kOSLn82rfEu2ro6Llt8Q== 195 | dependencies: 196 | "@typescript-eslint/types" "5.26.0" 197 | eslint-visitor-keys "^3.3.0" 198 | 199 | a-sync-waterfall@^1.0.0: 200 | version "1.0.1" 201 | resolved "https://registry.yarnpkg.com/a-sync-waterfall/-/a-sync-waterfall-1.0.1.tgz#75b6b6aa72598b497a125e7a2770f14f4c8a1fa7" 202 | integrity sha512-RYTOHHdWipFUliRFMCS4X2Yn2X8M87V/OpSqWzKKOGhzqyUxzyVmhHDH9sAvG+ZuQf/TAOFsLCpMw09I1ufUnA== 203 | 204 | acorn-jsx@^5.3.2: 205 | version "5.3.2" 206 | resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" 207 | integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== 208 | 209 | acorn@^8.7.1: 210 | version "8.7.1" 211 | resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.7.1.tgz#0197122c843d1bf6d0a5e83220a788f278f63c30" 212 | integrity sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A== 213 | 214 | ajv@^6.10.0, ajv@^6.12.4: 215 | version "6.12.6" 216 | resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" 217 | integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== 218 | dependencies: 219 | fast-deep-equal "^3.1.1" 220 | fast-json-stable-stringify "^2.0.0" 221 | json-schema-traverse "^0.4.1" 222 | uri-js "^4.2.2" 223 | 224 | ansi-regex@^5.0.1: 225 | version "5.0.1" 226 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" 227 | integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== 228 | 229 | ansi-styles@^4.1.0: 230 | version "4.3.0" 231 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" 232 | integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== 233 | dependencies: 234 | color-convert "^2.0.1" 235 | 236 | argparse@^2.0.1: 237 | version "2.0.1" 238 | resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" 239 | integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== 240 | 241 | array-union@^2.1.0: 242 | version "2.1.0" 243 | resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" 244 | integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== 245 | 246 | asap@^2.0.3: 247 | version "2.0.6" 248 | resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" 249 | integrity sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA== 250 | 251 | balanced-match@^1.0.0: 252 | version "1.0.2" 253 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" 254 | integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== 255 | 256 | brace-expansion@^1.1.7: 257 | version "1.1.11" 258 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" 259 | integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== 260 | dependencies: 261 | balanced-match "^1.0.0" 262 | concat-map "0.0.1" 263 | 264 | braces@^3.0.2: 265 | version "3.0.2" 266 | resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" 267 | integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== 268 | dependencies: 269 | fill-range "^7.0.1" 270 | 271 | builtin-modules@^3.2.0: 272 | version "3.3.0" 273 | resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.3.0.tgz#cae62812b89801e9656336e46223e030386be7b6" 274 | integrity sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw== 275 | 276 | callsites@^3.0.0: 277 | version "3.1.0" 278 | resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" 279 | integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== 280 | 281 | chalk@^4.0.0: 282 | version "4.1.2" 283 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" 284 | integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== 285 | dependencies: 286 | ansi-styles "^4.1.0" 287 | supports-color "^7.1.0" 288 | 289 | color-convert@^2.0.1: 290 | version "2.0.1" 291 | resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" 292 | integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== 293 | dependencies: 294 | color-name "~1.1.4" 295 | 296 | color-name@~1.1.4: 297 | version "1.1.4" 298 | resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" 299 | integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== 300 | 301 | commander@^5.1.0: 302 | version "5.1.0" 303 | resolved "https://registry.yarnpkg.com/commander/-/commander-5.1.0.tgz#46abbd1652f8e059bddaef99bbdcb2ad9cf179ae" 304 | integrity sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg== 305 | 306 | concat-map@0.0.1: 307 | version "0.0.1" 308 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" 309 | integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== 310 | 311 | cross-spawn@^7.0.2: 312 | version "7.0.3" 313 | resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" 314 | integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== 315 | dependencies: 316 | path-key "^3.1.0" 317 | shebang-command "^2.0.0" 318 | which "^2.0.1" 319 | 320 | debug@^4.1.1, debug@^4.3.2, debug@^4.3.4: 321 | version "4.3.4" 322 | resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" 323 | integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== 324 | dependencies: 325 | ms "2.1.2" 326 | 327 | deep-is@^0.1.3: 328 | version "0.1.4" 329 | resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" 330 | integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== 331 | 332 | dir-glob@^3.0.1: 333 | version "3.0.1" 334 | resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" 335 | integrity sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA== 336 | dependencies: 337 | path-type "^4.0.0" 338 | 339 | doctrine@^3.0.0: 340 | version "3.0.0" 341 | resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961" 342 | integrity sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w== 343 | dependencies: 344 | esutils "^2.0.2" 345 | 346 | esbuild-android-arm64@0.13.12: 347 | version "0.13.12" 348 | resolved "https://registry.yarnpkg.com/esbuild-android-arm64/-/esbuild-android-arm64-0.13.12.tgz#e1f199dc05405cdc6670c00fb6c793822bf8ae4c" 349 | integrity sha512-TSVZVrb4EIXz6KaYjXfTzPyyRpXV5zgYIADXtQsIenjZ78myvDGaPi11o4ZSaHIwFHsuwkB6ne5SZRBwAQ7maw== 350 | 351 | esbuild-darwin-64@0.13.12: 352 | version "0.13.12" 353 | resolved "https://registry.yarnpkg.com/esbuild-darwin-64/-/esbuild-darwin-64-0.13.12.tgz#f5c59e622955c01f050e5a7ac9c1d41db714b94d" 354 | integrity sha512-c51C+N+UHySoV2lgfWSwwmlnLnL0JWj/LzuZt9Ltk9ub1s2Y8cr6SQV5W3mqVH1egUceew6KZ8GyI4nwu+fhsw== 355 | 356 | esbuild-darwin-arm64@0.13.12: 357 | version "0.13.12" 358 | resolved "https://registry.yarnpkg.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.13.12.tgz#8abae74c2956a8aa568fc52c78829338c4a4b988" 359 | integrity sha512-JvAMtshP45Hd8A8wOzjkY1xAnTKTYuP/QUaKp5eUQGX+76GIie3fCdUUr2ZEKdvpSImNqxiZSIMziEiGB5oUmQ== 360 | 361 | esbuild-freebsd-64@0.13.12: 362 | version "0.13.12" 363 | resolved "https://registry.yarnpkg.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.13.12.tgz#6ad2ab8c0364ee7dd2d6e324d876a8e60ae75d12" 364 | integrity sha512-r6On/Skv9f0ZjTu6PW5o7pdXr8aOgtFOEURJZYf1XAJs0IQ+gW+o1DzXjVkIoT+n1cm3N/t1KRJfX71MPg/ZUA== 365 | 366 | esbuild-freebsd-arm64@0.13.12: 367 | version "0.13.12" 368 | resolved "https://registry.yarnpkg.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.13.12.tgz#6f38155f4c300ac4c8adde1fde3cc6a4440a8294" 369 | integrity sha512-F6LmI2Q1gii073kmBE3NOTt/6zLL5zvZsxNLF8PMAwdHc+iBhD1vzfI8uQZMJA1IgXa3ocr3L3DJH9fLGXy6Yw== 370 | 371 | esbuild-linux-32@0.13.12: 372 | version "0.13.12" 373 | resolved "https://registry.yarnpkg.com/esbuild-linux-32/-/esbuild-linux-32-0.13.12.tgz#b1d15e330188a8c21de75c3f0058628a3eefade7" 374 | integrity sha512-U1UZwG3UIwF7/V4tCVAo/nkBV9ag5KJiJTt+gaCmLVWH3bPLX7y+fNlhIWZy8raTMnXhMKfaTvWZ9TtmXzvkuQ== 375 | 376 | esbuild-linux-64@0.13.12: 377 | version "0.13.12" 378 | resolved "https://registry.yarnpkg.com/esbuild-linux-64/-/esbuild-linux-64-0.13.12.tgz#25bd64b66162b02348e32d8f12e4c9ee61f1d070" 379 | integrity sha512-YpXSwtu2NxN3N4ifJxEdsgd6Q5d8LYqskrAwjmoCT6yQnEHJSF5uWcxv783HWN7lnGpJi9KUtDvYsnMdyGw71Q== 380 | 381 | esbuild-linux-arm64@0.13.12: 382 | version "0.13.12" 383 | resolved "https://registry.yarnpkg.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.13.12.tgz#ba582298457cc5c9ac823a275de117620c06537f" 384 | integrity sha512-sgDNb8kb3BVodtAlcFGgwk+43KFCYjnFOaOfJibXnnIojNWuJHpL6aQJ4mumzNWw8Rt1xEtDQyuGK9f+Y24jGA== 385 | 386 | esbuild-linux-arm@0.13.12: 387 | version "0.13.12" 388 | resolved "https://registry.yarnpkg.com/esbuild-linux-arm/-/esbuild-linux-arm-0.13.12.tgz#6bc81c957bff22725688cc6359c29a25765be09b" 389 | integrity sha512-SyiT/JKxU6J+DY2qUiSLZJqCAftIt3uoGejZ0HDnUM2MGJqEGSGh7p1ecVL2gna3PxS4P+j6WAehCwgkBPXNIw== 390 | 391 | esbuild-linux-mips64le@0.13.12: 392 | version "0.13.12" 393 | resolved "https://registry.yarnpkg.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.13.12.tgz#ef3c4aba3e585d847cbade5945a8b4a5c62c7ce2" 394 | integrity sha512-qQJHlZBG+QwVIA8AbTEtbvF084QgDi4DaUsUnA+EolY1bxrG+UyOuGflM2ZritGhfS/k7THFjJbjH2wIeoKA2g== 395 | 396 | esbuild-linux-ppc64le@0.13.12: 397 | version "0.13.12" 398 | resolved "https://registry.yarnpkg.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.13.12.tgz#a21fb64e80c38bef06122e48283990fc6db578e1" 399 | integrity sha512-2dSnm1ldL7Lppwlo04CGQUpwNn5hGqXI38OzaoPOkRsBRWFBozyGxTFSee/zHFS+Pdh3b28JJbRK3owrrRgWNw== 400 | 401 | esbuild-netbsd-64@0.13.12: 402 | version "0.13.12" 403 | resolved "https://registry.yarnpkg.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.13.12.tgz#1ea7fc8cfce88a20a4047b867ef184049a6641ae" 404 | integrity sha512-D4raxr02dcRiQNbxOLzpqBzcJNFAdsDNxjUbKkDMZBkL54Z0vZh4LRndycdZAMcIdizC/l/Yp/ZsBdAFxc5nbA== 405 | 406 | esbuild-openbsd-64@0.13.12: 407 | version "0.13.12" 408 | resolved "https://registry.yarnpkg.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.13.12.tgz#adde32f2f1b05dc4bd4fc544d6ea5a4379f9ca4d" 409 | integrity sha512-KuLCmYMb2kh05QuPJ+va60bKIH5wHL8ypDkmpy47lzwmdxNsuySeCMHuTv5o2Af1RUn5KLO5ZxaZeq4GEY7DaQ== 410 | 411 | esbuild-sunos-64@0.13.12: 412 | version "0.13.12" 413 | resolved "https://registry.yarnpkg.com/esbuild-sunos-64/-/esbuild-sunos-64-0.13.12.tgz#a7ecaf52b7364fbee76dc8aa707fa3e1cff3342c" 414 | integrity sha512-jBsF+e0woK3miKI8ufGWKG3o3rY9DpHvCVRn5eburMIIE+2c+y3IZ1srsthKyKI6kkXLvV4Cf/E7w56kLipMXw== 415 | 416 | esbuild-windows-32@0.13.12: 417 | version "0.13.12" 418 | resolved "https://registry.yarnpkg.com/esbuild-windows-32/-/esbuild-windows-32-0.13.12.tgz#a8756033dc905c4b7bea19be69f7ee68809f8770" 419 | integrity sha512-L9m4lLFQrFeR7F+eLZXG82SbXZfUhyfu6CexZEil6vm+lc7GDCE0Q8DiNutkpzjv1+RAbIGVva9muItQ7HVTkQ== 420 | 421 | esbuild-windows-64@0.13.12: 422 | version "0.13.12" 423 | resolved "https://registry.yarnpkg.com/esbuild-windows-64/-/esbuild-windows-64-0.13.12.tgz#ae694aa66ca078acb8509b2da31197ed1f40f798" 424 | integrity sha512-k4tX4uJlSbSkfs78W5d9+I9gpd+7N95W7H2bgOMFPsYREVJs31+Q2gLLHlsnlY95zBoPQMIzHooUIsixQIBjaQ== 425 | 426 | esbuild-windows-arm64@0.13.12: 427 | version "0.13.12" 428 | resolved "https://registry.yarnpkg.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.13.12.tgz#782c5a8bd6d717ea55aaafe648f9926ca36a4a88" 429 | integrity sha512-2tTv/BpYRIvuwHpp2M960nG7uvL+d78LFW/ikPItO+2GfK51CswIKSetSpDii+cjz8e9iSPgs+BU4o8nWICBwQ== 430 | 431 | esbuild@0.13.12: 432 | version "0.13.12" 433 | resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.13.12.tgz#9cac641594bf03cf34145258c093d743ebbde7ca" 434 | integrity sha512-vTKKUt+yoz61U/BbrnmlG9XIjwpdIxmHB8DlPR0AAW6OdS+nBQBci6LUHU2q9WbBobMEIQxxDpKbkmOGYvxsow== 435 | optionalDependencies: 436 | esbuild-android-arm64 "0.13.12" 437 | esbuild-darwin-64 "0.13.12" 438 | esbuild-darwin-arm64 "0.13.12" 439 | esbuild-freebsd-64 "0.13.12" 440 | esbuild-freebsd-arm64 "0.13.12" 441 | esbuild-linux-32 "0.13.12" 442 | esbuild-linux-64 "0.13.12" 443 | esbuild-linux-arm "0.13.12" 444 | esbuild-linux-arm64 "0.13.12" 445 | esbuild-linux-mips64le "0.13.12" 446 | esbuild-linux-ppc64le "0.13.12" 447 | esbuild-netbsd-64 "0.13.12" 448 | esbuild-openbsd-64 "0.13.12" 449 | esbuild-sunos-64 "0.13.12" 450 | esbuild-windows-32 "0.13.12" 451 | esbuild-windows-64 "0.13.12" 452 | esbuild-windows-arm64 "0.13.12" 453 | 454 | escape-string-regexp@^4.0.0: 455 | version "4.0.0" 456 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" 457 | integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== 458 | 459 | eslint-scope@^5.1.1: 460 | version "5.1.1" 461 | resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" 462 | integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== 463 | dependencies: 464 | esrecurse "^4.3.0" 465 | estraverse "^4.1.1" 466 | 467 | eslint-scope@^7.1.1: 468 | version "7.1.1" 469 | resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.1.1.tgz#fff34894c2f65e5226d3041ac480b4513a163642" 470 | integrity sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw== 471 | dependencies: 472 | esrecurse "^4.3.0" 473 | estraverse "^5.2.0" 474 | 475 | eslint-utils@^3.0.0: 476 | version "3.0.0" 477 | resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-3.0.0.tgz#8aebaface7345bb33559db0a1f13a1d2d48c3672" 478 | integrity sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA== 479 | dependencies: 480 | eslint-visitor-keys "^2.0.0" 481 | 482 | eslint-visitor-keys@^2.0.0: 483 | version "2.1.0" 484 | resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303" 485 | integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw== 486 | 487 | eslint-visitor-keys@^3.3.0: 488 | version "3.3.0" 489 | resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz#f6480fa6b1f30efe2d1968aa8ac745b862469826" 490 | integrity sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA== 491 | 492 | eslint@^8.4.0: 493 | version "8.16.0" 494 | resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.16.0.tgz#6d936e2d524599f2a86c708483b4c372c5d3bbae" 495 | integrity sha512-MBndsoXY/PeVTDJeWsYj7kLZ5hQpJOfMYLsF6LicLHQWbRDG19lK5jOix4DPl8yY4SUFcE3txy86OzFLWT+yoA== 496 | dependencies: 497 | "@eslint/eslintrc" "^1.3.0" 498 | "@humanwhocodes/config-array" "^0.9.2" 499 | ajv "^6.10.0" 500 | chalk "^4.0.0" 501 | cross-spawn "^7.0.2" 502 | debug "^4.3.2" 503 | doctrine "^3.0.0" 504 | escape-string-regexp "^4.0.0" 505 | eslint-scope "^7.1.1" 506 | eslint-utils "^3.0.0" 507 | eslint-visitor-keys "^3.3.0" 508 | espree "^9.3.2" 509 | esquery "^1.4.0" 510 | esutils "^2.0.2" 511 | fast-deep-equal "^3.1.3" 512 | file-entry-cache "^6.0.1" 513 | functional-red-black-tree "^1.0.1" 514 | glob-parent "^6.0.1" 515 | globals "^13.15.0" 516 | ignore "^5.2.0" 517 | import-fresh "^3.0.0" 518 | imurmurhash "^0.1.4" 519 | is-glob "^4.0.0" 520 | js-yaml "^4.1.0" 521 | json-stable-stringify-without-jsonify "^1.0.1" 522 | levn "^0.4.1" 523 | lodash.merge "^4.6.2" 524 | minimatch "^3.1.2" 525 | natural-compare "^1.4.0" 526 | optionator "^0.9.1" 527 | regexpp "^3.2.0" 528 | strip-ansi "^6.0.1" 529 | strip-json-comments "^3.1.0" 530 | text-table "^0.2.0" 531 | v8-compile-cache "^2.0.3" 532 | 533 | espree@^9.3.2: 534 | version "9.3.2" 535 | resolved "https://registry.yarnpkg.com/espree/-/espree-9.3.2.tgz#f58f77bd334731182801ced3380a8cc859091596" 536 | integrity sha512-D211tC7ZwouTIuY5x9XnS0E9sWNChB7IYKX/Xp5eQj3nFXhqmiUDB9q27y76oFl8jTg3pXcQx/bpxMfs3CIZbA== 537 | dependencies: 538 | acorn "^8.7.1" 539 | acorn-jsx "^5.3.2" 540 | eslint-visitor-keys "^3.3.0" 541 | 542 | esquery@^1.4.0: 543 | version "1.4.0" 544 | resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.4.0.tgz#2148ffc38b82e8c7057dfed48425b3e61f0f24a5" 545 | integrity sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w== 546 | dependencies: 547 | estraverse "^5.1.0" 548 | 549 | esrecurse@^4.3.0: 550 | version "4.3.0" 551 | resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" 552 | integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== 553 | dependencies: 554 | estraverse "^5.2.0" 555 | 556 | estraverse@^4.1.1: 557 | version "4.3.0" 558 | resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" 559 | integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== 560 | 561 | estraverse@^5.1.0, estraverse@^5.2.0: 562 | version "5.3.0" 563 | resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" 564 | integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== 565 | 566 | esutils@^2.0.2: 567 | version "2.0.3" 568 | resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" 569 | integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== 570 | 571 | fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: 572 | version "3.1.3" 573 | resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" 574 | integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== 575 | 576 | fast-glob@^3.2.9: 577 | version "3.2.11" 578 | resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.11.tgz#a1172ad95ceb8a16e20caa5c5e56480e5129c1d9" 579 | integrity sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew== 580 | dependencies: 581 | "@nodelib/fs.stat" "^2.0.2" 582 | "@nodelib/fs.walk" "^1.2.3" 583 | glob-parent "^5.1.2" 584 | merge2 "^1.3.0" 585 | micromatch "^4.0.4" 586 | 587 | fast-json-stable-stringify@^2.0.0: 588 | version "2.1.0" 589 | resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" 590 | integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== 591 | 592 | fast-levenshtein@^2.0.6: 593 | version "2.0.6" 594 | resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" 595 | integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= 596 | 597 | fastq@^1.6.0: 598 | version "1.13.0" 599 | resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.13.0.tgz#616760f88a7526bdfc596b7cab8c18938c36b98c" 600 | integrity sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw== 601 | dependencies: 602 | reusify "^1.0.4" 603 | 604 | file-entry-cache@^6.0.1: 605 | version "6.0.1" 606 | resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027" 607 | integrity sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg== 608 | dependencies: 609 | flat-cache "^3.0.4" 610 | 611 | fill-range@^7.0.1: 612 | version "7.0.1" 613 | resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" 614 | integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== 615 | dependencies: 616 | to-regex-range "^5.0.1" 617 | 618 | flat-cache@^3.0.4: 619 | version "3.0.4" 620 | resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11" 621 | integrity sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg== 622 | dependencies: 623 | flatted "^3.1.0" 624 | rimraf "^3.0.2" 625 | 626 | flatted@^3.1.0: 627 | version "3.2.5" 628 | resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.5.tgz#76c8584f4fc843db64702a6bd04ab7a8bd666da3" 629 | integrity sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg== 630 | 631 | fs.realpath@^1.0.0: 632 | version "1.0.0" 633 | resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" 634 | integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= 635 | 636 | functional-red-black-tree@^1.0.1: 637 | version "1.0.1" 638 | resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" 639 | integrity sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc= 640 | 641 | glob-parent@^5.1.2: 642 | version "5.1.2" 643 | resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" 644 | integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== 645 | dependencies: 646 | is-glob "^4.0.1" 647 | 648 | glob-parent@^6.0.1: 649 | version "6.0.2" 650 | resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3" 651 | integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A== 652 | dependencies: 653 | is-glob "^4.0.3" 654 | 655 | glob@^7.1.3: 656 | version "7.2.3" 657 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" 658 | integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== 659 | dependencies: 660 | fs.realpath "^1.0.0" 661 | inflight "^1.0.4" 662 | inherits "2" 663 | minimatch "^3.1.1" 664 | once "^1.3.0" 665 | path-is-absolute "^1.0.0" 666 | 667 | globals@^13.15.0: 668 | version "13.15.0" 669 | resolved "https://registry.yarnpkg.com/globals/-/globals-13.15.0.tgz#38113218c907d2f7e98658af246cef8b77e90bac" 670 | integrity sha512-bpzcOlgDhMG070Av0Vy5Owklpv1I6+j96GhUI7Rh7IzDCKLzboflLrrfqMu8NquDbiR4EOQk7XzJwqVJxicxog== 671 | dependencies: 672 | type-fest "^0.20.2" 673 | 674 | globby@^11.1.0: 675 | version "11.1.0" 676 | resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" 677 | integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== 678 | dependencies: 679 | array-union "^2.1.0" 680 | dir-glob "^3.0.1" 681 | fast-glob "^3.2.9" 682 | ignore "^5.2.0" 683 | merge2 "^1.4.1" 684 | slash "^3.0.0" 685 | 686 | has-flag@^4.0.0: 687 | version "4.0.0" 688 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" 689 | integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== 690 | 691 | ignore@^5.2.0: 692 | version "5.2.0" 693 | resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.0.tgz#6d3bac8fa7fe0d45d9f9be7bac2fc279577e345a" 694 | integrity sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ== 695 | 696 | import-fresh@^3.0.0, import-fresh@^3.2.1: 697 | version "3.3.0" 698 | resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" 699 | integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== 700 | dependencies: 701 | parent-module "^1.0.0" 702 | resolve-from "^4.0.0" 703 | 704 | imurmurhash@^0.1.4: 705 | version "0.1.4" 706 | resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" 707 | integrity sha1-khi5srkoojixPcT7a21XbyMUU+o= 708 | 709 | inflight@^1.0.4: 710 | version "1.0.6" 711 | resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" 712 | integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk= 713 | dependencies: 714 | once "^1.3.0" 715 | wrappy "1" 716 | 717 | inherits@2: 718 | version "2.0.4" 719 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" 720 | integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== 721 | 722 | is-extglob@^2.1.1: 723 | version "2.1.1" 724 | resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" 725 | integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI= 726 | 727 | is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3: 728 | version "4.0.3" 729 | resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" 730 | integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== 731 | dependencies: 732 | is-extglob "^2.1.1" 733 | 734 | is-number@^7.0.0: 735 | version "7.0.0" 736 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" 737 | integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== 738 | 739 | isexe@^2.0.0: 740 | version "2.0.0" 741 | resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" 742 | integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= 743 | 744 | js-yaml@^4.1.0: 745 | version "4.1.0" 746 | resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" 747 | integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== 748 | dependencies: 749 | argparse "^2.0.1" 750 | 751 | json-schema-traverse@^0.4.1: 752 | version "0.4.1" 753 | resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" 754 | integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== 755 | 756 | json-stable-stringify-without-jsonify@^1.0.1: 757 | version "1.0.1" 758 | resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" 759 | integrity sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE= 760 | 761 | levn@^0.4.1: 762 | version "0.4.1" 763 | resolved "https://registry.yarnpkg.com/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade" 764 | integrity sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ== 765 | dependencies: 766 | prelude-ls "^1.2.1" 767 | type-check "~0.4.0" 768 | 769 | lodash.merge@^4.6.2: 770 | version "4.6.2" 771 | resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" 772 | integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== 773 | 774 | lru-cache@^6.0.0: 775 | version "6.0.0" 776 | resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" 777 | integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== 778 | dependencies: 779 | yallist "^4.0.0" 780 | 781 | merge2@^1.3.0, merge2@^1.4.1: 782 | version "1.4.1" 783 | resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" 784 | integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== 785 | 786 | micromatch@^4.0.4: 787 | version "4.0.5" 788 | resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" 789 | integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== 790 | dependencies: 791 | braces "^3.0.2" 792 | picomatch "^2.3.1" 793 | 794 | minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2: 795 | version "3.1.2" 796 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" 797 | integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== 798 | dependencies: 799 | brace-expansion "^1.1.7" 800 | 801 | moment@2.29.2: 802 | version "2.29.2" 803 | resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.2.tgz#00910c60b20843bcba52d37d58c628b47b1f20e4" 804 | integrity sha512-UgzG4rvxYpN15jgCmVJwac49h9ly9NurikMWGPdVxm8GZD6XjkKPxDTjQQ43gtGgnV3X0cAyWDdP2Wexoquifg== 805 | 806 | ms@2.1.2: 807 | version "2.1.2" 808 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" 809 | integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== 810 | 811 | natural-compare@^1.4.0: 812 | version "1.4.0" 813 | resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" 814 | integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc= 815 | 816 | nunjucks@^3.2.3: 817 | version "3.2.3" 818 | resolved "https://registry.yarnpkg.com/nunjucks/-/nunjucks-3.2.3.tgz#1b33615247290e94e28263b5d855ece765648a31" 819 | integrity sha512-psb6xjLj47+fE76JdZwskvwG4MYsQKXUtMsPh6U0YMvmyjRtKRFcxnlXGWglNybtNTNVmGdp94K62/+NjF5FDQ== 820 | dependencies: 821 | a-sync-waterfall "^1.0.0" 822 | asap "^2.0.3" 823 | commander "^5.1.0" 824 | 825 | obsidian@^0.14.8: 826 | version "0.14.8" 827 | resolved "https://registry.yarnpkg.com/obsidian/-/obsidian-0.14.8.tgz#f7c77a63bbc8082584615a83e328905c82e4926b" 828 | integrity sha512-CQz+B2HSbhGVEBwZBL3rPl29ruOBmEhCbBmW7PIILnnRh6fFFvYy3kZLHVTUidzvRGZnEW/mQ7n9LXeJCp2a/Q== 829 | dependencies: 830 | "@codemirror/state" "^0.19.6" 831 | "@codemirror/view" "^0.19.31" 832 | "@types/codemirror" "0.0.108" 833 | moment "2.29.2" 834 | 835 | once@^1.3.0: 836 | version "1.4.0" 837 | resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" 838 | integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= 839 | dependencies: 840 | wrappy "1" 841 | 842 | optionator@^0.9.1: 843 | version "0.9.1" 844 | resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.1.tgz#4f236a6373dae0566a6d43e1326674f50c291499" 845 | integrity sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw== 846 | dependencies: 847 | deep-is "^0.1.3" 848 | fast-levenshtein "^2.0.6" 849 | levn "^0.4.1" 850 | prelude-ls "^1.2.1" 851 | type-check "^0.4.0" 852 | word-wrap "^1.2.3" 853 | 854 | parent-module@^1.0.0: 855 | version "1.0.1" 856 | resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" 857 | integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== 858 | dependencies: 859 | callsites "^3.0.0" 860 | 861 | path-is-absolute@^1.0.0: 862 | version "1.0.1" 863 | resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" 864 | integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= 865 | 866 | path-key@^3.1.0: 867 | version "3.1.1" 868 | resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" 869 | integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== 870 | 871 | path-type@^4.0.0: 872 | version "4.0.0" 873 | resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" 874 | integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== 875 | 876 | picomatch@^2.3.1: 877 | version "2.3.1" 878 | resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" 879 | integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== 880 | 881 | prelude-ls@^1.2.1: 882 | version "1.2.1" 883 | resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" 884 | integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== 885 | 886 | punycode@^2.1.0: 887 | version "2.1.1" 888 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" 889 | integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== 890 | 891 | qrious@^4.0.2: 892 | version "4.0.2" 893 | resolved "https://registry.yarnpkg.com/qrious/-/qrious-4.0.2.tgz#09c4d4079d2b961617f62c69cff3b9bb66a39693" 894 | integrity sha512-xWPJIrK1zu5Ypn898fBp8RHkT/9ibquV2Kv24S/JY9VYEhMBMKur1gHVsOiNUh7PHP9uCgejjpZUHUIXXKoU/g== 895 | 896 | queue-microtask@^1.2.2: 897 | version "1.2.3" 898 | resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" 899 | integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== 900 | 901 | regexpp@^3.2.0: 902 | version "3.2.0" 903 | resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2" 904 | integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg== 905 | 906 | resolve-from@^4.0.0: 907 | version "4.0.0" 908 | resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" 909 | integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== 910 | 911 | reusify@^1.0.4: 912 | version "1.0.4" 913 | resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" 914 | integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== 915 | 916 | rimraf@^3.0.2: 917 | version "3.0.2" 918 | resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" 919 | integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== 920 | dependencies: 921 | glob "^7.1.3" 922 | 923 | run-parallel@^1.1.9: 924 | version "1.2.0" 925 | resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" 926 | integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA== 927 | dependencies: 928 | queue-microtask "^1.2.2" 929 | 930 | semver@^7.3.7: 931 | version "7.3.7" 932 | resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.7.tgz#12c5b649afdbf9049707796e22a4028814ce523f" 933 | integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g== 934 | dependencies: 935 | lru-cache "^6.0.0" 936 | 937 | shebang-command@^2.0.0: 938 | version "2.0.0" 939 | resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" 940 | integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== 941 | dependencies: 942 | shebang-regex "^3.0.0" 943 | 944 | shebang-regex@^3.0.0: 945 | version "3.0.0" 946 | resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" 947 | integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== 948 | 949 | slash@^3.0.0: 950 | version "3.0.0" 951 | resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" 952 | integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== 953 | 954 | strip-ansi@^6.0.1: 955 | version "6.0.1" 956 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" 957 | integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== 958 | dependencies: 959 | ansi-regex "^5.0.1" 960 | 961 | strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: 962 | version "3.1.1" 963 | resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" 964 | integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== 965 | 966 | style-mod@^4.0.0: 967 | version "4.0.0" 968 | resolved "https://registry.yarnpkg.com/style-mod/-/style-mod-4.0.0.tgz#97e7c2d68b592975f2ca7a63d0dd6fcacfe35a01" 969 | integrity sha512-OPhtyEjyyN9x3nhPsu76f52yUGXiZcgvsrFVtvTkyGRQJ0XK+GPc6ov1z+lRpbeabka+MYEQxOYRnt5nF30aMw== 970 | 971 | supports-color@^7.1.0: 972 | version "7.2.0" 973 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" 974 | integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== 975 | dependencies: 976 | has-flag "^4.0.0" 977 | 978 | text-table@^0.2.0: 979 | version "0.2.0" 980 | resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" 981 | integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ= 982 | 983 | to-regex-range@^5.0.1: 984 | version "5.0.1" 985 | resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" 986 | integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== 987 | dependencies: 988 | is-number "^7.0.0" 989 | 990 | tslib@2.3.1: 991 | version "2.3.1" 992 | resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01" 993 | integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw== 994 | 995 | tslib@^1.8.1: 996 | version "1.14.1" 997 | resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" 998 | integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== 999 | 1000 | tsutils@^3.21.0: 1001 | version "3.21.0" 1002 | resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" 1003 | integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA== 1004 | dependencies: 1005 | tslib "^1.8.1" 1006 | 1007 | type-check@^0.4.0, type-check@~0.4.0: 1008 | version "0.4.0" 1009 | resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1" 1010 | integrity sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew== 1011 | dependencies: 1012 | prelude-ls "^1.2.1" 1013 | 1014 | type-fest@^0.20.2: 1015 | version "0.20.2" 1016 | resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4" 1017 | integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== 1018 | 1019 | typescript@4.4.4: 1020 | version "4.4.4" 1021 | resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.4.tgz#2cd01a1a1f160704d3101fd5a58ff0f9fcb8030c" 1022 | integrity sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA== 1023 | 1024 | uri-js@^4.2.2: 1025 | version "4.4.1" 1026 | resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" 1027 | integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== 1028 | dependencies: 1029 | punycode "^2.1.0" 1030 | 1031 | v8-compile-cache@^2.0.3: 1032 | version "2.3.0" 1033 | resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee" 1034 | integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA== 1035 | 1036 | w3c-keyname@^2.2.4: 1037 | version "2.2.4" 1038 | resolved "https://registry.yarnpkg.com/w3c-keyname/-/w3c-keyname-2.2.4.tgz#4ade6916f6290224cdbd1db8ac49eab03d0eef6b" 1039 | integrity sha512-tOhfEwEzFLJzf6d1ZPkYfGj+FWhIpBux9ppoP3rlclw3Z0BZv3N7b7030Z1kYth+6rDuAsXUFr+d0VE6Ed1ikw== 1040 | 1041 | which@^2.0.1: 1042 | version "2.0.2" 1043 | resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" 1044 | integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== 1045 | dependencies: 1046 | isexe "^2.0.0" 1047 | 1048 | word-wrap@^1.2.3: 1049 | version "1.2.3" 1050 | resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" 1051 | integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ== 1052 | 1053 | wrappy@1: 1054 | version "1.0.2" 1055 | resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" 1056 | integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= 1057 | 1058 | yallist@^4.0.0: 1059 | version "4.0.0" 1060 | resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" 1061 | integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== 1062 | --------------------------------------------------------------------------------