├── .gitignore ├── LICENSE ├── Procfile ├── README.md ├── package.json ├── pnpm-lock.yaml ├── server.js └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules/ 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 2, June 1991 3 | 4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc., 5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6 | Everyone is permitted to copy and distribute verbatim copies 7 | of this license document, but changing it is not allowed. 8 | 9 | Preamble 10 | 11 | The licenses for most software are designed to take away your 12 | freedom to share and change it. By contrast, the GNU General Public 13 | License is intended to guarantee your freedom to share and change free 14 | software--to make sure the software is free for all its users. This 15 | General Public License applies to most of the Free Software 16 | Foundation's software and to any other program whose authors commit to 17 | using it. (Some other Free Software Foundation software is covered by 18 | the GNU Lesser General Public License instead.) You can apply it to 19 | your programs, too. 20 | 21 | When we speak of free software, we are referring to freedom, not 22 | price. Our General Public Licenses are designed to make sure that you 23 | have the freedom to distribute copies of free software (and charge for 24 | this service if you wish), that you receive source code or can get it 25 | if you want it, that you can change the software or use pieces of it 26 | in new free programs; and that you know you can do these things. 27 | 28 | To protect your rights, we need to make restrictions that forbid 29 | anyone to deny you these rights or to ask you to surrender the rights. 30 | These restrictions translate to certain responsibilities for you if you 31 | distribute copies of the software, or if you modify it. 32 | 33 | For example, if you distribute copies of such a program, whether 34 | gratis or for a fee, you must give the recipients all the rights that 35 | you have. You must make sure that they, too, receive or can get the 36 | source code. And you must show them these terms so they know their 37 | rights. 38 | 39 | We protect your rights with two steps: (1) copyright the software, and 40 | (2) offer you this license which gives you legal permission to copy, 41 | distribute and/or modify the software. 42 | 43 | Also, for each author's protection and ours, we want to make certain 44 | that everyone understands that there is no warranty for this free 45 | software. If the software is modified by someone else and passed on, we 46 | want its recipients to know that what they have is not the original, so 47 | that any problems introduced by others will not reflect on the original 48 | authors' reputations. 49 | 50 | Finally, any free program is threatened constantly by software 51 | patents. We wish to avoid the danger that redistributors of a free 52 | program will individually obtain patent licenses, in effect making the 53 | program proprietary. To prevent this, we have made it clear that any 54 | patent must be licensed for everyone's free use or not licensed at all. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | GNU GENERAL PUBLIC LICENSE 60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61 | 62 | 0. This License applies to any program or other work which contains 63 | a notice placed by the copyright holder saying it may be distributed 64 | under the terms of this General Public License. The "Program", below, 65 | refers to any such program or work, and a "work based on the Program" 66 | means either the Program or any derivative work under copyright law: 67 | that is to say, a work containing the Program or a portion of it, 68 | either verbatim or with modifications and/or translated into another 69 | language. (Hereinafter, translation is included without limitation in 70 | the term "modification".) Each licensee is addressed as "you". 71 | 72 | Activities other than copying, distribution and modification are not 73 | covered by this License; they are outside its scope. The act of 74 | running the Program is not restricted, and the output from the Program 75 | is covered only if its contents constitute a work based on the 76 | Program (independent of having been made by running the Program). 77 | Whether that is true depends on what the Program does. 78 | 79 | 1. You may copy and distribute verbatim copies of the Program's 80 | source code as you receive it, in any medium, provided that you 81 | conspicuously and appropriately publish on each copy an appropriate 82 | copyright notice and disclaimer of warranty; keep intact all the 83 | notices that refer to this License and to the absence of any warranty; 84 | and give any other recipients of the Program a copy of this License 85 | along with the Program. 86 | 87 | You may charge a fee for the physical act of transferring a copy, and 88 | you may at your option offer warranty protection in exchange for a fee. 89 | 90 | 2. You may modify your copy or copies of the Program or any portion 91 | of it, thus forming a work based on the Program, and copy and 92 | distribute such modifications or work under the terms of Section 1 93 | above, provided that you also meet all of these conditions: 94 | 95 | a) You must cause the modified files to carry prominent notices 96 | stating that you changed the files and the date of any change. 97 | 98 | b) You must cause any work that you distribute or publish, that in 99 | whole or in part contains or is derived from the Program or any 100 | part thereof, to be licensed as a whole at no charge to all third 101 | parties under the terms of this License. 102 | 103 | c) If the modified program normally reads commands interactively 104 | when run, you must cause it, when started running for such 105 | interactive use in the most ordinary way, to print or display an 106 | announcement including an appropriate copyright notice and a 107 | notice that there is no warranty (or else, saying that you provide 108 | a warranty) and that users may redistribute the program under 109 | these conditions, and telling the user how to view a copy of this 110 | License. (Exception: if the Program itself is interactive but 111 | does not normally print such an announcement, your work based on 112 | the Program is not required to print an announcement.) 113 | 114 | These requirements apply to the modified work as a whole. If 115 | identifiable sections of that work are not derived from the Program, 116 | and can be reasonably considered independent and separate works in 117 | themselves, then this License, and its terms, do not apply to those 118 | sections when you distribute them as separate works. But when you 119 | distribute the same sections as part of a whole which is a work based 120 | on the Program, the distribution of the whole must be on the terms of 121 | this License, whose permissions for other licensees extend to the 122 | entire whole, and thus to each and every part regardless of who wrote it. 123 | 124 | Thus, it is not the intent of this section to claim rights or contest 125 | your rights to work written entirely by you; rather, the intent is to 126 | exercise the right to control the distribution of derivative or 127 | collective works based on the Program. 128 | 129 | In addition, mere aggregation of another work not based on the Program 130 | with the Program (or with a work based on the Program) on a volume of 131 | a storage or distribution medium does not bring the other work under 132 | the scope of this License. 133 | 134 | 3. You may copy and distribute the Program (or a work based on it, 135 | under Section 2) in object code or executable form under the terms of 136 | Sections 1 and 2 above provided that you also do one of the following: 137 | 138 | a) Accompany it with the complete corresponding machine-readable 139 | source code, which must be distributed under the terms of Sections 140 | 1 and 2 above on a medium customarily used for software interchange; or, 141 | 142 | b) Accompany it with a written offer, valid for at least three 143 | years, to give any third party, for a charge no more than your 144 | cost of physically performing source distribution, a complete 145 | machine-readable copy of the corresponding source code, to be 146 | distributed under the terms of Sections 1 and 2 above on a medium 147 | customarily used for software interchange; or, 148 | 149 | c) Accompany it with the information you received as to the offer 150 | to distribute corresponding source code. (This alternative is 151 | allowed only for noncommercial distribution and only if you 152 | received the program in object code or executable form with such 153 | an offer, in accord with Subsection b above.) 154 | 155 | The source code for a work means the preferred form of the work for 156 | making modifications to it. For an executable work, complete source 157 | code means all the source code for all modules it contains, plus any 158 | associated interface definition files, plus the scripts used to 159 | control compilation and installation of the executable. However, as a 160 | special exception, the source code distributed need not include 161 | anything that is normally distributed (in either source or binary 162 | form) with the major components (compiler, kernel, and so on) of the 163 | operating system on which the executable runs, unless that component 164 | itself accompanies the executable. 165 | 166 | If distribution of executable or object code is made by offering 167 | access to copy from a designated place, then offering equivalent 168 | access to copy the source code from the same place counts as 169 | distribution of the source code, even though third parties are not 170 | compelled to copy the source along with the object code. 171 | 172 | 4. You may not copy, modify, sublicense, or distribute the Program 173 | except as expressly provided under this License. Any attempt 174 | otherwise to copy, modify, sublicense or distribute the Program is 175 | void, and will automatically terminate your rights under this License. 176 | However, parties who have received copies, or rights, from you under 177 | this License will not have their licenses terminated so long as such 178 | parties remain in full compliance. 179 | 180 | 5. You are not required to accept this License, since you have not 181 | signed it. However, nothing else grants you permission to modify or 182 | distribute the Program or its derivative works. These actions are 183 | prohibited by law if you do not accept this License. Therefore, by 184 | modifying or distributing the Program (or any work based on the 185 | Program), you indicate your acceptance of this License to do so, and 186 | all its terms and conditions for copying, distributing or modifying 187 | the Program or works based on it. 188 | 189 | 6. Each time you redistribute the Program (or any work based on the 190 | Program), the recipient automatically receives a license from the 191 | original licensor to copy, distribute or modify the Program subject to 192 | these terms and conditions. You may not impose any further 193 | restrictions on the recipients' exercise of the rights granted herein. 194 | You are not responsible for enforcing compliance by third parties to 195 | this License. 196 | 197 | 7. If, as a consequence of a court judgment or allegation of patent 198 | infringement or for any other reason (not limited to patent issues), 199 | conditions are imposed on you (whether by court order, agreement or 200 | otherwise) that contradict the conditions of this License, they do not 201 | excuse you from the conditions of this License. If you cannot 202 | distribute so as to satisfy simultaneously your obligations under this 203 | License and any other pertinent obligations, then as a consequence you 204 | may not distribute the Program at all. For example, if a patent 205 | license would not permit royalty-free redistribution of the Program by 206 | all those who receive copies directly or indirectly through you, then 207 | the only way you could satisfy both it and this License would be to 208 | refrain entirely from distribution of the Program. 209 | 210 | If any portion of this section is held invalid or unenforceable under 211 | any particular circumstance, the balance of the section is intended to 212 | apply and the section as a whole is intended to apply in other 213 | circumstances. 214 | 215 | It is not the purpose of this section to induce you to infringe any 216 | patents or other property right claims or to contest validity of any 217 | such claims; this section has the sole purpose of protecting the 218 | integrity of the free software distribution system, which is 219 | implemented by public license practices. Many people have made 220 | generous contributions to the wide range of software distributed 221 | through that system in reliance on consistent application of that 222 | system; it is up to the author/donor to decide if he or she is willing 223 | to distribute software through any other system and a licensee cannot 224 | impose that choice. 225 | 226 | This section is intended to make thoroughly clear what is believed to 227 | be a consequence of the rest of this License. 228 | 229 | 8. If the distribution and/or use of the Program is restricted in 230 | certain countries either by patents or by copyrighted interfaces, the 231 | original copyright holder who places the Program under this License 232 | may add an explicit geographical distribution limitation excluding 233 | those countries, so that distribution is permitted only in or among 234 | countries not thus excluded. In such case, this License incorporates 235 | the limitation as if written in the body of this License. 236 | 237 | 9. The Free Software Foundation may publish revised and/or new versions 238 | of the General Public License from time to time. Such new versions will 239 | be similar in spirit to the present version, but may differ in detail to 240 | address new problems or concerns. 241 | 242 | Each version is given a distinguishing version number. If the Program 243 | specifies a version number of this License which applies to it and "any 244 | later version", you have the option of following the terms and conditions 245 | either of that version or of any later version published by the Free 246 | Software Foundation. If the Program does not specify a version number of 247 | this License, you may choose any version ever published by the Free Software 248 | Foundation. 249 | 250 | 10. If you wish to incorporate parts of the Program into other free 251 | programs whose distribution conditions are different, write to the author 252 | to ask for permission. For software which is copyrighted by the Free 253 | Software Foundation, write to the Free Software Foundation; we sometimes 254 | make exceptions for this. Our decision will be guided by the two goals 255 | of preserving the free status of all derivatives of our free software and 256 | of promoting the sharing and reuse of software generally. 257 | 258 | NO WARRANTY 259 | 260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268 | REPAIR OR CORRECTION. 269 | 270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278 | POSSIBILITY OF SUCH DAMAGES. 279 | 280 | END OF TERMS AND CONDITIONS 281 | 282 | How to Apply These Terms to Your New Programs 283 | 284 | If you develop a new program, and you want it to be of the greatest 285 | possible use to the public, the best way to achieve this is to make it 286 | free software which everyone can redistribute and change under these terms. 287 | 288 | To do so, attach the following notices to the program. It is safest 289 | to attach them to the start of each source file to most effectively 290 | convey the exclusion of warranty; and each file should have at least 291 | the "copyright" line and a pointer to where the full notice is found. 292 | 293 | {description} 294 | Copyright (C) {year} {fullname} 295 | 296 | This program is free software; you can redistribute it and/or modify 297 | it under the terms of the GNU General Public License as published by 298 | the Free Software Foundation; either version 2 of the License, or 299 | (at your option) any later version. 300 | 301 | This program is distributed in the hope that it will be useful, 302 | but WITHOUT ANY WARRANTY; without even the implied warranty of 303 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 304 | GNU General Public License for more details. 305 | 306 | You should have received a copy of the GNU General Public License along 307 | with this program; if not, write to the Free Software Foundation, Inc., 308 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 309 | 310 | Also add information on how to contact you by electronic and paper mail. 311 | 312 | If the program is interactive, make it output a short notice like this 313 | when it starts in an interactive mode: 314 | 315 | Gnomovision version 69, Copyright (C) year name of author 316 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 317 | This is free software, and you are welcome to redistribute it 318 | under certain conditions; type `show c' for details. 319 | 320 | The hypothetical commands `show w' and `show c' should show the appropriate 321 | parts of the General Public License. Of course, the commands you use may 322 | be called something other than `show w' and `show c'; they could even be 323 | mouse-clicks or menu items--whatever suits your program. 324 | 325 | You should also get your employer (if you work as a programmer) or your 326 | school, if any, to sign a "copyright disclaimer" for the program, if 327 | necessary. Here is a sample; alter the names: 328 | 329 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program 330 | `Gnomovision' (which makes passes at compilers) written by James Hacker. 331 | 332 | {signature of Ty Coon}, 1 April 1989 333 | Ty Coon, President of Vice 334 | 335 | This General Public License does not permit incorporating your program into 336 | proprietary programs. If your program is a subroutine library, you may 337 | consider it more useful to permit linking proprietary applications with the 338 | library. If this is what you want to do, use the GNU Lesser General 339 | Public License instead of this License. 340 | -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- 1 | web: node server.js 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Placeholder 2 | ========================== 3 | 4 | It won't actually generate any image content such as JPG or PNG; only text SVG will be return to the client. 5 | 6 | ​ 7 | 8 | **Usage:** 9 | 10 | $ node server.js 11 | Listening on port 8080 12 | 13 | **Example:** 14 | 15 | `````` 16 | 17 | ![](https://placeholder.eternal.workers.dev/512x128) 18 | 19 | `````` 20 | 21 | ![](https://placeholder.eternal.workers.dev/32x32) 22 | 23 | `````` 24 | 25 | ![](https://placeholder.eternal.workers.dev/64x128) 26 | 27 | `````` 28 | 29 | ![](https://placeholder.eternal.workers.dev/512x128+cross) 30 | 31 | `````` 32 | 33 | ![](https://placeholder.eternal.workers.dev/512x128+border) 34 | 35 | `````` 36 | 37 | ![](https://placeholder.eternal.workers.dev/512x128+cross+border) 38 | 39 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "placeholder", 3 | "version": "0.0.1", 4 | "description": "", 5 | "main": "server.js", 6 | "dependencies": { 7 | "express": "~4.17.1", 8 | "morgan": "~1.9.1", 9 | "parseurl": "~1.3.3", 10 | "showdown": "^2.1.0" 11 | }, 12 | "devDependencies": {}, 13 | "scripts": { 14 | "test": "echo \"Error: no test specified\" && exit 1", 15 | "start": "node server.js" 16 | }, 17 | "author": "Evlos", 18 | "license": "BSD-2-Clause" 19 | } 20 | -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- 1 | lockfileVersion: 5.4 2 | 3 | specifiers: 4 | express: ~4.17.1 5 | morgan: ~1.9.1 6 | parseurl: ~1.3.3 7 | showdown: ^2.1.0 8 | 9 | dependencies: 10 | express: 4.17.3 11 | morgan: 1.9.1 12 | parseurl: 1.3.3 13 | showdown: 2.1.0 14 | 15 | packages: 16 | 17 | /accepts/1.3.8: 18 | resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==} 19 | engines: {node: '>= 0.6'} 20 | dependencies: 21 | mime-types: 2.1.35 22 | negotiator: 0.6.3 23 | dev: false 24 | 25 | /array-flatten/1.1.1: 26 | resolution: {integrity: sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==} 27 | dev: false 28 | 29 | /basic-auth/2.0.1: 30 | resolution: {integrity: sha512-NF+epuEdnUYVlGuhaxbbq+dvJttwLnGY+YixlXlME5KpQ5W3CnXA5cVTneY3SPbPDRkcjMbifrwmFYcClgOZeg==} 31 | engines: {node: '>= 0.8'} 32 | dependencies: 33 | safe-buffer: 5.1.2 34 | dev: false 35 | 36 | /body-parser/1.19.2: 37 | resolution: {integrity: sha512-SAAwOxgoCKMGs9uUAUFHygfLAyaniaoun6I8mFY9pRAJL9+Kec34aU+oIjDhTycub1jozEfEwx1W1IuOYxVSFw==} 38 | engines: {node: '>= 0.8'} 39 | dependencies: 40 | bytes: 3.1.2 41 | content-type: 1.0.4 42 | debug: 2.6.9 43 | depd: 1.1.2 44 | http-errors: 1.8.1 45 | iconv-lite: 0.4.24 46 | on-finished: 2.3.0 47 | qs: 6.9.7 48 | raw-body: 2.4.3 49 | type-is: 1.6.18 50 | transitivePeerDependencies: 51 | - supports-color 52 | dev: false 53 | 54 | /bytes/3.1.2: 55 | resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==} 56 | engines: {node: '>= 0.8'} 57 | dev: false 58 | 59 | /commander/9.4.1: 60 | resolution: {integrity: sha512-5EEkTNyHNGFPD2H+c/dXXfQZYa/scCKasxWcXJaWnNJ99pnQN9Vnmqow+p+PlFPE63Q6mThaZws1T+HxfpgtPw==} 61 | engines: {node: ^12.20.0 || >=14} 62 | dev: false 63 | 64 | /content-disposition/0.5.4: 65 | resolution: {integrity: sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==} 66 | engines: {node: '>= 0.6'} 67 | dependencies: 68 | safe-buffer: 5.2.1 69 | dev: false 70 | 71 | /content-type/1.0.4: 72 | resolution: {integrity: sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==} 73 | engines: {node: '>= 0.6'} 74 | dev: false 75 | 76 | /cookie-signature/1.0.6: 77 | resolution: {integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==} 78 | dev: false 79 | 80 | /cookie/0.4.2: 81 | resolution: {integrity: sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==} 82 | engines: {node: '>= 0.6'} 83 | dev: false 84 | 85 | /debug/2.6.9: 86 | resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} 87 | peerDependencies: 88 | supports-color: '*' 89 | peerDependenciesMeta: 90 | supports-color: 91 | optional: true 92 | dependencies: 93 | ms: 2.0.0 94 | dev: false 95 | 96 | /depd/1.1.2: 97 | resolution: {integrity: sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==} 98 | engines: {node: '>= 0.6'} 99 | dev: false 100 | 101 | /destroy/1.0.4: 102 | resolution: {integrity: sha512-3NdhDuEXnfun/z7x9GOElY49LoqVHoGScmOKwmxhsS8N5Y+Z8KyPPDnaSzqWgYt/ji4mqwfTS34Htrk0zPIXVg==} 103 | dev: false 104 | 105 | /ee-first/1.1.1: 106 | resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} 107 | dev: false 108 | 109 | /encodeurl/1.0.2: 110 | resolution: {integrity: sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==} 111 | engines: {node: '>= 0.8'} 112 | dev: false 113 | 114 | /escape-html/1.0.3: 115 | resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==} 116 | dev: false 117 | 118 | /etag/1.8.1: 119 | resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} 120 | engines: {node: '>= 0.6'} 121 | dev: false 122 | 123 | /express/4.17.3: 124 | resolution: {integrity: sha512-yuSQpz5I+Ch7gFrPCk4/c+dIBKlQUxtgwqzph132bsT6qhuzss6I8cLJQz7B3rFblzd6wtcI0ZbGltH/C4LjUg==} 125 | engines: {node: '>= 0.10.0'} 126 | dependencies: 127 | accepts: 1.3.8 128 | array-flatten: 1.1.1 129 | body-parser: 1.19.2 130 | content-disposition: 0.5.4 131 | content-type: 1.0.4 132 | cookie: 0.4.2 133 | cookie-signature: 1.0.6 134 | debug: 2.6.9 135 | depd: 1.1.2 136 | encodeurl: 1.0.2 137 | escape-html: 1.0.3 138 | etag: 1.8.1 139 | finalhandler: 1.1.2 140 | fresh: 0.5.2 141 | merge-descriptors: 1.0.1 142 | methods: 1.1.2 143 | on-finished: 2.3.0 144 | parseurl: 1.3.3 145 | path-to-regexp: 0.1.7 146 | proxy-addr: 2.0.7 147 | qs: 6.9.7 148 | range-parser: 1.2.1 149 | safe-buffer: 5.2.1 150 | send: 0.17.2 151 | serve-static: 1.14.2 152 | setprototypeof: 1.2.0 153 | statuses: 1.5.0 154 | type-is: 1.6.18 155 | utils-merge: 1.0.1 156 | vary: 1.1.2 157 | transitivePeerDependencies: 158 | - supports-color 159 | dev: false 160 | 161 | /finalhandler/1.1.2: 162 | resolution: {integrity: sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==} 163 | engines: {node: '>= 0.8'} 164 | dependencies: 165 | debug: 2.6.9 166 | encodeurl: 1.0.2 167 | escape-html: 1.0.3 168 | on-finished: 2.3.0 169 | parseurl: 1.3.3 170 | statuses: 1.5.0 171 | unpipe: 1.0.0 172 | transitivePeerDependencies: 173 | - supports-color 174 | dev: false 175 | 176 | /forwarded/0.2.0: 177 | resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==} 178 | engines: {node: '>= 0.6'} 179 | dev: false 180 | 181 | /fresh/0.5.2: 182 | resolution: {integrity: sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==} 183 | engines: {node: '>= 0.6'} 184 | dev: false 185 | 186 | /http-errors/1.8.1: 187 | resolution: {integrity: sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==} 188 | engines: {node: '>= 0.6'} 189 | dependencies: 190 | depd: 1.1.2 191 | inherits: 2.0.4 192 | setprototypeof: 1.2.0 193 | statuses: 1.5.0 194 | toidentifier: 1.0.1 195 | dev: false 196 | 197 | /iconv-lite/0.4.24: 198 | resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} 199 | engines: {node: '>=0.10.0'} 200 | dependencies: 201 | safer-buffer: 2.1.2 202 | dev: false 203 | 204 | /inherits/2.0.4: 205 | resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} 206 | dev: false 207 | 208 | /ipaddr.js/1.9.1: 209 | resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==} 210 | engines: {node: '>= 0.10'} 211 | dev: false 212 | 213 | /media-typer/0.3.0: 214 | resolution: {integrity: sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==} 215 | engines: {node: '>= 0.6'} 216 | dev: false 217 | 218 | /merge-descriptors/1.0.1: 219 | resolution: {integrity: sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==} 220 | dev: false 221 | 222 | /methods/1.1.2: 223 | resolution: {integrity: sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==} 224 | engines: {node: '>= 0.6'} 225 | dev: false 226 | 227 | /mime-db/1.52.0: 228 | resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} 229 | engines: {node: '>= 0.6'} 230 | dev: false 231 | 232 | /mime-types/2.1.35: 233 | resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} 234 | engines: {node: '>= 0.6'} 235 | dependencies: 236 | mime-db: 1.52.0 237 | dev: false 238 | 239 | /mime/1.6.0: 240 | resolution: {integrity: sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==} 241 | engines: {node: '>=4'} 242 | hasBin: true 243 | dev: false 244 | 245 | /morgan/1.9.1: 246 | resolution: {integrity: sha512-HQStPIV4y3afTiCYVxirakhlCfGkI161c76kKFca7Fk1JusM//Qeo1ej2XaMniiNeaZklMVrh3vTtIzpzwbpmA==} 247 | engines: {node: '>= 0.8.0'} 248 | dependencies: 249 | basic-auth: 2.0.1 250 | debug: 2.6.9 251 | depd: 1.1.2 252 | on-finished: 2.3.0 253 | on-headers: 1.0.2 254 | transitivePeerDependencies: 255 | - supports-color 256 | dev: false 257 | 258 | /ms/2.0.0: 259 | resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} 260 | dev: false 261 | 262 | /ms/2.1.3: 263 | resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} 264 | dev: false 265 | 266 | /negotiator/0.6.3: 267 | resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} 268 | engines: {node: '>= 0.6'} 269 | dev: false 270 | 271 | /on-finished/2.3.0: 272 | resolution: {integrity: sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww==} 273 | engines: {node: '>= 0.8'} 274 | dependencies: 275 | ee-first: 1.1.1 276 | dev: false 277 | 278 | /on-headers/1.0.2: 279 | resolution: {integrity: sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==} 280 | engines: {node: '>= 0.8'} 281 | dev: false 282 | 283 | /parseurl/1.3.3: 284 | resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} 285 | engines: {node: '>= 0.8'} 286 | dev: false 287 | 288 | /path-to-regexp/0.1.7: 289 | resolution: {integrity: sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==} 290 | dev: false 291 | 292 | /proxy-addr/2.0.7: 293 | resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==} 294 | engines: {node: '>= 0.10'} 295 | dependencies: 296 | forwarded: 0.2.0 297 | ipaddr.js: 1.9.1 298 | dev: false 299 | 300 | /qs/6.9.7: 301 | resolution: {integrity: sha512-IhMFgUmuNpyRfxA90umL7ByLlgRXu6tIfKPpF5TmcfRLlLCckfP/g3IQmju6jjpu+Hh8rA+2p6A27ZSPOOHdKw==} 302 | engines: {node: '>=0.6'} 303 | dev: false 304 | 305 | /range-parser/1.2.1: 306 | resolution: {integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==} 307 | engines: {node: '>= 0.6'} 308 | dev: false 309 | 310 | /raw-body/2.4.3: 311 | resolution: {integrity: sha512-UlTNLIcu0uzb4D2f4WltY6cVjLi+/jEN4lgEUj3E04tpMDpUlkBo/eSn6zou9hum2VMNpCCUone0O0WeJim07g==} 312 | engines: {node: '>= 0.8'} 313 | dependencies: 314 | bytes: 3.1.2 315 | http-errors: 1.8.1 316 | iconv-lite: 0.4.24 317 | unpipe: 1.0.0 318 | dev: false 319 | 320 | /safe-buffer/5.1.2: 321 | resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==} 322 | dev: false 323 | 324 | /safe-buffer/5.2.1: 325 | resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} 326 | dev: false 327 | 328 | /safer-buffer/2.1.2: 329 | resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} 330 | dev: false 331 | 332 | /send/0.17.2: 333 | resolution: {integrity: sha512-UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww==} 334 | engines: {node: '>= 0.8.0'} 335 | dependencies: 336 | debug: 2.6.9 337 | depd: 1.1.2 338 | destroy: 1.0.4 339 | encodeurl: 1.0.2 340 | escape-html: 1.0.3 341 | etag: 1.8.1 342 | fresh: 0.5.2 343 | http-errors: 1.8.1 344 | mime: 1.6.0 345 | ms: 2.1.3 346 | on-finished: 2.3.0 347 | range-parser: 1.2.1 348 | statuses: 1.5.0 349 | transitivePeerDependencies: 350 | - supports-color 351 | dev: false 352 | 353 | /serve-static/1.14.2: 354 | resolution: {integrity: sha512-+TMNA9AFxUEGuC0z2mevogSnn9MXKb4fa7ngeRMJaaGv8vTwnIEkKi+QGvPt33HSnf8pRS+WGM0EbMtCJLKMBQ==} 355 | engines: {node: '>= 0.8.0'} 356 | dependencies: 357 | encodeurl: 1.0.2 358 | escape-html: 1.0.3 359 | parseurl: 1.3.3 360 | send: 0.17.2 361 | transitivePeerDependencies: 362 | - supports-color 363 | dev: false 364 | 365 | /setprototypeof/1.2.0: 366 | resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} 367 | dev: false 368 | 369 | /showdown/2.1.0: 370 | resolution: {integrity: sha512-/6NVYu4U819R2pUIk79n67SYgJHWCce0a5xTP979WbNp0FL9MN1I1QK662IDU1b6JzKTvmhgI7T7JYIxBi3kMQ==} 371 | hasBin: true 372 | dependencies: 373 | commander: 9.4.1 374 | dev: false 375 | 376 | /statuses/1.5.0: 377 | resolution: {integrity: sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==} 378 | engines: {node: '>= 0.6'} 379 | dev: false 380 | 381 | /toidentifier/1.0.1: 382 | resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==} 383 | engines: {node: '>=0.6'} 384 | dev: false 385 | 386 | /type-is/1.6.18: 387 | resolution: {integrity: sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==} 388 | engines: {node: '>= 0.6'} 389 | dependencies: 390 | media-typer: 0.3.0 391 | mime-types: 2.1.35 392 | dev: false 393 | 394 | /unpipe/1.0.0: 395 | resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} 396 | engines: {node: '>= 0.8'} 397 | dev: false 398 | 399 | /utils-merge/1.0.1: 400 | resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==} 401 | engines: {node: '>= 0.4.0'} 402 | dev: false 403 | 404 | /vary/1.1.2: 405 | resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} 406 | engines: {node: '>= 0.8'} 407 | dev: false 408 | -------------------------------------------------------------------------------- /server.js: -------------------------------------------------------------------------------- 1 | var port = Number(process.env.PORT || 8080) 2 | 3 | var global_count = 0 4 | 5 | var parseurl = require('parseurl') 6 | var logger = require('morgan') 7 | var express = require('express') 8 | var app = express() 9 | var fs = require('fs') 10 | var path = require('path') 11 | var showdown = require('showdown') 12 | 13 | app.use(logger()) 14 | 15 | app.get('/', function(req, res) { 16 | const converter = new showdown.Converter(); 17 | const markdown = String(fs.readFileSync(path.join(__dirname, './README.md'))); 18 | res.writeHead(200, {'Content-Type': 'text/html'}); 19 | res.end(converter.makeHtml(markdown).replace('​', ` This instance has been used for ${global_count} times since last reboot.`)); 20 | }) 21 | 22 | app.get('/*', function(req, res) { 23 | let args = parseurl(req).pathname.replace('/', '').split('+') 24 | let size = args[0].split('x') 25 | let width = size[0] 26 | let height = size[1] 27 | let font_size = Math.round(Math.max(12, Math.min(Math.min(width, height) * 0.75, 0.75 * Math.max(width, height) / 12))) 28 | let rectStyle = '' 29 | let elements = '' 30 | if (args.length > 1) { 31 | if (args.indexOf('border') > 0) { 32 | rectStyle += 'stroke-width: 3px; stroke: rgba(0,0,0,.1);' 33 | } 34 | if (args.indexOf('cross') > 0) { 35 | elements += `` 36 | } 37 | } 38 | res.writeHead(200, {'Content-Type': 'image/svg+xml'}) 39 | res.end(`${elements}${width}x${height}`) 40 | global_count ++ 41 | }) 42 | 43 | var server = app.listen(port, function() { 44 | console.log('Listening on port %d', server.address().port) 45 | }) 46 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | accepts@~1.3.7: 6 | version "1.3.7" 7 | resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd" 8 | integrity sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA== 9 | dependencies: 10 | mime-types "~2.1.24" 11 | negotiator "0.6.2" 12 | 13 | array-flatten@1.1.1: 14 | version "1.1.1" 15 | resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" 16 | integrity sha1-ml9pkFGx5wczKPKgCJaLZOopVdI= 17 | 18 | basic-auth@~2.0.0: 19 | version "2.0.1" 20 | resolved "https://registry.yarnpkg.com/basic-auth/-/basic-auth-2.0.1.tgz#b998279bf47ce38344b4f3cf916d4679bbf51e3a" 21 | integrity sha512-NF+epuEdnUYVlGuhaxbbq+dvJttwLnGY+YixlXlME5KpQ5W3CnXA5cVTneY3SPbPDRkcjMbifrwmFYcClgOZeg== 22 | dependencies: 23 | safe-buffer "5.1.2" 24 | 25 | body-parser@1.19.0: 26 | version "1.19.0" 27 | resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.19.0.tgz#96b2709e57c9c4e09a6fd66a8fd979844f69f08a" 28 | integrity sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw== 29 | dependencies: 30 | bytes "3.1.0" 31 | content-type "~1.0.4" 32 | debug "2.6.9" 33 | depd "~1.1.2" 34 | http-errors "1.7.2" 35 | iconv-lite "0.4.24" 36 | on-finished "~2.3.0" 37 | qs "6.7.0" 38 | raw-body "2.4.0" 39 | type-is "~1.6.17" 40 | 41 | bytes@3.1.0: 42 | version "3.1.0" 43 | resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.0.tgz#f6cf7933a360e0588fa9fde85651cdc7f805d1f6" 44 | integrity sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg== 45 | 46 | content-disposition@0.5.3: 47 | version "0.5.3" 48 | resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.3.tgz#e130caf7e7279087c5616c2007d0485698984fbd" 49 | integrity sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g== 50 | dependencies: 51 | safe-buffer "5.1.2" 52 | 53 | content-type@~1.0.4: 54 | version "1.0.4" 55 | resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" 56 | integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA== 57 | 58 | cookie-signature@1.0.6: 59 | version "1.0.6" 60 | resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" 61 | integrity sha1-4wOogrNCzD7oylE6eZmXNNqzriw= 62 | 63 | cookie@0.4.0: 64 | version "0.4.0" 65 | resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.0.tgz#beb437e7022b3b6d49019d088665303ebe9c14ba" 66 | integrity sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg== 67 | 68 | debug@2.6.9: 69 | version "2.6.9" 70 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" 71 | integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== 72 | dependencies: 73 | ms "2.0.0" 74 | 75 | depd@~1.1.2: 76 | version "1.1.2" 77 | resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" 78 | integrity sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak= 79 | 80 | destroy@~1.0.4: 81 | version "1.0.4" 82 | resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80" 83 | integrity sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA= 84 | 85 | ee-first@1.1.1: 86 | version "1.1.1" 87 | resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" 88 | integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= 89 | 90 | encodeurl@~1.0.2: 91 | version "1.0.2" 92 | resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" 93 | integrity sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k= 94 | 95 | escape-html@~1.0.3: 96 | version "1.0.3" 97 | resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" 98 | integrity sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg= 99 | 100 | etag@~1.8.1: 101 | version "1.8.1" 102 | resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" 103 | integrity sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc= 104 | 105 | express@~4.17.1: 106 | version "4.17.1" 107 | resolved "https://registry.yarnpkg.com/express/-/express-4.17.1.tgz#4491fc38605cf51f8629d39c2b5d026f98a4c134" 108 | integrity sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g== 109 | dependencies: 110 | accepts "~1.3.7" 111 | array-flatten "1.1.1" 112 | body-parser "1.19.0" 113 | content-disposition "0.5.3" 114 | content-type "~1.0.4" 115 | cookie "0.4.0" 116 | cookie-signature "1.0.6" 117 | debug "2.6.9" 118 | depd "~1.1.2" 119 | encodeurl "~1.0.2" 120 | escape-html "~1.0.3" 121 | etag "~1.8.1" 122 | finalhandler "~1.1.2" 123 | fresh "0.5.2" 124 | merge-descriptors "1.0.1" 125 | methods "~1.1.2" 126 | on-finished "~2.3.0" 127 | parseurl "~1.3.3" 128 | path-to-regexp "0.1.7" 129 | proxy-addr "~2.0.5" 130 | qs "6.7.0" 131 | range-parser "~1.2.1" 132 | safe-buffer "5.1.2" 133 | send "0.17.1" 134 | serve-static "1.14.1" 135 | setprototypeof "1.1.1" 136 | statuses "~1.5.0" 137 | type-is "~1.6.18" 138 | utils-merge "1.0.1" 139 | vary "~1.1.2" 140 | 141 | finalhandler@~1.1.2: 142 | version "1.1.2" 143 | resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.1.2.tgz#b7e7d000ffd11938d0fdb053506f6ebabe9f587d" 144 | integrity sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA== 145 | dependencies: 146 | debug "2.6.9" 147 | encodeurl "~1.0.2" 148 | escape-html "~1.0.3" 149 | on-finished "~2.3.0" 150 | parseurl "~1.3.3" 151 | statuses "~1.5.0" 152 | unpipe "~1.0.0" 153 | 154 | forwarded@~0.1.2: 155 | version "0.1.2" 156 | resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.1.2.tgz#98c23dab1175657b8c0573e8ceccd91b0ff18c84" 157 | integrity sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ= 158 | 159 | fresh@0.5.2: 160 | version "0.5.2" 161 | resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" 162 | integrity sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac= 163 | 164 | http-errors@1.7.2: 165 | version "1.7.2" 166 | resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.7.2.tgz#4f5029cf13239f31036e5b2e55292bcfbcc85c8f" 167 | integrity sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg== 168 | dependencies: 169 | depd "~1.1.2" 170 | inherits "2.0.3" 171 | setprototypeof "1.1.1" 172 | statuses ">= 1.5.0 < 2" 173 | toidentifier "1.0.0" 174 | 175 | http-errors@~1.7.2: 176 | version "1.7.3" 177 | resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.7.3.tgz#6c619e4f9c60308c38519498c14fbb10aacebb06" 178 | integrity sha512-ZTTX0MWrsQ2ZAhA1cejAwDLycFsd7I7nVtnkT3Ol0aqodaKW+0CTZDQ1uBv5whptCnc8e8HeRRJxRs0kmm/Qfw== 179 | dependencies: 180 | depd "~1.1.2" 181 | inherits "2.0.4" 182 | setprototypeof "1.1.1" 183 | statuses ">= 1.5.0 < 2" 184 | toidentifier "1.0.0" 185 | 186 | iconv-lite@0.4.24: 187 | version "0.4.24" 188 | resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" 189 | integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== 190 | dependencies: 191 | safer-buffer ">= 2.1.2 < 3" 192 | 193 | inherits@2.0.3: 194 | version "2.0.3" 195 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" 196 | integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= 197 | 198 | inherits@2.0.4: 199 | version "2.0.4" 200 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" 201 | integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== 202 | 203 | ipaddr.js@1.9.0: 204 | version "1.9.0" 205 | resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.0.tgz#37df74e430a0e47550fe54a2defe30d8acd95f65" 206 | integrity sha512-M4Sjn6N/+O6/IXSJseKqHoFc+5FdGJ22sXqnjTpdZweHK64MzEPAyQZyEU3R/KRv2GLoa7nNtg/C2Ev6m7z+eA== 207 | 208 | media-typer@0.3.0: 209 | version "0.3.0" 210 | resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" 211 | integrity sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g= 212 | 213 | merge-descriptors@1.0.1: 214 | version "1.0.1" 215 | resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" 216 | integrity sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E= 217 | 218 | methods@~1.1.2: 219 | version "1.1.2" 220 | resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" 221 | integrity sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4= 222 | 223 | mime-db@1.40.0: 224 | version "1.40.0" 225 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.40.0.tgz#a65057e998db090f732a68f6c276d387d4126c32" 226 | integrity sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA== 227 | 228 | mime-types@~2.1.24: 229 | version "2.1.24" 230 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.24.tgz#b6f8d0b3e951efb77dedeca194cff6d16f676f81" 231 | integrity sha512-WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ== 232 | dependencies: 233 | mime-db "1.40.0" 234 | 235 | mime@1.6.0: 236 | version "1.6.0" 237 | resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" 238 | integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== 239 | 240 | morgan@~1.9.1: 241 | version "1.9.1" 242 | resolved "https://registry.yarnpkg.com/morgan/-/morgan-1.9.1.tgz#0a8d16734a1d9afbc824b99df87e738e58e2da59" 243 | integrity sha512-HQStPIV4y3afTiCYVxirakhlCfGkI161c76kKFca7Fk1JusM//Qeo1ej2XaMniiNeaZklMVrh3vTtIzpzwbpmA== 244 | dependencies: 245 | basic-auth "~2.0.0" 246 | debug "2.6.9" 247 | depd "~1.1.2" 248 | on-finished "~2.3.0" 249 | on-headers "~1.0.1" 250 | 251 | ms@2.0.0: 252 | version "2.0.0" 253 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" 254 | integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g= 255 | 256 | ms@2.1.1: 257 | version "2.1.1" 258 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.1.tgz#30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a" 259 | integrity sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg== 260 | 261 | negotiator@0.6.2: 262 | version "0.6.2" 263 | resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb" 264 | integrity sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw== 265 | 266 | on-finished@~2.3.0: 267 | version "2.3.0" 268 | resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947" 269 | integrity sha1-IPEzZIGwg811M3mSoWlxqi2QaUc= 270 | dependencies: 271 | ee-first "1.1.1" 272 | 273 | on-headers@~1.0.1: 274 | version "1.0.2" 275 | resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.2.tgz#772b0ae6aaa525c399e489adfad90c403eb3c28f" 276 | integrity sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA== 277 | 278 | parseurl@~1.3.3: 279 | version "1.3.3" 280 | resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" 281 | integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== 282 | 283 | path-to-regexp@0.1.7: 284 | version "0.1.7" 285 | resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" 286 | integrity sha1-32BBeABfUi8V60SQ5yR6G/qmf4w= 287 | 288 | proxy-addr@~2.0.5: 289 | version "2.0.5" 290 | resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.5.tgz#34cbd64a2d81f4b1fd21e76f9f06c8a45299ee34" 291 | integrity sha512-t/7RxHXPH6cJtP0pRG6smSr9QJidhB+3kXu0KgXnbGYMgzEnUxRQ4/LDdfOwZEMyIh3/xHb8PX3t+lfL9z+YVQ== 292 | dependencies: 293 | forwarded "~0.1.2" 294 | ipaddr.js "1.9.0" 295 | 296 | qs@6.7.0: 297 | version "6.7.0" 298 | resolved "https://registry.yarnpkg.com/qs/-/qs-6.7.0.tgz#41dc1a015e3d581f1621776be31afb2876a9b1bc" 299 | integrity sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ== 300 | 301 | range-parser@~1.2.1: 302 | version "1.2.1" 303 | resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" 304 | integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== 305 | 306 | raw-body@2.4.0: 307 | version "2.4.0" 308 | resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.4.0.tgz#a1ce6fb9c9bc356ca52e89256ab59059e13d0332" 309 | integrity sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q== 310 | dependencies: 311 | bytes "3.1.0" 312 | http-errors "1.7.2" 313 | iconv-lite "0.4.24" 314 | unpipe "1.0.0" 315 | 316 | safe-buffer@5.1.2: 317 | version "5.1.2" 318 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" 319 | integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== 320 | 321 | "safer-buffer@>= 2.1.2 < 3": 322 | version "2.1.2" 323 | resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" 324 | integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== 325 | 326 | send@0.17.1: 327 | version "0.17.1" 328 | resolved "https://registry.yarnpkg.com/send/-/send-0.17.1.tgz#c1d8b059f7900f7466dd4938bdc44e11ddb376c8" 329 | integrity sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg== 330 | dependencies: 331 | debug "2.6.9" 332 | depd "~1.1.2" 333 | destroy "~1.0.4" 334 | encodeurl "~1.0.2" 335 | escape-html "~1.0.3" 336 | etag "~1.8.1" 337 | fresh "0.5.2" 338 | http-errors "~1.7.2" 339 | mime "1.6.0" 340 | ms "2.1.1" 341 | on-finished "~2.3.0" 342 | range-parser "~1.2.1" 343 | statuses "~1.5.0" 344 | 345 | serve-static@1.14.1: 346 | version "1.14.1" 347 | resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.14.1.tgz#666e636dc4f010f7ef29970a88a674320898b2f9" 348 | integrity sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg== 349 | dependencies: 350 | encodeurl "~1.0.2" 351 | escape-html "~1.0.3" 352 | parseurl "~1.3.3" 353 | send "0.17.1" 354 | 355 | setprototypeof@1.1.1: 356 | version "1.1.1" 357 | resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.1.tgz#7e95acb24aa92f5885e0abef5ba131330d4ae683" 358 | integrity sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw== 359 | 360 | "statuses@>= 1.5.0 < 2", statuses@~1.5.0: 361 | version "1.5.0" 362 | resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" 363 | integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow= 364 | 365 | toidentifier@1.0.0: 366 | version "1.0.0" 367 | resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.0.tgz#7e1be3470f1e77948bc43d94a3c8f4d7752ba553" 368 | integrity sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw== 369 | 370 | type-is@~1.6.17, type-is@~1.6.18: 371 | version "1.6.18" 372 | resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131" 373 | integrity sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g== 374 | dependencies: 375 | media-typer "0.3.0" 376 | mime-types "~2.1.24" 377 | 378 | unpipe@1.0.0, unpipe@~1.0.0: 379 | version "1.0.0" 380 | resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" 381 | integrity sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw= 382 | 383 | utils-merge@1.0.1: 384 | version "1.0.1" 385 | resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" 386 | integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM= 387 | 388 | vary@~1.1.2: 389 | version "1.1.2" 390 | resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" 391 | integrity sha1-IpnwLG3tMNSllhsLn3RSShj2NPw= 392 | --------------------------------------------------------------------------------