forked from franciscop/legally
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.min.js
2 lines (2 loc) · 69.4 KB
/
index.min.js
1
2
// legally by Francisco Presencia <[email protected]> (https://francisco.io/)
"use strict";var e=require("fs"),i=require("path"),n=require("os"),r=require("util"),t=require("child_process");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=o(e),s=o(i),W=o(n),l=o(r),c=o(t),p=function(e,i){i||(i={});var n={bools:{},strings:{},unknownFn:null};"function"==typeof i.unknown&&(n.unknownFn=i.unknown),"boolean"==typeof i.boolean&&i.boolean?n.allBools=!0:[].concat(i.boolean).filter(Boolean).forEach((function(e){n.bools[e]=!0}));var r={};Object.keys(i.alias||{}).forEach((function(e){r[e]=[].concat(i.alias[e]),r[e].forEach((function(i){r[i]=[e].concat(r[e].filter((function(e){return i!==e})))}))})),[].concat(i.string).filter(Boolean).forEach((function(e){n.strings[e]=!0,r[e]&&(n.strings[r[e]]=!0)}));var t=i.default||{},o={_:[]};Object.keys(n.bools).forEach((function(e){s(e,void 0!==t[e]&&t[e])}));var a=[];function s(e,i,t){if(!t||!n.unknownFn||function(e,i){return n.allBools&&/^--[^=]+$/.test(i)||n.strings[e]||n.bools[e]||r[e]}(e,t)||!1!==n.unknownFn(t)){var a=!n.strings[e]&&m(i)?Number(i):i;W(o,e.split("."),a),(r[e]||[]).forEach((function(e){W(o,e.split("."),a)}))}}function W(e,i,r){for(var t=e,o=0;o<i.length-1;o++){if("__proto__"===(a=i[o]))return;void 0===t[a]&&(t[a]={}),t[a]!==Object.prototype&&t[a]!==Number.prototype&&t[a]!==String.prototype||(t[a]={}),t[a]===Array.prototype&&(t[a]=[]),t=t[a]}var a;"__proto__"!==(a=i[i.length-1])&&(t!==Object.prototype&&t!==Number.prototype&&t!==String.prototype||(t={}),t===Array.prototype&&(t=[]),void 0===t[a]||n.bools[a]||"boolean"==typeof t[a]?t[a]=r:Array.isArray(t[a])?t[a].push(r):t[a]=[t[a],r])}function l(e){return r[e].some((function(e){return n.bools[e]}))}-1!==e.indexOf("--")&&(a=e.slice(e.indexOf("--")+1),e=e.slice(0,e.indexOf("--")));for(var c=0;c<e.length;c++){var p=e[c];if(/^--.+=/.test(p)){var L=p.match(/^--([^=]+)=([\s\S]*)$/),d=L[1],u=L[2];n.bools[d]&&(u="false"!==u),s(d,u,p)}else if(/^--no-.+/.test(p)){s(d=p.match(/^--no-(.+)/)[1],!1,p)}else if(/^--.+/.test(p)){d=p.match(/^--(.+)/)[1];void 0===(v=e[c+1])||/^-/.test(v)||n.bools[d]||n.allBools||r[d]&&l(d)?/^(true|false)$/.test(v)?(s(d,"true"===v,p),c++):s(d,!n.strings[d]||"",p):(s(d,v,p),c++)}else if(/^-[^-]+/.test(p)){for(var f=p.slice(1,-1).split(""),A=!1,C=0;C<f.length;C++){var v;if("-"!==(v=p.slice(C+2))){if(/[A-Za-z]/.test(f[C])&&/=/.test(v)){s(f[C],v.split("=")[1],p),A=!0;break}if(/[A-Za-z]/.test(f[C])&&/-?\d+(\.\d*)?(e-?\d+)?$/.test(v)){s(f[C],v,p),A=!0;break}if(f[C+1]&&f[C+1].match(/\W/)){s(f[C],p.slice(C+2),p),A=!0;break}s(f[C],!n.strings[f[C]]||"",p)}else s(f[C],v,p)}d=p.slice(-1)[0];A||"-"===d||(!e[c+1]||/^(-|--)[^-]/.test(e[c+1])||n.bools[d]||r[d]&&l(d)?e[c+1]&&/^(true|false)$/.test(e[c+1])?(s(d,"true"===e[c+1],p),c++):s(d,!n.strings[d]||"",p):(s(d,e[c+1],p),c++))}else if(n.unknownFn&&!1===n.unknownFn(p)||o._.push(n.strings._||!m(p)?p:Number(p)),i.stopEarly){o._.push.apply(o._,e.slice(c+1));break}}return Object.keys(t).forEach((function(e){var i,n,a;i=o,n=e.split("."),a=i,n.slice(0,-1).forEach((function(e){a=a[e]||{}})),n[n.length-1]in a||(W(o,e.split("."),t[e]),(r[e]||[]).forEach((function(i){W(o,i.split("."),t[e])})))})),i["--"]?(o["--"]=new Array,a.forEach((function(e){o["--"].push(e)}))):a.forEach((function(e){o._.push(e)})),o};function m(e){return"number"==typeof e||(!!/^0x[0-9a-f]+$/i.test(e)||/^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(e))}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function L(e,i){return e(i={exports:{}},i.exports),i.exports}var d,u=L((function(e,i){e.exports=function(){const e=async i=>(i=await i,Array.isArray(i)?await Promise.all(i.map(e)):i),i=(e,i)=>(...n)=>(e=>e instanceof RegExp?e.test.bind(e):e)(e).call(i,...n),n=(e,n)=>async(r,t,o)=>({value:r,extra:await i(e,n)(r,t,o)}),r=({extra:e})=>e,t=({value:e})=>e,o={every:async(e,n,r)=>{for(let t=0;t<e.length;t++)if(!await i(n,r)(e[t],t,e))return!1;return!0},filter:async(i,o,a)=>(await e(i.map(n(o,a)))).filter(r).map(t),find:async(e,n,r)=>{for(let t=0;t<e.length;t++)if(await i(n,r)(e[t],t,e))return e[t]},findIndex:async(e,n,r)=>{for(let t=0;t<e.length;t++)if(await i(n,r)(e[t],t,e))return t;return-1},forEach:async(i,r,t)=>(await e(i.map(n(r,t))),i),reduce:async(e,n,r)=>{const t=void 0!==r;t||(r=e[0]);for(let o=t?0:1;o<e.length;o++)r=await i(n)(r,e[o],o,e);return r},reduceRight:async(e,n,r)=>{const t=void 0!==r;t||(r=e[e.length-1]);for(let o=e.length-(t?1:2);o>=0;o--)r=await i(n)(r,e[o],o,e);return r},some:async(e,n,r)=>{for(let t=0;t<e.length;t++)if(await i(n,r)(e[t],t,e))return!0;return!1}},a=(i,n)=>(r,t)=>"then"===t?(...n)=>e(i).then(...n):"catch"===t?(...n)=>l(e(i).catch(...n)):W(e(i).then(e=>"symbol"==typeof t?e[t]:t in n?W((...i)=>n[t](e,...i),n):"number"==typeof e&&t in n.number?W((...i)=>n.number[t](e,...i),n):"string"==typeof e&&t in n.string?W((...i)=>n.string[t](e,...i),n):Array.isArray(e)&&t in n.array?W((...i)=>n.array[t](e,...i),n):e[t]&&e[t].bind?W(e[t].bind(e),n):W(e[t],n)),n),s=(i,n)=>(r,t,o)=>W(e(i).then(e=>{return"function"!=typeof e?(i=`You tried to call "${JSON.stringify(e)}" (${typeof e}) as a function, but it is not.`,Promise.reject(new Error(i))):e(...o);var i}),n),W=(e,i)=>new Proxy(()=>{},{get:a(e,i),apply:s(e,i)}),l=(e,{number:i,string:n,array:r,...t}={})=>"function"==typeof e?(...i)=>l(Promise.all(i).then(i=>e(...i))):new Proxy({},{get:a(e,{number:{...i},string:{...n},array:{...o,...r},...t})});return l}()})),f=L((function(e,i){e.exports=function(){const e=u,{promisify:i}=l.default,n=i(c.default.exec);return(i,r=10)=>e(n(i,{maxBuffer:1024*r*1024}).then(e=>{if(e.stderr)throw new Error(e.stderr);return e.stdout.trim()}))}()})),A=L((function(e,i){!function(e){const i=a.default,n=s.default,{homedir:r,tmpdir:t}=W.default,{promisify:o}=l.default,c=u,p=f,m=(e=".",i=process.cwd())=>c((async()=>(e=await e,i=await i,n.isAbsolute(e)?e:(i&&"string"==typeof i||(i=process.cwd()),b(i,e))))()),L=e=>o(i.readFile)(e,"utf-8"),d=e=>c(m(e).then(L).catch(e=>"")),A=e=>n.dirname(e),C=e=>c(m(e).then(A)),v=o(i.exists),N=e=>v(e),P=e=>c(m(e).then(N).catch(e=>e)),g=(...e)=>c(b(r(),...e).then(O)),S=e=>n.join(...e),b=(...e)=>m(c(e).then(S)),h=e=>{const n=o(i.readdir);return c([e]).map(m).map(e=>n(e)).shift().map(i=>m(i,e))},x=o(i.mkdir),O=e=>c(m(e).then(async e=>c(e.split(n.sep).map((e,i,r)=>r.slice(0,i+1).join(n.sep)).filter(Boolean).reduce((i,n)=>i.then(async()=>await P(n)?n:x(n)).catch(e=>{}).then(()=>e),Promise.resolve())))),I=e=>c(c(e).then(n.basename)),D=o(i.rmdir),B=o(i.unlink),w=e=>c(m(e).then(async e=>{if("/"===e)throw new Error("Cannot remove the root folder `/`");return await P(e)?await y(e).isDirectory()?(await F(e).map(w),await h(e).map(w),await D(e).catch(e=>{}),e):(await B(e).catch(e=>{}),e):e})),T=o(i.lstat),y=e=>c(m(e).then(T).catch(e=>{})),E=(...e)=>m(b(t(),...e).then(O)),R=e=>{const i=m(e);return h(i).map(async e=>(await y(e)).isDirectory()?R(e):[e]).reduce((e,i)=>e.concat(i),[])},F=e=>c(P(e).then(async i=>{if(!i)return c([]);if("linux"===process.platform||"darwin"===process.platform)try{return(await p(`find ${await m(e)} -type f`)).split("\n").filter(Boolean)}catch(e){}return R(m(e)).filter(Boolean)})),M=o(i.writeFile),G=(e,i="")=>c(m(e).then(async e=>(await M(e,i),e)));var Y={abs:m,cat:d,dir:C,exists:P,home:g,join:b,list:h,ls:h,mkdir:O,name:I,read:d,remove:w,stat:y,tmp:E,walk:F,write:G};e.abs=m,e.cat=d,e.default=Y,e.dir=C,e.exists=P,e.home=g,e.join=b,e.list=h,e.ls=h,e.mkdir=O,e.name=I,e.read=d,e.remove=w,e.stat=y,e.tmp=E,e.walk=F,e.write=G,Object.defineProperty(e,"__esModule",{value:!0})}(i)}));(d=A)&&d.__esModule&&Object.prototype.hasOwnProperty.call(d,"default")&&d.default;var C=(e="")=>(""+e).toLowerCase().replace(/[^\w\s]/g," ").replace(/\s+/g," ").replace(/^\s+/,"").replace(/\s+$/,""),v={name:"Apache",negate:/as defined by Sections 1 through 9 of this document/i,regex:/(?:the )?apache(?: license)/i},N={name:"Apache 2.0",regex:/(?:the )?apache(?: license)/i},P={name:"BSD 2 Clause",regex:/(?:the )?bsd(?: license)/i,negate:/nor the names of its contributors may be used to endorse/,text:'\n redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are met:\n\n 1. redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n 2. redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n\n this software is provided by the copyright holders and contributors "as is"\n and any express or implied warranties, including, but not limited to, the\n implied warranties of merchantability and fitness for a particular purpose are\n disclaimed. in no event shall the copyright holder or contributors be liable\n for any direct, indirect, incidental, special, exemplary, or consequential\n damages (including, but not limited to, procurement of substitute goods or\n services; loss of use, data, or profits; or business interruption) however\n caused and on any theory of liability, whether in contract, strict liability,\n or tort (including negligence or otherwise) arising in any way out of the use\n of this software, even if advised of the possibility of such damage.\n'},g=L((function(e){e.exports.name="BSD 3 Clause",e.exports.regex=/(?:the )?bsd(?: license)/i,e.exports.text='\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are met:\n\n 1. Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n 2. Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n\n 3. Neither the name of the copyright holder nor the names of its contributors\n may be used to endorse or promote products derived from this software without\n specific prior written permission.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n',e.exports.fragments=e.exports.text.split(/\n\n/)})),S=(g.name,g.regex,g.text,g.fragments,L((function(e){e.exports.name="CC0",e.exports.regex=/cc0/i,e.exports.text="\n The person who associated a work with this deed has dedicated the work to the\n public domain by waiving all of his or her rights to the work worldwide under\n copyright law, including all related and neighboring rights, to the extent\n allowed by law.\n\n You can copy, modify, distribute and perform the work, even for commercial\n purposes, all without asking permission.\n",e.exports.fragments=e.exports.text.split(/\n\n/)}))),b=(S.name,S.regex,S.text,S.fragments,L((function(e){e.exports.name="ISC",e.exports.regex=/(?:the )?isc(?: license)/i,e.exports.text='\n Permission to use, copy, modify, and/or distribute this software for any\n purpose with or without fee is hereby granted, provided that the above\n copyright notice and this permission notice appear in all copies.\n\n THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\n REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\n INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\n OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n PERFORMANCE OF THIS SOFTWARE.\n',e.exports.fragments=e.exports.text.split(/\n\n/)}))),h=(b.name,b.regex,b.text,b.fragments,L((function(e){e.exports.name="MIT",e.exports.regex=/(?:the )?mit(?: license)/i,e.exports.text='\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the "Software"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n',e.exports.fragments=e.exports.text.split(/\n\n/)}))),x=(h.name,h.regex,h.text,h.fragments,L((function(e){e.exports.name="Unlicense",e.exports.regex=/(?:the )?unlicense(?: license)/i,e.exports.text='\n This is free and unencumbered software released into the public domain.\n\n Anyone is free to copy, modify, publish, use, compile, sell, or\n distribute this software, either in source code form or as a compiled\n binary, for any purpose, commercial or non-commercial, and by any\n means.\n\n In jurisdictions that recognize copyright laws, the author or authors\n of this software dedicate any and all copyright interest in the\n software to the public domain. We make this dedication for the benefit\n of the public at large and to the detriment of our heirs and\n successors. We intend this dedication to be an overt act of\n relinquishment in perpetuity of all present and future rights to this\n software under copyright law.\n\n THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n OTHER DEALINGS IN THE SOFTWARE.\n\n For more information, please refer to <http://unlicense.org/>\n',e.exports.fragments=e.exports.text.split(/\n\n/)}))),O=(x.name,x.regex,x.text,x.fragments,[v,N,P,g,S,b,h,x,{name:"Glide",fullName:"3dfx Glide License",identifier:"Glide",osiApproved:!1,regex:/\W(3dfx\WGlide\WLicense)\W/i},{name:"Abstyles",fullName:"Abstyles License",identifier:"Abstyles",osiApproved:!1,regex:/\W(Abstyles\WLicense)\W/i},{name:"AFL",fullName:"Academic Free License v1.1",identifier:"AFL-1.1",osiApproved:!0,regex:/\W(AFL-1.1|Academic\WFree\WLicense\Wv1.1)\W/i},{name:"AFL",fullName:"Academic Free License v1.2",identifier:"AFL-1.2",osiApproved:!0,regex:/\W(AFL-1.2|Academic\WFree\WLicense\Wv1.2)\W/i},{name:"AFL",fullName:"Academic Free License v2.0",identifier:"AFL-2.0",osiApproved:!0,regex:/\W(AFL-2.0|Academic\WFree\WLicense\Wv2.0)\W/i},{name:"AFL",fullName:"Academic Free License v2.1",identifier:"AFL-2.1",osiApproved:!0,regex:/\W(AFL-2.1|Academic\WFree\WLicense\Wv2.1)\W/i},{name:"AFL",fullName:"Academic Free License v3.0",identifier:"AFL-3.0",osiApproved:!0,regex:/\W(AFL-3.0|Academic\WFree\WLicense\Wv3.0)\W/i},{name:"AMPAS",fullName:"Academy of Motion Picture Arts and Sciences BSD",identifier:"AMPAS",osiApproved:!1,regex:/\W(Academy\Wof\WMotion\WPicture\WArts\Wand\WSciences\WBSD)\W/i},{name:"APL",fullName:"Adaptive Public License 1.0",identifier:"APL-1.0",osiApproved:!0,regex:/\W(APL-1.0|Adaptive\WPublic\WLicense\W1.0)\W/i},{name:"Adobe-Glyph",fullName:"Adobe Glyph List License",identifier:"Adobe-Glyph",osiApproved:!1,regex:/\W(Adobe-Glyph|Adobe\WGlyph\WList\WLicense|Adobe-Glyph)\W/i},{name:"APAFML",fullName:"Adobe Postscript AFM License",identifier:"APAFML",osiApproved:!1,regex:/\W(Adobe\WPostscript\WAFM\WLicense)\W/i},{name:"Adobe",fullName:"Adobe Systems Incorporated Source Code License Agreement",identifier:"Adobe-2006",osiApproved:!1,regex:/\W(Adobe-2006|Adobe\WSystems\WIncorporated\WSource\WCode\WLicense\WAgreement)\W/i},{name:"AGPL",fullName:"Affero General Public License v1.0",identifier:"AGPL-1.0",osiApproved:!1,regex:/\W(AGPL-1.0|Affero\WGeneral\WPublic\WLicense\Wv1.0)\W/i},{name:"Afmparse",fullName:"Afmparse License",identifier:"Afmparse",osiApproved:!1,regex:/\W(Afmparse\WLicense)\W/i},{name:"Aladdin",fullName:"Aladdin Free Public License",identifier:"Aladdin",osiApproved:!1,regex:/\W(Aladdin\WFree\WPublic\WLicense)\W/i},{name:"ADSL",fullName:"Amazon Digital Services License",identifier:"ADSL",osiApproved:!1,regex:/\W(Amazon\WDigital\WServices\WLicense)\W/i},{name:"AMDPLPA",fullName:"AMD's plpa_map.c License",identifier:"AMDPLPA",osiApproved:!1,regex:/\W(AMD's\Wplpa_map.c\WLicense)\W/i},{name:"ANTLR-PD",fullName:"ANTLR Software Rights Notice",identifier:"ANTLR-PD",osiApproved:!1,regex:/\W(ANTLR-PD|ANTLR\WSoftware\WRights\WNotice|ANTLR-PD)\W/i},{name:"Apache",fullName:"Apache License 1.0",identifier:"Apache-1.0",osiApproved:!1,regex:/\W(Apache-1.0|Apache\WLicense\W1.0)\W/i},{name:"Apache",fullName:"Apache License 1.1",identifier:"Apache-1.1",osiApproved:!0,regex:/\W(Apache-1.1|Apache\WLicense\W1.1)\W/i},{name:"Apache",fullName:"Apache License 2.0",identifier:"Apache-2.0",osiApproved:!0,regex:/\W(Apache-2.0|Apache\WLicense\W2.0)\W/i},{name:"AML",fullName:"Apple MIT License",identifier:"AML",osiApproved:!1,regex:/\W(Apple\WMIT\WLicense)\W/i},{name:"APSL",fullName:"Apple Public Source License 1.0",identifier:"APSL-1.0",osiApproved:!0,regex:/\W(APSL-1.0|Apple\WPublic\WSource\WLicense\W1.0)\W/i},{name:"APSL",fullName:"Apple Public Source License 1.1",identifier:"APSL-1.1",osiApproved:!0,regex:/\W(APSL-1.1|Apple\WPublic\WSource\WLicense\W1.1)\W/i},{name:"APSL",fullName:"Apple Public Source License 1.2",identifier:"APSL-1.2",osiApproved:!0,regex:/\W(APSL-1.2|Apple\WPublic\WSource\WLicense\W1.2)\W/i},{name:"APSL",fullName:"Apple Public Source License 2.0",identifier:"APSL-2.0",osiApproved:!0,regex:/\W(APSL-2.0|Apple\WPublic\WSource\WLicense\W2.0)\W/i},{name:"Artistic",fullName:"Artistic License 1.0",identifier:"Artistic-1.0",osiApproved:!0,regex:/\W(Artistic-1.0|Artistic\WLicense\W1.0)\W/i},{name:"Artistic",fullName:"Artistic License 1.0 (Perl)",identifier:"Artistic-1.0-Perl",osiApproved:!0,regex:/\W(Artistic-1.0-Perl|Artistic\WLicense\W1.0\W(Perl))\W/i},{name:"Artistic",fullName:"Artistic License 1.0 w/clause 8",identifier:"Artistic-1.0-cl8",osiApproved:!0,regex:/\W(Artistic-1.0-cl8|Artistic\WLicense\W1.0\Ww\/clause\W8)\W/i},{name:"Artistic",fullName:"Artistic License 2.0",identifier:"Artistic-2.0",osiApproved:!0,regex:/\W(Artistic-2.0|Artistic\WLicense\W2.0)\W/i},{name:"AAL",fullName:"Attribution Assurance License",identifier:"AAL",osiApproved:!0,regex:/\W(Attribution\WAssurance\WLicense)\W/i},{name:"Bahyph",fullName:"Bahyph License",identifier:"Bahyph",osiApproved:!1,regex:/\W(Bahyph\WLicense)\W/i},{name:"Barr",fullName:"Barr License",identifier:"Barr",osiApproved:!1,regex:/\W(Barr\WLicense)\W/i},{name:"Beerware",fullName:"Beerware License",identifier:"Beerware",osiApproved:!1,regex:/\W(Beerware\WLicense)\W/i},{name:"BitTorrent",fullName:"BitTorrent Open Source License v1.0",identifier:"BitTorrent-1.0",osiApproved:!1,regex:/\W(BitTorrent-1.0|BitTorrent\WOpen\WSource\WLicense\Wv1.0)\W/i},{name:"BitTorrent",fullName:"BitTorrent Open Source License v1.1",identifier:"BitTorrent-1.1",osiApproved:!1,regex:/\W(BitTorrent-1.1|BitTorrent\WOpen\WSource\WLicense\Wv1.1)\W/i},{name:"BSL",fullName:"Boost Software License 1.0",identifier:"BSL-1.0",osiApproved:!0,regex:/\W(BSL-1.0|Boost\WSoftware\WLicense\W1.0)\W/i},{name:"Borceux",fullName:"Borceux license",identifier:"Borceux",osiApproved:!1,regex:/\W(Borceux\Wlicense)\W/i},{name:"BSD",fullName:'"BSD 2-clause ""Simplified"" License"',identifier:"BSD-2-Clause",osiApproved:!0,regex:/\W(BSD-2-Clause|\"BSD\W2-clause\W\"\"Simplified\"\"\WLicense\")\W/i},{name:"BSD",fullName:"BSD 2-clause FreeBSD License",identifier:"BSD-2-Clause-FreeBSD",osiApproved:!1,regex:/\W(BSD-2-Clause-FreeBSD|BSD\W2-clause\WFreeBSD\WLicense)\W/i},{name:"BSD",fullName:"BSD 2-clause NetBSD License",identifier:"BSD-2-Clause-NetBSD",osiApproved:!1,regex:/\W(BSD-2-Clause-NetBSD|BSD\W2-clause\WNetBSD\WLicense)\W/i},{name:"BSD",fullName:'"BSD 3-clause ""New"" or ""Revised"" License"',identifier:"BSD-3-Clause",osiApproved:!0,regex:/\W(BSD-3-Clause|\"BSD\W3-clause\W\"\"New\"\"\Wor\W\"\"Revised\"\"\WLicense\")\W/i},{name:"BSD",fullName:"BSD 3-clause Clear License",identifier:"BSD-3-Clause-Clear",osiApproved:!1,regex:/\W(BSD-3-Clause-Clear|BSD\W3-clause\WClear\WLicense)\W/i},{name:"BSD",fullName:'"BSD 4-clause ""Original"" or ""Old"" License"',identifier:"BSD-4-Clause",osiApproved:!1,regex:/\W(BSD-4-Clause|\"BSD\W4-clause\W\"\"Original\"\"\Wor\W\"\"Old\"\"\WLicense\")\W/i},{name:"BSD",fullName:"BSD Protection License",identifier:"BSD-Protection",osiApproved:!1,regex:/\W(BSD-Protection|BSD\WProtection\WLicense)\W/i},{name:"BSD",fullName:"BSD with attribution",identifier:"BSD-3-Clause-Attribution",osiApproved:!1,regex:/\W(BSD-3-Clause-Attribution|BSD\Wwith\Wattribution)\W/i},{name:"BSD",fullName:"BSD Zero Clause License",identifier:"0BSD",osiApproved:!1,regex:/\W(0BSD|BSD\WZero\WClause\WLicense)\W/i},{name:"BSD",fullName:"BSD-4-Clause (University of California-Specific)",identifier:"BSD-4-Clause-UC",osiApproved:!1,regex:/\W(BSD-4-Clause-UC|BSD-4-Clause\W(University\Wof\WCalifornia-Specific))\W/i},{name:"bzip2",fullName:"bzip2 and libbzip2 License v1.0.5",identifier:"bzip2-1.0.5",osiApproved:!1,regex:/\W(bzip2-1.0.5|bzip2\Wand\Wlibbzip2\WLicense\Wv1.0.5|bzip2)\W/i},{name:"bzip2",fullName:"bzip2 and libbzip2 License v1.0.6",identifier:"bzip2-1.0.6",osiApproved:!1,regex:/\W(bzip2-1.0.6|bzip2\Wand\Wlibbzip2\WLicense\Wv1.0.6|bzip2)\W/i},{name:"Caldera",fullName:"Caldera License",identifier:"Caldera",osiApproved:!1,regex:/\W(Caldera\WLicense)\W/i},{name:"CECILL",fullName:"CeCILL Free Software License Agreement v1.0",identifier:"CECILL-1.0",osiApproved:!1,regex:/\W(CECILL-1.0|CeCILL\WFree\WSoftware\WLicense\WAgreement\Wv1.0)\W/i},{name:"CECILL",fullName:"CeCILL Free Software License Agreement v1.1",identifier:"CECILL-1.1",osiApproved:!1,regex:/\W(CECILL-1.1|CeCILL\WFree\WSoftware\WLicense\WAgreement\Wv1.1)\W/i},{name:"CECILL",fullName:"CeCILL Free Software License Agreement v2.0",identifier:"CECILL-2.0",osiApproved:!1,regex:/\W(CECILL-2.0|CeCILL\WFree\WSoftware\WLicense\WAgreement\Wv2.0)\W/i},{name:"CECILL",fullName:"CeCILL Free Software License Agreement v2.1",identifier:"CECILL-2.1",osiApproved:!0,regex:/\W(CECILL-2.1|CeCILL\WFree\WSoftware\WLicense\WAgreement\Wv2.1)\W/i},{name:"CECILL",fullName:"CeCILL-B Free Software License Agreement",identifier:"CECILL-B",osiApproved:!1,regex:/\W(CECILL-B|CeCILL-B\WFree\WSoftware\WLicense\WAgreement)\W/i},{name:"CECILL",fullName:"CeCILL-C Free Software License Agreement",identifier:"CECILL-C",osiApproved:!1,regex:/\W(CECILL-C|CeCILL-C\WFree\WSoftware\WLicense\WAgreement)\W/i},{name:"CIArtistic",fullName:"Clarified Artistic License",identifier:"ClArtistic",osiApproved:!1,regex:/\W(Clarified\WArtistic\WLicense)\W/i},{name:"MIT-CMU",fullName:"CMU License",identifier:"MIT-CMU",osiApproved:!1,regex:/\W(MIT-CMU|CMU\WLicense|MIT-CMU)\W/i},{name:"CNRI",fullName:"CNRI Jython License",identifier:"CNRI-Jython",osiApproved:!1,regex:/\W(CNRI-Jython|CNRI\WJython\WLicense)\W/i},{name:"CNRI",fullName:"CNRI Python License",identifier:"CNRI-Python",osiApproved:!0,regex:/\W(CNRI-Python|CNRI\WPython\WLicense)\W/i},{name:"CNRI",fullName:"CNRI Python Open Source GPL Compatible License Agreement",identifier:"CNRI-Python-GPL-Compatible",osiApproved:!1,regex:/\W(CNRI-Python-GPL-Compatible|CNRI\WPython\WOpen\WSource\WGPL\WCompatible\WLicense\WAgreement)\W/i},{name:"CPOL",fullName:"Code Project Open License 1.02",identifier:"CPOL-1.02",osiApproved:!1,regex:/\W(CPOL-1.02|Code\WProject\WOpen\WLicense\W1.02)\W/i},{name:"CDDL",fullName:"Common Development and Distribution License 1.0",identifier:"CDDL-1.0",osiApproved:!0,regex:/\W(CDDL-1.0|Common\WDevelopment\Wand\WDistribution\WLicense\W1.0)\W/i},{name:"CDDL",fullName:"Common Development and Distribution License 1.1",identifier:"CDDL-1.1",osiApproved:!1,regex:/\W(CDDL-1.1|Common\WDevelopment\Wand\WDistribution\WLicense\W1.1)\W/i},{name:"CPAL",fullName:"Common Public Attribution License 1.0",identifier:"CPAL-1.0",osiApproved:!0,regex:/\W(CPAL-1.0|Common\WPublic\WAttribution\WLicense\W1.0)\W/i},{name:"CPL",fullName:"Common Public License 1.0",identifier:"CPL-1.0",osiApproved:!0,regex:/\W(CPL-1.0|Common\WPublic\WLicense\W1.0)\W/i},{name:"CATOSL",fullName:"Computer Associates Trusted Open Source License 1.1",identifier:"CATOSL-1.1",osiApproved:!0,regex:/\W(CATOSL-1.1|Computer\WAssociates\WTrusted\WOpen\WSource\WLicense\W1.1)\W/i},{name:"Condo",fullName:"Condor Public License v1.1",identifier:"Condor-1.1",osiApproved:!1,regex:/\W(Condor-1.1|Condor\WPublic\WLicense\Wv1.1)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution 1.0",identifier:"CC-BY-1.0",osiApproved:!1,regex:/\W(CC-BY-1.0|Creative\WCommons\WAttribution\W1.0|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution 2.0",identifier:"CC-BY-2.0",osiApproved:!1,regex:/\W(CC-BY-2.0|Creative\WCommons\WAttribution\W2.0|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution 2.5",identifier:"CC-BY-2.5",osiApproved:!1,regex:/\W(CC-BY-2.5|Creative\WCommons\WAttribution\W2.5|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution 3.0",identifier:"CC-BY-3.0",osiApproved:!1,regex:/\W(CC-BY-3.0|Creative\WCommons\WAttribution\W3.0|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution 4.0",identifier:"CC-BY-4.0",osiApproved:!1,regex:/\W(CC-BY-4.0|Creative\WCommons\WAttribution\W4.0|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution No Derivatives 1.0",identifier:"CC-BY-ND-1.0",osiApproved:!1,regex:/\W(CC-BY-ND-1.0|Creative\WCommons\WAttribution\WNo\WDerivatives\W1.0|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution No Derivatives 2.0",identifier:"CC-BY-ND-2.0",osiApproved:!1,regex:/\W(CC-BY-ND-2.0|Creative\WCommons\WAttribution\WNo\WDerivatives\W2.0|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution No Derivatives 2.5",identifier:"CC-BY-ND-2.5",osiApproved:!1,regex:/\W(CC-BY-ND-2.5|Creative\WCommons\WAttribution\WNo\WDerivatives\W2.5|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution No Derivatives 3.0",identifier:"CC-BY-ND-3.0",osiApproved:!1,regex:/\W(CC-BY-ND-3.0|Creative\WCommons\WAttribution\WNo\WDerivatives\W3.0|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution No Derivatives 4.0",identifier:"CC-BY-ND-4.0",osiApproved:!1,regex:/\W(CC-BY-ND-4.0|Creative\WCommons\WAttribution\WNo\WDerivatives\W4.0|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution Non Commercial 1.0",identifier:"CC-BY-NC-1.0",osiApproved:!1,regex:/\W(CC-BY-NC-1.0|Creative\WCommons\WAttribution\WNon\WCommercial\W1.0|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution Non Commercial 2.0",identifier:"CC-BY-NC-2.0",osiApproved:!1,regex:/\W(CC-BY-NC-2.0|Creative\WCommons\WAttribution\WNon\WCommercial\W2.0|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution Non Commercial 2.5",identifier:"CC-BY-NC-2.5",osiApproved:!1,regex:/\W(CC-BY-NC-2.5|Creative\WCommons\WAttribution\WNon\WCommercial\W2.5|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution Non Commercial 3.0",identifier:"CC-BY-NC-3.0",osiApproved:!1,regex:/\W(CC-BY-NC-3.0|Creative\WCommons\WAttribution\WNon\WCommercial\W3.0|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution Non Commercial 4.0",identifier:"CC-BY-NC-4.0",osiApproved:!1,regex:/\W(CC-BY-NC-4.0|Creative\WCommons\WAttribution\WNon\WCommercial\W4.0|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution Non Commercial No Derivatives 1.0",identifier:"CC-BY-NC-ND-1.0",osiApproved:!1,regex:/\W(CC-BY-NC-ND-1.0|Creative\WCommons\WAttribution\WNon\WCommercial\WNo\WDerivatives\W1.0|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution Non Commercial No Derivatives 2.0",identifier:"CC-BY-NC-ND-2.0",osiApproved:!1,regex:/\W(CC-BY-NC-ND-2.0|Creative\WCommons\WAttribution\WNon\WCommercial\WNo\WDerivatives\W2.0|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution Non Commercial No Derivatives 2.5",identifier:"CC-BY-NC-ND-2.5",osiApproved:!1,regex:/\W(CC-BY-NC-ND-2.5|Creative\WCommons\WAttribution\WNon\WCommercial\WNo\WDerivatives\W2.5|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution Non Commercial No Derivatives 3.0",identifier:"CC-BY-NC-ND-3.0",osiApproved:!1,regex:/\W(CC-BY-NC-ND-3.0|Creative\WCommons\WAttribution\WNon\WCommercial\WNo\WDerivatives\W3.0|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution Non Commercial No Derivatives 4.0",identifier:"CC-BY-NC-ND-4.0",osiApproved:!1,regex:/\W(CC-BY-NC-ND-4.0|Creative\WCommons\WAttribution\WNon\WCommercial\WNo\WDerivatives\W4.0|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution Non Commercial Share Alike 1.0",identifier:"CC-BY-NC-SA-1.0",osiApproved:!1,regex:/\W(CC-BY-NC-SA-1.0|Creative\WCommons\WAttribution\WNon\WCommercial\WShare\WAlike\W1.0|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution Non Commercial Share Alike 2.0",identifier:"CC-BY-NC-SA-2.0",osiApproved:!1,regex:/\W(CC-BY-NC-SA-2.0|Creative\WCommons\WAttribution\WNon\WCommercial\WShare\WAlike\W2.0|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution Non Commercial Share Alike 2.5",identifier:"CC-BY-NC-SA-2.5",osiApproved:!1,regex:/\W(CC-BY-NC-SA-2.5|Creative\WCommons\WAttribution\WNon\WCommercial\WShare\WAlike\W2.5|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution Non Commercial Share Alike 3.0",identifier:"CC-BY-NC-SA-3.0",osiApproved:!1,regex:/\W(CC-BY-NC-SA-3.0|Creative\WCommons\WAttribution\WNon\WCommercial\WShare\WAlike\W3.0|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution Non Commercial Share Alike 4.0",identifier:"CC-BY-NC-SA-4.0",osiApproved:!1,regex:/\W(CC-BY-NC-SA-4.0|Creative\WCommons\WAttribution\WNon\WCommercial\WShare\WAlike\W4.0|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution Share Alike 1.0",identifier:"CC-BY-SA-1.0",osiApproved:!1,regex:/\W(CC-BY-SA-1.0|Creative\WCommons\WAttribution\WShare\WAlike\W1.0|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution Share Alike 2.0",identifier:"CC-BY-SA-2.0",osiApproved:!1,regex:/\W(CC-BY-SA-2.0|Creative\WCommons\WAttribution\WShare\WAlike\W2.0|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution Share Alike 2.5",identifier:"CC-BY-SA-2.5",osiApproved:!1,regex:/\W(CC-BY-SA-2.5|Creative\WCommons\WAttribution\WShare\WAlike\W2.5|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution Share Alike 3.0",identifier:"CC-BY-SA-3.0",osiApproved:!1,regex:/\W(CC-BY-SA-3.0|Creative\WCommons\WAttribution\WShare\WAlike\W3.0|CC-BY)\W/i},{name:"CC-BY",fullName:"Creative Commons Attribution Share Alike 4.0",identifier:"CC-BY-SA-4.0",osiApproved:!1,regex:/\W(CC-BY-SA-4.0|Creative\WCommons\WAttribution\WShare\WAlike\W4.0|CC-BY)\W/i},{name:"CC0",fullName:"Creative Commons Zero v1.0 Universal",identifier:"CC0-1.0",osiApproved:!1,regex:/\W(CC0-1.0|Creative\WCommons\WZero\Wv1.0\WUniversal|CC0)\W/i},{name:"Crossword",fullName:"Crossword License",identifier:"Crossword",osiApproved:!1,regex:/\W(Crossword\WLicense)\W/i},{name:"CrystalStacker",fullName:"CrystalStacker License",identifier:"CrystalStacker",osiApproved:!1,regex:/\W(CrystalStacker\WLicense)\W/i},{name:"CUA-OPL",fullName:"CUA Office Public License v1.0",identifier:"CUA-OPL-1.0",osiApproved:!0,regex:/\W(CUA-OPL-1.0|CUA\WOffice\WPublic\WLicense\Wv1.0|CUA-OPL)\W/i},{name:"Cube",fullName:"Cube License",identifier:"Cube",osiApproved:!1,regex:/\W(Cube\WLicense)\W/i},{name:"curl",fullName:"curl License",identifier:"curl",osiApproved:!1,regex:/\W(curl\WLicense)\W/i},{name:"D-FSL",fullName:"Deutsche Freie Software Lizenz",identifier:"D-FSL-1.0",osiApproved:!1,regex:/\W(D-FSL-1.0|Deutsche\WFreie\WSoftware\WLizenz|D-FSL)\W/i},{name:"diffmark",fullName:"diffmark license",identifier:"diffmark",osiApproved:!1,regex:/\W(diffmark\Wlicense)\W/i},{name:"WTFPL",fullName:"Do What The F*ck You Want To Public License",identifier:"WTFPL",osiApproved:!1,regex:/\W(Do\WWhat\WThe\WF*ck\WYou\WWant\WTo\WPublic\WLicense)\W/i},{name:"DOC",fullName:"DOC License",identifier:"DOC",osiApproved:!1,regex:/DOC\WLicense/i},{name:"Dotseqn",fullName:"Dotseqn License",identifier:"Dotseqn",osiApproved:!1,regex:/\W(Dotseqn\WLicense)\W/i},{name:"DSDP",fullName:"DSDP License",identifier:"DSDP",osiApproved:!1,regex:/\W(DSDP\WLicense)\W/i},{name:"dvipdfm",fullName:"dvipdfm License",identifier:"dvipdfm",osiApproved:!1,regex:/\W(dvipdfm\WLicense)\W/i},{name:"EPL",fullName:"Eclipse Public License 1.0",identifier:"EPL-1.0",osiApproved:!0,regex:/\W(EPL-1.0|Eclipse\WPublic\WLicense\W1.0)\W/i},{name:"ECL",fullName:"Educational Community License v1.0",identifier:"ECL-1.0",osiApproved:!0,regex:/\W(ECL-1.0|Educational\WCommunity\WLicense\Wv1.0)\W/i},{name:"ECL",fullName:"Educational Community License v2.0",identifier:"ECL-2.0",osiApproved:!0,regex:/\W(ECL-2.0|Educational\WCommunity\WLicense\Wv2.0)\W/i},{name:"eGenix",fullName:"eGenix.com Public License 1.1.0",identifier:"eGenix",osiApproved:!1,regex:/\W(eGenix.com\WPublic\WLicense\W1.1.0)\W/i},{name:"EFL",fullName:"Eiffel Forum License v1.0",identifier:"EFL-1.0",osiApproved:!0,regex:/\W(EFL-1.0|Eiffel\WForum\WLicense\Wv1.0)\W/i},{name:"EFL",fullName:"Eiffel Forum License v2.0",identifier:"EFL-2.0",osiApproved:!0,regex:/\W(EFL-2.0|Eiffel\WForum\WLicense\Wv2.0)\W/i},{name:"MIT-advertising",fullName:"Enlightenment License (e16)",identifier:"MIT-advertising",osiApproved:!1,regex:/\W(MIT-advertising|Enlightenment\WLicense\W(e16)|MIT-advertising)\W/i},{name:"MIT-enna",fullName:"enna License",identifier:"MIT-enna",osiApproved:!1,regex:/\W(MIT-enna|enna\WLicense|MIT-enna)\W/i},{name:"Entessa",fullName:"Entessa Public License v1.0",identifier:"Entessa",osiApproved:!0,regex:/\W(Entessa\WPublic\WLicense\Wv1.0)\W/i},{name:"ErlPL",fullName:"Erlang Public License v1.1",identifier:"ErlPL-1.1",osiApproved:!1,regex:/\W(ErlPL-1.1|Erlang\WPublic\WLicense\Wv1.1)\W/i},{name:"EUDatagrid",fullName:"EU DataGrid Software License",identifier:"EUDatagrid",osiApproved:!0,regex:/\W(EU\WDataGrid\WSoftware\WLicense)\W/i},{name:"EUPL",fullName:"European Union Public License 1.0",identifier:"EUPL-1.0",osiApproved:!1,regex:/\W(EUPL-1.0|European\WUnion\WPublic\WLicense\W1.0)\W/i},{name:"EUPL",fullName:"European Union Public License 1.1",identifier:"EUPL-1.1",osiApproved:!0,regex:/\W(EUPL-1.1|European\WUnion\WPublic\WLicense\W1.1)\W/i},{name:"Eurosym",fullName:"Eurosym License",identifier:"Eurosym",osiApproved:!1,regex:/\W(Eurosym\WLicense)\W/i},{name:"Fair",fullName:"Fair License",identifier:"Fair",osiApproved:!0,regex:/\W(Fair\WLicense)\W/i},{name:"MIT-feh",fullName:"feh License",identifier:"MIT-feh",osiApproved:!1,regex:/\W(MIT-feh|feh\WLicense|MIT-feh)\W/i},{name:"Frameworx",fullName:"Frameworx Open License 1.0",identifier:"Frameworx-1.0",osiApproved:!0,regex:/\W(Frameworx-1.0|Frameworx\WOpen\WLicense\W1.0)\W/i},{name:"FreeImage",fullName:"FreeImage Public License v1.0",identifier:"FreeImage",osiApproved:!1,regex:/\W(FreeImage\WPublic\WLicense\Wv1.0)\W/i},{name:"FTL",fullName:"Freetype Project License",identifier:"FTL",osiApproved:!1,regex:/\W(Freetype\WProject\WLicense)\W/i},{name:"FSFUL",fullName:"FSF Unlimited License",identifier:"FSFUL",osiApproved:!1,regex:/\W(FSF\WUnlimited\WLicense)\W/i},{name:"FSFULLR",fullName:"FSF Unlimited License (with License Retention)",identifier:"FSFULLR",osiApproved:!1,regex:/\W(FSF\WUnlimited\WLicense\W(with\WLicense\WRetention))\W/i},{name:"Giftware",fullName:"Giftware License",identifier:"Giftware",osiApproved:!1,regex:/\W(Giftware\WLicense)\W/i},{name:"GL2PS",fullName:"GL2PS License",identifier:"GL2PS",osiApproved:!1,regex:/\W(GL2PS|GL2PS\WLicense|GL2PS)\W/i},{name:"Glulxe",fullName:"Glulxe License",identifier:"Glulxe",osiApproved:!1,regex:/\W(Glulxe\WLicense)\W/i},{name:"AGPL",fullName:"GNU Affero General Public License v3.0",identifier:"AGPL-3.0",osiApproved:!0,regex:/\W(AGPL-3.0|GNU\WAffero\WGeneral\WPublic\WLicense\Wv3.0)\W/i},{name:"GFDL",fullName:"GNU Free Documentation License v1.1",identifier:"GFDL-1.1",osiApproved:!1,regex:/\W(GFDL-1.1|GNU\WFree\WDocumentation\WLicense\Wv1.1)\W/i},{name:"GFDL",fullName:"GNU Free Documentation License v1.2",identifier:"GFDL-1.2",osiApproved:!1,regex:/\W(GFDL-1.2|GNU\WFree\WDocumentation\WLicense\Wv1.2)\W/i},{name:"GFDL",fullName:"GNU Free Documentation License v1.3",identifier:"GFDL-1.3",osiApproved:!1,regex:/\W(GFDL-1.3|GNU\WFree\WDocumentation\WLicense\Wv1.3)\W/i},{name:"GPL",fullName:"GNU General Public License v1.0 only",identifier:"GPL-1.0",osiApproved:!1,regex:/\W(GPL-1.0|GNU\WGeneral\WPublic\WLicense\Wv1.0\Wonly)\W/i},{name:"GPL",fullName:"GNU General Public License v2.0 only",identifier:"GPL-2.0",osiApproved:!0,regex:/\W(GPL-2.0|GNU\WGeneral\WPublic\WLicense\Wv2.0\Wonly)\W/i},{name:"GPL",fullName:"GNU General Public License v3.0 only",identifier:"GPL-3.0",osiApproved:!0,regex:/\W(GPL-3.0|GNU\WGeneral\WPublic\WLicense\Wv3.0\Wonly)\W/i},{name:"LGPL",fullName:"GNU Lesser General Public License v2.1 only",identifier:"LGPL-2.1",osiApproved:!0,regex:/\W(LGPL-2.1|GNU\WLesser\WGeneral\WPublic\WLicense\Wv2.1\Wonly)\W/i},{name:"LGPL",fullName:"GNU Lesser General Public License v3.0 only",identifier:"LGPL-3.0",osiApproved:!0,regex:/\W(LGPL-3.0|GNU\WLesser\WGeneral\WPublic\WLicense\Wv3.0\Wonly)\W/i},{name:"LGPL",fullName:"GNU Library General Public License v2 only",identifier:"LGPL-2.0",osiApproved:!0,regex:/\W(LGPL-2.0|GNU\WLibrary\WGeneral\WPublic\WLicense\Wv2\Wonly)\W/i},{name:"gnuplot",fullName:"gnuplot License",identifier:"gnuplot",osiApproved:!1,regex:/\W(gnuplot\WLicense)\W/i},{name:"gSOAP",fullName:"gSOAP Public License v1.3b",identifier:"gSOAP-1.3b",osiApproved:!1,regex:/\W(gSOAP-1.3b|gSOAP\WPublic\WLicense\Wv1.3b)\W/i},{name:"HaskellReport",fullName:"Haskell Language Report License",identifier:"HaskellReport",osiApproved:!1,regex:/\W(Haskell\WLanguage\WReport\WLicense)\W/i},{name:"HPND",fullName:"Historic Permission Notice and Disclaimer",identifier:"HPND",osiApproved:!0,regex:/\W(Historic\WPermission\WNotice\Wand\WDisclaimer)\W/i},{name:"IBM-pibs",fullName:"IBM PowerPC Initialization and Boot Software",identifier:"IBM-pibs",osiApproved:!1,regex:/\W(IBM-pibs|IBM\WPowerPC\WInitialization\Wand\WBoot\WSoftware|IBM-pibs)\W/i},{name:"IPL",fullName:"IBM Public License v1.0",identifier:"IPL-1.0",osiApproved:!0,regex:/\W(IPL-1.0|IBM\WPublic\WLicense\Wv1.0)\W/i},{name:"ICU",fullName:"ICU License",identifier:"ICU",osiApproved:!1,regex:/\W(ICU\WLicense)\W/i},{name:"ImageMagick",fullName:"ImageMagick License",identifier:"ImageMagick",osiApproved:!1,regex:/\W(ImageMagick\WLicense)\W/i},{name:"iMatix",fullName:"iMatix Standard Function Library Agreement",identifier:"iMatix",osiApproved:!1,regex:/\W(iMatix\WStandard\WFunction\WLibrary\WAgreement)\W/i},{name:"Imlib2",fullName:"Imlib2 License",identifier:"Imlib2",osiApproved:!1,regex:/\W(Imlib2|Imlib2\WLicense|Imlib2)\W/i},{name:"IJG",fullName:"Independent JPEG Group License",identifier:"IJG",osiApproved:!1,regex:/\W(Independent\WJPEG\WGroup\WLicense)\W/i},{name:"Info-ZIP",fullName:"Info-ZIP License",identifier:"Info-ZIP",osiApproved:!1,regex:/\W(Info-ZIP|Info-ZIP\WLicense|Info-ZIP)\W/i},{name:"Intel-ACPI",fullName:"Intel ACPI Software License Agreement",identifier:"Intel-ACPI",osiApproved:!1,regex:/\W(Intel-ACPI|Intel\WACPI\WSoftware\WLicense\WAgreement|Intel-ACPI)\W/i},{name:"Intel",fullName:"Intel Open Source License",identifier:"Intel",osiApproved:!0,regex:/\W(Intel\WOpen\WSource\WLicense)\W/i},{name:"Interbase",fullName:"Interbase Public License v1.0",identifier:"Interbase-1.0",osiApproved:!1,regex:/\W(Interbase-1.0|Interbase\WPublic\WLicense\Wv1.0)\W/i},{name:"IPA",fullName:"IPA Font License",identifier:"IPA",osiApproved:!0,regex:/\W(IPA\WFont\WLicense)\W/i},{name:"ISC",fullName:"ISC License",identifier:"ISC",osiApproved:!0,regex:/\W(ISC\WLicense)\W/i},{name:"JasPer",fullName:"JasPer License",identifier:"JasPer-2.0",osiApproved:!1,regex:/\W(JasPer-2.0|JasPer\WLicense)\W/i},{name:"JSON",fullName:"JSON License",identifier:"JSON",osiApproved:!1,regex:/\W(JSON\WLicense)\W/i},{name:"LPPL",fullName:"LaTeX Project Public License v1.0",identifier:"LPPL-1.0",osiApproved:!1,regex:/\W(LPPL-1.0|LaTeX\WProject\WPublic\WLicense\Wv1.0)\W/i},{name:"LPPL",fullName:"LaTeX Project Public License v1.1",identifier:"LPPL-1.1",osiApproved:!1,regex:/\W(LPPL-1.1|LaTeX\WProject\WPublic\WLicense\Wv1.1)\W/i},{name:"LPPL",fullName:"LaTeX Project Public License v1.2",identifier:"LPPL-1.2",osiApproved:!1,regex:/\W(LPPL-1.2|LaTeX\WProject\WPublic\WLicense\Wv1.2)\W/i},{name:"LPPL",fullName:"LaTeX Project Public License v1.3a",identifier:"LPPL-1.3a",osiApproved:!1,regex:/\W(LPPL-1.3a|LaTeX\WProject\WPublic\WLicense\Wv1.3a)\W/i},{name:"LPPL",fullName:"LaTeX Project Public License v1.3c",identifier:"LPPL-1.3c",osiApproved:!0,regex:/\W(LPPL-1.3c|LaTeX\WProject\WPublic\WLicense\Wv1.3c)\W/i},{name:"Latex2e",fullName:"Latex2e License",identifier:"Latex2e",osiApproved:!1,regex:/\W(Latex2e|Latex2e\WLicense|Latex2e)\W/i},{name:"BSD",fullName:"Lawrence Berkeley National Labs BSD variant license",identifier:"BSD-3-Clause-LBNL",osiApproved:!1,regex:/\W(BSD-3-Clause-LBNL|Lawrence\WBerkeley\WNational\WLabs\WBSD\Wvariant\Wlicense)\W/i},{name:"Leptonica",fullName:"Leptonica License",identifier:"Leptonica",osiApproved:!1,regex:/\W(Leptonica\WLicense)\W/i},{name:"LGPLLR",fullName:"Lesser General Public License For Linguistic Resources",identifier:"LGPLLR",osiApproved:!1,regex:/\W(Lesser\WGeneral\WPublic\WLicense\WFor\WLinguistic\WResources)\W/i},{name:"Libpng",fullName:"libpng License",identifier:"Libpng",osiApproved:!1,regex:/\W(libpng\WLicense)\W/i},{name:"libtiff",fullName:"libtiff License",identifier:"libtiff",osiApproved:!1,regex:/\W(libtiff\WLicense)\W/i},{name:"LPL",fullName:"Lucent Public License v1.02",identifier:"LPL-1.02",osiApproved:!0,regex:/\W(LPL-1.02|Lucent\WPublic\WLicense\Wv1.02)\W/i},{name:"LPL",fullName:"Lucent Public License Version 1.0",identifier:"LPL-1.0",osiApproved:!0,regex:/\W(LPL-1.0|Lucent\WPublic\WLicense\WVersion\W1.0)\W/i},{name:"MakeIndex",fullName:"MakeIndex License",identifier:"MakeIndex",osiApproved:!1,regex:/\W(MakeIndex\WLicense)\W/i},{name:"MTLL",fullName:"Matrix Template Library License",identifier:"MTLL",osiApproved:!1,regex:/\W(Matrix\WTemplate\WLibrary\WLicense)\W/i},{name:"MS-PL",fullName:"Microsoft Public License",identifier:"MS-PL",osiApproved:!0,regex:/\W(MS-PL|Microsoft\WPublic\WLicense|MS-PL)\W/i},{name:"MS-RL",fullName:"Microsoft Reciprocal License",identifier:"MS-RL",osiApproved:!0,regex:/\W(MS-RL|Microsoft\WReciprocal\WLicense|MS-RL)\W/i},{name:"MirOS",fullName:"MirOS Licence",identifier:"MirOS",osiApproved:!0,regex:/\W(MirOS\WLicence)\W/i},{name:"MITNFA",fullName:"MIT +no-false-attribs license",identifier:"MITNFA",osiApproved:!1,regex:/\W(MIT\W+no-false-attribs\Wlicense)\W/i},{name:"MIT",fullName:"MIT License",identifier:"MIT",osiApproved:!0,regex:/\W(MIT\WLicense)\W/i},{name:"Motosoto",fullName:"Motosoto License",identifier:"Motosoto",osiApproved:!0,regex:/\W(Motosoto\WLicense)\W/i},{name:"MPL",fullName:"Mozilla Public License 1.0",identifier:"MPL-1.0",osiApproved:!0,regex:/\W(MPL-1.0|Mozilla\WPublic\WLicense\W1.0)\W/i},{name:"MPL",fullName:"Mozilla Public License 1.1",identifier:"MPL-1.1",osiApproved:!0,regex:/\W(MPL-1.1|Mozilla\WPublic\WLicense\W1.1)\W/i},{name:"MPL",fullName:"Mozilla Public License 2.0",identifier:"MPL-2.0",osiApproved:!0,regex:/\W(MPL-2.0|Mozilla\WPublic\WLicense\W2.0)\W/i},{name:"MPL",fullName:"Mozilla Public License 2.0 (no copyleft exception)",identifier:"MPL-2.0-no-copyleft-exception",osiApproved:!0,regex:/\W(MPL-2.0-no-copyleft-exception|Mozilla\WPublic\WLicense\W2.0\W(no\Wcopyleft\Wexception))\W/i},{name:"mpich2",fullName:"mpich2 License",identifier:"mpich2",osiApproved:!1,regex:/\W(mpich2|mpich2\WLicense|mpich2)\W/i},{name:"Multics",fullName:"Multics License",identifier:"Multics",osiApproved:!0,regex:/\W(Multics\WLicense)\W/i},{name:"Mup",fullName:"Mup License",identifier:"Mup",osiApproved:!1,regex:/\W(Mup\WLicense)\W/i},{name:"NASA",fullName:"NASA Open Source Agreement 1.3",identifier:"NASA-1.3",osiApproved:!0,regex:/\W(NASA-1.3|NASA\WOpen\WSource\WAgreement\W1.3)\W/i},{name:"Naumen",fullName:"Naumen Public License",identifier:"Naumen",osiApproved:!0,regex:/\W(Naumen\WPublic\WLicense)\W/i},{name:"NBPL",fullName:"Net Boolean Public License v1",identifier:"NBPL-1.0",osiApproved:!1,regex:/\W(NBPL-1.0|Net\WBoolean\WPublic\WLicense\Wv1)\W/i},{name:"NetCDF",fullName:"NetCDF license",identifier:"NetCDF",osiApproved:!1,regex:/\W(NetCDF\Wlicense)\W/i},{name:"NGPL",fullName:"Nethack General Public License",identifier:"NGPL",osiApproved:!0,regex:/\W(Nethack\WGeneral\WPublic\WLicense)\W/i},{name:"NOSL",fullName:"Netizen Open Source License",identifier:"NOSL",osiApproved:!1,regex:/\W(Netizen\WOpen\WSource\WLicense)\W/i},{name:"NPL",fullName:"Netscape Public License v1.0",identifier:"NPL-1.0",osiApproved:!1,regex:/\W(NPL-1.0|Netscape\WPublic\WLicense\Wv1.0)\W/i},{name:"NPL",fullName:"Netscape Public License v1.1",identifier:"NPL-1.1",osiApproved:!1,regex:/\W(NPL-1.1|Netscape\WPublic\WLicense\Wv1.1)\W/i},{name:"Newsletr",fullName:"Newsletr License",identifier:"Newsletr",osiApproved:!1,regex:/\W(Newsletr\WLicense)\W/i},{name:"NLPL",fullName:"No Limit Public License",identifier:"NLPL",osiApproved:!1,regex:/\W(No\WLimit\WPublic\WLicense)\W/i},{name:"Nokia",fullName:"Nokia Open Source License",identifier:"Nokia",osiApproved:!0,regex:/\W(Nokia\WOpen\WSource\WLicense)\W/i},{name:"NPOSL",fullName:"Non-Profit Open Software License 3.0",identifier:"NPOSL-3.0",osiApproved:!0,regex:/\W(NPOSL-3.0|Non-Profit\WOpen\WSoftware\WLicense\W3.0)\W/i},{name:"Noweb",fullName:"Noweb License",identifier:"Noweb",osiApproved:!1,regex:/\W(Noweb\WLicense)\W/i},{name:"NRL",fullName:"NRL License",identifier:"NRL",osiApproved:!1,regex:/\W(NRL\WLicense)\W/i},{name:"NTP",fullName:"NTP License",identifier:"NTP",osiApproved:!0,negate:/NTP synchronizing/i,regex:/\W(NTP\WLicense)\W/i},{name:"Nunit",fullName:"Nunit License",identifier:"Nunit",osiApproved:!1,regex:/\W(Nunit\WLicense)\W/i},{name:"OCLC",fullName:"OCLC Research Public License 2.0",identifier:"OCLC-2.0",osiApproved:!0,regex:/\W(OCLC-2.0|OCLC\WResearch\WPublic\WLicense\W2.0)\W/i},{name:"ODbL",fullName:"ODC Open Database License v1.0",identifier:"ODbL-1.0",osiApproved:!1,regex:/\W(ODbL-1.0|ODC\WOpen\WDatabase\WLicense\Wv1.0)\W/i},{name:"PDDL",fullName:"ODC Public Domain Dedication & License 1.0",identifier:"PDDL-1.0",osiApproved:!1,regex:/\W(PDDL-1.0|ODC\WPublic\WDomain\WDedication\W&\WLicense\W1.0)\W/i},{name:"OCCT-PL",fullName:"Open CASCADE Technology Public License",identifier:"OCCT-PL",osiApproved:!1,regex:/\W(OCCT-PL|Open\WCASCADE\WTechnology\WPublic\WLicense|OCCT-PL)\W/i},{name:"OGTSL",fullName:"Open Group Test Suite License",identifier:"OGTSL",osiApproved:!0,regex:/\W(Open\WGroup\WTest\WSuite\WLicense)\W/i},{name:"OLDAP",fullName:"Open LDAP Public License 2.2.2",identifier:"OLDAP-2.2.2",osiApproved:!1,regex:/\W(OLDAP-2.2.2|Open\WLDAP\WPublic\WLicense\W2.2.2)\W/i},{name:"OLDAP",fullName:"Open LDAP Public License v1.1",identifier:"OLDAP-1.1",osiApproved:!1,regex:/\W(OLDAP-1.1|Open\WLDAP\WPublic\WLicense\Wv1.1)\W/i},{name:"OLDAP",fullName:"Open LDAP Public License v1.2",identifier:"OLDAP-1.2",osiApproved:!1,regex:/\W(OLDAP-1.2|Open\WLDAP\WPublic\WLicense\Wv1.2)\W/i},{name:"OLDAP",fullName:"Open LDAP Public License v1.3",identifier:"OLDAP-1.3",osiApproved:!1,regex:/\W(OLDAP-1.3|Open\WLDAP\WPublic\WLicense\Wv1.3)\W/i},{name:"OLDAP",fullName:"Open LDAP Public License v1.4",identifier:"OLDAP-1.4",osiApproved:!1,regex:/\W(OLDAP-1.4|Open\WLDAP\WPublic\WLicense\Wv1.4)\W/i},{name:"OLDAP",fullName:"Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B)",identifier:"OLDAP-2.0",osiApproved:!1,regex:/\W(OLDAP-2.0|Open\WLDAP\WPublic\WLicense\Wv2.0\W(or\Wpossibly\W2.0A\Wand\W2.0B))\W/i},{name:"OLDAP",fullName:"Open LDAP Public License v2.0.1",identifier:"OLDAP-2.0.1",osiApproved:!1,regex:/\W(OLDAP-2.0.1|Open\WLDAP\WPublic\WLicense\Wv2.0.1)\W/i},{name:"OLDAP",fullName:"Open LDAP Public License v2.1",identifier:"OLDAP-2.1",osiApproved:!1,regex:/\W(OLDAP-2.1|Open\WLDAP\WPublic\WLicense\Wv2.1)\W/i},{name:"OLDAP",fullName:"Open LDAP Public License v2.2",identifier:"OLDAP-2.2",osiApproved:!1,regex:/\W(OLDAP-2.2|Open\WLDAP\WPublic\WLicense\Wv2.2)\W/i},{name:"OLDAP",fullName:"Open LDAP Public License v2.2.1",identifier:"OLDAP-2.2.1",osiApproved:!1,regex:/\W(OLDAP-2.2.1|Open\WLDAP\WPublic\WLicense\Wv2.2.1)\W/i},{name:"OLDAP",fullName:"Open LDAP Public License v2.3",identifier:"OLDAP-2.3",osiApproved:!1,regex:/\W(OLDAP-2.3|Open\WLDAP\WPublic\WLicense\Wv2.3)\W/i},{name:"OLDAP",fullName:"Open LDAP Public License v2.4",identifier:"OLDAP-2.4",osiApproved:!1,regex:/\W(OLDAP-2.4|Open\WLDAP\WPublic\WLicense\Wv2.4)\W/i},{name:"OLDAP",fullName:"Open LDAP Public License v2.5",identifier:"OLDAP-2.5",osiApproved:!1,regex:/\W(OLDAP-2.5|Open\WLDAP\WPublic\WLicense\Wv2.5)\W/i},{name:"OLDAP",fullName:"Open LDAP Public License v2.6",identifier:"OLDAP-2.6",osiApproved:!1,regex:/\W(OLDAP-2.6|Open\WLDAP\WPublic\WLicense\Wv2.6)\W/i},{name:"OLDAP",fullName:"Open LDAP Public License v2.7",identifier:"OLDAP-2.7",osiApproved:!1,regex:/\W(OLDAP-2.7|Open\WLDAP\WPublic\WLicense\Wv2.7)\W/i},{name:"OLDAP",fullName:"Open LDAP Public License v2.8",identifier:"OLDAP-2.8",osiApproved:!1,regex:/\W(OLDAP-2.8|Open\WLDAP\WPublic\WLicense\Wv2.8)\W/i},{name:"OML",fullName:"Open Market License",identifier:"OML",osiApproved:!1,regex:/\W(Open\WMarket\WLicense)\W/i},{name:"OPL",fullName:"Open Public License v1.0",identifier:"OPL-1.0",osiApproved:!1,regex:/\W(OPL-1.0|Open\WPublic\WLicense\Wv1.0)\W/i},{name:"OSL",fullName:"Open Software License 1.0",identifier:"OSL-1.0",osiApproved:!0,regex:/\W(OSL-1.0|Open\WSoftware\WLicense\W1.0)\W/i},{name:"OSL",fullName:"Open Software License 1.1",identifier:"OSL-1.1",osiApproved:!1,regex:/\W(OSL-1.1|Open\WSoftware\WLicense\W1.1)\W/i},{name:"OSL",fullName:"Open Software License 2.0",identifier:"OSL-2.0",osiApproved:!0,regex:/\W(OSL-2.0|Open\WSoftware\WLicense\W2.0)\W/i},{name:"OSL",fullName:"Open Software License 2.1",identifier:"OSL-2.1",osiApproved:!0,regex:/\W(OSL-2.1|Open\WSoftware\WLicense\W2.1)\W/i},{name:"OSL",fullName:"Open Software License 3.0",identifier:"OSL-3.0",osiApproved:!0,regex:/\W(OSL-3.0|Open\WSoftware\WLicense\W3.0)\W/i},{name:"OpenSSL",fullName:"OpenSSL License",identifier:"OpenSSL",osiApproved:!1,regex:/\W(OpenSSL\WLicense)\W/i},{name:"PHP",fullName:"PHP License v3.0",identifier:"PHP-3.0",osiApproved:!0,regex:/\W(PHP-3.0|PHP\WLicense\Wv3.0)\W/i},{name:"PHP",fullName:"PHP License v3.01",identifier:"PHP-3.01",osiApproved:!1,regex:/\W(PHP-3.01|PHP\WLicense\Wv3.01)\W/i},{name:"Plexus",fullName:"Plexus Classworlds License",identifier:"Plexus",osiApproved:!1,regex:/\W(Plexus\WClassworlds\WLicense)\W/i},{name:"PostgreSQL",fullName:"PostgreSQL License",identifier:"PostgreSQL",osiApproved:!0,regex:/\W(PostgreSQL\WLicense)\W/i},{name:"psfrag",fullName:"psfrag License",identifier:"psfrag",osiApproved:!1,regex:/\W(psfrag\WLicense)\W/i},{name:"psutils",fullName:"psutils License",identifier:"psutils",osiApproved:!1,regex:/\W(psutils\WLicense)\W/i},{name:"Python",fullName:"Python License 2.0",identifier:"Python-2.0",osiApproved:!0,regex:/\W(Python-2.0|Python\WLicense\W2.0)\W/i},{name:"QPL",fullName:"Q Public License 1.0",identifier:"QPL-1.0",osiApproved:!0,regex:/\W(QPL-1.0|Q\WPublic\WLicense\W1.0)\W/i},{name:"Qhull",fullName:"Qhull License",identifier:"Qhull",osiApproved:!1,regex:/\W(Qhull\WLicense)\W/i},{name:"Rdisc",fullName:"Rdisc License",identifier:"Rdisc",osiApproved:!1,regex:/\W(Rdisc\WLicense)\W/i},{name:"RPSL",fullName:"RealNetworks Public Source License v1.0",identifier:"RPSL-1.0",osiApproved:!0,regex:/\W(RPSL-1.0|RealNetworks\WPublic\WSource\WLicense\Wv1.0)\W/i},{name:"RPL",fullName:"Reciprocal Public License 1.1",identifier:"RPL-1.1",osiApproved:!0,regex:/\W(RPL-1.1|Reciprocal\WPublic\WLicense\W1.1)\W/i},{name:"RPL",fullName:"Reciprocal Public License 1.5",identifier:"RPL-1.5",osiApproved:!0,regex:/\W(RPL-1.5|Reciprocal\WPublic\WLicense\W1.5)\W/i},{name:"RHeCos",fullName:"Red Hat eCos Public License v1.1",identifier:"RHeCos-1.1",osiApproved:!1,regex:/\W(RHeCos-1.1|Red\WHat\WeCos\WPublic\WLicense\Wv1.1)\W/i},{name:"RSCPL",fullName:"Ricoh Source Code Public License",identifier:"RSCPL",osiApproved:!0,regex:/\W(Ricoh\WSource\WCode\WPublic\WLicense)\W/i},{name:"RSA-MD",fullName:"RSA Message-Digest License",identifier:"RSA-MD",osiApproved:!1,regex:/\W(RSA-MD|RSA\WMessage-Digest\WLicense|RSA-MD)\W/i},{name:"Ruby",fullName:"Ruby License",identifier:"Ruby",osiApproved:!1,regex:/\W(Ruby\WLicense)\W/i},{name:"SAX-PD",fullName:"Sax Public Domain Notice",identifier:"SAX-PD",osiApproved:!1,regex:/\W(SAX-PD|Sax\WPublic\WDomain\WNotice|SAX-PD)\W/i},{name:"Saxpath",fullName:"Saxpath License",identifier:"Saxpath",osiApproved:!1,regex:/\W(Saxpath\WLicense)\W/i},{name:"SCEA",fullName:"SCEA Shared Source License",identifier:"SCEA",osiApproved:!1,regex:/\W(SCEA\WShared\WSource\WLicense)\W/i},{name:"SWL",fullName:"Scheme Widget Library (SWL) Software License Agreement",identifier:"SWL",osiApproved:!1,regex:/\W(Scheme\WWidget\WLibrary\W(SWL)\WSoftware\WLicense\WAgreement)\W/i},{name:"Sendmail",fullName:"Sendmail License",identifier:"Sendmail",osiApproved:!1,regex:/\W(Sendmail\WLicense)\W/i},{name:"SGI-B",fullName:"SGI Free Software License B v1.0",identifier:"SGI-B-1.0",osiApproved:!1,regex:/\W(SGI-B-1.0|SGI\WFree\WSoftware\WLicense\WB\Wv1.0|SGI-B)\W/i},{name:"SGI-B",fullName:"SGI Free Software License B v1.1",identifier:"SGI-B-1.1",osiApproved:!1,regex:/\W(SGI-B-1.1|SGI\WFree\WSoftware\WLicense\WB\Wv1.1|SGI-B)\W/i},{name:"SGI-B",fullName:"SGI Free Software License B v2.0",identifier:"SGI-B-2.0",osiApproved:!1,regex:/\W(SGI-B-2.0|SGI\WFree\WSoftware\WLicense\WB\Wv2.0|SGI-B)\W/i},{name:"OFL",fullName:"SIL Open Font License 1.0",identifier:"OFL-1.0",osiApproved:!1,regex:/\W(OFL-1.0|SIL\WOpen\WFont\WLicense\W1.0)\W/i},{name:"OFL",fullName:"SIL Open Font License 1.1",identifier:"OFL-1.1",osiApproved:!0,regex:/\W(OFL-1.1|SIL\WOpen\WFont\WLicense\W1.1)\W/i},{name:"SimPL",fullName:"Simple Public License 2.0",identifier:"SimPL-2.0",osiApproved:!0,regex:/\W(SimPL-2.0|Simple\WPublic\WLicense\W2.0)\W/i},{name:"Sleepycat",fullName:"Sleepycat License",identifier:"Sleepycat",osiApproved:!0,regex:/\W(Sleepycat\WLicense)\W/i},{name:"SNIA",fullName:"SNIA Public License 1.1",identifier:"SNIA",osiApproved:!1,regex:/\W(SNIA\WPublic\WLicense\W1.1)\W/i},{name:"Spencer",fullName:"Spencer License 86",identifier:"Spencer-86",osiApproved:!1,regex:/\W(Spencer-86|Spencer\WLicense\W86)\W/i},{name:"Spencer",fullName:"Spencer License 94",identifier:"Spencer-94",osiApproved:!1,regex:/\W(Spencer-94|Spencer\WLicense\W94)\W/i},{name:"Spencer",fullName:"Spencer License 99",identifier:"Spencer-99",osiApproved:!1,regex:/\W(Spencer-99|Spencer\WLicense\W99)\W/i},{name:"SMLNJ",fullName:"Standard ML of New Jersey License",identifier:"SMLNJ",osiApproved:!1,regex:/\W(Standard\WML\Wof\WNew\WJersey\WLicense)\W/i},{name:"SugarCRM",fullName:"SugarCRM Public License v1.1.3",identifier:"SugarCRM-1.1.3",osiApproved:!1,regex:/\W(SugarCRM-1.1.3|SugarCRM\WPublic\WLicense\Wv1.1.3)\W/i},{name:"SISSL",fullName:"Sun Industry Standards Source License v1.1",identifier:"SISSL",osiApproved:!0,regex:/\W(Sun\WIndustry\WStandards\WSource\WLicense\Wv1.1)\W/i},{name:"SISSL",fullName:"Sun Industry Standards Source License v1.2",identifier:"SISSL-1.2",osiApproved:!1,regex:/\W(SISSL-1.2|Sun\WIndustry\WStandards\WSource\WLicense\Wv1.2)\W/i},{name:"SPL",fullName:"Sun Public License v1.0",identifier:"SPL-1.0",osiApproved:!0,regex:/\W(SPL-1.0|Sun\WPublic\WLicense\Wv1.0)\W/i},{name:"Watcom",fullName:"Sybase Open Watcom Public License 1.0",identifier:"Watcom-1.0",osiApproved:!0,regex:/\W(Watcom-1.0|Sybase\WOpen\WWatcom\WPublic\WLicense\W1.0)\W/i},{name:"TCL",fullName:"TCL/TK License",identifier:"TCL",osiApproved:!1,regex:/\W(TCL\/TK\WLicense)\W/i},{name:"Unlicense",fullName:"The Unlicense",identifier:"Unlicense",osiApproved:!1,regex:/\W(The\WUnlicense)\W/i},{name:"TMate",fullName:"TMate Open Source License",identifier:"TMate",osiApproved:!1,regex:/\W(TMate\WOpen\WSource\WLicense)\W/i},{name:"TORQUE",fullName:"TORQUE v2.5+ Software License v1.1",identifier:"TORQUE-1.1",osiApproved:!1,regex:/\W(TORQUE-1.1|TORQUE\Wv2.5+\WSoftware\WLicense\Wv1.1)\W/i},{name:"TOSL",fullName:"Trusster Open Source License",identifier:"TOSL",osiApproved:!1,regex:/\W(Trusster\WOpen\WSource\WLicense)\W/i},{name:"Unicode-TOU",fullName:"Unicode Terms of Use",identifier:"Unicode-TOU",osiApproved:!1,regex:/\W(Unicode-TOU|Unicode\WTerms\Wof\WUse|Unicode-TOU)\W/i},{name:"UPL",fullName:"Universal Permissive License v1.0",identifier:"UPL-1.0",osiApproved:!0,regex:/\W(UPL-1.0|Universal\WPermissive\WLicense\Wv1.0)\W/i},{name:"NCSA",fullName:"University of Illinois/NCSA Open Source License",identifier:"NCSA",osiApproved:!0,regex:/\W(University\Wof\WIllinois\/NCSA\WOpen\WSource\WLicense)\W/i},{name:"Vim",fullName:"Vim License",identifier:"Vim",osiApproved:!1,regex:/\W(Vim\WLicense)\W/i},{name:"VOSTROM",fullName:"VOSTROM Public License for Open Source",identifier:"VOSTROM",osiApproved:!1,regex:/\W(VOSTROM\WPublic\WLicense\Wfor\WOpen\WSource)\W/i},{name:"VSL",fullName:"Vovida Software License v1.0",identifier:"VSL-1.0",osiApproved:!0,regex:/\W(VSL-1.0|Vovida\WSoftware\WLicense\Wv1.0)\W/i},{name:"W3C-19980720",fullName:"W3C Software Notice and License (1998-07-20)",identifier:"W3C-19980720",osiApproved:!1,regex:/\W(W3C-19980720|W3C\WSoftware\WNotice\Wand\WLicense\W(1998-07-20)|W3C-19980720)\W/i},{name:"W3C",fullName:"W3C Software Notice and License (2002-12-31)",identifier:"W3C",osiApproved:!0,regex:/\W(W3C|W3C\WSoftware\WNotice\Wand\WLicense\W(2002-12-31)|W3C)\W/i},{name:"Wsuipa",fullName:"Wsuipa License",identifier:"Wsuipa",osiApproved:!1,regex:/\W(Wsuipa\WLicense)\W/i},{name:"Xnet",fullName:"X.Net License",identifier:"Xnet",osiApproved:!0,regex:/\W(X.Net\WLicense)\W/i},{name:"MIT",fullName:"X11 License",identifier:"X11",osiApproved:!1,regex:/\W(X11|X11\WLicense|X11)\W/i},{name:"Xerox",fullName:"Xerox License",identifier:"Xerox",osiApproved:!1,regex:/\W(Xerox\WLicense)\W/i},{name:"XFree86",fullName:"XFree86 License 1.1",identifier:"XFree86-1.1",osiApproved:!1,regex:/\W(XFree86-1.1|XFree86\WLicense\W1.1|XFree86)\W/i},{name:"xinetd",fullName:"xinetd License",identifier:"xinetd",osiApproved:!1,regex:/\W(xinetd\WLicense)\W/i},{name:"xpp",fullName:"XPP License",identifier:"xpp",osiApproved:!1,regex:/\W(XPP\WLicense)\W/i},{name:"XSkat",fullName:"XSkat License",identifier:"XSkat",osiApproved:!1,regex:/\W(XSkat\WLicense)\W/i},{name:"YPL",fullName:"Yahoo! Public License v1.0",identifier:"YPL-1.0",osiApproved:!1,regex:/\W(YPL-1.0|Yahoo!\WPublic\WLicense\Wv1.0)\W/i},{name:"YPL",fullName:"Yahoo! Public License v1.1",identifier:"YPL-1.1",osiApproved:!1,regex:/\W(YPL-1.1|Yahoo!\WPublic\WLicense\Wv1.1)\W/i},{name:"Zed",fullName:"Zed License",identifier:"Zed",osiApproved:!1,regex:/\W(Zed\WLicense)\W/i},{name:"Zend",fullName:"Zend License v2.0",identifier:"Zend-2.0",osiApproved:!1,regex:/\W(Zend-2.0|Zend\WLicense\Wv2.0)\W/i},{name:"Zimbra",fullName:"Zimbra Public License v1.3",identifier:"Zimbra-1.3",osiApproved:!1,regex:/\W(Zimbra-1.3|Zimbra\WPublic\WLicense\Wv1.3)\W/i},{name:"Zimbra",fullName:"Zimbra Public License v1.4",identifier:"Zimbra-1.4",osiApproved:!1,regex:/\W(Zimbra-1.4|Zimbra\WPublic\WLicense\Wv1.4)\W/i},{name:"Zlib",fullName:"zlib License",identifier:"Zlib",osiApproved:!0,regex:/\W(zlib\WLicense)\W/i},{name:"Zlib",fullName:"zlib/libpng License with Acknowledgement",identifier:"zlib-acknowledgement",osiApproved:!1,regex:/\W(zlib-acknowledgement|zlib\/libpng\WLicense\Wwith\WAcknowledgement)\W/i},{name:"ZPL",fullName:"Zope Public License 1.1",identifier:"ZPL-1.1",osiApproved:!1,regex:/\W(ZPL-1.1|Zope\WPublic\WLicense\W1.1)\W/i},{name:"ZPL",fullName:"Zope Public License 2.0",identifier:"ZPL-2.0",osiApproved:!0,regex:/\W(ZPL-2.0|Zope\WPublic\WLicense\W2.0)\W/i},{name:"ZPL",fullName:"Zope Public License 2.1",identifier:"ZPL-2.1",osiApproved:!1,regex:/\W(ZPL-2.1|Zope\WPublic\WLicense\W2.1)\W/i}]);const I=e=>i=>!i.negate||!i.negate.test(e),D=e=>i=>i.regex&&i.regex.test(e),B=e=>i=>i.text&&e.includes(C(i.text));var w=e=>[...new Set([...O.filter(D(C(e))),...O.filter(B(C(e)))].filter(I(C(e))).map(e=>e.name))],T=function(e){(e=e.replace(/^\W*/,"").replace(/\W*$/,""))&&e.length>1&&(e=e.replace(/[\-\,]+/g," ").replace(/\s+/g," ")),/(V|v)ersion\s\d/.test(e)&&(e=e.replace(/(V|v)ersion\s*/,"")),/[V|v]\d/.test(e)&&(e=e.replace(/[Vv](\d)\s*/,(e,i)=>" "+i)),/(L|l)icense\s\d/.test(e)&&(e=e.replace(/(L|l)icense\s*/,""));var i=O.find(i=>i.regex.test(e));return i?i.name:/MIT\/X11/.test(e)?"MIT":/Apache\s?2/i.test(e)?"Apache 2.0":e};const y=(e,i)=>[...e,...Array.isArray(i)?i:[i]];var E=(e={})=>[...new Set(Object.keys(e).filter(e=>/^licen(c|s)es?$/.test(e)).map(i=>e[i]).reduce(y,[]).map(e=>e.type||e).join(" + ").replace(/\W+(AND|OR)\W+/gi," + ").split(" + ").map(T).filter(Boolean).sort())];const{join:R,list:F,read:M,stat:G,walk:Y}=A,{relative:U,isAbsolute:k}=s.default,H=(e,i)=>F(e).filter(e=>i.test(e)).filter(e=>G(e).isFile()).map(M).map(w).reduce((e,i)=>[...e,...i],[]),j=async e=>{try{return await M(await R(e,"package.json")).then(e=>JSON.parse(e))}catch(e){return}},Z=/(\/|\\)package\.json$/,z=/(license|copying)(\.md|\.txt)?$/i,X=/readme(\.md|\.txt)?$/i,_=/(\/test\/)|(\\test\\)/;var V=async(e="./node_modules")=>Y(e).map(i=>(k(e)||(i=U(process.cwd(),i)),i)).filter(e=>Z.test(e)).filter(e=>!_.test(e)).map(e=>e.replace(Z,"")).filter(e=>j(e)).map(async e=>({name:(await j(e)).name+"@"+(await j(e)).version,package:E(await j(e)),copying:await H(e,z),readme:await H(e,X)})).sort((e,i)=>e.name.localeCompare(i.name)).reduce((e,{name:i,...n})=>({...e,[i]:n}),{});const J={thin:Object.assign([["┌","┬","┐"],["├","┼","┤"],["└","┴","┘"]],{h:"─",v:"│"}),bold:Object.assign([["┏","┳","┓"],["┣","╋","┫"],["┗","┻","┛"]],{h:"━",v:"┃"}),double:Object.assign([["╔","╦","╗"],["╠","╬","╣"],["╚","╩","╝"]],{h:"═",v:"║"}),ascii:Object.assign([["+","+","+"],["+","+","+"],["+","+","+"]],{h:"-",v:"|"})};var $,Q="";function q(e){console.log(Q+e)}function K(e,i=" "){for(var n="",r=0;r<e;r++)n+=i;return n}function ee(e,i,n=" "){for(var r=(e=(""+e).slice(0,i)).length;r<i;r++)e+=n;return e}function ie(e,i,n,r){var t=Object.keys(e),o=t.map(i=>e[i]),a=i.title?$[1][0]:$[0][0],s=i.title?$[1][2]:$[0][2],W=n?$[1][1]:$[0][1];q(a+o.map(e=>$.h+K(e,$.h)+$.h).join(W)+s),r||(q($.v+" "+t.map((e,i)=>ee(e,o[i])).join(" "+$.v+" ")+" "+$.v),q($[1][0]+o.map(e=>$.h+K(e,$.h)+$.h).join($[1][1])+$[1][2]))}var ne=function(e=[],i={"-":76},n={}){var r,t=Object.keys(i).map(e=>i[e]);n.repeat=n.repeat||!1,Q=K(n.margin||0),r=n.border,$=J[r]||J.thin,q("\n"),n.title&&function(e,i,n){var r=e.length,t=i.reduce((e,i)=>e+i+3,0)-1,o=parseInt((t-r)/2);n.plain||(e="[1m"+e+"[22m"),q($[0][0]+i.map(e=>$.h+K(e,$.h)+$.h).join($.h)+$[0][2]),q($.v+i.map(e=>" "+K(e," ")+" ").join(" ")+$.v),q($.v+K(o)+e+K(t-o-r)+$.v),q($.v+i.map(e=>" "+K(e," ")+" ").join(" ")+$.v)}(n.title,t,n),ie(i,n,!1,i instanceof Array),e.forEach((e,r)=>{n.repeat&&r%n.repeat==0&&0!=r&&ie(i,n,!0),q(e.reduce((e,i,n)=>(i instanceof Array&&(i=i.join(" + ")),e=e+$.v+" "+ee(i,t[n])+" "),"")+$.v)}),q($[2][0]+t.map(e=>$.h+K(e,$.h)+$.h).join($[2][1])+$[2][2]),q("\n")};var re=function(e,i){if(!Object.keys(e).length)throw new Error("No modules found. Are you in the right directory?");const n=e=>e.filter((({filter:e,type:i})=>n=>(n=C(n),e=e.map(C),i=i.map(C),!n||!e.length&&!i.length||(e.some(e=>n.includes(e))||i.includes(n))))(i)).join(" + ")||"-",r=Object.entries(e).map(([e,{package:i,copying:r,readme:t}])=>[e,n(i),n(r),n(t)]);i.show.includes("packages")&&ne(r,{"Module name":parseInt(25*i.width/80),package:parseInt(14*i.width/80),License:parseInt(14*i.width/80),README:parseInt(14*i.width/80)},{title:"Packages ("+r.length+")",repeat:50,...i});var t=r.reduce((e,i)=>((i=[...new Set(i.slice(1).reduce((e,i)=>e.concat(i.split(" + ")),[]).filter(e=>/^[^\?\-]/.test(e)).filter((e,i,n)=>!("Apache"===e&&n.includes("Apache 2.0"))).filter((e,i,n)=>!("BSD"===e&&n.find(e=>/BSD\s\d/.test(e)))))]).forEach(i=>{e[i]=(e[i]||0)+1}),e),{}),o=Object.keys(t).reduce((e,i)=>e+t[i],0);t=Object.keys(t).map(e=>({name:e,number:t[e],part:t[e]/o})).sort((function(e,i){return i.number!==e.number?i.number-e.number:e.name<i.name?-1:e.name>i.name?1:0})).map((e,i,n)=>[e.name,e.number,parseInt(100*e.part)]),i.show.includes("licenses")&&ne(t,{License:parseInt(40*i.width/80),Number:parseInt(12*i.width/80),"%":parseInt(12*i.width/80)},Object.assign({title:"Licenses ("+o+")",margin:3},i));var a=[],s=r.map(e=>e.slice(1).join("")).filter(e=>!/^\-+$/.test(e));if(s.length===r.length)a.push(["Great! All the dependencies are licensed"]);else{var W=parseInt(100*(r.length-s.length)/r.length),l=r.length-s.length+"/"+r.length,c=i.type.concat(i.filter);if(c.length){var p=c.join('" NOR "');a.push([W+'% of the dependencies are not "'+p+'" ('+l+")"])}else a.push([W+"% of the dependencies are unlicensed ("+l+")"])}var m=r.filter(e=>e.slice(1).filter(e=>/^\?/.test(e)).length);if(m.length){var L=1===m.length;a.push(["There "+(L?"is":"are")+" "+m.length+" dependenc"+(L?"y":"ies")+" that could not be parsed automatically"]);var d=m.map(e=>e.slice(1).filter(e=>!/^(-|\? verify)$/.test(e)));d.length===m.length?a.push([" But "+(L?"it has":"all of them have")+" another valid license"]):(L=m.length-d.length==1,a.push([" And "+(m.length-d.length)+(L?"has":"have")+" no valid license"]))}i.show.includes("reports")&&ne(a,[parseInt(70*i.width/80)],Object.assign({title:"Reports",margin:3},i))};const{tmpdir:te}=W.default,{exists:oe,join:ae,mkdir:se,remove:We,stat:le}=A,ce=c.default.exec,pe=l.default.promisify(ce),me=parseInt(process.env.CACHE||1e5,10),Le=e=>e.replace(/^[^\w@]/,"").replace(/[^\w\-.@\/]/g,"").replace(/[^\w]$/,"");var de,ue=async e=>{if(!e||!e.length)return"./node_modules";await oe(await ae(te(),"legally"))||await se(await ae(te(),"legally")),await oe(await ae(te(),"legally","package.json"))&&await se(await ae(te(),"legally")).then(We).then(se);const i=await ae(te(),"legally","pack-"+e.map(e=>{const i=e.lastIndexOf("@");return i<1?e:e.substring(0,i)+"_"+e.substring(i+1)}).join("-"));if(await oe(i)&&new Date-await le(i).atime<me)return await ae(i,"node_modules");await se(i).then(We).then(se);const n=e.map(Le).join(" ");return await pe(`cd "${i}" && npm init --yes && npm install ${n} --ignore-scripts --save-exact`),await ae(i,"node_modules")},fe=(de=Object.freeze({__proto__:null,default:["assert","buffer","child_process","cluster","console","constants","crypto","dgram","dns","domain","events","fs","http","https","module","net","os","path","process","punycode","querystring","readline","repl","stream","string_decoder","timers","tls","tty","url","util","v8","vm","zlib"]}))&&de.default||de,Ae=L((function(e){var i=new RegExp("^(?:@([^/]+?)[/])?([^/]+?)$"),n=["node_modules","favicon.ico"];(e.exports=function(e){var t=[],o=[];if(null===e)return o.push("name cannot be null"),r(t,o);if(void 0===e)return o.push("name cannot be undefined"),r(t,o);if("string"!=typeof e)return o.push("name must be a string"),r(t,o);if(e.length||o.push("name length must be greater than zero"),e.match(/^\./)&&o.push("name cannot start with a period"),e.match(/^_/)&&o.push("name cannot start with an underscore"),e.trim()!==e&&o.push("name cannot contain leading or trailing spaces"),n.forEach((function(i){e.toLowerCase()===i&&o.push(i+" is a blacklisted name")})),fe.forEach((function(i){e.toLowerCase()===i&&t.push(i+" is a core module name")})),e.length>214&&t.push("name can no longer contain more than 214 characters"),e.toLowerCase()!==e&&t.push("name can no longer contain capital letters"),/[~'!()*]/.test(e.split("/").slice(-1)[0])&&t.push('name can no longer contain special characters ("~\'!()*")'),encodeURIComponent(e)!==e){var a=e.match(i);if(a){var s=a[1],W=a[2];if(encodeURIComponent(s)===s&&encodeURIComponent(W)===W)return r(t,o)}o.push("name can only contain URL-friendly characters")}return r(t,o)}).scopedPackagePattern=i;var r=function(e,i){var n={validForNewPackages:0===i.length&&0===e.length,validForOldPackages:0===i.length,warnings:e,errors:i};return n.warnings.length||delete n.warnings,n.errors.length||delete n.errors,n}}));const Ce=e=>!Ae(e).validForOldPackages,ve=e=>{const i=e.lastIndexOf("@");return i<1?e:e.substring(0,i)};var Ne=(e={})=>{"string"==typeof(e=JSON.parse(JSON.stringify(e)))&&(e={routes:[e]}),Array.isArray(e)&&(e={routes:e}),e.routes=e.routes||[];const i=e.routes.map(ve).find(Ce);if(i)throw new Error(`Invalid package name: "${i}"`);return e.show=e.show||[],e.show=Array.isArray(e.show)?e.show:[e.show],e.p&&e.show.push("packages"),e.l&&e.show.push("licenses"),e.r&&e.show.push("reports"),e.show.length||(e.show=["packages","licenses","reports"]),e.filter=e.filter||[],e.type=e.type||[],e.plain=Boolean(e.plain),e.filter=Array.isArray(e.filter)?e.filter:[e.filter],e.type=Array.isArray(e.type)?e.type:[e.type],e.width=e.width||80,e.width="number"==typeof e.width?e.width:80,e};const Pe=async e=>{const i=Ne(e),n=await ue(i.routes);return await V(n)};Pe.RunNow=async function(){const e=p(process.argv.filter(e=>!/^\/.+$/.test(e)));var i,n,r,t;/^win/.test(process.platform)&&(e._=e._.slice(2)),e.routes=e._,i=function e(){i||setTimeout(e,1e3)}();try{n=Ne(e),console.log(`Working on "${n.routes.join(", ")||"node_modules"}". It might take a while...`),r=await ue(n.routes),t=await V(r),await re(t,n)}catch(i){throw console.error(i,e),i}finally{i=!0}};var ge=Pe;module.exports=ge;