@socketsecurity/lib 3.2.6 → 3.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -1
- package/dist/constants/node.js +1 -1
- package/dist/constants/packages.js +4 -4
- package/dist/external/@inquirer/confirm.js +3199 -18
- package/dist/external/@inquirer/input.js +3223 -18
- package/dist/external/@inquirer/password.js +3331 -18
- package/dist/external/@inquirer/search.js +3328 -21
- package/dist/external/@inquirer/select.js +3445 -21
- package/dist/external/@npmcli/package-json/lib/read-package.js +149 -2
- package/dist/external/@npmcli/package-json/lib/sort.js +96 -1
- package/dist/external/@npmcli/package-json.js +16758 -13
- package/dist/external/@npmcli/promise-spawn.js +480 -1
- package/dist/external/@socketregistry/is-unicode-supported.js +42 -1
- package/dist/external/@socketregistry/packageurl-js.js +6493 -2
- package/dist/external/@socketregistry/yocto-spinner.js +460 -4
- package/dist/external/@yarnpkg/extensions.js +1025 -1
- package/dist/external/cacache.js +13016 -12
- package/dist/external/debug.js +27 -1
- package/dist/external/del.js +7088 -2
- package/dist/external/fast-glob.js +5721 -2
- package/dist/external/fast-sort.js +140 -1
- package/dist/external/get-east-asian-width.js +90 -1
- package/dist/external/libnpmexec.js +33 -1
- package/dist/external/libnpmpack.js +67595 -129
- package/dist/external/make-fetch-happen.js +22595 -21
- package/dist/external/normalize-package-data.js +4474 -2
- package/dist/external/npm-package-arg.js +4511 -2
- package/dist/external/pacote.js +50270 -57
- package/dist/external/picomatch.js +1520 -1
- package/dist/external/semver.js +1930 -1
- package/dist/external/spdx-correct.js +1380 -1
- package/dist/external/spdx-expression-parse.js +1043 -1
- package/dist/external/streaming-iterables.js +1056 -1
- package/dist/external/validate-npm-package-name.js +100 -1
- package/dist/external/which.js +258 -1
- package/dist/external/yargs-parser.js +1075 -1
- package/dist/external/yoctocolors-cjs.js +88 -1
- package/dist/external/zod.js +15207 -13
- package/dist/lifecycle-script-names.js +3 -4
- package/dist/maintained-node-versions.js +3 -4
- package/dist/package-default-node-range.js +4 -5
- package/dist/package-default-socket-categories.js +3 -4
- package/dist/package-extensions.js +3 -4
- package/dist/utils/get-ipc.js +3 -5
- package/package.json +1 -1
|
@@ -3,4 +3,1046 @@
|
|
|
3
3
|
* Bundled from spdx-expression-parse
|
|
4
4
|
* This is a zero-dependency bundle created by esbuild.
|
|
5
5
|
*/
|
|
6
|
-
"use strict";var T=Object.defineProperty;var r=(o,e)=>T(o,"name",{value:e,configurable:!0});var l=(o,e)=>()=>(e||o((e={exports:{}}).exports,e),e.exports);var G=l((H,h)=>{h.exports=["0BSD","3D-Slicer-1.0","AAL","ADSL","AFL-1.1","AFL-1.2","AFL-2.0","AFL-2.1","AFL-3.0","AGPL-1.0-only","AGPL-1.0-or-later","AGPL-3.0-only","AGPL-3.0-or-later","AMD-newlib","AMDPLPA","AML","AML-glslang","AMPAS","ANTLR-PD","ANTLR-PD-fallback","APAFML","APL-1.0","APSL-1.0","APSL-1.1","APSL-1.2","APSL-2.0","ASWF-Digital-Assets-1.0","ASWF-Digital-Assets-1.1","Abstyles","AdaCore-doc","Adobe-2006","Adobe-Display-PostScript","Adobe-Glyph","Adobe-Utopia","Afmparse","Aladdin","Apache-1.0","Apache-1.1","Apache-2.0","App-s2p","Arphic-1999","Artistic-1.0","Artistic-1.0-Perl","Artistic-1.0-cl8","Artistic-2.0","Artistic-dist","Aspell-RU","BSD-1-Clause","BSD-2-Clause","BSD-2-Clause-Darwin","BSD-2-Clause-Patent","BSD-2-Clause-Views","BSD-2-Clause-first-lines","BSD-2-Clause-pkgconf-disclaimer","BSD-3-Clause","BSD-3-Clause-Attribution","BSD-3-Clause-Clear","BSD-3-Clause-HP","BSD-3-Clause-LBNL","BSD-3-Clause-Modification","BSD-3-Clause-No-Military-License","BSD-3-Clause-No-Nuclear-License","BSD-3-Clause-No-Nuclear-License-2014","BSD-3-Clause-No-Nuclear-Warranty","BSD-3-Clause-Open-MPI","BSD-3-Clause-Sun","BSD-3-Clause-acpica","BSD-3-Clause-flex","BSD-4-Clause","BSD-4-Clause-Shortened","BSD-4-Clause-UC","BSD-4.3RENO","BSD-4.3TAHOE","BSD-Advertising-Acknowledgement","BSD-Attribution-HPND-disclaimer","BSD-Inferno-Nettverk","BSD-Protection","BSD-Source-Code","BSD-Source-beginning-file","BSD-Systemics","BSD-Systemics-W3Works","BSL-1.0","BUSL-1.1","Baekmuk","Bahyph","Barr","Beerware","BitTorrent-1.0","BitTorrent-1.1","Bitstream-Charter","Bitstream-Vera","BlueOak-1.0.0","Boehm-GC","Boehm-GC-without-fee","Borceux","Brian-Gladman-2-Clause","Brian-Gladman-3-Clause","C-UDA-1.0","CAL-1.0","CAL-1.0-Combined-Work-Exception","CATOSL-1.1","CC-BY-1.0","CC-BY-2.0","CC-BY-2.5","CC-BY-2.5-AU","CC-BY-3.0","CC-BY-3.0-AT","CC-BY-3.0-AU","CC-BY-3.0-DE","CC-BY-3.0-IGO","CC-BY-3.0-NL","CC-BY-3.0-US","CC-BY-4.0","CC-BY-NC-1.0","CC-BY-NC-2.0","CC-BY-NC-2.5","CC-BY-NC-3.0","CC-BY-NC-3.0-DE","CC-BY-NC-4.0","CC-BY-NC-ND-1.0","CC-BY-NC-ND-2.0","CC-BY-NC-ND-2.5","CC-BY-NC-ND-3.0","CC-BY-NC-ND-3.0-DE","CC-BY-NC-ND-3.0-IGO","CC-BY-NC-ND-4.0","CC-BY-NC-SA-1.0","CC-BY-NC-SA-2.0","CC-BY-NC-SA-2.0-DE","CC-BY-NC-SA-2.0-FR","CC-BY-NC-SA-2.0-UK","CC-BY-NC-SA-2.5","CC-BY-NC-SA-3.0","CC-BY-NC-SA-3.0-DE","CC-BY-NC-SA-3.0-IGO","CC-BY-NC-SA-4.0","CC-BY-ND-1.0","CC-BY-ND-2.0","CC-BY-ND-2.5","CC-BY-ND-3.0","CC-BY-ND-3.0-DE","CC-BY-ND-4.0","CC-BY-SA-1.0","CC-BY-SA-2.0","CC-BY-SA-2.0-UK","CC-BY-SA-2.1-JP","CC-BY-SA-2.5","CC-BY-SA-3.0","CC-BY-SA-3.0-AT","CC-BY-SA-3.0-DE","CC-BY-SA-3.0-IGO","CC-BY-SA-4.0","CC-PDDC","CC-PDM-1.0","CC-SA-1.0","CC0-1.0","CDDL-1.0","CDDL-1.1","CDL-1.0","CDLA-Permissive-1.0","CDLA-Permissive-2.0","CDLA-Sharing-1.0","CECILL-1.0","CECILL-1.1","CECILL-2.0","CECILL-2.1","CECILL-B","CECILL-C","CERN-OHL-1.1","CERN-OHL-1.2","CERN-OHL-P-2.0","CERN-OHL-S-2.0","CERN-OHL-W-2.0","CFITSIO","CMU-Mach","CMU-Mach-nodoc","CNRI-Jython","CNRI-Python","CNRI-Python-GPL-Compatible","COIL-1.0","CPAL-1.0","CPL-1.0","CPOL-1.02","CUA-OPL-1.0","Caldera","Caldera-no-preamble","Catharon","ClArtistic","Clips","Community-Spec-1.0","Condor-1.1","Cornell-Lossless-JPEG","Cronyx","Crossword","CryptoSwift","CrystalStacker","Cube","D-FSL-1.0","DEC-3-Clause","DL-DE-BY-2.0","DL-DE-ZERO-2.0","DOC","DRL-1.0","DRL-1.1","DSDP","DocBook-DTD","DocBook-Schema","DocBook-Stylesheet","DocBook-XML","Dotseqn","ECL-1.0","ECL-2.0","EFL-1.0","EFL-2.0","EPICS","EPL-1.0","EPL-2.0","EUDatagrid","EUPL-1.0","EUPL-1.1","EUPL-1.2","Elastic-2.0","Entessa","ErlPL-1.1","Eurosym","FBM","FDK-AAC","FSFAP","FSFAP-no-warranty-disclaimer","FSFUL","FSFULLR","FSFULLRSD","FSFULLRWD","FSL-1.1-ALv2","FSL-1.1-MIT","FTL","Fair","Ferguson-Twofish","Frameworx-1.0","FreeBSD-DOC","FreeImage","Furuseth","GCR-docs","GD","GFDL-1.1-invariants-only","GFDL-1.1-invariants-or-later","GFDL-1.1-no-invariants-only","GFDL-1.1-no-invariants-or-later","GFDL-1.1-only","GFDL-1.1-or-later","GFDL-1.2-invariants-only","GFDL-1.2-invariants-or-later","GFDL-1.2-no-invariants-only","GFDL-1.2-no-invariants-or-later","GFDL-1.2-only","GFDL-1.2-or-later","GFDL-1.3-invariants-only","GFDL-1.3-invariants-or-later","GFDL-1.3-no-invariants-only","GFDL-1.3-no-invariants-or-later","GFDL-1.3-only","GFDL-1.3-or-later","GL2PS","GLWTPL","GPL-1.0-only","GPL-1.0-or-later","GPL-2.0-only","GPL-2.0-or-later","GPL-3.0-only","GPL-3.0-or-later","Game-Programming-Gems","Giftware","Glide","Glulxe","Graphics-Gems","Gutmann","HDF5","HIDAPI","HP-1986","HP-1989","HPND","HPND-DEC","HPND-Fenneberg-Livingston","HPND-INRIA-IMAG","HPND-Intel","HPND-Kevlin-Henney","HPND-MIT-disclaimer","HPND-Markus-Kuhn","HPND-Netrek","HPND-Pbmplus","HPND-UC","HPND-UC-export-US","HPND-doc","HPND-doc-sell","HPND-export-US","HPND-export-US-acknowledgement","HPND-export-US-modify","HPND-export2-US","HPND-merchantability-variant","HPND-sell-MIT-disclaimer-xserver","HPND-sell-regexpr","HPND-sell-variant","HPND-sell-variant-MIT-disclaimer","HPND-sell-variant-MIT-disclaimer-rev","HTMLTIDY","HaskellReport","Hippocratic-2.1","IBM-pibs","ICU","IEC-Code-Components-EULA","IJG","IJG-short","IPA","IPL-1.0","ISC","ISC-Veillard","ImageMagick","Imlib2","Info-ZIP","Inner-Net-2.0","InnoSetup","Intel","Intel-ACPI","Interbase-1.0","JPL-image","JPNIC","JSON","Jam","JasPer-2.0","Kastrup","Kazlib","Knuth-CTAN","LAL-1.2","LAL-1.3","LGPL-2.0-only","LGPL-2.0-or-later","LGPL-2.1-only","LGPL-2.1-or-later","LGPL-3.0-only","LGPL-3.0-or-later","LGPLLR","LOOP","LPD-document","LPL-1.0","LPL-1.02","LPPL-1.0","LPPL-1.1","LPPL-1.2","LPPL-1.3a","LPPL-1.3c","LZMA-SDK-9.11-to-9.20","LZMA-SDK-9.22","Latex2e","Latex2e-translated-notice","Leptonica","LiLiQ-P-1.1","LiLiQ-R-1.1","LiLiQ-Rplus-1.1","Libpng","Linux-OpenIB","Linux-man-pages-1-para","Linux-man-pages-copyleft","Linux-man-pages-copyleft-2-para","Linux-man-pages-copyleft-var","Lucida-Bitmap-Fonts","MIPS","MIT","MIT-0","MIT-CMU","MIT-Click","MIT-Festival","MIT-Khronos-old","MIT-Modern-Variant","MIT-Wu","MIT-advertising","MIT-enna","MIT-feh","MIT-open-group","MIT-testregex","MITNFA","MMIXware","MPEG-SSG","MPL-1.0","MPL-1.1","MPL-2.0","MPL-2.0-no-copyleft-exception","MS-LPL","MS-PL","MS-RL","MTLL","Mackerras-3-Clause","Mackerras-3-Clause-acknowledgment","MakeIndex","Martin-Birgmeier","McPhee-slideshow","Minpack","MirOS","Motosoto","MulanPSL-1.0","MulanPSL-2.0","Multics","Mup","NAIST-2003","NASA-1.3","NBPL-1.0","NCBI-PD","NCGL-UK-2.0","NCL","NCSA","NGPL","NICTA-1.0","NIST-PD","NIST-PD-fallback","NIST-Software","NLOD-1.0","NLOD-2.0","NLPL","NOSL","NPL-1.0","NPL-1.1","NPOSL-3.0","NRL","NTIA-PD","NTP","NTP-0","Naumen","NetCDF","Newsletr","Nokia","Noweb","O-UDA-1.0","OAR","OCCT-PL","OCLC-2.0","ODC-By-1.0","ODbL-1.0","OFFIS","OFL-1.0","OFL-1.0-RFN","OFL-1.0-no-RFN","OFL-1.1","OFL-1.1-RFN","OFL-1.1-no-RFN","OGC-1.0","OGDL-Taiwan-1.0","OGL-Canada-2.0","OGL-UK-1.0","OGL-UK-2.0","OGL-UK-3.0","OGTSL","OLDAP-1.1","OLDAP-1.2","OLDAP-1.3","OLDAP-1.4","OLDAP-2.0","OLDAP-2.0.1","OLDAP-2.1","OLDAP-2.2","OLDAP-2.2.1","OLDAP-2.2.2","OLDAP-2.3","OLDAP-2.4","OLDAP-2.5","OLDAP-2.6","OLDAP-2.7","OLDAP-2.8","OLFL-1.3","OML","OPL-1.0","OPL-UK-3.0","OPUBL-1.0","OSET-PL-2.1","OSL-1.0","OSL-1.1","OSL-2.0","OSL-2.1","OSL-3.0","OpenPBS-2.3","OpenSSL","OpenSSL-standalone","OpenVision","PADL","PDDL-1.0","PHP-3.0","PHP-3.01","PPL","PSF-2.0","Parity-6.0.0","Parity-7.0.0","Pixar","Plexus","PolyForm-Noncommercial-1.0.0","PolyForm-Small-Business-1.0.0","PostgreSQL","Python-2.0","Python-2.0.1","QPL-1.0","QPL-1.0-INRIA-2004","Qhull","RHeCos-1.1","RPL-1.1","RPL-1.5","RPSL-1.0","RSA-MD","RSCPL","Rdisc","Ruby","Ruby-pty","SAX-PD","SAX-PD-2.0","SCEA","SGI-B-1.0","SGI-B-1.1","SGI-B-2.0","SGI-OpenGL","SGP4","SHL-0.5","SHL-0.51","SISSL","SISSL-1.2","SL","SMAIL-GPL","SMLNJ","SMPPL","SNIA","SOFA","SPL-1.0","SSH-OpenSSH","SSH-short","SSLeay-standalone","SSPL-1.0","SUL-1.0","SWL","Saxpath","SchemeReport","Sendmail","Sendmail-8.23","Sendmail-Open-Source-1.1","SimPL-2.0","Sleepycat","Soundex","Spencer-86","Spencer-94","Spencer-99","SugarCRM-1.1.3","Sun-PPP","Sun-PPP-2000","SunPro","Symlinks","TAPR-OHL-1.0","TCL","TCP-wrappers","TGPPL-1.0","TMate","TORQUE-1.1","TOSL","TPDL","TPL-1.0","TTWL","TTYP0","TU-Berlin-1.0","TU-Berlin-2.0","TermReadKey","ThirdEye","TrustedQSL","UCAR","UCL-1.0","UMich-Merit","UPL-1.0","URT-RLE","Ubuntu-font-1.0","Unicode-3.0","Unicode-DFS-2015","Unicode-DFS-2016","Unicode-TOU","UnixCrypt","Unlicense","Unlicense-libtelnet","Unlicense-libwhirlpool","VOSTROM","VSL-1.0","Vim","W3C","W3C-19980720","W3C-20150513","WTFPL","Watcom-1.0","Widget-Workshop","Wsuipa","X11","X11-distribute-modifications-variant","X11-swapped","XFree86-1.1","XSkat","Xdebug-1.03","Xerox","Xfig","Xnet","YPL-1.0","YPL-1.1","ZPL-1.1","ZPL-2.0","ZPL-2.1","Zed","Zeeff","Zend-2.0","Zimbra-1.3","Zimbra-1.4","Zlib","any-OSI","any-OSI-perl-modules","bcrypt-Solar-Designer","blessing","bzip2-1.0.6","check-cvs","checkmk","copyleft-next-0.3.0","copyleft-next-0.3.1","curl","cve-tou","diffmark","dtoa","dvipdfm","eGenix","etalab-2.0","fwlw","gSOAP-1.3b","generic-xts","gnuplot","gtkbook","hdparm","iMatix","jove","libpng-1.6.35","libpng-2.0","libselinux-1.0","libtiff","libutil-David-Nugent","lsof","magaz","mailprio","man2html","metamail","mpi-permissive","mpich2","mplus","ngrep","pkgconf","pnmstitch","psfrag","psutils","python-ldap","radvd","snprintf","softSurfer","ssh-keyscan","swrule","threeparttable","ulem","w3m","wwl","xinetd","xkeyboard-config-Zinoviev","xlock","xpp","xzoom","zlib-acknowledgement"]});var O=l((k,y)=>{y.exports=["AGPL-1.0","AGPL-3.0","BSD-2-Clause-FreeBSD","BSD-2-Clause-NetBSD","GFDL-1.1","GFDL-1.2","GFDL-1.3","GPL-1.0","GPL-2.0","GPL-2.0-with-GCC-exception","GPL-2.0-with-autoconf-exception","GPL-2.0-with-bison-exception","GPL-2.0-with-classpath-exception","GPL-2.0-with-font-exception","GPL-3.0","GPL-3.0-with-GCC-exception","GPL-3.0-with-autoconf-exception","LGPL-2.0","LGPL-2.1","LGPL-3.0","Net-SNMP","Nunit","StandardML-NJ","bzip2-1.0.5","eCos-2.0","wxWindows"]});var d=l((W,v)=>{v.exports=["389-exception","Asterisk-exception","Autoconf-exception-2.0","Autoconf-exception-3.0","Autoconf-exception-generic","Autoconf-exception-generic-3.0","Autoconf-exception-macro","Bison-exception-1.24","Bison-exception-2.2","Bootloader-exception","Classpath-exception-2.0","CLISP-exception-2.0","cryptsetup-OpenSSL-exception","DigiRule-FOSS-exception","eCos-exception-2.0","Fawkes-Runtime-exception","FLTK-exception","fmt-exception","Font-exception-2.0","freertos-exception-2.0","GCC-exception-2.0","GCC-exception-2.0-note","GCC-exception-3.1","Gmsh-exception","GNAT-exception","GNOME-examples-exception","GNU-compiler-exception","gnu-javamail-exception","GPL-3.0-interface-exception","GPL-3.0-linking-exception","GPL-3.0-linking-source-exception","GPL-CC-1.0","GStreamer-exception-2005","GStreamer-exception-2008","i2p-gpl-java-exception","KiCad-libraries-exception","LGPL-3.0-linking-exception","libpri-OpenH323-exception","Libtool-exception","Linux-syscall-note","LLGPL","LLVM-exception","LZMA-exception","mif-exception","OCaml-LGPL-linking-exception","OCCT-exception-1.0","OpenJDK-assembly-exception-1.0","openvpn-openssl-exception","PS-or-PDF-font-exception-20170817","QPL-1.0-INRIA-2004-exception","Qt-GPL-exception-1.0","Qt-LGPL-exception-1.1","Qwt-exception-1.0","SANE-exception","SHL-2.0","SHL-2.1","stunnel-exception","SWI-exception","Swift-exception","Texinfo-exception","u-boot-exception-2.0","UBDL-exception","Universal-FOSS-exception-1.0","vsftpd-openssl-exception","WxWindows-exception-3.1","x11vnc-openssl-exception"]});var I=l((K,m)=>{"use strict";var R=[].concat(G()).concat(O()),U=d();m.exports=function(o){var e=0;function c(){return e<o.length}r(c,"hasMore");function a(t){if(t instanceof RegExp){var n=o.slice(e),i=n.match(t);if(i)return e+=i[0].length,i[0]}else if(o.indexOf(t,e)===e)return e+=t.length,t}r(a,"read");function s(){a(/[ ]*/)}r(s,"skipWhitespace");function C(){for(var t,n=[/^WITH/i,/^AND/i,/^OR/i,"(",")",":","+"],i=0;i<n.length&&(t=a(n[i]),!t);i++);if(t==="+"&&e>1&&o[e-2]===" ")throw new Error("Space before `+`");return t&&{type:"OPERATOR",string:t.toUpperCase()}}r(C,"operator");function p(){return a(/[A-Za-z0-9-.]+/)}r(p,"idstring");function S(){var t=p();if(!t)throw new Error("Expected idstring at offset "+e);return t}r(S,"expectIdstring");function A(){if(a("DocumentRef-")){var t=S();return{type:"DOCUMENTREF",string:t}}}r(A,"documentRef");function N(){if(a("LicenseRef-")){var t=S();return{type:"LICENSEREF",string:t}}}r(N,"licenseRef");function x(){var t=e,n=p();if(R.indexOf(n)!==-1)return{type:"LICENSE",string:n};if(U.indexOf(n)!==-1)return{type:"EXCEPTION",string:n};e=t}r(x,"identifier");function D(){return C()||A()||N()||x()}r(D,"parseToken");for(var u=[];c()&&(s(),!!c());){var P=D();if(!P)throw new Error("Unexpected `"+o[e]+"` at offset "+e);u.push(P)}return u}});var g=l((X,F)=>{"use strict";F.exports=function(o){var e=0;function c(){return e<o.length}r(c,"hasMore");function a(){return c()?o[e]:null}r(a,"token");function s(){if(!c())throw new Error;e++}r(s,"next");function C(n){var i=a();if(i&&i.type==="OPERATOR"&&n===i.string)return s(),i.string}r(C,"parseOperator");function p(){if(C("WITH")){var n=a();if(n&&n.type==="EXCEPTION")return s(),n.string;throw new Error("Expected exception after `WITH`")}}r(p,"parseWith");function S(){var n=e,i="",L=a();if(L.type==="DOCUMENTREF"&&(s(),i+="DocumentRef-"+L.string+":",!C(":")))throw new Error("Expected `:` after `DocumentRef-...`");if(L=a(),L.type==="LICENSEREF")return s(),i+="LicenseRef-"+L.string,{license:i};e=n}r(S,"parseLicenseRef");function A(){var n=a();if(n&&n.type==="LICENSE"){s();var i={license:n.string};C("+")&&(i.plus=!0);var L=p();return L&&(i.exception=L),i}}r(A,"parseLicense");function N(){var n=C("(");if(n){var i=P();if(!C(")"))throw new Error("Expected `)`");return i}}r(N,"parseParenthesizedExpression");function x(){return N()||S()||A()}r(x,"parseAtom");function D(n,i){return r(function L(){var B=i();if(B){if(!C(n))return B;var f=L();if(!f)throw new Error("Expected expression");return{left:B,conjunction:n.toLowerCase(),right:f}}},"parseBinaryOp")}r(D,"makeBinaryOpParser");var u=D("AND",x),P=D("OR",u),t=P();if(!t||c())throw new Error("Syntax error");return t}});var M=l((Q,E)=>{"use strict";var w=I(),b=g();E.exports=function(o){return b(w(o))}});module.exports=M();
|
|
6
|
+
"use strict";
|
|
7
|
+
var __defProp = Object.defineProperty;
|
|
8
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
9
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
10
|
+
var __commonJS = (cb, mod) => function __require() {
|
|
11
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
// node_modules/.pnpm/spdx-license-ids@3.0.22/node_modules/spdx-license-ids/index.json
|
|
15
|
+
var require_spdx_license_ids = __commonJS({
|
|
16
|
+
"node_modules/.pnpm/spdx-license-ids@3.0.22/node_modules/spdx-license-ids/index.json"(exports2, module2) {
|
|
17
|
+
module2.exports = [
|
|
18
|
+
"0BSD",
|
|
19
|
+
"3D-Slicer-1.0",
|
|
20
|
+
"AAL",
|
|
21
|
+
"ADSL",
|
|
22
|
+
"AFL-1.1",
|
|
23
|
+
"AFL-1.2",
|
|
24
|
+
"AFL-2.0",
|
|
25
|
+
"AFL-2.1",
|
|
26
|
+
"AFL-3.0",
|
|
27
|
+
"AGPL-1.0-only",
|
|
28
|
+
"AGPL-1.0-or-later",
|
|
29
|
+
"AGPL-3.0-only",
|
|
30
|
+
"AGPL-3.0-or-later",
|
|
31
|
+
"AMD-newlib",
|
|
32
|
+
"AMDPLPA",
|
|
33
|
+
"AML",
|
|
34
|
+
"AML-glslang",
|
|
35
|
+
"AMPAS",
|
|
36
|
+
"ANTLR-PD",
|
|
37
|
+
"ANTLR-PD-fallback",
|
|
38
|
+
"APAFML",
|
|
39
|
+
"APL-1.0",
|
|
40
|
+
"APSL-1.0",
|
|
41
|
+
"APSL-1.1",
|
|
42
|
+
"APSL-1.2",
|
|
43
|
+
"APSL-2.0",
|
|
44
|
+
"ASWF-Digital-Assets-1.0",
|
|
45
|
+
"ASWF-Digital-Assets-1.1",
|
|
46
|
+
"Abstyles",
|
|
47
|
+
"AdaCore-doc",
|
|
48
|
+
"Adobe-2006",
|
|
49
|
+
"Adobe-Display-PostScript",
|
|
50
|
+
"Adobe-Glyph",
|
|
51
|
+
"Adobe-Utopia",
|
|
52
|
+
"Afmparse",
|
|
53
|
+
"Aladdin",
|
|
54
|
+
"Apache-1.0",
|
|
55
|
+
"Apache-1.1",
|
|
56
|
+
"Apache-2.0",
|
|
57
|
+
"App-s2p",
|
|
58
|
+
"Arphic-1999",
|
|
59
|
+
"Artistic-1.0",
|
|
60
|
+
"Artistic-1.0-Perl",
|
|
61
|
+
"Artistic-1.0-cl8",
|
|
62
|
+
"Artistic-2.0",
|
|
63
|
+
"Artistic-dist",
|
|
64
|
+
"Aspell-RU",
|
|
65
|
+
"BSD-1-Clause",
|
|
66
|
+
"BSD-2-Clause",
|
|
67
|
+
"BSD-2-Clause-Darwin",
|
|
68
|
+
"BSD-2-Clause-Patent",
|
|
69
|
+
"BSD-2-Clause-Views",
|
|
70
|
+
"BSD-2-Clause-first-lines",
|
|
71
|
+
"BSD-2-Clause-pkgconf-disclaimer",
|
|
72
|
+
"BSD-3-Clause",
|
|
73
|
+
"BSD-3-Clause-Attribution",
|
|
74
|
+
"BSD-3-Clause-Clear",
|
|
75
|
+
"BSD-3-Clause-HP",
|
|
76
|
+
"BSD-3-Clause-LBNL",
|
|
77
|
+
"BSD-3-Clause-Modification",
|
|
78
|
+
"BSD-3-Clause-No-Military-License",
|
|
79
|
+
"BSD-3-Clause-No-Nuclear-License",
|
|
80
|
+
"BSD-3-Clause-No-Nuclear-License-2014",
|
|
81
|
+
"BSD-3-Clause-No-Nuclear-Warranty",
|
|
82
|
+
"BSD-3-Clause-Open-MPI",
|
|
83
|
+
"BSD-3-Clause-Sun",
|
|
84
|
+
"BSD-3-Clause-acpica",
|
|
85
|
+
"BSD-3-Clause-flex",
|
|
86
|
+
"BSD-4-Clause",
|
|
87
|
+
"BSD-4-Clause-Shortened",
|
|
88
|
+
"BSD-4-Clause-UC",
|
|
89
|
+
"BSD-4.3RENO",
|
|
90
|
+
"BSD-4.3TAHOE",
|
|
91
|
+
"BSD-Advertising-Acknowledgement",
|
|
92
|
+
"BSD-Attribution-HPND-disclaimer",
|
|
93
|
+
"BSD-Inferno-Nettverk",
|
|
94
|
+
"BSD-Protection",
|
|
95
|
+
"BSD-Source-Code",
|
|
96
|
+
"BSD-Source-beginning-file",
|
|
97
|
+
"BSD-Systemics",
|
|
98
|
+
"BSD-Systemics-W3Works",
|
|
99
|
+
"BSL-1.0",
|
|
100
|
+
"BUSL-1.1",
|
|
101
|
+
"Baekmuk",
|
|
102
|
+
"Bahyph",
|
|
103
|
+
"Barr",
|
|
104
|
+
"Beerware",
|
|
105
|
+
"BitTorrent-1.0",
|
|
106
|
+
"BitTorrent-1.1",
|
|
107
|
+
"Bitstream-Charter",
|
|
108
|
+
"Bitstream-Vera",
|
|
109
|
+
"BlueOak-1.0.0",
|
|
110
|
+
"Boehm-GC",
|
|
111
|
+
"Boehm-GC-without-fee",
|
|
112
|
+
"Borceux",
|
|
113
|
+
"Brian-Gladman-2-Clause",
|
|
114
|
+
"Brian-Gladman-3-Clause",
|
|
115
|
+
"C-UDA-1.0",
|
|
116
|
+
"CAL-1.0",
|
|
117
|
+
"CAL-1.0-Combined-Work-Exception",
|
|
118
|
+
"CATOSL-1.1",
|
|
119
|
+
"CC-BY-1.0",
|
|
120
|
+
"CC-BY-2.0",
|
|
121
|
+
"CC-BY-2.5",
|
|
122
|
+
"CC-BY-2.5-AU",
|
|
123
|
+
"CC-BY-3.0",
|
|
124
|
+
"CC-BY-3.0-AT",
|
|
125
|
+
"CC-BY-3.0-AU",
|
|
126
|
+
"CC-BY-3.0-DE",
|
|
127
|
+
"CC-BY-3.0-IGO",
|
|
128
|
+
"CC-BY-3.0-NL",
|
|
129
|
+
"CC-BY-3.0-US",
|
|
130
|
+
"CC-BY-4.0",
|
|
131
|
+
"CC-BY-NC-1.0",
|
|
132
|
+
"CC-BY-NC-2.0",
|
|
133
|
+
"CC-BY-NC-2.5",
|
|
134
|
+
"CC-BY-NC-3.0",
|
|
135
|
+
"CC-BY-NC-3.0-DE",
|
|
136
|
+
"CC-BY-NC-4.0",
|
|
137
|
+
"CC-BY-NC-ND-1.0",
|
|
138
|
+
"CC-BY-NC-ND-2.0",
|
|
139
|
+
"CC-BY-NC-ND-2.5",
|
|
140
|
+
"CC-BY-NC-ND-3.0",
|
|
141
|
+
"CC-BY-NC-ND-3.0-DE",
|
|
142
|
+
"CC-BY-NC-ND-3.0-IGO",
|
|
143
|
+
"CC-BY-NC-ND-4.0",
|
|
144
|
+
"CC-BY-NC-SA-1.0",
|
|
145
|
+
"CC-BY-NC-SA-2.0",
|
|
146
|
+
"CC-BY-NC-SA-2.0-DE",
|
|
147
|
+
"CC-BY-NC-SA-2.0-FR",
|
|
148
|
+
"CC-BY-NC-SA-2.0-UK",
|
|
149
|
+
"CC-BY-NC-SA-2.5",
|
|
150
|
+
"CC-BY-NC-SA-3.0",
|
|
151
|
+
"CC-BY-NC-SA-3.0-DE",
|
|
152
|
+
"CC-BY-NC-SA-3.0-IGO",
|
|
153
|
+
"CC-BY-NC-SA-4.0",
|
|
154
|
+
"CC-BY-ND-1.0",
|
|
155
|
+
"CC-BY-ND-2.0",
|
|
156
|
+
"CC-BY-ND-2.5",
|
|
157
|
+
"CC-BY-ND-3.0",
|
|
158
|
+
"CC-BY-ND-3.0-DE",
|
|
159
|
+
"CC-BY-ND-4.0",
|
|
160
|
+
"CC-BY-SA-1.0",
|
|
161
|
+
"CC-BY-SA-2.0",
|
|
162
|
+
"CC-BY-SA-2.0-UK",
|
|
163
|
+
"CC-BY-SA-2.1-JP",
|
|
164
|
+
"CC-BY-SA-2.5",
|
|
165
|
+
"CC-BY-SA-3.0",
|
|
166
|
+
"CC-BY-SA-3.0-AT",
|
|
167
|
+
"CC-BY-SA-3.0-DE",
|
|
168
|
+
"CC-BY-SA-3.0-IGO",
|
|
169
|
+
"CC-BY-SA-4.0",
|
|
170
|
+
"CC-PDDC",
|
|
171
|
+
"CC-PDM-1.0",
|
|
172
|
+
"CC-SA-1.0",
|
|
173
|
+
"CC0-1.0",
|
|
174
|
+
"CDDL-1.0",
|
|
175
|
+
"CDDL-1.1",
|
|
176
|
+
"CDL-1.0",
|
|
177
|
+
"CDLA-Permissive-1.0",
|
|
178
|
+
"CDLA-Permissive-2.0",
|
|
179
|
+
"CDLA-Sharing-1.0",
|
|
180
|
+
"CECILL-1.0",
|
|
181
|
+
"CECILL-1.1",
|
|
182
|
+
"CECILL-2.0",
|
|
183
|
+
"CECILL-2.1",
|
|
184
|
+
"CECILL-B",
|
|
185
|
+
"CECILL-C",
|
|
186
|
+
"CERN-OHL-1.1",
|
|
187
|
+
"CERN-OHL-1.2",
|
|
188
|
+
"CERN-OHL-P-2.0",
|
|
189
|
+
"CERN-OHL-S-2.0",
|
|
190
|
+
"CERN-OHL-W-2.0",
|
|
191
|
+
"CFITSIO",
|
|
192
|
+
"CMU-Mach",
|
|
193
|
+
"CMU-Mach-nodoc",
|
|
194
|
+
"CNRI-Jython",
|
|
195
|
+
"CNRI-Python",
|
|
196
|
+
"CNRI-Python-GPL-Compatible",
|
|
197
|
+
"COIL-1.0",
|
|
198
|
+
"CPAL-1.0",
|
|
199
|
+
"CPL-1.0",
|
|
200
|
+
"CPOL-1.02",
|
|
201
|
+
"CUA-OPL-1.0",
|
|
202
|
+
"Caldera",
|
|
203
|
+
"Caldera-no-preamble",
|
|
204
|
+
"Catharon",
|
|
205
|
+
"ClArtistic",
|
|
206
|
+
"Clips",
|
|
207
|
+
"Community-Spec-1.0",
|
|
208
|
+
"Condor-1.1",
|
|
209
|
+
"Cornell-Lossless-JPEG",
|
|
210
|
+
"Cronyx",
|
|
211
|
+
"Crossword",
|
|
212
|
+
"CryptoSwift",
|
|
213
|
+
"CrystalStacker",
|
|
214
|
+
"Cube",
|
|
215
|
+
"D-FSL-1.0",
|
|
216
|
+
"DEC-3-Clause",
|
|
217
|
+
"DL-DE-BY-2.0",
|
|
218
|
+
"DL-DE-ZERO-2.0",
|
|
219
|
+
"DOC",
|
|
220
|
+
"DRL-1.0",
|
|
221
|
+
"DRL-1.1",
|
|
222
|
+
"DSDP",
|
|
223
|
+
"DocBook-DTD",
|
|
224
|
+
"DocBook-Schema",
|
|
225
|
+
"DocBook-Stylesheet",
|
|
226
|
+
"DocBook-XML",
|
|
227
|
+
"Dotseqn",
|
|
228
|
+
"ECL-1.0",
|
|
229
|
+
"ECL-2.0",
|
|
230
|
+
"EFL-1.0",
|
|
231
|
+
"EFL-2.0",
|
|
232
|
+
"EPICS",
|
|
233
|
+
"EPL-1.0",
|
|
234
|
+
"EPL-2.0",
|
|
235
|
+
"EUDatagrid",
|
|
236
|
+
"EUPL-1.0",
|
|
237
|
+
"EUPL-1.1",
|
|
238
|
+
"EUPL-1.2",
|
|
239
|
+
"Elastic-2.0",
|
|
240
|
+
"Entessa",
|
|
241
|
+
"ErlPL-1.1",
|
|
242
|
+
"Eurosym",
|
|
243
|
+
"FBM",
|
|
244
|
+
"FDK-AAC",
|
|
245
|
+
"FSFAP",
|
|
246
|
+
"FSFAP-no-warranty-disclaimer",
|
|
247
|
+
"FSFUL",
|
|
248
|
+
"FSFULLR",
|
|
249
|
+
"FSFULLRSD",
|
|
250
|
+
"FSFULLRWD",
|
|
251
|
+
"FSL-1.1-ALv2",
|
|
252
|
+
"FSL-1.1-MIT",
|
|
253
|
+
"FTL",
|
|
254
|
+
"Fair",
|
|
255
|
+
"Ferguson-Twofish",
|
|
256
|
+
"Frameworx-1.0",
|
|
257
|
+
"FreeBSD-DOC",
|
|
258
|
+
"FreeImage",
|
|
259
|
+
"Furuseth",
|
|
260
|
+
"GCR-docs",
|
|
261
|
+
"GD",
|
|
262
|
+
"GFDL-1.1-invariants-only",
|
|
263
|
+
"GFDL-1.1-invariants-or-later",
|
|
264
|
+
"GFDL-1.1-no-invariants-only",
|
|
265
|
+
"GFDL-1.1-no-invariants-or-later",
|
|
266
|
+
"GFDL-1.1-only",
|
|
267
|
+
"GFDL-1.1-or-later",
|
|
268
|
+
"GFDL-1.2-invariants-only",
|
|
269
|
+
"GFDL-1.2-invariants-or-later",
|
|
270
|
+
"GFDL-1.2-no-invariants-only",
|
|
271
|
+
"GFDL-1.2-no-invariants-or-later",
|
|
272
|
+
"GFDL-1.2-only",
|
|
273
|
+
"GFDL-1.2-or-later",
|
|
274
|
+
"GFDL-1.3-invariants-only",
|
|
275
|
+
"GFDL-1.3-invariants-or-later",
|
|
276
|
+
"GFDL-1.3-no-invariants-only",
|
|
277
|
+
"GFDL-1.3-no-invariants-or-later",
|
|
278
|
+
"GFDL-1.3-only",
|
|
279
|
+
"GFDL-1.3-or-later",
|
|
280
|
+
"GL2PS",
|
|
281
|
+
"GLWTPL",
|
|
282
|
+
"GPL-1.0-only",
|
|
283
|
+
"GPL-1.0-or-later",
|
|
284
|
+
"GPL-2.0-only",
|
|
285
|
+
"GPL-2.0-or-later",
|
|
286
|
+
"GPL-3.0-only",
|
|
287
|
+
"GPL-3.0-or-later",
|
|
288
|
+
"Game-Programming-Gems",
|
|
289
|
+
"Giftware",
|
|
290
|
+
"Glide",
|
|
291
|
+
"Glulxe",
|
|
292
|
+
"Graphics-Gems",
|
|
293
|
+
"Gutmann",
|
|
294
|
+
"HDF5",
|
|
295
|
+
"HIDAPI",
|
|
296
|
+
"HP-1986",
|
|
297
|
+
"HP-1989",
|
|
298
|
+
"HPND",
|
|
299
|
+
"HPND-DEC",
|
|
300
|
+
"HPND-Fenneberg-Livingston",
|
|
301
|
+
"HPND-INRIA-IMAG",
|
|
302
|
+
"HPND-Intel",
|
|
303
|
+
"HPND-Kevlin-Henney",
|
|
304
|
+
"HPND-MIT-disclaimer",
|
|
305
|
+
"HPND-Markus-Kuhn",
|
|
306
|
+
"HPND-Netrek",
|
|
307
|
+
"HPND-Pbmplus",
|
|
308
|
+
"HPND-UC",
|
|
309
|
+
"HPND-UC-export-US",
|
|
310
|
+
"HPND-doc",
|
|
311
|
+
"HPND-doc-sell",
|
|
312
|
+
"HPND-export-US",
|
|
313
|
+
"HPND-export-US-acknowledgement",
|
|
314
|
+
"HPND-export-US-modify",
|
|
315
|
+
"HPND-export2-US",
|
|
316
|
+
"HPND-merchantability-variant",
|
|
317
|
+
"HPND-sell-MIT-disclaimer-xserver",
|
|
318
|
+
"HPND-sell-regexpr",
|
|
319
|
+
"HPND-sell-variant",
|
|
320
|
+
"HPND-sell-variant-MIT-disclaimer",
|
|
321
|
+
"HPND-sell-variant-MIT-disclaimer-rev",
|
|
322
|
+
"HTMLTIDY",
|
|
323
|
+
"HaskellReport",
|
|
324
|
+
"Hippocratic-2.1",
|
|
325
|
+
"IBM-pibs",
|
|
326
|
+
"ICU",
|
|
327
|
+
"IEC-Code-Components-EULA",
|
|
328
|
+
"IJG",
|
|
329
|
+
"IJG-short",
|
|
330
|
+
"IPA",
|
|
331
|
+
"IPL-1.0",
|
|
332
|
+
"ISC",
|
|
333
|
+
"ISC-Veillard",
|
|
334
|
+
"ImageMagick",
|
|
335
|
+
"Imlib2",
|
|
336
|
+
"Info-ZIP",
|
|
337
|
+
"Inner-Net-2.0",
|
|
338
|
+
"InnoSetup",
|
|
339
|
+
"Intel",
|
|
340
|
+
"Intel-ACPI",
|
|
341
|
+
"Interbase-1.0",
|
|
342
|
+
"JPL-image",
|
|
343
|
+
"JPNIC",
|
|
344
|
+
"JSON",
|
|
345
|
+
"Jam",
|
|
346
|
+
"JasPer-2.0",
|
|
347
|
+
"Kastrup",
|
|
348
|
+
"Kazlib",
|
|
349
|
+
"Knuth-CTAN",
|
|
350
|
+
"LAL-1.2",
|
|
351
|
+
"LAL-1.3",
|
|
352
|
+
"LGPL-2.0-only",
|
|
353
|
+
"LGPL-2.0-or-later",
|
|
354
|
+
"LGPL-2.1-only",
|
|
355
|
+
"LGPL-2.1-or-later",
|
|
356
|
+
"LGPL-3.0-only",
|
|
357
|
+
"LGPL-3.0-or-later",
|
|
358
|
+
"LGPLLR",
|
|
359
|
+
"LOOP",
|
|
360
|
+
"LPD-document",
|
|
361
|
+
"LPL-1.0",
|
|
362
|
+
"LPL-1.02",
|
|
363
|
+
"LPPL-1.0",
|
|
364
|
+
"LPPL-1.1",
|
|
365
|
+
"LPPL-1.2",
|
|
366
|
+
"LPPL-1.3a",
|
|
367
|
+
"LPPL-1.3c",
|
|
368
|
+
"LZMA-SDK-9.11-to-9.20",
|
|
369
|
+
"LZMA-SDK-9.22",
|
|
370
|
+
"Latex2e",
|
|
371
|
+
"Latex2e-translated-notice",
|
|
372
|
+
"Leptonica",
|
|
373
|
+
"LiLiQ-P-1.1",
|
|
374
|
+
"LiLiQ-R-1.1",
|
|
375
|
+
"LiLiQ-Rplus-1.1",
|
|
376
|
+
"Libpng",
|
|
377
|
+
"Linux-OpenIB",
|
|
378
|
+
"Linux-man-pages-1-para",
|
|
379
|
+
"Linux-man-pages-copyleft",
|
|
380
|
+
"Linux-man-pages-copyleft-2-para",
|
|
381
|
+
"Linux-man-pages-copyleft-var",
|
|
382
|
+
"Lucida-Bitmap-Fonts",
|
|
383
|
+
"MIPS",
|
|
384
|
+
"MIT",
|
|
385
|
+
"MIT-0",
|
|
386
|
+
"MIT-CMU",
|
|
387
|
+
"MIT-Click",
|
|
388
|
+
"MIT-Festival",
|
|
389
|
+
"MIT-Khronos-old",
|
|
390
|
+
"MIT-Modern-Variant",
|
|
391
|
+
"MIT-Wu",
|
|
392
|
+
"MIT-advertising",
|
|
393
|
+
"MIT-enna",
|
|
394
|
+
"MIT-feh",
|
|
395
|
+
"MIT-open-group",
|
|
396
|
+
"MIT-testregex",
|
|
397
|
+
"MITNFA",
|
|
398
|
+
"MMIXware",
|
|
399
|
+
"MPEG-SSG",
|
|
400
|
+
"MPL-1.0",
|
|
401
|
+
"MPL-1.1",
|
|
402
|
+
"MPL-2.0",
|
|
403
|
+
"MPL-2.0-no-copyleft-exception",
|
|
404
|
+
"MS-LPL",
|
|
405
|
+
"MS-PL",
|
|
406
|
+
"MS-RL",
|
|
407
|
+
"MTLL",
|
|
408
|
+
"Mackerras-3-Clause",
|
|
409
|
+
"Mackerras-3-Clause-acknowledgment",
|
|
410
|
+
"MakeIndex",
|
|
411
|
+
"Martin-Birgmeier",
|
|
412
|
+
"McPhee-slideshow",
|
|
413
|
+
"Minpack",
|
|
414
|
+
"MirOS",
|
|
415
|
+
"Motosoto",
|
|
416
|
+
"MulanPSL-1.0",
|
|
417
|
+
"MulanPSL-2.0",
|
|
418
|
+
"Multics",
|
|
419
|
+
"Mup",
|
|
420
|
+
"NAIST-2003",
|
|
421
|
+
"NASA-1.3",
|
|
422
|
+
"NBPL-1.0",
|
|
423
|
+
"NCBI-PD",
|
|
424
|
+
"NCGL-UK-2.0",
|
|
425
|
+
"NCL",
|
|
426
|
+
"NCSA",
|
|
427
|
+
"NGPL",
|
|
428
|
+
"NICTA-1.0",
|
|
429
|
+
"NIST-PD",
|
|
430
|
+
"NIST-PD-fallback",
|
|
431
|
+
"NIST-Software",
|
|
432
|
+
"NLOD-1.0",
|
|
433
|
+
"NLOD-2.0",
|
|
434
|
+
"NLPL",
|
|
435
|
+
"NOSL",
|
|
436
|
+
"NPL-1.0",
|
|
437
|
+
"NPL-1.1",
|
|
438
|
+
"NPOSL-3.0",
|
|
439
|
+
"NRL",
|
|
440
|
+
"NTIA-PD",
|
|
441
|
+
"NTP",
|
|
442
|
+
"NTP-0",
|
|
443
|
+
"Naumen",
|
|
444
|
+
"NetCDF",
|
|
445
|
+
"Newsletr",
|
|
446
|
+
"Nokia",
|
|
447
|
+
"Noweb",
|
|
448
|
+
"O-UDA-1.0",
|
|
449
|
+
"OAR",
|
|
450
|
+
"OCCT-PL",
|
|
451
|
+
"OCLC-2.0",
|
|
452
|
+
"ODC-By-1.0",
|
|
453
|
+
"ODbL-1.0",
|
|
454
|
+
"OFFIS",
|
|
455
|
+
"OFL-1.0",
|
|
456
|
+
"OFL-1.0-RFN",
|
|
457
|
+
"OFL-1.0-no-RFN",
|
|
458
|
+
"OFL-1.1",
|
|
459
|
+
"OFL-1.1-RFN",
|
|
460
|
+
"OFL-1.1-no-RFN",
|
|
461
|
+
"OGC-1.0",
|
|
462
|
+
"OGDL-Taiwan-1.0",
|
|
463
|
+
"OGL-Canada-2.0",
|
|
464
|
+
"OGL-UK-1.0",
|
|
465
|
+
"OGL-UK-2.0",
|
|
466
|
+
"OGL-UK-3.0",
|
|
467
|
+
"OGTSL",
|
|
468
|
+
"OLDAP-1.1",
|
|
469
|
+
"OLDAP-1.2",
|
|
470
|
+
"OLDAP-1.3",
|
|
471
|
+
"OLDAP-1.4",
|
|
472
|
+
"OLDAP-2.0",
|
|
473
|
+
"OLDAP-2.0.1",
|
|
474
|
+
"OLDAP-2.1",
|
|
475
|
+
"OLDAP-2.2",
|
|
476
|
+
"OLDAP-2.2.1",
|
|
477
|
+
"OLDAP-2.2.2",
|
|
478
|
+
"OLDAP-2.3",
|
|
479
|
+
"OLDAP-2.4",
|
|
480
|
+
"OLDAP-2.5",
|
|
481
|
+
"OLDAP-2.6",
|
|
482
|
+
"OLDAP-2.7",
|
|
483
|
+
"OLDAP-2.8",
|
|
484
|
+
"OLFL-1.3",
|
|
485
|
+
"OML",
|
|
486
|
+
"OPL-1.0",
|
|
487
|
+
"OPL-UK-3.0",
|
|
488
|
+
"OPUBL-1.0",
|
|
489
|
+
"OSET-PL-2.1",
|
|
490
|
+
"OSL-1.0",
|
|
491
|
+
"OSL-1.1",
|
|
492
|
+
"OSL-2.0",
|
|
493
|
+
"OSL-2.1",
|
|
494
|
+
"OSL-3.0",
|
|
495
|
+
"OpenPBS-2.3",
|
|
496
|
+
"OpenSSL",
|
|
497
|
+
"OpenSSL-standalone",
|
|
498
|
+
"OpenVision",
|
|
499
|
+
"PADL",
|
|
500
|
+
"PDDL-1.0",
|
|
501
|
+
"PHP-3.0",
|
|
502
|
+
"PHP-3.01",
|
|
503
|
+
"PPL",
|
|
504
|
+
"PSF-2.0",
|
|
505
|
+
"Parity-6.0.0",
|
|
506
|
+
"Parity-7.0.0",
|
|
507
|
+
"Pixar",
|
|
508
|
+
"Plexus",
|
|
509
|
+
"PolyForm-Noncommercial-1.0.0",
|
|
510
|
+
"PolyForm-Small-Business-1.0.0",
|
|
511
|
+
"PostgreSQL",
|
|
512
|
+
"Python-2.0",
|
|
513
|
+
"Python-2.0.1",
|
|
514
|
+
"QPL-1.0",
|
|
515
|
+
"QPL-1.0-INRIA-2004",
|
|
516
|
+
"Qhull",
|
|
517
|
+
"RHeCos-1.1",
|
|
518
|
+
"RPL-1.1",
|
|
519
|
+
"RPL-1.5",
|
|
520
|
+
"RPSL-1.0",
|
|
521
|
+
"RSA-MD",
|
|
522
|
+
"RSCPL",
|
|
523
|
+
"Rdisc",
|
|
524
|
+
"Ruby",
|
|
525
|
+
"Ruby-pty",
|
|
526
|
+
"SAX-PD",
|
|
527
|
+
"SAX-PD-2.0",
|
|
528
|
+
"SCEA",
|
|
529
|
+
"SGI-B-1.0",
|
|
530
|
+
"SGI-B-1.1",
|
|
531
|
+
"SGI-B-2.0",
|
|
532
|
+
"SGI-OpenGL",
|
|
533
|
+
"SGP4",
|
|
534
|
+
"SHL-0.5",
|
|
535
|
+
"SHL-0.51",
|
|
536
|
+
"SISSL",
|
|
537
|
+
"SISSL-1.2",
|
|
538
|
+
"SL",
|
|
539
|
+
"SMAIL-GPL",
|
|
540
|
+
"SMLNJ",
|
|
541
|
+
"SMPPL",
|
|
542
|
+
"SNIA",
|
|
543
|
+
"SOFA",
|
|
544
|
+
"SPL-1.0",
|
|
545
|
+
"SSH-OpenSSH",
|
|
546
|
+
"SSH-short",
|
|
547
|
+
"SSLeay-standalone",
|
|
548
|
+
"SSPL-1.0",
|
|
549
|
+
"SUL-1.0",
|
|
550
|
+
"SWL",
|
|
551
|
+
"Saxpath",
|
|
552
|
+
"SchemeReport",
|
|
553
|
+
"Sendmail",
|
|
554
|
+
"Sendmail-8.23",
|
|
555
|
+
"Sendmail-Open-Source-1.1",
|
|
556
|
+
"SimPL-2.0",
|
|
557
|
+
"Sleepycat",
|
|
558
|
+
"Soundex",
|
|
559
|
+
"Spencer-86",
|
|
560
|
+
"Spencer-94",
|
|
561
|
+
"Spencer-99",
|
|
562
|
+
"SugarCRM-1.1.3",
|
|
563
|
+
"Sun-PPP",
|
|
564
|
+
"Sun-PPP-2000",
|
|
565
|
+
"SunPro",
|
|
566
|
+
"Symlinks",
|
|
567
|
+
"TAPR-OHL-1.0",
|
|
568
|
+
"TCL",
|
|
569
|
+
"TCP-wrappers",
|
|
570
|
+
"TGPPL-1.0",
|
|
571
|
+
"TMate",
|
|
572
|
+
"TORQUE-1.1",
|
|
573
|
+
"TOSL",
|
|
574
|
+
"TPDL",
|
|
575
|
+
"TPL-1.0",
|
|
576
|
+
"TTWL",
|
|
577
|
+
"TTYP0",
|
|
578
|
+
"TU-Berlin-1.0",
|
|
579
|
+
"TU-Berlin-2.0",
|
|
580
|
+
"TermReadKey",
|
|
581
|
+
"ThirdEye",
|
|
582
|
+
"TrustedQSL",
|
|
583
|
+
"UCAR",
|
|
584
|
+
"UCL-1.0",
|
|
585
|
+
"UMich-Merit",
|
|
586
|
+
"UPL-1.0",
|
|
587
|
+
"URT-RLE",
|
|
588
|
+
"Ubuntu-font-1.0",
|
|
589
|
+
"Unicode-3.0",
|
|
590
|
+
"Unicode-DFS-2015",
|
|
591
|
+
"Unicode-DFS-2016",
|
|
592
|
+
"Unicode-TOU",
|
|
593
|
+
"UnixCrypt",
|
|
594
|
+
"Unlicense",
|
|
595
|
+
"Unlicense-libtelnet",
|
|
596
|
+
"Unlicense-libwhirlpool",
|
|
597
|
+
"VOSTROM",
|
|
598
|
+
"VSL-1.0",
|
|
599
|
+
"Vim",
|
|
600
|
+
"W3C",
|
|
601
|
+
"W3C-19980720",
|
|
602
|
+
"W3C-20150513",
|
|
603
|
+
"WTFPL",
|
|
604
|
+
"Watcom-1.0",
|
|
605
|
+
"Widget-Workshop",
|
|
606
|
+
"Wsuipa",
|
|
607
|
+
"X11",
|
|
608
|
+
"X11-distribute-modifications-variant",
|
|
609
|
+
"X11-swapped",
|
|
610
|
+
"XFree86-1.1",
|
|
611
|
+
"XSkat",
|
|
612
|
+
"Xdebug-1.03",
|
|
613
|
+
"Xerox",
|
|
614
|
+
"Xfig",
|
|
615
|
+
"Xnet",
|
|
616
|
+
"YPL-1.0",
|
|
617
|
+
"YPL-1.1",
|
|
618
|
+
"ZPL-1.1",
|
|
619
|
+
"ZPL-2.0",
|
|
620
|
+
"ZPL-2.1",
|
|
621
|
+
"Zed",
|
|
622
|
+
"Zeeff",
|
|
623
|
+
"Zend-2.0",
|
|
624
|
+
"Zimbra-1.3",
|
|
625
|
+
"Zimbra-1.4",
|
|
626
|
+
"Zlib",
|
|
627
|
+
"any-OSI",
|
|
628
|
+
"any-OSI-perl-modules",
|
|
629
|
+
"bcrypt-Solar-Designer",
|
|
630
|
+
"blessing",
|
|
631
|
+
"bzip2-1.0.6",
|
|
632
|
+
"check-cvs",
|
|
633
|
+
"checkmk",
|
|
634
|
+
"copyleft-next-0.3.0",
|
|
635
|
+
"copyleft-next-0.3.1",
|
|
636
|
+
"curl",
|
|
637
|
+
"cve-tou",
|
|
638
|
+
"diffmark",
|
|
639
|
+
"dtoa",
|
|
640
|
+
"dvipdfm",
|
|
641
|
+
"eGenix",
|
|
642
|
+
"etalab-2.0",
|
|
643
|
+
"fwlw",
|
|
644
|
+
"gSOAP-1.3b",
|
|
645
|
+
"generic-xts",
|
|
646
|
+
"gnuplot",
|
|
647
|
+
"gtkbook",
|
|
648
|
+
"hdparm",
|
|
649
|
+
"iMatix",
|
|
650
|
+
"jove",
|
|
651
|
+
"libpng-1.6.35",
|
|
652
|
+
"libpng-2.0",
|
|
653
|
+
"libselinux-1.0",
|
|
654
|
+
"libtiff",
|
|
655
|
+
"libutil-David-Nugent",
|
|
656
|
+
"lsof",
|
|
657
|
+
"magaz",
|
|
658
|
+
"mailprio",
|
|
659
|
+
"man2html",
|
|
660
|
+
"metamail",
|
|
661
|
+
"mpi-permissive",
|
|
662
|
+
"mpich2",
|
|
663
|
+
"mplus",
|
|
664
|
+
"ngrep",
|
|
665
|
+
"pkgconf",
|
|
666
|
+
"pnmstitch",
|
|
667
|
+
"psfrag",
|
|
668
|
+
"psutils",
|
|
669
|
+
"python-ldap",
|
|
670
|
+
"radvd",
|
|
671
|
+
"snprintf",
|
|
672
|
+
"softSurfer",
|
|
673
|
+
"ssh-keyscan",
|
|
674
|
+
"swrule",
|
|
675
|
+
"threeparttable",
|
|
676
|
+
"ulem",
|
|
677
|
+
"w3m",
|
|
678
|
+
"wwl",
|
|
679
|
+
"xinetd",
|
|
680
|
+
"xkeyboard-config-Zinoviev",
|
|
681
|
+
"xlock",
|
|
682
|
+
"xpp",
|
|
683
|
+
"xzoom",
|
|
684
|
+
"zlib-acknowledgement"
|
|
685
|
+
];
|
|
686
|
+
}
|
|
687
|
+
});
|
|
688
|
+
|
|
689
|
+
// node_modules/.pnpm/spdx-license-ids@3.0.22/node_modules/spdx-license-ids/deprecated.json
|
|
690
|
+
var require_deprecated = __commonJS({
|
|
691
|
+
"node_modules/.pnpm/spdx-license-ids@3.0.22/node_modules/spdx-license-ids/deprecated.json"(exports2, module2) {
|
|
692
|
+
module2.exports = [
|
|
693
|
+
"AGPL-1.0",
|
|
694
|
+
"AGPL-3.0",
|
|
695
|
+
"BSD-2-Clause-FreeBSD",
|
|
696
|
+
"BSD-2-Clause-NetBSD",
|
|
697
|
+
"GFDL-1.1",
|
|
698
|
+
"GFDL-1.2",
|
|
699
|
+
"GFDL-1.3",
|
|
700
|
+
"GPL-1.0",
|
|
701
|
+
"GPL-2.0",
|
|
702
|
+
"GPL-2.0-with-GCC-exception",
|
|
703
|
+
"GPL-2.0-with-autoconf-exception",
|
|
704
|
+
"GPL-2.0-with-bison-exception",
|
|
705
|
+
"GPL-2.0-with-classpath-exception",
|
|
706
|
+
"GPL-2.0-with-font-exception",
|
|
707
|
+
"GPL-3.0",
|
|
708
|
+
"GPL-3.0-with-GCC-exception",
|
|
709
|
+
"GPL-3.0-with-autoconf-exception",
|
|
710
|
+
"LGPL-2.0",
|
|
711
|
+
"LGPL-2.1",
|
|
712
|
+
"LGPL-3.0",
|
|
713
|
+
"Net-SNMP",
|
|
714
|
+
"Nunit",
|
|
715
|
+
"StandardML-NJ",
|
|
716
|
+
"bzip2-1.0.5",
|
|
717
|
+
"eCos-2.0",
|
|
718
|
+
"wxWindows"
|
|
719
|
+
];
|
|
720
|
+
}
|
|
721
|
+
});
|
|
722
|
+
|
|
723
|
+
// node_modules/.pnpm/spdx-exceptions@2.5.0/node_modules/spdx-exceptions/index.json
|
|
724
|
+
var require_spdx_exceptions = __commonJS({
|
|
725
|
+
"node_modules/.pnpm/spdx-exceptions@2.5.0/node_modules/spdx-exceptions/index.json"(exports2, module2) {
|
|
726
|
+
module2.exports = [
|
|
727
|
+
"389-exception",
|
|
728
|
+
"Asterisk-exception",
|
|
729
|
+
"Autoconf-exception-2.0",
|
|
730
|
+
"Autoconf-exception-3.0",
|
|
731
|
+
"Autoconf-exception-generic",
|
|
732
|
+
"Autoconf-exception-generic-3.0",
|
|
733
|
+
"Autoconf-exception-macro",
|
|
734
|
+
"Bison-exception-1.24",
|
|
735
|
+
"Bison-exception-2.2",
|
|
736
|
+
"Bootloader-exception",
|
|
737
|
+
"Classpath-exception-2.0",
|
|
738
|
+
"CLISP-exception-2.0",
|
|
739
|
+
"cryptsetup-OpenSSL-exception",
|
|
740
|
+
"DigiRule-FOSS-exception",
|
|
741
|
+
"eCos-exception-2.0",
|
|
742
|
+
"Fawkes-Runtime-exception",
|
|
743
|
+
"FLTK-exception",
|
|
744
|
+
"fmt-exception",
|
|
745
|
+
"Font-exception-2.0",
|
|
746
|
+
"freertos-exception-2.0",
|
|
747
|
+
"GCC-exception-2.0",
|
|
748
|
+
"GCC-exception-2.0-note",
|
|
749
|
+
"GCC-exception-3.1",
|
|
750
|
+
"Gmsh-exception",
|
|
751
|
+
"GNAT-exception",
|
|
752
|
+
"GNOME-examples-exception",
|
|
753
|
+
"GNU-compiler-exception",
|
|
754
|
+
"gnu-javamail-exception",
|
|
755
|
+
"GPL-3.0-interface-exception",
|
|
756
|
+
"GPL-3.0-linking-exception",
|
|
757
|
+
"GPL-3.0-linking-source-exception",
|
|
758
|
+
"GPL-CC-1.0",
|
|
759
|
+
"GStreamer-exception-2005",
|
|
760
|
+
"GStreamer-exception-2008",
|
|
761
|
+
"i2p-gpl-java-exception",
|
|
762
|
+
"KiCad-libraries-exception",
|
|
763
|
+
"LGPL-3.0-linking-exception",
|
|
764
|
+
"libpri-OpenH323-exception",
|
|
765
|
+
"Libtool-exception",
|
|
766
|
+
"Linux-syscall-note",
|
|
767
|
+
"LLGPL",
|
|
768
|
+
"LLVM-exception",
|
|
769
|
+
"LZMA-exception",
|
|
770
|
+
"mif-exception",
|
|
771
|
+
"OCaml-LGPL-linking-exception",
|
|
772
|
+
"OCCT-exception-1.0",
|
|
773
|
+
"OpenJDK-assembly-exception-1.0",
|
|
774
|
+
"openvpn-openssl-exception",
|
|
775
|
+
"PS-or-PDF-font-exception-20170817",
|
|
776
|
+
"QPL-1.0-INRIA-2004-exception",
|
|
777
|
+
"Qt-GPL-exception-1.0",
|
|
778
|
+
"Qt-LGPL-exception-1.1",
|
|
779
|
+
"Qwt-exception-1.0",
|
|
780
|
+
"SANE-exception",
|
|
781
|
+
"SHL-2.0",
|
|
782
|
+
"SHL-2.1",
|
|
783
|
+
"stunnel-exception",
|
|
784
|
+
"SWI-exception",
|
|
785
|
+
"Swift-exception",
|
|
786
|
+
"Texinfo-exception",
|
|
787
|
+
"u-boot-exception-2.0",
|
|
788
|
+
"UBDL-exception",
|
|
789
|
+
"Universal-FOSS-exception-1.0",
|
|
790
|
+
"vsftpd-openssl-exception",
|
|
791
|
+
"WxWindows-exception-3.1",
|
|
792
|
+
"x11vnc-openssl-exception"
|
|
793
|
+
];
|
|
794
|
+
}
|
|
795
|
+
});
|
|
796
|
+
|
|
797
|
+
// node_modules/.pnpm/spdx-expression-parse@4.0.0/node_modules/spdx-expression-parse/scan.js
|
|
798
|
+
var require_scan = __commonJS({
|
|
799
|
+
"node_modules/.pnpm/spdx-expression-parse@4.0.0/node_modules/spdx-expression-parse/scan.js"(exports2, module2) {
|
|
800
|
+
"use strict";
|
|
801
|
+
var licenses = [].concat(require_spdx_license_ids()).concat(require_deprecated());
|
|
802
|
+
var exceptions = require_spdx_exceptions();
|
|
803
|
+
module2.exports = function(source) {
|
|
804
|
+
var index = 0;
|
|
805
|
+
function hasMore() {
|
|
806
|
+
return index < source.length;
|
|
807
|
+
}
|
|
808
|
+
__name(hasMore, "hasMore");
|
|
809
|
+
function read(value) {
|
|
810
|
+
if (value instanceof RegExp) {
|
|
811
|
+
var chars = source.slice(index);
|
|
812
|
+
var match = chars.match(value);
|
|
813
|
+
if (match) {
|
|
814
|
+
index += match[0].length;
|
|
815
|
+
return match[0];
|
|
816
|
+
}
|
|
817
|
+
} else {
|
|
818
|
+
if (source.indexOf(value, index) === index) {
|
|
819
|
+
index += value.length;
|
|
820
|
+
return value;
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
__name(read, "read");
|
|
825
|
+
function skipWhitespace() {
|
|
826
|
+
read(/[ ]*/);
|
|
827
|
+
}
|
|
828
|
+
__name(skipWhitespace, "skipWhitespace");
|
|
829
|
+
function operator() {
|
|
830
|
+
var string;
|
|
831
|
+
var possibilities = [/^WITH/i, /^AND/i, /^OR/i, "(", ")", ":", "+"];
|
|
832
|
+
for (var i = 0; i < possibilities.length; i++) {
|
|
833
|
+
string = read(possibilities[i]);
|
|
834
|
+
if (string) {
|
|
835
|
+
break;
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
if (string === "+" && index > 1 && source[index - 2] === " ") {
|
|
839
|
+
throw new Error("Space before `+`");
|
|
840
|
+
}
|
|
841
|
+
return string && {
|
|
842
|
+
type: "OPERATOR",
|
|
843
|
+
string: string.toUpperCase()
|
|
844
|
+
};
|
|
845
|
+
}
|
|
846
|
+
__name(operator, "operator");
|
|
847
|
+
function idstring() {
|
|
848
|
+
return read(/[A-Za-z0-9-.]+/);
|
|
849
|
+
}
|
|
850
|
+
__name(idstring, "idstring");
|
|
851
|
+
function expectIdstring() {
|
|
852
|
+
var string = idstring();
|
|
853
|
+
if (!string) {
|
|
854
|
+
throw new Error("Expected idstring at offset " + index);
|
|
855
|
+
}
|
|
856
|
+
return string;
|
|
857
|
+
}
|
|
858
|
+
__name(expectIdstring, "expectIdstring");
|
|
859
|
+
function documentRef() {
|
|
860
|
+
if (read("DocumentRef-")) {
|
|
861
|
+
var string = expectIdstring();
|
|
862
|
+
return { type: "DOCUMENTREF", string };
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
__name(documentRef, "documentRef");
|
|
866
|
+
function licenseRef() {
|
|
867
|
+
if (read("LicenseRef-")) {
|
|
868
|
+
var string = expectIdstring();
|
|
869
|
+
return { type: "LICENSEREF", string };
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
__name(licenseRef, "licenseRef");
|
|
873
|
+
function identifier() {
|
|
874
|
+
var begin = index;
|
|
875
|
+
var string = idstring();
|
|
876
|
+
if (licenses.indexOf(string) !== -1) {
|
|
877
|
+
return {
|
|
878
|
+
type: "LICENSE",
|
|
879
|
+
string
|
|
880
|
+
};
|
|
881
|
+
} else if (exceptions.indexOf(string) !== -1) {
|
|
882
|
+
return {
|
|
883
|
+
type: "EXCEPTION",
|
|
884
|
+
string
|
|
885
|
+
};
|
|
886
|
+
}
|
|
887
|
+
index = begin;
|
|
888
|
+
}
|
|
889
|
+
__name(identifier, "identifier");
|
|
890
|
+
function parseToken() {
|
|
891
|
+
return operator() || documentRef() || licenseRef() || identifier();
|
|
892
|
+
}
|
|
893
|
+
__name(parseToken, "parseToken");
|
|
894
|
+
var tokens = [];
|
|
895
|
+
while (hasMore()) {
|
|
896
|
+
skipWhitespace();
|
|
897
|
+
if (!hasMore()) {
|
|
898
|
+
break;
|
|
899
|
+
}
|
|
900
|
+
var token = parseToken();
|
|
901
|
+
if (!token) {
|
|
902
|
+
throw new Error("Unexpected `" + source[index] + "` at offset " + index);
|
|
903
|
+
}
|
|
904
|
+
tokens.push(token);
|
|
905
|
+
}
|
|
906
|
+
return tokens;
|
|
907
|
+
};
|
|
908
|
+
}
|
|
909
|
+
});
|
|
910
|
+
|
|
911
|
+
// node_modules/.pnpm/spdx-expression-parse@4.0.0/node_modules/spdx-expression-parse/parse.js
|
|
912
|
+
var require_parse = __commonJS({
|
|
913
|
+
"node_modules/.pnpm/spdx-expression-parse@4.0.0/node_modules/spdx-expression-parse/parse.js"(exports2, module2) {
|
|
914
|
+
"use strict";
|
|
915
|
+
module2.exports = function(tokens) {
|
|
916
|
+
var index = 0;
|
|
917
|
+
function hasMore() {
|
|
918
|
+
return index < tokens.length;
|
|
919
|
+
}
|
|
920
|
+
__name(hasMore, "hasMore");
|
|
921
|
+
function token() {
|
|
922
|
+
return hasMore() ? tokens[index] : null;
|
|
923
|
+
}
|
|
924
|
+
__name(token, "token");
|
|
925
|
+
function next() {
|
|
926
|
+
if (!hasMore()) {
|
|
927
|
+
throw new Error();
|
|
928
|
+
}
|
|
929
|
+
index++;
|
|
930
|
+
}
|
|
931
|
+
__name(next, "next");
|
|
932
|
+
function parseOperator(operator) {
|
|
933
|
+
var t = token();
|
|
934
|
+
if (t && t.type === "OPERATOR" && operator === t.string) {
|
|
935
|
+
next();
|
|
936
|
+
return t.string;
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
__name(parseOperator, "parseOperator");
|
|
940
|
+
function parseWith() {
|
|
941
|
+
if (parseOperator("WITH")) {
|
|
942
|
+
var t = token();
|
|
943
|
+
if (t && t.type === "EXCEPTION") {
|
|
944
|
+
next();
|
|
945
|
+
return t.string;
|
|
946
|
+
}
|
|
947
|
+
throw new Error("Expected exception after `WITH`");
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
__name(parseWith, "parseWith");
|
|
951
|
+
function parseLicenseRef() {
|
|
952
|
+
var begin = index;
|
|
953
|
+
var string = "";
|
|
954
|
+
var t = token();
|
|
955
|
+
if (t.type === "DOCUMENTREF") {
|
|
956
|
+
next();
|
|
957
|
+
string += "DocumentRef-" + t.string + ":";
|
|
958
|
+
if (!parseOperator(":")) {
|
|
959
|
+
throw new Error("Expected `:` after `DocumentRef-...`");
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
t = token();
|
|
963
|
+
if (t.type === "LICENSEREF") {
|
|
964
|
+
next();
|
|
965
|
+
string += "LicenseRef-" + t.string;
|
|
966
|
+
return { license: string };
|
|
967
|
+
}
|
|
968
|
+
index = begin;
|
|
969
|
+
}
|
|
970
|
+
__name(parseLicenseRef, "parseLicenseRef");
|
|
971
|
+
function parseLicense() {
|
|
972
|
+
var t = token();
|
|
973
|
+
if (t && t.type === "LICENSE") {
|
|
974
|
+
next();
|
|
975
|
+
var node2 = { license: t.string };
|
|
976
|
+
if (parseOperator("+")) {
|
|
977
|
+
node2.plus = true;
|
|
978
|
+
}
|
|
979
|
+
var exception = parseWith();
|
|
980
|
+
if (exception) {
|
|
981
|
+
node2.exception = exception;
|
|
982
|
+
}
|
|
983
|
+
return node2;
|
|
984
|
+
}
|
|
985
|
+
}
|
|
986
|
+
__name(parseLicense, "parseLicense");
|
|
987
|
+
function parseParenthesizedExpression() {
|
|
988
|
+
var left = parseOperator("(");
|
|
989
|
+
if (!left) {
|
|
990
|
+
return;
|
|
991
|
+
}
|
|
992
|
+
var expr = parseExpression();
|
|
993
|
+
if (!parseOperator(")")) {
|
|
994
|
+
throw new Error("Expected `)`");
|
|
995
|
+
}
|
|
996
|
+
return expr;
|
|
997
|
+
}
|
|
998
|
+
__name(parseParenthesizedExpression, "parseParenthesizedExpression");
|
|
999
|
+
function parseAtom() {
|
|
1000
|
+
return parseParenthesizedExpression() || parseLicenseRef() || parseLicense();
|
|
1001
|
+
}
|
|
1002
|
+
__name(parseAtom, "parseAtom");
|
|
1003
|
+
function makeBinaryOpParser(operator, nextParser) {
|
|
1004
|
+
return /* @__PURE__ */ __name(function parseBinaryOp() {
|
|
1005
|
+
var left = nextParser();
|
|
1006
|
+
if (!left) {
|
|
1007
|
+
return;
|
|
1008
|
+
}
|
|
1009
|
+
if (!parseOperator(operator)) {
|
|
1010
|
+
return left;
|
|
1011
|
+
}
|
|
1012
|
+
var right = parseBinaryOp();
|
|
1013
|
+
if (!right) {
|
|
1014
|
+
throw new Error("Expected expression");
|
|
1015
|
+
}
|
|
1016
|
+
return {
|
|
1017
|
+
left,
|
|
1018
|
+
conjunction: operator.toLowerCase(),
|
|
1019
|
+
right
|
|
1020
|
+
};
|
|
1021
|
+
}, "parseBinaryOp");
|
|
1022
|
+
}
|
|
1023
|
+
__name(makeBinaryOpParser, "makeBinaryOpParser");
|
|
1024
|
+
var parseAnd = makeBinaryOpParser("AND", parseAtom);
|
|
1025
|
+
var parseExpression = makeBinaryOpParser("OR", parseAnd);
|
|
1026
|
+
var node = parseExpression();
|
|
1027
|
+
if (!node || hasMore()) {
|
|
1028
|
+
throw new Error("Syntax error");
|
|
1029
|
+
}
|
|
1030
|
+
return node;
|
|
1031
|
+
};
|
|
1032
|
+
}
|
|
1033
|
+
});
|
|
1034
|
+
|
|
1035
|
+
// node_modules/.pnpm/spdx-expression-parse@4.0.0/node_modules/spdx-expression-parse/index.js
|
|
1036
|
+
var require_spdx_expression_parse = __commonJS({
|
|
1037
|
+
"node_modules/.pnpm/spdx-expression-parse@4.0.0/node_modules/spdx-expression-parse/index.js"(exports2, module2) {
|
|
1038
|
+
"use strict";
|
|
1039
|
+
var scan = require_scan();
|
|
1040
|
+
var parse = require_parse();
|
|
1041
|
+
module2.exports = function(source) {
|
|
1042
|
+
return parse(scan(source));
|
|
1043
|
+
};
|
|
1044
|
+
}
|
|
1045
|
+
});
|
|
1046
|
+
|
|
1047
|
+
// src/external/spdx-expression-parse.js
|
|
1048
|
+
module.exports = require_spdx_expression_parse();
|