@socketsecurity/lib 5.3.0 → 5.4.1

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.
Files changed (48) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/cover/code.js +12 -4
  3. package/dist/dlx/cache.js +10 -2
  4. package/dist/dlx/manifest.js +45 -41
  5. package/dist/env/rewire.js +10 -2
  6. package/dist/external/@inquirer/checkbox.js +4 -2528
  7. package/dist/external/@inquirer/confirm.js +4 -2371
  8. package/dist/external/@inquirer/input.js +4 -2395
  9. package/dist/external/@inquirer/password.js +4 -2503
  10. package/dist/external/@inquirer/search.js +4 -2500
  11. package/dist/external/@inquirer/select.js +4 -2617
  12. package/dist/external/@npmcli/package-json.js +11 -7
  13. package/dist/external/debug.js +670 -15
  14. package/dist/external/del.js +4 -7139
  15. package/dist/external/external-pack.js +4795 -0
  16. package/dist/external/fast-glob.js +4 -5776
  17. package/dist/external/has-flag.js +6 -0
  18. package/dist/external/libnpmexec.js +2 -2
  19. package/dist/external/normalize-package-data.js +2 -2
  20. package/dist/external/npm-pack.js +1698 -3337
  21. package/dist/external/npm-package-arg.js +2 -2
  22. package/dist/external/pico-pack.js +7162 -0
  23. package/dist/external/picomatch.js +4 -1523
  24. package/dist/external/semver.js +2 -2
  25. package/dist/external/signal-exit.js +5 -0
  26. package/dist/external/spdx-correct.js +4 -1384
  27. package/dist/external/spdx-expression-parse.js +4 -1047
  28. package/dist/external/spdx-pack.js +1640 -0
  29. package/dist/external/supports-color.js +8 -0
  30. package/dist/external/validate-npm-package-name.js +4 -104
  31. package/dist/external/yoctocolors-cjs.js +5 -92
  32. package/dist/http-request.js +10 -2
  33. package/dist/ipc.js +53 -29
  34. package/dist/packages/isolation.js +45 -23
  35. package/dist/packages/licenses.js +10 -2
  36. package/dist/paths/socket.d.ts +2 -2
  37. package/dist/paths/socket.js +27 -21
  38. package/dist/process-lock.js +23 -14
  39. package/dist/releases/github.d.ts +67 -41
  40. package/dist/releases/github.js +142 -100
  41. package/dist/releases/socket-btm.d.ts +40 -33
  42. package/dist/releases/socket-btm.js +45 -5
  43. package/dist/spawn.js +10 -3
  44. package/dist/stdio/mask.d.ts +6 -21
  45. package/dist/stdio/mask.js +18 -14
  46. package/dist/themes/context.js +10 -2
  47. package/package.json +16 -3
  48. package/dist/external/npm-core.js +0 -6588
@@ -1,1048 +1,5 @@
1
- "use strict";
2
- /**
3
- * Bundled from spdx-expression-parse
4
- * This is a zero-dependency bundle created by esbuild.
5
- */
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
- };
1
+ 'use strict'
13
2
 
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();
3
+ // Re-export from spdx-pack bundle for better deduplication.
4
+ const { spdxExpressionParse } = require('./spdx-pack')
5
+ module.exports = spdxExpressionParse