├── .dependencygraph └── setting.json ├── .eslintrc.json ├── .github └── FUNDING.yml ├── .gitignore ├── .vscode ├── extensions.json ├── launch.json ├── settings.json └── tasks.json ├── .vscodeignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── images ├── dark │ ├── snippet.svg │ └── snippets.svg ├── light │ ├── snippet.svg │ └── snippets.svg ├── snippet-tree.svg ├── snippets-viewer-contributions.png ├── snippets-viewer-installation.png ├── snippets-viewer-settings.png ├── snippets-viewer-tree-view.png ├── snippets-viewer.png └── snippets-viewer.svg ├── package-lock.json ├── package.json ├── src ├── .vscode │ └── settings.json ├── commands.ts ├── config.ts ├── constants.ts ├── extension.ts ├── settings.ts ├── snippets │ ├── snippetLoader.ts │ ├── snippetTreeDataProvider.ts │ └── snippets.ts └── test │ ├── runTest.ts │ ├── suite │ ├── extension.test.ts │ └── index.ts │ ├── test.js │ ├── test.py │ └── test.ts ├── test └── .vscode │ ├── javascript.json │ └── settings.json ├── tsconfig.json └── webpack.config.js /.dependencygraph/setting.json: -------------------------------------------------------------------------------- 1 | { 2 | "entryFilePath": "dist\\extension.js", 3 | "alias": false, 4 | "resolveExtensions": [ 5 | ".js", 6 | ".jsx", 7 | ".ts", 8 | ".tsx", 9 | ".vue", 10 | ".scss", 11 | ".less" 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | "parser": "@typescript-eslint/parser", 4 | "parserOptions": { 5 | "ecmaVersion": 6, 6 | "sourceType": "module" 7 | }, 8 | "plugins": [ 9 | "@typescript-eslint" 10 | ], 11 | "rules": { 12 | "@typescript-eslint/naming-convention": "warn", 13 | "@typescript-eslint/semi": "warn", 14 | "curly": "warn", 15 | "eqeqeq": "warn", 16 | "no-throw-literal": "warn", 17 | "semi": "off" 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [RandomFractals] 2 | ko_fi: dataPixy -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | out 3 | node_modules 4 | .vscode-test/ 5 | *.vsix 6 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | // See http://go.microsoft.com/fwlink/?LinkId=827846 3 | // for the documentation about the extensions.json format 4 | // 5 | // TODO: add some good snippet extensions to recommendations 6 | "recommendations": [ 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | // A launch configuration that compiles the extension and then opens it inside a new window 2 | // Use IntelliSense to learn about possible attributes. 3 | // Hover to view descriptions of existing attributes. 4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 | { 6 | "version": "0.2.0", 7 | "configurations": [ 8 | { 9 | "name": "Run Extension", 10 | "type": "extensionHost", 11 | "request": "launch", 12 | "args": [ 13 | "--extensionDevelopmentPath=${workspaceFolder}" 14 | ], 15 | "outFiles": [ 16 | "${workspaceFolder}/dist/**/*.js" 17 | ], 18 | "preLaunchTask": "${defaultBuildTask}" 19 | }, 20 | { 21 | "name": "Extension Tests", 22 | "type": "extensionHost", 23 | "request": "launch", 24 | "args": [ 25 | "--extensionDevelopmentPath=${workspaceFolder}", 26 | "--extensionTestsPath=${workspaceFolder}/out/test/suite/index" 27 | ], 28 | "outFiles": [ 29 | "${workspaceFolder}/out/test/**/*.js" 30 | ], 31 | "preLaunchTask": "npm: test-watch" 32 | } 33 | ] 34 | } 35 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | // Place your settings in this file to overwrite default and user settings. 2 | { 3 | "files.exclude": { 4 | "out": false // set this to true to hide the "out" folder with the compiled JS files 5 | }, 6 | "search.exclude": { 7 | "out": true // set this to false to include "out" folder in search results 8 | }, 9 | // Turn off tsc task auto detection since we have the necessary tasks as npm scripts 10 | "typescript.tsc.autoDetect": "off", 11 | 12 | // Local Snippets viewer settings 13 | "snippets.viewer.sortSnippetsByName": false, 14 | "snippets.viewer.combineLanguageSnippets": true, 15 | "snippets.viewer.expandSnippetFiles": true 16 | } -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- 1 | // See https://go.microsoft.com/fwlink/?LinkId=733558 2 | // for the documentation about the tasks.json format 3 | { 4 | "version": "2.0.0", 5 | "tasks": [ 6 | { 7 | "type": "npm", 8 | "script": "watch", 9 | "isBackground": true, 10 | "presentation": { 11 | "reveal": "never" 12 | }, 13 | "group": { 14 | "kind": "build", 15 | "isDefault": true 16 | } 17 | }, 18 | { 19 | "type": "npm", 20 | "script": "test-watch", 21 | "isBackground": true, 22 | "presentation": { 23 | "reveal": "never" 24 | }, 25 | "group": "build" 26 | } 27 | ] 28 | } 29 | -------------------------------------------------------------------------------- /.vscodeignore: -------------------------------------------------------------------------------- 1 | .vscode/** 2 | .vscode-test/** 3 | out/** 4 | src/** 5 | .gitignore 6 | .yarnrc 7 | .github 8 | **/tsconfig.json 9 | **/.eslintrc.json 10 | **/*.map 11 | **/*.ts 12 | 13 | test 14 | webpack.config.js 15 | node_modules 16 | 17 | images/snippets-viewer-contributions.png 18 | images/snippets-viewer-installation.png 19 | images/snippets-viewer-settings.png 20 | images/snippets-viewer-tree-view.png -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | See [releases](https://github.com/RandomFractals/vscode-snippets-viewer/releases) for source code and `snippets-viewer.vsix` extension package download. 4 | 5 | ## v1.12.0 - [2022-08-29] 6 | - [#83](https://github.com/RandomFractals/vscode-snippets-viewer/issues/83) 7 | Add extension sponsoring config and republish it 8 | - [#84](https://github.com/RandomFractals/vscode-snippets-viewer/issues/84) 9 | Add Snippets config language check 10 | - [#85](https://github.com/RandomFractals/vscode-snippets-viewer/issues/85) 11 | Add Snippets Viewer to SCM Providers vscode extensions category 12 | - [#86](https://github.com/RandomFractals/vscode-snippets-viewer/issues/86) 13 | Remove vscode-eslint extension from recommendations in .vscode/extensions.json 14 | - [#87](https://github.com/RandomFractals/vscode-snippets-viewer/issues/87) 15 | Add codeViz keyword to Snippets Viewer manifest 16 | - [#88](https://github.com/RandomFractals/vscode-snippets-viewer/issues/88) 17 | Change license to GPL-3.0 18 | - [#89](https://github.com/RandomFractals/vscode-snippets-viewer/issues/89) 19 | Add explicit Support/Sponsor section to docs 20 | 21 | ## v1.11.0 - [2022-04-27] 22 | - [#82](https://github.com/RandomFractals/vscode-snippets-viewer/issues/82) 23 | Add Snippets Viewer to Education extensions category in vscode marketplace 24 | 25 | ## v1.10.0 - [2022-04-25] 26 | - [#64](https://github.com/RandomFractals/vscode-snippets-viewer/issues/64) 27 | Use global configuration target for toggles 28 | - [#65](https://github.com/RandomFractals/vscode-snippets-viewer/issues/65) 29 | Compile to ES2019 30 | - [#66](https://github.com/RandomFractals/vscode-snippets-viewer/issues/66) 31 | Add Other Category to extension manifest 32 | - [#67](https://github.com/RandomFractals/vscode-snippets-viewer/issues/67) 33 | Trim packaged vsix files in .vscodeignore 34 | - [#68](https://github.com/RandomFractals/vscode-snippets-viewer/issues/68) 35 | Cleanup .gitignore 36 | - [#69](https://github.com/RandomFractals/vscode-snippets-viewer/issues/69) 37 | Change view settings to show User snippets view settings 38 | - [#72](https://github.com/RandomFractals/vscode-snippets-viewer/issues/72) 39 | Custom snippets not shown 40 | - [#75](https://github.com/RandomFractals/vscode-snippets-viewer/issues/75) 41 | Improving settings understanding with simpler words or providing examples 42 | - [#76](https://github.com/RandomFractals/vscode-snippets-viewer/issues/76) 43 | Update extension dev dependencies to the latest vscode v1.66.0 stack 44 | - [#77](https://github.com/RandomFractals/vscode-snippets-viewer/issues/77) 45 | Remove unpublished eamodio.tsl-problem-matcher extension dependency 46 | - [#78](https://github.com/RandomFractals/vscode-snippets-viewer/issues/78) 47 | Refine Snippets viewer code and settings documentation 48 | - [#79](https://github.com/RandomFractals/vscode-snippets-viewer/issues/79) 49 | Move extension and command strings to new constants.ts 50 | - [#80](https://github.com/RandomFractals/vscode-snippets-viewer/issues/80) 51 | Move snippets viewer setting names to new settings.ts 52 | - [#81](https://github.com/RandomFractals/vscode-snippets-viewer/issues/81) 53 | Package and publish settings and docs update release v1.10.0 54 | 55 | ## v1.9.0 - [2021-04-08] 56 | - [#60](https://github.com/RandomFractals/vscode-snippets-viewer/issues/60) 57 | Combine snippets tree view toggles for grouping and sorting snippets 58 | - [#61](https://github.com/RandomFractals/vscode-snippets-viewer/issues/61) 59 | Add dedicated insert snippet inline context menu to snippet tree view items 60 | 61 | ## v1.8.0 - [2021-04-07] 62 | - [#55](https://github.com/RandomFractals/vscode-snippets-viewer/issues/55) 63 | Map Python snippets to use .py file icons in the snippets tree view 64 | - [#57](https://github.com/RandomFractals/vscode-snippets-viewer/issues/57) 65 | Show all snippets viewer extension badges on one line in docs 66 | - [#58](https://github.com/RandomFractals/vscode-snippets-viewer/issues/58) 67 | Resolve snippets tree view initialization when there are no user snippets 68 | 69 | ## v1.7.0 - [2021-04-03] 70 | - [#50](https://github.com/RandomFractals/vscode-snippets-viewer/issues/50) 71 | Add Focus on Active Editor Snippets setting 72 | - [#51](https://github.com/RandomFractals/vscode-snippets-viewer/issues/51) 73 | Optionally expand snippet file tree nodes on active editor change 74 | - [#52](https://github.com/RandomFractals/vscode-snippets-viewer/issues/52) 75 | Add Show Only Active Editor Language snippets setting 76 | - [#53](https://github.com/RandomFractals/vscode-snippets-viewer/issues/53) 77 | Add links to code snippets doc in features list 78 | - [#54](https://github.com/RandomFractals/vscode-snippets-viewer/issues/54) 79 | Package and publish snippets filtering and docs update release 80 | 81 | 82 | ## v1.6.0 - [2021-04-02] 83 | - [#12](https://github.com/RandomFractals/vscode-snippets-viewer/issues/12) 84 | Add user defined snippets display to the snippets tree view 85 | - [#46](https://github.com/RandomFractals/vscode-snippets-viewer/issues/46) 86 | Add project scoped snippets loading and display 87 | - [#48](https://github.com/RandomFractals/vscode-snippets-viewer/issues/48) 88 | Relable Expand snippet files settings, code, and docs 89 | - [#49](https://github.com/RandomFractals/vscode-snippets-viewer/issues/49) 90 | Package and publish user defined and project snippets release 91 | 92 | ## v1.5.0 - [2021-03-31] 93 | - [#17](https://github.com/RandomFractals/vscode-snippets-viewer/issues/17) 94 | Add combine snippets by language, group by snippet file, and collapse all snippets tree view toggles 95 | - [#34](https://github.com/RandomFractals/vscode-snippets-viewer/issues/34) 96 | Create Snippet View Menu for some of the tree view toggles 97 | - [#43](https://github.com/RandomFractals/vscode-snippets-viewer/issues/43) 98 | Add Sort Snippets by Name and by Definition Order toggles to the Snippets Tree view 99 | - [#44](https://github.com/RandomFractals/vscode-snippets-viewer/issues/44) 100 | Add Filter toggle to the Snippets Tree view title bar 101 | - [#45](https://github.com/RandomFractals/vscode-snippets-viewer/issues/45) 102 | Package and publish Snippets tree view toggles update 103 | 104 | ## v1.4.0 - [2021-03-30] 105 | - [#10](https://github.com/RandomFractals/vscode-snippets-viewer/issues/10) 106 | Auto-select and expand snippets language node based on active editor language id 107 | - [#37](https://github.com/RandomFractals/vscode-snippets-viewer/issues/37) 108 | Map javascriptreact and typescriptreact snippets file icons to what editor shows in file titlebar 109 | - [#39](https://github.com/RandomFractals/vscode-snippets-viewer/issues/39) 110 | Move all getConfiguration calls to new config.ts 111 | - [#40](https://github.com/RandomFractals/vscode-snippets-viewer/issues/40) 112 | Add better keywords to extension manifest 113 | 114 | ## v1.3.0 - [2021-03-29] 115 | - [#30](https://github.com/RandomFractals/vscode-snippets-viewer/issues/30) 116 | Auto-update Snippets Tree View on Snippets Viewer Settings changes 117 | - [#31](https://github.com/RandomFractals/vscode-snippets-viewer/issues/31) 118 | Sort snippet languages and extension snippet files alphabetically in snippets tree view 119 | - [#32](https://github.com/RandomFractals/vscode-snippets-viewer/issues/32) 120 | Add option to sort loaded snippets alphabetically by snippet name 121 | - [#33](https://github.com/RandomFractals/vscode-snippets-viewer/issues/33) 122 | Add setting to Combine snippets per language without grouping by extension snipet file 123 | - [#35](https://github.com/RandomFractals/vscode-snippets-viewer/issues/35) 124 | Package and publish snippets reload, sorting, and grouping enhancements release 125 | 126 | ## v1.2.0 - [2021-03-28] 127 | - [#13](https://github.com/RandomFractals/vscode-snippets-viewer/issues/13) 128 | Add built-in snippets display to snippets tree view 129 | - [#18](https://github.com/RandomFractals/vscode-snippets-viewer/issues/18) 130 | Add Show All Built-in Langugage Snippets extension setting 131 | - [#19](https://github.com/RandomFractals/vscode-snippets-viewer/issues/19) 132 | Add Skip Language Snippets extension setting 133 | - [#25](https://github.com/RandomFractals/vscode-snippets-viewer/issues/25) 134 | Refine language to file extension mappings for built-in extension snippets 135 | - [#26](https://github.com/RandomFractals/vscode-snippets-viewer/issues/26) 136 | Add View Seetings to the Snippets tree view title menu 137 | - [#27](https://github.com/RandomFractals/vscode-snippets-viewer/issues/27) 138 | Add Expend Snippet Files setting 139 | - [#28](https://github.com/RandomFractals/vscode-snippets-viewer/issues/28) 140 | Add Snippets Viewer Configuration section to docs 141 | - [#29](https://github.com/RandomFractals/vscode-snippets-viewer/issues/29) 142 | Package and publish Snippets tree view settings release 143 | 144 | ## v1.1.0 - [2021-03-26] 145 | - [#11](https://github.com/RandomFractals/vscode-snippets-viewer/issues/11) 146 | Add features, contributions, installation and dev build sections to docs 147 | - [#14](https://github.com/RandomFractals/vscode-snippets-viewer/issues/14) 148 | Add snippet description display to snippet tooltip 149 | - [#15](https://github.com/RandomFractals/vscode-snippets-viewer/issues/15) 150 | Add from extension name suffix to snippet tooltip title 151 | - [#20](https://github.com/RandomFractals/vscode-snippets-viewer/issues/20) 152 | Use extension display name for listing snippet files from extensions in tree view 153 | - [#21](https://github.com/RandomFractals/vscode-snippets-viewer/issues/21) 154 | Add license and vs marketplace badges to docs 155 | - [#22](https://github.com/RandomFractals/vscode-snippets-viewer/issues/22) 156 | Add .gitub/FUNDING.yml and enable sponsorship 157 | - [#23](https://github.com/RandomFractals/vscode-snippets-viewer/issues/23) 158 | Package and publish docs update and snippet tooltip refinements release 159 | 160 | ## v1.0.0 - [2021-03-25] 161 | - [#1](https://github.com/RandomFractals/vscode-snippets-viewer/issues/1) 162 | Create snippets viewer extension base setup 163 | - [#2](https://github.com/RandomFractals/vscode-snippets-viewer/issues/2) 164 | Create snippet view container 165 | - [#3](https://github.com/RandomFractals/vscode-snippets-viewer/issues/3) 166 | Create custom snippets viewer icons 167 | - [#4](https://github.com/RandomFractals/vscode-snippets-viewer/issues/4) 168 | Create snippet tree data provider 169 | - [#6](https://github.com/RandomFractals/vscode-snippets-viewer/issues/6) 170 | Create snippets loader 171 | - [#7](https://github.com/RandomFractals/vscode-snippets-viewer/issues/7) 172 | Add extra extension metadata to package.json 173 | - [#8](https://github.com/RandomFractals/vscode-snippets-viewer/issues/8) 174 | Add snippets viewer pic to docs 175 | - [#9](https://github.com/RandomFractals/vscode-snippets-viewer/issues/9) 176 | Package and publish first Snippets Viewer release 177 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # vscode-snippets-viewer 2 | 3 | [![GPL-3.0 License](https://img.shields.io/badge/license-GPL3-orange.svg?color=green)](http://opensource.org/licenses/GPL-3.0) 4 | [![Version](https://img.shields.io/visual-studio-marketplace/v/RandomFractalsInc.snippets-viewer.svg?color=orange&style=?style=for-the-badge&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=RandomFractalsInc.snippets-viewer) 5 | [![Installs](https://img.shields.io/visual-studio-marketplace/i/RandomFractalsInc.snippets-viewer.svg?color=orange)](https://marketplace.visualstudio.com/items?itemName=RandomFractalsInc.snippets-viewer) 6 | [![Downloads](https://img.shields.io/visual-studio-marketplace/d/RandomFractalsInc.snippets-viewer.svg?color=orange)](https://marketplace.visualstudio.com/items?itemName=RandomFractalsInc.snippets-viewer) 7 | 8 | https://ko-fi.com/dataPixy 9 |
10 |

11 | 12 | Snippets Viewer 13 | 14 |
15 | Snippets Viewer ⇥ for VSCode 16 |

17 | 18 | # Support 19 | 20 | [Snippets Viewer](https://github.com/RandomFractals/vscode-snippets-viewer) ⇥ was created to simplify navigation and preview of [code snippets](https://code.visualstudio.com/docs/editor/userdefinedsnippets#_install-snippets-from-the-marketplace) from built-in [languages](https://marketplace.visualstudio.com/search?target=VSCode&category=Programming%20Languages&sortBy=Installs) and [extension snippets](https://marketplace.visualstudio.com/search?target=VSCode&category=Snippets&sortBy=Installs). 21 | 22 | Please consider becoming a [Fan](https://github.com/sponsors/RandomFractals/sponsorships?tier_id=18883&preview=false) and sponsoring our dev efforts on this and other [Random Fractals, Inc.](https://twitter.com/search?q=%23RandomFractalsInc&src=typed_query&f=live) code and [data viz extensions](https://marketplace.visualstudio.com/publishers/RandomFractalsInc) if you find them useful, educational, or enhancing your daily dataViz/dev code workflows: 23 | 24 | ☕️ https://ko-fi.com/dataPixy 25 | 💖 https://github.com/sponsors/RandomFractals 26 | 27 | # Snippets Viewer 28 | 29 | ![Snippets Viewer Tree View](https://raw.githubusercontent.com/RandomFractals/vscode-snippets-viewer/main/images/snippets-viewer-tree-view.png) 30 | 31 | # Features 32 | 33 | - View [built-in](https://code.visualstudio.com/docs/editor/userdefinedsnippets#_builtin-snippets) and [extension snippets](https://code.visualstudio.com/docs/editor/userdefinedsnippets#_install-snippets-from-the-marketplace) grouped by language in the Snippets Tree View ⎇ 34 | - View [user-defined](https://code.visualstudio.com/docs/editor/userdefinedsnippets#_create-your-own-snippets) language snippets 35 | - View [project-scoped](https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-scope) language snippets for workspaces with multiple folders 36 | - Combine language snippets without snippets file grouping display in the Snippets Tree View ⎇ 37 | - Toggle [built-in](https://code.visualstudio.com/docs/editor/userdefinedsnippets#_builtin-snippets) language extension snippets display 38 | - Skip language snippets option for the specified languages in extension settings 39 | - Expand snippet files on snippet language tree node expand 40 | - Auto-select and expand language snippets on active text editor change 41 | - Show only snippets for the active text editor language 42 | - See snippet prefix and shortcut keystrokes in the Snippets Tree View ⎇ 43 | - View snippet description and preview snippet body in the Snippets Tree View ⎇ markdown tooltip 44 | - Insert a snippet from the Snippets Tree View ⎇ into the active code text editor 45 | - Open snippets file to view snippets JSON config 46 | - Go to the snippet definition in a snippet file 47 | - Sort snippets by definition order in a snippet file 48 | - Sort snippets by name 49 | - View Snippets Viewer settings 50 | 51 | # VSCode Contributions 52 | 53 | Snippets Viewer ⇥ extension Settings, Commands, and VSCode Views: 54 | 55 | ![Snippets Viewer VSCode Feature Contributions](https://raw.githubusercontent.com/RandomFractals/vscode-snippets-viewer/main/images/snippets-viewer-contributions.png) 56 | 57 | # Installation 58 | 59 | Install [Snippets Viewer ⇥](https://marketplace.visualstudio.com/items?itemName=RandomFractalsInc.snippets-viewer) via VSCode Extensions tab (`Ctrl+Shift+X`) by searching for `snippets viewer` || via [VSCode marketplace search results](https://marketplace.visualstudio.com/search?term=snippets%20viewer&target=VSCode&category=All%20categories&sortBy=Relevance). 60 | 61 | ![Snippets Viewer Installation](https://raw.githubusercontent.com/RandomFractals/vscode-snippets-viewer/main/images/snippets-viewer-installation.png) 62 | 63 | # Configuration 64 | 65 | [Create User or Workspace Settings in VSCode](http://code.visualstudio.com/docs/customization/userandworkspace#_creating-user-and-workspace-settings) to change default Snippets Viewer ⇥ extension Settings: 66 | 67 | ![Snippets Viewer Settings](https://raw.githubusercontent.com/RandomFractals/vscode-snippets-viewer/main/images/snippets-viewer-settings.png) 68 | 69 | **Note**: All Snippets Viewer ⎇ Settings start with `snippets.viewer.` prefix. 70 | Example of [`.vscode/settings.json`](https://github.com/RandomFractals/vscode-snippets-viewer/blob/main/.vscode/settings.json) you can use to specify Snippets Viewer ⎇ Settings in open project Workspace to overwrite global User [settings](https://code.visualstudio.com/docs/getstarted/settings#_settingsjson) and toggle Snippets tree view display options listed below: 71 | 72 | ``` 73 | { 74 | // Local Snippets viewer settings 75 | "snippets.viewer.sortSnippetsByName": false, 76 | "snippets.viewer.combineLanguageSnippets": true, 77 | "snippets.viewer.expandSnippetFiles": true 78 | } 79 | ``` 80 | 81 | | Setting Name | Type | Default Value | Description | 82 | | ------- | ---- | ------------- | ----------- | 83 | | `combineLanguageSnippets` | boolean | `false` | Combine language snippets in the Snippets tree view.| 84 | | `expandSnippetFiles` | boolean | `false` | Expand snippet files on snippet language tree node expand in the Snippets tree view.| 85 | | `focusOnActiveEditorSnippets` | boolean | `false` | Focus on active editor snippets when Snippets tree view is visible. | 86 | | `showBuiltInExtensionSnippets` | boolean | `true` | Show built-in language extension snippets in the Snippets tree view. | 87 | | `showOnlyActiveEditorLanguageSnippets` | boolean | `false` | Show only active editor language snippets in the Snippets tree view. | 88 | | `skipLanguageSnippets` | string | | Comma delimited list of languages to skip snippets display in the Snippets tree view. | 89 | | `sortSnippetsByName` | boolean | `false` | Sort loaded snippets by name in Snippets tree view. | 90 | 91 | # Dev Build 92 | 93 | Use the following commands to build this Snippets Viewer VSCcode extension locally for debugging and submitting pull requests (PRs): 94 | 95 | ``` 96 | $ git clone https://github.com/RandomFractals/vscode-snippets-viewer 97 | $ cd vscode-snippets-viewer 98 | $ npm install 99 | $ code . 100 | ``` 101 | 102 | Watch for changes: 103 | 104 | ``` 105 | $ npm run-script watch 106 | ``` 107 | 108 | Press `F5` in VSCode to start Snippets Viewer extension debug session. 109 | 110 | # Contributions 111 | 112 | Any & all test, code || feedback contributions are welcome. 113 | 114 | Open an issue || create a pull request to make this Snippets Viewer VSCode extension work better for all. 🤗 115 | -------------------------------------------------------------------------------- /images/dark/snippet.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /images/dark/snippets.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /images/light/snippet.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /images/light/snippets.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /images/snippet-tree.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /images/snippets-viewer-contributions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RandomFractals/vscode-snippets-viewer/28169dee13792a90502eaadc4504e19faffaf99e/images/snippets-viewer-contributions.png -------------------------------------------------------------------------------- /images/snippets-viewer-installation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RandomFractals/vscode-snippets-viewer/28169dee13792a90502eaadc4504e19faffaf99e/images/snippets-viewer-installation.png -------------------------------------------------------------------------------- /images/snippets-viewer-settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RandomFractals/vscode-snippets-viewer/28169dee13792a90502eaadc4504e19faffaf99e/images/snippets-viewer-settings.png -------------------------------------------------------------------------------- /images/snippets-viewer-tree-view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RandomFractals/vscode-snippets-viewer/28169dee13792a90502eaadc4504e19faffaf99e/images/snippets-viewer-tree-view.png -------------------------------------------------------------------------------- /images/snippets-viewer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RandomFractals/vscode-snippets-viewer/28169dee13792a90502eaadc4504e19faffaf99e/images/snippets-viewer.png -------------------------------------------------------------------------------- /images/snippets-viewer.svg: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "snippets-viewer", 3 | "version": "1.12.0", 4 | "lockfileVersion": 1, 5 | "requires": true, 6 | "dependencies": { 7 | "@discoveryjs/json-ext": { 8 | "version": "0.5.7", 9 | "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz", 10 | "integrity": "sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==", 11 | "dev": true 12 | }, 13 | "@eslint/eslintrc": { 14 | "version": "1.2.1", 15 | "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.2.1.tgz", 16 | "integrity": "sha512-bxvbYnBPN1Gibwyp6NrpnFzA3YtRL3BBAyEAFVIpNTm2Rn4Vy87GA5M4aSn3InRrlsbX5N0GW7XIx+U4SAEKdQ==", 17 | "dev": true, 18 | "requires": { 19 | "ajv": "^6.12.4", 20 | "debug": "^4.3.2", 21 | "espree": "^9.3.1", 22 | "globals": "^13.9.0", 23 | "ignore": "^5.2.0", 24 | "import-fresh": "^3.2.1", 25 | "js-yaml": "^4.1.0", 26 | "minimatch": "^3.0.4", 27 | "strip-json-comments": "^3.1.1" 28 | } 29 | }, 30 | "@humanwhocodes/config-array": { 31 | "version": "0.9.5", 32 | "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.5.tgz", 33 | "integrity": "sha512-ObyMyWxZiCu/yTisA7uzx81s40xR2fD5Cg/2Kq7G02ajkNubJf6BopgDTmDyc3U7sXpNKM8cYOw7s7Tyr+DnCw==", 34 | "dev": true, 35 | "requires": { 36 | "@humanwhocodes/object-schema": "^1.2.1", 37 | "debug": "^4.1.1", 38 | "minimatch": "^3.0.4" 39 | } 40 | }, 41 | "@humanwhocodes/object-schema": { 42 | "version": "1.2.1", 43 | "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", 44 | "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", 45 | "dev": true 46 | }, 47 | "@nodelib/fs.scandir": { 48 | "version": "2.1.5", 49 | "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", 50 | "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", 51 | "dev": true, 52 | "requires": { 53 | "@nodelib/fs.stat": "2.0.5", 54 | "run-parallel": "^1.1.9" 55 | } 56 | }, 57 | "@nodelib/fs.stat": { 58 | "version": "2.0.5", 59 | "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", 60 | "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", 61 | "dev": true 62 | }, 63 | "@nodelib/fs.walk": { 64 | "version": "1.2.8", 65 | "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", 66 | "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", 67 | "dev": true, 68 | "requires": { 69 | "@nodelib/fs.scandir": "2.1.5", 70 | "fastq": "^1.6.0" 71 | } 72 | }, 73 | "@tootallnate/once": { 74 | "version": "1.1.2", 75 | "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", 76 | "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", 77 | "dev": true 78 | }, 79 | "@types/eslint": { 80 | "version": "8.4.1", 81 | "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.1.tgz", 82 | "integrity": "sha512-GE44+DNEyxxh2Kc6ro/VkIj+9ma0pO0bwv9+uHSyBrikYOHr8zYcdPvnBOp1aw8s+CjRvuSx7CyWqRrNFQ59mA==", 83 | "dev": true, 84 | "requires": { 85 | "@types/estree": "*", 86 | "@types/json-schema": "*" 87 | } 88 | }, 89 | "@types/eslint-scope": { 90 | "version": "3.7.3", 91 | "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.3.tgz", 92 | "integrity": "sha512-PB3ldyrcnAicT35TWPs5IcwKD8S333HMaa2VVv4+wdvebJkjWuW/xESoB8IwRcog8HYVYamb1g/R31Qv5Bx03g==", 93 | "dev": true, 94 | "requires": { 95 | "@types/eslint": "*", 96 | "@types/estree": "*" 97 | } 98 | }, 99 | "@types/estree": { 100 | "version": "0.0.51", 101 | "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.51.tgz", 102 | "integrity": "sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ==", 103 | "dev": true 104 | }, 105 | "@types/glob": { 106 | "version": "7.2.0", 107 | "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz", 108 | "integrity": "sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==", 109 | "dev": true, 110 | "requires": { 111 | "@types/minimatch": "*", 112 | "@types/node": "*" 113 | } 114 | }, 115 | "@types/json-schema": { 116 | "version": "7.0.11", 117 | "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz", 118 | "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==", 119 | "dev": true 120 | }, 121 | "@types/minimatch": { 122 | "version": "3.0.5", 123 | "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz", 124 | "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==", 125 | "dev": true 126 | }, 127 | "@types/mocha": { 128 | "version": "9.1.0", 129 | "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-9.1.0.tgz", 130 | "integrity": "sha512-QCWHkbMv4Y5U9oW10Uxbr45qMMSzl4OzijsozynUAgx3kEHUdXB00udx2dWDQ7f2TU2a2uuiFaRZjCe3unPpeg==", 131 | "dev": true 132 | }, 133 | "@types/node": { 134 | "version": "17.0.25", 135 | "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.25.tgz", 136 | "integrity": "sha512-wANk6fBrUwdpY4isjWrKTufkrXdu1D2YHCot2fD/DfWxF5sMrVSA+KN7ydckvaTCh0HiqX9IVl0L5/ZoXg5M7w==", 137 | "dev": true 138 | }, 139 | "@types/vscode": { 140 | "version": "1.66.0", 141 | "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.66.0.tgz", 142 | "integrity": "sha512-ZfJck4M7nrGasfs4A4YbUoxis3Vu24cETw3DERsNYtDZmYSYtk6ljKexKFKhImO/ZmY6ZMsmegu2FPkXoUFImA==", 143 | "dev": true 144 | }, 145 | "@typescript-eslint/eslint-plugin": { 146 | "version": "5.20.0", 147 | "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.20.0.tgz", 148 | "integrity": "sha512-fapGzoxilCn3sBtC6NtXZX6+P/Hef7VDbyfGqTTpzYydwhlkevB+0vE0EnmHPVTVSy68GUncyJ/2PcrFBeCo5Q==", 149 | "dev": true, 150 | "requires": { 151 | "@typescript-eslint/scope-manager": "5.20.0", 152 | "@typescript-eslint/type-utils": "5.20.0", 153 | "@typescript-eslint/utils": "5.20.0", 154 | "debug": "^4.3.2", 155 | "functional-red-black-tree": "^1.0.1", 156 | "ignore": "^5.1.8", 157 | "regexpp": "^3.2.0", 158 | "semver": "^7.3.5", 159 | "tsutils": "^3.21.0" 160 | } 161 | }, 162 | "@typescript-eslint/parser": { 163 | "version": "5.20.0", 164 | "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.20.0.tgz", 165 | "integrity": "sha512-UWKibrCZQCYvobmu3/N8TWbEeo/EPQbS41Ux1F9XqPzGuV7pfg6n50ZrFo6hryynD8qOTTfLHtHjjdQtxJ0h/w==", 166 | "dev": true, 167 | "requires": { 168 | "@typescript-eslint/scope-manager": "5.20.0", 169 | "@typescript-eslint/types": "5.20.0", 170 | "@typescript-eslint/typescript-estree": "5.20.0", 171 | "debug": "^4.3.2" 172 | } 173 | }, 174 | "@typescript-eslint/scope-manager": { 175 | "version": "5.20.0", 176 | "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.20.0.tgz", 177 | "integrity": "sha512-h9KtuPZ4D/JuX7rpp1iKg3zOH0WNEa+ZIXwpW/KWmEFDxlA/HSfCMhiyF1HS/drTICjIbpA6OqkAhrP/zkCStg==", 178 | "dev": true, 179 | "requires": { 180 | "@typescript-eslint/types": "5.20.0", 181 | "@typescript-eslint/visitor-keys": "5.20.0" 182 | } 183 | }, 184 | "@typescript-eslint/type-utils": { 185 | "version": "5.20.0", 186 | "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.20.0.tgz", 187 | "integrity": "sha512-WxNrCwYB3N/m8ceyoGCgbLmuZwupvzN0rE8NBuwnl7APgjv24ZJIjkNzoFBXPRCGzLNkoU/WfanW0exvp/+3Iw==", 188 | "dev": true, 189 | "requires": { 190 | "@typescript-eslint/utils": "5.20.0", 191 | "debug": "^4.3.2", 192 | "tsutils": "^3.21.0" 193 | } 194 | }, 195 | "@typescript-eslint/types": { 196 | "version": "5.20.0", 197 | "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.20.0.tgz", 198 | "integrity": "sha512-+d8wprF9GyvPwtoB4CxBAR/s0rpP25XKgnOvMf/gMXYDvlUC3rPFHupdTQ/ow9vn7UDe5rX02ovGYQbv/IUCbg==", 199 | "dev": true 200 | }, 201 | "@typescript-eslint/typescript-estree": { 202 | "version": "5.20.0", 203 | "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.20.0.tgz", 204 | "integrity": "sha512-36xLjP/+bXusLMrT9fMMYy1KJAGgHhlER2TqpUVDYUQg4w0q/NW/sg4UGAgVwAqb8V4zYg43KMUpM8vV2lve6w==", 205 | "dev": true, 206 | "requires": { 207 | "@typescript-eslint/types": "5.20.0", 208 | "@typescript-eslint/visitor-keys": "5.20.0", 209 | "debug": "^4.3.2", 210 | "globby": "^11.0.4", 211 | "is-glob": "^4.0.3", 212 | "semver": "^7.3.5", 213 | "tsutils": "^3.21.0" 214 | } 215 | }, 216 | "@typescript-eslint/utils": { 217 | "version": "5.20.0", 218 | "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.20.0.tgz", 219 | "integrity": "sha512-lHONGJL1LIO12Ujyx8L8xKbwWSkoUKFSO+0wDAqGXiudWB2EO7WEUT+YZLtVbmOmSllAjLb9tpoIPwpRe5Tn6w==", 220 | "dev": true, 221 | "requires": { 222 | "@types/json-schema": "^7.0.9", 223 | "@typescript-eslint/scope-manager": "5.20.0", 224 | "@typescript-eslint/types": "5.20.0", 225 | "@typescript-eslint/typescript-estree": "5.20.0", 226 | "eslint-scope": "^5.1.1", 227 | "eslint-utils": "^3.0.0" 228 | } 229 | }, 230 | "@typescript-eslint/visitor-keys": { 231 | "version": "5.20.0", 232 | "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.20.0.tgz", 233 | "integrity": "sha512-1flRpNF+0CAQkMNlTJ6L/Z5jiODG/e5+7mk6XwtPOUS3UrTz3UOiAg9jG2VtKsWI6rZQfy4C6a232QNRZTRGlg==", 234 | "dev": true, 235 | "requires": { 236 | "@typescript-eslint/types": "5.20.0", 237 | "eslint-visitor-keys": "^3.0.0" 238 | } 239 | }, 240 | "@ungap/promise-all-settled": { 241 | "version": "1.1.2", 242 | "resolved": "https://registry.npmjs.org/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz", 243 | "integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==", 244 | "dev": true 245 | }, 246 | "@webassemblyjs/ast": { 247 | "version": "1.11.1", 248 | "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", 249 | "integrity": "sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==", 250 | "dev": true, 251 | "requires": { 252 | "@webassemblyjs/helper-numbers": "1.11.1", 253 | "@webassemblyjs/helper-wasm-bytecode": "1.11.1" 254 | } 255 | }, 256 | "@webassemblyjs/floating-point-hex-parser": { 257 | "version": "1.11.1", 258 | "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz", 259 | "integrity": "sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ==", 260 | "dev": true 261 | }, 262 | "@webassemblyjs/helper-api-error": { 263 | "version": "1.11.1", 264 | "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz", 265 | "integrity": "sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg==", 266 | "dev": true 267 | }, 268 | "@webassemblyjs/helper-buffer": { 269 | "version": "1.11.1", 270 | "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz", 271 | "integrity": "sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA==", 272 | "dev": true 273 | }, 274 | "@webassemblyjs/helper-numbers": { 275 | "version": "1.11.1", 276 | "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz", 277 | "integrity": "sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ==", 278 | "dev": true, 279 | "requires": { 280 | "@webassemblyjs/floating-point-hex-parser": "1.11.1", 281 | "@webassemblyjs/helper-api-error": "1.11.1", 282 | "@xtuc/long": "4.2.2" 283 | } 284 | }, 285 | "@webassemblyjs/helper-wasm-bytecode": { 286 | "version": "1.11.1", 287 | "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz", 288 | "integrity": "sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q==", 289 | "dev": true 290 | }, 291 | "@webassemblyjs/helper-wasm-section": { 292 | "version": "1.11.1", 293 | "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz", 294 | "integrity": "sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg==", 295 | "dev": true, 296 | "requires": { 297 | "@webassemblyjs/ast": "1.11.1", 298 | "@webassemblyjs/helper-buffer": "1.11.1", 299 | "@webassemblyjs/helper-wasm-bytecode": "1.11.1", 300 | "@webassemblyjs/wasm-gen": "1.11.1" 301 | } 302 | }, 303 | "@webassemblyjs/ieee754": { 304 | "version": "1.11.1", 305 | "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz", 306 | "integrity": "sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ==", 307 | "dev": true, 308 | "requires": { 309 | "@xtuc/ieee754": "^1.2.0" 310 | } 311 | }, 312 | "@webassemblyjs/leb128": { 313 | "version": "1.11.1", 314 | "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.1.tgz", 315 | "integrity": "sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw==", 316 | "dev": true, 317 | "requires": { 318 | "@xtuc/long": "4.2.2" 319 | } 320 | }, 321 | "@webassemblyjs/utf8": { 322 | "version": "1.11.1", 323 | "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.1.tgz", 324 | "integrity": "sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ==", 325 | "dev": true 326 | }, 327 | "@webassemblyjs/wasm-edit": { 328 | "version": "1.11.1", 329 | "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz", 330 | "integrity": "sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA==", 331 | "dev": true, 332 | "requires": { 333 | "@webassemblyjs/ast": "1.11.1", 334 | "@webassemblyjs/helper-buffer": "1.11.1", 335 | "@webassemblyjs/helper-wasm-bytecode": "1.11.1", 336 | "@webassemblyjs/helper-wasm-section": "1.11.1", 337 | "@webassemblyjs/wasm-gen": "1.11.1", 338 | "@webassemblyjs/wasm-opt": "1.11.1", 339 | "@webassemblyjs/wasm-parser": "1.11.1", 340 | "@webassemblyjs/wast-printer": "1.11.1" 341 | } 342 | }, 343 | "@webassemblyjs/wasm-gen": { 344 | "version": "1.11.1", 345 | "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz", 346 | "integrity": "sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA==", 347 | "dev": true, 348 | "requires": { 349 | "@webassemblyjs/ast": "1.11.1", 350 | "@webassemblyjs/helper-wasm-bytecode": "1.11.1", 351 | "@webassemblyjs/ieee754": "1.11.1", 352 | "@webassemblyjs/leb128": "1.11.1", 353 | "@webassemblyjs/utf8": "1.11.1" 354 | } 355 | }, 356 | "@webassemblyjs/wasm-opt": { 357 | "version": "1.11.1", 358 | "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz", 359 | "integrity": "sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw==", 360 | "dev": true, 361 | "requires": { 362 | "@webassemblyjs/ast": "1.11.1", 363 | "@webassemblyjs/helper-buffer": "1.11.1", 364 | "@webassemblyjs/wasm-gen": "1.11.1", 365 | "@webassemblyjs/wasm-parser": "1.11.1" 366 | } 367 | }, 368 | "@webassemblyjs/wasm-parser": { 369 | "version": "1.11.1", 370 | "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz", 371 | "integrity": "sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA==", 372 | "dev": true, 373 | "requires": { 374 | "@webassemblyjs/ast": "1.11.1", 375 | "@webassemblyjs/helper-api-error": "1.11.1", 376 | "@webassemblyjs/helper-wasm-bytecode": "1.11.1", 377 | "@webassemblyjs/ieee754": "1.11.1", 378 | "@webassemblyjs/leb128": "1.11.1", 379 | "@webassemblyjs/utf8": "1.11.1" 380 | } 381 | }, 382 | "@webassemblyjs/wast-printer": { 383 | "version": "1.11.1", 384 | "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz", 385 | "integrity": "sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg==", 386 | "dev": true, 387 | "requires": { 388 | "@webassemblyjs/ast": "1.11.1", 389 | "@xtuc/long": "4.2.2" 390 | } 391 | }, 392 | "@webpack-cli/configtest": { 393 | "version": "1.1.1", 394 | "resolved": "https://registry.npmjs.org/@webpack-cli/configtest/-/configtest-1.1.1.tgz", 395 | "integrity": "sha512-1FBc1f9G4P/AxMqIgfZgeOTuRnwZMten8E7zap5zgpPInnCrP8D4Q81+4CWIch8i/Nf7nXjP0v6CjjbHOrXhKg==", 396 | "dev": true 397 | }, 398 | "@webpack-cli/info": { 399 | "version": "1.4.1", 400 | "resolved": "https://registry.npmjs.org/@webpack-cli/info/-/info-1.4.1.tgz", 401 | "integrity": "sha512-PKVGmazEq3oAo46Q63tpMr4HipI3OPfP7LiNOEJg963RMgT0rqheag28NCML0o3GIzA3DmxP1ZIAv9oTX1CUIA==", 402 | "dev": true, 403 | "requires": { 404 | "envinfo": "^7.7.3" 405 | } 406 | }, 407 | "@webpack-cli/serve": { 408 | "version": "1.6.1", 409 | "resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-1.6.1.tgz", 410 | "integrity": "sha512-gNGTiTrjEVQ0OcVnzsRSqTxaBSr+dmTfm+qJsCDluky8uhdLWep7Gcr62QsAKHTMxjCS/8nEITsmFAhfIx+QSw==", 411 | "dev": true 412 | }, 413 | "@xtuc/ieee754": { 414 | "version": "1.2.0", 415 | "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", 416 | "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", 417 | "dev": true 418 | }, 419 | "@xtuc/long": { 420 | "version": "4.2.2", 421 | "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", 422 | "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", 423 | "dev": true 424 | }, 425 | "acorn": { 426 | "version": "8.7.0", 427 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.0.tgz", 428 | "integrity": "sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ==", 429 | "dev": true 430 | }, 431 | "acorn-import-assertions": { 432 | "version": "1.8.0", 433 | "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz", 434 | "integrity": "sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==", 435 | "dev": true 436 | }, 437 | "acorn-jsx": { 438 | "version": "5.3.2", 439 | "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", 440 | "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", 441 | "dev": true 442 | }, 443 | "agent-base": { 444 | "version": "6.0.2", 445 | "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", 446 | "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", 447 | "dev": true, 448 | "requires": { 449 | "debug": "4" 450 | } 451 | }, 452 | "ajv": { 453 | "version": "6.12.6", 454 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", 455 | "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", 456 | "dev": true, 457 | "requires": { 458 | "fast-deep-equal": "^3.1.1", 459 | "fast-json-stable-stringify": "^2.0.0", 460 | "json-schema-traverse": "^0.4.1", 461 | "uri-js": "^4.2.2" 462 | } 463 | }, 464 | "ajv-keywords": { 465 | "version": "3.5.2", 466 | "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", 467 | "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", 468 | "dev": true 469 | }, 470 | "ansi-colors": { 471 | "version": "4.1.1", 472 | "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", 473 | "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", 474 | "dev": true 475 | }, 476 | "ansi-regex": { 477 | "version": "5.0.1", 478 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 479 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 480 | "dev": true 481 | }, 482 | "ansi-styles": { 483 | "version": "4.3.0", 484 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 485 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 486 | "dev": true, 487 | "requires": { 488 | "color-convert": "^2.0.1" 489 | } 490 | }, 491 | "anymatch": { 492 | "version": "3.1.2", 493 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", 494 | "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", 495 | "dev": true, 496 | "requires": { 497 | "normalize-path": "^3.0.0", 498 | "picomatch": "^2.0.4" 499 | } 500 | }, 501 | "argparse": { 502 | "version": "2.0.1", 503 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", 504 | "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", 505 | "dev": true 506 | }, 507 | "array-union": { 508 | "version": "2.1.0", 509 | "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", 510 | "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", 511 | "dev": true 512 | }, 513 | "balanced-match": { 514 | "version": "1.0.2", 515 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 516 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", 517 | "dev": true 518 | }, 519 | "big-integer": { 520 | "version": "1.6.51", 521 | "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz", 522 | "integrity": "sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==", 523 | "dev": true 524 | }, 525 | "binary": { 526 | "version": "0.3.0", 527 | "resolved": "https://registry.npmjs.org/binary/-/binary-0.3.0.tgz", 528 | "integrity": "sha1-n2BVO8XOjDOG87VTz/R0Yq3sqnk=", 529 | "dev": true, 530 | "requires": { 531 | "buffers": "~0.1.1", 532 | "chainsaw": "~0.1.0" 533 | } 534 | }, 535 | "binary-extensions": { 536 | "version": "2.2.0", 537 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", 538 | "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", 539 | "dev": true 540 | }, 541 | "bluebird": { 542 | "version": "3.4.7", 543 | "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.4.7.tgz", 544 | "integrity": "sha1-9y12C+Cbf3bQjtj66Ysomo0F+rM=", 545 | "dev": true 546 | }, 547 | "brace-expansion": { 548 | "version": "1.1.11", 549 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 550 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 551 | "dev": true, 552 | "requires": { 553 | "balanced-match": "^1.0.0", 554 | "concat-map": "0.0.1" 555 | } 556 | }, 557 | "braces": { 558 | "version": "3.0.2", 559 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", 560 | "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", 561 | "dev": true, 562 | "requires": { 563 | "fill-range": "^7.0.1" 564 | } 565 | }, 566 | "browser-stdout": { 567 | "version": "1.3.1", 568 | "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", 569 | "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", 570 | "dev": true 571 | }, 572 | "browserslist": { 573 | "version": "4.20.2", 574 | "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.20.2.tgz", 575 | "integrity": "sha512-CQOBCqp/9pDvDbx3xfMi+86pr4KXIf2FDkTTdeuYw8OxS9t898LA1Khq57gtufFILXpfgsSx5woNgsBgvGjpsA==", 576 | "dev": true, 577 | "requires": { 578 | "caniuse-lite": "^1.0.30001317", 579 | "electron-to-chromium": "^1.4.84", 580 | "escalade": "^3.1.1", 581 | "node-releases": "^2.0.2", 582 | "picocolors": "^1.0.0" 583 | } 584 | }, 585 | "buffer-from": { 586 | "version": "1.1.2", 587 | "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", 588 | "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", 589 | "dev": true 590 | }, 591 | "buffer-indexof-polyfill": { 592 | "version": "1.0.2", 593 | "resolved": "https://registry.npmjs.org/buffer-indexof-polyfill/-/buffer-indexof-polyfill-1.0.2.tgz", 594 | "integrity": "sha512-I7wzHwA3t1/lwXQh+A5PbNvJxgfo5r3xulgpYDB5zckTu/Z9oUK9biouBKQUjEqzaz3HnAT6TYoovmE+GqSf7A==", 595 | "dev": true 596 | }, 597 | "buffers": { 598 | "version": "0.1.1", 599 | "resolved": "https://registry.npmjs.org/buffers/-/buffers-0.1.1.tgz", 600 | "integrity": "sha1-skV5w77U1tOWru5tmorn9Ugqt7s=", 601 | "dev": true 602 | }, 603 | "callsites": { 604 | "version": "3.1.0", 605 | "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", 606 | "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", 607 | "dev": true 608 | }, 609 | "camelcase": { 610 | "version": "6.3.0", 611 | "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", 612 | "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", 613 | "dev": true 614 | }, 615 | "caniuse-lite": { 616 | "version": "1.0.30001332", 617 | "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001332.tgz", 618 | "integrity": "sha512-10T30NYOEQtN6C11YGg411yebhvpnC6Z102+B95eAsN0oB6KUs01ivE8u+G6FMIRtIrVlYXhL+LUwQ3/hXwDWw==", 619 | "dev": true 620 | }, 621 | "chainsaw": { 622 | "version": "0.1.0", 623 | "resolved": "https://registry.npmjs.org/chainsaw/-/chainsaw-0.1.0.tgz", 624 | "integrity": "sha1-XqtQsor+WAdNDVgpE4iCi15fvJg=", 625 | "dev": true, 626 | "requires": { 627 | "traverse": ">=0.3.0 <0.4" 628 | } 629 | }, 630 | "chalk": { 631 | "version": "4.1.2", 632 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", 633 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", 634 | "dev": true, 635 | "requires": { 636 | "ansi-styles": "^4.1.0", 637 | "supports-color": "^7.1.0" 638 | } 639 | }, 640 | "chokidar": { 641 | "version": "3.5.3", 642 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", 643 | "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", 644 | "dev": true, 645 | "requires": { 646 | "anymatch": "~3.1.2", 647 | "braces": "~3.0.2", 648 | "fsevents": "~2.3.2", 649 | "glob-parent": "~5.1.2", 650 | "is-binary-path": "~2.1.0", 651 | "is-glob": "~4.0.1", 652 | "normalize-path": "~3.0.0", 653 | "readdirp": "~3.6.0" 654 | } 655 | }, 656 | "chrome-trace-event": { 657 | "version": "1.0.3", 658 | "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz", 659 | "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==", 660 | "dev": true 661 | }, 662 | "cliui": { 663 | "version": "7.0.4", 664 | "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", 665 | "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", 666 | "dev": true, 667 | "requires": { 668 | "string-width": "^4.2.0", 669 | "strip-ansi": "^6.0.0", 670 | "wrap-ansi": "^7.0.0" 671 | } 672 | }, 673 | "clone-deep": { 674 | "version": "4.0.1", 675 | "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", 676 | "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", 677 | "dev": true, 678 | "requires": { 679 | "is-plain-object": "^2.0.4", 680 | "kind-of": "^6.0.2", 681 | "shallow-clone": "^3.0.0" 682 | } 683 | }, 684 | "color-convert": { 685 | "version": "2.0.1", 686 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 687 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 688 | "dev": true, 689 | "requires": { 690 | "color-name": "~1.1.4" 691 | } 692 | }, 693 | "color-name": { 694 | "version": "1.1.4", 695 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 696 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 697 | "dev": true 698 | }, 699 | "colorette": { 700 | "version": "2.0.16", 701 | "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.16.tgz", 702 | "integrity": "sha512-hUewv7oMjCp+wkBv5Rm0v87eJhq4woh5rSR+42YSQJKecCqgIqNkZ6lAlQms/BwHPJA5NKMRlpxPRv0n8HQW6g==", 703 | "dev": true 704 | }, 705 | "commander": { 706 | "version": "2.20.3", 707 | "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", 708 | "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", 709 | "dev": true 710 | }, 711 | "concat-map": { 712 | "version": "0.0.1", 713 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 714 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", 715 | "dev": true 716 | }, 717 | "core-util-is": { 718 | "version": "1.0.3", 719 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", 720 | "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", 721 | "dev": true 722 | }, 723 | "cross-spawn": { 724 | "version": "7.0.3", 725 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", 726 | "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", 727 | "dev": true, 728 | "requires": { 729 | "path-key": "^3.1.0", 730 | "shebang-command": "^2.0.0", 731 | "which": "^2.0.1" 732 | } 733 | }, 734 | "debug": { 735 | "version": "4.3.4", 736 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 737 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 738 | "dev": true, 739 | "requires": { 740 | "ms": "2.1.2" 741 | } 742 | }, 743 | "decamelize": { 744 | "version": "4.0.0", 745 | "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", 746 | "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", 747 | "dev": true 748 | }, 749 | "deep-is": { 750 | "version": "0.1.4", 751 | "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", 752 | "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", 753 | "dev": true 754 | }, 755 | "diff": { 756 | "version": "5.0.0", 757 | "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", 758 | "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", 759 | "dev": true 760 | }, 761 | "dir-glob": { 762 | "version": "3.0.1", 763 | "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", 764 | "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", 765 | "dev": true, 766 | "requires": { 767 | "path-type": "^4.0.0" 768 | } 769 | }, 770 | "doctrine": { 771 | "version": "3.0.0", 772 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", 773 | "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", 774 | "dev": true, 775 | "requires": { 776 | "esutils": "^2.0.2" 777 | } 778 | }, 779 | "duplexer2": { 780 | "version": "0.1.4", 781 | "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", 782 | "integrity": "sha1-ixLauHjA1p4+eJEFFmKjL8a93ME=", 783 | "dev": true, 784 | "requires": { 785 | "readable-stream": "^2.0.2" 786 | } 787 | }, 788 | "electron-to-chromium": { 789 | "version": "1.4.113", 790 | "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.113.tgz", 791 | "integrity": "sha512-s30WKxp27F3bBH6fA07FYL2Xm/FYnYrKpMjHr3XVCTUb9anAyZn/BeZfPWgTZGAbJeT4NxNwISSbLcYZvggPMA==", 792 | "dev": true 793 | }, 794 | "emoji-regex": { 795 | "version": "8.0.0", 796 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 797 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", 798 | "dev": true 799 | }, 800 | "enhanced-resolve": { 801 | "version": "5.9.3", 802 | "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.9.3.tgz", 803 | "integrity": "sha512-Bq9VSor+kjvW3f9/MiiR4eE3XYgOl7/rS8lnSxbRbF3kS0B2r+Y9w5krBWxZgDxASVZbdYrn5wT4j/Wb0J9qow==", 804 | "dev": true, 805 | "requires": { 806 | "graceful-fs": "^4.2.4", 807 | "tapable": "^2.2.0" 808 | } 809 | }, 810 | "envinfo": { 811 | "version": "7.8.1", 812 | "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.8.1.tgz", 813 | "integrity": "sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw==", 814 | "dev": true 815 | }, 816 | "es-module-lexer": { 817 | "version": "0.9.3", 818 | "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.9.3.tgz", 819 | "integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==", 820 | "dev": true 821 | }, 822 | "escalade": { 823 | "version": "3.1.1", 824 | "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", 825 | "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", 826 | "dev": true 827 | }, 828 | "escape-string-regexp": { 829 | "version": "4.0.0", 830 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", 831 | "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", 832 | "dev": true 833 | }, 834 | "eslint": { 835 | "version": "8.13.0", 836 | "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.13.0.tgz", 837 | "integrity": "sha512-D+Xei61eInqauAyTJ6C0q6x9mx7kTUC1KZ0m0LSEexR0V+e94K12LmWX076ZIsldwfQ2RONdaJe0re0TRGQbRQ==", 838 | "dev": true, 839 | "requires": { 840 | "@eslint/eslintrc": "^1.2.1", 841 | "@humanwhocodes/config-array": "^0.9.2", 842 | "ajv": "^6.10.0", 843 | "chalk": "^4.0.0", 844 | "cross-spawn": "^7.0.2", 845 | "debug": "^4.3.2", 846 | "doctrine": "^3.0.0", 847 | "escape-string-regexp": "^4.0.0", 848 | "eslint-scope": "^7.1.1", 849 | "eslint-utils": "^3.0.0", 850 | "eslint-visitor-keys": "^3.3.0", 851 | "espree": "^9.3.1", 852 | "esquery": "^1.4.0", 853 | "esutils": "^2.0.2", 854 | "fast-deep-equal": "^3.1.3", 855 | "file-entry-cache": "^6.0.1", 856 | "functional-red-black-tree": "^1.0.1", 857 | "glob-parent": "^6.0.1", 858 | "globals": "^13.6.0", 859 | "ignore": "^5.2.0", 860 | "import-fresh": "^3.0.0", 861 | "imurmurhash": "^0.1.4", 862 | "is-glob": "^4.0.0", 863 | "js-yaml": "^4.1.0", 864 | "json-stable-stringify-without-jsonify": "^1.0.1", 865 | "levn": "^0.4.1", 866 | "lodash.merge": "^4.6.2", 867 | "minimatch": "^3.0.4", 868 | "natural-compare": "^1.4.0", 869 | "optionator": "^0.9.1", 870 | "regexpp": "^3.2.0", 871 | "strip-ansi": "^6.0.1", 872 | "strip-json-comments": "^3.1.0", 873 | "text-table": "^0.2.0", 874 | "v8-compile-cache": "^2.0.3" 875 | }, 876 | "dependencies": { 877 | "eslint-scope": { 878 | "version": "7.1.1", 879 | "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz", 880 | "integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==", 881 | "dev": true, 882 | "requires": { 883 | "esrecurse": "^4.3.0", 884 | "estraverse": "^5.2.0" 885 | } 886 | }, 887 | "estraverse": { 888 | "version": "5.3.0", 889 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", 890 | "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", 891 | "dev": true 892 | }, 893 | "glob-parent": { 894 | "version": "6.0.2", 895 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", 896 | "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", 897 | "dev": true, 898 | "requires": { 899 | "is-glob": "^4.0.3" 900 | } 901 | } 902 | } 903 | }, 904 | "eslint-scope": { 905 | "version": "5.1.1", 906 | "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", 907 | "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", 908 | "dev": true, 909 | "requires": { 910 | "esrecurse": "^4.3.0", 911 | "estraverse": "^4.1.1" 912 | } 913 | }, 914 | "eslint-utils": { 915 | "version": "3.0.0", 916 | "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz", 917 | "integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==", 918 | "dev": true, 919 | "requires": { 920 | "eslint-visitor-keys": "^2.0.0" 921 | }, 922 | "dependencies": { 923 | "eslint-visitor-keys": { 924 | "version": "2.1.0", 925 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", 926 | "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", 927 | "dev": true 928 | } 929 | } 930 | }, 931 | "eslint-visitor-keys": { 932 | "version": "3.3.0", 933 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz", 934 | "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==", 935 | "dev": true 936 | }, 937 | "espree": { 938 | "version": "9.3.1", 939 | "resolved": "https://registry.npmjs.org/espree/-/espree-9.3.1.tgz", 940 | "integrity": "sha512-bvdyLmJMfwkV3NCRl5ZhJf22zBFo1y8bYh3VYb+bfzqNB4Je68P2sSuXyuFquzWLebHpNd2/d5uv7yoP9ISnGQ==", 941 | "dev": true, 942 | "requires": { 943 | "acorn": "^8.7.0", 944 | "acorn-jsx": "^5.3.1", 945 | "eslint-visitor-keys": "^3.3.0" 946 | } 947 | }, 948 | "esquery": { 949 | "version": "1.4.0", 950 | "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", 951 | "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", 952 | "dev": true, 953 | "requires": { 954 | "estraverse": "^5.1.0" 955 | }, 956 | "dependencies": { 957 | "estraverse": { 958 | "version": "5.3.0", 959 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", 960 | "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", 961 | "dev": true 962 | } 963 | } 964 | }, 965 | "esrecurse": { 966 | "version": "4.3.0", 967 | "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", 968 | "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", 969 | "dev": true, 970 | "requires": { 971 | "estraverse": "^5.2.0" 972 | }, 973 | "dependencies": { 974 | "estraverse": { 975 | "version": "5.3.0", 976 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", 977 | "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", 978 | "dev": true 979 | } 980 | } 981 | }, 982 | "estraverse": { 983 | "version": "4.3.0", 984 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", 985 | "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", 986 | "dev": true 987 | }, 988 | "esutils": { 989 | "version": "2.0.3", 990 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", 991 | "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", 992 | "dev": true 993 | }, 994 | "events": { 995 | "version": "3.3.0", 996 | "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", 997 | "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", 998 | "dev": true 999 | }, 1000 | "execa": { 1001 | "version": "5.1.1", 1002 | "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", 1003 | "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", 1004 | "dev": true, 1005 | "requires": { 1006 | "cross-spawn": "^7.0.3", 1007 | "get-stream": "^6.0.0", 1008 | "human-signals": "^2.1.0", 1009 | "is-stream": "^2.0.0", 1010 | "merge-stream": "^2.0.0", 1011 | "npm-run-path": "^4.0.1", 1012 | "onetime": "^5.1.2", 1013 | "signal-exit": "^3.0.3", 1014 | "strip-final-newline": "^2.0.0" 1015 | } 1016 | }, 1017 | "fast-deep-equal": { 1018 | "version": "3.1.3", 1019 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", 1020 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", 1021 | "dev": true 1022 | }, 1023 | "fast-glob": { 1024 | "version": "3.2.11", 1025 | "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.11.tgz", 1026 | "integrity": "sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==", 1027 | "dev": true, 1028 | "requires": { 1029 | "@nodelib/fs.stat": "^2.0.2", 1030 | "@nodelib/fs.walk": "^1.2.3", 1031 | "glob-parent": "^5.1.2", 1032 | "merge2": "^1.3.0", 1033 | "micromatch": "^4.0.4" 1034 | } 1035 | }, 1036 | "fast-json-stable-stringify": { 1037 | "version": "2.1.0", 1038 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", 1039 | "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", 1040 | "dev": true 1041 | }, 1042 | "fast-levenshtein": { 1043 | "version": "2.0.6", 1044 | "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", 1045 | "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", 1046 | "dev": true 1047 | }, 1048 | "fastest-levenshtein": { 1049 | "version": "1.0.12", 1050 | "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz", 1051 | "integrity": "sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow==", 1052 | "dev": true 1053 | }, 1054 | "fastq": { 1055 | "version": "1.13.0", 1056 | "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", 1057 | "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==", 1058 | "dev": true, 1059 | "requires": { 1060 | "reusify": "^1.0.4" 1061 | } 1062 | }, 1063 | "file-entry-cache": { 1064 | "version": "6.0.1", 1065 | "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", 1066 | "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", 1067 | "dev": true, 1068 | "requires": { 1069 | "flat-cache": "^3.0.4" 1070 | } 1071 | }, 1072 | "fill-range": { 1073 | "version": "7.0.1", 1074 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", 1075 | "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", 1076 | "dev": true, 1077 | "requires": { 1078 | "to-regex-range": "^5.0.1" 1079 | } 1080 | }, 1081 | "find-up": { 1082 | "version": "5.0.0", 1083 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", 1084 | "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", 1085 | "dev": true, 1086 | "requires": { 1087 | "locate-path": "^6.0.0", 1088 | "path-exists": "^4.0.0" 1089 | } 1090 | }, 1091 | "flat": { 1092 | "version": "5.0.2", 1093 | "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", 1094 | "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", 1095 | "dev": true 1096 | }, 1097 | "flat-cache": { 1098 | "version": "3.0.4", 1099 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", 1100 | "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", 1101 | "dev": true, 1102 | "requires": { 1103 | "flatted": "^3.1.0", 1104 | "rimraf": "^3.0.2" 1105 | } 1106 | }, 1107 | "flatted": { 1108 | "version": "3.2.5", 1109 | "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.5.tgz", 1110 | "integrity": "sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==", 1111 | "dev": true 1112 | }, 1113 | "fs.realpath": { 1114 | "version": "1.0.0", 1115 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 1116 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", 1117 | "dev": true 1118 | }, 1119 | "fsevents": { 1120 | "version": "2.3.2", 1121 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", 1122 | "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", 1123 | "dev": true, 1124 | "optional": true 1125 | }, 1126 | "fstream": { 1127 | "version": "1.0.12", 1128 | "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.12.tgz", 1129 | "integrity": "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==", 1130 | "dev": true, 1131 | "requires": { 1132 | "graceful-fs": "^4.1.2", 1133 | "inherits": "~2.0.0", 1134 | "mkdirp": ">=0.5 0", 1135 | "rimraf": "2" 1136 | }, 1137 | "dependencies": { 1138 | "glob": { 1139 | "version": "7.2.0", 1140 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", 1141 | "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", 1142 | "dev": true, 1143 | "requires": { 1144 | "fs.realpath": "^1.0.0", 1145 | "inflight": "^1.0.4", 1146 | "inherits": "2", 1147 | "minimatch": "^3.0.4", 1148 | "once": "^1.3.0", 1149 | "path-is-absolute": "^1.0.0" 1150 | } 1151 | }, 1152 | "rimraf": { 1153 | "version": "2.7.1", 1154 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", 1155 | "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", 1156 | "dev": true, 1157 | "requires": { 1158 | "glob": "^7.1.3" 1159 | } 1160 | } 1161 | } 1162 | }, 1163 | "function-bind": { 1164 | "version": "1.1.1", 1165 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", 1166 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", 1167 | "dev": true 1168 | }, 1169 | "functional-red-black-tree": { 1170 | "version": "1.0.1", 1171 | "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", 1172 | "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", 1173 | "dev": true 1174 | }, 1175 | "get-caller-file": { 1176 | "version": "2.0.5", 1177 | "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", 1178 | "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", 1179 | "dev": true 1180 | }, 1181 | "get-stream": { 1182 | "version": "6.0.1", 1183 | "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", 1184 | "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", 1185 | "dev": true 1186 | }, 1187 | "glob": { 1188 | "version": "8.0.1", 1189 | "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.1.tgz", 1190 | "integrity": "sha512-cF7FYZZ47YzmCu7dDy50xSRRfO3ErRfrXuLZcNIuyiJEco0XSrGtuilG19L5xp3NcwTx7Gn+X6Tv3fmsUPTbow==", 1191 | "dev": true, 1192 | "requires": { 1193 | "fs.realpath": "^1.0.0", 1194 | "inflight": "^1.0.4", 1195 | "inherits": "2", 1196 | "minimatch": "^5.0.1", 1197 | "once": "^1.3.0", 1198 | "path-is-absolute": "^1.0.0" 1199 | }, 1200 | "dependencies": { 1201 | "brace-expansion": { 1202 | "version": "2.0.1", 1203 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", 1204 | "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", 1205 | "dev": true, 1206 | "requires": { 1207 | "balanced-match": "^1.0.0" 1208 | } 1209 | }, 1210 | "minimatch": { 1211 | "version": "5.0.1", 1212 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz", 1213 | "integrity": "sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==", 1214 | "dev": true, 1215 | "requires": { 1216 | "brace-expansion": "^2.0.1" 1217 | } 1218 | } 1219 | } 1220 | }, 1221 | "glob-parent": { 1222 | "version": "5.1.2", 1223 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 1224 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 1225 | "dev": true, 1226 | "requires": { 1227 | "is-glob": "^4.0.1" 1228 | } 1229 | }, 1230 | "glob-to-regexp": { 1231 | "version": "0.4.1", 1232 | "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", 1233 | "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", 1234 | "dev": true 1235 | }, 1236 | "globals": { 1237 | "version": "13.13.0", 1238 | "resolved": "https://registry.npmjs.org/globals/-/globals-13.13.0.tgz", 1239 | "integrity": "sha512-EQ7Q18AJlPwp3vUDL4mKA0KXrXyNIQyWon6T6XQiBQF0XHvRsiCSrWmmeATpUzdJN2HhWZU6Pdl0a9zdep5p6A==", 1240 | "dev": true, 1241 | "requires": { 1242 | "type-fest": "^0.20.2" 1243 | } 1244 | }, 1245 | "globby": { 1246 | "version": "11.1.0", 1247 | "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", 1248 | "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", 1249 | "dev": true, 1250 | "requires": { 1251 | "array-union": "^2.1.0", 1252 | "dir-glob": "^3.0.1", 1253 | "fast-glob": "^3.2.9", 1254 | "ignore": "^5.2.0", 1255 | "merge2": "^1.4.1", 1256 | "slash": "^3.0.0" 1257 | } 1258 | }, 1259 | "graceful-fs": { 1260 | "version": "4.2.10", 1261 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", 1262 | "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", 1263 | "dev": true 1264 | }, 1265 | "growl": { 1266 | "version": "1.10.5", 1267 | "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", 1268 | "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==", 1269 | "dev": true 1270 | }, 1271 | "has": { 1272 | "version": "1.0.3", 1273 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", 1274 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", 1275 | "dev": true, 1276 | "requires": { 1277 | "function-bind": "^1.1.1" 1278 | } 1279 | }, 1280 | "has-flag": { 1281 | "version": "4.0.0", 1282 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 1283 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", 1284 | "dev": true 1285 | }, 1286 | "he": { 1287 | "version": "1.2.0", 1288 | "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", 1289 | "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", 1290 | "dev": true 1291 | }, 1292 | "http-proxy-agent": { 1293 | "version": "4.0.1", 1294 | "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", 1295 | "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", 1296 | "dev": true, 1297 | "requires": { 1298 | "@tootallnate/once": "1", 1299 | "agent-base": "6", 1300 | "debug": "4" 1301 | } 1302 | }, 1303 | "https-proxy-agent": { 1304 | "version": "5.0.1", 1305 | "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", 1306 | "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", 1307 | "dev": true, 1308 | "requires": { 1309 | "agent-base": "6", 1310 | "debug": "4" 1311 | } 1312 | }, 1313 | "human-signals": { 1314 | "version": "2.1.0", 1315 | "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", 1316 | "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", 1317 | "dev": true 1318 | }, 1319 | "ignore": { 1320 | "version": "5.2.0", 1321 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", 1322 | "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", 1323 | "dev": true 1324 | }, 1325 | "import-fresh": { 1326 | "version": "3.3.0", 1327 | "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", 1328 | "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", 1329 | "dev": true, 1330 | "requires": { 1331 | "parent-module": "^1.0.0", 1332 | "resolve-from": "^4.0.0" 1333 | } 1334 | }, 1335 | "import-local": { 1336 | "version": "3.1.0", 1337 | "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", 1338 | "integrity": "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==", 1339 | "dev": true, 1340 | "requires": { 1341 | "pkg-dir": "^4.2.0", 1342 | "resolve-cwd": "^3.0.0" 1343 | } 1344 | }, 1345 | "imurmurhash": { 1346 | "version": "0.1.4", 1347 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", 1348 | "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", 1349 | "dev": true 1350 | }, 1351 | "inflight": { 1352 | "version": "1.0.6", 1353 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 1354 | "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", 1355 | "dev": true, 1356 | "requires": { 1357 | "once": "^1.3.0", 1358 | "wrappy": "1" 1359 | } 1360 | }, 1361 | "inherits": { 1362 | "version": "2.0.4", 1363 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 1364 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 1365 | "dev": true 1366 | }, 1367 | "interpret": { 1368 | "version": "2.2.0", 1369 | "resolved": "https://registry.npmjs.org/interpret/-/interpret-2.2.0.tgz", 1370 | "integrity": "sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw==", 1371 | "dev": true 1372 | }, 1373 | "is-binary-path": { 1374 | "version": "2.1.0", 1375 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", 1376 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", 1377 | "dev": true, 1378 | "requires": { 1379 | "binary-extensions": "^2.0.0" 1380 | } 1381 | }, 1382 | "is-core-module": { 1383 | "version": "2.8.1", 1384 | "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.1.tgz", 1385 | "integrity": "sha512-SdNCUs284hr40hFTFP6l0IfZ/RSrMXF3qgoRHd3/79unUTvrFO/JoXwkGm+5J/Oe3E/b5GsnG330uUNgRpu1PA==", 1386 | "dev": true, 1387 | "requires": { 1388 | "has": "^1.0.3" 1389 | } 1390 | }, 1391 | "is-extglob": { 1392 | "version": "2.1.1", 1393 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 1394 | "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", 1395 | "dev": true 1396 | }, 1397 | "is-fullwidth-code-point": { 1398 | "version": "3.0.0", 1399 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 1400 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", 1401 | "dev": true 1402 | }, 1403 | "is-glob": { 1404 | "version": "4.0.3", 1405 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 1406 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 1407 | "dev": true, 1408 | "requires": { 1409 | "is-extglob": "^2.1.1" 1410 | } 1411 | }, 1412 | "is-number": { 1413 | "version": "7.0.0", 1414 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 1415 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 1416 | "dev": true 1417 | }, 1418 | "is-plain-obj": { 1419 | "version": "2.1.0", 1420 | "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", 1421 | "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", 1422 | "dev": true 1423 | }, 1424 | "is-plain-object": { 1425 | "version": "2.0.4", 1426 | "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", 1427 | "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", 1428 | "dev": true, 1429 | "requires": { 1430 | "isobject": "^3.0.1" 1431 | } 1432 | }, 1433 | "is-stream": { 1434 | "version": "2.0.1", 1435 | "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", 1436 | "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", 1437 | "dev": true 1438 | }, 1439 | "is-unicode-supported": { 1440 | "version": "0.1.0", 1441 | "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", 1442 | "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", 1443 | "dev": true 1444 | }, 1445 | "isarray": { 1446 | "version": "1.0.0", 1447 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", 1448 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", 1449 | "dev": true 1450 | }, 1451 | "isexe": { 1452 | "version": "2.0.0", 1453 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 1454 | "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", 1455 | "dev": true 1456 | }, 1457 | "isobject": { 1458 | "version": "3.0.1", 1459 | "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", 1460 | "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", 1461 | "dev": true 1462 | }, 1463 | "jest-worker": { 1464 | "version": "27.5.1", 1465 | "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", 1466 | "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", 1467 | "dev": true, 1468 | "requires": { 1469 | "@types/node": "*", 1470 | "merge-stream": "^2.0.0", 1471 | "supports-color": "^8.0.0" 1472 | }, 1473 | "dependencies": { 1474 | "supports-color": { 1475 | "version": "8.1.1", 1476 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", 1477 | "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", 1478 | "dev": true, 1479 | "requires": { 1480 | "has-flag": "^4.0.0" 1481 | } 1482 | } 1483 | } 1484 | }, 1485 | "js-yaml": { 1486 | "version": "4.1.0", 1487 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", 1488 | "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", 1489 | "dev": true, 1490 | "requires": { 1491 | "argparse": "^2.0.1" 1492 | } 1493 | }, 1494 | "json-parse-better-errors": { 1495 | "version": "1.0.2", 1496 | "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", 1497 | "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", 1498 | "dev": true 1499 | }, 1500 | "json-schema-traverse": { 1501 | "version": "0.4.1", 1502 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", 1503 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", 1504 | "dev": true 1505 | }, 1506 | "json-stable-stringify-without-jsonify": { 1507 | "version": "1.0.1", 1508 | "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", 1509 | "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", 1510 | "dev": true 1511 | }, 1512 | "jsonc-parser": { 1513 | "version": "3.0.0", 1514 | "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.0.0.tgz", 1515 | "integrity": "sha512-fQzRfAbIBnR0IQvftw9FJveWiHp72Fg20giDrHz6TdfB12UH/uue0D3hm57UB5KgAVuniLMCaS8P1IMj9NR7cA==" 1516 | }, 1517 | "kind-of": { 1518 | "version": "6.0.3", 1519 | "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", 1520 | "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", 1521 | "dev": true 1522 | }, 1523 | "levn": { 1524 | "version": "0.4.1", 1525 | "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", 1526 | "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", 1527 | "dev": true, 1528 | "requires": { 1529 | "prelude-ls": "^1.2.1", 1530 | "type-check": "~0.4.0" 1531 | } 1532 | }, 1533 | "listenercount": { 1534 | "version": "1.0.1", 1535 | "resolved": "https://registry.npmjs.org/listenercount/-/listenercount-1.0.1.tgz", 1536 | "integrity": "sha1-hMinKrWcRyUyFIDJdeZQg0LnCTc=", 1537 | "dev": true 1538 | }, 1539 | "loader-runner": { 1540 | "version": "4.3.0", 1541 | "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", 1542 | "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", 1543 | "dev": true 1544 | }, 1545 | "locate-path": { 1546 | "version": "6.0.0", 1547 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", 1548 | "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", 1549 | "dev": true, 1550 | "requires": { 1551 | "p-locate": "^5.0.0" 1552 | } 1553 | }, 1554 | "lodash.merge": { 1555 | "version": "4.6.2", 1556 | "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", 1557 | "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", 1558 | "dev": true 1559 | }, 1560 | "log-symbols": { 1561 | "version": "4.1.0", 1562 | "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", 1563 | "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", 1564 | "dev": true, 1565 | "requires": { 1566 | "chalk": "^4.1.0", 1567 | "is-unicode-supported": "^0.1.0" 1568 | } 1569 | }, 1570 | "lru-cache": { 1571 | "version": "6.0.0", 1572 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", 1573 | "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", 1574 | "dev": true, 1575 | "requires": { 1576 | "yallist": "^4.0.0" 1577 | } 1578 | }, 1579 | "merge-stream": { 1580 | "version": "2.0.0", 1581 | "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", 1582 | "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", 1583 | "dev": true 1584 | }, 1585 | "merge2": { 1586 | "version": "1.4.1", 1587 | "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", 1588 | "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", 1589 | "dev": true 1590 | }, 1591 | "micromatch": { 1592 | "version": "4.0.5", 1593 | "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", 1594 | "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", 1595 | "dev": true, 1596 | "requires": { 1597 | "braces": "^3.0.2", 1598 | "picomatch": "^2.3.1" 1599 | } 1600 | }, 1601 | "mime-db": { 1602 | "version": "1.52.0", 1603 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", 1604 | "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", 1605 | "dev": true 1606 | }, 1607 | "mime-types": { 1608 | "version": "2.1.35", 1609 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", 1610 | "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", 1611 | "dev": true, 1612 | "requires": { 1613 | "mime-db": "1.52.0" 1614 | } 1615 | }, 1616 | "mimic-fn": { 1617 | "version": "2.1.0", 1618 | "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", 1619 | "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", 1620 | "dev": true 1621 | }, 1622 | "minimatch": { 1623 | "version": "3.1.2", 1624 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 1625 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 1626 | "dev": true, 1627 | "requires": { 1628 | "brace-expansion": "^1.1.7" 1629 | } 1630 | }, 1631 | "minimist": { 1632 | "version": "1.2.6", 1633 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", 1634 | "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", 1635 | "dev": true 1636 | }, 1637 | "mkdirp": { 1638 | "version": "0.5.6", 1639 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", 1640 | "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", 1641 | "dev": true, 1642 | "requires": { 1643 | "minimist": "^1.2.6" 1644 | } 1645 | }, 1646 | "mocha": { 1647 | "version": "9.2.2", 1648 | "resolved": "https://registry.npmjs.org/mocha/-/mocha-9.2.2.tgz", 1649 | "integrity": "sha512-L6XC3EdwT6YrIk0yXpavvLkn8h+EU+Y5UcCHKECyMbdUIxyMuZj4bX4U9e1nvnvUUvQVsV2VHQr5zLdcUkhW/g==", 1650 | "dev": true, 1651 | "requires": { 1652 | "@ungap/promise-all-settled": "1.1.2", 1653 | "ansi-colors": "4.1.1", 1654 | "browser-stdout": "1.3.1", 1655 | "chokidar": "3.5.3", 1656 | "debug": "4.3.3", 1657 | "diff": "5.0.0", 1658 | "escape-string-regexp": "4.0.0", 1659 | "find-up": "5.0.0", 1660 | "glob": "7.2.0", 1661 | "growl": "1.10.5", 1662 | "he": "1.2.0", 1663 | "js-yaml": "4.1.0", 1664 | "log-symbols": "4.1.0", 1665 | "minimatch": "4.2.1", 1666 | "ms": "2.1.3", 1667 | "nanoid": "3.3.1", 1668 | "serialize-javascript": "6.0.0", 1669 | "strip-json-comments": "3.1.1", 1670 | "supports-color": "8.1.1", 1671 | "which": "2.0.2", 1672 | "workerpool": "6.2.0", 1673 | "yargs": "16.2.0", 1674 | "yargs-parser": "20.2.4", 1675 | "yargs-unparser": "2.0.0" 1676 | }, 1677 | "dependencies": { 1678 | "debug": { 1679 | "version": "4.3.3", 1680 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", 1681 | "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", 1682 | "dev": true, 1683 | "requires": { 1684 | "ms": "2.1.2" 1685 | }, 1686 | "dependencies": { 1687 | "ms": { 1688 | "version": "2.1.2", 1689 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 1690 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 1691 | "dev": true 1692 | } 1693 | } 1694 | }, 1695 | "glob": { 1696 | "version": "7.2.0", 1697 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", 1698 | "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", 1699 | "dev": true, 1700 | "requires": { 1701 | "fs.realpath": "^1.0.0", 1702 | "inflight": "^1.0.4", 1703 | "inherits": "2", 1704 | "minimatch": "^3.0.4", 1705 | "once": "^1.3.0", 1706 | "path-is-absolute": "^1.0.0" 1707 | }, 1708 | "dependencies": { 1709 | "minimatch": { 1710 | "version": "3.1.2", 1711 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 1712 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 1713 | "dev": true, 1714 | "requires": { 1715 | "brace-expansion": "^1.1.7" 1716 | } 1717 | } 1718 | } 1719 | }, 1720 | "minimatch": { 1721 | "version": "4.2.1", 1722 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-4.2.1.tgz", 1723 | "integrity": "sha512-9Uq1ChtSZO+Mxa/CL1eGizn2vRn3MlLgzhT0Iz8zaY8NdvxvB0d5QdPFmCKf7JKA9Lerx5vRrnwO03jsSfGG9g==", 1724 | "dev": true, 1725 | "requires": { 1726 | "brace-expansion": "^1.1.7" 1727 | } 1728 | }, 1729 | "ms": { 1730 | "version": "2.1.3", 1731 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 1732 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", 1733 | "dev": true 1734 | }, 1735 | "supports-color": { 1736 | "version": "8.1.1", 1737 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", 1738 | "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", 1739 | "dev": true, 1740 | "requires": { 1741 | "has-flag": "^4.0.0" 1742 | } 1743 | } 1744 | } 1745 | }, 1746 | "ms": { 1747 | "version": "2.1.2", 1748 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 1749 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 1750 | "dev": true 1751 | }, 1752 | "nanoid": { 1753 | "version": "3.3.1", 1754 | "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.1.tgz", 1755 | "integrity": "sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==", 1756 | "dev": true 1757 | }, 1758 | "natural-compare": { 1759 | "version": "1.4.0", 1760 | "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", 1761 | "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", 1762 | "dev": true 1763 | }, 1764 | "neo-async": { 1765 | "version": "2.6.2", 1766 | "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", 1767 | "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", 1768 | "dev": true 1769 | }, 1770 | "node-releases": { 1771 | "version": "2.0.3", 1772 | "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.3.tgz", 1773 | "integrity": "sha512-maHFz6OLqYxz+VQyCAtA3PTX4UP/53pa05fyDNc9CwjvJ0yEh6+xBwKsgCxMNhS8taUKBFYxfuiaD9U/55iFaw==", 1774 | "dev": true 1775 | }, 1776 | "normalize-path": { 1777 | "version": "3.0.0", 1778 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 1779 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", 1780 | "dev": true 1781 | }, 1782 | "npm-run-path": { 1783 | "version": "4.0.1", 1784 | "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", 1785 | "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", 1786 | "dev": true, 1787 | "requires": { 1788 | "path-key": "^3.0.0" 1789 | } 1790 | }, 1791 | "once": { 1792 | "version": "1.4.0", 1793 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 1794 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", 1795 | "dev": true, 1796 | "requires": { 1797 | "wrappy": "1" 1798 | } 1799 | }, 1800 | "onetime": { 1801 | "version": "5.1.2", 1802 | "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", 1803 | "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", 1804 | "dev": true, 1805 | "requires": { 1806 | "mimic-fn": "^2.1.0" 1807 | } 1808 | }, 1809 | "optionator": { 1810 | "version": "0.9.1", 1811 | "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", 1812 | "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", 1813 | "dev": true, 1814 | "requires": { 1815 | "deep-is": "^0.1.3", 1816 | "fast-levenshtein": "^2.0.6", 1817 | "levn": "^0.4.1", 1818 | "prelude-ls": "^1.2.1", 1819 | "type-check": "^0.4.0", 1820 | "word-wrap": "^1.2.3" 1821 | } 1822 | }, 1823 | "p-limit": { 1824 | "version": "3.1.0", 1825 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", 1826 | "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", 1827 | "dev": true, 1828 | "requires": { 1829 | "yocto-queue": "^0.1.0" 1830 | } 1831 | }, 1832 | "p-locate": { 1833 | "version": "5.0.0", 1834 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", 1835 | "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", 1836 | "dev": true, 1837 | "requires": { 1838 | "p-limit": "^3.0.2" 1839 | } 1840 | }, 1841 | "p-try": { 1842 | "version": "2.2.0", 1843 | "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", 1844 | "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", 1845 | "dev": true 1846 | }, 1847 | "parent-module": { 1848 | "version": "1.0.1", 1849 | "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", 1850 | "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", 1851 | "dev": true, 1852 | "requires": { 1853 | "callsites": "^3.0.0" 1854 | } 1855 | }, 1856 | "path-exists": { 1857 | "version": "4.0.0", 1858 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", 1859 | "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", 1860 | "dev": true 1861 | }, 1862 | "path-is-absolute": { 1863 | "version": "1.0.1", 1864 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 1865 | "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", 1866 | "dev": true 1867 | }, 1868 | "path-key": { 1869 | "version": "3.1.1", 1870 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", 1871 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", 1872 | "dev": true 1873 | }, 1874 | "path-parse": { 1875 | "version": "1.0.7", 1876 | "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", 1877 | "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", 1878 | "dev": true 1879 | }, 1880 | "path-type": { 1881 | "version": "4.0.0", 1882 | "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", 1883 | "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", 1884 | "dev": true 1885 | }, 1886 | "picocolors": { 1887 | "version": "1.0.0", 1888 | "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", 1889 | "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", 1890 | "dev": true 1891 | }, 1892 | "picomatch": { 1893 | "version": "2.3.1", 1894 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 1895 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", 1896 | "dev": true 1897 | }, 1898 | "pkg-dir": { 1899 | "version": "4.2.0", 1900 | "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", 1901 | "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", 1902 | "dev": true, 1903 | "requires": { 1904 | "find-up": "^4.0.0" 1905 | }, 1906 | "dependencies": { 1907 | "find-up": { 1908 | "version": "4.1.0", 1909 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", 1910 | "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", 1911 | "dev": true, 1912 | "requires": { 1913 | "locate-path": "^5.0.0", 1914 | "path-exists": "^4.0.0" 1915 | } 1916 | }, 1917 | "locate-path": { 1918 | "version": "5.0.0", 1919 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", 1920 | "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", 1921 | "dev": true, 1922 | "requires": { 1923 | "p-locate": "^4.1.0" 1924 | } 1925 | }, 1926 | "p-limit": { 1927 | "version": "2.3.0", 1928 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", 1929 | "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", 1930 | "dev": true, 1931 | "requires": { 1932 | "p-try": "^2.0.0" 1933 | } 1934 | }, 1935 | "p-locate": { 1936 | "version": "4.1.0", 1937 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", 1938 | "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", 1939 | "dev": true, 1940 | "requires": { 1941 | "p-limit": "^2.2.0" 1942 | } 1943 | } 1944 | } 1945 | }, 1946 | "prelude-ls": { 1947 | "version": "1.2.1", 1948 | "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", 1949 | "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", 1950 | "dev": true 1951 | }, 1952 | "process-nextick-args": { 1953 | "version": "2.0.1", 1954 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", 1955 | "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", 1956 | "dev": true 1957 | }, 1958 | "punycode": { 1959 | "version": "2.1.1", 1960 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", 1961 | "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", 1962 | "dev": true 1963 | }, 1964 | "queue-microtask": { 1965 | "version": "1.2.3", 1966 | "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", 1967 | "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", 1968 | "dev": true 1969 | }, 1970 | "randombytes": { 1971 | "version": "2.1.0", 1972 | "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", 1973 | "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", 1974 | "dev": true, 1975 | "requires": { 1976 | "safe-buffer": "^5.1.0" 1977 | } 1978 | }, 1979 | "readable-stream": { 1980 | "version": "2.3.7", 1981 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", 1982 | "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", 1983 | "dev": true, 1984 | "requires": { 1985 | "core-util-is": "~1.0.0", 1986 | "inherits": "~2.0.3", 1987 | "isarray": "~1.0.0", 1988 | "process-nextick-args": "~2.0.0", 1989 | "safe-buffer": "~5.1.1", 1990 | "string_decoder": "~1.1.1", 1991 | "util-deprecate": "~1.0.1" 1992 | }, 1993 | "dependencies": { 1994 | "safe-buffer": { 1995 | "version": "5.1.2", 1996 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 1997 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", 1998 | "dev": true 1999 | } 2000 | } 2001 | }, 2002 | "readdirp": { 2003 | "version": "3.6.0", 2004 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", 2005 | "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", 2006 | "dev": true, 2007 | "requires": { 2008 | "picomatch": "^2.2.1" 2009 | } 2010 | }, 2011 | "rechoir": { 2012 | "version": "0.7.1", 2013 | "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.7.1.tgz", 2014 | "integrity": "sha512-/njmZ8s1wVeR6pjTZ+0nCnv8SpZNRMT2D1RLOJQESlYFDBvwpTA4KWJpZ+sBJ4+vhjILRcK7JIFdGCdxEAAitg==", 2015 | "dev": true, 2016 | "requires": { 2017 | "resolve": "^1.9.0" 2018 | } 2019 | }, 2020 | "regexpp": { 2021 | "version": "3.2.0", 2022 | "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", 2023 | "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==", 2024 | "dev": true 2025 | }, 2026 | "require-directory": { 2027 | "version": "2.1.1", 2028 | "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", 2029 | "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", 2030 | "dev": true 2031 | }, 2032 | "resolve": { 2033 | "version": "1.22.0", 2034 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz", 2035 | "integrity": "sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==", 2036 | "dev": true, 2037 | "requires": { 2038 | "is-core-module": "^2.8.1", 2039 | "path-parse": "^1.0.7", 2040 | "supports-preserve-symlinks-flag": "^1.0.0" 2041 | } 2042 | }, 2043 | "resolve-cwd": { 2044 | "version": "3.0.0", 2045 | "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", 2046 | "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", 2047 | "dev": true, 2048 | "requires": { 2049 | "resolve-from": "^5.0.0" 2050 | }, 2051 | "dependencies": { 2052 | "resolve-from": { 2053 | "version": "5.0.0", 2054 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", 2055 | "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", 2056 | "dev": true 2057 | } 2058 | } 2059 | }, 2060 | "resolve-from": { 2061 | "version": "4.0.0", 2062 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", 2063 | "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", 2064 | "dev": true 2065 | }, 2066 | "reusify": { 2067 | "version": "1.0.4", 2068 | "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", 2069 | "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", 2070 | "dev": true 2071 | }, 2072 | "rimraf": { 2073 | "version": "3.0.2", 2074 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", 2075 | "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", 2076 | "dev": true, 2077 | "requires": { 2078 | "glob": "^7.1.3" 2079 | }, 2080 | "dependencies": { 2081 | "glob": { 2082 | "version": "7.2.0", 2083 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", 2084 | "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", 2085 | "dev": true, 2086 | "requires": { 2087 | "fs.realpath": "^1.0.0", 2088 | "inflight": "^1.0.4", 2089 | "inherits": "2", 2090 | "minimatch": "^3.0.4", 2091 | "once": "^1.3.0", 2092 | "path-is-absolute": "^1.0.0" 2093 | } 2094 | } 2095 | } 2096 | }, 2097 | "run-parallel": { 2098 | "version": "1.2.0", 2099 | "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", 2100 | "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", 2101 | "dev": true, 2102 | "requires": { 2103 | "queue-microtask": "^1.2.2" 2104 | } 2105 | }, 2106 | "safe-buffer": { 2107 | "version": "5.2.1", 2108 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 2109 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", 2110 | "dev": true 2111 | }, 2112 | "schema-utils": { 2113 | "version": "3.1.1", 2114 | "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", 2115 | "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", 2116 | "dev": true, 2117 | "requires": { 2118 | "@types/json-schema": "^7.0.8", 2119 | "ajv": "^6.12.5", 2120 | "ajv-keywords": "^3.5.2" 2121 | } 2122 | }, 2123 | "semver": { 2124 | "version": "7.3.7", 2125 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", 2126 | "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", 2127 | "dev": true, 2128 | "requires": { 2129 | "lru-cache": "^6.0.0" 2130 | } 2131 | }, 2132 | "serialize-javascript": { 2133 | "version": "6.0.0", 2134 | "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", 2135 | "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", 2136 | "dev": true, 2137 | "requires": { 2138 | "randombytes": "^2.1.0" 2139 | } 2140 | }, 2141 | "setimmediate": { 2142 | "version": "1.0.5", 2143 | "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", 2144 | "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=", 2145 | "dev": true 2146 | }, 2147 | "shallow-clone": { 2148 | "version": "3.0.1", 2149 | "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", 2150 | "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", 2151 | "dev": true, 2152 | "requires": { 2153 | "kind-of": "^6.0.2" 2154 | } 2155 | }, 2156 | "shebang-command": { 2157 | "version": "2.0.0", 2158 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", 2159 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", 2160 | "dev": true, 2161 | "requires": { 2162 | "shebang-regex": "^3.0.0" 2163 | } 2164 | }, 2165 | "shebang-regex": { 2166 | "version": "3.0.0", 2167 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", 2168 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", 2169 | "dev": true 2170 | }, 2171 | "signal-exit": { 2172 | "version": "3.0.7", 2173 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", 2174 | "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", 2175 | "dev": true 2176 | }, 2177 | "slash": { 2178 | "version": "3.0.0", 2179 | "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", 2180 | "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", 2181 | "dev": true 2182 | }, 2183 | "source-map": { 2184 | "version": "0.6.1", 2185 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", 2186 | "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", 2187 | "dev": true 2188 | }, 2189 | "source-map-support": { 2190 | "version": "0.5.21", 2191 | "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", 2192 | "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", 2193 | "dev": true, 2194 | "requires": { 2195 | "buffer-from": "^1.0.0", 2196 | "source-map": "^0.6.0" 2197 | } 2198 | }, 2199 | "string-width": { 2200 | "version": "4.2.3", 2201 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 2202 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 2203 | "dev": true, 2204 | "requires": { 2205 | "emoji-regex": "^8.0.0", 2206 | "is-fullwidth-code-point": "^3.0.0", 2207 | "strip-ansi": "^6.0.1" 2208 | } 2209 | }, 2210 | "string_decoder": { 2211 | "version": "1.1.1", 2212 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", 2213 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", 2214 | "dev": true, 2215 | "requires": { 2216 | "safe-buffer": "~5.1.0" 2217 | }, 2218 | "dependencies": { 2219 | "safe-buffer": { 2220 | "version": "5.1.2", 2221 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 2222 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", 2223 | "dev": true 2224 | } 2225 | } 2226 | }, 2227 | "strip-ansi": { 2228 | "version": "6.0.1", 2229 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 2230 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 2231 | "dev": true, 2232 | "requires": { 2233 | "ansi-regex": "^5.0.1" 2234 | } 2235 | }, 2236 | "strip-final-newline": { 2237 | "version": "2.0.0", 2238 | "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", 2239 | "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", 2240 | "dev": true 2241 | }, 2242 | "strip-json-comments": { 2243 | "version": "3.1.1", 2244 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", 2245 | "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", 2246 | "dev": true 2247 | }, 2248 | "supports-color": { 2249 | "version": "7.2.0", 2250 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 2251 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 2252 | "dev": true, 2253 | "requires": { 2254 | "has-flag": "^4.0.0" 2255 | } 2256 | }, 2257 | "supports-preserve-symlinks-flag": { 2258 | "version": "1.0.0", 2259 | "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", 2260 | "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", 2261 | "dev": true 2262 | }, 2263 | "tapable": { 2264 | "version": "2.2.1", 2265 | "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", 2266 | "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", 2267 | "dev": true 2268 | }, 2269 | "terser": { 2270 | "version": "5.12.1", 2271 | "resolved": "https://registry.npmjs.org/terser/-/terser-5.12.1.tgz", 2272 | "integrity": "sha512-NXbs+7nisos5E+yXwAD+y7zrcTkMqb0dEJxIGtSKPdCBzopf7ni4odPul2aechpV7EXNvOudYOX2bb5tln1jbQ==", 2273 | "dev": true, 2274 | "requires": { 2275 | "acorn": "^8.5.0", 2276 | "commander": "^2.20.0", 2277 | "source-map": "~0.7.2", 2278 | "source-map-support": "~0.5.20" 2279 | }, 2280 | "dependencies": { 2281 | "source-map": { 2282 | "version": "0.7.3", 2283 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", 2284 | "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", 2285 | "dev": true 2286 | } 2287 | } 2288 | }, 2289 | "terser-webpack-plugin": { 2290 | "version": "5.3.1", 2291 | "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.1.tgz", 2292 | "integrity": "sha512-GvlZdT6wPQKbDNW/GDQzZFg/j4vKU96yl2q6mcUkzKOgW4gwf1Z8cZToUCrz31XHlPWH8MVb1r2tFtdDtTGJ7g==", 2293 | "dev": true, 2294 | "requires": { 2295 | "jest-worker": "^27.4.5", 2296 | "schema-utils": "^3.1.1", 2297 | "serialize-javascript": "^6.0.0", 2298 | "source-map": "^0.6.1", 2299 | "terser": "^5.7.2" 2300 | } 2301 | }, 2302 | "text-table": { 2303 | "version": "0.2.0", 2304 | "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", 2305 | "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", 2306 | "dev": true 2307 | }, 2308 | "to-regex-range": { 2309 | "version": "5.0.1", 2310 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 2311 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 2312 | "dev": true, 2313 | "requires": { 2314 | "is-number": "^7.0.0" 2315 | } 2316 | }, 2317 | "traverse": { 2318 | "version": "0.3.9", 2319 | "resolved": "https://registry.npmjs.org/traverse/-/traverse-0.3.9.tgz", 2320 | "integrity": "sha1-cXuPIgzAu3tE5AUUwisui7xw2Lk=", 2321 | "dev": true 2322 | }, 2323 | "ts-loader": { 2324 | "version": "9.2.8", 2325 | "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-9.2.8.tgz", 2326 | "integrity": "sha512-gxSak7IHUuRtwKf3FIPSW1VpZcqF9+MBrHOvBp9cjHh+525SjtCIJKVGjRKIAfxBwDGDGCFF00rTfzB1quxdSw==", 2327 | "dev": true, 2328 | "requires": { 2329 | "chalk": "^4.1.0", 2330 | "enhanced-resolve": "^5.0.0", 2331 | "micromatch": "^4.0.0", 2332 | "semver": "^7.3.4" 2333 | } 2334 | }, 2335 | "tslib": { 2336 | "version": "1.14.1", 2337 | "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", 2338 | "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", 2339 | "dev": true 2340 | }, 2341 | "tsutils": { 2342 | "version": "3.21.0", 2343 | "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", 2344 | "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", 2345 | "dev": true, 2346 | "requires": { 2347 | "tslib": "^1.8.1" 2348 | } 2349 | }, 2350 | "type-check": { 2351 | "version": "0.4.0", 2352 | "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", 2353 | "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", 2354 | "dev": true, 2355 | "requires": { 2356 | "prelude-ls": "^1.2.1" 2357 | } 2358 | }, 2359 | "type-fest": { 2360 | "version": "0.20.2", 2361 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", 2362 | "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", 2363 | "dev": true 2364 | }, 2365 | "typescript": { 2366 | "version": "4.6.3", 2367 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.3.tgz", 2368 | "integrity": "sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==", 2369 | "dev": true 2370 | }, 2371 | "unzipper": { 2372 | "version": "0.10.11", 2373 | "resolved": "https://registry.npmjs.org/unzipper/-/unzipper-0.10.11.tgz", 2374 | "integrity": "sha512-+BrAq2oFqWod5IESRjL3S8baohbevGcVA+teAIOYWM3pDVdseogqbzhhvvmiyQrUNKFUnDMtELW3X8ykbyDCJw==", 2375 | "dev": true, 2376 | "requires": { 2377 | "big-integer": "^1.6.17", 2378 | "binary": "~0.3.0", 2379 | "bluebird": "~3.4.1", 2380 | "buffer-indexof-polyfill": "~1.0.0", 2381 | "duplexer2": "~0.1.4", 2382 | "fstream": "^1.0.12", 2383 | "graceful-fs": "^4.2.2", 2384 | "listenercount": "~1.0.1", 2385 | "readable-stream": "~2.3.6", 2386 | "setimmediate": "~1.0.4" 2387 | } 2388 | }, 2389 | "uri-js": { 2390 | "version": "4.4.1", 2391 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", 2392 | "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", 2393 | "dev": true, 2394 | "requires": { 2395 | "punycode": "^2.1.0" 2396 | } 2397 | }, 2398 | "util-deprecate": { 2399 | "version": "1.0.2", 2400 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 2401 | "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", 2402 | "dev": true 2403 | }, 2404 | "v8-compile-cache": { 2405 | "version": "2.3.0", 2406 | "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", 2407 | "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==", 2408 | "dev": true 2409 | }, 2410 | "vscode-test": { 2411 | "version": "1.6.1", 2412 | "resolved": "https://registry.npmjs.org/vscode-test/-/vscode-test-1.6.1.tgz", 2413 | "integrity": "sha512-086q88T2ca1k95mUzffvbzb7esqQNvJgiwY4h29ukPhFo8u+vXOOmelUoU5EQUHs3Of8+JuQ3oGdbVCqaxuTXA==", 2414 | "dev": true, 2415 | "requires": { 2416 | "http-proxy-agent": "^4.0.1", 2417 | "https-proxy-agent": "^5.0.0", 2418 | "rimraf": "^3.0.2", 2419 | "unzipper": "^0.10.11" 2420 | } 2421 | }, 2422 | "watchpack": { 2423 | "version": "2.3.1", 2424 | "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.3.1.tgz", 2425 | "integrity": "sha512-x0t0JuydIo8qCNctdDrn1OzH/qDzk2+rdCOC3YzumZ42fiMqmQ7T3xQurykYMhYfHaPHTp4ZxAx2NfUo1K6QaA==", 2426 | "dev": true, 2427 | "requires": { 2428 | "glob-to-regexp": "^0.4.1", 2429 | "graceful-fs": "^4.1.2" 2430 | } 2431 | }, 2432 | "webpack": { 2433 | "version": "5.72.0", 2434 | "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.72.0.tgz", 2435 | "integrity": "sha512-qmSmbspI0Qo5ld49htys8GY9XhS9CGqFoHTsOVAnjBdg0Zn79y135R+k4IR4rKK6+eKaabMhJwiVB7xw0SJu5w==", 2436 | "dev": true, 2437 | "requires": { 2438 | "@types/eslint-scope": "^3.7.3", 2439 | "@types/estree": "^0.0.51", 2440 | "@webassemblyjs/ast": "1.11.1", 2441 | "@webassemblyjs/wasm-edit": "1.11.1", 2442 | "@webassemblyjs/wasm-parser": "1.11.1", 2443 | "acorn": "^8.4.1", 2444 | "acorn-import-assertions": "^1.7.6", 2445 | "browserslist": "^4.14.5", 2446 | "chrome-trace-event": "^1.0.2", 2447 | "enhanced-resolve": "^5.9.2", 2448 | "es-module-lexer": "^0.9.0", 2449 | "eslint-scope": "5.1.1", 2450 | "events": "^3.2.0", 2451 | "glob-to-regexp": "^0.4.1", 2452 | "graceful-fs": "^4.2.9", 2453 | "json-parse-better-errors": "^1.0.2", 2454 | "loader-runner": "^4.2.0", 2455 | "mime-types": "^2.1.27", 2456 | "neo-async": "^2.6.2", 2457 | "schema-utils": "^3.1.0", 2458 | "tapable": "^2.1.1", 2459 | "terser-webpack-plugin": "^5.1.3", 2460 | "watchpack": "^2.3.1", 2461 | "webpack-sources": "^3.2.3" 2462 | } 2463 | }, 2464 | "webpack-cli": { 2465 | "version": "4.9.2", 2466 | "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-4.9.2.tgz", 2467 | "integrity": "sha512-m3/AACnBBzK/kMTcxWHcZFPrw/eQuY4Df1TxvIWfWM2x7mRqBQCqKEd96oCUa9jkapLBaFfRce33eGDb4Pr7YQ==", 2468 | "dev": true, 2469 | "requires": { 2470 | "@discoveryjs/json-ext": "^0.5.0", 2471 | "@webpack-cli/configtest": "^1.1.1", 2472 | "@webpack-cli/info": "^1.4.1", 2473 | "@webpack-cli/serve": "^1.6.1", 2474 | "colorette": "^2.0.14", 2475 | "commander": "^7.0.0", 2476 | "execa": "^5.0.0", 2477 | "fastest-levenshtein": "^1.0.12", 2478 | "import-local": "^3.0.2", 2479 | "interpret": "^2.2.0", 2480 | "rechoir": "^0.7.0", 2481 | "webpack-merge": "^5.7.3" 2482 | }, 2483 | "dependencies": { 2484 | "commander": { 2485 | "version": "7.2.0", 2486 | "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", 2487 | "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", 2488 | "dev": true 2489 | } 2490 | } 2491 | }, 2492 | "webpack-merge": { 2493 | "version": "5.8.0", 2494 | "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-5.8.0.tgz", 2495 | "integrity": "sha512-/SaI7xY0831XwP6kzuwhKWVKDP9t1QY1h65lAFLbZqMPIuYcD9QAW4u9STIbU9kaJbPBB/geU/gLr1wDjOhQ+Q==", 2496 | "dev": true, 2497 | "requires": { 2498 | "clone-deep": "^4.0.1", 2499 | "wildcard": "^2.0.0" 2500 | } 2501 | }, 2502 | "webpack-sources": { 2503 | "version": "3.2.3", 2504 | "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz", 2505 | "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", 2506 | "dev": true 2507 | }, 2508 | "which": { 2509 | "version": "2.0.2", 2510 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", 2511 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", 2512 | "dev": true, 2513 | "requires": { 2514 | "isexe": "^2.0.0" 2515 | } 2516 | }, 2517 | "wildcard": { 2518 | "version": "2.0.0", 2519 | "resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.0.tgz", 2520 | "integrity": "sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw==", 2521 | "dev": true 2522 | }, 2523 | "word-wrap": { 2524 | "version": "1.2.3", 2525 | "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", 2526 | "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", 2527 | "dev": true 2528 | }, 2529 | "workerpool": { 2530 | "version": "6.2.0", 2531 | "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.0.tgz", 2532 | "integrity": "sha512-Rsk5qQHJ9eowMH28Jwhe8HEbmdYDX4lwoMWshiCXugjtHqMD9ZbiqSDLxcsfdqsETPzVUtX5s1Z5kStiIM6l4A==", 2533 | "dev": true 2534 | }, 2535 | "wrap-ansi": { 2536 | "version": "7.0.0", 2537 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", 2538 | "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", 2539 | "dev": true, 2540 | "requires": { 2541 | "ansi-styles": "^4.0.0", 2542 | "string-width": "^4.1.0", 2543 | "strip-ansi": "^6.0.0" 2544 | } 2545 | }, 2546 | "wrappy": { 2547 | "version": "1.0.2", 2548 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 2549 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", 2550 | "dev": true 2551 | }, 2552 | "y18n": { 2553 | "version": "5.0.8", 2554 | "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", 2555 | "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", 2556 | "dev": true 2557 | }, 2558 | "yallist": { 2559 | "version": "4.0.0", 2560 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", 2561 | "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", 2562 | "dev": true 2563 | }, 2564 | "yargs": { 2565 | "version": "16.2.0", 2566 | "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", 2567 | "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", 2568 | "dev": true, 2569 | "requires": { 2570 | "cliui": "^7.0.2", 2571 | "escalade": "^3.1.1", 2572 | "get-caller-file": "^2.0.5", 2573 | "require-directory": "^2.1.1", 2574 | "string-width": "^4.2.0", 2575 | "y18n": "^5.0.5", 2576 | "yargs-parser": "^20.2.2" 2577 | } 2578 | }, 2579 | "yargs-parser": { 2580 | "version": "20.2.4", 2581 | "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", 2582 | "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", 2583 | "dev": true 2584 | }, 2585 | "yargs-unparser": { 2586 | "version": "2.0.0", 2587 | "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", 2588 | "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", 2589 | "dev": true, 2590 | "requires": { 2591 | "camelcase": "^6.0.0", 2592 | "decamelize": "^4.0.0", 2593 | "flat": "^5.0.2", 2594 | "is-plain-obj": "^2.1.0" 2595 | } 2596 | }, 2597 | "yocto-queue": { 2598 | "version": "0.1.0", 2599 | "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", 2600 | "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", 2601 | "dev": true 2602 | } 2603 | } 2604 | } 2605 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "snippets-viewer", 3 | "displayName": "Snippets Viewer", 4 | "description": "VSCode Snippets Viewer", 5 | "version": "1.12.0", 6 | "categories": [ 7 | "Education", 8 | "Snippets", 9 | "SCM Providers", 10 | "Visualization" 11 | ], 12 | "keywords": [ 13 | "snippets", 14 | "viewer", 15 | "codeViz", 16 | "snippets tree view ⎇", 17 | "snippet preview", 18 | "view user snippets", 19 | "view project snippets", 20 | "view snippet file", 21 | "view snippet definition", 22 | "sort snippets", 23 | "toggle snippets", 24 | "group snippets", 25 | "view snippet languages", 26 | "skip language snippets" 27 | ], 28 | "engines": { 29 | "vscode": "^1.68.0" 30 | }, 31 | "icon": "images/snippets-viewer.png", 32 | "publisher": "RandomFractalsInc", 33 | "author": "Taras Novak", 34 | "contributors": [ 35 | "Taras Novak" 36 | ], 37 | "license": "GPL-3.0", 38 | "readme": "README.md", 39 | "repository": { 40 | "type": "git", 41 | "url": "https://github.com/RandomFractals/vscode-snippets-viewer" 42 | }, 43 | "bugs": "https://github.com/RandomFractals/vscode-snippets-viewer/issues", 44 | "homepage": "https://github.com/RandomFractals/vscode-snippets-viewer/README.md", 45 | "sponsor": { 46 | "url": "https://github.com/sponsors/RandomFractals" 47 | }, 48 | "galleryBanner": { 49 | "color": "#333", 50 | "theme": "dark" 51 | }, 52 | "activationEvents": [ 53 | "onCommand:snippets.viewer.combineLanguageSnippets", 54 | "onCommand:snippets.viewer.skipLanguageSnippets", 55 | "onCommand:snippets.viewer.groupSnippetsByFile", 56 | "onCommand:snippets.viewer.sortSnippetsByName", 57 | "onCommand:snippets.viewer.sortSnippetsByDefinitionOrder", 58 | "onCommand:snippets.viewer.refreshSnippets", 59 | "onCommand:snippets.viewer.openSnippetFile", 60 | "onCommand:snippets.viewer.insertSnippet", 61 | "onCommand:snippets.viewer.viewSettings", 62 | "onView:snippets.view" 63 | ], 64 | "main": "./dist/extension.js", 65 | "contributes": { 66 | "commands": [ 67 | { 68 | "command": "snippets.viewer.combineLanguageSnippets", 69 | "title": "Combine Language Snippets", 70 | "category": "Snippets Viewer", 71 | "icon": "$(chevron-down)" 72 | }, 73 | { 74 | "command": "snippets.viewer.skipLanguageSnippets", 75 | "title": "Skip Language Snippets", 76 | "category": "Snippets Viewer", 77 | "icon": "$(filter)" 78 | }, 79 | { 80 | "command": "snippets.viewer.groupSnippetsByFile", 81 | "title": "Group Snippets by File", 82 | "category": "Snippets Viewer", 83 | "icon": "$(chevron-right)" 84 | }, 85 | { 86 | "command": "snippets.viewer.sortSnippetsByName", 87 | "title": "Sort Snippets by Name", 88 | "category": "Snippets Viewer", 89 | "icon": "$(arrow-down)" 90 | }, 91 | { 92 | "command": "snippets.viewer.sortSnippetsByDefinitionOrder", 93 | "title": "Sort Snippets by Definition Order", 94 | "category": "Snippets Viewer", 95 | "icon": "$(ungroup-by-ref-type)" 96 | }, 97 | { 98 | "command": "snippets.viewer.refreshSnippets", 99 | "title": "Refresh", 100 | "category": "Snippets Viewer", 101 | "icon": "$(refresh)" 102 | }, 103 | { 104 | "command": "snippets.viewer.openSnippetFile", 105 | "title": "Open Snippet File", 106 | "category": "Snippets Viewer", 107 | "icon": "$(symbol-reference)" 108 | }, 109 | { 110 | "command": "snippets.viewer.insertSnippet", 111 | "title": "Insert Snippet", 112 | "category": "Snippets Viewer", 113 | "icon": "$(export)" 114 | }, 115 | { 116 | "command": "snippets.viewer.viewSettings", 117 | "title": "View Settings", 118 | "category": "Snippets Viewer", 119 | "icon": "$(gear)" 120 | } 121 | ], 122 | "menus": { 123 | "view/title": [ 124 | { 125 | "command": "snippets.viewer.combineLanguageSnippets", 126 | "when": "view == snippets.view && !config.snippets.viewer.combineLanguageSnippets", 127 | "group": "navigation" 128 | }, 129 | { 130 | "command": "snippets.viewer.groupSnippetsByFile", 131 | "when": "view == snippets.view && config.snippets.viewer.combineLanguageSnippets", 132 | "group": "navigation" 133 | }, 134 | { 135 | "command": "snippets.viewer.sortSnippetsByName", 136 | "when": "view == snippets.view && !config.snippets.viewer.sortSnippetsByName", 137 | "group": "navigation" 138 | }, 139 | { 140 | "command": "snippets.viewer.sortSnippetsByDefinitionOrder", 141 | "when": "view == snippets.view && config.snippets.viewer.sortSnippetsByName", 142 | "group": "navigation" 143 | }, 144 | { 145 | "command": "snippets.viewer.refreshSnippets", 146 | "when": "view == snippets.view", 147 | "group": "navigation" 148 | }, 149 | { 150 | "command": "snippets.viewer.viewSettings", 151 | "when": "view == snippets.view", 152 | "group": "navigation" 153 | } 154 | ], 155 | "view/item/context": [ 156 | { 157 | "command": "snippets.viewer.openSnippetFile", 158 | "when": "view == snippets.view && viewItem != snippetLanguage", 159 | "group": "inline" 160 | }, 161 | { 162 | "command": "snippets.viewer.insertSnippet", 163 | "when": "view == snippets.view && viewItem == snippet", 164 | "group": "inline" 165 | } 166 | ], 167 | "commandPalette": [ 168 | { 169 | "command": "snippets.viewer.openSnippetFile", 170 | "when": "never" 171 | }, 172 | { 173 | "command": "snippets.viewer.insertSnippet", 174 | "when": "never" 175 | } 176 | ] 177 | }, 178 | "viewsContainers": { 179 | "activitybar": [ 180 | { 181 | "id": "snippets-viewer", 182 | "title": "Snippets Viewer", 183 | "icon": "images/snippet-tree.svg" 184 | } 185 | ] 186 | }, 187 | "views": { 188 | "snippets-viewer": [ 189 | { 190 | "id": "snippets.view", 191 | "name": "Snippets" 192 | } 193 | ] 194 | }, 195 | "viewsWelcome": [ 196 | { 197 | "view": "snippets.view", 198 | "contents": "Loading code snippets ..." 199 | } 200 | ], 201 | "configuration": { 202 | "title": "Snippets Viewer", 203 | "type": "object", 204 | "properties": { 205 | "snippets.viewer.showBuiltInExtensionSnippets": { 206 | "type": "boolean", 207 | "default": true, 208 | "description": "Show built-in language extension snippets in the Snippets tree view." 209 | }, 210 | "snippets.viewer.skipLanguageSnippets": { 211 | "type": "string", 212 | "default": "", 213 | "description": "Comma delimited list of languages to skip snippets display in the Snippets tree view." 214 | }, 215 | "snippets.viewer.combineLanguageSnippets": { 216 | "type": "boolean", 217 | "default": false, 218 | "description": "Combine language snippets in the Snippets tree view." 219 | }, 220 | "snippets.viewer.expandSnippetFiles": { 221 | "type": "boolean", 222 | "default": false, 223 | "description": "Expand snippet files on snippet language tree node expand in the Snippets tree view." 224 | }, 225 | "snippets.viewer.sortSnippetsByName": { 226 | "type": "boolean", 227 | "default": false, 228 | "description": "Sort loaded snippets by name in the Snippets tree view." 229 | }, 230 | "snippets.viewer.focusOnActiveEditorSnippets": { 231 | "type": "boolean", 232 | "default": false, 233 | "description": "Focus on active editor snippets when the Snippets tree view is visible." 234 | }, 235 | "snippets.viewer.showOnlyActiveEditorLanguageSnippets": { 236 | "type": "boolean", 237 | "default": false, 238 | "description": "Show only active editor language snippets in the Snippets tree view." 239 | } 240 | } 241 | } 242 | }, 243 | "scripts": { 244 | "vscode:prepublish": "npm run package", 245 | "compile": "webpack", 246 | "watch": "webpack --watch", 247 | "package": "webpack --mode production --devtool hidden-source-map", 248 | "test-compile": "tsc -p ./", 249 | "test-watch": "tsc -watch -p ./", 250 | "pretest": "npm run test-compile && npm run lint", 251 | "lint": "eslint src --ext ts", 252 | "test": "node ./out/test/runTest.js" 253 | }, 254 | "devDependencies": { 255 | "@types/glob": "^7.2.0", 256 | "@types/mocha": "^9.1.0", 257 | "@types/node": "^17.0.25", 258 | "@types/vscode": "^1.66.0", 259 | "@typescript-eslint/eslint-plugin": "^5.19.0", 260 | "@typescript-eslint/parser": "^5.19.0", 261 | "eslint": "^8.13.0", 262 | "glob": "^8.0.1", 263 | "mocha": "^9.2.2", 264 | "ts-loader": "^9.2.8", 265 | "typescript": "^4.6.3", 266 | "vscode-test": "^1.6.1", 267 | "webpack": "^5.72.0", 268 | "webpack-cli": "^4.9.2" 269 | }, 270 | "dependencies": { 271 | "jsonc-parser": "^3.0.0" 272 | } 273 | } 274 | -------------------------------------------------------------------------------- /src/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "snippets.viewer.sortSnippetsByName": true, 3 | "snippets.viewer.combineLanguageSnippets": false 4 | } -------------------------------------------------------------------------------- /src/commands.ts: -------------------------------------------------------------------------------- 1 | import { 2 | DocumentSymbol, 3 | ExtensionContext, 4 | Selection, 5 | TextEditorRevealType, 6 | TextDocument, 7 | Uri, 8 | commands, 9 | window, 10 | workspace 11 | } from 'vscode'; 12 | 13 | import * as config from './config'; 14 | import * as constants from './constants'; 15 | import { Settings } from './settings'; 16 | 17 | import { 18 | SnippetFile, 19 | Snippet 20 | } from './snippets/snippets'; 21 | 22 | import {SnippetTreeDataProvider} from './snippets/snippetTreeDataProvider'; 23 | 24 | /** 25 | * Registers snippets viewer commands. 26 | * 27 | * @param context Extension context. 28 | * @param snippetProvider Snippets tree data provider. 29 | */ 30 | export function registerCommands(context: ExtensionContext, snippetProvider: SnippetTreeDataProvider) { 31 | context.subscriptions.push( 32 | commands.registerCommand(constants.RefreshSnippetsCommand, () => snippetProvider.refresh()) 33 | ); 34 | 35 | context.subscriptions.push( 36 | commands.registerCommand(constants.CombineLanguageSnippetsCommand, () => { 37 | snippetProvider.combineLanguageSnippets = true; 38 | config.updateGlobalSetting(Settings.CombineLanguageSnippets, true); 39 | }) 40 | ); 41 | 42 | context.subscriptions.push( 43 | commands.registerCommand(constants.GroupSnippetsByFileCommand, () => { 44 | snippetProvider.combineLanguageSnippets = false; 45 | config.updateGlobalSetting(Settings.CombineLanguageSnippets, false); 46 | }) 47 | ); 48 | 49 | context.subscriptions.push( 50 | commands.registerCommand(constants.SortSnippetsByNameCommand, () => { 51 | snippetProvider.sortSnippetsByName = true; 52 | config.updateGlobalSetting(Settings.SortSnippetsByName, true); 53 | }) 54 | ); 55 | 56 | context.subscriptions.push( 57 | commands.registerCommand(constants.SortSnippetsByDefinitionOrderCommand, () => { 58 | snippetProvider.sortSnippetsByName = false; 59 | config.updateGlobalSetting(Settings.SortSnippetsByName, false); 60 | }) 61 | ); 62 | 63 | context.subscriptions.push( 64 | commands.registerCommand(constants.SkipLanguageSnippetsCommand, () => { 65 | commands.executeCommand(constants.WorkbenchActionOpenSettings, 66 | `${constants.ExtensionId}.${Settings.SkipLanguageSnippets}`); 67 | }) 68 | ); 69 | 70 | context.subscriptions.push( 71 | commands.registerCommand(constants.ViewSettingsCommand, () => { 72 | // show snippets viewer settings 73 | commands.executeCommand(constants.WorkbenchActionOpenSettings, constants.ExtensionId); 74 | }) 75 | ); 76 | 77 | context.subscriptions.push( 78 | commands.registerCommand(constants.InsertSnippetCommand, (snippet: Snippet) => { 79 | // construct snippet code body 80 | let snippetBody: string; 81 | if (Array.isArray(snippet.body)) { 82 | snippetBody = snippet.body.join('\n'); 83 | } 84 | else { 85 | snippetBody = snippet.body; 86 | } 87 | 88 | // insert snippet in active text editor 89 | commands.executeCommand(constants.EditorActionInsertSnippet, {snippet: snippetBody}); 90 | 91 | // release focus from snippets tree view to active text editor 92 | commands.executeCommand(constants.WorkbenchActionFocusActiveEditorGroup); 93 | }) 94 | ); 95 | 96 | context.subscriptions.push( 97 | commands.registerCommand(constants.OpenSnippetFileCommand, (snippet: SnippetFile | Snippet) => { 98 | // determine snippets file path 99 | let filePath: string; 100 | if (snippet instanceof Snippet) { 101 | filePath = snippet.snippetFile.filePath; 102 | } 103 | else { 104 | filePath = snippet.filePath; 105 | } 106 | 107 | // open snippets file 108 | workspace.openTextDocument(Uri.file(filePath)).then((document) => { 109 | window.showTextDocument(document).then(() => { 110 | if (snippet instanceof Snippet) { 111 | // scroll to requested snippet symbol name 112 | goToSymbol(document, snippet.name); 113 | } 114 | }); 115 | }); 116 | }) 117 | ); 118 | } 119 | 120 | /** 121 | * Scrolls open text document to the specified symbol 122 | * to display requested snippet definition in text editor. 123 | * 124 | * @param document Text document. 125 | * @param symbolName Symblol name to locate. 126 | */ 127 | async function goToSymbol(document: TextDocument, symbolName: string) { 128 | const symbols = await getSymbols(document); 129 | const documentSymbol: DocumentSymbol | undefined = symbols.find(symbol => symbol.name === symbolName); 130 | const activeTextEditor = window.activeTextEditor; 131 | if (documentSymbol && activeTextEditor) { 132 | // create text document selection and reveal range to show document symbol code block 133 | activeTextEditor.selection = new Selection(documentSymbol.range.start, documentSymbol.range.start); 134 | activeTextEditor.revealRange(documentSymbol.range, TextEditorRevealType.AtTop); 135 | } 136 | } 137 | 138 | /** 139 | * Gets text document symbols. 140 | * 141 | * @param document Text document. 142 | * @returns Text document symbols. 143 | */ 144 | async function getSymbols(document: TextDocument): Promise { 145 | return new Promise(async (resolve, reject) => { 146 | // get document symbols via built-in vscode document symbol provider 147 | let symbols: DocumentSymbol[] = await commands.executeCommand( 148 | constants.VSCodeExecuteDocumentSymbolProvider, document.uri); 149 | 150 | if (!symbols || symbols.length === 0) { 151 | // retry getting document symbols with a timeout 152 | setTimeout(async () => { 153 | symbols = await commands.executeCommand( 154 | constants.VSCodeExecuteDocumentSymbolProvider, document.uri); 155 | return resolve(symbols || []); 156 | }, 1200); 157 | } 158 | else { 159 | return resolve(symbols || []); 160 | } 161 | }); 162 | } 163 | -------------------------------------------------------------------------------- /src/config.ts: -------------------------------------------------------------------------------- 1 | import { 2 | ConfigurationTarget, 3 | WorkspaceConfiguration, 4 | workspace 5 | } from 'vscode'; 6 | 7 | import * as constants from './constants'; 8 | import { Settings } from './settings'; 9 | 10 | /** 11 | * Gets snippets viewer configuration settings. 12 | * 13 | * @returns Worskpace configuration for the snippets viewer. 14 | */ 15 | export function getConfiguration(): WorkspaceConfiguration { 16 | return workspace.getConfiguration(constants.ExtensionId); 17 | } 18 | 19 | /** 20 | * Gets built-in vscode extension snippets display toggle setting. 21 | * 22 | * @returns True to display built-in extension snippets, and false otherwise. 23 | */ 24 | export function showBuiltInExtensionSnippets(): boolean { 25 | return getConfiguration().get(Settings.ShowBuiltInExtensionSnippets); 26 | } 27 | 28 | /** 29 | * Gets language snippets grouping toggle setting. 30 | * 31 | * @returns True to combine all language snippets, and false otherwise. 32 | */ 33 | export function combineLanguageSnippets(): boolean { 34 | return getConfiguration().get(Settings.CombineLanguageSnippets); 35 | } 36 | 37 | /** 38 | * Gets snippets file expand toggle setting. 39 | * 40 | * @returns True to expand all snippets file nodes, and false otherwise. 41 | */ 42 | export function expandSnippetFiles(): boolean { 43 | return getConfiguration().get(Settings.ExpandSnippetFiles); 44 | } 45 | 46 | /** 47 | * Gets snippets sort order for the snippets tree view display. 48 | * 49 | * @returns True to sort snippets by name, and false to list them by definition order in snippet files. 50 | */ 51 | export function sortSnippetsByName(): boolean { 52 | return getConfiguration().get(Settings.SortSnippetsByName); 53 | } 54 | 55 | /** 56 | * Gets language snippets selection toggle setting for the open text document and language id. 57 | * 58 | * @returns True to auto-select langugage snippets node in the snippets tree view 59 | * based on the open text document language id, and false otherwise. 60 | */ 61 | export function focusOnActiveEditorSnippets(): boolean { 62 | return getConfiguration().get(Settings.FocusOnActiveEditorSnippets); 63 | } 64 | 65 | /** 66 | * Gets active text editor language snippets toggle setting. 67 | * 68 | * @returns True to hide all other language snippets in the snippets tree view, 69 | * and false to show all language snippets at all times. 70 | */ 71 | export function showOnlyActiveEditorLanguageSnippets(): boolean { 72 | return getConfiguration().get(Settings.ShowOnlyActiveEditorLanguageSnippets); 73 | } 74 | 75 | /** 76 | * Gets the list of language snippets to skip in the snippets tree view display. 77 | * 78 | * @returns The list of language snippets to skip displaying. 79 | */ 80 | export function skipLanguages(): string[] { 81 | let skipLanguages: string[] = []; 82 | let skipLanguageSnippets: string = getConfiguration().get(Settings.SkipLanguageSnippets); 83 | if (skipLanguageSnippets.length > 0) { 84 | // remove white spaces from the skip language snippets setting 85 | skipLanguageSnippets = skipLanguageSnippets.trim().replace(/\s/g, ''); 86 | 87 | // create skip languages list 88 | skipLanguages = skipLanguageSnippets.split(','); 89 | } 90 | return skipLanguages; 91 | } 92 | 93 | /** 94 | * Updates snippets viewer setting in the current workspace. 95 | * 96 | * @param name Snippets viewer setting name. 97 | * @param value New snippets viewer setting value. 98 | */ 99 | export function updateWorkspaceSetting(name: string, value: boolean) { 100 | const settings = workspace.getConfiguration(constants.ExtensionId, null); 101 | settings.update(name, value, ConfigurationTarget.Workspace); 102 | } 103 | 104 | /** 105 | * Updates global/user snippets viewer setting. 106 | * 107 | * @param name Snippets viewer setting name. 108 | * @param value New snippets viewer setting value. 109 | */ 110 | export function updateGlobalSetting(name: string, value: boolean) { 111 | const settings = workspace.getConfiguration(constants.ExtensionId, null); 112 | settings.update(name, value, ConfigurationTarget.Global); 113 | } 114 | -------------------------------------------------------------------------------- /src/constants.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable @typescript-eslint/naming-convention */ 2 | 3 | /** 4 | * Snippet viewer extensions constants 5 | */ 6 | 7 | // Extension constants 8 | export const PublisherId: string = 'RandomFractalsInc'; 9 | export const ExtensionName: string = 'vscode-snippets-viewer'; 10 | export const ExtensionId: string = 'snippets.viewer'; 11 | export const ExtensionDisplayName: string = 'Snippets Viewer'; 12 | 13 | // View constants 14 | export const SnippetsView: string = 'snippets.view'; 15 | 16 | // Snippets Viewer command constants 17 | export const RefreshSnippetsCommand: string = `${ExtensionId}.refreshSnippets`; 18 | export const CombineLanguageSnippetsCommand: string = `${ExtensionId}.combineLanguageSnippets`; 19 | export const GroupSnippetsByFileCommand: string = `${ExtensionId}.groupSnippetsByFile`; 20 | export const SortSnippetsByNameCommand: string = `${ExtensionId}.sortSnippetsByName`; 21 | export const SortSnippetsByDefinitionOrderCommand: string = `${ExtensionId}.sortSnippetsByDefinitionOrder`; 22 | export const SkipLanguageSnippetsCommand: string = `${ExtensionId}.skipLanguageSnippets`; 23 | export const ViewSettingsCommand: string = `${ExtensionId}.viewSettings`; 24 | export const InsertSnippetCommand: string = `${ExtensionId}.insertSnippet`; 25 | export const OpenSnippetFileCommand: string = `${ExtensionId}.openSnippetFile`; 26 | 27 | // VSCode action/command constants 28 | export const VSCodeExecuteDocumentSymbolProvider: string = 'vscode.executeDocumentSymbolProvider'; 29 | export const WorkbenchActionFocusActiveEditorGroup: string = 'workbench.action.focusActiveEditorGroup'; 30 | export const WorkbenchActionOpenSettings: string = 'workbench.action.openSettings'; 31 | export const EditorActionInsertSnippet: string = 'editor.action.insertSnippet'; 32 | -------------------------------------------------------------------------------- /src/extension.ts: -------------------------------------------------------------------------------- 1 | import { 2 | ExtensionContext, 3 | TextEditor, 4 | window, 5 | workspace 6 | } from 'vscode'; 7 | 8 | import * as config from './config'; 9 | import * as constants from './constants'; 10 | 11 | import { registerCommands } from './commands'; 12 | import { Settings } from './settings'; 13 | import { SnippetLoader } from './snippets/snippetLoader'; 14 | import { SnippetLanguage } from './snippets/snippets'; 15 | import { SnippetTreeDataProvider } from './snippets/snippetTreeDataProvider'; 16 | 17 | /** 18 | * Activates snippets viewer extension, creates and initializes snippets tree view, 19 | * registers active text editor and snippets tree view settings change listeners, 20 | * and adds snippets viewer commands. 21 | * 22 | * @param context Extension context. 23 | */ 24 | export function activate(context: ExtensionContext) { 25 | // create snippets tree view 26 | const snippetLoader: SnippetLoader = new SnippetLoader(context); 27 | const snippetProvider: SnippetTreeDataProvider = new SnippetTreeDataProvider(snippetLoader); 28 | const snippetView = window.createTreeView(constants.SnippetsView, { 29 | treeDataProvider: snippetProvider, 30 | showCollapseAll: true 31 | }); 32 | 33 | // expand and select snippets language node on active text editor change 34 | window.onDidChangeActiveTextEditor((textEditor: TextEditor | undefined) => { 35 | if (textEditor && snippetView.visible) { 36 | const editorLanguage: string = textEditor.document.languageId; 37 | const snippetsLanguage: SnippetLanguage | undefined = 38 | snippetLoader.snippetLanguages.get(editorLanguage); 39 | 40 | if (config.showOnlyActiveEditorLanguageSnippets()) { 41 | // reload snippets to display for the active editor text document language 42 | snippetProvider.refresh(); 43 | } 44 | 45 | if (snippetsLanguage) { 46 | // reveal loaded language snippets in the snippets tree view 47 | const expandSnippetLevels: number = config.expandSnippetFiles() ? 2 : 1; // levels to expand 48 | snippetView.reveal(snippetsLanguage, { 49 | select: true, 50 | focus: config.focusOnActiveEditorSnippets(), 51 | expand: expandSnippetLevels 52 | }); 53 | } 54 | } 55 | }); 56 | 57 | // update snippets viewer setttings and refresh snippets tree view on configuraiton changes 58 | context.subscriptions.push(workspace.onDidChangeConfiguration(workspaceConfig => { 59 | if (workspaceConfig.affectsConfiguration(`${constants.ExtensionId}.${Settings.CombineLanguageSnippets}`)) { 60 | snippetProvider.combineLanguageSnippets = config.combineLanguageSnippets(); 61 | snippetProvider.refresh(); 62 | } 63 | else if (workspaceConfig.affectsConfiguration(`${constants.ExtensionId}.${Settings.SortSnippetsByName}`)) { 64 | snippetProvider.sortSnippetsByName = config.sortSnippetsByName(); 65 | snippetProvider.refresh(); 66 | } 67 | else if (workspaceConfig.affectsConfiguration(`${constants.ExtensionId}.${Settings.ShowBuiltInExtensionSnippets}`) || 68 | workspaceConfig.affectsConfiguration(`${constants.ExtensionId}.${Settings.SkipLanguageSnippets}`) || 69 | workspaceConfig.affectsConfiguration(`${constants.ExtensionId}.${Settings.ExpandSnippetFiles}`) || 70 | workspaceConfig.affectsConfiguration(`${constants.ExtensionId}.${Settings.ShowOnlyActiveEditorLanguageSnippets}`)) { 71 | snippetProvider.refresh(); 72 | } 73 | })); 74 | 75 | // add snippets viewer commands 76 | registerCommands(context, snippetProvider); 77 | } 78 | 79 | export function deactivate() { } 80 | -------------------------------------------------------------------------------- /src/settings.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable @typescript-eslint/naming-convention */ 2 | 3 | /** 4 | * Snippets viewer configuraiton settings. 5 | */ 6 | export enum Settings { 7 | ShowBuiltInExtensionSnippets = 'showBuiltInExtensionSnippets', 8 | CombineLanguageSnippets = 'combineLanguageSnippets', 9 | ExpandSnippetFiles = 'expandSnippetFiles', 10 | SortSnippetsByName = 'sortSnippetsByName', 11 | FocusOnActiveEditorSnippets = 'focusOnActiveEditorSnippets', 12 | ShowOnlyActiveEditorLanguageSnippets = 'showOnlyActiveEditorLanguageSnippets', 13 | SkipLanguageSnippets = 'skipLanguageSnippets', 14 | } 15 | -------------------------------------------------------------------------------- /src/snippets/snippetLoader.ts: -------------------------------------------------------------------------------- 1 | import { 2 | ExtensionContext, 3 | TreeItemCollapsibleState, 4 | extensions, 5 | window, 6 | workspace 7 | } from 'vscode'; 8 | 9 | import { 10 | SnippetLanguage, 11 | SnippetFile, 12 | Snippet 13 | } from './snippets'; 14 | 15 | import * as config from '../config'; 16 | import * as jsonc from 'jsonc-parser'; 17 | import * as fs from 'fs'; 18 | import * as path from 'path'; 19 | 20 | /** 21 | * Defines snippets loader for built-in and snippets extensions. 22 | */ 23 | export class SnippetLoader { 24 | 25 | // loaded snippet languages, top level snippets map 26 | public snippetLanguages: Map = new Map(); 27 | 28 | /** 29 | * Creates new snippets loader. 30 | * 31 | * @param context Extension context. 32 | */ 33 | constructor(private context: ExtensionContext) { 34 | } 35 | 36 | /** 37 | * Gets snippet languages from built-in and snippets extensions. 38 | * 39 | * @returns Detected snippet languages. 40 | */ 41 | async getSnippetLanguages(): Promise { 42 | // clear local snippet languages cache 43 | this.snippetLanguages.clear(); 44 | 45 | // get snippet languages from extension snippet files 46 | const snippetLanguages: SnippetLanguage[] = []; 47 | const skipLanguages: string[] = config.skipLanguages(); 48 | const showBuiltInExtensionSnippets = config.showBuiltInExtensionSnippets(); 49 | const snippetFileCollapsibleState: TreeItemCollapsibleState = this.getSnippetFileCollapsibleState(); 50 | extensions.all.forEach(extension => { 51 | 52 | // check built-in extensions and snippets contributions 53 | if ((showBuiltInExtensionSnippets || !extension.packageJSON.isBuiltin) && 54 | extension.packageJSON?.contributes?.snippets) { 55 | 56 | // get snippets extension name, location and snippet files config 57 | const extensionName = extension.packageJSON?.displayName; 58 | const extensionLocation = extension.packageJSON?.extensionLocation; 59 | const snippetsConfig = extension.packageJSON?.contributes?.snippets; 60 | 61 | if (extensionLocation && Array.isArray(snippetsConfig)) { 62 | snippetsConfig.forEach(snippetConfig => { 63 | const language: string = snippetConfig.language; 64 | if (language && skipLanguages.indexOf(language) < 0) { 65 | // create snippets file 66 | const snippetFile: SnippetFile = new SnippetFile(extensionName, 67 | path.join(extensionLocation.fsPath, snippetConfig.path), 68 | language, 69 | snippetFileCollapsibleState 70 | ); 71 | 72 | if (!this.snippetLanguages.has(language)) { 73 | // create snippets language 74 | const snippetLanguage: SnippetLanguage = new SnippetLanguage(language); 75 | snippetLanguages.push(snippetLanguage); 76 | this.snippetLanguages.set(language, snippetLanguage); 77 | } 78 | 79 | // add snippet file to language snippets 80 | this.snippetLanguages.get(language)?.snippetFiles.push(snippetFile); 81 | } 82 | }); 83 | } 84 | } 85 | }); 86 | 87 | // load user-defined snippet languages and files 88 | const userSnippetsDirectoryPath: string = path.join( 89 | this.context.globalStorageUri.fsPath, '..', '..', '..', 'User', 'snippets'); 90 | const userSnippetFiles: SnippetFile[] = 91 | await this.getDirectorySnippetFiles(userSnippetsDirectoryPath, 'User Snippets'); 92 | 93 | // load project/workspace snippet languages and files 94 | const projectSnippetFiles: SnippetFile[] = await this.getProjectSnippetFiles(); 95 | 96 | // sort loaded snippet languages alphabetically 97 | return Promise.resolve(snippetLanguages.sort( 98 | (snippetLanguageA, snippetLanguageB) => 99 | snippetLanguageA.language.localeCompare(snippetLanguageB.language, 'en'))); // locale 100 | } 101 | 102 | /** 103 | * Gets project/workspace snippet files. 104 | * 105 | * @returns Snippet files from the open workspace folders. 106 | */ 107 | async getProjectSnippetFiles(): Promise { 108 | return new Promise(async (resolve, reject) => { 109 | let snippetFiles: SnippetFile[] = []; 110 | const workspaceFolders = workspace.workspaceFolders; 111 | if (workspaceFolders) { 112 | // get snippet files from all open workspace folders 113 | snippetFiles = Array.prototype.concat.apply([], await Promise.all( 114 | workspaceFolders.map(async workspaceFolder => { 115 | // look for snippet files in the default .vscode directory 116 | const vscodeDirectoryPath: string = path.join(workspaceFolder.uri.fsPath, '.vscode'); 117 | return this.getDirectorySnippetFiles(vscodeDirectoryPath, `/${workspaceFolder.name} Snippets`); 118 | }) 119 | )); 120 | } 121 | return resolve(snippetFiles); 122 | }); 123 | } 124 | 125 | /** 126 | * Gets snippet files from the local directory. 127 | * 128 | * @param directoryPath Local directory path. 129 | * @param snippetFileLabel Snippet file label. 130 | * @returns Loaded snippet files for the specified directory path. 131 | */ 132 | async getDirectorySnippetFiles(directoryPath: string, snippetFileLabel: string): Promise { 133 | const directoryExists: boolean = await this.directoryExists(directoryPath); 134 | if (!directoryExists) { 135 | return []; 136 | } 137 | 138 | return new Promise((resolve, reject) => { 139 | 140 | // read and parse all snippet file configs 141 | fs.readdir(directoryPath, (err, fileNames) => { 142 | if (err) { 143 | window.showErrorMessage(`Error reading directory: ${directoryPath} \n ${err.message}`); 144 | return reject([]); 145 | } 146 | 147 | // loop through all directory files 148 | const snippetFiles: SnippetFile[] = []; 149 | const skipLanguages: string[] = config.skipLanguages(); 150 | fileNames.forEach(fileName => { 151 | const filePath: string = path.join(directoryPath, fileName); 152 | const language: string = path.parse(fileName).name.toLowerCase(); 153 | 154 | // check for snippet file config 155 | if ((fileName.endsWith('.json') || fileName.endsWith('.code-snippets')) && 156 | skipLanguages.indexOf(language) < 0) { 157 | 158 | // create new snippet file 159 | const snippetFile: SnippetFile = 160 | new SnippetFile(snippetFileLabel, filePath, language, this.getSnippetFileCollapsibleState()); 161 | 162 | if (!this.snippetLanguages.has(language)) { 163 | // create new snippets language 164 | const snippetLanguage: SnippetLanguage = new SnippetLanguage(language); 165 | this.snippetLanguages.set(language, snippetLanguage); 166 | } 167 | 168 | // add snippet file to the loaded language snippets 169 | this.snippetLanguages.get(language)?.snippetFiles.push(snippetFile); 170 | snippetFiles.push(snippetFile); 171 | } 172 | }); 173 | return resolve(snippetFiles); 174 | }); 175 | }); 176 | } 177 | 178 | /** 179 | * Checks if local file directory exists. 180 | * 181 | * @param directoryPath Directory path to check. 182 | * 183 | * @returns True if directory exists, and false otherwise. 184 | */ 185 | async directoryExists(directoryPath: string): Promise { 186 | return new Promise((resolve, reject) => { 187 | try { 188 | fs.stat(directoryPath, (err, file) => { 189 | if (!err && file.isDirectory()) { 190 | return resolve(true); 191 | } 192 | else { 193 | return resolve(false); 194 | } 195 | }); 196 | } catch (err) { 197 | return reject(false); 198 | } 199 | }); 200 | } 201 | 202 | /** 203 | * Gets snippet file collapse/expand state to use for the snippet file nodes. 204 | * 205 | * @returns Tree item collapsible state to use for the snippet file nodes. 206 | */ 207 | getSnippetFileCollapsibleState(): TreeItemCollapsibleState { 208 | if (config.expandSnippetFiles()) { 209 | return TreeItemCollapsibleState.Expanded; 210 | } 211 | return TreeItemCollapsibleState.Collapsed; 212 | } 213 | 214 | /** 215 | * Gets all snippet files for the specified snippets extension id. 216 | * 217 | * @param extensionId Snippets extension id. 218 | * @returns Snippet files loaded from the specified snippets extension. 219 | */ 220 | async getSnippetFiles(extensionId: string): Promise { 221 | // get snippets extension info 222 | const extension = extensions.getExtension(extensionId); 223 | 224 | // get extension snippets 225 | let snippetFiles: SnippetFile[] = []; 226 | if (extension) { 227 | // get snippets extension location and snippet contributions 228 | const extensionLocation = extension.packageJSON?.extensionLocation; 229 | const snippetsConfig = extension.packageJSON?.contributes?.snippets; 230 | 231 | if (extensionLocation && Array.isArray(snippetsConfig)) { // has defined snippet files 232 | // use configured snippet file collapse/expand preference 233 | const snippetFileCollapsibleState: TreeItemCollapsibleState = this.getSnippetFileCollapsibleState(); 234 | 235 | // load snippet files from declared snippets extension contributions 236 | snippetsConfig.forEach(snippetConfig => { 237 | const snippetFile: SnippetFile = new SnippetFile( 238 | snippetConfig.language, 239 | path.join(extensionLocation.fsPath, snippetConfig.path), 240 | snippetConfig.language, 241 | snippetFileCollapsibleState 242 | ); 243 | snippetFiles.push(snippetFile); 244 | }); 245 | 246 | // load and cache all snippets from the loaded snippets extension files 247 | await Promise.all(snippetFiles.map((file: SnippetFile) => this.getFileSnippets(file))); 248 | } 249 | } 250 | return Promise.resolve(snippetFiles); 251 | } 252 | 253 | /** 254 | * Gets all snippets for the specified snippet language. 255 | * 256 | * @param snippetLanguage Snippet language. 257 | * @returns Loaded snippets for the specified snippet language. 258 | */ 259 | async getSnippets(snippetLanguage: SnippetLanguage): Promise { 260 | // get snippets from all snippet language files 261 | const fileSnippets: Snippet[][] = await Promise.all( 262 | snippetLanguage.snippetFiles.map((file: SnippetFile) => this.getFileSnippets(file)) 263 | ); 264 | const snippets: Snippet[] = []; 265 | fileSnippets.forEach(file => file.map(snippet => snippets.push(snippet))); 266 | return Promise.resolve(snippets); 267 | } 268 | 269 | /** 270 | * Gets defined snippets from the specified snippets file. 271 | * 272 | * @param snippetFile Snippets file with file path info. 273 | * @returns Snippets defined in a snippets file. 274 | */ 275 | async getFileSnippets(snippetFile: SnippetFile): Promise { 276 | return new Promise((resolve, reject) => { 277 | fs.readFile(snippetFile.filePath, 'utf8', (error, snippetsConfig) => { 278 | if (error) { 279 | window.showErrorMessage(`Error reading file ${snippetFile.filePath} \n ${error.message}`); 280 | return reject([]); 281 | } 282 | if (snippetsConfig === '') { 283 | return resolve([]); 284 | } 285 | 286 | // parse snippets file content 287 | let parsedSnippets: any; 288 | try { 289 | parsedSnippets = jsonc.parse(snippetsConfig); // tslint:disable-line 290 | } 291 | catch (err) { 292 | window.showErrorMessage(`JSON parsing of snippet file ${snippetFile.filePath} failed`); 293 | return reject([]); 294 | } 295 | 296 | // create file snippets 297 | const snippets: Snippet[] = []; 298 | for (const key in parsedSnippets) { 299 | const parsedSnippet = parsedSnippets[key]; 300 | const scope = [snippetFile.language]; 301 | const snippet: Snippet = new Snippet(key, parsedSnippet.prefix, scope, 302 | parsedSnippet.description, parsedSnippet.body, snippetFile); 303 | snippets.push(snippet); 304 | } 305 | return resolve(snippets); 306 | }); 307 | }); 308 | } 309 | } 310 | -------------------------------------------------------------------------------- /src/snippets/snippetTreeDataProvider.ts: -------------------------------------------------------------------------------- 1 | import { 2 | Event, 3 | EventEmitter, 4 | TextEditor, 5 | TreeDataProvider, 6 | TreeItem, 7 | window 8 | } from 'vscode'; 9 | 10 | import { 11 | SnippetLanguage, 12 | SnippetFile, 13 | Snippet 14 | } from './snippets'; 15 | 16 | import { SnippetLoader } from './snippetLoader'; 17 | import * as config from '../config'; 18 | 19 | /** 20 | * Defines snippets tree data provider for the snippets tree view. 21 | */ 22 | export class SnippetTreeDataProvider implements TreeDataProvider { 23 | 24 | // snippets display settings 25 | public combineLanguageSnippets: boolean = config.combineLanguageSnippets(); 26 | public sortSnippetsByName: boolean = config.sortSnippetsByName(); 27 | 28 | // top level snippet languages data change handler 29 | private readonly _onDidChangeTreeData: EventEmitter = 30 | new EventEmitter(); 31 | readonly onDidChangeTreeData: Event = this._onDidChangeTreeData.event; 32 | 33 | constructor(private snippetLoader: SnippetLoader) { 34 | } 35 | 36 | /** 37 | * Reloads snippet languages. 38 | */ 39 | refresh(): void { 40 | this._onDidChangeTreeData.fire(undefined); 41 | } 42 | 43 | /** 44 | * Gets snippet tree view item. 45 | * 46 | * @param element Snippet tree item. 47 | * @returns Snippet tree item. 48 | */ 49 | getTreeItem(element: SnippetLanguage | SnippetFile | Snippet): TreeItem { 50 | return element; 51 | } 52 | 53 | /** 54 | * Gets snippet parent node, eidther snippet file or language. 55 | * 56 | * @param element Snippet tree item. 57 | * @returns Snippet parent node. 58 | */ 59 | getParent(element: SnippetLanguage | SnippetFile | Snippet): SnippetLanguage | SnippetFile | undefined { 60 | let snippetParent: SnippetLanguage | SnippetFile | undefined; 61 | if (element instanceof Snippet) { 62 | // use parent snippet file 63 | snippetParent = element.snippetFile; 64 | } 65 | else if (element instanceof SnippetFile) { 66 | // use parent snippet language from snippets loader 67 | snippetParent = this.snippetLoader.snippetLanguages.get(element.language); 68 | } 69 | return snippetParent; 70 | } 71 | 72 | /** 73 | * Gets snippet tree item children. 74 | * 75 | * @param element Snippet tree item. 76 | * @returns Snippet tree item children. 77 | */ 78 | async getChildren(element?: SnippetLanguage | SnippetFile): Promise { 79 | if (!element) { 80 | // get top level snippet languages from built-in and snippets extensions 81 | const snippetLanguages: SnippetLanguage[] = await this.snippetLoader.getSnippetLanguages(); 82 | if (config.showOnlyActiveEditorLanguageSnippets()) { 83 | const activeTextEditor: TextEditor | undefined = window.activeTextEditor; 84 | if (activeTextEditor) { 85 | // get snippets language node for the active text editor language only 86 | const editorLanguage: string = activeTextEditor.document.languageId; 87 | const snippetsLanguage: SnippetLanguage | undefined = 88 | this.snippetLoader.snippetLanguages.get(editorLanguage); 89 | if (snippetsLanguage) { 90 | return [snippetsLanguage]; 91 | } 92 | } 93 | } 94 | return snippetLanguages; 95 | } 96 | else if (element instanceof SnippetLanguage) { 97 | if (this.combineLanguageSnippets) { 98 | // get all language snippets 99 | let snippets = await this.snippetLoader.getSnippets(element); 100 | if (this.sortSnippetsByName) { 101 | // sort language snippets by name 102 | snippets = snippets.sort((snippetA, snippetB) => snippetA.name.localeCompare(snippetB.name)); 103 | } 104 | return snippets; 105 | } 106 | 107 | // otherwise, get language snippet files sorted by file name/label 108 | return element.snippetFiles.sort( 109 | (snippetFileA, snippetFileB) => snippetFileA.label.localeCompare(snippetFileB.label)); 110 | } 111 | else if (element instanceof SnippetFile) { 112 | // get snippets from the parent snippets file 113 | let snippets: Snippet[] = await this.snippetLoader.getFileSnippets(element); 114 | if (this.sortSnippetsByName) { 115 | // sort snippets by name 116 | snippets = snippets.sort((snippetA, snippetB) => snippetA.name.localeCompare(snippetB.name)); 117 | } 118 | return snippets; 119 | } 120 | return []; 121 | } 122 | } 123 | -------------------------------------------------------------------------------- /src/snippets/snippets.ts: -------------------------------------------------------------------------------- 1 | import { 2 | MarkdownString, 3 | TreeItem, 4 | TreeItemCollapsibleState, 5 | ThemeIcon, 6 | Uri 7 | } from 'vscode'; 8 | import * as path from 'path'; 9 | 10 | /** 11 | * Defines snippet tree item node for the snippets tree view. 12 | */ 13 | export class Snippet extends TreeItem { 14 | readonly collapsibleState = TreeItemCollapsibleState.None; 15 | readonly contextValue = 'snippet'; 16 | 17 | /** 18 | * Creates new snippet tree node. 19 | * 20 | * @param name Short snippet name. 21 | * @param prefix Snippet prefix, or snippets extension short name. 22 | * @param scope Snippet scope or language. 23 | * @param snippetDescription Snippet text description. 24 | * @param body Snippet code body. 25 | * @param snippetFile Parent snippet file tree node. 26 | */ 27 | constructor( 28 | readonly name: string, 29 | readonly prefix: string, 30 | readonly scope: string[], 31 | readonly snippetDescription: string, 32 | readonly body: string | string[], 33 | readonly snippetFile: SnippetFile 34 | ) { 35 | super(name); 36 | 37 | // use snippet file language for the snippet scope 38 | this.scope = [snippetFile.language]; 39 | 40 | // show snippet prefix as description in tree node 41 | this.description = prefix; 42 | 43 | // create snippet body string 44 | let snippetBody = body; 45 | if (Array.isArray(body)) { 46 | snippetBody = body.join('\n'); 47 | } 48 | 49 | // create snippet title markdown 50 | let snippetInfo: string = `**${this.prefix}⇥ ${this.label}** _(from ${snippetFile.label})_\n___`; 51 | 52 | if (snippetDescription && snippetDescription !== name) { 53 | // add snippet description text 54 | snippetInfo += `\n${snippetDescription}\n___`; 55 | } 56 | 57 | // create snippet markdown tooltip 58 | this.tooltip = new MarkdownString(`${snippetInfo}\n\`\`\`${snippetFile.language}\n${snippetBody}\n\`\`\``); 59 | } 60 | 61 | // use custom snippet icons for the tree nodes display 62 | iconPath = { 63 | light: path.join(__filename, '..', '..', 'images', 'light', 'snippet.svg'), 64 | dark: path.join(__filename, '..', '..', 'images', 'dark', 'snippet.svg') 65 | }; 66 | } 67 | 68 | /** 69 | * Defines snippet file tree item for display in the snippets tree view. 70 | */ 71 | export class SnippetFile extends TreeItem { 72 | readonly contextValue = 'snippetFile'; 73 | 74 | /** 75 | * Creates new snippet file tree node. 76 | * 77 | * @param label Snippet file name/label. 78 | * @param filePath Full snippet file path. 79 | * @param language Snippet file language type. 80 | * @param collapse Collapse/expand state to show defined snippets. 81 | */ 82 | constructor( 83 | readonly label: string, 84 | readonly filePath: string, 85 | readonly language: string, 86 | readonly collapse: TreeItemCollapsibleState 87 | ) { 88 | super(label); 89 | this.iconPath = ThemeIcon.File; 90 | this.tooltip = filePath; 91 | this.collapsibleState = collapse; 92 | 93 | // use resource uri with `_.` hack 94 | // to show proper language icons in the snippets tree view 95 | this.resourceUri = Uri.file(`_.${getFileExtension(language)}`); 96 | } 97 | } 98 | 99 | /** 100 | * Defines snippets language tree item for display in the snippets tree view. 101 | */ 102 | export class SnippetLanguage extends TreeItem { 103 | readonly contextValue = 'snippetLanguage'; 104 | public snippetFiles: SnippetFile[] = new Array(); 105 | 106 | /** 107 | * Creates nee snippets language tree node for the given language. 108 | * 109 | * @param language Snippets language name. 110 | */ 111 | constructor(readonly language: string) { 112 | super(language); 113 | this.iconPath = ThemeIcon.File; 114 | this.collapsibleState = TreeItemCollapsibleState.Collapsed; 115 | this.tooltip = `${language} snippets`; 116 | 117 | // use resource uri with `_.` hack 118 | // to show proper language icons in the snippets tree view 119 | this.resourceUri = Uri.file(`_.${getFileExtension(language)}`); 120 | } 121 | } 122 | 123 | /** 124 | * Maps text document language id to file extension for the file type tree view icon loading. 125 | * 126 | * @returns The file extension for the given language id. 127 | */ 128 | function getFileExtension(language: string): string { 129 | let fileExtension: string = language; 130 | // map language to file extension 131 | switch (language) { 132 | case 'coffeescript': 133 | fileExtension = 'coffee'; 134 | break; 135 | case 'csharp': 136 | fileExtension = 'cs'; 137 | break; 138 | case 'fsharp': 139 | fileExtension = 'fs'; 140 | break; 141 | case 'javascript': 142 | fileExtension = 'js'; 143 | break; 144 | case 'javascriptreact': 145 | fileExtension = 'jsx'; 146 | break; 147 | case 'powershell': 148 | fileExtension = 'ps1'; 149 | break; 150 | case 'python': 151 | fileExtension = 'py'; 152 | break; 153 | case 'stylus': 154 | fileExtension = 'styl'; 155 | break; 156 | case 'typescript': 157 | fileExtension = 'ts'; 158 | break; 159 | case 'typescriptreact': 160 | fileExtension = 'tsx'; 161 | break; 162 | } 163 | return fileExtension; 164 | } 165 | -------------------------------------------------------------------------------- /src/test/runTest.ts: -------------------------------------------------------------------------------- 1 | import * as path from 'path'; 2 | 3 | import { runTests } from 'vscode-test'; 4 | 5 | async function main() { 6 | try { 7 | // The folder containing the Extension Manifest package.json 8 | // Passed to `--extensionDevelopmentPath` 9 | const extensionDevelopmentPath = path.resolve(__dirname, '../../'); 10 | 11 | // The path to test runner 12 | // Passed to --extensionTestsPath 13 | const extensionTestsPath = path.resolve(__dirname, './suite/index'); 14 | 15 | // Download VS Code, unzip it and run the integration test 16 | await runTests({ extensionDevelopmentPath, extensionTestsPath }); 17 | } catch (err) { 18 | console.error('Failed to run tests'); 19 | process.exit(1); 20 | } 21 | } 22 | 23 | main(); 24 | -------------------------------------------------------------------------------- /src/test/suite/extension.test.ts: -------------------------------------------------------------------------------- 1 | import * as assert from 'assert'; 2 | 3 | // You can import and use all API from the 'vscode' module 4 | // as well as import your extension to test it 5 | import * as vscode from 'vscode'; 6 | // import * as myExtension from '../../extension'; 7 | 8 | suite('Extension Test Suite', () => { 9 | vscode.window.showInformationMessage('Start all tests.'); 10 | 11 | test('Sample test', () => { 12 | assert.strictEqual(-1, [1, 2, 3].indexOf(5)); 13 | assert.strictEqual(-1, [1, 2, 3].indexOf(0)); 14 | }); 15 | }); 16 | -------------------------------------------------------------------------------- /src/test/suite/index.ts: -------------------------------------------------------------------------------- 1 | import * as path from 'path'; 2 | import * as Mocha from 'mocha'; 3 | import * as glob from 'glob'; 4 | 5 | export function run(): Promise { 6 | // Create the mocha test 7 | const mocha = new Mocha({ 8 | ui: 'tdd', 9 | color: true 10 | }); 11 | 12 | const testsRoot = path.resolve(__dirname, '..'); 13 | 14 | return new Promise((c, e) => { 15 | glob('**/**.test.js', { cwd: testsRoot }, (err, files) => { 16 | if (err) { 17 | return e(err); 18 | } 19 | 20 | // Add files to the test suite 21 | files.forEach(f => mocha.addFile(path.resolve(testsRoot, f))); 22 | 23 | try { 24 | // Run the mocha test 25 | mocha.run(failures => { 26 | if (failures > 0) { 27 | e(new Error(`${failures} tests failed.`)); 28 | } else { 29 | c(); 30 | } 31 | }); 32 | } catch (err) { 33 | console.error(err); 34 | e(err); 35 | } 36 | }); 37 | }); 38 | } 39 | -------------------------------------------------------------------------------- /src/test/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RandomFractals/vscode-snippets-viewer/28169dee13792a90502eaadc4504e19faffaf99e/src/test/test.js -------------------------------------------------------------------------------- /src/test/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RandomFractals/vscode-snippets-viewer/28169dee13792a90502eaadc4504e19faffaf99e/src/test/test.py -------------------------------------------------------------------------------- /src/test/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RandomFractals/vscode-snippets-viewer/28169dee13792a90502eaadc4504e19faffaf99e/src/test/test.ts -------------------------------------------------------------------------------- /test/.vscode/javascript.json: -------------------------------------------------------------------------------- 1 | { 2 | "Console log": { 3 | "prefix": "clog", 4 | "body": [ 5 | "console.log('$1');", 6 | "$2" 7 | ], 8 | "description": "Log output to console." 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /test/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "editor.tabSize": 2, 3 | "snippets.viewer.skipLanguageSnippets": "bat, c, csharp, cpp, coffeescript, fsharp, javascriptreact, swift, typescriptreact, vb, wat" 4 | } 5 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "ES2019", 5 | "outDir": "out", 6 | "lib": [ 7 | "ES2019" 8 | ], 9 | "sourceMap": true, 10 | "rootDir": "src", 11 | "strict": true /* enable all strict type-checking options */ 12 | /* Additional Checks */ 13 | // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ 14 | // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ 15 | // "noUnusedParameters": true, /* Report errors on unused parameters. */ 16 | }, 17 | "exclude": [ 18 | "node_modules", 19 | ".vscode-test" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- 1 | //@ts-check 2 | 3 | 'use strict'; 4 | 5 | const path = require('path'); 6 | 7 | /**@type {import('webpack').Configuration}*/ 8 | const config = { 9 | target: 'node', // vscode extensions run in a Node.js-context 📖 -> https://webpack.js.org/configuration/node/ 10 | mode: 'none', // this leaves the source code as close as possible to the original (when packaging we set this to 'production') 11 | 12 | entry: './src/extension.ts', // the entry point of this extension, 📖 -> https://webpack.js.org/configuration/entry-context/ 13 | output: { 14 | // the bundle is stored in the 'dist' folder (check package.json), 📖 -> https://webpack.js.org/configuration/output/ 15 | path: path.resolve(__dirname, 'dist'), 16 | filename: 'extension.js', 17 | libraryTarget: 'commonjs2' 18 | }, 19 | devtool: 'nosources-source-map', 20 | externals: { 21 | vscode: 'commonjs vscode' // the vscode-module is created on-the-fly and must be excluded. Add other modules that cannot be webpack'ed, 📖 -> https://webpack.js.org/configuration/externals/ 22 | }, 23 | resolve: { 24 | // support reading TypeScript and JavaScript files, 📖 -> https://github.com/TypeStrong/ts-loader 25 | extensions: ['.ts', '.js'] 26 | }, 27 | module: { 28 | rules: [ 29 | { 30 | test: /\.ts$/, 31 | exclude: /node_modules/, 32 | use: [ 33 | { 34 | loader: 'ts-loader' 35 | } 36 | ] 37 | } 38 | ] 39 | } 40 | }; 41 | module.exports = config; --------------------------------------------------------------------------------