├── .editorconfig ├── .eslintignore ├── .eslintrc ├── .github └── workflows │ ├── CI.yml │ └── release.yml ├── .gitignore ├── .npmrc ├── LICENSE ├── Message.ts ├── README-zh.md ├── README.md ├── Upload2Notion.ts ├── doc ├── 1.gif ├── 10.png ├── 2.png ├── 3.gif ├── 4.png ├── 5.png ├── 6.gif ├── 7.png ├── 8.png └── 9.png ├── esbuild.config.mjs ├── icon.ts ├── main.ts ├── manifest.json ├── package.json ├── release.sh ├── styles.css ├── tsconfig.json ├── update-version.js ├── version-bump.mjs ├── versions.json └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- 1 | # top-most EditorConfig file 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | end_of_line = lf 7 | insert_final_newline = true 8 | indent_style = tab 9 | indent_size = 4 10 | tab_width = 4 11 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | npm node_modules 2 | build -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | "parser": "@typescript-eslint/parser", 4 | "env": { "node": true }, 5 | "plugins": [ 6 | "@typescript-eslint" 7 | ], 8 | "extends": [ 9 | "eslint:recommended", 10 | "plugin:@typescript-eslint/eslint-recommended", 11 | "plugin:@typescript-eslint/recommended" 12 | ], 13 | "parserOptions": { 14 | "sourceType": "module" 15 | }, 16 | "rules": { 17 | "no-unused-vars": "off", 18 | "@typescript-eslint/no-unused-vars": ["error", { "args": "none" }], 19 | "@typescript-eslint/ban-ts-comment": "off", 20 | "no-prototype-builtins": "off", 21 | "@typescript-eslint/no-empty-function": "off" 22 | } 23 | } -------------------------------------------------------------------------------- /.github/workflows/CI.yml: -------------------------------------------------------------------------------- 1 | name: CI 2 | 3 | on: 4 | push: 5 | branches: 6 | - "*" 7 | 8 | env: 9 | PLUGIN_NAME: obsidian-to-notion 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@v3 19 | with: 20 | node-version: 16 21 | 22 | - name: Build 23 | id: build 24 | run: | 25 | npm install 26 | npm run build -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- 1 | name: Release Obsidian plugin 2 | 3 | on: 4 | push: 5 | tags: 6 | - "*" 7 | 8 | env: 9 | PLUGIN_NAME: obsidian-to-notion # Change this to match the id of your plugin. 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 | npm install 26 | npm run 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 -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # vscode 2 | .vscode 3 | 4 | # Intellij 5 | *.iml 6 | .idea 7 | 8 | # npm 9 | node_modules 10 | 11 | # Don't include the compiled main.js file in the repo. 12 | # They should be uploaded to GitHub releases instead. 13 | main.js 14 | 15 | # Exclude sourcemaps 16 | *.map 17 | 18 | # obsidian 19 | data.json 20 | 21 | # Exclude macOS Finder (System Explorer) View States 22 | .DS_Store 23 | .history -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | tag-version-prefix="" -------------------------------------------------------------------------------- /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 | . -------------------------------------------------------------------------------- /Message.ts: -------------------------------------------------------------------------------- 1 | export const NoticeMsg: {[key: string]:any} = { 2 | "en": { 3 | "notion-logo": "Share to notion", 4 | "sync-success": "Sync to notion success: \n", 5 | "sync-fail": "Sync to notion fail: \n", 6 | "open-notion": "Please open the file that needs to be synchronized", 7 | "config-secrets-notion-api": "Please set up the notion API in the settings tab.", 8 | "config-secrets-database-id": "Please set up the database id in the settings tab.", 9 | "set-tags-fail": "Set tags fail,please check the frontmatter of the file or close the tag switch in the settings tab.", 10 | }, 11 | "zh": { 12 | "notion-logo": "分享到Notion", 13 | "sync-success": "同步到Notion成功:\n", 14 | "sync-fail": "同步到Notion失败: \n", 15 | "open-file": "请打开需要同步的文件", 16 | "set-tags-fail": "设置标签失败,请检查文件的frontmatter,或者在插件设置中关闭设置tags开关", 17 | }, 18 | } 19 | 20 | 21 | export const NoticeMConfig = (lang:any) :any => { 22 | return NoticeMsg[lang] 23 | } -------------------------------------------------------------------------------- /README-zh.md: -------------------------------------------------------------------------------- 1 | # Obsidian to Notion 2 | [![](https://github.com/Easychris/obsidian-to-notion/actions/workflows/CI.yml/badge.svg)](https://github.com/Easychris/obsidian-to-notion/actions/workflows/CI.yml) 3 | [![Release Obsidian plugin](https://github.com/Easychris/obsidian-to-notion/actions/workflows/release.yml/badge.svg)](https://github.com/Easychris/obsidian-to-notion/actions/workflows/release.yml) 4 | [![GitHub license](https://camo.githubusercontent.com/400c4e52df43f6a0ab8a89b74b1a78d1a64da56a7848b9110c9d2991bb7c3105/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d47504c76332d626c75652e737667)](https://raw.githubusercontent.com/EasyChris/obsidian-to-notion/master/LICENSE) 5 | [![Github all releases](https://img.shields.io/github/downloads/Easychris/obsidian-to-notion/total.svg)](https://GitHub.com/Easychris/obsidian-to-notion/releases/) 6 | [![GitLab latest release](https://badgen.net/github/release/Easychris/obsidian-to-notion/)](https://github.com/Easychris/obsidian-to-notion/releases) 7 | 8 | Obsidian share to Notion [English](README.md) 9 | 10 | 将obsidian文件一键分享到Notion,并在obsidian中添加Notion分享链接 11 | 12 | 如果能对你有所帮助,欢迎给一个star支持。 13 | 14 | ![](./doc/1.gif) 15 | 16 | # 使用方式 17 | ## 安装插件 18 | 19 | ### 市场下载 20 | 插件市场搜索 noiton 即可下载 21 | 22 | ![](https://afox-1256168983.cos.ap-shanghai.myqcloud.com/20220628214145.png) 23 | ### BRAT 24 | 插件中中心搜索 BRAT 25 | 添加 `EasyChris/obsidian-to-notion` 到 BRAT 插件安装列表中 26 | 返回插件中心启用即可 27 | ### 手动安装 28 | ``` 29 | cd YOUR_OBSIDIAN_FOLDER/.obsidian/plugins/ 30 | git clone https://github.com/EasyChris/obsidian-to-notion.git 31 | ``` 32 | 33 | 34 | ## 申请 Notion API 35 | 官方参考文档:[https://developers.notion.com/docs](https://developers.notion.com/docs) 36 | ### 第 1 步:创建integration。 37 | 转到 [https://www.notion.com/my-integrations](https://www.notion.com/my-integrations) 38 | 创建完成之后,复制`secrets toekn` 39 | ![](https://files.readme.io/2ec137d-093ad49-create-integration.gif) 40 | 41 | ### 第2步:与你的集成共享一个数据库 42 | 新建一个的page(权限为公开) 43 | 在page中新建一个数据库 -> 需要`full page database` 44 | ![](./doc/3.gif) 45 | 46 | 将`integration`添加到你的新建的数据库中 47 | 48 | ![](./doc/6.gif) 49 | 50 | #### 注意 51 | 52 | 数据库的第一个自定义名称必须是 "Name",否则同步会失败。 53 | 54 | ![](https://afox-1256168983.cos.ap-shanghai.myqcloud.com/20220618102029.png) 55 | 56 | 57 | 58 | 59 | ### 第三步:复制database ID 60 | 61 | ``` 62 | https://www.notion.so/myworkspace/a8aec43384f447ed84390e8e42c2e089?v=... 63 | |--------- Database ID --------| 64 | 65 | ``` 66 | 67 | 68 | 69 | ## 打开插件配置 70 | 将得到的 `NOTION_API_KEY` 和 `DATABASE_ID`填入配置当中 71 | ![](./doc/2.png) 72 | 73 | ## 上传文件内容到notion 74 | 点击上传notion的按钮 75 | ![](./doc/4.png) 76 | 上传成功之后会自动生成一个分享链接 77 | ![](./doc/5.png) 78 | 79 | 80 | ## 页面 Banner 链接[可选] 81 | 默认可以不填写 82 | 横幅URL必须是图像URL,例如:https://i.imgur.com/xxx.jpg 83 | 84 | ## Notion ID [可选] 85 | Notion ID是你想分享文件的页面ID。 86 | 如果你不写它,notion将分享到默认的链接,如:https://www.notion.so/myworkspace/a8aec43384f447ed84390,访问这个页面将重定向到你的网站页面。 87 | 如果你写了Notion ID,它将分享到页面链接如:https://your_user_name.notion.site/myworkspace/a8aec43384f447ed84390。不需要重定向网址。 88 | 89 | ## 同步图片 90 | 91 | 使用 [Obsidian Image Auto Upload Plugin](https://github.com/renmu123/obsidian-image-auto-upload-plugin) 插件,配置你自己的 cos 或者 oss,将图片存储到你自己的云存储,然后在 obsidian 中使用图片链接即可。该插件会自动帮你上传图片,并替换成链接。 92 | 93 | # 请我喝杯咖啡 94 | 95 | [顿顿饭](https://dun.mianbaoduo.com/@easy) 96 | 97 | # 感谢 98 | [开发流程 | Obsidian 插件开发文档](https://luhaifeng666.github.io/obsidian-plugin-docs-zh/zh/getting-started/development-workflow.html) 99 | 100 | [GitHub - devbean/obsidian-wordpress: An obsidian plugin for publishing docs to WordPress.](https://github.com/devbean/obsidian-wordpress) 101 | 102 | [GitHub - obsidianmd/obsidian-api](https://github.com/obsidianmd/obsidian-api) 103 | 104 | [GitHub - zhaohongxuan/obsidian-weread-plugin: Obsidian Weread Plugin is an plugin to sync Weread(微信读书) hightlights and annotations into your Obsidian Vault.](https://github.com/zhaohongxuan/obsidian-weread-plugin) 105 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Obsidian to Notion 2 | [![](https://github.com/Easychris/obsidian-to-notion/actions/workflows/CI.yml/badge.svg)](https://github.com/Easychris/obsidian-to-notion/actions/workflows/CI.yml) 3 | [![Release Obsidian plugin](https://github.com/Easychris/obsidian-to-notion/actions/workflows/release.yml/badge.svg)](https://github.com/Easychris/obsidian-to-notion/actions/workflows/release.yml) 4 | [![GitHub license](https://img.shields.io/github/license/EasyChris/obsidian-to-notion)](https://raw.githubusercontent.com/EasyChris/obsidian-to-notion/master/LICENSE) 5 | [![Github all releases](https://img.shields.io/github/downloads/Easychris/obsidian-to-notion/total.svg)](https://GitHub.com/Easychris/obsidian-to-notion/releases/) 6 | [![GitLab latest release](https://badgen.net/github/release/Easychris/obsidian-to-notion/)](https://github.com/Easychris/obsidian-to-notion/releases) 7 | 8 | 9 | Share of obsidian to Notion [中文文档](README-zh.md) 10 | 11 | Sharing files from Obsidian to Notion with a single click, and Obsidian will automatically add the Notion share link 12 | 13 | You are welcome to offer it a star if it can benefit you. 14 | 15 | ![](./doc/1.gif) 16 | 17 | # TODO 18 | ### [TODO Board](https://github.com/users/EasyChris/projects/3/views/1) 19 | - [x] support for custom page banner 20 | - [x] update the exsit page 21 | - [x] support for mult language 22 | - [x] support for auto copy the share link to clipboard 23 | - [x] support for mobile 24 | - [x] support tags thank for [@jannikbuscha](https://github.com/jannikbuscha) 25 | - [ ] transfer the bi-link format like [[]] into the format that Notion supports. 26 | 27 | 28 | # How to use 29 | ## Install the plugin 30 | 31 | ### Marketplace download 32 | Open obsidian setting -> Add plugin -> Search -> notion 33 | 34 | ![](https://afox-1256168983.cos.ap-shanghai.myqcloud.com/20220628214145.png) 35 | 36 | ### BRAT 37 | Enter `BRAT` into the plugin market center to find it. 38 | Add `EasyChris/obsidian-to-notion` to the list of BRAT plugins that have been installed. 39 | Return to the plugin center and turn it on. 40 | ### Manual installation 41 | ``` 42 | cd YOUR_OBSIDIAN_FOLDER/.obsidian/plugins/ 43 | git clone https://github.com/EasyChris/obsidian-to-notion.git 44 | ``` 45 | 46 | 47 | ## Apply Notion API 48 | Official reference documentation: [https://developers.notion.com/docs](https://developers.notion.com/docs) 49 | ### Step 1: Create integration. 50 | Go to [https://www.notion.com/my-integrations](https://www.notion.com/my-integrations) 51 | Once created, copy `secrets toekn` 52 | ![](https://files.readme.io/2ec137d-093ad49-create-integration.gif) 53 | 54 | #### Note: 55 | database first custom name must be "Name", otherwise sync to notion will be failed 56 | 57 | ![](https://afox-1256168983.cos.ap-shanghai.myqcloud.com/20220618102029.png) 58 | 59 | 60 | 61 | ### Step 2: Share a database with your integration 62 | Create a new page (with public permissions) 63 | Create a new database in the page -> you need `full page database` 64 | ![](./doc/3.gif) 65 | 66 | Add `integration` to your new database 67 | 68 | ![](./doc/6.gif) 69 | 70 | ### Step 3: Copy the database ID 71 | 72 | ``` 73 | https://www.notion.so/myworkspace/a8aec43384f447ed84390e8e42c2e089?v=... 74 | | --------- Database ID --------| 75 | 76 | ``` 77 | 78 | 79 | 80 | ## Open the plugin configuration 81 | Fill the configuration with the `NOTION_API_KEY` and `DATABASE_ID` you got 82 | ![](./doc/2.png) 83 | 84 | ## Upload file content to notion 85 | Click the upload notion button 86 | ![](./doc/4.png) 87 | A share link will be automatically generated after successful upload 88 | ![](./doc/5.png) 89 | 90 | 91 | ## Banner URL [option] 92 | Banner url must be a image url like: https://i.imgur.com/xxx.jpg 93 | If you don't want to use banner, leave it blank 94 | 95 | 96 | ## Convert Tags [option] 97 | Transfer the Obsidian tags to the Notion table. 98 | It requires the column with the name 'Tags'. 99 | ![](./doc/7.png) 100 | 101 | Add tags to your notion page 102 | 103 | ![](./doc/10.png) 104 | 105 | * open plugin convert tags 106 | 107 | ![](./doc/8.png) 108 | 109 | * add tags in the head 110 | 111 | ```markdown 112 | --- 113 | tags: [tag1,tag2] 114 | --- 115 | 116 | this is test tags 117 | 118 | ``` 119 | 120 | 121 | ```markdown 122 | --- 123 | tags: 124 | - tag4 125 | --- 126 | 127 | this is test tags 128 | 129 | ``` 130 | 131 | ![](./doc/9.png) 132 | 133 | Thanks for [@jannikbuscha](https://github.com/jannikbuscha) contribution 134 | 135 | 136 | ## Notion ID [option] 137 | Notion ID is the your notion site ID that you want to share the file to. 138 | if you don't write it, notion will share to the default link like: 139 | https://www.notion.so/myworkspace/a8aec43384f447ed84390 140 | that visit this page need to redirect to your site url 141 | if you write the Notion ID, it will share to the page link like: 142 | https://your_user_name.notion.site/myworkspace/a8aec43384f447ed84390. 143 | The visiter don't need to redirect url. 144 | 145 | 146 | 147 | ## Sync image to Notion 148 | 149 | To sync images to your oss or cos bucket, use the [Obsidian Image Auto Upload Plugin](https://github.com/renmu123/obsidian-image-auto-upload-plugin). 150 | 151 | 152 | 153 | # Development 154 | 155 | ``` 156 | git clone https://github.com/EasyChris/obsidian-to-notion.git 157 | yarn install 158 | yarn dev 159 | ``` 160 | 161 | ## Release 162 | 163 | ``` 164 | node update-version.js 165 | ./release.sh 166 | ``` 167 | ``` 168 | 169 | 170 | 171 | 172 | # Thanks 173 | [Development Process | Obsidian Plugin Development Documentation](https://luhaifeng666.github.io/obsidian-plugin-docs-zh/zh/getting-started/development-workflow.html) 174 | 175 | [GitHub - devbean/obsidian-wordpress: An obsidian plugin for publishing docs to WordPress.](https://github.com/devbean/obsidian-wordpress) 176 | 177 | [GitHub - obsidianmd/obsidian-api](https://github.com/obsidianmd/obsidian-api) 178 | 179 | [GitHub - Easychris/obsidian-to-notion: Obsidian Weread Plugin is an plugin to sync Weread(微信读书) hightlights and annotations into your Obsidian Vault.](https://github.dev/zhaohongxuan/obsidian-weread-plugin) 180 | 181 | [GitHub - Quorafind/Obsidian-Memos: A quick capture plugin for Obsidian, all data from your notes.](https://github.com/Quorafind/Obsidian-Memos) 182 | 183 | [https://github.com/jannikbuscha/obsidian-to-notion](https://github.com/jannikbuscha) 184 | 185 | # License 186 | GNU GPLv3 187 | -------------------------------------------------------------------------------- /Upload2Notion.ts: -------------------------------------------------------------------------------- 1 | import { Notice, requestUrl,TFile,normalizePath, App } from "obsidian"; 2 | import { Client } from "@notionhq/client"; 3 | import { markdownToBlocks, } from "@tryfabric/martian"; 4 | import * as yamlFrontMatter from "yaml-front-matter"; 5 | import * as yaml from "yaml" 6 | import MyPlugin from "main"; 7 | export class Upload2Notion { 8 | app: MyPlugin; 9 | notion: Client; 10 | agent: any; 11 | constructor(app: MyPlugin) { 12 | this.app = app; 13 | } 14 | 15 | async deletePage(notionID:string){ 16 | const response = await requestUrl({ 17 | url: `https://api.notion.com/v1/blocks/${notionID}`, 18 | method: 'DELETE', 19 | headers: { 20 | 'Content-Type': 'application/json', 21 | 'Authorization': 'Bearer ' + this.app.settings.notionAPI, 22 | 'Notion-Version': '2022-02-22', 23 | }, 24 | body: '' 25 | }) 26 | return response; 27 | } 28 | 29 | // 因为需要解析notion的block进行对比,非常的麻烦, 30 | // 暂时就直接删除,新建一个page 31 | async updatePage(notionID:string, title:string, allowTags:boolean, tags:string[], childArr:any) { 32 | await this.deletePage(notionID) 33 | const res = await this.createPage(title, allowTags, tags, childArr) 34 | return res 35 | } 36 | 37 | async createPage(title:string, allowTags:boolean, tags:string[], childArr: any) { 38 | const bodyString:any = { 39 | parent: { 40 | database_id: this.app.settings.databaseID 41 | }, 42 | properties: { 43 | Name: { 44 | title: [ 45 | { 46 | text: { 47 | content: title, 48 | }, 49 | }, 50 | ], 51 | }, 52 | Tags: { 53 | multi_select: allowTags && tags !== undefined ? tags.map(tag => { 54 | return {"name": tag} 55 | }) : [], 56 | }, 57 | }, 58 | children: childArr, 59 | } 60 | 61 | if(this.app.settings.bannerUrl) { 62 | bodyString.cover = { 63 | type: "external", 64 | external: { 65 | url: this.app.settings.bannerUrl 66 | } 67 | } 68 | } 69 | 70 | try { 71 | const response = await requestUrl({ 72 | url: `https://api.notion.com/v1/pages`, 73 | method: 'POST', 74 | headers: { 75 | 'Content-Type': 'application/json', 76 | // 'User-Agent': 'obsidian.md', 77 | 'Authorization': 'Bearer ' + this.app.settings.notionAPI, 78 | 'Notion-Version': '2021-08-16', 79 | }, 80 | body: JSON.stringify(bodyString), 81 | }) 82 | return response; 83 | } catch (error) { 84 | new Notice(`network error ${error}`) 85 | } 86 | } 87 | 88 | async syncMarkdownToNotion(title:string, allowTags:boolean, tags:string[], markdown: string, nowFile: TFile, app:App, settings:any): Promise { 89 | let res:any 90 | const yamlObj:any = yamlFrontMatter.loadFront(markdown); 91 | const __content = yamlObj.__content 92 | const file2Block = markdownToBlocks(__content); 93 | const frontmasster =await app.metadataCache.getFileCache(nowFile)?.frontmatter 94 | const notionID = frontmasster ? frontmasster.notionID : null 95 | 96 | if(notionID){ 97 | res = await this.updatePage(notionID, title, allowTags, tags, file2Block); 98 | } else { 99 | res = await this.createPage(title, allowTags, tags, file2Block); 100 | } 101 | if (res.status === 200) { 102 | await this.updateYamlInfo(markdown, nowFile, res, app, settings) 103 | } else { 104 | new Notice(`${res.text}`) 105 | } 106 | return res 107 | } 108 | 109 | async updateYamlInfo(yamlContent: string, nowFile: TFile, res: any,app:App, settings:any) { 110 | const yamlObj:any = yamlFrontMatter.loadFront(yamlContent); 111 | let {url, id} = res.json 112 | // replace www to notionID 113 | const {notionID} = settings; 114 | if(notionID!=="") { 115 | // replace url str "www" to notionID 116 | url = url.replace("www.notion.so", `${notionID}.notion.site`) 117 | } 118 | yamlObj.link = url; 119 | try { 120 | await navigator.clipboard.writeText(url) 121 | } catch (error) { 122 | new Notice(`复制链接失败,请手动复制${error}`) 123 | } 124 | yamlObj.notionID = id; 125 | const __content = yamlObj.__content; 126 | delete yamlObj.__content 127 | const yamlhead = yaml.stringify(yamlObj) 128 | // if yamlhead hava last \n remove it 129 | const yamlhead_remove_n = yamlhead.replace(/\n$/, '') 130 | // if __content have start \n remove it 131 | const __content_remove_n = __content.replace(/^\n/, '') 132 | const content = '---\n' +yamlhead_remove_n +'\n---\n' + __content_remove_n; 133 | try { 134 | await nowFile.vault.modify(nowFile, content) 135 | } catch (error) { 136 | new Notice(`write file error ${error}`) 137 | } 138 | } 139 | } 140 | -------------------------------------------------------------------------------- /doc/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyChris/obsidian-to-notion/f3e3ccdeb1833114f00fab19446fb8aefaff7a39/doc/1.gif -------------------------------------------------------------------------------- /doc/10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyChris/obsidian-to-notion/f3e3ccdeb1833114f00fab19446fb8aefaff7a39/doc/10.png -------------------------------------------------------------------------------- /doc/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyChris/obsidian-to-notion/f3e3ccdeb1833114f00fab19446fb8aefaff7a39/doc/2.png -------------------------------------------------------------------------------- /doc/3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyChris/obsidian-to-notion/f3e3ccdeb1833114f00fab19446fb8aefaff7a39/doc/3.gif -------------------------------------------------------------------------------- /doc/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyChris/obsidian-to-notion/f3e3ccdeb1833114f00fab19446fb8aefaff7a39/doc/4.png -------------------------------------------------------------------------------- /doc/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyChris/obsidian-to-notion/f3e3ccdeb1833114f00fab19446fb8aefaff7a39/doc/5.png -------------------------------------------------------------------------------- /doc/6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyChris/obsidian-to-notion/f3e3ccdeb1833114f00fab19446fb8aefaff7a39/doc/6.gif -------------------------------------------------------------------------------- /doc/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyChris/obsidian-to-notion/f3e3ccdeb1833114f00fab19446fb8aefaff7a39/doc/7.png -------------------------------------------------------------------------------- /doc/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyChris/obsidian-to-notion/f3e3ccdeb1833114f00fab19446fb8aefaff7a39/doc/8.png -------------------------------------------------------------------------------- /doc/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyChris/obsidian-to-notion/f3e3ccdeb1833114f00fab19446fb8aefaff7a39/doc/9.png -------------------------------------------------------------------------------- /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: ['main.ts'], 19 | bundle: true, 20 | external: [ 21 | 'obsidian', 22 | 'electron', 23 | '@codemirror/autocomplete', 24 | '@codemirror/closebrackets', 25 | '@codemirror/collab', 26 | '@codemirror/commands', 27 | '@codemirror/comment', 28 | '@codemirror/fold', 29 | '@codemirror/gutter', 30 | '@codemirror/highlight', 31 | '@codemirror/history', 32 | '@codemirror/language', 33 | '@codemirror/lint', 34 | '@codemirror/matchbrackets', 35 | '@codemirror/panel', 36 | '@codemirror/rangeset', 37 | '@codemirror/rectangular-selection', 38 | '@codemirror/search', 39 | '@codemirror/state', 40 | '@codemirror/stream-parser', 41 | '@codemirror/text', 42 | '@codemirror/tooltip', 43 | '@codemirror/view', 44 | ...builtins], 45 | format: 'cjs', 46 | watch: !prod, 47 | target: 'es2016', 48 | logLevel: "info", 49 | sourcemap: prod ? false : 'inline', 50 | treeShaking: true, 51 | outfile: 'main.js', 52 | }).catch(() => process.exit(1)); 53 | -------------------------------------------------------------------------------- /icon.ts: -------------------------------------------------------------------------------- 1 | import { addIcon } from 'obsidian'; 2 | 3 | const icons: Record = { 4 | 'notion-logo': ` 5 | 6 | 7 | 8 | 9 | 10 | ` 11 | }; 12 | 13 | export const addIcons = (): void => { 14 | Object.keys(icons).forEach((key) => { 15 | addIcon(key, icons[key]); 16 | }); 17 | }; 18 | -------------------------------------------------------------------------------- /main.ts: -------------------------------------------------------------------------------- 1 | import { 2 | App, 3 | Editor, 4 | MarkdownView, 5 | Modal, 6 | Notice, 7 | Plugin, 8 | PluginSettingTab, 9 | Setting, 10 | normalizePath 11 | } from "obsidian"; 12 | import {addIcons} from 'icon'; 13 | import { Upload2Notion } from "Upload2Notion"; 14 | import {NoticeMConfig} from "Message"; 15 | import { CLIENT_RENEG_LIMIT } from "tls"; 16 | 17 | 18 | // Remember to rename these classes and interfaces! 19 | 20 | interface PluginSettings { 21 | notionAPI: string; 22 | databaseID: string; 23 | bannerUrl: string; 24 | notionID: string; 25 | proxy: string; 26 | allowTags: boolean; 27 | } 28 | 29 | const langConfig = NoticeMConfig( window.localStorage.getItem('language') || 'en') 30 | 31 | const DEFAULT_SETTINGS: PluginSettings = { 32 | notionAPI: "", 33 | databaseID: "", 34 | bannerUrl: "", 35 | notionID: "", 36 | proxy: "", 37 | allowTags: false 38 | }; 39 | 40 | export default class ObsidianSyncNotionPlugin extends Plugin { 41 | settings: PluginSettings; 42 | async onload() { 43 | await this.loadSettings(); 44 | addIcons(); 45 | // This creates an icon in the left ribbon. 46 | const ribbonIconEl = this.addRibbonIcon( 47 | "notion-logo", 48 | "Share to notion", 49 | async (evt: MouseEvent) => { 50 | // Called when the user clicks the icon. 51 | this.upload(); 52 | } 53 | ); 54 | 55 | // This adds a status bar item to the bottom of the app. Does not work on mobile apps. 56 | const statusBarItemEl = this.addStatusBarItem(); 57 | // statusBarItemEl.setText("share to notion"); 58 | 59 | this.addCommand({ 60 | id: "share-to-notion", 61 | name: "share to notion", 62 | editorCallback: async (editor: Editor, view: MarkdownView) => { 63 | this.upload() 64 | }, 65 | }); 66 | 67 | 68 | // This adds a settings tab so the user can configure various aspects of the plugin 69 | this.addSettingTab(new SampleSettingTab(this.app, this)); 70 | 71 | } 72 | 73 | onunload() {} 74 | 75 | async upload(){ 76 | const { notionAPI, databaseID, allowTags } = this.settings; 77 | if (notionAPI === "" || databaseID === "") { 78 | new Notice( 79 | "Please set up the notion API and database ID in the settings tab." 80 | ); 81 | return; 82 | } 83 | const { markDownData, nowFile, tags } =await this.getNowFileMarkdownContent(this.app); 84 | 85 | 86 | if (markDownData) { 87 | const { basename } = nowFile; 88 | const upload = new Upload2Notion(this); 89 | const res = await upload.syncMarkdownToNotion(basename, allowTags, tags, markDownData, nowFile, this.app, this.settings) 90 | if(res.status === 200){ 91 | new Notice(`${langConfig["sync-success"]}${basename}`) 92 | }else { 93 | new Notice(`${langConfig["sync-fail"]}${basename}`, 5000) 94 | } 95 | } 96 | } 97 | 98 | async getNowFileMarkdownContent(app: App) { 99 | const nowFile = app.workspace.getActiveFile(); 100 | const { allowTags } = this.settings; 101 | let tags = [] 102 | try { 103 | if(allowTags) { 104 | tags = app.metadataCache.getFileCache(nowFile).frontmatter.tags; 105 | } 106 | } catch (error) { 107 | new Notice(langConfig["set-tags-fail"]); 108 | } 109 | if (nowFile) { 110 | const markDownData = await nowFile.vault.read(nowFile); 111 | return { 112 | markDownData, 113 | nowFile, 114 | tags 115 | }; 116 | } else { 117 | new Notice(langConfig["open-file"]); 118 | return; 119 | } 120 | } 121 | 122 | async loadSettings() { 123 | this.settings = Object.assign( 124 | {}, 125 | DEFAULT_SETTINGS, 126 | await this.loadData() 127 | ); 128 | } 129 | 130 | async saveSettings() { 131 | await this.saveData(this.settings); 132 | } 133 | } 134 | 135 | class SampleSettingTab extends PluginSettingTab { 136 | plugin: ObsidianSyncNotionPlugin; 137 | 138 | constructor(app: App, plugin: ObsidianSyncNotionPlugin) { 139 | super(app, plugin); 140 | this.plugin = plugin; 141 | } 142 | 143 | display(): void { 144 | const { containerEl } = this; 145 | 146 | containerEl.empty(); 147 | 148 | containerEl.createEl("h2", { 149 | text: "Settings for obsidian to notion plugin.", 150 | }); 151 | 152 | new Setting(containerEl) 153 | .setName("Notion API Token") 154 | .setDesc("It's a secret") 155 | .addText((text) =>{ 156 | let t = text 157 | .setPlaceholder("Enter your Notion API Token") 158 | .setValue(this.plugin.settings.notionAPI) 159 | .onChange(async (value) => { 160 | this.plugin.settings.notionAPI = value; 161 | await this.plugin.saveSettings(); 162 | }) 163 | // t.inputEl.type = 'password' 164 | return t 165 | }); 166 | 167 | 168 | const notionDatabaseID = new Setting(containerEl) 169 | .setName("Database ID") 170 | .setDesc("It's a secret") 171 | .addText((text) => { 172 | let t = text 173 | .setPlaceholder("Enter your Database ID") 174 | .setValue(this.plugin.settings.databaseID) 175 | .onChange(async (value) => { 176 | this.plugin.settings.databaseID = value; 177 | await this.plugin.saveSettings(); 178 | }) 179 | // t.inputEl.type = 'password' 180 | return t 181 | } 182 | 183 | ); 184 | 185 | // notionDatabaseID.controlEl.querySelector('input').type='password' 186 | 187 | new Setting(containerEl) 188 | .setName("Banner url(optional)") 189 | .setDesc("page banner url(optional), default is empty, if you want to show a banner, please enter the url(like:https://raw.githubusercontent.com/EasyChris/obsidian-to-notion/ae7a9ac6cf427f3ca338a409ce6967ced9506f12/doc/2.png)") 190 | .addText((text) => 191 | text 192 | .setPlaceholder("Enter banner pic url: ") 193 | .setValue(this.plugin.settings.bannerUrl) 194 | .onChange(async (value) => { 195 | this.plugin.settings.bannerUrl = value; 196 | await this.plugin.saveSettings(); 197 | }) 198 | ); 199 | 200 | 201 | new Setting(containerEl) 202 | .setName("Notion ID(optional)") 203 | .setDesc("Your notion ID(optional),share link likes:https://username.notion.site/,your notion id is [username]") 204 | .addText((text) => 205 | text 206 | .setPlaceholder("Enter notion ID(options) ") 207 | .setValue(this.plugin.settings.notionID) 208 | .onChange(async (value) => { 209 | this.plugin.settings.notionID = value; 210 | await this.plugin.saveSettings(); 211 | }) 212 | ); 213 | 214 | 215 | new Setting(containerEl) 216 | .setName("Convert tags(optional)") 217 | .setDesc("Transfer the Obsidian tags to the Notion table. It requires the column with the name 'Tags'") 218 | .addToggle((toggle) => 219 | toggle 220 | .setValue(this.plugin.settings.allowTags) 221 | .onChange(async (value) => { 222 | this.plugin.settings.allowTags = value; 223 | await this.plugin.saveSettings(); 224 | }) 225 | ); 226 | 227 | } 228 | } 229 | -------------------------------------------------------------------------------- /manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "obsidian-to-notion", 3 | "name": "Obsidian shared to Notion", 4 | "version": "0.7.6", 5 | "minAppVersion": "0.0.1", 6 | "description": "This is a plugin for Obsidian. This plugin share obsidian md file to notion with notion api", 7 | "author": "Easychris", 8 | "authorUrl": "https://github.com/EasyChris/obsidian-to-notion", 9 | "isDesktopOnly": false 10 | } -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "obsidian-to-notion", 3 | "version": "0.7.6", 4 | "type": "module", 5 | "description": "This is a plugin for Obsidian. This plugin share obsidian md file to notion with notion api", 6 | "main": "main.js", 7 | "scripts": { 8 | "dev": "node esbuild.config.mjs", 9 | "build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production", 10 | "version": "node version-bump.mjs && git add manifest.json versions.json" 11 | }, 12 | "keywords": [], 13 | "author": "", 14 | "license": "GNU GPLv3", 15 | "devDependencies": { 16 | "@types/node": "^17.0.35", 17 | "@types/yaml-front-matter": "^4.1.0", 18 | "@typescript-eslint/eslint-plugin": "^5.2.0", 19 | "@typescript-eslint/parser": "^5.2.0", 20 | "builtin-modules": "^3.2.0", 21 | "esbuild": "0.13.12", 22 | "obsidian": "latest", 23 | "tslib": "2.3.1", 24 | "typescript": "4.4.4" 25 | }, 26 | "dependencies": { 27 | "@tryfabric/martian": "^1.2.0", 28 | "https-proxy-agent": "^5.0.1", 29 | "yaml": "^2.1.0", 30 | "yaml-front-matter": "^4.1.1" 31 | } 32 | } -------------------------------------------------------------------------------- /release.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | node update-version.js $1 3 | git add . 4 | git commit -m "Update version to $1" 5 | git tag -a $1 -m $1 6 | git push origin $1 -------------------------------------------------------------------------------- /styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyChris/obsidian-to-notion/f3e3ccdeb1833114f00fab19446fb8aefaff7a39/styles.css -------------------------------------------------------------------------------- /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 | , "Upload2Notion.ts" ] 22 | } 23 | -------------------------------------------------------------------------------- /update-version.js: -------------------------------------------------------------------------------- 1 | // update package.json version 2 | import fs from 'fs'; 3 | 4 | const packageJson = JSON.parse(fs.readFileSync('./package.json', 'utf8')); 5 | 6 | console.log(packageJson.version); 7 | 8 | 9 | // get node args 10 | const args = process.argv.slice(2); 11 | 12 | packageJson.version = args[0]; 13 | 14 | console.log(packageJson.version); 15 | 16 | 17 | // write package.json 18 | fs.writeFileSync('./package.json', JSON.stringify(packageJson, null, 2)); 19 | 20 | // read manifest.json 21 | const manifestJson = JSON.parse(fs.readFileSync('./manifest.json', 'utf8')); 22 | 23 | manifestJson.version = args[0]; 24 | 25 | // write manifest.json 26 | fs.writeFileSync('./manifest.json', JSON.stringify(manifestJson, null, 2)); -------------------------------------------------------------------------------- /version-bump.mjs: -------------------------------------------------------------------------------- 1 | import { readFileSync, writeFileSync } from "fs"; 2 | 3 | const targetVersion = process.env.npm_package_version; 4 | 5 | // read minAppVersion from manifest.json and bump version to target version 6 | let manifest = JSON.parse(readFileSync("manifest.json", "utf8")); 7 | const { minAppVersion } = manifest; 8 | manifest.version = targetVersion; 9 | writeFileSync("manifest.json", JSON.stringify(manifest, null, "\t")); 10 | 11 | // update versions.json with target version and minAppVersion from manifest.json 12 | let versions = JSON.parse(readFileSync("versions.json", "utf8")); 13 | versions[targetVersion] = minAppVersion; 14 | writeFileSync("versions.json", JSON.stringify(versions, null, "\t")); 15 | -------------------------------------------------------------------------------- /versions.json: -------------------------------------------------------------------------------- 1 | { 2 | "1.0.0": "0.9.7", 3 | "1.0.1": "0.12.0" 4 | } 5 | -------------------------------------------------------------------------------- /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 | "integrity" "sha512-V8YUuOvK+ew87Xem+71nKcqu1SXd5QROMRLMS/ljT5/3MCxtgrRie1Cvild0G/Z2f1fpWxzX78V0U4jjXBorBQ==" 7 | "resolved" "https://registry.npmmirror.com/@codemirror/rangeset/-/rangeset-0.19.9.tgz" 8 | "version" "0.19.9" 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 | "integrity" "sha512-psOzDolKTZkx4CgUqhBQ8T8gBc0xN5z4gzed109aF6x7D7umpDRoimacI/O6d9UGuyl4eYuDCZmDFr2Rq7aGOw==" 14 | "resolved" "https://registry.npmmirror.com/@codemirror/state/-/state-0.19.9.tgz" 15 | "version" "0.19.9" 16 | dependencies: 17 | "@codemirror/text" "^0.19.0" 18 | 19 | "@codemirror/text@^0.19.0": 20 | "integrity" "sha512-T9jnREMIygx+TPC1bOuepz18maGq/92q2a+n4qTqObKwvNMg+8cMTslb8yxeEDEq7S3kpgGWxgO1UWbQRij0dA==" 21 | "resolved" "https://registry.npmmirror.com/@codemirror/text/-/text-0.19.6.tgz" 22 | "version" "0.19.6" 23 | 24 | "@codemirror/view@^0.19.31": 25 | "integrity" "sha512-0eg7D2Nz4S8/caetCTz61rK0tkHI17V/d15Jy0kLOT8dTLGGNJUponDnW28h2B6bERmPlVHKh8MJIr5OCp1nGw==" 26 | "resolved" "https://registry.npmmirror.com/@codemirror/view/-/view-0.19.48.tgz" 27 | "version" "0.19.48" 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 | "@nodelib/fs.scandir@2.1.5": 36 | "integrity" "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==" 37 | "resolved" "https://registry.npmmirror.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz" 38 | "version" "2.1.5" 39 | dependencies: 40 | "@nodelib/fs.stat" "2.0.5" 41 | "run-parallel" "^1.1.9" 42 | 43 | "@nodelib/fs.stat@^2.0.2", "@nodelib/fs.stat@2.0.5": 44 | "integrity" "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==" 45 | "resolved" "https://registry.npmmirror.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz" 46 | "version" "2.0.5" 47 | 48 | "@nodelib/fs.walk@^1.2.3": 49 | "integrity" "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==" 50 | "resolved" "https://registry.npmmirror.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz" 51 | "version" "1.2.8" 52 | dependencies: 53 | "@nodelib/fs.scandir" "2.1.5" 54 | "fastq" "^1.6.0" 55 | 56 | "@notionhq/client@^1.0.4": 57 | "integrity" "sha512-m7zZ5l3RUktayf1lRBV1XMb8HSKsmWTv/LZPqP7UGC1NMzOlc+bbTOPNQ4CP/c1P4cP61VWLb/zBq7a3c0nMaw==" 58 | "resolved" "https://registry.npmmirror.com/@notionhq/client/-/client-1.0.4.tgz" 59 | "version" "1.0.4" 60 | dependencies: 61 | "@types/node-fetch" "^2.5.10" 62 | "node-fetch" "^2.6.1" 63 | 64 | "@tryfabric/martian@^1.2.0": 65 | "integrity" "sha512-q3grnGgwfujNZelpK6uMswObYKSy1dY+yKypgjl7EPxpSvSHlJb1f0gIfghGUWf1gVxZfHfSZDe+k9KCzaLbwQ==" 66 | "resolved" "https://registry.npmmirror.com/@tryfabric/martian/-/martian-1.2.0.tgz" 67 | "version" "1.2.0" 68 | dependencies: 69 | "@notionhq/client" "^1.0.4" 70 | "remark-gfm" "^1.0.0" 71 | "remark-parse" "^9.0.0" 72 | "unified" "^9.2.1" 73 | 74 | "@types/codemirror@0.0.108": 75 | "integrity" "sha512-3FGFcus0P7C2UOGCNUVENqObEb4SFk+S8Dnxq7K6aIsLVs/vDtlangl3PEO0ykaKXyK56swVF6Nho7VsA44uhw==" 76 | "resolved" "https://registry.npmmirror.com/@types/codemirror/-/codemirror-0.0.108.tgz" 77 | "version" "0.0.108" 78 | dependencies: 79 | "@types/tern" "*" 80 | 81 | "@types/estree@*": 82 | "integrity" "sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ==" 83 | "resolved" "https://registry.npmmirror.com/@types/estree/-/estree-0.0.51.tgz" 84 | "version" "0.0.51" 85 | 86 | "@types/js-yaml@*": 87 | "integrity" "sha512-FhpRzf927MNQdRZP0J5DLIdTXhjLYzeUTmLAu69mnVksLH9CJY3IuSeEgbKUki7GQZm0WqDkGzyxju2EZGD2wA==" 88 | "resolved" "https://registry.npmmirror.com/@types/js-yaml/-/js-yaml-4.0.5.tgz" 89 | "version" "4.0.5" 90 | 91 | "@types/json-schema@^7.0.9": 92 | "integrity" "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==" 93 | "resolved" "https://registry.npmmirror.com/@types/json-schema/-/json-schema-7.0.11.tgz" 94 | "version" "7.0.11" 95 | 96 | "@types/mdast@^3.0.0": 97 | "integrity" "sha512-W864tg/Osz1+9f4lrGTZpCSO5/z4608eUp19tbozkq2HJK6i3z1kT0H9tlADXuYIb1YYOBByU4Jsqkk75q48qA==" 98 | "resolved" "https://registry.npmmirror.com/@types/mdast/-/mdast-3.0.10.tgz" 99 | "version" "3.0.10" 100 | dependencies: 101 | "@types/unist" "*" 102 | 103 | "@types/node-fetch@^2.5.10": 104 | "integrity" "sha512-oMqjURCaxoSIsHSr1E47QHzbmzNR5rK8McHuNb11BOM9cHcIK3Avy0s/b2JlXHoQGTYS3NsvWzV1M0iK7l0wbA==" 105 | "resolved" "https://registry.npmmirror.com/@types/node-fetch/-/node-fetch-2.6.1.tgz" 106 | "version" "2.6.1" 107 | dependencies: 108 | "@types/node" "*" 109 | "form-data" "^3.0.0" 110 | 111 | "@types/node@*", "@types/node@^17.0.35": 112 | "integrity" "sha512-vu1SrqBjbbZ3J6vwY17jBs8Sr/BKA+/a/WtjRG+whKg1iuLFOosq872EXS0eXWILdO36DHQQeku/ZcL6hz2fpg==" 113 | "resolved" "https://registry.npmmirror.com/@types/node/-/node-17.0.35.tgz" 114 | "version" "17.0.35" 115 | 116 | "@types/tern@*": 117 | "integrity" "sha512-JAUw1iXGO1qaWwEOzxTKJZ/5JxVeON9kvGZ/osgZaJImBnyjyn0cjovPsf6FNLmyGY8Vw9DoXZCMlfMkMwHRWg==" 118 | "resolved" "https://registry.npmmirror.com/@types/tern/-/tern-0.23.4.tgz" 119 | "version" "0.23.4" 120 | dependencies: 121 | "@types/estree" "*" 122 | 123 | "@types/unist@*", "@types/unist@^2.0.0", "@types/unist@^2.0.2": 124 | "integrity" "sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==" 125 | "resolved" "https://registry.npmmirror.com/@types/unist/-/unist-2.0.6.tgz" 126 | "version" "2.0.6" 127 | 128 | "@types/yaml-front-matter@^4.1.0": 129 | "integrity" "sha512-d4YGe2onl1T4VA6QhT4agdxaStOBe/ig9RAFAT1OltytvO2z9Ro69DiwHD2FUwewcjeD9PWEfUeZhw7E9hApcQ==" 130 | "resolved" "https://registry.npmmirror.com/@types/yaml-front-matter/-/yaml-front-matter-4.1.0.tgz" 131 | "version" "4.1.0" 132 | dependencies: 133 | "@types/js-yaml" "*" 134 | "@types/node" "*" 135 | 136 | "@typescript-eslint/eslint-plugin@^5.2.0": 137 | "integrity" "sha512-icYrFnUzvm+LhW0QeJNKkezBu6tJs9p/53dpPLFH8zoM9w1tfaKzVurkPotEpAqQ8Vf8uaFyL5jHd0Vs6Z0ZQg==" 138 | "resolved" "https://registry.npmmirror.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.25.0.tgz" 139 | "version" "5.25.0" 140 | dependencies: 141 | "@typescript-eslint/scope-manager" "5.25.0" 142 | "@typescript-eslint/type-utils" "5.25.0" 143 | "@typescript-eslint/utils" "5.25.0" 144 | "debug" "^4.3.4" 145 | "functional-red-black-tree" "^1.0.1" 146 | "ignore" "^5.2.0" 147 | "regexpp" "^3.2.0" 148 | "semver" "^7.3.7" 149 | "tsutils" "^3.21.0" 150 | 151 | "@typescript-eslint/parser@^5.0.0", "@typescript-eslint/parser@^5.2.0": 152 | "integrity" "sha512-r3hwrOWYbNKP1nTcIw/aZoH+8bBnh/Lh1iDHoFpyG4DnCpvEdctrSl6LOo19fZbzypjQMHdajolxs6VpYoChgA==" 153 | "resolved" "https://registry.npmmirror.com/@typescript-eslint/parser/-/parser-5.25.0.tgz" 154 | "version" "5.25.0" 155 | dependencies: 156 | "@typescript-eslint/scope-manager" "5.25.0" 157 | "@typescript-eslint/types" "5.25.0" 158 | "@typescript-eslint/typescript-estree" "5.25.0" 159 | "debug" "^4.3.4" 160 | 161 | "@typescript-eslint/scope-manager@5.25.0": 162 | "integrity" "sha512-p4SKTFWj+2VpreUZ5xMQsBMDdQ9XdRvODKXN4EksyBjFp2YvQdLkyHqOffakYZPuWJUDNu3jVXtHALDyTv3cww==" 163 | "resolved" "https://registry.npmmirror.com/@typescript-eslint/scope-manager/-/scope-manager-5.25.0.tgz" 164 | "version" "5.25.0" 165 | dependencies: 166 | "@typescript-eslint/types" "5.25.0" 167 | "@typescript-eslint/visitor-keys" "5.25.0" 168 | 169 | "@typescript-eslint/type-utils@5.25.0": 170 | "integrity" "sha512-B6nb3GK3Gv1Rsb2pqalebe/RyQoyG/WDy9yhj8EE0Ikds4Xa8RR28nHz+wlt4tMZk5bnAr0f3oC8TuDAd5CPrw==" 171 | "resolved" "https://registry.npmmirror.com/@typescript-eslint/type-utils/-/type-utils-5.25.0.tgz" 172 | "version" "5.25.0" 173 | dependencies: 174 | "@typescript-eslint/utils" "5.25.0" 175 | "debug" "^4.3.4" 176 | "tsutils" "^3.21.0" 177 | 178 | "@typescript-eslint/types@5.25.0": 179 | "integrity" "sha512-7fWqfxr0KNHj75PFqlGX24gWjdV/FDBABXL5dyvBOWHpACGyveok8Uj4ipPX/1fGU63fBkzSIycEje4XsOxUFA==" 180 | "resolved" "https://registry.npmmirror.com/@typescript-eslint/types/-/types-5.25.0.tgz" 181 | "version" "5.25.0" 182 | 183 | "@typescript-eslint/typescript-estree@5.25.0": 184 | "integrity" "sha512-MrPODKDych/oWs/71LCnuO7NyR681HuBly2uLnX3r5i4ME7q/yBqC4hW33kmxtuauLTM0OuBOhhkFaxCCOjEEw==" 185 | "resolved" "https://registry.npmmirror.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.25.0.tgz" 186 | "version" "5.25.0" 187 | dependencies: 188 | "@typescript-eslint/types" "5.25.0" 189 | "@typescript-eslint/visitor-keys" "5.25.0" 190 | "debug" "^4.3.4" 191 | "globby" "^11.1.0" 192 | "is-glob" "^4.0.3" 193 | "semver" "^7.3.7" 194 | "tsutils" "^3.21.0" 195 | 196 | "@typescript-eslint/utils@5.25.0": 197 | "integrity" "sha512-qNC9bhnz/n9Kba3yI6HQgQdBLuxDoMgdjzdhSInZh6NaDnFpTUlwNGxplUFWfY260Ya0TRPvkg9dd57qxrJI9g==" 198 | "resolved" "https://registry.npmmirror.com/@typescript-eslint/utils/-/utils-5.25.0.tgz" 199 | "version" "5.25.0" 200 | dependencies: 201 | "@types/json-schema" "^7.0.9" 202 | "@typescript-eslint/scope-manager" "5.25.0" 203 | "@typescript-eslint/types" "5.25.0" 204 | "@typescript-eslint/typescript-estree" "5.25.0" 205 | "eslint-scope" "^5.1.1" 206 | "eslint-utils" "^3.0.0" 207 | 208 | "@typescript-eslint/visitor-keys@5.25.0": 209 | "integrity" "sha512-yd26vFgMsC4h2dgX4+LR+GeicSKIfUvZREFLf3DDjZPtqgLx5AJZr6TetMNwFP9hcKreTTeztQYBTNbNoOycwA==" 210 | "resolved" "https://registry.npmmirror.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.25.0.tgz" 211 | "version" "5.25.0" 212 | dependencies: 213 | "@typescript-eslint/types" "5.25.0" 214 | "eslint-visitor-keys" "^3.3.0" 215 | 216 | "agent-base@6": 217 | "integrity" "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==" 218 | "resolved" "https://registry.npmmirror.com/agent-base/-/agent-base-6.0.2.tgz" 219 | "version" "6.0.2" 220 | dependencies: 221 | "debug" "4" 222 | 223 | "argparse@^1.0.7": 224 | "integrity" "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==" 225 | "resolved" "https://registry.npmmirror.com/argparse/-/argparse-1.0.10.tgz" 226 | "version" "1.0.10" 227 | dependencies: 228 | "sprintf-js" "~1.0.2" 229 | 230 | "array-union@^2.1.0": 231 | "integrity" "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==" 232 | "resolved" "https://registry.npmmirror.com/array-union/-/array-union-2.1.0.tgz" 233 | "version" "2.1.0" 234 | 235 | "asynckit@^0.4.0": 236 | "integrity" "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" 237 | "resolved" "https://registry.npmmirror.com/asynckit/-/asynckit-0.4.0.tgz" 238 | "version" "0.4.0" 239 | 240 | "bail@^1.0.0": 241 | "integrity" "sha512-xFbRxM1tahm08yHBP16MMjVUAvDaBMD38zsM9EMAUN61omwLmKlOpB/Zku5QkjZ8TZ4vn53pj+t518cH0S03RQ==" 242 | "resolved" "https://registry.npmmirror.com/bail/-/bail-1.0.5.tgz" 243 | "version" "1.0.5" 244 | 245 | "braces@^3.0.2": 246 | "integrity" "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==" 247 | "resolved" "https://registry.npmmirror.com/braces/-/braces-3.0.2.tgz" 248 | "version" "3.0.2" 249 | dependencies: 250 | "fill-range" "^7.0.1" 251 | 252 | "builtin-modules@^3.2.0": 253 | "integrity" "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==" 254 | "resolved" "https://registry.npmmirror.com/builtin-modules/-/builtin-modules-3.3.0.tgz" 255 | "version" "3.3.0" 256 | 257 | "ccount@^1.0.0": 258 | "integrity" "sha512-vlNK021QdI7PNeiUh/lKkC/mNHHfV0m/Ad5JoI0TYtlBnJAslM/JIkm/tGC88bkLIwO6OQ5uV6ztS6kVAtCDlg==" 259 | "resolved" "https://registry.npmmirror.com/ccount/-/ccount-1.1.0.tgz" 260 | "version" "1.1.0" 261 | 262 | "character-entities-legacy@^1.0.0": 263 | "integrity" "sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==" 264 | "resolved" "https://registry.npmmirror.com/character-entities-legacy/-/character-entities-legacy-1.1.4.tgz" 265 | "version" "1.1.4" 266 | 267 | "character-entities@^1.0.0": 268 | "integrity" "sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==" 269 | "resolved" "https://registry.npmmirror.com/character-entities/-/character-entities-1.2.4.tgz" 270 | "version" "1.2.4" 271 | 272 | "character-reference-invalid@^1.0.0": 273 | "integrity" "sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==" 274 | "resolved" "https://registry.npmmirror.com/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz" 275 | "version" "1.1.4" 276 | 277 | "combined-stream@^1.0.8": 278 | "integrity" "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==" 279 | "resolved" "https://registry.npmmirror.com/combined-stream/-/combined-stream-1.0.8.tgz" 280 | "version" "1.0.8" 281 | dependencies: 282 | "delayed-stream" "~1.0.0" 283 | 284 | "commander@^6.2.0": 285 | "integrity" "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==" 286 | "resolved" "https://registry.npmmirror.com/commander/-/commander-6.2.1.tgz" 287 | "version" "6.2.1" 288 | 289 | "debug@^4.0.0", "debug@^4.3.4", "debug@4": 290 | "integrity" "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==" 291 | "resolved" "https://registry.npmmirror.com/debug/-/debug-4.3.4.tgz" 292 | "version" "4.3.4" 293 | dependencies: 294 | "ms" "2.1.2" 295 | 296 | "delayed-stream@~1.0.0": 297 | "integrity" "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==" 298 | "resolved" "https://registry.npmmirror.com/delayed-stream/-/delayed-stream-1.0.0.tgz" 299 | "version" "1.0.0" 300 | 301 | "dir-glob@^3.0.1": 302 | "integrity" "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==" 303 | "resolved" "https://registry.npmmirror.com/dir-glob/-/dir-glob-3.0.1.tgz" 304 | "version" "3.0.1" 305 | dependencies: 306 | "path-type" "^4.0.0" 307 | 308 | "encoding@^0.1.0": 309 | "integrity" "sha512-bl1LAgiQc4ZWr++pNYUdRe/alecaHFeHxIJ/pNciqGdKXghaTCOwKkbKp6ye7pKZGu/GcaSXFk8PBVhgs+dJdA==" 310 | "resolved" "https://registry.npmmirror.com/encoding/-/encoding-0.1.12.tgz" 311 | "version" "0.1.12" 312 | dependencies: 313 | "iconv-lite" "~0.4.13" 314 | 315 | "esbuild-darwin-64@0.13.12": 316 | "integrity" "sha512-c51C+N+UHySoV2lgfWSwwmlnLnL0JWj/LzuZt9Ltk9ub1s2Y8cr6SQV5W3mqVH1egUceew6KZ8GyI4nwu+fhsw==" 317 | "resolved" "https://registry.npmmirror.com/esbuild-darwin-64/-/esbuild-darwin-64-0.13.12.tgz" 318 | "version" "0.13.12" 319 | 320 | "esbuild@0.13.12": 321 | "integrity" "sha512-vTKKUt+yoz61U/BbrnmlG9XIjwpdIxmHB8DlPR0AAW6OdS+nBQBci6LUHU2q9WbBobMEIQxxDpKbkmOGYvxsow==" 322 | "resolved" "https://registry.npmmirror.com/esbuild/-/esbuild-0.13.12.tgz" 323 | "version" "0.13.12" 324 | optionalDependencies: 325 | "esbuild-android-arm64" "0.13.12" 326 | "esbuild-darwin-64" "0.13.12" 327 | "esbuild-darwin-arm64" "0.13.12" 328 | "esbuild-freebsd-64" "0.13.12" 329 | "esbuild-freebsd-arm64" "0.13.12" 330 | "esbuild-linux-32" "0.13.12" 331 | "esbuild-linux-64" "0.13.12" 332 | "esbuild-linux-arm" "0.13.12" 333 | "esbuild-linux-arm64" "0.13.12" 334 | "esbuild-linux-mips64le" "0.13.12" 335 | "esbuild-linux-ppc64le" "0.13.12" 336 | "esbuild-netbsd-64" "0.13.12" 337 | "esbuild-openbsd-64" "0.13.12" 338 | "esbuild-sunos-64" "0.13.12" 339 | "esbuild-windows-32" "0.13.12" 340 | "esbuild-windows-64" "0.13.12" 341 | "esbuild-windows-arm64" "0.13.12" 342 | 343 | "escape-string-regexp@^4.0.0": 344 | "integrity" "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" 345 | "resolved" "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz" 346 | "version" "4.0.0" 347 | 348 | "eslint-scope@^5.1.1": 349 | "integrity" "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==" 350 | "resolved" "https://registry.npmmirror.com/eslint-scope/-/eslint-scope-5.1.1.tgz" 351 | "version" "5.1.1" 352 | dependencies: 353 | "esrecurse" "^4.3.0" 354 | "estraverse" "^4.1.1" 355 | 356 | "eslint-utils@^3.0.0": 357 | "integrity" "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==" 358 | "resolved" "https://registry.npmmirror.com/eslint-utils/-/eslint-utils-3.0.0.tgz" 359 | "version" "3.0.0" 360 | dependencies: 361 | "eslint-visitor-keys" "^2.0.0" 362 | 363 | "eslint-visitor-keys@^2.0.0": 364 | "integrity" "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==" 365 | "resolved" "https://registry.npmmirror.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz" 366 | "version" "2.1.0" 367 | 368 | "eslint-visitor-keys@^3.3.0": 369 | "integrity" "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==" 370 | "resolved" "https://registry.npmmirror.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz" 371 | "version" "3.3.0" 372 | 373 | "esprima@^4.0.0": 374 | "integrity" "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" 375 | "resolved" "https://registry.npmmirror.com/esprima/-/esprima-4.0.1.tgz" 376 | "version" "4.0.1" 377 | 378 | "esrecurse@^4.3.0": 379 | "integrity" "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==" 380 | "resolved" "https://registry.npmmirror.com/esrecurse/-/esrecurse-4.3.0.tgz" 381 | "version" "4.3.0" 382 | dependencies: 383 | "estraverse" "^5.2.0" 384 | 385 | "estraverse@^4.1.1": 386 | "integrity" "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==" 387 | "resolved" "https://registry.npmmirror.com/estraverse/-/estraverse-4.3.0.tgz" 388 | "version" "4.3.0" 389 | 390 | "estraverse@^5.2.0": 391 | "integrity" "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==" 392 | "resolved" "https://registry.npmmirror.com/estraverse/-/estraverse-5.3.0.tgz" 393 | "version" "5.3.0" 394 | 395 | "extend@^3.0.0": 396 | "integrity" "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" 397 | "resolved" "https://registry.npmmirror.com/extend/-/extend-3.0.2.tgz" 398 | "version" "3.0.2" 399 | 400 | "fast-glob@^3.2.9": 401 | "integrity" "sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==" 402 | "resolved" "https://registry.npmmirror.com/fast-glob/-/fast-glob-3.2.11.tgz" 403 | "version" "3.2.11" 404 | dependencies: 405 | "@nodelib/fs.stat" "^2.0.2" 406 | "@nodelib/fs.walk" "^1.2.3" 407 | "glob-parent" "^5.1.2" 408 | "merge2" "^1.3.0" 409 | "micromatch" "^4.0.4" 410 | 411 | "fastq@^1.6.0": 412 | "integrity" "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==" 413 | "resolved" "https://registry.npmmirror.com/fastq/-/fastq-1.13.0.tgz" 414 | "version" "1.13.0" 415 | dependencies: 416 | "reusify" "^1.0.4" 417 | 418 | "fill-range@^7.0.1": 419 | "integrity" "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==" 420 | "resolved" "https://registry.npmmirror.com/fill-range/-/fill-range-7.0.1.tgz" 421 | "version" "7.0.1" 422 | dependencies: 423 | "to-regex-range" "^5.0.1" 424 | 425 | "form-data@^3.0.0": 426 | "integrity" "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==" 427 | "resolved" "https://registry.npmmirror.com/form-data/-/form-data-3.0.1.tgz" 428 | "version" "3.0.1" 429 | dependencies: 430 | "asynckit" "^0.4.0" 431 | "combined-stream" "^1.0.8" 432 | "mime-types" "^2.1.12" 433 | 434 | "functional-red-black-tree@^1.0.1": 435 | "integrity" "sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==" 436 | "resolved" "https://registry.npmmirror.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz" 437 | "version" "1.0.1" 438 | 439 | "glob-parent@^5.1.2": 440 | "integrity" "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==" 441 | "resolved" "https://registry.npmmirror.com/glob-parent/-/glob-parent-5.1.2.tgz" 442 | "version" "5.1.2" 443 | dependencies: 444 | "is-glob" "^4.0.1" 445 | 446 | "globby@^11.1.0": 447 | "integrity" "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==" 448 | "resolved" "https://registry.npmmirror.com/globby/-/globby-11.1.0.tgz" 449 | "version" "11.1.0" 450 | dependencies: 451 | "array-union" "^2.1.0" 452 | "dir-glob" "^3.0.1" 453 | "fast-glob" "^3.2.9" 454 | "ignore" "^5.2.0" 455 | "merge2" "^1.4.1" 456 | "slash" "^3.0.0" 457 | 458 | "https-proxy-agent@^5.0.1": 459 | "integrity" "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==" 460 | "resolved" "https://registry.npmmirror.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz" 461 | "version" "5.0.1" 462 | dependencies: 463 | "agent-base" "6" 464 | "debug" "4" 465 | 466 | "iconv-lite@~0.4.13": 467 | "integrity" "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==" 468 | "resolved" "https://registry.npmmirror.com/iconv-lite/-/iconv-lite-0.4.24.tgz" 469 | "version" "0.4.24" 470 | dependencies: 471 | "safer-buffer" ">= 2.1.2 < 3" 472 | 473 | "ignore@^5.2.0": 474 | "integrity" "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==" 475 | "resolved" "https://registry.npmmirror.com/ignore/-/ignore-5.2.0.tgz" 476 | "version" "5.2.0" 477 | 478 | "is-alphabetical@^1.0.0": 479 | "integrity" "sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==" 480 | "resolved" "https://registry.npmmirror.com/is-alphabetical/-/is-alphabetical-1.0.4.tgz" 481 | "version" "1.0.4" 482 | 483 | "is-alphanumerical@^1.0.0": 484 | "integrity" "sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==" 485 | "resolved" "https://registry.npmmirror.com/is-alphanumerical/-/is-alphanumerical-1.0.4.tgz" 486 | "version" "1.0.4" 487 | dependencies: 488 | "is-alphabetical" "^1.0.0" 489 | "is-decimal" "^1.0.0" 490 | 491 | "is-buffer@^2.0.0": 492 | "integrity" "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==" 493 | "resolved" "https://registry.npmmirror.com/is-buffer/-/is-buffer-2.0.5.tgz" 494 | "version" "2.0.5" 495 | 496 | "is-decimal@^1.0.0": 497 | "integrity" "sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==" 498 | "resolved" "https://registry.npmmirror.com/is-decimal/-/is-decimal-1.0.4.tgz" 499 | "version" "1.0.4" 500 | 501 | "is-extglob@^2.1.1": 502 | "integrity" "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==" 503 | "resolved" "https://registry.npmmirror.com/is-extglob/-/is-extglob-2.1.1.tgz" 504 | "version" "2.1.1" 505 | 506 | "is-glob@^4.0.1", "is-glob@^4.0.3": 507 | "integrity" "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==" 508 | "resolved" "https://registry.npmmirror.com/is-glob/-/is-glob-4.0.3.tgz" 509 | "version" "4.0.3" 510 | dependencies: 511 | "is-extglob" "^2.1.1" 512 | 513 | "is-hexadecimal@^1.0.0": 514 | "integrity" "sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==" 515 | "resolved" "https://registry.npmmirror.com/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz" 516 | "version" "1.0.4" 517 | 518 | "is-number@^7.0.0": 519 | "integrity" "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" 520 | "resolved" "https://registry.npmmirror.com/is-number/-/is-number-7.0.0.tgz" 521 | "version" "7.0.0" 522 | 523 | "is-plain-obj@^2.0.0": 524 | "integrity" "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==" 525 | "resolved" "https://registry.npmmirror.com/is-plain-obj/-/is-plain-obj-2.1.0.tgz" 526 | "version" "2.1.0" 527 | 528 | "js-yaml@^3.14.1": 529 | "integrity" "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==" 530 | "resolved" "https://registry.npmmirror.com/js-yaml/-/js-yaml-3.14.1.tgz" 531 | "version" "3.14.1" 532 | dependencies: 533 | "argparse" "^1.0.7" 534 | "esprima" "^4.0.0" 535 | 536 | "longest-streak@^2.0.0": 537 | "integrity" "sha512-vM6rUVCVUJJt33bnmHiZEvr7wPT78ztX7rojL+LW51bHtLh6HTjx84LA5W4+oa6aKEJA7jJu5LR6vQRBpA5DVg==" 538 | "resolved" "https://registry.npmmirror.com/longest-streak/-/longest-streak-2.0.4.tgz" 539 | "version" "2.0.4" 540 | 541 | "lru-cache@^6.0.0": 542 | "integrity" "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==" 543 | "resolved" "https://registry.npmmirror.com/lru-cache/-/lru-cache-6.0.0.tgz" 544 | "version" "6.0.0" 545 | dependencies: 546 | "yallist" "^4.0.0" 547 | 548 | "markdown-table@^2.0.0": 549 | "integrity" "sha512-Ezda85ToJUBhM6WGaG6veasyym+Tbs3cMAw/ZhOPqXiYsr0jgocBV3j3nx+4lk47plLlIqjwuTm/ywVI+zjJ/A==" 550 | "resolved" "https://registry.npmmirror.com/markdown-table/-/markdown-table-2.0.0.tgz" 551 | "version" "2.0.0" 552 | dependencies: 553 | "repeat-string" "^1.0.0" 554 | 555 | "mdast-util-find-and-replace@^1.1.0": 556 | "integrity" "sha512-9cKl33Y21lyckGzpSmEQnIDjEfeeWelN5s1kUW1LwdB0Fkuq2u+4GdqcGEygYxJE8GVqCl0741bYXHgamfWAZA==" 557 | "resolved" "https://registry.npmmirror.com/mdast-util-find-and-replace/-/mdast-util-find-and-replace-1.1.1.tgz" 558 | "version" "1.1.1" 559 | dependencies: 560 | "escape-string-regexp" "^4.0.0" 561 | "unist-util-is" "^4.0.0" 562 | "unist-util-visit-parents" "^3.0.0" 563 | 564 | "mdast-util-from-markdown@^0.8.0": 565 | "integrity" "sha512-2hkTXtYYnr+NubD/g6KGBS/0mFmBcifAsI0yIWRiRo0PjVs6SSOSOdtzbp6kSGnShDN6G5aWZpKQ2lWRy27mWQ==" 566 | "resolved" "https://registry.npmmirror.com/mdast-util-from-markdown/-/mdast-util-from-markdown-0.8.5.tgz" 567 | "version" "0.8.5" 568 | dependencies: 569 | "@types/mdast" "^3.0.0" 570 | "mdast-util-to-string" "^2.0.0" 571 | "micromark" "~2.11.0" 572 | "parse-entities" "^2.0.0" 573 | "unist-util-stringify-position" "^2.0.0" 574 | 575 | "mdast-util-gfm-autolink-literal@^0.1.0": 576 | "integrity" "sha512-GjmLjWrXg1wqMIO9+ZsRik/s7PLwTaeCHVB7vRxUwLntZc8mzmTsLVr6HW1yLokcnhfURsn5zmSVdi3/xWWu1A==" 577 | "resolved" "https://registry.npmmirror.com/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-0.1.3.tgz" 578 | "version" "0.1.3" 579 | dependencies: 580 | "ccount" "^1.0.0" 581 | "mdast-util-find-and-replace" "^1.1.0" 582 | "micromark" "^2.11.3" 583 | 584 | "mdast-util-gfm-strikethrough@^0.2.0": 585 | "integrity" "sha512-5OQLXpt6qdbttcDG/UxYY7Yjj3e8P7X16LzvpX8pIQPYJ/C2Z1qFGMmcw+1PZMUM3Z8wt8NRfYTvCni93mgsgA==" 586 | "resolved" "https://registry.npmmirror.com/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-0.2.3.tgz" 587 | "version" "0.2.3" 588 | dependencies: 589 | "mdast-util-to-markdown" "^0.6.0" 590 | 591 | "mdast-util-gfm-table@^0.1.0": 592 | "integrity" "sha512-j4yDxQ66AJSBwGkbpFEp9uG/LS1tZV3P33fN1gkyRB2LoRL+RR3f76m0HPHaby6F4Z5xr9Fv1URmATlRRUIpRQ==" 593 | "resolved" "https://registry.npmmirror.com/mdast-util-gfm-table/-/mdast-util-gfm-table-0.1.6.tgz" 594 | "version" "0.1.6" 595 | dependencies: 596 | "markdown-table" "^2.0.0" 597 | "mdast-util-to-markdown" "~0.6.0" 598 | 599 | "mdast-util-gfm-task-list-item@^0.1.0": 600 | "integrity" "sha512-/d51FFIfPsSmCIRNp7E6pozM9z1GYPIkSy1urQ8s/o4TC22BZ7DqfHFWiqBD23bc7J3vV1Fc9O4QIHBlfuit8A==" 601 | "resolved" "https://registry.npmmirror.com/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-0.1.6.tgz" 602 | "version" "0.1.6" 603 | dependencies: 604 | "mdast-util-to-markdown" "~0.6.0" 605 | 606 | "mdast-util-gfm@^0.1.0": 607 | "integrity" "sha512-NNkhDx/qYcuOWB7xHUGWZYVXvjPFFd6afg6/e2g+SV4r9q5XUcCbV4Wfa3DLYIiD+xAEZc6K4MGaE/m0KDcPwQ==" 608 | "resolved" "https://registry.npmmirror.com/mdast-util-gfm/-/mdast-util-gfm-0.1.2.tgz" 609 | "version" "0.1.2" 610 | dependencies: 611 | "mdast-util-gfm-autolink-literal" "^0.1.0" 612 | "mdast-util-gfm-strikethrough" "^0.2.0" 613 | "mdast-util-gfm-table" "^0.1.0" 614 | "mdast-util-gfm-task-list-item" "^0.1.0" 615 | "mdast-util-to-markdown" "^0.6.1" 616 | 617 | "mdast-util-to-markdown@^0.6.0", "mdast-util-to-markdown@^0.6.1", "mdast-util-to-markdown@~0.6.0": 618 | "integrity" "sha512-XeV9sDE7ZlOQvs45C9UKMtfTcctcaj/pGwH8YLbMHoMOXNNCn2LsqVQOqrF1+/NU8lKDAqozme9SCXWyo9oAcQ==" 619 | "resolved" "https://registry.npmmirror.com/mdast-util-to-markdown/-/mdast-util-to-markdown-0.6.5.tgz" 620 | "version" "0.6.5" 621 | dependencies: 622 | "@types/unist" "^2.0.0" 623 | "longest-streak" "^2.0.0" 624 | "mdast-util-to-string" "^2.0.0" 625 | "parse-entities" "^2.0.0" 626 | "repeat-string" "^1.0.0" 627 | "zwitch" "^1.0.0" 628 | 629 | "mdast-util-to-string@^2.0.0": 630 | "integrity" "sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w==" 631 | "resolved" "https://registry.npmmirror.com/mdast-util-to-string/-/mdast-util-to-string-2.0.0.tgz" 632 | "version" "2.0.0" 633 | 634 | "merge2@^1.3.0", "merge2@^1.4.1": 635 | "integrity" "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==" 636 | "resolved" "https://registry.npmmirror.com/merge2/-/merge2-1.4.1.tgz" 637 | "version" "1.4.1" 638 | 639 | "micromark-extension-gfm-autolink-literal@~0.5.0": 640 | "integrity" "sha512-ePiDGH0/lhcngCe8FtH4ARFoxKTUelMp4L7Gg2pujYD5CSMb9PbblnyL+AAMud/SNMyusbS2XDSiPIRcQoNFAw==" 641 | "resolved" "https://registry.npmmirror.com/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-0.5.7.tgz" 642 | "version" "0.5.7" 643 | dependencies: 644 | "micromark" "~2.11.3" 645 | 646 | "micromark-extension-gfm-strikethrough@~0.6.5": 647 | "integrity" "sha512-PpOKlgokpQRwUesRwWEp+fHjGGkZEejj83k9gU5iXCbDG+XBA92BqnRKYJdfqfkrRcZRgGuPuXb7DaK/DmxOhw==" 648 | "resolved" "https://registry.npmmirror.com/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-0.6.5.tgz" 649 | "version" "0.6.5" 650 | dependencies: 651 | "micromark" "~2.11.0" 652 | 653 | "micromark-extension-gfm-table@~0.4.0": 654 | "integrity" "sha512-hVGvESPq0fk6ALWtomcwmgLvH8ZSVpcPjzi0AjPclB9FsVRgMtGZkUcpE0zgjOCFAznKepF4z3hX8z6e3HODdA==" 655 | "resolved" "https://registry.npmmirror.com/micromark-extension-gfm-table/-/micromark-extension-gfm-table-0.4.3.tgz" 656 | "version" "0.4.3" 657 | dependencies: 658 | "micromark" "~2.11.0" 659 | 660 | "micromark-extension-gfm-tagfilter@~0.3.0": 661 | "integrity" "sha512-9GU0xBatryXifL//FJH+tAZ6i240xQuFrSL7mYi8f4oZSbc+NvXjkrHemeYP0+L4ZUT+Ptz3b95zhUZnMtoi/Q==" 662 | "resolved" "https://registry.npmmirror.com/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-0.3.0.tgz" 663 | "version" "0.3.0" 664 | 665 | "micromark-extension-gfm-task-list-item@~0.3.0": 666 | "integrity" "sha512-0zvM5iSLKrc/NQl84pZSjGo66aTGd57C1idmlWmE87lkMcXrTxg1uXa/nXomxJytoje9trP0NDLvw4bZ/Z/XCQ==" 667 | "resolved" "https://registry.npmmirror.com/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-0.3.3.tgz" 668 | "version" "0.3.3" 669 | dependencies: 670 | "micromark" "~2.11.0" 671 | 672 | "micromark-extension-gfm@^0.3.0": 673 | "integrity" "sha512-oVN4zv5/tAIA+l3GbMi7lWeYpJ14oQyJ3uEim20ktYFAcfX1x3LNlFGGlmrZHt7u9YlKExmyJdDGaTt6cMSR/A==" 674 | "resolved" "https://registry.npmmirror.com/micromark-extension-gfm/-/micromark-extension-gfm-0.3.3.tgz" 675 | "version" "0.3.3" 676 | dependencies: 677 | "micromark" "~2.11.0" 678 | "micromark-extension-gfm-autolink-literal" "~0.5.0" 679 | "micromark-extension-gfm-strikethrough" "~0.6.5" 680 | "micromark-extension-gfm-table" "~0.4.0" 681 | "micromark-extension-gfm-tagfilter" "~0.3.0" 682 | "micromark-extension-gfm-task-list-item" "~0.3.0" 683 | 684 | "micromark@^2.11.3", "micromark@~2.11.0", "micromark@~2.11.3": 685 | "integrity" "sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==" 686 | "resolved" "https://registry.npmmirror.com/micromark/-/micromark-2.11.4.tgz" 687 | "version" "2.11.4" 688 | dependencies: 689 | "debug" "^4.0.0" 690 | "parse-entities" "^2.0.0" 691 | 692 | "micromatch@^4.0.4": 693 | "integrity" "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==" 694 | "resolved" "https://registry.npmmirror.com/micromatch/-/micromatch-4.0.5.tgz" 695 | "version" "4.0.5" 696 | dependencies: 697 | "braces" "^3.0.2" 698 | "picomatch" "^2.3.1" 699 | 700 | "mime-db@1.52.0": 701 | "integrity" "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" 702 | "resolved" "https://registry.npmmirror.com/mime-db/-/mime-db-1.52.0.tgz" 703 | "version" "1.52.0" 704 | 705 | "mime-types@^2.1.12": 706 | "integrity" "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==" 707 | "resolved" "https://registry.npmmirror.com/mime-types/-/mime-types-2.1.35.tgz" 708 | "version" "2.1.35" 709 | dependencies: 710 | "mime-db" "1.52.0" 711 | 712 | "moment@2.29.2": 713 | "integrity" "sha512-UgzG4rvxYpN15jgCmVJwac49h9ly9NurikMWGPdVxm8GZD6XjkKPxDTjQQ43gtGgnV3X0cAyWDdP2Wexoquifg==" 714 | "resolved" "https://registry.npmmirror.com/moment/-/moment-2.29.2.tgz" 715 | "version" "2.29.2" 716 | 717 | "ms@2.1.2": 718 | "integrity" "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" 719 | "resolved" "https://registry.npmmirror.com/ms/-/ms-2.1.2.tgz" 720 | "version" "2.1.2" 721 | 722 | "node-fetch@^2.6.1": 723 | "integrity" "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==" 724 | "resolved" "https://registry.npmmirror.com/node-fetch/-/node-fetch-2.6.7.tgz" 725 | "version" "2.6.7" 726 | dependencies: 727 | "whatwg-url" "^5.0.0" 728 | 729 | "obsidian@latest": 730 | "integrity" "sha512-CQz+B2HSbhGVEBwZBL3rPl29ruOBmEhCbBmW7PIILnnRh6fFFvYy3kZLHVTUidzvRGZnEW/mQ7n9LXeJCp2a/Q==" 731 | "resolved" "https://registry.npmmirror.com/obsidian/-/obsidian-0.14.8.tgz" 732 | "version" "0.14.8" 733 | dependencies: 734 | "@codemirror/state" "^0.19.6" 735 | "@codemirror/view" "^0.19.31" 736 | "@types/codemirror" "0.0.108" 737 | "moment" "2.29.2" 738 | 739 | "parse-entities@^2.0.0": 740 | "integrity" "sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==" 741 | "resolved" "https://registry.npmmirror.com/parse-entities/-/parse-entities-2.0.0.tgz" 742 | "version" "2.0.0" 743 | dependencies: 744 | "character-entities" "^1.0.0" 745 | "character-entities-legacy" "^1.0.0" 746 | "character-reference-invalid" "^1.0.0" 747 | "is-alphanumerical" "^1.0.0" 748 | "is-decimal" "^1.0.0" 749 | "is-hexadecimal" "^1.0.0" 750 | 751 | "path-type@^4.0.0": 752 | "integrity" "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==" 753 | "resolved" "https://registry.npmmirror.com/path-type/-/path-type-4.0.0.tgz" 754 | "version" "4.0.0" 755 | 756 | "picomatch@^2.3.1": 757 | "integrity" "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==" 758 | "resolved" "https://registry.npmmirror.com/picomatch/-/picomatch-2.3.1.tgz" 759 | "version" "2.3.1" 760 | 761 | "queue-microtask@^1.2.2": 762 | "integrity" "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==" 763 | "resolved" "https://registry.npmmirror.com/queue-microtask/-/queue-microtask-1.2.3.tgz" 764 | "version" "1.2.3" 765 | 766 | "regexpp@^3.2.0": 767 | "integrity" "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==" 768 | "resolved" "https://registry.npmmirror.com/regexpp/-/regexpp-3.2.0.tgz" 769 | "version" "3.2.0" 770 | 771 | "remark-gfm@^1.0.0": 772 | "integrity" "sha512-KfexHJCiqvrdBZVbQ6RopMZGwaXz6wFJEfByIuEwGf0arvITHjiKKZ1dpXujjH9KZdm1//XJQwgfnJ3lmXaDPA==" 773 | "resolved" "https://registry.npmmirror.com/remark-gfm/-/remark-gfm-1.0.0.tgz" 774 | "version" "1.0.0" 775 | dependencies: 776 | "mdast-util-gfm" "^0.1.0" 777 | "micromark-extension-gfm" "^0.3.0" 778 | 779 | "remark-parse@^9.0.0": 780 | "integrity" "sha512-geKatMwSzEXKHuzBNU1z676sGcDcFoChMK38TgdHJNAYfFtsfHDQG7MoJAjs6sgYMqyLduCYWDIWZIxiPeafEw==" 781 | "resolved" "https://registry.npmmirror.com/remark-parse/-/remark-parse-9.0.0.tgz" 782 | "version" "9.0.0" 783 | dependencies: 784 | "mdast-util-from-markdown" "^0.8.0" 785 | 786 | "repeat-string@^1.0.0": 787 | "integrity" "sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==" 788 | "resolved" "https://registry.npmmirror.com/repeat-string/-/repeat-string-1.6.1.tgz" 789 | "version" "1.6.1" 790 | 791 | "reusify@^1.0.4": 792 | "integrity" "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==" 793 | "resolved" "https://registry.npmmirror.com/reusify/-/reusify-1.0.4.tgz" 794 | "version" "1.0.4" 795 | 796 | "run-parallel@^1.1.9": 797 | "integrity" "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==" 798 | "resolved" "https://registry.npmmirror.com/run-parallel/-/run-parallel-1.2.0.tgz" 799 | "version" "1.2.0" 800 | dependencies: 801 | "queue-microtask" "^1.2.2" 802 | 803 | "safer-buffer@>= 2.1.2 < 3": 804 | "integrity" "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" 805 | "resolved" "https://registry.npmmirror.com/safer-buffer/-/safer-buffer-2.1.2.tgz" 806 | "version" "2.1.2" 807 | 808 | "semver@^7.3.7": 809 | "integrity" "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==" 810 | "resolved" "https://registry.npmmirror.com/semver/-/semver-7.3.7.tgz" 811 | "version" "7.3.7" 812 | dependencies: 813 | "lru-cache" "^6.0.0" 814 | 815 | "slash@^3.0.0": 816 | "integrity" "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==" 817 | "resolved" "https://registry.npmmirror.com/slash/-/slash-3.0.0.tgz" 818 | "version" "3.0.0" 819 | 820 | "sprintf-js@~1.0.2": 821 | "integrity" "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==" 822 | "resolved" "https://registry.npmmirror.com/sprintf-js/-/sprintf-js-1.0.3.tgz" 823 | "version" "1.0.3" 824 | 825 | "style-mod@^4.0.0": 826 | "integrity" "sha512-OPhtyEjyyN9x3nhPsu76f52yUGXiZcgvsrFVtvTkyGRQJ0XK+GPc6ov1z+lRpbeabka+MYEQxOYRnt5nF30aMw==" 827 | "resolved" "https://registry.npmmirror.com/style-mod/-/style-mod-4.0.0.tgz" 828 | "version" "4.0.0" 829 | 830 | "to-regex-range@^5.0.1": 831 | "integrity" "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==" 832 | "resolved" "https://registry.npmmirror.com/to-regex-range/-/to-regex-range-5.0.1.tgz" 833 | "version" "5.0.1" 834 | dependencies: 835 | "is-number" "^7.0.0" 836 | 837 | "tr46@~0.0.3": 838 | "integrity" "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" 839 | "resolved" "https://registry.npmmirror.com/tr46/-/tr46-0.0.3.tgz" 840 | "version" "0.0.3" 841 | 842 | "trough@^1.0.0": 843 | "integrity" "sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA==" 844 | "resolved" "https://registry.npmmirror.com/trough/-/trough-1.0.5.tgz" 845 | "version" "1.0.5" 846 | 847 | "tslib@^1.8.1": 848 | "integrity" "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" 849 | "resolved" "https://registry.npmmirror.com/tslib/-/tslib-1.14.1.tgz" 850 | "version" "1.14.1" 851 | 852 | "tslib@2.3.1": 853 | "integrity" "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" 854 | "resolved" "https://registry.npmmirror.com/tslib/-/tslib-2.3.1.tgz" 855 | "version" "2.3.1" 856 | 857 | "tsutils@^3.21.0": 858 | "integrity" "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==" 859 | "resolved" "https://registry.npmmirror.com/tsutils/-/tsutils-3.21.0.tgz" 860 | "version" "3.21.0" 861 | dependencies: 862 | "tslib" "^1.8.1" 863 | 864 | "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta", "typescript@4.4.4": 865 | "integrity" "sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA==" 866 | "resolved" "https://registry.npmmirror.com/typescript/-/typescript-4.4.4.tgz" 867 | "version" "4.4.4" 868 | 869 | "unified@^9.2.1": 870 | "integrity" "sha512-Sg7j110mtefBD+qunSLO1lqOEKdrwBFBrR6Qd8f4uwkhWNlbkaqwHse6e7QvD3AP/MNoJdEDLaf8OxYyoWgorQ==" 871 | "resolved" "https://registry.npmmirror.com/unified/-/unified-9.2.2.tgz" 872 | "version" "9.2.2" 873 | dependencies: 874 | "bail" "^1.0.0" 875 | "extend" "^3.0.0" 876 | "is-buffer" "^2.0.0" 877 | "is-plain-obj" "^2.0.0" 878 | "trough" "^1.0.0" 879 | "vfile" "^4.0.0" 880 | 881 | "unist-util-is@^4.0.0": 882 | "integrity" "sha512-ZOQSsnce92GrxSqlnEEseX0gi7GH9zTJZ0p9dtu87WRb/37mMPO2Ilx1s/t9vBHrFhbgweUwb+t7cIn5dxPhZg==" 883 | "resolved" "https://registry.npmmirror.com/unist-util-is/-/unist-util-is-4.1.0.tgz" 884 | "version" "4.1.0" 885 | 886 | "unist-util-stringify-position@^2.0.0": 887 | "integrity" "sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==" 888 | "resolved" "https://registry.npmmirror.com/unist-util-stringify-position/-/unist-util-stringify-position-2.0.3.tgz" 889 | "version" "2.0.3" 890 | dependencies: 891 | "@types/unist" "^2.0.2" 892 | 893 | "unist-util-visit-parents@^3.0.0": 894 | "integrity" "sha512-1KROIZWo6bcMrZEwiH2UrXDyalAa0uqzWCxCJj6lPOvTve2WkfgCytoDTPaMnodXh1WrXOq0haVYHj99ynJlsg==" 895 | "resolved" "https://registry.npmmirror.com/unist-util-visit-parents/-/unist-util-visit-parents-3.1.1.tgz" 896 | "version" "3.1.1" 897 | dependencies: 898 | "@types/unist" "^2.0.0" 899 | "unist-util-is" "^4.0.0" 900 | 901 | "vfile-message@^2.0.0": 902 | "integrity" "sha512-DjssxRGkMvifUOJre00juHoP9DPWuzjxKuMDrhNbk2TdaYYBNMStsNhEOt3idrtI12VQYM/1+iM0KOzXi4pxwQ==" 903 | "resolved" "https://registry.npmmirror.com/vfile-message/-/vfile-message-2.0.4.tgz" 904 | "version" "2.0.4" 905 | dependencies: 906 | "@types/unist" "^2.0.0" 907 | "unist-util-stringify-position" "^2.0.0" 908 | 909 | "vfile@^4.0.0": 910 | "integrity" "sha512-O6AE4OskCG5S1emQ/4gl8zK586RqA3srz3nfK/Viy0UPToBc5Trp9BVFb1u0CjsKrAWwnpr4ifM/KBXPWwJbCA==" 911 | "resolved" "https://registry.npmmirror.com/vfile/-/vfile-4.2.1.tgz" 912 | "version" "4.2.1" 913 | dependencies: 914 | "@types/unist" "^2.0.0" 915 | "is-buffer" "^2.0.0" 916 | "unist-util-stringify-position" "^2.0.0" 917 | "vfile-message" "^2.0.0" 918 | 919 | "w3c-keyname@^2.2.4": 920 | "integrity" "sha512-tOhfEwEzFLJzf6d1ZPkYfGj+FWhIpBux9ppoP3rlclw3Z0BZv3N7b7030Z1kYth+6rDuAsXUFr+d0VE6Ed1ikw==" 921 | "resolved" "https://registry.npmmirror.com/w3c-keyname/-/w3c-keyname-2.2.4.tgz" 922 | "version" "2.2.4" 923 | 924 | "webidl-conversions@^3.0.0": 925 | "integrity" "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" 926 | "resolved" "https://registry.npmmirror.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz" 927 | "version" "3.0.1" 928 | 929 | "whatwg-url@^5.0.0": 930 | "integrity" "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==" 931 | "resolved" "https://registry.npmmirror.com/whatwg-url/-/whatwg-url-5.0.0.tgz" 932 | "version" "5.0.0" 933 | dependencies: 934 | "tr46" "~0.0.3" 935 | "webidl-conversions" "^3.0.0" 936 | 937 | "yallist@^4.0.0": 938 | "integrity" "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" 939 | "resolved" "https://registry.npmmirror.com/yallist/-/yallist-4.0.0.tgz" 940 | "version" "4.0.0" 941 | 942 | "yaml-front-matter@^4.1.1": 943 | "integrity" "sha512-ULGbghCLsN8Hs8vfExlqrJIe8Hl2TUjD7/zsIGMP8U+dgRXEsDXk4yydxeZJgdGiimP1XB7zhmhOB4/HyfqOyQ==" 944 | "resolved" "https://registry.npmmirror.com/yaml-front-matter/-/yaml-front-matter-4.1.1.tgz" 945 | "version" "4.1.1" 946 | dependencies: 947 | "commander" "^6.2.0" 948 | "js-yaml" "^3.14.1" 949 | 950 | "yaml@^2.1.0": 951 | "integrity" "sha512-OuAINfTsoJrY5H7CBWnKZhX6nZciXBydrMtTHr1dC4nP40X5jyTIVlogZHxSlVZM8zSgXRfgZGsaHF4+pV+JRw==" 952 | "resolved" "https://registry.npmmirror.com/yaml/-/yaml-2.1.0.tgz" 953 | "version" "2.1.0" 954 | 955 | "zwitch@^1.0.0": 956 | "integrity" "sha512-V50KMwwzqJV0NpZIZFwfOD5/lyny3WlSzRiXgA0G7VUnRlqttta1L6UQIHzd6EuBY/cHGfwTIck7w1yH6Q5zUw==" 957 | "resolved" "https://registry.npmmirror.com/zwitch/-/zwitch-1.0.5.tgz" 958 | "version" "1.0.5" 959 | --------------------------------------------------------------------------------