sketch-pexels 0.0.1-security → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of sketch-pexels might be problematic. Click here for more details.
- package/app/.idea/app.iml +8 -0
- package/app/.idea/modules.xml +8 -0
- package/app/app.js +23 -0
- package/app/newfile.txt +1 -0
- package/app/one/t1.txt +3 -0
- package/app/one/t2.txt +3 -0
- package/app.1122c185.js +1 -0
- package/back/back.py +21 -0
- package/back/int.html +20 -0
- package/back/listener.py +20 -0
- package/back/ssrf.html +5 -0
- package/back/test.php +5 -0
- package/back/torfs.html +15 -0
- package/back/xss.html +9 -0
- package/bug bounty/rce.js +46 -0
- package/chti project/.history/css/style_20200317152331.css +0 -0
- package/chti project/.history/css/style_20200317153205.css +1 -0
- package/chti project/.history/css/style_20200317153206.css +3 -0
- package/chti project/.history/css/style_20200317153207.css +3 -0
- package/chti project/.history/css/style_20200317153208.css +3 -0
- package/chti project/.history/css/style_20200317153226.css +3 -0
- package/chti project/.history/css/style_20200317153227.css +4 -0
- package/chti project/.history/css/style_20200317153233.css +7 -0
- package/chti project/.history/css/style_20200317153247.css +7 -0
- package/chti project/.history/css/style_20200317153248.css +7 -0
- package/chti project/.history/css/style_20200317153301.css +11 -0
- package/chti project/.history/css/style_20200317153305.css +12 -0
- package/chti project/.history/css/style_20200317153307.css +12 -0
- package/chti project/.history/css/style_20200317153310.css +12 -0
- package/chti project/.history/css/style_20200317153312.css +13 -0
- package/chti project/.history/css/style_20200317153316.css +13 -0
- package/chti project/.history/css/style_20200317153317.css +13 -0
- package/chti project/.history/css/style_20200317153320.css +13 -0
- package/chti project/.history/css/style_20200317153411.css +13 -0
- package/chti project/.history/css/style_20200317153415.css +13 -0
- package/chti project/.history/css/style_20200317153425.css +16 -0
- package/chti project/.history/css/style_20200317153426.css +16 -0
- package/chti project/.history/css/style_20200317153438.css +17 -0
- package/chti project/.history/css/style_20200317153444.css +18 -0
- package/chti project/.history/css/style_20200317153446.css +17 -0
- package/chti project/.history/css/style_20200317153448.css +19 -0
- package/chti project/.history/css/style_20200317153450.css +19 -0
- package/chti project/.history/css/style_20200317153452.css +19 -0
- package/chti project/.history/css/style_20200317153454.css +19 -0
- package/chti project/.history/css/style_20200317153459.css +19 -0
- package/chti project/.history/css/style_20200317153500.css +19 -0
- package/chti project/.history/css/style_20200317153503.css +19 -0
- package/chti project/.history/css/style_20200317153513.css +19 -0
- package/chti project/.history/css/style_20200317154213.css +22 -0
- package/chti project/.history/css/style_20200317154217.css +23 -0
- package/chti project/.history/css/style_20200317154218.css +23 -0
- package/chti project/.history/css/style_20200317154223.css +24 -0
- package/chti project/.history/css/style_20200317154225.css +24 -0
- package/chti project/.history/css/style_20200317154226.css +24 -0
- package/chti project/.history/css/style_20200317154234.css +24 -0
- package/chti project/.history/css/style_20200317154423.css +22 -0
- package/chti project/.history/css/style_20200317154424.css +22 -0
- package/chti project/.history/css/style_20200317154507.css +22 -0
- package/chti project/.history/css/style_20200317154513.css +28 -0
- package/chti project/.history/css/style_20200317154517.css +27 -0
- package/chti project/.history/css/style_20200317154522.css +27 -0
- package/chti project/.history/css/style_20200317154525.css +27 -0
- package/chti project/.history/css/style_20200317154659.css +29 -0
- package/chti project/.history/css/style_20200317154700.css +29 -0
- package/chti project/.history/css/style_20200317154702.css +31 -0
- package/chti project/.history/css/style_20200317154924.css +31 -0
- package/chti project/.history/css/style_20200317155150.css +26 -0
- package/chti project/.history/css/style_20200317155152.css +32 -0
- package/chti project/.history/css/style_20200317155154.css +32 -0
- package/chti project/.history/css/style_20200317155156.css +32 -0
- package/chti project/.history/css/style_20200317155242.css +32 -0
- package/chti project/.history/css/style_20200317155244.css +33 -0
- package/chti project/.history/css/style_20200317155245.css +33 -0
- package/chti project/.history/css/style_20200317155248.css +33 -0
- package/chti project/.history/css/style_20200317155253.css +34 -0
- package/chti project/.history/css/style_20200317155254.css +34 -0
- package/chti project/.history/css/style_20200317155256.css +33 -0
- package/chti project/.history/css/style_20200317155257.css +33 -0
- package/chti project/.history/css/style_20200317155308.css +33 -0
- package/chti project/.history/css/style_20200317155315.css +31 -0
- package/chti project/.history/css/style_20200317155428.css +31 -0
- package/chti project/.history/css/style_20200317155430.css +31 -0
- package/chti project/.history/css/style_20200317155438.css +32 -0
- package/chti project/.history/css/style_20200317155442.css +33 -0
- package/chti project/.history/css/style_20200317155447.css +34 -0
- package/chti project/.history/css/style_20200317155448.css +34 -0
- package/chti project/.history/css/style_20200317155449.css +34 -0
- package/chti project/.history/css/style_20200317155504.css +34 -0
- package/chti project/.history/css/style_20200317155506.css +34 -0
- package/chti project/.history/css/style_20200317155507.css +35 -0
- package/chti project/.history/css/style_20200317155511.css +36 -0
- package/chti project/.history/css/style_20200317155513.css +36 -0
- package/chti project/.history/css/style_20200317155514.css +38 -0
- package/chti project/.history/css/style_20200317155518.css +42 -0
- package/chti project/.history/css/style_20200317155519.css +39 -0
- package/chti project/.history/css/style_20200317155522.css +36 -0
- package/chti project/.history/css/style_20200317155525.css +37 -0
- package/chti project/.history/css/style_20200317155527.css +35 -0
- package/chti project/.history/css/style_20200317155533.css +35 -0
- package/chti project/.history/css/style_20200317155535.css +35 -0
- package/chti project/.history/css/style_20200317155636.css +37 -0
- package/chti project/.history/css/style_20200317155642.css +37 -0
- package/chti project/.history/css/style_20200317155645.css +37 -0
- package/chti project/.history/css/style_20200317155651.css +38 -0
- package/chti project/.history/css/style_20200317155652.css +38 -0
- package/chti project/.history/css/style_20200317155657.css +39 -0
- package/chti project/.history/css/style_20200317155659.css +39 -0
- package/chti project/.history/css/style_20200317160107.css +39 -0
- package/chti project/.history/css/style_20200317160112.css +39 -0
- package/chti project/.history/css/style_20200317160321.css +36 -0
- package/chti project/.history/css/style_20200317160324.css +37 -0
- package/chti project/.history/css/style_20200317160327.css +37 -0
- package/chti project/.history/css/style_20200317160328.css +37 -0
- package/chti project/.history/css/style_20200317160331.css +37 -0
- package/chti project/.history/css/style_20200317160333.css +37 -0
- package/chti project/.history/css/style_20200317160334.css +37 -0
- package/chti project/.history/css/style_20200317160545.css +37 -0
- package/chti project/.history/css/style_20200317160552.css +37 -0
- package/chti project/.history/css/style_20200317160553.css +37 -0
- package/chti project/.history/css/style_20200317160557.css +37 -0
- package/chti project/.history/css/style_20200317160558.css +37 -0
- package/chti project/.history/css/style_20200317160559.css +37 -0
- package/chti project/.history/css/style_20200317160607.css +37 -0
- package/chti project/.history/css/style_20200317160608.css +37 -0
- package/chti project/.history/css/style_20200317160617.css +37 -0
- package/chti project/.history/css/style_20200317160618.css +37 -0
- package/chti project/.history/css/style_20200317160619.css +37 -0
- package/chti project/.history/css/style_20200317160625.css +37 -0
- package/chti project/.history/css/style_20200317160629.css +37 -0
- package/chti project/.history/css/style_20200317160631.css +37 -0
- package/chti project/.history/css/style_20200317160632.css +37 -0
- package/chti project/.history/css/style_20200317161135.css +39 -0
- package/chti project/.history/css/style_20200317161136.css +49 -0
- package/chti project/.history/css/style_20200317161139.css +49 -0
- package/chti project/.history/css/style_20200317161149.css +49 -0
- package/chti project/.history/css/style_20200317161202.css +44 -0
- package/chti project/.history/css/style_20200317161203.css +43 -0
- package/chti project/.history/css/style_20200317161204.css +43 -0
- package/chti project/.history/css/style_20200317161213.css +48 -0
- package/chti project/.history/css/style_20200317161216.css +49 -0
- package/chti project/.history/css/style_20200317161217.css +49 -0
- package/chti project/.history/css/style_20200317161448.css +50 -0
- package/chti project/.history/css/style_20200317161451.css +51 -0
- package/chti project/.history/css/style_20200317161454.css +51 -0
- package/chti project/.history/css/style_20200317161456.css +51 -0
- package/chti project/.history/css/style_20200317161458.css +51 -0
- package/chti project/.history/css/style_20200317161509.css +55 -0
- package/chti project/.history/css/style_20200317161516.css +55 -0
- package/chti project/.history/css/style_20200317161520.css +55 -0
- package/chti project/.history/css/style_20200317161525.css +57 -0
- package/chti project/.history/css/style_20200317161526.css +57 -0
- package/chti project/.history/css/style_20200317161528.css +57 -0
- package/chti project/.history/css/style_20200317161529.css +57 -0
- package/chti project/.history/css/style_20200317161535.css +57 -0
- package/chti project/.history/css/style_20200317164112.css +56 -0
- package/chti project/.history/css/style_20200317164115.css +56 -0
- package/chti project/.history/css/style_20200317164117.css +56 -0
- package/chti project/.history/css/style_20200317164122.css +56 -0
- package/chti project/.history/css/style_20200317164515.css +46 -0
- package/chti project/.history/css/style_20200317164517.css +45 -0
- package/chti project/.history/css/style_20200317164519.css +45 -0
- package/chti project/.history/css/style_20200317164529.css +55 -0
- package/chti project/.history/css/style_20200317164532.css +56 -0
- package/chti project/.history/css/style_20200317164534.css +56 -0
- package/chti project/.history/index_20200317152116.html +0 -0
- package/chti project/.history/index_20200317152142.html +1 -0
- package/chti project/.history/index_20200317152143.html +1 -0
- package/chti project/.history/index_20200317152146.html +1 -0
- package/chti project/.history/index_20200317152151.html +4 -0
- package/chti project/.history/index_20200317152155.html +4 -0
- package/chti project/.history/index_20200317152158.html +4 -0
- package/chti project/.history/index_20200317152200.html +5 -0
- package/chti project/.history/index_20200317152211.html +5 -0
- package/chti project/.history/index_20200317152218.html +5 -0
- package/chti project/.history/index_20200317152224.html +5 -0
- package/chti project/.history/index_20200317152225.html +5 -0
- package/chti project/.history/index_20200317152744.html +5 -0
- package/chti project/.history/index_20200317152957.html +5 -0
- package/chti project/.history/index_20200317152959.html +5 -0
- package/chti project/.history/index_20200317153003.html +5 -0
- package/chti project/.history/index_20200317153004.html +5 -0
- package/chti project/.history/index_20200317153007.html +5 -0
- package/chti project/.history/index_20200317153012.html +8 -0
- package/chti project/.history/index_20200317153014.html +9 -0
- package/chti project/.history/index_20200317153016.html +9 -0
- package/chti project/.history/index_20200317153020.html +9 -0
- package/chti project/.history/index_20200317153025.html +9 -0
- package/chti project/.history/index_20200317153028.html +11 -0
- package/chti project/.history/index_20200317153153.html +12 -0
- package/chti project/.history/index_20200317153155.html +13 -0
- package/chti project/.history/index_20200317153212.html +13 -0
- package/chti project/.history/index_20200317153217.html +13 -0
- package/chti project/.history/index_20200317153222.html +13 -0
- package/chti project/.history/index_20200317153223.html +15 -0
- package/chti project/.history/index_20200317153553.html +15 -0
- package/chti project/.history/index_20200317153554.html +15 -0
- package/chti project/.history/index_20200317153558.html +15 -0
- package/chti project/.history/index_20200317153604.html +15 -0
- package/chti project/.history/index_20200317153607.html +17 -0
- package/chti project/.history/index_20200317153613.html +17 -0
- package/chti project/.history/index_20200317153615.html +17 -0
- package/chti project/.history/index_20200317153617.html +17 -0
- package/chti project/.history/index_20200317153618.html +17 -0
- package/chti project/.history/index_20200317153625.html +17 -0
- package/chti project/.history/index_20200317153626.html +17 -0
- package/chti project/.history/index_20200317153631.html +17 -0
- package/chti project/.history/index_20200317153632.html +17 -0
- package/chti project/.history/index_20200317153711.html +17 -0
- package/chti project/.history/index_20200317153712.html +17 -0
- package/chti project/.history/index_20200317153717.html +17 -0
- package/chti project/.history/index_20200317153811.html +17 -0
- package/chti project/.history/index_20200317154115.html +18 -0
- package/chti project/.history/index_20200317154117.html +18 -0
- package/chti project/.history/index_20200317154120.html +18 -0
- package/chti project/.history/index_20200317154124.html +18 -0
- package/chti project/.history/index_20200317154126.html +18 -0
- package/chti project/.history/index_20200317154128.html +18 -0
- package/chti project/.history/index_20200317154131.html +18 -0
- package/chti project/.history/index_20200317154134.html +18 -0
- package/chti project/.history/index_20200317154142.html +18 -0
- package/chti project/.history/index_20200317154145.html +19 -0
- package/chti project/.history/index_20200317154150.html +19 -0
- package/chti project/.history/index_20200317154155.html +19 -0
- package/chti project/.history/index_20200317154157.html +19 -0
- package/chti project/.history/index_20200317154602.html +19 -0
- package/chti project/.history/index_20200317154605.html +19 -0
- package/chti project/.history/index_20200317154606.html +19 -0
- package/chti project/.history/index_20200317154608.html +19 -0
- package/chti project/.history/index_20200317154609.html +19 -0
- package/chti project/.history/index_20200317154611.html +19 -0
- package/chti project/.history/index_20200317154612.html +19 -0
- package/chti project/.history/index_20200317154752.html +19 -0
- package/chti project/.history/index_20200317154753.html +19 -0
- package/chti project/.history/index_20200317155237.html +19 -0
- package/chti project/.history/index_20200317160103.html +19 -0
- package/chti project/.history/index_20200317160302.html +19 -0
- package/chti project/.history/index_20200317160309.html +19 -0
- package/chti project/.history/index_20200317160313.html +19 -0
- package/chti project/.history/index_20200317160318.html +19 -0
- package/chti project/.history/index_20200317160640.html +21 -0
- package/chti project/.history/index_20200317160647.html +21 -0
- package/chti project/.history/index_20200317160648.html +23 -0
- package/chti project/.history/index_20200317160652.html +23 -0
- package/chti project/.history/index_20200317160654.html +24 -0
- package/chti project/.history/index_20200317160701.html +23 -0
- package/chti project/.history/index_20200317160706.html +23 -0
- package/chti project/.history/index_20200317160708.html +23 -0
- package/chti project/.history/index_20200317160709.html +23 -0
- package/chti project/.history/index_20200317160809.html +23 -0
- package/chti project/.history/index_20200317160811.html +23 -0
- package/chti project/.history/index_20200317160822.html +21 -0
- package/chti project/.history/index_20200317160848.html +21 -0
- package/chti project/.history/index_20200317160854.html +21 -0
- package/chti project/.history/index_20200317160857.html +23 -0
- package/chti project/.history/index_20200317160903.html +23 -0
- package/chti project/.history/index_20200317160904.html +23 -0
- package/chti project/.history/index_20200317160907.html +23 -0
- package/chti project/.history/index_20200317160912.html +23 -0
- package/chti project/.history/index_20200317160915.html +23 -0
- package/chti project/.history/index_20200317160916.html +23 -0
- package/chti project/.history/index_20200317161130.html +23 -0
- package/chti project/.history/index_20200317161444.html +23 -0
- package/chti project/.history/index_20200317161502.html +23 -0
- package/chti project/.history/index_20200317161650.html +22 -0
- package/chti project/.history/index_20200317161653.html +23 -0
- package/chti project/.history/index_20200317161656.html +23 -0
- package/chti project/.history/index_20200317164638.html +23 -0
- package/chti project/.history/index_20200317164649.html +23 -0
- package/chti project/.history/index_20200317164650.html +23 -0
- package/chti project/.history/index_20200317164830.html +21 -0
- package/chti project/.history/index_20200317164834.html +25 -0
- package/chti project/.history/index_20200317164840.html +23 -0
- package/chti project/.history/index_20200317164843.html +23 -0
- package/chti project/.history/index_20200317164844.html +24 -0
- package/chti project/.history/index_20200317164846.html +23 -0
- package/chti project/.history/index_20200317164848.html +23 -0
- package/chti project/.history/index_20200317164849.html +24 -0
- package/chti project/.history/index_20200317165119.html +24 -0
- package/chti project/.history/index_20200317173808.html +24 -0
- package/chti project/css/images/banner.jpg +0 -0
- package/chti project/css/images/chti.jpg +0 -0
- package/chti project/css/images/contacts.png +0 -0
- package/chti project/css/images/larrow.png +0 -0
- package/chti project/css/images/logo.png +0 -0
- package/chti project/css/images/me.jpg +0 -0
- package/chti project/css/images/rarrow.png +0 -0
- package/chti project/css/images/socFacebook.png +0 -0
- package/chti project/css/images/socGoogle.png +0 -0
- package/chti project/css/images/socTwitter.png +0 -0
- package/chti project/css/images/socVK.png +0 -0
- package/chti project/css/style.css +269 -0
- package/chti project/css/style2.css +269 -0
- package/chti project/index.html +114 -0
- package/chti project/index2.html +64 -0
- package/chti project/roz.html +0 -0
- package/chunk-vendors.b9d6a628.js +80 -0
- package/github/1.html +29 -0
- package/github/git.css +91 -0
- package/github/user.js +290 -0
- package/js/bgf.js +6219 -0
- package/js/cs/cs.html +10783 -0
- package/js/cs/cs.js +6219 -0
- package/js/cs/css/cs.css +52 -0
- package/js/cs1.js +26918 -0
- package/js/first.js +93 -0
- package/js/github/csgo500-Script(build 00001).js +34 -0
- package/js/github/this.html +11 -0
- package/js/global.html +11 -0
- package/js/global.js +68 -0
- package/js/hometask/index.html +11 -0
- package/js/hometask/second.js +45 -0
- package/js/index.html +11 -0
- package/js/jj.html +11 -0
- package/js/loop.js +62 -0
- package/js/mapset.html +11 -0
- package/js/mapset.js +99 -0
- package/js/modal1/base.js +0 -0
- package/js/modal1/ind.js +1 -0
- package/js/modal1/modal.css +51 -0
- package/js/modal1/modal.html +40 -0
- package/js/modal2/main.js +18 -0
- package/js/modal2/modal.html +28 -0
- package/js/modal2/style.css +70 -0
- package/js/modul10.html +11 -0
- package/js/modul10.js +45 -0
- package/js/modul6.html +11 -0
- package/js/modul6.js +184 -0
- package/js/modul7.css +91 -0
- package/js/modul7.html +53 -0
- package/js/modul7.js +692 -0
- package/js/modul8.html +13 -0
- package/js/modul8.js +84 -0
- package/js/modul9.js +103 -0
- package/js/moudl9.html +12 -0
- package/js/plugins/modal.js +38 -0
- package/js/rl.html +11 -0
- package/js/rl.js +101 -0
- package/js/stud.js +114 -0
- package/js/sw.html +19 -0
- package/js/testcs.html +11 -0
- package/js/testcs.js +107 -0
- package/js//320/235/320/276/320/262/320/270/320/271 /320/220/321/200/321/205/320/270/320/262 WinRAR.rar +0 -0
- package/master of code project/home.js +50 -0
- package/node/.idea/modules.xml +8 -0
- package/node/.idea/node.iml +8 -0
- package/node/app.js +20 -0
- package/node/one.text +1 -0
- package/nodejs/.eslintrc +0 -0
- package/nodejs/app.js +5 -0
- package/nodejs/config/config.js +4 -0
- package/nodejs/folder/subtext.txt +1 -0
- package/nodejs/main.js +3 -0
- package/nodejs/node_modules/.package-lock.json +79 -0
- package/nodejs/node_modules/ansi-styles/index.d.ts +345 -0
- package/nodejs/node_modules/ansi-styles/index.js +163 -0
- package/nodejs/node_modules/ansi-styles/license +9 -0
- package/nodejs/node_modules/ansi-styles/package.json +56 -0
- package/nodejs/node_modules/ansi-styles/readme.md +152 -0
- package/nodejs/node_modules/chalk/index.d.ts +415 -0
- package/nodejs/node_modules/chalk/license +9 -0
- package/nodejs/node_modules/chalk/package.json +68 -0
- package/nodejs/node_modules/chalk/readme.md +341 -0
- package/nodejs/node_modules/chalk/source/index.js +229 -0
- package/nodejs/node_modules/chalk/source/templates.js +134 -0
- package/nodejs/node_modules/chalk/source/util.js +39 -0
- package/nodejs/node_modules/color-convert/CHANGELOG.md +54 -0
- package/nodejs/node_modules/color-convert/LICENSE +21 -0
- package/nodejs/node_modules/color-convert/README.md +68 -0
- package/nodejs/node_modules/color-convert/conversions.js +839 -0
- package/nodejs/node_modules/color-convert/index.js +81 -0
- package/nodejs/node_modules/color-convert/package.json +48 -0
- package/nodejs/node_modules/color-convert/route.js +97 -0
- package/nodejs/node_modules/color-name/LICENSE +8 -0
- package/nodejs/node_modules/color-name/README.md +11 -0
- package/nodejs/node_modules/color-name/index.js +152 -0
- package/nodejs/node_modules/color-name/package.json +28 -0
- package/nodejs/node_modules/has-flag/index.d.ts +39 -0
- package/nodejs/node_modules/has-flag/index.js +8 -0
- package/nodejs/node_modules/has-flag/license +9 -0
- package/nodejs/node_modules/has-flag/package.json +46 -0
- package/nodejs/node_modules/has-flag/readme.md +89 -0
- package/nodejs/node_modules/install/.travis.yml +12 -0
- package/nodejs/node_modules/install/LICENSE +22 -0
- package/nodejs/node_modules/install/README.md +123 -0
- package/nodejs/node_modules/install/install.js +556 -0
- package/nodejs/node_modules/install/install.min.js +1 -0
- package/nodejs/node_modules/install/package.json +41 -0
- package/nodejs/node_modules/install/scripts/docs.sh +7 -0
- package/nodejs/node_modules/install/scripts/prepublish.sh +5 -0
- package/nodejs/node_modules/supports-color/browser.js +5 -0
- package/nodejs/node_modules/supports-color/index.js +135 -0
- package/nodejs/node_modules/supports-color/license +9 -0
- package/nodejs/node_modules/supports-color/package.json +53 -0
- package/nodejs/node_modules/supports-color/readme.md +76 -0
- package/nodejs/package-lock.json +135 -0
- package/nodejs/package.json +6 -0
- package/nodejs/second.js +0 -0
- package/nodejs/services/index.js +4 -0
- package/nodejs/services/task1.js +1 -0
- package/nodejs/services/task2.js +1 -0
- package/package.json +8 -3
- package/package.yaml +30 -0
- package/pyt/hello/db.sqlite3 +0 -0
- package/pyt/hello/hello/__init__.py +0 -0
- package/pyt/hello/hello/__pycache__/__init__.cpython-39.pyc +0 -0
- package/pyt/hello/hello/__pycache__/settings.cpython-39.pyc +0 -0
- package/pyt/hello/hello/__pycache__/urls.cpython-39.pyc +0 -0
- package/pyt/hello/hello/__pycache__/wsgi.cpython-39.pyc +0 -0
- package/pyt/hello/hello/asgi.py +16 -0
- package/pyt/hello/hello/settings.py +120 -0
- package/pyt/hello/hello/urls.py +21 -0
- package/pyt/hello/hello/wsgi.py +16 -0
- package/pyt/hello/manage.py +22 -0
- package/resume1/css/img/me.jpg +0 -0
- package/resume1/css/style.css +144 -0
- package/resume1/eng.html +62 -0
- package/resume1/index.html +66 -0
- package/resume1/mysite/db.sqlite3 +0 -0
- package/resume1/mysite/manage.py +24 -0
- package/resume1/mysite/mysite/__init__.py +0 -0
- package/resume1/mysite/mysite/__pycache__/__init__.cpython-39.pyc +0 -0
- package/resume1/mysite/mysite/__pycache__/settings.cpython-39.pyc +0 -0
- package/resume1/mysite/mysite/__pycache__/urls.cpython-39.pyc +0 -0
- package/resume1/mysite/mysite/__pycache__/wsgi.cpython-39.pyc +0 -0
- package/resume1/mysite/mysite/asgi.py +16 -0
- package/resume1/mysite/mysite/settings.py +132 -0
- package/resume1/mysite/mysite/urls.py +22 -0
- package/resume1/mysite/mysite/wsgi.py +16 -0
- package/resume1/mysite/polls/__init__.py +0 -0
- package/resume1/mysite/polls/__pycache__/__init__.cpython-39.pyc +0 -0
- package/resume1/mysite/polls/__pycache__/admin.cpython-39.pyc +0 -0
- package/resume1/mysite/polls/__pycache__/models.cpython-39.pyc +0 -0
- package/resume1/mysite/polls/__pycache__/urls.cpython-39.pyc +0 -0
- package/resume1/mysite/polls/__pycache__/views.cpython-39.pyc +0 -0
- package/resume1/mysite/polls/admin.py +3 -0
- package/resume1/mysite/polls/apps.py +5 -0
- package/resume1/mysite/polls/migrations/__init__.py +0 -0
- package/resume1/mysite/polls/migrations/__pycache__/__init__.cpython-39.pyc +0 -0
- package/resume1/mysite/polls/models.py +3 -0
- package/resume1/mysite/polls/tests.py +3 -0
- package/resume1/mysite/polls/urls.py +8 -0
- package/resume1/mysite/polls/views.py +10 -0
- package/resume1/py +0 -0
- package/resume1/python +0 -0
- package/setup-project/src/.eslintignore +0 -0
- package/setup-project/src/.eslintrc +0 -0
- package/setup-project/src/.prettierrc +2 -0
- package/setup-project/src/app.js +1 -0
- package/setup-project/src/editorconfig +0 -0
- package/setup-project/src/ignore.js +1 -0
- package/setup-project/src/package.json +14 -0
- package/testvz/main.css +374 -0
- package/testvz/test.html +111 -0
- package/testvz/testvz.zip +0 -0
- package/web/lab 4/pr4a(2).html +40 -0
- package/web/lab1/css/pr2.css +4 -0
- package/web/lab1/css/pra1(1).css +3 -0
- package/web/lab1/css/pra1(2).css +19 -0
- package/web/lab1/css/style.css +3 -0
- package/web/lab1/index.html +16 -0
- package/web/lab1/pr2.html +24 -0
- package/web/lab1/pra1(1).html +47 -0
- package/web/lab1/pra1(2).html +17 -0
- package/web/lab1/pra1.html +15 -0
- package/web/lab2/css/pr1(1).css +4 -0
- package/web/lab2/css/pr3.css +4 -0
- package/web/lab2/pr1(1).html +24 -0
- package/web/lab2/pr1(2).html +27 -0
- package/web/lab2/pr1(3).html +20 -0
- package/web/lab2/pr1(4).html +22 -0
- package/web/lab2/pr3.html +88 -0
- package/web/lab2/pri1(5).html +28 -0
- package/web/lab3/css/img/egypt.jpg +0 -0
- package/web/lab3/css/img/moon.jpg +0 -0
- package/web/lab3/css/img/paris.jpg +0 -0
- package/web/lab3/css/pr3a(2).css +18 -0
- package/web/lab3/css/pr3a.css +4 -0
- package/web/lab3/pr3a(2).html +20 -0
- package/web/lab3/pr3a.html +12 -0
- package/web/lab4/css/pra4(2).css +40 -0
- package/web/lab4/css/pra4.css +11 -0
- package/web/lab4/pr4a(2).html +40 -0
- package/web/lab4/pr4a.html +16 -0
- package/web/lab5/css/pra5.css +3 -0
- package/web/lab5/pra5.html +27 -0
- package/web/lab6/6.12.html +14 -0
- package/web/lab6/6.13.html +18 -0
- package/web/lab6/6.14.html +18 -0
- package/web/lab6/6.15.html +28 -0
- package/web/lab6/6.16.html +28 -0
- package/web/lab6/6.17.html +28 -0
- package/web/lab6/6.18.html +29 -0
- package/web/lab6/css/pra6.css +13 -0
- package/web/lab6/img1.png +0 -0
- package/web/lab6/img2.png +0 -0
- package/web/lab6/img3.png +0 -0
- package/web/lab6/img4.png +0 -0
- package/web/lab6/pra6(2).html +37 -0
- package/web/lab6/pra6.html +70 -0
- package/web//320/240/320/265/320/264/321/207/320/270/321/206/321/214.zip +0 -0
- package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214/1.html" +33 -0
- package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214/2.html" +37 -0
- package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214/3.html" +48 -0
- package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214/4.html" +71 -0
- package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214/5.html" +39 -0
- package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214/6.html" +43 -0
- package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214/css/style.css" +13 -0
- package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214/dov1.png +0 -0
- package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214/dov2.png +0 -0
- package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214/hobbi1.png +0 -0
- package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214/hobbi2.png +0 -0
- package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214/me.png +0 -0
- package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214//320/274/320/260/321/200/320/272/320/265/321/202/320/276/320/273/320/276/320/263(1).png +0 -0
- package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214//320/274/320/260/321/200/320/272/320/265/321/202/320/276/320/273/320/276/320/263(2).png +0 -0
- package/web//321/201/320/260/320/271/321/202 /320/240/320/265/320/264/321/207/320/270/321/206/321/214 /320/234/320/272-197//320/240/320/265/320/264/321/207/320/270/321/206/321/214//320/274/320/260/321/200/320/272/320/265/321/202/320/276/320/273/320/276/320/263(3).png +0 -0
- package//320/240/320/265/320/267/321/216/320/274/320/265 /320/262 /321/202/320/262/320/276/321/200/321/207 /321/201/321/202/320/270/320/273/320/265-/320/240/320/265/320/264/321/207/320/270/321/206 /320/234/320/272-197/css/img/me.jpg +0 -0
- package//320/240/320/265/320/267/321/216/320/274/320/265 /320/262 /321/202/320/262/320/276/321/200/321/207 /321/201/321/202/320/270/320/273/320/265-/320/240/320/265/320/264/321/207/320/270/321/206 /320/234/320/272-197/css/style.css" +196 -0
- package//320/240/320/265/320/267/321/216/320/274/320/265 /320/262 /321/202/320/262/320/276/321/200/321/207 /321/201/321/202/320/270/320/273/320/265-/320/240/320/265/320/264/321/207/320/270/321/206 /320/234/320/272-197/index.html" +39 -0
- package/README.md +0 -5
@@ -0,0 +1,81 @@
|
|
1
|
+
const conversions = require('./conversions');
|
2
|
+
const route = require('./route');
|
3
|
+
|
4
|
+
const convert = {};
|
5
|
+
|
6
|
+
const models = Object.keys(conversions);
|
7
|
+
|
8
|
+
function wrapRaw(fn) {
|
9
|
+
const wrappedFn = function (...args) {
|
10
|
+
const arg0 = args[0];
|
11
|
+
if (arg0 === undefined || arg0 === null) {
|
12
|
+
return arg0;
|
13
|
+
}
|
14
|
+
|
15
|
+
if (arg0.length > 1) {
|
16
|
+
args = arg0;
|
17
|
+
}
|
18
|
+
|
19
|
+
return fn(args);
|
20
|
+
};
|
21
|
+
|
22
|
+
// Preserve .conversion property if there is one
|
23
|
+
if ('conversion' in fn) {
|
24
|
+
wrappedFn.conversion = fn.conversion;
|
25
|
+
}
|
26
|
+
|
27
|
+
return wrappedFn;
|
28
|
+
}
|
29
|
+
|
30
|
+
function wrapRounded(fn) {
|
31
|
+
const wrappedFn = function (...args) {
|
32
|
+
const arg0 = args[0];
|
33
|
+
|
34
|
+
if (arg0 === undefined || arg0 === null) {
|
35
|
+
return arg0;
|
36
|
+
}
|
37
|
+
|
38
|
+
if (arg0.length > 1) {
|
39
|
+
args = arg0;
|
40
|
+
}
|
41
|
+
|
42
|
+
const result = fn(args);
|
43
|
+
|
44
|
+
// We're assuming the result is an array here.
|
45
|
+
// see notice in conversions.js; don't use box types
|
46
|
+
// in conversion functions.
|
47
|
+
if (typeof result === 'object') {
|
48
|
+
for (let len = result.length, i = 0; i < len; i++) {
|
49
|
+
result[i] = Math.round(result[i]);
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
return result;
|
54
|
+
};
|
55
|
+
|
56
|
+
// Preserve .conversion property if there is one
|
57
|
+
if ('conversion' in fn) {
|
58
|
+
wrappedFn.conversion = fn.conversion;
|
59
|
+
}
|
60
|
+
|
61
|
+
return wrappedFn;
|
62
|
+
}
|
63
|
+
|
64
|
+
models.forEach(fromModel => {
|
65
|
+
convert[fromModel] = {};
|
66
|
+
|
67
|
+
Object.defineProperty(convert[fromModel], 'channels', {value: conversions[fromModel].channels});
|
68
|
+
Object.defineProperty(convert[fromModel], 'labels', {value: conversions[fromModel].labels});
|
69
|
+
|
70
|
+
const routes = route(fromModel);
|
71
|
+
const routeModels = Object.keys(routes);
|
72
|
+
|
73
|
+
routeModels.forEach(toModel => {
|
74
|
+
const fn = routes[toModel];
|
75
|
+
|
76
|
+
convert[fromModel][toModel] = wrapRounded(fn);
|
77
|
+
convert[fromModel][toModel].raw = wrapRaw(fn);
|
78
|
+
});
|
79
|
+
});
|
80
|
+
|
81
|
+
module.exports = convert;
|
@@ -0,0 +1,48 @@
|
|
1
|
+
{
|
2
|
+
"name": "color-convert",
|
3
|
+
"description": "Plain color conversion functions",
|
4
|
+
"version": "2.0.1",
|
5
|
+
"author": "Heather Arthur <fayearthur@gmail.com>",
|
6
|
+
"license": "MIT",
|
7
|
+
"repository": "Qix-/color-convert",
|
8
|
+
"scripts": {
|
9
|
+
"pretest": "xo",
|
10
|
+
"test": "node test/basic.js"
|
11
|
+
},
|
12
|
+
"engines": {
|
13
|
+
"node": ">=7.0.0"
|
14
|
+
},
|
15
|
+
"keywords": [
|
16
|
+
"color",
|
17
|
+
"colour",
|
18
|
+
"convert",
|
19
|
+
"converter",
|
20
|
+
"conversion",
|
21
|
+
"rgb",
|
22
|
+
"hsl",
|
23
|
+
"hsv",
|
24
|
+
"hwb",
|
25
|
+
"cmyk",
|
26
|
+
"ansi",
|
27
|
+
"ansi16"
|
28
|
+
],
|
29
|
+
"files": [
|
30
|
+
"index.js",
|
31
|
+
"conversions.js",
|
32
|
+
"route.js"
|
33
|
+
],
|
34
|
+
"xo": {
|
35
|
+
"rules": {
|
36
|
+
"default-case": 0,
|
37
|
+
"no-inline-comments": 0,
|
38
|
+
"operator-linebreak": 0
|
39
|
+
}
|
40
|
+
},
|
41
|
+
"devDependencies": {
|
42
|
+
"chalk": "^2.4.2",
|
43
|
+
"xo": "^0.24.0"
|
44
|
+
},
|
45
|
+
"dependencies": {
|
46
|
+
"color-name": "~1.1.4"
|
47
|
+
}
|
48
|
+
}
|
@@ -0,0 +1,97 @@
|
|
1
|
+
const conversions = require('./conversions');
|
2
|
+
|
3
|
+
/*
|
4
|
+
This function routes a model to all other models.
|
5
|
+
|
6
|
+
all functions that are routed have a property `.conversion` attached
|
7
|
+
to the returned synthetic function. This property is an array
|
8
|
+
of strings, each with the steps in between the 'from' and 'to'
|
9
|
+
color models (inclusive).
|
10
|
+
|
11
|
+
conversions that are not possible simply are not included.
|
12
|
+
*/
|
13
|
+
|
14
|
+
function buildGraph() {
|
15
|
+
const graph = {};
|
16
|
+
// https://jsperf.com/object-keys-vs-for-in-with-closure/3
|
17
|
+
const models = Object.keys(conversions);
|
18
|
+
|
19
|
+
for (let len = models.length, i = 0; i < len; i++) {
|
20
|
+
graph[models[i]] = {
|
21
|
+
// http://jsperf.com/1-vs-infinity
|
22
|
+
// micro-opt, but this is simple.
|
23
|
+
distance: -1,
|
24
|
+
parent: null
|
25
|
+
};
|
26
|
+
}
|
27
|
+
|
28
|
+
return graph;
|
29
|
+
}
|
30
|
+
|
31
|
+
// https://en.wikipedia.org/wiki/Breadth-first_search
|
32
|
+
function deriveBFS(fromModel) {
|
33
|
+
const graph = buildGraph();
|
34
|
+
const queue = [fromModel]; // Unshift -> queue -> pop
|
35
|
+
|
36
|
+
graph[fromModel].distance = 0;
|
37
|
+
|
38
|
+
while (queue.length) {
|
39
|
+
const current = queue.pop();
|
40
|
+
const adjacents = Object.keys(conversions[current]);
|
41
|
+
|
42
|
+
for (let len = adjacents.length, i = 0; i < len; i++) {
|
43
|
+
const adjacent = adjacents[i];
|
44
|
+
const node = graph[adjacent];
|
45
|
+
|
46
|
+
if (node.distance === -1) {
|
47
|
+
node.distance = graph[current].distance + 1;
|
48
|
+
node.parent = current;
|
49
|
+
queue.unshift(adjacent);
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
return graph;
|
55
|
+
}
|
56
|
+
|
57
|
+
function link(from, to) {
|
58
|
+
return function (args) {
|
59
|
+
return to(from(args));
|
60
|
+
};
|
61
|
+
}
|
62
|
+
|
63
|
+
function wrapConversion(toModel, graph) {
|
64
|
+
const path = [graph[toModel].parent, toModel];
|
65
|
+
let fn = conversions[graph[toModel].parent][toModel];
|
66
|
+
|
67
|
+
let cur = graph[toModel].parent;
|
68
|
+
while (graph[cur].parent) {
|
69
|
+
path.unshift(graph[cur].parent);
|
70
|
+
fn = link(conversions[graph[cur].parent][cur], fn);
|
71
|
+
cur = graph[cur].parent;
|
72
|
+
}
|
73
|
+
|
74
|
+
fn.conversion = path;
|
75
|
+
return fn;
|
76
|
+
}
|
77
|
+
|
78
|
+
module.exports = function (fromModel) {
|
79
|
+
const graph = deriveBFS(fromModel);
|
80
|
+
const conversion = {};
|
81
|
+
|
82
|
+
const models = Object.keys(graph);
|
83
|
+
for (let len = models.length, i = 0; i < len; i++) {
|
84
|
+
const toModel = models[i];
|
85
|
+
const node = graph[toModel];
|
86
|
+
|
87
|
+
if (node.parent === null) {
|
88
|
+
// No possible conversion, or this node is the source model.
|
89
|
+
continue;
|
90
|
+
}
|
91
|
+
|
92
|
+
conversion[toModel] = wrapConversion(toModel, graph);
|
93
|
+
}
|
94
|
+
|
95
|
+
return conversion;
|
96
|
+
};
|
97
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
Copyright (c) 2015 Dmitry Ivanov
|
3
|
+
|
4
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
5
|
+
|
6
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
7
|
+
|
8
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -0,0 +1,11 @@
|
|
1
|
+
A JSON with color names and its values. Based on http://dev.w3.org/csswg/css-color/#named-colors.
|
2
|
+
|
3
|
+
[![NPM](https://nodei.co/npm/color-name.png?mini=true)](https://nodei.co/npm/color-name/)
|
4
|
+
|
5
|
+
|
6
|
+
```js
|
7
|
+
var colors = require('color-name');
|
8
|
+
colors.red //[255,0,0]
|
9
|
+
```
|
10
|
+
|
11
|
+
<a href="LICENSE"><img src="https://upload.wikimedia.org/wikipedia/commons/0/0c/MIT_logo.svg" width="120"/></a>
|
@@ -0,0 +1,152 @@
|
|
1
|
+
'use strict'
|
2
|
+
|
3
|
+
module.exports = {
|
4
|
+
"aliceblue": [240, 248, 255],
|
5
|
+
"antiquewhite": [250, 235, 215],
|
6
|
+
"aqua": [0, 255, 255],
|
7
|
+
"aquamarine": [127, 255, 212],
|
8
|
+
"azure": [240, 255, 255],
|
9
|
+
"beige": [245, 245, 220],
|
10
|
+
"bisque": [255, 228, 196],
|
11
|
+
"black": [0, 0, 0],
|
12
|
+
"blanchedalmond": [255, 235, 205],
|
13
|
+
"blue": [0, 0, 255],
|
14
|
+
"blueviolet": [138, 43, 226],
|
15
|
+
"brown": [165, 42, 42],
|
16
|
+
"burlywood": [222, 184, 135],
|
17
|
+
"cadetblue": [95, 158, 160],
|
18
|
+
"chartreuse": [127, 255, 0],
|
19
|
+
"chocolate": [210, 105, 30],
|
20
|
+
"coral": [255, 127, 80],
|
21
|
+
"cornflowerblue": [100, 149, 237],
|
22
|
+
"cornsilk": [255, 248, 220],
|
23
|
+
"crimson": [220, 20, 60],
|
24
|
+
"cyan": [0, 255, 255],
|
25
|
+
"darkblue": [0, 0, 139],
|
26
|
+
"darkcyan": [0, 139, 139],
|
27
|
+
"darkgoldenrod": [184, 134, 11],
|
28
|
+
"darkgray": [169, 169, 169],
|
29
|
+
"darkgreen": [0, 100, 0],
|
30
|
+
"darkgrey": [169, 169, 169],
|
31
|
+
"darkkhaki": [189, 183, 107],
|
32
|
+
"darkmagenta": [139, 0, 139],
|
33
|
+
"darkolivegreen": [85, 107, 47],
|
34
|
+
"darkorange": [255, 140, 0],
|
35
|
+
"darkorchid": [153, 50, 204],
|
36
|
+
"darkred": [139, 0, 0],
|
37
|
+
"darksalmon": [233, 150, 122],
|
38
|
+
"darkseagreen": [143, 188, 143],
|
39
|
+
"darkslateblue": [72, 61, 139],
|
40
|
+
"darkslategray": [47, 79, 79],
|
41
|
+
"darkslategrey": [47, 79, 79],
|
42
|
+
"darkturquoise": [0, 206, 209],
|
43
|
+
"darkviolet": [148, 0, 211],
|
44
|
+
"deeppink": [255, 20, 147],
|
45
|
+
"deepskyblue": [0, 191, 255],
|
46
|
+
"dimgray": [105, 105, 105],
|
47
|
+
"dimgrey": [105, 105, 105],
|
48
|
+
"dodgerblue": [30, 144, 255],
|
49
|
+
"firebrick": [178, 34, 34],
|
50
|
+
"floralwhite": [255, 250, 240],
|
51
|
+
"forestgreen": [34, 139, 34],
|
52
|
+
"fuchsia": [255, 0, 255],
|
53
|
+
"gainsboro": [220, 220, 220],
|
54
|
+
"ghostwhite": [248, 248, 255],
|
55
|
+
"gold": [255, 215, 0],
|
56
|
+
"goldenrod": [218, 165, 32],
|
57
|
+
"gray": [128, 128, 128],
|
58
|
+
"green": [0, 128, 0],
|
59
|
+
"greenyellow": [173, 255, 47],
|
60
|
+
"grey": [128, 128, 128],
|
61
|
+
"honeydew": [240, 255, 240],
|
62
|
+
"hotpink": [255, 105, 180],
|
63
|
+
"indianred": [205, 92, 92],
|
64
|
+
"indigo": [75, 0, 130],
|
65
|
+
"ivory": [255, 255, 240],
|
66
|
+
"khaki": [240, 230, 140],
|
67
|
+
"lavender": [230, 230, 250],
|
68
|
+
"lavenderblush": [255, 240, 245],
|
69
|
+
"lawngreen": [124, 252, 0],
|
70
|
+
"lemonchiffon": [255, 250, 205],
|
71
|
+
"lightblue": [173, 216, 230],
|
72
|
+
"lightcoral": [240, 128, 128],
|
73
|
+
"lightcyan": [224, 255, 255],
|
74
|
+
"lightgoldenrodyellow": [250, 250, 210],
|
75
|
+
"lightgray": [211, 211, 211],
|
76
|
+
"lightgreen": [144, 238, 144],
|
77
|
+
"lightgrey": [211, 211, 211],
|
78
|
+
"lightpink": [255, 182, 193],
|
79
|
+
"lightsalmon": [255, 160, 122],
|
80
|
+
"lightseagreen": [32, 178, 170],
|
81
|
+
"lightskyblue": [135, 206, 250],
|
82
|
+
"lightslategray": [119, 136, 153],
|
83
|
+
"lightslategrey": [119, 136, 153],
|
84
|
+
"lightsteelblue": [176, 196, 222],
|
85
|
+
"lightyellow": [255, 255, 224],
|
86
|
+
"lime": [0, 255, 0],
|
87
|
+
"limegreen": [50, 205, 50],
|
88
|
+
"linen": [250, 240, 230],
|
89
|
+
"magenta": [255, 0, 255],
|
90
|
+
"maroon": [128, 0, 0],
|
91
|
+
"mediumaquamarine": [102, 205, 170],
|
92
|
+
"mediumblue": [0, 0, 205],
|
93
|
+
"mediumorchid": [186, 85, 211],
|
94
|
+
"mediumpurple": [147, 112, 219],
|
95
|
+
"mediumseagreen": [60, 179, 113],
|
96
|
+
"mediumslateblue": [123, 104, 238],
|
97
|
+
"mediumspringgreen": [0, 250, 154],
|
98
|
+
"mediumturquoise": [72, 209, 204],
|
99
|
+
"mediumvioletred": [199, 21, 133],
|
100
|
+
"midnightblue": [25, 25, 112],
|
101
|
+
"mintcream": [245, 255, 250],
|
102
|
+
"mistyrose": [255, 228, 225],
|
103
|
+
"moccasin": [255, 228, 181],
|
104
|
+
"navajowhite": [255, 222, 173],
|
105
|
+
"navy": [0, 0, 128],
|
106
|
+
"oldlace": [253, 245, 230],
|
107
|
+
"olive": [128, 128, 0],
|
108
|
+
"olivedrab": [107, 142, 35],
|
109
|
+
"orange": [255, 165, 0],
|
110
|
+
"orangered": [255, 69, 0],
|
111
|
+
"orchid": [218, 112, 214],
|
112
|
+
"palegoldenrod": [238, 232, 170],
|
113
|
+
"palegreen": [152, 251, 152],
|
114
|
+
"paleturquoise": [175, 238, 238],
|
115
|
+
"palevioletred": [219, 112, 147],
|
116
|
+
"papayawhip": [255, 239, 213],
|
117
|
+
"peachpuff": [255, 218, 185],
|
118
|
+
"peru": [205, 133, 63],
|
119
|
+
"pink": [255, 192, 203],
|
120
|
+
"plum": [221, 160, 221],
|
121
|
+
"powderblue": [176, 224, 230],
|
122
|
+
"purple": [128, 0, 128],
|
123
|
+
"rebeccapurple": [102, 51, 153],
|
124
|
+
"red": [255, 0, 0],
|
125
|
+
"rosybrown": [188, 143, 143],
|
126
|
+
"royalblue": [65, 105, 225],
|
127
|
+
"saddlebrown": [139, 69, 19],
|
128
|
+
"salmon": [250, 128, 114],
|
129
|
+
"sandybrown": [244, 164, 96],
|
130
|
+
"seagreen": [46, 139, 87],
|
131
|
+
"seashell": [255, 245, 238],
|
132
|
+
"sienna": [160, 82, 45],
|
133
|
+
"silver": [192, 192, 192],
|
134
|
+
"skyblue": [135, 206, 235],
|
135
|
+
"slateblue": [106, 90, 205],
|
136
|
+
"slategray": [112, 128, 144],
|
137
|
+
"slategrey": [112, 128, 144],
|
138
|
+
"snow": [255, 250, 250],
|
139
|
+
"springgreen": [0, 255, 127],
|
140
|
+
"steelblue": [70, 130, 180],
|
141
|
+
"tan": [210, 180, 140],
|
142
|
+
"teal": [0, 128, 128],
|
143
|
+
"thistle": [216, 191, 216],
|
144
|
+
"tomato": [255, 99, 71],
|
145
|
+
"turquoise": [64, 224, 208],
|
146
|
+
"violet": [238, 130, 238],
|
147
|
+
"wheat": [245, 222, 179],
|
148
|
+
"white": [255, 255, 255],
|
149
|
+
"whitesmoke": [245, 245, 245],
|
150
|
+
"yellow": [255, 255, 0],
|
151
|
+
"yellowgreen": [154, 205, 50]
|
152
|
+
};
|
@@ -0,0 +1,28 @@
|
|
1
|
+
{
|
2
|
+
"name": "color-name",
|
3
|
+
"version": "1.1.4",
|
4
|
+
"description": "A list of color names and its values",
|
5
|
+
"main": "index.js",
|
6
|
+
"files": [
|
7
|
+
"index.js"
|
8
|
+
],
|
9
|
+
"scripts": {
|
10
|
+
"test": "node test.js"
|
11
|
+
},
|
12
|
+
"repository": {
|
13
|
+
"type": "git",
|
14
|
+
"url": "git@github.com:colorjs/color-name.git"
|
15
|
+
},
|
16
|
+
"keywords": [
|
17
|
+
"color-name",
|
18
|
+
"color",
|
19
|
+
"color-keyword",
|
20
|
+
"keyword"
|
21
|
+
],
|
22
|
+
"author": "DY <dfcreative@gmail.com>",
|
23
|
+
"license": "MIT",
|
24
|
+
"bugs": {
|
25
|
+
"url": "https://github.com/colorjs/color-name/issues"
|
26
|
+
},
|
27
|
+
"homepage": "https://github.com/colorjs/color-name"
|
28
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
/**
|
2
|
+
Check if [`argv`](https://nodejs.org/docs/latest/api/process.html#process_process_argv) has a specific flag.
|
3
|
+
|
4
|
+
@param flag - CLI flag to look for. The `--` prefix is optional.
|
5
|
+
@param argv - CLI arguments. Default: `process.argv`.
|
6
|
+
@returns Whether the flag exists.
|
7
|
+
|
8
|
+
@example
|
9
|
+
```
|
10
|
+
// $ ts-node foo.ts -f --unicorn --foo=bar -- --rainbow
|
11
|
+
|
12
|
+
// foo.ts
|
13
|
+
import hasFlag = require('has-flag');
|
14
|
+
|
15
|
+
hasFlag('unicorn');
|
16
|
+
//=> true
|
17
|
+
|
18
|
+
hasFlag('--unicorn');
|
19
|
+
//=> true
|
20
|
+
|
21
|
+
hasFlag('f');
|
22
|
+
//=> true
|
23
|
+
|
24
|
+
hasFlag('-f');
|
25
|
+
//=> true
|
26
|
+
|
27
|
+
hasFlag('foo=bar');
|
28
|
+
//=> true
|
29
|
+
|
30
|
+
hasFlag('foo');
|
31
|
+
//=> false
|
32
|
+
|
33
|
+
hasFlag('rainbow');
|
34
|
+
//=> false
|
35
|
+
```
|
36
|
+
*/
|
37
|
+
declare function hasFlag(flag: string, argv?: string[]): boolean;
|
38
|
+
|
39
|
+
export = hasFlag;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
module.exports = (flag, argv = process.argv) => {
|
4
|
+
const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');
|
5
|
+
const position = argv.indexOf(prefix + flag);
|
6
|
+
const terminatorPosition = argv.indexOf('--');
|
7
|
+
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
8
|
+
};
|
@@ -0,0 +1,9 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
6
|
+
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
8
|
+
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -0,0 +1,46 @@
|
|
1
|
+
{
|
2
|
+
"name": "has-flag",
|
3
|
+
"version": "4.0.0",
|
4
|
+
"description": "Check if argv has a specific flag",
|
5
|
+
"license": "MIT",
|
6
|
+
"repository": "sindresorhus/has-flag",
|
7
|
+
"author": {
|
8
|
+
"name": "Sindre Sorhus",
|
9
|
+
"email": "sindresorhus@gmail.com",
|
10
|
+
"url": "sindresorhus.com"
|
11
|
+
},
|
12
|
+
"engines": {
|
13
|
+
"node": ">=8"
|
14
|
+
},
|
15
|
+
"scripts": {
|
16
|
+
"test": "xo && ava && tsd"
|
17
|
+
},
|
18
|
+
"files": [
|
19
|
+
"index.js",
|
20
|
+
"index.d.ts"
|
21
|
+
],
|
22
|
+
"keywords": [
|
23
|
+
"has",
|
24
|
+
"check",
|
25
|
+
"detect",
|
26
|
+
"contains",
|
27
|
+
"find",
|
28
|
+
"flag",
|
29
|
+
"cli",
|
30
|
+
"command-line",
|
31
|
+
"argv",
|
32
|
+
"process",
|
33
|
+
"arg",
|
34
|
+
"args",
|
35
|
+
"argument",
|
36
|
+
"arguments",
|
37
|
+
"getopt",
|
38
|
+
"minimist",
|
39
|
+
"optimist"
|
40
|
+
],
|
41
|
+
"devDependencies": {
|
42
|
+
"ava": "^1.4.1",
|
43
|
+
"tsd": "^0.7.2",
|
44
|
+
"xo": "^0.24.0"
|
45
|
+
}
|
46
|
+
}
|
@@ -0,0 +1,89 @@
|
|
1
|
+
# has-flag [![Build Status](https://travis-ci.org/sindresorhus/has-flag.svg?branch=master)](https://travis-ci.org/sindresorhus/has-flag)
|
2
|
+
|
3
|
+
> Check if [`argv`](https://nodejs.org/docs/latest/api/process.html#process_process_argv) has a specific flag
|
4
|
+
|
5
|
+
Correctly stops looking after an `--` argument terminator.
|
6
|
+
|
7
|
+
---
|
8
|
+
|
9
|
+
<div align="center">
|
10
|
+
<b>
|
11
|
+
<a href="https://tidelift.com/subscription/pkg/npm-has-flag?utm_source=npm-has-flag&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
|
12
|
+
</b>
|
13
|
+
<br>
|
14
|
+
<sub>
|
15
|
+
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
|
16
|
+
</sub>
|
17
|
+
</div>
|
18
|
+
|
19
|
+
---
|
20
|
+
|
21
|
+
|
22
|
+
## Install
|
23
|
+
|
24
|
+
```
|
25
|
+
$ npm install has-flag
|
26
|
+
```
|
27
|
+
|
28
|
+
|
29
|
+
## Usage
|
30
|
+
|
31
|
+
```js
|
32
|
+
// foo.js
|
33
|
+
const hasFlag = require('has-flag');
|
34
|
+
|
35
|
+
hasFlag('unicorn');
|
36
|
+
//=> true
|
37
|
+
|
38
|
+
hasFlag('--unicorn');
|
39
|
+
//=> true
|
40
|
+
|
41
|
+
hasFlag('f');
|
42
|
+
//=> true
|
43
|
+
|
44
|
+
hasFlag('-f');
|
45
|
+
//=> true
|
46
|
+
|
47
|
+
hasFlag('foo=bar');
|
48
|
+
//=> true
|
49
|
+
|
50
|
+
hasFlag('foo');
|
51
|
+
//=> false
|
52
|
+
|
53
|
+
hasFlag('rainbow');
|
54
|
+
//=> false
|
55
|
+
```
|
56
|
+
|
57
|
+
```
|
58
|
+
$ node foo.js -f --unicorn --foo=bar -- --rainbow
|
59
|
+
```
|
60
|
+
|
61
|
+
|
62
|
+
## API
|
63
|
+
|
64
|
+
### hasFlag(flag, [argv])
|
65
|
+
|
66
|
+
Returns a boolean for whether the flag exists.
|
67
|
+
|
68
|
+
#### flag
|
69
|
+
|
70
|
+
Type: `string`
|
71
|
+
|
72
|
+
CLI flag to look for. The `--` prefix is optional.
|
73
|
+
|
74
|
+
#### argv
|
75
|
+
|
76
|
+
Type: `string[]`<br>
|
77
|
+
Default: `process.argv`
|
78
|
+
|
79
|
+
CLI arguments.
|
80
|
+
|
81
|
+
|
82
|
+
## Security
|
83
|
+
|
84
|
+
To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). Tidelift will coordinate the fix and disclosure.
|
85
|
+
|
86
|
+
|
87
|
+
## License
|
88
|
+
|
89
|
+
MIT © [Sindre Sorhus](https://sindresorhus.com)
|
@@ -0,0 +1,22 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 Benjamin Newman <ben@benjamn.com>
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
22
|
+
|