├── .github
└── workflows
│ └── release.yml
├── .gitignore
├── .yarnrc.yml
├── LICENSE.md
├── README.md
├── manifest.json
├── package.json
├── rollup.config.js
├── src
├── HeadingsManager.ts
├── getMatchedCSSRules.ts
├── main.ts
├── pathDecoration.ts
└── settings.ts
├── styles.css
├── tsconfig.json
└── yarn.lock
/.github/workflows/release.yml:
--------------------------------------------------------------------------------
1 | name: Release Obsidian Plugin
2 | on:
3 | push:
4 | tags:
5 | - '*'
6 | jobs:
7 | build:
8 | runs-on: ubuntu-latest
9 | steps:
10 | - uses: actions/checkout@v2
11 | with:
12 | fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
13 | - name: Use Node.js
14 | uses: actions/setup-node@v1
15 | with:
16 | node-version: '14.x'
17 | - name: Get Version
18 | id: version
19 | run: |
20 | echo "::set-output name=tag::$(git describe --abbrev=0)"
21 | - name: Build
22 | id: build
23 | run: |
24 | yarn
25 | yarn run build
26 | # Create the release on github
27 | - name: Create Release
28 | id: create_release
29 | uses: actions/create-release@v1
30 | env:
31 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32 | VERSION: ${{ github.ref }}
33 | with:
34 | tag_name: ${{ github.ref }}
35 | release_name: ${{ github.ref }}
36 | draft: false
37 | prerelease: false
38 | # Upload the main.js
39 | - name: Upload main.js
40 | id: upload-main
41 | uses: actions/upload-release-asset@v1
42 | env:
43 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44 | with:
45 | upload_url: ${{ steps.create_release.outputs.upload_url }}
46 | asset_path: ./main.js
47 | asset_name: main.js
48 | asset_content_type: text/javascript
49 | # Upload the manifest.json
50 | - name: Upload manifest.json
51 | id: upload-manifest
52 | uses: actions/upload-release-asset@v1
53 | env:
54 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
55 | with:
56 | upload_url: ${{ steps.create_release.outputs.upload_url }}
57 | asset_path: ./manifest.json
58 | asset_name: manifest.json
59 | asset_content_type: application/json
60 | # Upload the style.css
61 | - name: Upload styles.css
62 | id: upload-css
63 | uses: actions/upload-release-asset@v1
64 | env:
65 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66 | with:
67 | upload_url: ${{ steps.create_release.outputs.upload_url }}
68 | asset_path: ./styles.css
69 | asset_name: styles.css
70 | asset_content_type: text/css
71 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | main.js
2 |
3 | node_modules
4 | .yarn
5 |
6 | *.js.map
7 | .DS_Store
8 | .hotreload
9 | data.json
10 |
--------------------------------------------------------------------------------
/.yarnrc.yml:
--------------------------------------------------------------------------------
1 | nodeLinker: node-modules
2 |
--------------------------------------------------------------------------------
/LICENSE.md:
--------------------------------------------------------------------------------
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 | .
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | ## This plugin is archived!
2 |
3 | Obsidian `0.16.3` includes a better native implementation of this plugin, which can be enabled at `Settings > Appearance > Show tab title bar`. This plugin will continue to work with Obsidian `0.15.x`, but it won't be updated going forward.
4 |
5 | ## Obsidian Embedded Note Paths Plugin
6 |
7 |
8 | This plugin embeds the note path at the top of each note in both preview and edit mode. This plugin does not modify notes, and the path is not a part of the document itself.
9 |
10 | **Features:**
11 |
12 | - The embedded paths can be styled using the Style Settings plugin
13 | - Paths can be hidden or overridden by a file's frontmatter
14 | - Paths can be hidden if when a level 1 heading is present
15 | - Leading/trailing slashes can be enabled if desired
16 | - The filename can be displayed if desired
17 |
18 |
19 |
20 | ### Note
21 |
22 | In general, this plugin attempts to size the paths to align with the note content. Some themes may have styling that conflicts with these calculations. If you notice misalignment between the path and the note, the paths can be styled via css like so:
23 |
24 | ```css
25 | h1.embedded-note-path {
26 | /* ...reading mode styles... */
27 | }
28 |
29 | h1.cm-line.embedded-note-path {
30 | /* ... live preview / edit mode styles ... */
31 | }
32 | ```
33 |
34 | You may also need to account for readable line length:
35 |
36 | ```css
37 | .is-readable-line-width h1.embedded-note-path {
38 | /* ...reading mode styles... */
39 | }
40 |
41 | .is-readable-line-width h1.cm-line.embedded-note-path {
42 | /* ...reading mode styles... */
43 | }
44 | ```
45 |
46 | ## Credits
47 |
48 | This plugin is a fork of [mgmeyers/obsidian-embedded-note-titles](https://github.com/mgmeyers/obsidian-embedded-note-titles) with a few changes.
49 |
--------------------------------------------------------------------------------
/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "obsidian-embedded-note-paths",
3 | "name": "Embedded Note Paths",
4 | "version": "1.0.5",
5 | "minAppVersion": "0.15.0",
6 | "description": "Inserts the note file path above each note.",
7 | "author": "b0o",
8 | "authorUrl": "https://github.com/b0o/obsidian-embedded-note-paths",
9 | "isDesktopOnly": false
10 | }
11 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "obsidian-sample-plugin",
3 | "version": "0.9.7",
4 | "description": "This is a sample plugin for Obsidian (https://obsidian.md)",
5 | "main": "main.js",
6 | "scripts": {
7 | "dev": "rollup --config rollup.config.js -w",
8 | "build": "rollup --config rollup.config.js --environment BUILD:production"
9 | },
10 | "keywords": [],
11 | "author": "",
12 | "license": "MIT",
13 | "devDependencies": {
14 | "@codemirror/state": "^6.0.0",
15 | "@codemirror/view": "^6.0.0",
16 | "@rollup/plugin-commonjs": "^15.1.0",
17 | "@rollup/plugin-node-resolve": "^9.0.0",
18 | "@rollup/plugin-typescript": "^6.0.0",
19 | "@types/node": "^14.14.2",
20 | "obsidian": "latest",
21 | "rollup": "^2.32.1",
22 | "tslib": "^2.0.3",
23 | "typescript": "^4.0.3"
24 | },
25 | "dependencies": {
26 | "obsidian-daily-notes-interface": "^0.9.4"
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/rollup.config.js:
--------------------------------------------------------------------------------
1 | import typescript from "@rollup/plugin-typescript";
2 | import { nodeResolve } from "@rollup/plugin-node-resolve";
3 | import commonjs from "@rollup/plugin-commonjs";
4 |
5 | const banner = `/*
6 | THIS IS A GENERATED/BUNDLED FILE BY ROLLUP
7 | if you want to view the source visit the plugins github repository
8 | */
9 | `;
10 |
11 | const isProd = process.env.BUILD === "production";
12 |
13 | const output = [
14 | {
15 | input: "./src/main.ts",
16 | output: {
17 | dir: ".",
18 | sourcemap: isProd ? false : "inline",
19 | format: "cjs",
20 | exports: "default",
21 | banner,
22 | },
23 | external: [
24 | "obsidian",
25 | "@codemirror/autocomplete",
26 | "@codemirror/closebrackets",
27 | "@codemirror/commands",
28 | "@codemirror/fold",
29 | "@codemirror/gutter",
30 | "@codemirror/history",
31 | "@codemirror/language",
32 | "@codemirror/rangeset",
33 | "@codemirror/rectangular-selection",
34 | "@codemirror/search",
35 | "@codemirror/state",
36 | "@codemirror/stream-parser",
37 | "@codemirror/text",
38 | "@codemirror/view",
39 | ],
40 | plugins: [typescript(), nodeResolve({ browser: true }), commonjs()],
41 | },
42 | ];
43 |
44 | export default output;
45 |
--------------------------------------------------------------------------------
/src/HeadingsManager.ts:
--------------------------------------------------------------------------------
1 | import { App, MarkdownView, WorkspaceLeaf } from "obsidian";
2 |
3 | import { Settings } from "./settings";
4 | import { getMatchedCSSRules } from "./getMatchedCSSRules";
5 | import { getPathForView } from "./pathDecoration";
6 |
7 | interface RefSizing {
8 | width?: string;
9 | maxWidth?: string;
10 | marginLeft?: string;
11 | marginRight?: string;
12 | paddingLeft?: string;
13 | paddingRight?: string;
14 | }
15 |
16 | // Split CSS margin and padding values like `0 auto`, `10px auto 0`, etc.
17 | function getRightLeft(val: string) {
18 | if (/\s/.test(val)) {
19 | const vals = val.split(/\s+/g);
20 |
21 | if (vals.length === 2 || vals.length === 3) {
22 | return [vals[1], vals[1]];
23 | }
24 |
25 | if (vals.length === 4) {
26 | return [vals[1], vals[3]];
27 | }
28 | }
29 |
30 | return [val, val];
31 | }
32 |
33 | const keyMap: { [k: string]: string } = {
34 | width: "width",
35 | maxWidth: "max-width",
36 | margin: "margin",
37 | marginLeft: "margin-left",
38 | marginRight: "margin-right",
39 | padding: "padding",
40 | paddingLeft: "padding-left",
41 | paddingRight: "padding-right",
42 | };
43 |
44 | // Get the relevant style values from a reference element
45 | function getRefSizing(el: HTMLElement) {
46 | const rules = getMatchedCSSRules(el);
47 | const sizing: RefSizing = {};
48 |
49 | rules.forEach((r) => {
50 | const {
51 | width,
52 | maxWidth,
53 | margin,
54 | marginLeft,
55 | marginRight,
56 | padding,
57 | paddingLeft,
58 | paddingRight,
59 | } = r.style;
60 |
61 | if (width) {
62 | sizing.width = width;
63 | }
64 |
65 | if (maxWidth) {
66 | sizing.maxWidth = maxWidth;
67 | }
68 |
69 | if (margin) {
70 | const [mRight, mLeft] = getRightLeft(margin);
71 | sizing.marginLeft = mLeft;
72 | sizing.marginLeft = mRight;
73 | }
74 |
75 | if (marginLeft) sizing.marginLeft = marginLeft;
76 | if (marginRight) sizing.marginRight = marginRight;
77 |
78 | if (padding) {
79 | const [pRight, pLeft] = getRightLeft(padding);
80 | sizing.paddingLeft = pLeft;
81 | sizing.paddingLeft = pRight;
82 | }
83 |
84 | if (paddingLeft) sizing.paddingLeft = paddingLeft;
85 | if (paddingRight) sizing.paddingRight = paddingRight;
86 | });
87 |
88 | return sizing;
89 | }
90 |
91 | // Apply reference styles to a heading element
92 | function applyRefStyles(heading: HTMLElement, ref: RefSizing | null) {
93 | if (!ref) return;
94 |
95 | for (const key in ref) {
96 | const val = ref[key as keyof RefSizing];
97 |
98 | if (val) {
99 | heading.style.setProperty(keyMap[key], val);
100 | }
101 | }
102 | }
103 |
104 | export class PreviewHeadingsManager {
105 | headings: {
106 | [id: string]: {
107 | leaf: WorkspaceLeaf;
108 | };
109 | } = {};
110 |
111 | previewSizerRef: RefSizing | null = null;
112 | getSettings: () => Settings;
113 |
114 | constructor(getSettings: () => Settings) {
115 | this.getSettings = getSettings;
116 | }
117 |
118 | getPreviewSizerStyles(doc: Document) {
119 | const el = doc.getElementsByClassName("markdown-preview-sizer");
120 |
121 | if (el.length) {
122 | this.previewSizerRef = getRefSizing(el[0] as HTMLElement);
123 | }
124 | }
125 |
126 | // Clean up headings once a pane has been closed or the plugin has been disabled
127 | removeHeading(id: string) {
128 | if (!this.headings[id]) return;
129 |
130 | const doc = this.headings[id].leaf.view.containerEl.ownerDocument;
131 | const h1Preview = doc.getElementById(`${id}-preview`);
132 |
133 | if (h1Preview) h1Preview.remove();
134 |
135 | delete this.headings[id];
136 | }
137 |
138 | createHeading(id: string, leaf: WorkspaceLeaf) {
139 | if (this.headings[id]) return;
140 |
141 | const doc = leaf.view.containerEl.ownerDocument;
142 |
143 | const path = getPathForView(
144 | leaf.view.app,
145 | this.getSettings(),
146 | leaf.view as MarkdownView
147 | );
148 |
149 | const previewContent = leaf.view.containerEl.getElementsByClassName(
150 | "markdown-preview-view"
151 | );
152 |
153 | if (!this.previewSizerRef) {
154 | this.getPreviewSizerStyles(doc);
155 | }
156 |
157 | let previewEl: HTMLDivElement;
158 |
159 | for (let i = 0, len = previewContent.length; i < len; i++) {
160 | if (
161 | previewContent[i].parentElement.parentElement.hasClass("view-content")
162 | ) {
163 | previewEl = previewContent[i] as HTMLDivElement;
164 | break;
165 | }
166 | }
167 |
168 | if (previewEl) {
169 | // Create the preview heading
170 | const h1Preview = doc.createElement("h1");
171 |
172 | applyRefStyles(h1Preview, this.previewSizerRef);
173 |
174 | h1Preview.setText(path);
175 | h1Preview.id = `${id}-preview`;
176 | h1Preview.classList.add(
177 | "embedded-note-path",
178 | "embedded-note-path__preview"
179 | );
180 |
181 | if (path === "") {
182 | h1Preview.classList.add("embedded-note-path__hidden");
183 | }
184 |
185 | previewEl.prepend(h1Preview);
186 |
187 | this.headings[id] = { leaf };
188 | }
189 | }
190 |
191 | // Generate a unique ID for a leaf
192 | getLeafId(leaf: WorkspaceLeaf) {
193 | return "path-" + Math.random().toString(36).substring(2, 9);
194 | }
195 |
196 | // Iterate through all leafs and generate headings if needed
197 | createHeadings(app: App) {
198 | const seen: { [k: string]: boolean } = {};
199 |
200 | app.workspace.getLeavesOfType("markdown").forEach((leaf) => {
201 | const id = this.getLeafId(leaf);
202 |
203 | if (id) {
204 | this.createHeading(id, leaf);
205 | seen[id] = true;
206 | }
207 | });
208 |
209 | Object.keys(this.headings).forEach((id) => {
210 | if (!seen[id]) {
211 | this.removeHeading(id);
212 | }
213 | });
214 | }
215 |
216 | cleanup() {
217 | this.previewSizerRef = null;
218 |
219 | Object.keys(this.headings).forEach((id) => {
220 | this.removeHeading(id);
221 | });
222 | }
223 | }
224 |
--------------------------------------------------------------------------------
/src/getMatchedCSSRules.ts:
--------------------------------------------------------------------------------
1 | const ELEMENT_RE = /[\w-]+/g;
2 | const ID_RE = /#[\w-]+/g;
3 | const CLASS_RE = /\.[\w-]+/g;
4 | const ATTR_RE = /\[[^\]]+\]/g;
5 | const PSEUDO_CLASSES_RE = /\:(?!not)[\w-]+(\(.*\))?/g;
6 | const PSEUDO_ELEMENTS_RE =
7 | /\:\:?(after|before|first-letter|first-line|selection)/g;
8 |
9 | // convert an array-like object to array
10 | function toArray(list: any) {
11 | return [].slice.call(list);
12 | }
13 |
14 | // handles extraction of `cssRules` as an `Array` from a stylesheet or something that behaves the same
15 | function getSheetRules(win: Window, stylesheet: CSSStyleSheet) {
16 | const sheet_media = stylesheet.media && stylesheet.media.mediaText;
17 | // if this sheet is disabled skip it
18 | if (stylesheet.disabled) return [];
19 | // if this sheet's media is specified and doesn't match the viewport then skip it
20 | if (sheet_media && sheet_media.length && !win.matchMedia(sheet_media).matches)
21 | return [];
22 | // get the style rules of this sheet
23 | try {
24 | return toArray(stylesheet.cssRules);
25 | } catch {
26 | return [];
27 | }
28 | }
29 |
30 | function _find(string: string, re: RegExp) {
31 | const matches = string.match(re);
32 | return matches ? matches.length : 0;
33 | }
34 |
35 | // calculates the specificity of a given `selector`
36 | function calculateScore(selector: string) {
37 | const score = [0, 0, 0];
38 | const parts = selector.split(" ");
39 | let part;
40 | let match;
41 |
42 | //TODO: clean the ':not' part since the last ELEMENT_RE will pick it up
43 | while (((part = parts.shift()), typeof part == "string")) {
44 | // find all pseudo-elements
45 | match = _find(part, PSEUDO_ELEMENTS_RE);
46 | score[2] += match;
47 | // and remove them
48 | match && (part = part.replace(PSEUDO_ELEMENTS_RE, ""));
49 | // find all pseudo-classes
50 | match = _find(part, PSEUDO_CLASSES_RE);
51 | score[1] += match;
52 | // and remove them
53 | match && (part = part.replace(PSEUDO_CLASSES_RE, ""));
54 | // find all attributes
55 | match = _find(part, ATTR_RE);
56 | score[1] += match;
57 | // and remove them
58 | match && (part = part.replace(ATTR_RE, ""));
59 | // find all IDs
60 | match = _find(part, ID_RE);
61 | score[0] += match;
62 | // and remove them
63 | match && (part = part.replace(ID_RE, ""));
64 | // find all classes
65 | match = _find(part, CLASS_RE);
66 | score[1] += match;
67 | // and remove them
68 | match && (part = part.replace(CLASS_RE, ""));
69 | // find all elements
70 | score[2] += _find(part, ELEMENT_RE);
71 | }
72 | return parseInt(score.join(""), 10);
73 | }
74 |
75 | // returns the heights possible specificity score an element can get from a give rule's selectorText
76 | function getSpecificityScore(element: HTMLElement, selectorText: string) {
77 | const selectors = selectorText.split(",");
78 | let selector;
79 | let score;
80 | let result = 0;
81 |
82 | while ((selector = selectors.shift())) {
83 | if (element.matches(selector)) {
84 | score = calculateScore(selector);
85 | result = score > result ? score : result;
86 | }
87 | }
88 |
89 | return result;
90 | }
91 |
92 | function sortBySpecificity(element: HTMLElement, rules: CSSStyleRule[]) {
93 | // comparing function that sorts CSSStyleRules according to specificity of their `selectorText`
94 | function compareSpecificity(a: CSSStyleRule, b: CSSStyleRule) {
95 | let aScore = getSpecificityScore(element, a.selectorText);
96 | let bScore = getSpecificityScore(element, b.selectorText);
97 |
98 | // If the styles come from app.css, they take a lower priority
99 | if (aScore === bScore) {
100 | if (a.parentStyleSheet.href) aScore -= 1;
101 | if (b.parentStyleSheet.href) bScore -= 1;
102 | }
103 |
104 | return aScore - bScore;
105 | }
106 |
107 | return rules.sort(compareSpecificity);
108 | }
109 |
110 | export function getMatchedCSSRules(element: HTMLElement): CSSStyleRule[] {
111 | const win = element.ownerDocument.defaultView;
112 | let styleSheets = toArray(element.ownerDocument.styleSheets);
113 | let sheet;
114 | let rules;
115 | let rule;
116 | let result: CSSStyleRule[] = [];
117 |
118 | // assuming the browser hands us stylesheets in order of appearance
119 | // we iterate them from the beginning to follow proper cascade order
120 | while ((sheet = styleSheets.shift())) {
121 | // get the style rules of this sheet
122 | rules = getSheetRules(win, sheet);
123 | // loop the rules in order of appearance
124 | while ((rule = rules.shift())) {
125 | // if this is an @import rule
126 | if (rule.styleSheet) {
127 | // insert the imported stylesheet's rules at the beginning of this stylesheet's rules
128 | rules = getSheetRules(win, rule.styleSheet).concat(rules);
129 | // and skip this rule
130 | continue;
131 | }
132 | // if there's no stylesheet attribute BUT there IS a media attribute it's a media rule
133 | else if (rule.media) {
134 | // insert the contained rules of this media rule to the beginning of this stylesheet's rules
135 | rules = getSheetRules(win, rule).concat(rules);
136 | // and skip it
137 | continue;
138 | }
139 |
140 | // check if this element matches this rule's selector
141 | if (rule.selectorText && element.matches(rule.selectorText)) {
142 | // push the rule to the results set
143 | result.push(rule);
144 | }
145 | }
146 | }
147 | // sort according to specificity
148 | return sortBySpecificity(element, result);
149 | }
150 |
--------------------------------------------------------------------------------
/src/main.ts:
--------------------------------------------------------------------------------
1 | import { EditorView } from "@codemirror/view";
2 | import {
3 | App,
4 | MarkdownView,
5 | Plugin,
6 | PluginSettingTab,
7 | Setting,
8 | TFile,
9 | } from "obsidian";
10 | import { getDailyNoteSettings } from "obsidian-daily-notes-interface";
11 | import { PreviewHeadingsManager } from "./HeadingsManager";
12 | import { Settings } from "./settings";
13 | import { buildPathDecoration, updatePath } from "./pathDecoration";
14 |
15 | export default class EmbeddedNotePathsPlugin extends Plugin {
16 | settings: Settings;
17 | isLegacyEditor: boolean;
18 |
19 | previewHeadingsManager: PreviewHeadingsManager;
20 |
21 | observer: ResizeObserver;
22 | observedPaths: Map void>;
23 |
24 | async onload() {
25 | document.body.classList.add("embedded-note-paths");
26 |
27 | await this.loadSettings();
28 |
29 | this.addSettingTab(new EmbeddedNotePathsSettings(this.app, this));
30 |
31 | const getSettings = () => this.settings;
32 |
33 | this.app.workspace.trigger("parse-style-settings");
34 | this.previewHeadingsManager = new PreviewHeadingsManager(getSettings);
35 | this.isLegacyEditor = (this.app.vault as any).getConfig("legacyEditor");
36 |
37 | if (!this.isLegacyEditor) {
38 | this.observedPaths = new Map();
39 | this.observer = new ResizeObserver((entries) => {
40 | entries.forEach((entry) => {
41 | if (this.observedPaths.has(entry.target as HTMLElement)) {
42 | this.observedPaths.get(entry.target as HTMLElement)(entry);
43 | }
44 | });
45 | });
46 |
47 | this.registerEditorExtension(buildPathDecoration(this, getSettings));
48 |
49 | const notifyFileChange = (file: TFile) => {
50 | const markdownLeaves = this.app.workspace.getLeavesOfType("markdown");
51 |
52 | markdownLeaves.forEach((leaf) => {
53 | const view = leaf.view as MarkdownView;
54 |
55 | if (view.file === file) {
56 | ((view.editor as any).cm as EditorView).dispatch({
57 | effects: updatePath.of(),
58 | });
59 | }
60 | });
61 | };
62 |
63 | this.registerEvent(this.app.vault.on("rename", notifyFileChange));
64 |
65 | this.registerEvent(
66 | this.app.metadataCache.on("changed", (file) => {
67 | const frontmatterKey = this.settings.pathMetadataField;
68 | const hideOnH1 = this.settings.hideOnH1;
69 |
70 | if (frontmatterKey || hideOnH1) {
71 | notifyFileChange(file);
72 | }
73 | })
74 | );
75 | }
76 |
77 | this.registerEvent(
78 | this.app.metadataCache.on("changed", (file) => {
79 | const frontmatterKey = this.settings.pathMetadataField;
80 | const hideOnH1 = this.settings.hideOnH1;
81 |
82 | if (frontmatterKey || hideOnH1) {
83 | const cache = this.app.metadataCache.getFileCache(file);
84 |
85 | if (
86 | hideOnH1 ||
87 | (frontmatterKey &&
88 | cache?.frontmatter &&
89 | cache.frontmatter[frontmatterKey])
90 | ) {
91 | setTimeout(() => {
92 | this.previewHeadingsManager.createHeadings(this.app);
93 | }, 0);
94 | }
95 | }
96 | })
97 | );
98 |
99 | this.registerEvent(
100 | this.app.workspace.on("layout-change", () => {
101 | setTimeout(() => {
102 | this.previewHeadingsManager.createHeadings(this.app);
103 | }, 0);
104 |
105 | if (!this.isLegacyEditor) {
106 | setTimeout(() => {
107 | this.observedPaths.forEach((_, el) => {
108 | if (
109 | this.app.workspace
110 | .getLeavesOfType("markdown")
111 | .every((leaf) => !leaf.view.containerEl.find(`#${el.id}`))
112 | ) {
113 | this.unobservePath(el);
114 | el.remove();
115 | }
116 | });
117 | }, 100);
118 | }
119 | })
120 | );
121 |
122 | // Listen for CSS changes so we can recalculate heading styles
123 | this.registerEvent(
124 | this.app.workspace.on("css-change", () => {
125 | this.previewHeadingsManager.cleanup();
126 |
127 | setTimeout(() => {
128 | this.previewHeadingsManager.createHeadings(this.app);
129 | }, 0);
130 | })
131 | );
132 |
133 | this.app.workspace.onLayoutReady(() => {
134 | // Trigger layout-change to ensure headings are created when the app loads
135 | this.app.workspace.trigger("layout-change");
136 | });
137 | }
138 |
139 | onunload() {
140 | document.body.classList.remove("embedded-note-paths");
141 |
142 | this.previewHeadingsManager.cleanup();
143 | this.observer.disconnect();
144 | this.observedPaths.forEach((_, el) => {
145 | el.remove();
146 | });
147 | this.observedPaths.clear();
148 | }
149 |
150 | observePath(el: HTMLElement, cb: (entry: ResizeObserverEntry) => void) {
151 | this.observedPaths.set(el, cb);
152 | this.observer.observe(el, {
153 | box: "border-box",
154 | });
155 | }
156 |
157 | unobservePath(el: HTMLElement) {
158 | if (this.observedPaths.has(el)) {
159 | this.observedPaths.delete(el);
160 | this.observer.unobserve(el);
161 | }
162 | }
163 |
164 | async loadSettings() {
165 | this.settings = Object.assign({}, await this.loadData());
166 | }
167 |
168 | async saveSettings() {
169 | if (!this.isLegacyEditor) {
170 | const markdownLeaves = this.app.workspace.getLeavesOfType("markdown");
171 |
172 | markdownLeaves.forEach((leaf) => {
173 | const view = leaf.view as MarkdownView;
174 |
175 | ((view.editor as any).cm as EditorView).dispatch({
176 | effects: updatePath.of(),
177 | });
178 | });
179 | }
180 |
181 | this.previewHeadingsManager.cleanup();
182 |
183 | setTimeout(() => {
184 | this.previewHeadingsManager.createHeadings(this.app);
185 | }, 0);
186 |
187 | await this.saveData(this.settings);
188 | }
189 | }
190 |
191 | class EmbeddedNotePathsSettings extends PluginSettingTab {
192 | plugin: EmbeddedNotePathsPlugin;
193 |
194 | constructor(app: App, plugin: EmbeddedNotePathsPlugin) {
195 | super(app, plugin);
196 | this.plugin = plugin;
197 | }
198 |
199 | display(): void {
200 | let { containerEl } = this;
201 |
202 | containerEl.empty();
203 |
204 | new Setting(containerEl)
205 | .setName("Frontmatter field as path")
206 | .setDesc(
207 | "When a file contains this frontmatter field, it will be used as the embedded path"
208 | )
209 | .addText((text) => {
210 | text
211 | .setValue(this.plugin.settings.pathMetadataField || "")
212 | .onChange(async (value) => {
213 | this.plugin.settings.pathMetadataField = value;
214 | await this.plugin.saveSettings();
215 | });
216 | });
217 |
218 | new Setting(containerEl)
219 | .setName("Hide embedded path when level 1 heading is present")
220 | .addToggle((toggle) => {
221 | toggle
222 | .setValue(this.plugin.settings.hideOnH1)
223 | .onChange(async (value) => {
224 | this.plugin.settings.hideOnH1 = value;
225 | await this.plugin.saveSettings();
226 | });
227 | });
228 |
229 | new Setting(containerEl)
230 | .setName("Hide embedded path using metadata `embedded-path: false`")
231 | .addToggle((toggle) => {
232 | toggle
233 | .setValue(this.plugin.settings.hideOnMetadataField)
234 | .onChange(async (value) => {
235 | this.plugin.settings.hideOnMetadataField = value;
236 | await this.plugin.saveSettings();
237 | });
238 | });
239 |
240 | new Setting(containerEl)
241 | .setName("Daily note path format")
242 | .then((setting) => {
243 | setting.addMomentFormat((mf) => {
244 | setting.descEl.appendChild(
245 | createFragment((frag) => {
246 | frag.appendText(
247 | "This format will be used when displaying paths of daily notes."
248 | );
249 | frag.createEl("br");
250 | frag.appendText("For more syntax, refer to ");
251 | frag.createEl(
252 | "a",
253 | {
254 | text: "format reference",
255 | href: "https://momentjs.com/docs/#/displaying/format/",
256 | },
257 | (a) => {
258 | a.setAttr("target", "_blank");
259 | }
260 | );
261 | frag.createEl("br");
262 | frag.appendText("Your current syntax looks like this: ");
263 | mf.setSampleEl(frag.createEl("b", { cls: "u-pop" }));
264 | frag.createEl("br");
265 | })
266 | );
267 |
268 | const dailyNoteSettings = getDailyNoteSettings();
269 | const defaultFormat = dailyNoteSettings.format || "YYYY-MM-DD";
270 |
271 | mf.setPlaceholder(defaultFormat);
272 | mf.setDefaultFormat(defaultFormat);
273 |
274 | if (this.plugin.settings.dailyNotePathFormat) {
275 | mf.setValue(this.plugin.settings.dailyNotePathFormat);
276 | }
277 |
278 | mf.onChange(async (value) => {
279 | this.plugin.settings.dailyNotePathFormat = value
280 | ? value
281 | : undefined;
282 | await this.plugin.saveSettings();
283 | });
284 | });
285 | });
286 |
287 | new Setting(containerEl)
288 | .setName("Display leading slash")
289 | .addToggle((toggle) => {
290 | toggle
291 | .setValue(this.plugin.settings.displayLeadingSlash)
292 | .onChange(async (value) => {
293 | this.plugin.settings.displayLeadingSlash = value;
294 | await this.plugin.saveSettings();
295 | });
296 | });
297 |
298 | new Setting(containerEl)
299 | .setName("Display trailing slash")
300 | .addToggle((toggle) => {
301 | toggle
302 | .setValue(this.plugin.settings.displayTrailingSlash)
303 | .onChange(async (value) => {
304 | this.plugin.settings.displayTrailingSlash = value;
305 | await this.plugin.saveSettings();
306 | });
307 | });
308 |
309 | new Setting(containerEl)
310 | .setName("Display filename")
311 | .addToggle((toggle) => {
312 | toggle
313 | .setValue(this.plugin.settings.displayFilename)
314 | .onChange(async (value) => {
315 | this.plugin.settings.displayFilename = value;
316 | await this.plugin.saveSettings();
317 | });
318 | });
319 |
320 | }
321 | }
322 |
--------------------------------------------------------------------------------
/src/pathDecoration.ts:
--------------------------------------------------------------------------------
1 | import { StateEffect } from "@codemirror/state";
2 | import { EditorView, ViewPlugin, ViewUpdate } from "@codemirror/view";
3 | import { App, CachedMetadata, editorViewField, MarkdownView } from "obsidian";
4 | import { getDateFromFile } from "obsidian-daily-notes-interface";
5 | import { hidePathField, Settings } from "./settings";
6 | import EmbeddedNotePathsPlugin from "./main";
7 |
8 | export const updatePath = StateEffect.define();
9 |
10 | function shouldHide(cache: CachedMetadata, settings: Settings) {
11 | if (
12 | settings.hideOnMetadataField &&
13 | cache?.frontmatter &&
14 | cache.frontmatter[hidePathField] === false
15 | ) {
16 | return true;
17 | }
18 |
19 | if (settings.hideOnH1 && cache?.sections) {
20 | if (!cache.headings) return false;
21 |
22 | if (
23 | cache.sections &&
24 | cache.sections[0]?.type === "heading" &&
25 | cache.headings &&
26 | cache.headings[0]?.level === 1
27 | ) {
28 | return true;
29 | }
30 |
31 | if (
32 | cache.sections &&
33 | cache.sections[0]?.type === "yaml" &&
34 | cache.sections[1]?.type === "heading" &&
35 | cache.headings[0]?.level === 1
36 | ) {
37 | return true;
38 | }
39 | }
40 |
41 | return false;
42 | }
43 |
44 | export function getPathForView(
45 | app: App,
46 | settings: Settings,
47 | view: MarkdownView
48 | ) {
49 | const frontmatterKey = settings.pathMetadataField;
50 | const file = view.file;
51 |
52 | let path = file?.path?.includes("/") && file?.path?.replace(/^(.*)\/.*/, "$1")
53 | if (settings.displayLeadingSlash) {
54 | path = path && `/${path}`
55 | }
56 | if (settings.displayFilename) {
57 | path = path && `${path}/${file.basename}`
58 | } else if (settings.displayTrailingSlash) {
59 | path = path && `${path}/`
60 | }
61 |
62 | if (file) {
63 | const cache = app.metadataCache.getFileCache(file);
64 |
65 | if (shouldHide(cache, settings)) {
66 | return " ";
67 | }
68 |
69 | if (
70 | frontmatterKey &&
71 | cache?.frontmatter &&
72 | cache.frontmatter[frontmatterKey]
73 | ) {
74 | return cache.frontmatter[frontmatterKey] || path || " ";
75 | }
76 | }
77 |
78 | if (file && settings.dailyNotePathFormat) {
79 | const date = getDateFromFile(file, "day");
80 |
81 | if (date) {
82 | return date.format(settings.dailyNotePathFormat);
83 | }
84 | }
85 |
86 | return path || " ";
87 | }
88 |
89 | export function buildPathDecoration(
90 | plugin: EmbeddedNotePathsPlugin,
91 | getSettings: () => Settings
92 | ) {
93 | return [
94 | ViewPlugin.fromClass(
95 | class {
96 | header: HTMLElement;
97 | path: string;
98 | debounce: number;
99 |
100 | constructor(view: EditorView) {
101 | this.path = getPathForView(
102 | plugin.app,
103 | getSettings(),
104 | view.state.field(editorViewField)
105 | );
106 |
107 | // This shouldn't happen, but just to be safe, remove any straggling paths
108 | view.contentDOM.parentElement.childNodes.forEach((node) => {
109 | if (
110 | node instanceof HTMLElement &&
111 | node.hasClass("embedded-note-path")
112 | ) {
113 | plugin.unobservePath(node);
114 | node.remove();
115 | }
116 | });
117 |
118 | this.header = createEl("code", {
119 | text: this.path,
120 | cls: `cm-line embedded-note-path embedded-note-path__edit${
121 | this.path === " " ? " embedded-note-path__hidden" : ""
122 | }`,
123 | attr: {
124 | id: "path-cm6-" + Math.random().toString(36).substr(2, 9),
125 | style: "font-style: italic; opacity: 0.5; font-size: 1rem;",
126 | },
127 | });
128 |
129 | setTimeout(() => {
130 | view.contentDOM.before(this.header);
131 | })
132 |
133 | plugin.observePath(this.header, (entry) => {
134 | if (entry.borderBoxSize[0]) {
135 | this.adjustGutter(entry.borderBoxSize[0].blockSize);
136 | } else {
137 | this.adjustGutter(entry.contentRect.height);
138 | }
139 | });
140 |
141 | this.adjustGutter(this.header.getBoundingClientRect().height);
142 | }
143 |
144 | adjustGutter(padding: number) {
145 | clearTimeout(this.debounce);
146 |
147 | this.debounce = window.setTimeout(() => {
148 | const dom = this.header?.closest(".markdown-source-view");
149 |
150 | if (!dom) return;
151 |
152 | let currentStyle = dom.getAttr("style");
153 |
154 | if (!currentStyle) {
155 | currentStyle = "";
156 | }
157 |
158 | if (currentStyle.contains("--embedded-note")) {
159 | currentStyle = currentStyle.replace(
160 | /--embedded-note-path-height: \d+px;/g,
161 | ""
162 | );
163 | }
164 |
165 | if (currentStyle && !currentStyle.endsWith(";")) {
166 | currentStyle += `;--embedded-note-path-height: ${padding}px;`;
167 | } else {
168 | currentStyle += `--embedded-note-path-height: ${padding}px;`;
169 | }
170 |
171 | dom.setAttribute("style", currentStyle);
172 | }, 10);
173 | }
174 |
175 | revertGutter() {
176 | const dom = this.header.closest(".markdown-source-view");
177 | let currentStyle = dom.getAttr("style");
178 |
179 | if (currentStyle && currentStyle.contains("--embedded-note")) {
180 | currentStyle = currentStyle.replace(
181 | /--embedded-note-path-height: \d+px;/g,
182 | ""
183 | );
184 |
185 | dom.setAttribute("style", currentStyle);
186 | }
187 | }
188 |
189 | update(viewUpdate: ViewUpdate) {
190 | viewUpdate.transactions.forEach((tr) => {
191 | for (let e of tr.effects) {
192 | if (e.is(updatePath)) {
193 | const newPath = getPathForView(
194 | plugin.app,
195 | getSettings(),
196 | tr.state.field(editorViewField)
197 | );
198 |
199 | if (this.path === newPath) {
200 | return;
201 | }
202 |
203 | this.path = newPath;
204 | this.header.setText(this.path);
205 |
206 | if (this.path === " ") {
207 | this.header.classList.add("embedded-note-path__hidden");
208 | } else {
209 | this.header.classList.remove("embedded-note-path__hidden");
210 | }
211 | }
212 | }
213 | });
214 | }
215 |
216 | destroy() {
217 | plugin.unobservePath(this.header);
218 | this.header.remove();
219 | this.header = null;
220 | }
221 | }
222 | ),
223 | ];
224 | }
225 |
--------------------------------------------------------------------------------
/src/settings.ts:
--------------------------------------------------------------------------------
1 | export interface Settings {
2 | pathMetadataField?: string;
3 | hideOnH1?: boolean;
4 | hideOnMetadataField?: boolean;
5 | dailyNotePathFormat?: string;
6 | displayLeadingSlash?: boolean;
7 | displayTrailingSlash?: boolean;
8 | displayFilename?: boolean;
9 | }
10 |
11 | export const hidePathField = 'embedded-path'
12 |
--------------------------------------------------------------------------------
/styles.css:
--------------------------------------------------------------------------------
1 | /* @settings
2 |
3 | name: Embedded Note Paths
4 | id: embedded-note-paths
5 | settings:
6 | -
7 | id: embedded-note-path-font
8 | title: Font
9 | type: variable-text
10 | default: Inter
11 | -
12 | id: embedded-note-path-size
13 | title: Font Size
14 | type: variable-number-slider
15 | default: 32
16 | format: px
17 | min: 10
18 | max: 80
19 | step: 1
20 | -
21 | id: embedded-note-path-weight
22 | title: Font Weight
23 | type: variable-number-slider
24 | default: 800
25 | min: 100
26 | max: 1000
27 | step: 100
28 | -
29 | id: embedded-note-path-line-height
30 | title: Line Height
31 | type: variable-number-slider
32 | default: 1.4
33 | min: 1
34 | max: 2
35 | step: 0.05
36 | -
37 | id: embedded-note-path-padding-bottom
38 | title: Bottom Spacing
39 | type: variable-number-slider
40 | default: 0
41 | format: rem
42 | min: 0
43 | max: 5
44 | step: 0.25
45 | -
46 | id: embedded-note-path-padding-top
47 | title: Top Spacing
48 | type: variable-number-slider
49 | default: 0
50 | format: rem
51 | min: 0
52 | max: 5
53 | step: 0.25
54 |
55 | */
56 |
57 | :root {
58 | --embedded-note-path-size: 32px;
59 | --embedded-note-path-font: var(--default-font);
60 | --embedded-note-path-line-height: 1.4;
61 | --embedded-note-path-padding-bottom: 0;
62 | --embedded-note-path-padding-top: 0;
63 | --embedded-note-path-weight: 800;
64 | --embedded-note-path-height: 0;
65 | }
66 |
67 | h1.embedded-note-path,
68 | h1.cm-line.embedded-note-path {
69 | font-family: var(--embedded-note-path-font);
70 | font-size: var(--embedded-note-path-size);
71 | margin-bottom: 0;
72 | margin-top: 0;
73 | padding-top: var(--embedded-note-path-padding-top);
74 | padding-bottom: var(--embedded-note-path-padding-bottom);
75 | line-height: var(--embedded-note-path-line-height);
76 | font-weight: var(--embedded-note-path-weight);
77 | }
78 |
79 | h1.embedded-note-path.embedded-note-path__hidden,
80 | h1.cm-line.embedded-note-path.embedded-note-path__hidden {
81 | padding-bottom: 0 !important;
82 | line-height: 0;
83 | }
84 |
85 | .markdown-source-view.mod-cm6 .cm-gutters {
86 | padding-top: var(--embedded-note-path-height);
87 | }
88 |
--------------------------------------------------------------------------------
/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 | "scripthost",
16 | "es2015"
17 | ]
18 | },
19 | "include": [
20 | "**/*.ts"
21 | ]
22 | }
23 |
--------------------------------------------------------------------------------
/yarn.lock:
--------------------------------------------------------------------------------
1 | # This file is generated by running "yarn install" inside your project.
2 | # Manual changes might be lost - proceed with caution!
3 |
4 | __metadata:
5 | version: 6
6 | cacheKey: 8
7 |
8 | "@codemirror/state@npm:^6.0.0":
9 | version: 6.0.1
10 | resolution: "@codemirror/state@npm:6.0.1"
11 | checksum: fcb5aa5e1ce455ed1261616beb6cdb9e855f9cf11618a1ef7f61142622a0aba4551605356d381d2fa96f021f932b71323808369bf8edadfa69d745252b7e6ccd
12 | languageName: node
13 | linkType: hard
14 |
15 | "@codemirror/view@npm:^6.0.0":
16 | version: 6.0.1
17 | resolution: "@codemirror/view@npm:6.0.1"
18 | dependencies:
19 | "@codemirror/state": ^6.0.0
20 | style-mod: ^4.0.0
21 | w3c-keyname: ^2.2.4
22 | checksum: 92205f35bde328a84705e0afc1fb9c0b4eb06eb99f08a2d2bc9526a499c980b46ce3312f7b311a1c301bb17b96aa0a7d8c79fbeeea65a27ed9ae4842cc67bfa2
23 | languageName: node
24 | linkType: hard
25 |
26 | "@gar/promisify@npm:^1.1.3":
27 | version: 1.1.3
28 | resolution: "@gar/promisify@npm:1.1.3"
29 | checksum: 4059f790e2d07bf3c3ff3e0fec0daa8144fe35c1f6e0111c9921bd32106adaa97a4ab096ad7dab1e28ee6a9060083c4d1a4ada42a7f5f3f7a96b8812e2b757c1
30 | languageName: node
31 | linkType: hard
32 |
33 | "@npmcli/fs@npm:^2.1.0":
34 | version: 2.1.2
35 | resolution: "@npmcli/fs@npm:2.1.2"
36 | dependencies:
37 | "@gar/promisify": ^1.1.3
38 | semver: ^7.3.5
39 | checksum: 405074965e72d4c9d728931b64d2d38e6ea12066d4fad651ac253d175e413c06fe4350970c783db0d749181da8fe49c42d3880bd1cbc12cd68e3a7964d820225
40 | languageName: node
41 | linkType: hard
42 |
43 | "@npmcli/move-file@npm:^2.0.0":
44 | version: 2.0.1
45 | resolution: "@npmcli/move-file@npm:2.0.1"
46 | dependencies:
47 | mkdirp: ^1.0.4
48 | rimraf: ^3.0.2
49 | checksum: 52dc02259d98da517fae4cb3a0a3850227bdae4939dda1980b788a7670636ca2b4a01b58df03dd5f65c1e3cb70c50fa8ce5762b582b3f499ec30ee5ce1fd9380
50 | languageName: node
51 | linkType: hard
52 |
53 | "@rollup/plugin-commonjs@npm:^15.1.0":
54 | version: 15.1.0
55 | resolution: "@rollup/plugin-commonjs@npm:15.1.0"
56 | dependencies:
57 | "@rollup/pluginutils": ^3.1.0
58 | commondir: ^1.0.1
59 | estree-walker: ^2.0.1
60 | glob: ^7.1.6
61 | is-reference: ^1.2.1
62 | magic-string: ^0.25.7
63 | resolve: ^1.17.0
64 | peerDependencies:
65 | rollup: ^2.22.0
66 | checksum: 3b6433be013792728295bd7020684c819ae2a499b0807c7a3fad5a9d593592cebf2a8d2fc51b4a3b849d15ee6d0e649a179342249fcbb3b2d34320963f1b72eb
67 | languageName: node
68 | linkType: hard
69 |
70 | "@rollup/plugin-node-resolve@npm:^9.0.0":
71 | version: 9.0.0
72 | resolution: "@rollup/plugin-node-resolve@npm:9.0.0"
73 | dependencies:
74 | "@rollup/pluginutils": ^3.1.0
75 | "@types/resolve": 1.17.1
76 | builtin-modules: ^3.1.0
77 | deepmerge: ^4.2.2
78 | is-module: ^1.0.0
79 | resolve: ^1.17.0
80 | peerDependencies:
81 | rollup: ^1.20.0||^2.0.0
82 | checksum: 5f05cb85b9f92d1cedf118ff7e1350bafebb48a95e8a4642b49d0836397e1db84df744b64b09cbc3d1b69d9f1ede77e299b9cad60f769d00b6966b0a9cc35800
83 | languageName: node
84 | linkType: hard
85 |
86 | "@rollup/plugin-typescript@npm:^6.0.0":
87 | version: 6.1.0
88 | resolution: "@rollup/plugin-typescript@npm:6.1.0"
89 | dependencies:
90 | "@rollup/pluginutils": ^3.1.0
91 | resolve: ^1.17.0
92 | peerDependencies:
93 | rollup: ^2.14.0
94 | tslib: "*"
95 | typescript: ">=3.4.0"
96 | checksum: d944f2c6d393e1746b88188bf8e0204d3f568eebf3b07108357a862638b168eeef6077788544f86af7b0e7c39cb9e24795a8d905ad9838dc61609952a6152114
97 | languageName: node
98 | linkType: hard
99 |
100 | "@rollup/pluginutils@npm:^3.1.0":
101 | version: 3.1.0
102 | resolution: "@rollup/pluginutils@npm:3.1.0"
103 | dependencies:
104 | "@types/estree": 0.0.39
105 | estree-walker: ^1.0.1
106 | picomatch: ^2.2.2
107 | peerDependencies:
108 | rollup: ^1.20.0||^2.0.0
109 | checksum: 8be16e27863c219edbb25a4e6ec2fe0e1e451d9e917b6a43cf2ae5bc025a6b8faaa40f82a6e53b66d0de37b58ff472c6c3d57a83037ae635041f8df959d6d9aa
110 | languageName: node
111 | linkType: hard
112 |
113 | "@tootallnate/once@npm:2":
114 | version: 2.0.0
115 | resolution: "@tootallnate/once@npm:2.0.0"
116 | checksum: ad87447820dd3f24825d2d947ebc03072b20a42bfc96cbafec16bff8bbda6c1a81fcb0be56d5b21968560c5359a0af4038a68ba150c3e1694fe4c109a063bed8
117 | languageName: node
118 | linkType: hard
119 |
120 | "@types/codemirror@npm:0.0.108":
121 | version: 0.0.108
122 | resolution: "@types/codemirror@npm:0.0.108"
123 | dependencies:
124 | "@types/tern": "*"
125 | checksum: 0951282991d004df056451ba04a2ee01ec409be0336c985bd825a5483bf9582f5daaf9ccc89aecbedfda64b9c93cf42e36feb52002f348542cda4bafaf3d28cf
126 | languageName: node
127 | linkType: hard
128 |
129 | "@types/estree@npm:*, @types/estree@npm:0.0.39":
130 | version: 0.0.39
131 | resolution: "@types/estree@npm:0.0.39"
132 | checksum: 412fb5b9868f2c418126451821833414189b75cc6bf84361156feed733e3d92ec220b9d74a89e52722e03d5e241b2932732711b7497374a404fad49087adc248
133 | languageName: node
134 | linkType: hard
135 |
136 | "@types/node@npm:*, @types/node@npm:^14.14.2":
137 | version: 14.14.37
138 | resolution: "@types/node@npm:14.14.37"
139 | checksum: 647e671ac3815f428a07ae9353ebab93c5335d4d0a461ca837a79eebf55c04f28bee80f0c43881cdd8696f595feb112bc8eb74f6124125e02f79a7677374c187
140 | languageName: node
141 | linkType: hard
142 |
143 | "@types/resolve@npm:1.17.1":
144 | version: 1.17.1
145 | resolution: "@types/resolve@npm:1.17.1"
146 | dependencies:
147 | "@types/node": "*"
148 | checksum: dc6a6df507656004e242dcb02c784479deca516d5f4b58a1707e708022b269ae147e1da0521f3e8ad0d63638869d87e0adc023f0bd5454aa6f72ac66c7525cf5
149 | languageName: node
150 | linkType: hard
151 |
152 | "@types/tern@npm:*":
153 | version: 0.23.3
154 | resolution: "@types/tern@npm:0.23.3"
155 | dependencies:
156 | "@types/estree": "*"
157 | checksum: c219c5cae8932e399f2e2fef6e741c85ad67b421af55480a4255630edcd63bafc3ac7a31064024fbfcba25d57577eed49e5dc1b6775ab12aa5011cb469daed4e
158 | languageName: node
159 | linkType: hard
160 |
161 | "abbrev@npm:1":
162 | version: 1.1.1
163 | resolution: "abbrev@npm:1.1.1"
164 | checksum: a4a97ec07d7ea112c517036882b2ac22f3109b7b19077dc656316d07d308438aac28e4d9746dc4d84bf6b1e75b4a7b0a5f3cb30592419f128ca9a8cee3bcfa17
165 | languageName: node
166 | linkType: hard
167 |
168 | "agent-base@npm:6, agent-base@npm:^6.0.2":
169 | version: 6.0.2
170 | resolution: "agent-base@npm:6.0.2"
171 | dependencies:
172 | debug: 4
173 | checksum: f52b6872cc96fd5f622071b71ef200e01c7c4c454ee68bc9accca90c98cfb39f2810e3e9aa330435835eedc8c23f4f8a15267f67c6e245d2b33757575bdac49d
174 | languageName: node
175 | linkType: hard
176 |
177 | "agentkeepalive@npm:^4.2.1":
178 | version: 4.2.1
179 | resolution: "agentkeepalive@npm:4.2.1"
180 | dependencies:
181 | debug: ^4.1.0
182 | depd: ^1.1.2
183 | humanize-ms: ^1.2.1
184 | checksum: 39cb49ed8cf217fd6da058a92828a0a84e0b74c35550f82ee0a10e1ee403c4b78ade7948be2279b188b7a7303f5d396ea2738b134731e464bf28de00a4f72a18
185 | languageName: node
186 | linkType: hard
187 |
188 | "aggregate-error@npm:^3.0.0":
189 | version: 3.1.0
190 | resolution: "aggregate-error@npm:3.1.0"
191 | dependencies:
192 | clean-stack: ^2.0.0
193 | indent-string: ^4.0.0
194 | checksum: 1101a33f21baa27a2fa8e04b698271e64616b886795fd43c31068c07533c7b3facfcaf4e9e0cab3624bd88f729a592f1c901a1a229c9e490eafce411a8644b79
195 | languageName: node
196 | linkType: hard
197 |
198 | "ansi-regex@npm:^5.0.1":
199 | version: 5.0.1
200 | resolution: "ansi-regex@npm:5.0.1"
201 | checksum: 2aa4bb54caf2d622f1afdad09441695af2a83aa3fe8b8afa581d205e57ed4261c183c4d3877cee25794443fde5876417d859c108078ab788d6af7e4fe52eb66b
202 | languageName: node
203 | linkType: hard
204 |
205 | "aproba@npm:^1.0.3 || ^2.0.0":
206 | version: 2.0.0
207 | resolution: "aproba@npm:2.0.0"
208 | checksum: 5615cadcfb45289eea63f8afd064ab656006361020e1735112e346593856f87435e02d8dcc7ff0d11928bc7d425f27bc7c2a84f6c0b35ab0ff659c814c138a24
209 | languageName: node
210 | linkType: hard
211 |
212 | "are-we-there-yet@npm:^3.0.0":
213 | version: 3.0.1
214 | resolution: "are-we-there-yet@npm:3.0.1"
215 | dependencies:
216 | delegates: ^1.0.0
217 | readable-stream: ^3.6.0
218 | checksum: 52590c24860fa7173bedeb69a4c05fb573473e860197f618b9a28432ee4379049336727ae3a1f9c4cb083114601c1140cee578376164d0e651217a9843f9fe83
219 | languageName: node
220 | linkType: hard
221 |
222 | "balanced-match@npm:^1.0.0":
223 | version: 1.0.0
224 | resolution: "balanced-match@npm:1.0.0"
225 | checksum: 9b67bfe558772f40cf743a3469b48b286aecec2ea9fe80c48d74845e53aab1cef524fafedf123a63019b49ac397760573ef5f173f539423061f7217cbb5fbd40
226 | languageName: node
227 | linkType: hard
228 |
229 | "brace-expansion@npm:^1.1.7":
230 | version: 1.1.11
231 | resolution: "brace-expansion@npm:1.1.11"
232 | dependencies:
233 | balanced-match: ^1.0.0
234 | concat-map: 0.0.1
235 | checksum: faf34a7bb0c3fcf4b59c7808bc5d2a96a40988addf2e7e09dfbb67a2251800e0d14cd2bfc1aa79174f2f5095c54ff27f46fb1289fe2d77dac755b5eb3434cc07
236 | languageName: node
237 | linkType: hard
238 |
239 | "brace-expansion@npm:^2.0.1":
240 | version: 2.0.1
241 | resolution: "brace-expansion@npm:2.0.1"
242 | dependencies:
243 | balanced-match: ^1.0.0
244 | checksum: a61e7cd2e8a8505e9f0036b3b6108ba5e926b4b55089eeb5550cd04a471fe216c96d4fe7e4c7f995c728c554ae20ddfc4244cad10aef255e72b62930afd233d1
245 | languageName: node
246 | linkType: hard
247 |
248 | "builtin-modules@npm:^3.1.0":
249 | version: 3.2.0
250 | resolution: "builtin-modules@npm:3.2.0"
251 | checksum: 0265aa1ba78e1a16f4e18668d815cb43fb364e6a6b8aa9189c6f44c7b894a551a43b323c40206959d2d4b2568c1f2805607ad6c88adc306a776ce6904cca6715
252 | languageName: node
253 | linkType: hard
254 |
255 | "cacache@npm:^16.1.0":
256 | version: 16.1.2
257 | resolution: "cacache@npm:16.1.2"
258 | dependencies:
259 | "@npmcli/fs": ^2.1.0
260 | "@npmcli/move-file": ^2.0.0
261 | chownr: ^2.0.0
262 | fs-minipass: ^2.1.0
263 | glob: ^8.0.1
264 | infer-owner: ^1.0.4
265 | lru-cache: ^7.7.1
266 | minipass: ^3.1.6
267 | minipass-collect: ^1.0.2
268 | minipass-flush: ^1.0.5
269 | minipass-pipeline: ^1.2.4
270 | mkdirp: ^1.0.4
271 | p-map: ^4.0.0
272 | promise-inflight: ^1.0.1
273 | rimraf: ^3.0.2
274 | ssri: ^9.0.0
275 | tar: ^6.1.11
276 | unique-filename: ^1.1.1
277 | checksum: defe1d6f557ddda178204cac111990da27e8a60ed276fcd608dad7109cc1936e7dcd57d7263d22cdb06a80e7ceb76ab5eb05133c7c7f886abf1d870d722abd6c
278 | languageName: node
279 | linkType: hard
280 |
281 | "chownr@npm:^2.0.0":
282 | version: 2.0.0
283 | resolution: "chownr@npm:2.0.0"
284 | checksum: c57cf9dd0791e2f18a5ee9c1a299ae6e801ff58fee96dc8bfd0dcb4738a6ce58dd252a3605b1c93c6418fe4f9d5093b28ffbf4d66648cb2a9c67eaef9679be2f
285 | languageName: node
286 | linkType: hard
287 |
288 | "clean-stack@npm:^2.0.0":
289 | version: 2.2.0
290 | resolution: "clean-stack@npm:2.2.0"
291 | checksum: 2ac8cd2b2f5ec986a3c743935ec85b07bc174d5421a5efc8017e1f146a1cf5f781ae962618f416352103b32c9cd7e203276e8c28241bbe946160cab16149fb68
292 | languageName: node
293 | linkType: hard
294 |
295 | "color-support@npm:^1.1.3":
296 | version: 1.1.3
297 | resolution: "color-support@npm:1.1.3"
298 | bin:
299 | color-support: bin.js
300 | checksum: 9b7356817670b9a13a26ca5af1c21615463b500783b739b7634a0c2047c16cef4b2865d7576875c31c3cddf9dd621fa19285e628f20198b233a5cfdda6d0793b
301 | languageName: node
302 | linkType: hard
303 |
304 | "commondir@npm:^1.0.1":
305 | version: 1.0.1
306 | resolution: "commondir@npm:1.0.1"
307 | checksum: 59715f2fc456a73f68826285718503340b9f0dd89bfffc42749906c5cf3d4277ef11ef1cca0350d0e79204f00f1f6d83851ececc9095dc88512a697ac0b9bdcb
308 | languageName: node
309 | linkType: hard
310 |
311 | "concat-map@npm:0.0.1":
312 | version: 0.0.1
313 | resolution: "concat-map@npm:0.0.1"
314 | checksum: 902a9f5d8967a3e2faf138d5cb784b9979bad2e6db5357c5b21c568df4ebe62bcb15108af1b2253744844eb964fc023fbd9afbbbb6ddd0bcc204c6fb5b7bf3af
315 | languageName: node
316 | linkType: hard
317 |
318 | "console-control-strings@npm:^1.1.0":
319 | version: 1.1.0
320 | resolution: "console-control-strings@npm:1.1.0"
321 | checksum: 8755d76787f94e6cf79ce4666f0c5519906d7f5b02d4b884cf41e11dcd759ed69c57da0670afd9236d229a46e0f9cf519db0cd829c6dca820bb5a5c3def584ed
322 | languageName: node
323 | linkType: hard
324 |
325 | "debug@npm:4, debug@npm:^4.1.0, debug@npm:^4.3.3":
326 | version: 4.3.4
327 | resolution: "debug@npm:4.3.4"
328 | dependencies:
329 | ms: 2.1.2
330 | peerDependenciesMeta:
331 | supports-color:
332 | optional: true
333 | checksum: 3dbad3f94ea64f34431a9cbf0bafb61853eda57bff2880036153438f50fb5a84f27683ba0d8e5426bf41a8c6ff03879488120cf5b3a761e77953169c0600a708
334 | languageName: node
335 | linkType: hard
336 |
337 | "deepmerge@npm:^4.2.2":
338 | version: 4.2.2
339 | resolution: "deepmerge@npm:4.2.2"
340 | checksum: a8c43a1ed8d6d1ed2b5bf569fa4c8eb9f0924034baf75d5d406e47e157a451075c4db353efea7b6bcc56ec48116a8ce72fccf867b6e078e7c561904b5897530b
341 | languageName: node
342 | linkType: hard
343 |
344 | "delegates@npm:^1.0.0":
345 | version: 1.0.0
346 | resolution: "delegates@npm:1.0.0"
347 | checksum: a51744d9b53c164ba9c0492471a1a2ffa0b6727451bdc89e31627fdf4adda9d51277cfcbfb20f0a6f08ccb3c436f341df3e92631a3440226d93a8971724771fd
348 | languageName: node
349 | linkType: hard
350 |
351 | "depd@npm:^1.1.2":
352 | version: 1.1.2
353 | resolution: "depd@npm:1.1.2"
354 | checksum: 6b406620d269619852885ce15965272b829df6f409724415e0002c8632ab6a8c0a08ec1f0bd2add05dc7bd7507606f7e2cc034fa24224ab829580040b835ecd9
355 | languageName: node
356 | linkType: hard
357 |
358 | "emoji-regex@npm:^8.0.0":
359 | version: 8.0.0
360 | resolution: "emoji-regex@npm:8.0.0"
361 | checksum: d4c5c39d5a9868b5fa152f00cada8a936868fd3367f33f71be515ecee4c803132d11b31a6222b2571b1e5f7e13890156a94880345594d0ce7e3c9895f560f192
362 | languageName: node
363 | linkType: hard
364 |
365 | "encoding@npm:^0.1.13":
366 | version: 0.1.13
367 | resolution: "encoding@npm:0.1.13"
368 | dependencies:
369 | iconv-lite: ^0.6.2
370 | checksum: bb98632f8ffa823996e508ce6a58ffcf5856330fde839ae42c9e1f436cc3b5cc651d4aeae72222916545428e54fd0f6aa8862fd8d25bdbcc4589f1e3f3715e7f
371 | languageName: node
372 | linkType: hard
373 |
374 | "env-paths@npm:^2.2.0":
375 | version: 2.2.1
376 | resolution: "env-paths@npm:2.2.1"
377 | checksum: 65b5df55a8bab92229ab2b40dad3b387fad24613263d103a97f91c9fe43ceb21965cd3392b1ccb5d77088021e525c4e0481adb309625d0cb94ade1d1fb8dc17e
378 | languageName: node
379 | linkType: hard
380 |
381 | "err-code@npm:^2.0.2":
382 | version: 2.0.3
383 | resolution: "err-code@npm:2.0.3"
384 | checksum: 8b7b1be20d2de12d2255c0bc2ca638b7af5171142693299416e6a9339bd7d88fc8d7707d913d78e0993176005405a236b066b45666b27b797252c771156ace54
385 | languageName: node
386 | linkType: hard
387 |
388 | "estree-walker@npm:^1.0.1":
389 | version: 1.0.1
390 | resolution: "estree-walker@npm:1.0.1"
391 | checksum: 7e70da539691f6db03a08e7ce94f394ce2eef4180e136d251af299d41f92fb2d28ebcd9a6e393e3728d7970aeb5358705ddf7209d52fbcb2dd4693f95dcf925f
392 | languageName: node
393 | linkType: hard
394 |
395 | "estree-walker@npm:^2.0.1":
396 | version: 2.0.2
397 | resolution: "estree-walker@npm:2.0.2"
398 | checksum: 6151e6f9828abe2259e57f5fd3761335bb0d2ebd76dc1a01048ccee22fabcfef3c0859300f6d83ff0d1927849368775ec5a6d265dde2f6de5a1be1721cd94efc
399 | languageName: node
400 | linkType: hard
401 |
402 | "fs-minipass@npm:^2.0.0, fs-minipass@npm:^2.1.0":
403 | version: 2.1.0
404 | resolution: "fs-minipass@npm:2.1.0"
405 | dependencies:
406 | minipass: ^3.0.0
407 | checksum: 1b8d128dae2ac6cc94230cc5ead341ba3e0efaef82dab46a33d171c044caaa6ca001364178d42069b2809c35a1c3c35079a32107c770e9ffab3901b59af8c8b1
408 | languageName: node
409 | linkType: hard
410 |
411 | "fs.realpath@npm:^1.0.0":
412 | version: 1.0.0
413 | resolution: "fs.realpath@npm:1.0.0"
414 | checksum: 99ddea01a7e75aa276c250a04eedeffe5662bce66c65c07164ad6264f9de18fb21be9433ead460e54cff20e31721c811f4fb5d70591799df5f85dce6d6746fd0
415 | languageName: node
416 | linkType: hard
417 |
418 | "fsevents@npm:~2.3.1":
419 | version: 2.3.2
420 | resolution: "fsevents@npm:2.3.2"
421 | dependencies:
422 | node-gyp: latest
423 | checksum: 97ade64e75091afee5265e6956cb72ba34db7819b4c3e94c431d4be2b19b8bb7a2d4116da417950c3425f17c8fe693d25e20212cac583ac1521ad066b77ae31f
424 | conditions: os=darwin
425 | languageName: node
426 | linkType: hard
427 |
428 | "fsevents@patch:fsevents@~2.3.1#~builtin":
429 | version: 2.3.2
430 | resolution: "fsevents@patch:fsevents@npm%3A2.3.2#~builtin::version=2.3.2&hash=18f3a7"
431 | dependencies:
432 | node-gyp: latest
433 | conditions: os=darwin
434 | languageName: node
435 | linkType: hard
436 |
437 | "function-bind@npm:^1.1.1":
438 | version: 1.1.1
439 | resolution: "function-bind@npm:1.1.1"
440 | checksum: b32fbaebb3f8ec4969f033073b43f5c8befbb58f1a79e12f1d7490358150359ebd92f49e72ff0144f65f2c48ea2a605bff2d07965f548f6474fd8efd95bf361a
441 | languageName: node
442 | linkType: hard
443 |
444 | "gauge@npm:^4.0.3":
445 | version: 4.0.4
446 | resolution: "gauge@npm:4.0.4"
447 | dependencies:
448 | aproba: ^1.0.3 || ^2.0.0
449 | color-support: ^1.1.3
450 | console-control-strings: ^1.1.0
451 | has-unicode: ^2.0.1
452 | signal-exit: ^3.0.7
453 | string-width: ^4.2.3
454 | strip-ansi: ^6.0.1
455 | wide-align: ^1.1.5
456 | checksum: 788b6bfe52f1dd8e263cda800c26ac0ca2ff6de0b6eee2fe0d9e3abf15e149b651bd27bf5226be10e6e3edb5c4e5d5985a5a1a98137e7a892f75eff76467ad2d
457 | languageName: node
458 | linkType: hard
459 |
460 | "glob@npm:^7.1.3, glob@npm:^7.1.4":
461 | version: 7.2.3
462 | resolution: "glob@npm:7.2.3"
463 | dependencies:
464 | fs.realpath: ^1.0.0
465 | inflight: ^1.0.4
466 | inherits: 2
467 | minimatch: ^3.1.1
468 | once: ^1.3.0
469 | path-is-absolute: ^1.0.0
470 | checksum: 29452e97b38fa704dabb1d1045350fb2467cf0277e155aa9ff7077e90ad81d1ea9d53d3ee63bd37c05b09a065e90f16aec4a65f5b8de401d1dac40bc5605d133
471 | languageName: node
472 | linkType: hard
473 |
474 | "glob@npm:^7.1.6":
475 | version: 7.1.6
476 | resolution: "glob@npm:7.1.6"
477 | dependencies:
478 | fs.realpath: ^1.0.0
479 | inflight: ^1.0.4
480 | inherits: 2
481 | minimatch: ^3.0.4
482 | once: ^1.3.0
483 | path-is-absolute: ^1.0.0
484 | checksum: 351d549dd90553b87c2d3f90ce11aed9e1093c74130440e7ae0592e11bbcd2ce7f0ebb8ba6bfe63aaf9b62166a7f4c80cb84490ae5d78408bb2572bf7d4ee0a6
485 | languageName: node
486 | linkType: hard
487 |
488 | "glob@npm:^8.0.1":
489 | version: 8.0.3
490 | resolution: "glob@npm:8.0.3"
491 | dependencies:
492 | fs.realpath: ^1.0.0
493 | inflight: ^1.0.4
494 | inherits: 2
495 | minimatch: ^5.0.1
496 | once: ^1.3.0
497 | checksum: 50bcdea19d8e79d8de5f460b1939ffc2b3299eac28deb502093fdca22a78efebc03e66bf54f0abc3d3d07d8134d19a32850288b7440d77e072aa55f9d33b18c5
498 | languageName: node
499 | linkType: hard
500 |
501 | "graceful-fs@npm:^4.2.6":
502 | version: 4.2.10
503 | resolution: "graceful-fs@npm:4.2.10"
504 | checksum: 3f109d70ae123951905d85032ebeae3c2a5a7a997430df00ea30df0e3a6c60cf6689b109654d6fdacd28810a053348c4d14642da1d075049e6be1ba5216218da
505 | languageName: node
506 | linkType: hard
507 |
508 | "has-unicode@npm:^2.0.1":
509 | version: 2.0.1
510 | resolution: "has-unicode@npm:2.0.1"
511 | checksum: 1eab07a7436512db0be40a710b29b5dc21fa04880b7f63c9980b706683127e3c1b57cb80ea96d47991bdae2dfe479604f6a1ba410106ee1046a41d1bd0814400
512 | languageName: node
513 | linkType: hard
514 |
515 | "has@npm:^1.0.3":
516 | version: 1.0.3
517 | resolution: "has@npm:1.0.3"
518 | dependencies:
519 | function-bind: ^1.1.1
520 | checksum: b9ad53d53be4af90ce5d1c38331e712522417d017d5ef1ebd0507e07c2fbad8686fffb8e12ddecd4c39ca9b9b47431afbb975b8abf7f3c3b82c98e9aad052792
521 | languageName: node
522 | linkType: hard
523 |
524 | "http-cache-semantics@npm:^4.1.0":
525 | version: 4.1.0
526 | resolution: "http-cache-semantics@npm:4.1.0"
527 | checksum: 974de94a81c5474be07f269f9fd8383e92ebb5a448208223bfb39e172a9dbc26feff250192ecc23b9593b3f92098e010406b0f24bd4d588d631f80214648ed42
528 | languageName: node
529 | linkType: hard
530 |
531 | "http-proxy-agent@npm:^5.0.0":
532 | version: 5.0.0
533 | resolution: "http-proxy-agent@npm:5.0.0"
534 | dependencies:
535 | "@tootallnate/once": 2
536 | agent-base: 6
537 | debug: 4
538 | checksum: e2ee1ff1656a131953839b2a19cd1f3a52d97c25ba87bd2559af6ae87114abf60971e498021f9b73f9fd78aea8876d1fb0d4656aac8a03c6caa9fc175f22b786
539 | languageName: node
540 | linkType: hard
541 |
542 | "https-proxy-agent@npm:^5.0.0":
543 | version: 5.0.1
544 | resolution: "https-proxy-agent@npm:5.0.1"
545 | dependencies:
546 | agent-base: 6
547 | debug: 4
548 | checksum: 571fccdf38184f05943e12d37d6ce38197becdd69e58d03f43637f7fa1269cf303a7d228aa27e5b27bbd3af8f09fd938e1c91dcfefff2df7ba77c20ed8dfc765
549 | languageName: node
550 | linkType: hard
551 |
552 | "humanize-ms@npm:^1.2.1":
553 | version: 1.2.1
554 | resolution: "humanize-ms@npm:1.2.1"
555 | dependencies:
556 | ms: ^2.0.0
557 | checksum: 9c7a74a2827f9294c009266c82031030eae811ca87b0da3dceb8d6071b9bde22c9f3daef0469c3c533cc67a97d8a167cd9fc0389350e5f415f61a79b171ded16
558 | languageName: node
559 | linkType: hard
560 |
561 | "iconv-lite@npm:^0.6.2":
562 | version: 0.6.3
563 | resolution: "iconv-lite@npm:0.6.3"
564 | dependencies:
565 | safer-buffer: ">= 2.1.2 < 3.0.0"
566 | checksum: 3f60d47a5c8fc3313317edfd29a00a692cc87a19cac0159e2ce711d0ebc9019064108323b5e493625e25594f11c6236647d8e256fbe7a58f4a3b33b89e6d30bf
567 | languageName: node
568 | linkType: hard
569 |
570 | "imurmurhash@npm:^0.1.4":
571 | version: 0.1.4
572 | resolution: "imurmurhash@npm:0.1.4"
573 | checksum: 7cae75c8cd9a50f57dadd77482359f659eaebac0319dd9368bcd1714f55e65badd6929ca58569da2b6494ef13fdd5598cd700b1eba23f8b79c5f19d195a3ecf7
574 | languageName: node
575 | linkType: hard
576 |
577 | "indent-string@npm:^4.0.0":
578 | version: 4.0.0
579 | resolution: "indent-string@npm:4.0.0"
580 | checksum: 824cfb9929d031dabf059bebfe08cf3137365e112019086ed3dcff6a0a7b698cb80cf67ccccde0e25b9e2d7527aa6cc1fed1ac490c752162496caba3e6699612
581 | languageName: node
582 | linkType: hard
583 |
584 | "infer-owner@npm:^1.0.4":
585 | version: 1.0.4
586 | resolution: "infer-owner@npm:1.0.4"
587 | checksum: 181e732764e4a0611576466b4b87dac338972b839920b2a8cde43642e4ed6bd54dc1fb0b40874728f2a2df9a1b097b8ff83b56d5f8f8e3927f837fdcb47d8a89
588 | languageName: node
589 | linkType: hard
590 |
591 | "inflight@npm:^1.0.4":
592 | version: 1.0.6
593 | resolution: "inflight@npm:1.0.6"
594 | dependencies:
595 | once: ^1.3.0
596 | wrappy: 1
597 | checksum: f4f76aa072ce19fae87ce1ef7d221e709afb59d445e05d47fba710e85470923a75de35bfae47da6de1b18afc3ce83d70facf44cfb0aff89f0a3f45c0a0244dfd
598 | languageName: node
599 | linkType: hard
600 |
601 | "inherits@npm:2, inherits@npm:^2.0.3":
602 | version: 2.0.4
603 | resolution: "inherits@npm:2.0.4"
604 | checksum: 4a48a733847879d6cf6691860a6b1e3f0f4754176e4d71494c41f3475553768b10f84b5ce1d40fbd0e34e6bfbb864ee35858ad4dd2cf31e02fc4a154b724d7f1
605 | languageName: node
606 | linkType: hard
607 |
608 | "ip@npm:^2.0.0":
609 | version: 2.0.0
610 | resolution: "ip@npm:2.0.0"
611 | checksum: cfcfac6b873b701996d71ec82a7dd27ba92450afdb421e356f44044ed688df04567344c36cbacea7d01b1c39a4c732dc012570ebe9bebfb06f27314bca625349
612 | languageName: node
613 | linkType: hard
614 |
615 | "is-core-module@npm:^2.2.0":
616 | version: 2.2.0
617 | resolution: "is-core-module@npm:2.2.0"
618 | dependencies:
619 | has: ^1.0.3
620 | checksum: 61e2aff4a7db4f8f7d5a97b484808af17290f4197b34a797cd3d3d27b6b448951064f8d3d6ceae4394fa9b7e6cf08aacd2ba7a17ef6352e922fe803580fbde56
621 | languageName: node
622 | linkType: hard
623 |
624 | "is-fullwidth-code-point@npm:^3.0.0":
625 | version: 3.0.0
626 | resolution: "is-fullwidth-code-point@npm:3.0.0"
627 | checksum: 44a30c29457c7fb8f00297bce733f0a64cd22eca270f83e58c105e0d015e45c019491a4ab2faef91ab51d4738c670daff901c799f6a700e27f7314029e99e348
628 | languageName: node
629 | linkType: hard
630 |
631 | "is-lambda@npm:^1.0.1":
632 | version: 1.0.1
633 | resolution: "is-lambda@npm:1.0.1"
634 | checksum: 93a32f01940220532e5948538699ad610d5924ac86093fcee83022252b363eb0cc99ba53ab084a04e4fb62bf7b5731f55496257a4c38adf87af9c4d352c71c35
635 | languageName: node
636 | linkType: hard
637 |
638 | "is-module@npm:^1.0.0":
639 | version: 1.0.0
640 | resolution: "is-module@npm:1.0.0"
641 | checksum: 8cd5390730c7976fb4e8546dd0b38865ee6f7bacfa08dfbb2cc07219606755f0b01709d9361e01f13009bbbd8099fa2927a8ed665118a6105d66e40f1b838c3f
642 | languageName: node
643 | linkType: hard
644 |
645 | "is-reference@npm:^1.2.1":
646 | version: 1.2.1
647 | resolution: "is-reference@npm:1.2.1"
648 | dependencies:
649 | "@types/estree": "*"
650 | checksum: e7b48149f8abda2c10849ea51965904d6a714193d68942ad74e30522231045acf06cbfae5a4be2702fede5d232e61bf50b3183acdc056e6e3afe07fcf4f4b2bc
651 | languageName: node
652 | linkType: hard
653 |
654 | "isexe@npm:^2.0.0":
655 | version: 2.0.0
656 | resolution: "isexe@npm:2.0.0"
657 | checksum: 26bf6c5480dda5161c820c5b5c751ae1e766c587b1f951ea3fcfc973bafb7831ae5b54a31a69bd670220e42e99ec154475025a468eae58ea262f813fdc8d1c62
658 | languageName: node
659 | linkType: hard
660 |
661 | "lru-cache@npm:^6.0.0":
662 | version: 6.0.0
663 | resolution: "lru-cache@npm:6.0.0"
664 | dependencies:
665 | yallist: ^4.0.0
666 | checksum: f97f499f898f23e4585742138a22f22526254fdba6d75d41a1c2526b3b6cc5747ef59c5612ba7375f42aca4f8461950e925ba08c991ead0651b4918b7c978297
667 | languageName: node
668 | linkType: hard
669 |
670 | "lru-cache@npm:^7.7.1":
671 | version: 7.14.0
672 | resolution: "lru-cache@npm:7.14.0"
673 | checksum: efdd329f2c1bb790b71d497c6c59272e6bc2d7dd060ba55fc136becd3dd31fc8346edb446275504d94cb60d3c8385dbf5267b79b23789e409b2bdf302d13f0d7
674 | languageName: node
675 | linkType: hard
676 |
677 | "magic-string@npm:^0.25.7":
678 | version: 0.25.7
679 | resolution: "magic-string@npm:0.25.7"
680 | dependencies:
681 | sourcemap-codec: ^1.4.4
682 | checksum: 727a1fb70f9610304fe384f1df0251eb7d1d9dd779c07ef1225690361b71b216f26f5d934bfb11c919b5b0e7ba50f6240c823a6f2e44cfd33d4a07d7747ca829
683 | languageName: node
684 | linkType: hard
685 |
686 | "make-fetch-happen@npm:^10.0.3":
687 | version: 10.2.1
688 | resolution: "make-fetch-happen@npm:10.2.1"
689 | dependencies:
690 | agentkeepalive: ^4.2.1
691 | cacache: ^16.1.0
692 | http-cache-semantics: ^4.1.0
693 | http-proxy-agent: ^5.0.0
694 | https-proxy-agent: ^5.0.0
695 | is-lambda: ^1.0.1
696 | lru-cache: ^7.7.1
697 | minipass: ^3.1.6
698 | minipass-collect: ^1.0.2
699 | minipass-fetch: ^2.0.3
700 | minipass-flush: ^1.0.5
701 | minipass-pipeline: ^1.2.4
702 | negotiator: ^0.6.3
703 | promise-retry: ^2.0.1
704 | socks-proxy-agent: ^7.0.0
705 | ssri: ^9.0.0
706 | checksum: 2332eb9a8ec96f1ffeeea56ccefabcb4193693597b132cd110734d50f2928842e22b84cfa1508e921b8385cdfd06dda9ad68645fed62b50fff629a580f5fb72c
707 | languageName: node
708 | linkType: hard
709 |
710 | "minimatch@npm:^3.0.4":
711 | version: 3.0.4
712 | resolution: "minimatch@npm:3.0.4"
713 | dependencies:
714 | brace-expansion: ^1.1.7
715 | checksum: 66ac295f8a7b59788000ea3749938b0970344c841750abd96694f80269b926ebcafad3deeb3f1da2522978b119e6ae3a5869b63b13a7859a456b3408bd18a078
716 | languageName: node
717 | linkType: hard
718 |
719 | "minimatch@npm:^3.1.1":
720 | version: 3.1.2
721 | resolution: "minimatch@npm:3.1.2"
722 | dependencies:
723 | brace-expansion: ^1.1.7
724 | checksum: c154e566406683e7bcb746e000b84d74465b3a832c45d59912b9b55cd50dee66e5c4b1e5566dba26154040e51672f9aa450a9aef0c97cfc7336b78b7afb9540a
725 | languageName: node
726 | linkType: hard
727 |
728 | "minimatch@npm:^5.0.1":
729 | version: 5.1.0
730 | resolution: "minimatch@npm:5.1.0"
731 | dependencies:
732 | brace-expansion: ^2.0.1
733 | checksum: 15ce53d31a06361e8b7a629501b5c75491bc2b59712d53e802b1987121d91b433d73fcc5be92974fde66b2b51d8fb28d75a9ae900d249feb792bb1ba2a4f0a90
734 | languageName: node
735 | linkType: hard
736 |
737 | "minipass-collect@npm:^1.0.2":
738 | version: 1.0.2
739 | resolution: "minipass-collect@npm:1.0.2"
740 | dependencies:
741 | minipass: ^3.0.0
742 | checksum: 14df761028f3e47293aee72888f2657695ec66bd7d09cae7ad558da30415fdc4752bbfee66287dcc6fd5e6a2fa3466d6c484dc1cbd986525d9393b9523d97f10
743 | languageName: node
744 | linkType: hard
745 |
746 | "minipass-fetch@npm:^2.0.3":
747 | version: 2.1.1
748 | resolution: "minipass-fetch@npm:2.1.1"
749 | dependencies:
750 | encoding: ^0.1.13
751 | minipass: ^3.1.6
752 | minipass-sized: ^1.0.3
753 | minizlib: ^2.1.2
754 | dependenciesMeta:
755 | encoding:
756 | optional: true
757 | checksum: 1aae0c2240b2f65309e046615e5a38cfd56a16ed2d334932aa195d183a0a2e1673a242a3b257bbb64892dee2e75d0233e8d2c3ad160928b6a2e5609efe6daad8
758 | languageName: node
759 | linkType: hard
760 |
761 | "minipass-flush@npm:^1.0.5":
762 | version: 1.0.5
763 | resolution: "minipass-flush@npm:1.0.5"
764 | dependencies:
765 | minipass: ^3.0.0
766 | checksum: 56269a0b22bad756a08a94b1ffc36b7c9c5de0735a4dd1ab2b06c066d795cfd1f0ac44a0fcae13eece5589b908ecddc867f04c745c7009be0b566421ea0944cf
767 | languageName: node
768 | linkType: hard
769 |
770 | "minipass-pipeline@npm:^1.2.4":
771 | version: 1.2.4
772 | resolution: "minipass-pipeline@npm:1.2.4"
773 | dependencies:
774 | minipass: ^3.0.0
775 | checksum: b14240dac0d29823c3d5911c286069e36d0b81173d7bdf07a7e4a91ecdef92cdff4baaf31ea3746f1c61e0957f652e641223970870e2353593f382112257971b
776 | languageName: node
777 | linkType: hard
778 |
779 | "minipass-sized@npm:^1.0.3":
780 | version: 1.0.3
781 | resolution: "minipass-sized@npm:1.0.3"
782 | dependencies:
783 | minipass: ^3.0.0
784 | checksum: 79076749fcacf21b5d16dd596d32c3b6bf4d6e62abb43868fac21674078505c8b15eaca4e47ed844985a4514854f917d78f588fcd029693709417d8f98b2bd60
785 | languageName: node
786 | linkType: hard
787 |
788 | "minipass@npm:^3.0.0, minipass@npm:^3.1.1, minipass@npm:^3.1.6":
789 | version: 3.3.5
790 | resolution: "minipass@npm:3.3.5"
791 | dependencies:
792 | yallist: ^4.0.0
793 | checksum: f89f02bcaa0e0e4bb4c44ec796008e69fbca62db0aba6ead1bc57d25bdaefdf42102130f4f9ecb7d9c6b6cd35ff7b0c7b97d001d3435da8e629fb68af3aea57e
794 | languageName: node
795 | linkType: hard
796 |
797 | "minizlib@npm:^2.1.1, minizlib@npm:^2.1.2":
798 | version: 2.1.2
799 | resolution: "minizlib@npm:2.1.2"
800 | dependencies:
801 | minipass: ^3.0.0
802 | yallist: ^4.0.0
803 | checksum: f1fdeac0b07cf8f30fcf12f4b586795b97be856edea22b5e9072707be51fc95d41487faec3f265b42973a304fe3a64acd91a44a3826a963e37b37bafde0212c3
804 | languageName: node
805 | linkType: hard
806 |
807 | "mkdirp@npm:^1.0.3, mkdirp@npm:^1.0.4":
808 | version: 1.0.4
809 | resolution: "mkdirp@npm:1.0.4"
810 | bin:
811 | mkdirp: bin/cmd.js
812 | checksum: a96865108c6c3b1b8e1d5e9f11843de1e077e57737602de1b82030815f311be11f96f09cce59bd5b903d0b29834733e5313f9301e3ed6d6f6fba2eae0df4298f
813 | languageName: node
814 | linkType: hard
815 |
816 | "moment@npm:2.29.3":
817 | version: 2.29.3
818 | resolution: "moment@npm:2.29.3"
819 | checksum: 2e780e36d9a1823c08a1b6313cbb08bd01ecbb2a9062095820a34f42c878991ccba53abaa6abb103fd5c01e763724f295162a8c50b7e95b4f1c992ef0772d3f0
820 | languageName: node
821 | linkType: hard
822 |
823 | "moment@npm:2.29.4":
824 | version: 2.29.4
825 | resolution: "moment@npm:2.29.4"
826 | checksum: 0ec3f9c2bcba38dc2451b1daed5daded747f17610b92427bebe1d08d48d8b7bdd8d9197500b072d14e326dd0ccf3e326b9e3d07c5895d3d49e39b6803b76e80e
827 | languageName: node
828 | linkType: hard
829 |
830 | "ms@npm:2.1.2":
831 | version: 2.1.2
832 | resolution: "ms@npm:2.1.2"
833 | checksum: 673cdb2c3133eb050c745908d8ce632ed2c02d85640e2edb3ace856a2266a813b30c613569bf3354fdf4ea7d1a1494add3bfa95e2713baa27d0c2c71fc44f58f
834 | languageName: node
835 | linkType: hard
836 |
837 | "ms@npm:^2.0.0":
838 | version: 2.1.3
839 | resolution: "ms@npm:2.1.3"
840 | checksum: aa92de608021b242401676e35cfa5aa42dd70cbdc082b916da7fb925c542173e36bce97ea3e804923fe92c0ad991434e4a38327e15a1b5b5f945d66df615ae6d
841 | languageName: node
842 | linkType: hard
843 |
844 | "negotiator@npm:^0.6.3":
845 | version: 0.6.3
846 | resolution: "negotiator@npm:0.6.3"
847 | checksum: b8ffeb1e262eff7968fc90a2b6767b04cfd9842582a9d0ece0af7049537266e7b2506dfb1d107a32f06dd849ab2aea834d5830f7f4d0e5cb7d36e1ae55d021d9
848 | languageName: node
849 | linkType: hard
850 |
851 | "node-gyp@npm:latest":
852 | version: 9.1.0
853 | resolution: "node-gyp@npm:9.1.0"
854 | dependencies:
855 | env-paths: ^2.2.0
856 | glob: ^7.1.4
857 | graceful-fs: ^4.2.6
858 | make-fetch-happen: ^10.0.3
859 | nopt: ^5.0.0
860 | npmlog: ^6.0.0
861 | rimraf: ^3.0.2
862 | semver: ^7.3.5
863 | tar: ^6.1.2
864 | which: ^2.0.2
865 | bin:
866 | node-gyp: bin/node-gyp.js
867 | checksum: 1437fa4a879b5b9010604128e8da8609b57c66034262087539ee04a8b764b8436af2be01bab66f8fc729a3adba2dcc21b10a32b9f552696c3fa8cd657d134fc4
868 | languageName: node
869 | linkType: hard
870 |
871 | "nopt@npm:^5.0.0":
872 | version: 5.0.0
873 | resolution: "nopt@npm:5.0.0"
874 | dependencies:
875 | abbrev: 1
876 | bin:
877 | nopt: bin/nopt.js
878 | checksum: d35fdec187269503843924e0114c0c6533fb54bbf1620d0f28b4b60ba01712d6687f62565c55cc20a504eff0fbe5c63e22340c3fad549ad40469ffb611b04f2f
879 | languageName: node
880 | linkType: hard
881 |
882 | "npmlog@npm:^6.0.0":
883 | version: 6.0.2
884 | resolution: "npmlog@npm:6.0.2"
885 | dependencies:
886 | are-we-there-yet: ^3.0.0
887 | console-control-strings: ^1.1.0
888 | gauge: ^4.0.3
889 | set-blocking: ^2.0.0
890 | checksum: ae238cd264a1c3f22091cdd9e2b106f684297d3c184f1146984ecbe18aaa86343953f26b9520dedd1b1372bc0316905b736c1932d778dbeb1fcf5a1001390e2a
891 | languageName: node
892 | linkType: hard
893 |
894 | "obsidian-daily-notes-interface@npm:^0.9.4":
895 | version: 0.9.4
896 | resolution: "obsidian-daily-notes-interface@npm:0.9.4"
897 | dependencies:
898 | obsidian: "github:obsidianmd/obsidian-api#master"
899 | tslib: 2.1.0
900 | bin:
901 | obsidian-daily-notes-interface: dist/main.js
902 | checksum: bdfd35a463f38155f4258538009e2bc78b910ff48de875fc5b9b4047cd444b819e07c0ebc544ff83398e842eab7f452c5a4a13c9db9f8cc3535fcbab3fe523da
903 | languageName: node
904 | linkType: hard
905 |
906 | "obsidian-sample-plugin@workspace:.":
907 | version: 0.0.0-use.local
908 | resolution: "obsidian-sample-plugin@workspace:."
909 | dependencies:
910 | "@codemirror/state": ^6.0.0
911 | "@codemirror/view": ^6.0.0
912 | "@rollup/plugin-commonjs": ^15.1.0
913 | "@rollup/plugin-node-resolve": ^9.0.0
914 | "@rollup/plugin-typescript": ^6.0.0
915 | "@types/node": ^14.14.2
916 | obsidian: latest
917 | obsidian-daily-notes-interface: ^0.9.4
918 | rollup: ^2.32.1
919 | tslib: ^2.0.3
920 | typescript: ^4.0.3
921 | languageName: unknown
922 | linkType: soft
923 |
924 | "obsidian@github:obsidianmd/obsidian-api#master":
925 | version: 0.15.9
926 | resolution: "obsidian@git+ssh://git@github.com/obsidianmd/obsidian-api.git#commit=3770989c2364ead5429eb7e4475e095588bbe914"
927 | dependencies:
928 | "@types/codemirror": 0.0.108
929 | moment: 2.29.4
930 | peerDependencies:
931 | "@codemirror/state": ^6.0.0
932 | "@codemirror/view": ^6.0.0
933 | checksum: 6f7edf51d33147860bef54f8d56b4b81b600ac2b42f75927e611965dc64af6bed6c84d06f7a8776bcc075d39cd706c284f7cd0f367b3cfc8e47b7ed89b713419
934 | languageName: node
935 | linkType: hard
936 |
937 | obsidian@latest:
938 | version: 0.15.1
939 | resolution: "obsidian@npm:0.15.1"
940 | dependencies:
941 | "@types/codemirror": 0.0.108
942 | moment: 2.29.3
943 | peerDependencies:
944 | "@codemirror/state": ^6.0.0
945 | "@codemirror/view": ^6.0.0
946 | checksum: 7efa409921063ea0d734b69bb89326f178089423ef2a3655f169065e0ceea3124a1eb5e0ce6eadeb84a11bec9e51523ac74ddae34d07a401230d8e11ed54208e
947 | languageName: node
948 | linkType: hard
949 |
950 | "once@npm:^1.3.0":
951 | version: 1.4.0
952 | resolution: "once@npm:1.4.0"
953 | dependencies:
954 | wrappy: 1
955 | checksum: cd0a88501333edd640d95f0d2700fbde6bff20b3d4d9bdc521bdd31af0656b5706570d6c6afe532045a20bb8dc0849f8332d6f2a416e0ba6d3d3b98806c7db68
956 | languageName: node
957 | linkType: hard
958 |
959 | "p-map@npm:^4.0.0":
960 | version: 4.0.0
961 | resolution: "p-map@npm:4.0.0"
962 | dependencies:
963 | aggregate-error: ^3.0.0
964 | checksum: cb0ab21ec0f32ddffd31dfc250e3afa61e103ef43d957cc45497afe37513634589316de4eb88abdfd969fe6410c22c0b93ab24328833b8eb1ccc087fc0442a1c
965 | languageName: node
966 | linkType: hard
967 |
968 | "path-is-absolute@npm:^1.0.0":
969 | version: 1.0.1
970 | resolution: "path-is-absolute@npm:1.0.1"
971 | checksum: 060840f92cf8effa293bcc1bea81281bd7d363731d214cbe5c227df207c34cd727430f70c6037b5159c8a870b9157cba65e775446b0ab06fd5ecc7e54615a3b8
972 | languageName: node
973 | linkType: hard
974 |
975 | "path-parse@npm:^1.0.6":
976 | version: 1.0.6
977 | resolution: "path-parse@npm:1.0.6"
978 | checksum: 962a85dd384d68d469ec5ba4010df8f8f9b7e936ce603bbe3211476c5615feb3c2b1ca61211a78445fadc833f0b1a86ea6484c861035ec4ac93011ba9aff9a11
979 | languageName: node
980 | linkType: hard
981 |
982 | "picomatch@npm:^2.2.2":
983 | version: 2.2.2
984 | resolution: "picomatch@npm:2.2.2"
985 | checksum: 897a589f94665b4fd93e075fa94893936afe3f7bbef44250f0e878a8d9d001972a79589cac2856c24f6f5aa3b0abc9c8ba00c98fae4dc22bc0117188864d4181
986 | languageName: node
987 | linkType: hard
988 |
989 | "promise-inflight@npm:^1.0.1":
990 | version: 1.0.1
991 | resolution: "promise-inflight@npm:1.0.1"
992 | checksum: 22749483091d2c594261517f4f80e05226d4d5ecc1fc917e1886929da56e22b5718b7f2a75f3807e7a7d471bc3be2907fe92e6e8f373ddf5c64bae35b5af3981
993 | languageName: node
994 | linkType: hard
995 |
996 | "promise-retry@npm:^2.0.1":
997 | version: 2.0.1
998 | resolution: "promise-retry@npm:2.0.1"
999 | dependencies:
1000 | err-code: ^2.0.2
1001 | retry: ^0.12.0
1002 | checksum: f96a3f6d90b92b568a26f71e966cbbc0f63ab85ea6ff6c81284dc869b41510e6cdef99b6b65f9030f0db422bf7c96652a3fff9f2e8fb4a0f069d8f4430359429
1003 | languageName: node
1004 | linkType: hard
1005 |
1006 | "readable-stream@npm:^3.6.0":
1007 | version: 3.6.0
1008 | resolution: "readable-stream@npm:3.6.0"
1009 | dependencies:
1010 | inherits: ^2.0.3
1011 | string_decoder: ^1.1.1
1012 | util-deprecate: ^1.0.1
1013 | checksum: d4ea81502d3799439bb955a3a5d1d808592cf3133350ed352aeaa499647858b27b1c4013984900238b0873ec8d0d8defce72469fb7a83e61d53f5ad61cb80dc8
1014 | languageName: node
1015 | linkType: hard
1016 |
1017 | "resolve@npm:^1.17.0":
1018 | version: 1.20.0
1019 | resolution: "resolve@npm:1.20.0"
1020 | dependencies:
1021 | is-core-module: ^2.2.0
1022 | path-parse: ^1.0.6
1023 | checksum: 40cf70b2cde00ef57f99daf2dc63c6a56d6c14a1b7fc51735d06a6f0a3b97cb67b4fb7ef6c747b4e13a7baba83b0ef625d7c4ce92a483cd5af923c3b65fd16fe
1024 | languageName: node
1025 | linkType: hard
1026 |
1027 | "resolve@patch:resolve@^1.17.0#~builtin":
1028 | version: 1.20.0
1029 | resolution: "resolve@patch:resolve@npm%3A1.20.0#~builtin::version=1.20.0&hash=07638b"
1030 | dependencies:
1031 | is-core-module: ^2.2.0
1032 | path-parse: ^1.0.6
1033 | checksum: a0dd7d16a8e47af23afa9386df2dff10e3e0debb2c7299a42e581d9d9b04d7ad5d2c53f24f1e043f7b3c250cbdc71150063e53d0b6559683d37f790b7c8c3cd5
1034 | languageName: node
1035 | linkType: hard
1036 |
1037 | "retry@npm:^0.12.0":
1038 | version: 0.12.0
1039 | resolution: "retry@npm:0.12.0"
1040 | checksum: 623bd7d2e5119467ba66202d733ec3c2e2e26568074923bc0585b6b99db14f357e79bdedb63cab56cec47491c4a0da7e6021a7465ca6dc4f481d3898fdd3158c
1041 | languageName: node
1042 | linkType: hard
1043 |
1044 | "rimraf@npm:^3.0.2":
1045 | version: 3.0.2
1046 | resolution: "rimraf@npm:3.0.2"
1047 | dependencies:
1048 | glob: ^7.1.3
1049 | bin:
1050 | rimraf: bin.js
1051 | checksum: 87f4164e396f0171b0a3386cc1877a817f572148ee13a7e113b238e48e8a9f2f31d009a92ec38a591ff1567d9662c6b67fd8818a2dbbaed74bc26a87a2a4a9a0
1052 | languageName: node
1053 | linkType: hard
1054 |
1055 | "rollup@npm:^2.32.1":
1056 | version: 2.44.0
1057 | resolution: "rollup@npm:2.44.0"
1058 | dependencies:
1059 | fsevents: ~2.3.1
1060 | dependenciesMeta:
1061 | fsevents:
1062 | optional: true
1063 | bin:
1064 | rollup: dist/bin/rollup
1065 | checksum: 7c791a1f9414bfeb95a85f2a5c8e9015f3ad2b9f6482794590781f6f012be811171caa91e14fbd4f58a206ed803e6073fa256f4a237163ed24766e3e178aca62
1066 | languageName: node
1067 | linkType: hard
1068 |
1069 | "safe-buffer@npm:~5.2.0":
1070 | version: 5.2.1
1071 | resolution: "safe-buffer@npm:5.2.1"
1072 | checksum: b99c4b41fdd67a6aaf280fcd05e9ffb0813654894223afb78a31f14a19ad220bba8aba1cb14eddce1fcfb037155fe6de4e861784eb434f7d11ed58d1e70dd491
1073 | languageName: node
1074 | linkType: hard
1075 |
1076 | "safer-buffer@npm:>= 2.1.2 < 3.0.0":
1077 | version: 2.1.2
1078 | resolution: "safer-buffer@npm:2.1.2"
1079 | checksum: cab8f25ae6f1434abee8d80023d7e72b598cf1327164ddab31003c51215526801e40b66c5e65d658a0af1e9d6478cadcb4c745f4bd6751f97d8644786c0978b0
1080 | languageName: node
1081 | linkType: hard
1082 |
1083 | "semver@npm:^7.3.5":
1084 | version: 7.3.7
1085 | resolution: "semver@npm:7.3.7"
1086 | dependencies:
1087 | lru-cache: ^6.0.0
1088 | bin:
1089 | semver: bin/semver.js
1090 | checksum: 2fa3e877568cd6ce769c75c211beaed1f9fce80b28338cadd9d0b6c40f2e2862bafd62c19a6cff42f3d54292b7c623277bcab8816a2b5521cf15210d43e75232
1091 | languageName: node
1092 | linkType: hard
1093 |
1094 | "set-blocking@npm:^2.0.0":
1095 | version: 2.0.0
1096 | resolution: "set-blocking@npm:2.0.0"
1097 | checksum: 6e65a05f7cf7ebdf8b7c75b101e18c0b7e3dff4940d480efed8aad3a36a4005140b660fa1d804cb8bce911cac290441dc728084a30504d3516ac2ff7ad607b02
1098 | languageName: node
1099 | linkType: hard
1100 |
1101 | "signal-exit@npm:^3.0.7":
1102 | version: 3.0.7
1103 | resolution: "signal-exit@npm:3.0.7"
1104 | checksum: a2f098f247adc367dffc27845853e9959b9e88b01cb301658cfe4194352d8d2bb32e18467c786a7fe15f1d44b233ea35633d076d5e737870b7139949d1ab6318
1105 | languageName: node
1106 | linkType: hard
1107 |
1108 | "smart-buffer@npm:^4.2.0":
1109 | version: 4.2.0
1110 | resolution: "smart-buffer@npm:4.2.0"
1111 | checksum: b5167a7142c1da704c0e3af85c402002b597081dd9575031a90b4f229ca5678e9a36e8a374f1814c8156a725d17008ae3bde63b92f9cfd132526379e580bec8b
1112 | languageName: node
1113 | linkType: hard
1114 |
1115 | "socks-proxy-agent@npm:^7.0.0":
1116 | version: 7.0.0
1117 | resolution: "socks-proxy-agent@npm:7.0.0"
1118 | dependencies:
1119 | agent-base: ^6.0.2
1120 | debug: ^4.3.3
1121 | socks: ^2.6.2
1122 | checksum: 720554370154cbc979e2e9ce6a6ec6ced205d02757d8f5d93fe95adae454fc187a5cbfc6b022afab850a5ce9b4c7d73e0f98e381879cf45f66317a4895953846
1123 | languageName: node
1124 | linkType: hard
1125 |
1126 | "socks@npm:^2.6.2":
1127 | version: 2.7.0
1128 | resolution: "socks@npm:2.7.0"
1129 | dependencies:
1130 | ip: ^2.0.0
1131 | smart-buffer: ^4.2.0
1132 | checksum: 0b5d94e2b3c11e7937b40fc5dac1e80d8b92a330e68c51f1d271ce6980c70adca42a3f8cd47c4a5769956bada074823b53374f2dc5f2ea5c2121b222dec6eadf
1133 | languageName: node
1134 | linkType: hard
1135 |
1136 | "sourcemap-codec@npm:^1.4.4":
1137 | version: 1.4.8
1138 | resolution: "sourcemap-codec@npm:1.4.8"
1139 | checksum: b57981c05611afef31605732b598ccf65124a9fcb03b833532659ac4d29ac0f7bfacbc0d6c5a28a03e84c7510e7e556d758d0bb57786e214660016fb94279316
1140 | languageName: node
1141 | linkType: hard
1142 |
1143 | "ssri@npm:^9.0.0":
1144 | version: 9.0.1
1145 | resolution: "ssri@npm:9.0.1"
1146 | dependencies:
1147 | minipass: ^3.1.1
1148 | checksum: fb58f5e46b6923ae67b87ad5ef1c5ab6d427a17db0bead84570c2df3cd50b4ceb880ebdba2d60726588272890bae842a744e1ecce5bd2a2a582fccd5068309eb
1149 | languageName: node
1150 | linkType: hard
1151 |
1152 | "string-width@npm:^1.0.2 || 2 || 3 || 4, string-width@npm:^4.2.3":
1153 | version: 4.2.3
1154 | resolution: "string-width@npm:4.2.3"
1155 | dependencies:
1156 | emoji-regex: ^8.0.0
1157 | is-fullwidth-code-point: ^3.0.0
1158 | strip-ansi: ^6.0.1
1159 | checksum: e52c10dc3fbfcd6c3a15f159f54a90024241d0f149cf8aed2982a2d801d2e64df0bf1dc351cf8e95c3319323f9f220c16e740b06faecd53e2462df1d2b5443fb
1160 | languageName: node
1161 | linkType: hard
1162 |
1163 | "string_decoder@npm:^1.1.1":
1164 | version: 1.3.0
1165 | resolution: "string_decoder@npm:1.3.0"
1166 | dependencies:
1167 | safe-buffer: ~5.2.0
1168 | checksum: 8417646695a66e73aefc4420eb3b84cc9ffd89572861fe004e6aeb13c7bc00e2f616247505d2dbbef24247c372f70268f594af7126f43548565c68c117bdeb56
1169 | languageName: node
1170 | linkType: hard
1171 |
1172 | "strip-ansi@npm:^6.0.1":
1173 | version: 6.0.1
1174 | resolution: "strip-ansi@npm:6.0.1"
1175 | dependencies:
1176 | ansi-regex: ^5.0.1
1177 | checksum: f3cd25890aef3ba6e1a74e20896c21a46f482e93df4a06567cebf2b57edabb15133f1f94e57434e0a958d61186087b1008e89c94875d019910a213181a14fc8c
1178 | languageName: node
1179 | linkType: hard
1180 |
1181 | "style-mod@npm:^4.0.0":
1182 | version: 4.0.0
1183 | resolution: "style-mod@npm:4.0.0"
1184 | checksum: c19f73d660a94244f0715180a6141bf75d05e5b156cc956ba11970b83cd303c3f7edafe5fb61a3192da6186cc008bdcdd803a979070f9b64e13046463644043c
1185 | languageName: node
1186 | linkType: hard
1187 |
1188 | "tar@npm:^6.1.11, tar@npm:^6.1.2":
1189 | version: 6.1.11
1190 | resolution: "tar@npm:6.1.11"
1191 | dependencies:
1192 | chownr: ^2.0.0
1193 | fs-minipass: ^2.0.0
1194 | minipass: ^3.0.0
1195 | minizlib: ^2.1.1
1196 | mkdirp: ^1.0.3
1197 | yallist: ^4.0.0
1198 | checksum: a04c07bb9e2d8f46776517d4618f2406fb977a74d914ad98b264fc3db0fe8224da5bec11e5f8902c5b9bcb8ace22d95fbe3c7b36b8593b7dfc8391a25898f32f
1199 | languageName: node
1200 | linkType: hard
1201 |
1202 | "tslib@npm:2.1.0, tslib@npm:^2.0.3":
1203 | version: 2.1.0
1204 | resolution: "tslib@npm:2.1.0"
1205 | checksum: aa189c8179de0427b0906da30926fd53c59d96ec239dff87d6e6bc831f608df0cbd6f77c61dabc074408bd0aa0b9ae4ec35cb2c15f729e32f37274db5730cb78
1206 | languageName: node
1207 | linkType: hard
1208 |
1209 | "typescript@npm:^4.0.3":
1210 | version: 4.2.3
1211 | resolution: "typescript@npm:4.2.3"
1212 | bin:
1213 | tsc: bin/tsc
1214 | tsserver: bin/tsserver
1215 | checksum: b4a2020c021211184ac15caf59936b2089c13e79685f340a31aaa839c9de2f73b44a5e3757292de6cdad2ed967aef80d4592161b814cc29c0570f261850c4bca
1216 | languageName: node
1217 | linkType: hard
1218 |
1219 | "typescript@patch:typescript@^4.0.3#~builtin":
1220 | version: 4.2.3
1221 | resolution: "typescript@patch:typescript@npm%3A4.2.3#~builtin::version=4.2.3&hash=bda367"
1222 | bin:
1223 | tsc: bin/tsc
1224 | tsserver: bin/tsserver
1225 | checksum: f00e6e6e72c950865979d5beb66916c75d92eda09514eb2953828b95505cfd2ef3ae9ac776fdac9f841a9ce67744999b70d23779726e0072656a1841c8080860
1226 | languageName: node
1227 | linkType: hard
1228 |
1229 | "unique-filename@npm:^1.1.1":
1230 | version: 1.1.1
1231 | resolution: "unique-filename@npm:1.1.1"
1232 | dependencies:
1233 | unique-slug: ^2.0.0
1234 | checksum: cf4998c9228cc7647ba7814e255dec51be43673903897b1786eff2ac2d670f54d4d733357eb08dea969aa5e6875d0e1bd391d668fbdb5a179744e7c7551a6f80
1235 | languageName: node
1236 | linkType: hard
1237 |
1238 | "unique-slug@npm:^2.0.0":
1239 | version: 2.0.2
1240 | resolution: "unique-slug@npm:2.0.2"
1241 | dependencies:
1242 | imurmurhash: ^0.1.4
1243 | checksum: 5b6876a645da08d505dedb970d1571f6cebdf87044cb6b740c8dbb24f0d6e1dc8bdbf46825fd09f994d7cf50760e6f6e063cfa197d51c5902c00a861702eb75a
1244 | languageName: node
1245 | linkType: hard
1246 |
1247 | "util-deprecate@npm:^1.0.1":
1248 | version: 1.0.2
1249 | resolution: "util-deprecate@npm:1.0.2"
1250 | checksum: 474acf1146cb2701fe3b074892217553dfcf9a031280919ba1b8d651a068c9b15d863b7303cb15bd00a862b498e6cf4ad7b4a08fb134edd5a6f7641681cb54a2
1251 | languageName: node
1252 | linkType: hard
1253 |
1254 | "w3c-keyname@npm:^2.2.4":
1255 | version: 2.2.4
1256 | resolution: "w3c-keyname@npm:2.2.4"
1257 | checksum: 890180452bdd7d25f05deb97b3c0839911264432a7c5dd8dc4c9d9b6384237a66d66b7c2a145440b607826d5aa61cd90098cfffcf50b50c0e4c2259b0d208038
1258 | languageName: node
1259 | linkType: hard
1260 |
1261 | "which@npm:^2.0.2":
1262 | version: 2.0.2
1263 | resolution: "which@npm:2.0.2"
1264 | dependencies:
1265 | isexe: ^2.0.0
1266 | bin:
1267 | node-which: ./bin/node-which
1268 | checksum: 1a5c563d3c1b52d5f893c8b61afe11abc3bab4afac492e8da5bde69d550de701cf9806235f20a47b5c8fa8a1d6a9135841de2596535e998027a54589000e66d1
1269 | languageName: node
1270 | linkType: hard
1271 |
1272 | "wide-align@npm:^1.1.5":
1273 | version: 1.1.5
1274 | resolution: "wide-align@npm:1.1.5"
1275 | dependencies:
1276 | string-width: ^1.0.2 || 2 || 3 || 4
1277 | checksum: d5fc37cd561f9daee3c80e03b92ed3e84d80dde3365a8767263d03dacfc8fa06b065ffe1df00d8c2a09f731482fcacae745abfbb478d4af36d0a891fad4834d3
1278 | languageName: node
1279 | linkType: hard
1280 |
1281 | "wrappy@npm:1":
1282 | version: 1.0.2
1283 | resolution: "wrappy@npm:1.0.2"
1284 | checksum: 159da4805f7e84a3d003d8841557196034155008f817172d4e986bd591f74aa82aa7db55929a54222309e01079a65a92a9e6414da5a6aa4b01ee44a511ac3ee5
1285 | languageName: node
1286 | linkType: hard
1287 |
1288 | "yallist@npm:^4.0.0":
1289 | version: 4.0.0
1290 | resolution: "yallist@npm:4.0.0"
1291 | checksum: 343617202af32df2a15a3be36a5a8c0c8545208f3d3dfbc6bb7c3e3b7e8c6f8e7485432e4f3b88da3031a6e20afa7c711eded32ddfb122896ac5d914e75848d5
1292 | languageName: node
1293 | linkType: hard
1294 |
--------------------------------------------------------------------------------