@savvy-web/silk 3.1.1 → 3.1.2

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.
@@ -14219,7 +14219,7 @@ var LockfileIntegrity = class LockfileIntegrity extends effect.Schema.Class("Loc
14219
14219
  }
14220
14220
  };
14221
14221
  //#endregion
14222
- //#region ../../node_modules/.pnpm/@effected+package-json@0.4.2_effect@4.0.0-beta.99/node_modules/@effected/package-json/Dependency.js
14222
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.5.0_effect@4.0.0-beta.99/node_modules/@effected/package-json/Dependency.js
14223
14223
  /**
14224
14224
  * A resolved dependency entry pairing a package name with its version
14225
14225
  * specifier and the `kind` of map it came from (`@effected/npm`'s
@@ -14283,7 +14283,7 @@ var Dependency = class extends effect.Schema.Class("Dependency")({
14283
14283
  }
14284
14284
  };
14285
14285
  //#endregion
14286
- //#region ../../node_modules/.pnpm/@effected+package-json@0.4.2_effect@4.0.0-beta.99/node_modules/@effected/package-json/DevEngines.js
14286
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.5.0_effect@4.0.0-beta.99/node_modules/@effected/package-json/DevEngines.js
14287
14287
  /**
14288
14288
  * A single `devEngines` constraint with a name and optional `version` / `onFail`.
14289
14289
  *
@@ -14321,1001 +14321,1524 @@ const DevEnginesSchema = effect.Schema.Struct({
14321
14321
  libc: effect.Schema.optionalKey(DevEngineOrArray)
14322
14322
  });
14323
14323
  //#endregion
14324
- //#region ../../node_modules/.pnpm/spdx-license-ids@3.0.23/node_modules/spdx-license-ids/index.json
14325
- var require_spdx_license_ids = /* @__PURE__ */ __commonJSMin(((exports, module) => {
14326
- module.exports = [
14327
- "0BSD",
14328
- "3D-Slicer-1.0",
14329
- "AAL",
14330
- "ADSL",
14331
- "AFL-1.1",
14332
- "AFL-1.2",
14333
- "AFL-2.0",
14334
- "AFL-2.1",
14335
- "AFL-3.0",
14336
- "AGPL-1.0-only",
14337
- "AGPL-1.0-or-later",
14338
- "AGPL-3.0-only",
14339
- "AGPL-3.0-or-later",
14340
- "ALGLIB-Documentation",
14341
- "AMD-newlib",
14342
- "AMDPLPA",
14343
- "AML",
14344
- "AML-glslang",
14345
- "AMPAS",
14346
- "ANTLR-PD",
14347
- "ANTLR-PD-fallback",
14348
- "APAFML",
14349
- "APL-1.0",
14350
- "APSL-1.0",
14351
- "APSL-1.1",
14352
- "APSL-1.2",
14353
- "APSL-2.0",
14354
- "ASWF-Digital-Assets-1.0",
14355
- "ASWF-Digital-Assets-1.1",
14356
- "Abstyles",
14357
- "AdaCore-doc",
14358
- "Adobe-2006",
14359
- "Adobe-Display-PostScript",
14360
- "Adobe-Glyph",
14361
- "Adobe-Utopia",
14362
- "Advanced-Cryptics-Dictionary",
14363
- "Afmparse",
14364
- "Aladdin",
14365
- "Apache-1.0",
14366
- "Apache-1.1",
14367
- "Apache-2.0",
14368
- "App-s2p",
14369
- "Arphic-1999",
14370
- "Artistic-1.0",
14371
- "Artistic-1.0-Perl",
14372
- "Artistic-1.0-cl8",
14373
- "Artistic-2.0",
14374
- "Artistic-dist",
14375
- "Aspell-RU",
14376
- "BOLA-1.1",
14377
- "BSD-1-Clause",
14378
- "BSD-2-Clause",
14379
- "BSD-2-Clause-Darwin",
14380
- "BSD-2-Clause-Patent",
14381
- "BSD-2-Clause-Views",
14382
- "BSD-2-Clause-first-lines",
14383
- "BSD-2-Clause-pkgconf-disclaimer",
14384
- "BSD-3-Clause",
14385
- "BSD-3-Clause-Attribution",
14386
- "BSD-3-Clause-Clear",
14387
- "BSD-3-Clause-HP",
14388
- "BSD-3-Clause-LBNL",
14389
- "BSD-3-Clause-Modification",
14390
- "BSD-3-Clause-No-Military-License",
14391
- "BSD-3-Clause-No-Nuclear-License",
14392
- "BSD-3-Clause-No-Nuclear-License-2014",
14393
- "BSD-3-Clause-No-Nuclear-Warranty",
14394
- "BSD-3-Clause-Open-MPI",
14395
- "BSD-3-Clause-Sun",
14396
- "BSD-3-Clause-Tso",
14397
- "BSD-3-Clause-acpica",
14398
- "BSD-3-Clause-flex",
14399
- "BSD-4-Clause",
14400
- "BSD-4-Clause-Shortened",
14401
- "BSD-4-Clause-UC",
14402
- "BSD-4.3RENO",
14403
- "BSD-4.3TAHOE",
14404
- "BSD-Advertising-Acknowledgement",
14405
- "BSD-Attribution-HPND-disclaimer",
14406
- "BSD-Inferno-Nettverk",
14407
- "BSD-Mark-Modifications",
14408
- "BSD-Protection",
14409
- "BSD-Source-Code",
14410
- "BSD-Source-beginning-file",
14411
- "BSD-Systemics",
14412
- "BSD-Systemics-W3Works",
14413
- "BSL-1.0",
14414
- "BUSL-1.1",
14415
- "Baekmuk",
14416
- "Bahyph",
14417
- "Barr",
14418
- "Beerware",
14419
- "BitTorrent-1.0",
14420
- "BitTorrent-1.1",
14421
- "Bitstream-Charter",
14422
- "Bitstream-Vera",
14423
- "BlueOak-1.0.0",
14424
- "Boehm-GC",
14425
- "Boehm-GC-without-fee",
14426
- "Borceux",
14427
- "Brian-Gladman-2-Clause",
14428
- "Brian-Gladman-3-Clause",
14429
- "Buddy",
14430
- "C-UDA-1.0",
14431
- "CAL-1.0",
14432
- "CAL-1.0-Combined-Work-Exception",
14433
- "CAPEC-tou",
14434
- "CATOSL-1.1",
14435
- "CC-BY-1.0",
14436
- "CC-BY-2.0",
14437
- "CC-BY-2.5",
14438
- "CC-BY-2.5-AU",
14439
- "CC-BY-3.0",
14440
- "CC-BY-3.0-AT",
14441
- "CC-BY-3.0-AU",
14442
- "CC-BY-3.0-DE",
14443
- "CC-BY-3.0-IGO",
14444
- "CC-BY-3.0-NL",
14445
- "CC-BY-3.0-US",
14446
- "CC-BY-4.0",
14447
- "CC-BY-NC-1.0",
14448
- "CC-BY-NC-2.0",
14449
- "CC-BY-NC-2.5",
14450
- "CC-BY-NC-3.0",
14451
- "CC-BY-NC-3.0-DE",
14452
- "CC-BY-NC-4.0",
14453
- "CC-BY-NC-ND-1.0",
14454
- "CC-BY-NC-ND-2.0",
14455
- "CC-BY-NC-ND-2.5",
14456
- "CC-BY-NC-ND-3.0",
14457
- "CC-BY-NC-ND-3.0-DE",
14458
- "CC-BY-NC-ND-3.0-IGO",
14459
- "CC-BY-NC-ND-4.0",
14460
- "CC-BY-NC-SA-1.0",
14461
- "CC-BY-NC-SA-2.0",
14462
- "CC-BY-NC-SA-2.0-DE",
14463
- "CC-BY-NC-SA-2.0-FR",
14464
- "CC-BY-NC-SA-2.0-UK",
14465
- "CC-BY-NC-SA-2.5",
14466
- "CC-BY-NC-SA-3.0",
14467
- "CC-BY-NC-SA-3.0-DE",
14468
- "CC-BY-NC-SA-3.0-IGO",
14469
- "CC-BY-NC-SA-4.0",
14470
- "CC-BY-ND-1.0",
14471
- "CC-BY-ND-2.0",
14472
- "CC-BY-ND-2.5",
14473
- "CC-BY-ND-3.0",
14474
- "CC-BY-ND-3.0-DE",
14475
- "CC-BY-ND-4.0",
14476
- "CC-BY-SA-1.0",
14477
- "CC-BY-SA-2.0",
14478
- "CC-BY-SA-2.0-UK",
14479
- "CC-BY-SA-2.1-JP",
14480
- "CC-BY-SA-2.5",
14481
- "CC-BY-SA-3.0",
14482
- "CC-BY-SA-3.0-AT",
14483
- "CC-BY-SA-3.0-DE",
14484
- "CC-BY-SA-3.0-IGO",
14485
- "CC-BY-SA-4.0",
14486
- "CC-PDDC",
14487
- "CC-PDM-1.0",
14488
- "CC-SA-1.0",
14489
- "CC0-1.0",
14490
- "CDDL-1.0",
14491
- "CDDL-1.1",
14492
- "CDL-1.0",
14493
- "CDLA-Permissive-1.0",
14494
- "CDLA-Permissive-2.0",
14495
- "CDLA-Sharing-1.0",
14496
- "CECILL-1.0",
14497
- "CECILL-1.1",
14498
- "CECILL-2.0",
14499
- "CECILL-2.1",
14500
- "CECILL-B",
14501
- "CECILL-C",
14502
- "CERN-OHL-1.1",
14503
- "CERN-OHL-1.2",
14504
- "CERN-OHL-P-2.0",
14505
- "CERN-OHL-S-2.0",
14506
- "CERN-OHL-W-2.0",
14507
- "CFITSIO",
14508
- "CMU-Mach",
14509
- "CMU-Mach-nodoc",
14510
- "CNRI-Jython",
14511
- "CNRI-Python",
14512
- "CNRI-Python-GPL-Compatible",
14513
- "COIL-1.0",
14514
- "CPAL-1.0",
14515
- "CPL-1.0",
14516
- "CPOL-1.02",
14517
- "CUA-OPL-1.0",
14518
- "Caldera",
14519
- "Caldera-no-preamble",
14520
- "Catharon",
14521
- "ClArtistic",
14522
- "Clips",
14523
- "Community-Spec-1.0",
14524
- "Condor-1.1",
14525
- "Cornell-Lossless-JPEG",
14526
- "Cronyx",
14527
- "Crossword",
14528
- "CryptoSwift",
14529
- "CrystalStacker",
14530
- "Cube",
14531
- "D-FSL-1.0",
14532
- "DEC-3-Clause",
14533
- "DL-DE-BY-2.0",
14534
- "DL-DE-ZERO-2.0",
14535
- "DOC",
14536
- "DRL-1.0",
14537
- "DRL-1.1",
14538
- "DSDP",
14539
- "DocBook-DTD",
14540
- "DocBook-Schema",
14541
- "DocBook-Stylesheet",
14542
- "DocBook-XML",
14543
- "Dotseqn",
14544
- "ECL-1.0",
14545
- "ECL-2.0",
14546
- "EFL-1.0",
14547
- "EFL-2.0",
14548
- "EPICS",
14549
- "EPL-1.0",
14550
- "EPL-2.0",
14551
- "ESA-PL-permissive-2.4",
14552
- "ESA-PL-strong-copyleft-2.4",
14553
- "ESA-PL-weak-copyleft-2.4",
14554
- "EUDatagrid",
14555
- "EUPL-1.0",
14556
- "EUPL-1.1",
14557
- "EUPL-1.2",
14558
- "Elastic-2.0",
14559
- "Entessa",
14560
- "ErlPL-1.1",
14561
- "Eurosym",
14562
- "FBM",
14563
- "FDK-AAC",
14564
- "FSFAP",
14565
- "FSFAP-no-warranty-disclaimer",
14566
- "FSFUL",
14567
- "FSFULLR",
14568
- "FSFULLRSD",
14569
- "FSFULLRWD",
14570
- "FSL-1.1-ALv2",
14571
- "FSL-1.1-MIT",
14572
- "FTL",
14573
- "Fair",
14574
- "Ferguson-Twofish",
14575
- "Frameworx-1.0",
14576
- "FreeBSD-DOC",
14577
- "FreeImage",
14578
- "Furuseth",
14579
- "GCR-docs",
14580
- "GD",
14581
- "GFDL-1.1-invariants-only",
14582
- "GFDL-1.1-invariants-or-later",
14583
- "GFDL-1.1-no-invariants-only",
14584
- "GFDL-1.1-no-invariants-or-later",
14585
- "GFDL-1.1-only",
14586
- "GFDL-1.1-or-later",
14587
- "GFDL-1.2-invariants-only",
14588
- "GFDL-1.2-invariants-or-later",
14589
- "GFDL-1.2-no-invariants-only",
14590
- "GFDL-1.2-no-invariants-or-later",
14591
- "GFDL-1.2-only",
14592
- "GFDL-1.2-or-later",
14593
- "GFDL-1.3-invariants-only",
14594
- "GFDL-1.3-invariants-or-later",
14595
- "GFDL-1.3-no-invariants-only",
14596
- "GFDL-1.3-no-invariants-or-later",
14597
- "GFDL-1.3-only",
14598
- "GFDL-1.3-or-later",
14599
- "GL2PS",
14600
- "GLWTPL",
14601
- "GPL-1.0-only",
14602
- "GPL-1.0-or-later",
14603
- "GPL-2.0-only",
14604
- "GPL-2.0-or-later",
14605
- "GPL-3.0-only",
14606
- "GPL-3.0-or-later",
14607
- "Game-Programming-Gems",
14608
- "Giftware",
14609
- "Glide",
14610
- "Glulxe",
14611
- "Graphics-Gems",
14612
- "Gutmann",
14613
- "HDF5",
14614
- "HIDAPI",
14615
- "HP-1986",
14616
- "HP-1989",
14617
- "HPND",
14618
- "HPND-DEC",
14619
- "HPND-Fenneberg-Livingston",
14620
- "HPND-INRIA-IMAG",
14621
- "HPND-Intel",
14622
- "HPND-Kevlin-Henney",
14623
- "HPND-MIT-disclaimer",
14624
- "HPND-Markus-Kuhn",
14625
- "HPND-Netrek",
14626
- "HPND-Pbmplus",
14627
- "HPND-SMC",
14628
- "HPND-UC",
14629
- "HPND-UC-export-US",
14630
- "HPND-doc",
14631
- "HPND-doc-sell",
14632
- "HPND-export-US",
14633
- "HPND-export-US-acknowledgement",
14634
- "HPND-export-US-modify",
14635
- "HPND-export2-US",
14636
- "HPND-merchantability-variant",
14637
- "HPND-sell-MIT-disclaimer-xserver",
14638
- "HPND-sell-regexpr",
14639
- "HPND-sell-variant",
14640
- "HPND-sell-variant-MIT-disclaimer",
14641
- "HPND-sell-variant-MIT-disclaimer-rev",
14642
- "HPND-sell-variant-critical-systems",
14643
- "HTMLTIDY",
14644
- "HaskellReport",
14645
- "Hippocratic-2.1",
14646
- "IBM-pibs",
14647
- "ICU",
14648
- "IEC-Code-Components-EULA",
14649
- "IJG",
14650
- "IJG-short",
14651
- "IPA",
14652
- "IPL-1.0",
14653
- "ISC",
14654
- "ISC-Veillard",
14655
- "ISO-permission",
14656
- "ImageMagick",
14657
- "Imlib2",
14658
- "Info-ZIP",
14659
- "Inner-Net-2.0",
14660
- "InnoSetup",
14661
- "Intel",
14662
- "Intel-ACPI",
14663
- "Interbase-1.0",
14664
- "JPL-image",
14665
- "JPNIC",
14666
- "JSON",
14667
- "Jam",
14668
- "JasPer-2.0",
14669
- "Kastrup",
14670
- "Kazlib",
14671
- "Knuth-CTAN",
14672
- "LAL-1.2",
14673
- "LAL-1.3",
14674
- "LGPL-2.0-only",
14675
- "LGPL-2.0-or-later",
14676
- "LGPL-2.1-only",
14677
- "LGPL-2.1-or-later",
14678
- "LGPL-3.0-only",
14679
- "LGPL-3.0-or-later",
14680
- "LGPLLR",
14681
- "LOOP",
14682
- "LPD-document",
14683
- "LPL-1.0",
14684
- "LPL-1.02",
14685
- "LPPL-1.0",
14686
- "LPPL-1.1",
14687
- "LPPL-1.2",
14688
- "LPPL-1.3a",
14689
- "LPPL-1.3c",
14690
- "LZMA-SDK-9.11-to-9.20",
14691
- "LZMA-SDK-9.22",
14692
- "Latex2e",
14693
- "Latex2e-translated-notice",
14694
- "Leptonica",
14695
- "LiLiQ-P-1.1",
14696
- "LiLiQ-R-1.1",
14697
- "LiLiQ-Rplus-1.1",
14698
- "Libpng",
14699
- "Linux-OpenIB",
14700
- "Linux-man-pages-1-para",
14701
- "Linux-man-pages-copyleft",
14702
- "Linux-man-pages-copyleft-2-para",
14703
- "Linux-man-pages-copyleft-var",
14704
- "Lucida-Bitmap-Fonts",
14705
- "MIPS",
14706
- "MIT",
14707
- "MIT-0",
14708
- "MIT-CMU",
14709
- "MIT-Click",
14710
- "MIT-Festival",
14711
- "MIT-Khronos-old",
14712
- "MIT-Modern-Variant",
14713
- "MIT-STK",
14714
- "MIT-Wu",
14715
- "MIT-advertising",
14716
- "MIT-enna",
14717
- "MIT-feh",
14718
- "MIT-open-group",
14719
- "MIT-testregex",
14720
- "MITNFA",
14721
- "MMIXware",
14722
- "MMPL-1.0.1",
14723
- "MPEG-SSG",
14724
- "MPL-1.0",
14725
- "MPL-1.1",
14726
- "MPL-2.0",
14727
- "MPL-2.0-no-copyleft-exception",
14728
- "MS-LPL",
14729
- "MS-PL",
14730
- "MS-RL",
14731
- "MTLL",
14732
- "Mackerras-3-Clause",
14733
- "Mackerras-3-Clause-acknowledgment",
14734
- "MakeIndex",
14735
- "Martin-Birgmeier",
14736
- "McPhee-slideshow",
14737
- "Minpack",
14738
- "MirOS",
14739
- "Motosoto",
14740
- "MulanPSL-1.0",
14741
- "MulanPSL-2.0",
14742
- "Multics",
14743
- "Mup",
14744
- "NAIST-2003",
14745
- "NASA-1.3",
14746
- "NBPL-1.0",
14747
- "NCBI-PD",
14748
- "NCGL-UK-2.0",
14749
- "NCL",
14750
- "NCSA",
14751
- "NGPL",
14752
- "NICTA-1.0",
14753
- "NIST-PD",
14754
- "NIST-PD-TNT",
14755
- "NIST-PD-fallback",
14756
- "NIST-Software",
14757
- "NLOD-1.0",
14758
- "NLOD-2.0",
14759
- "NLPL",
14760
- "NOSL",
14761
- "NPL-1.0",
14762
- "NPL-1.1",
14763
- "NPOSL-3.0",
14764
- "NRL",
14765
- "NTIA-PD",
14766
- "NTP",
14767
- "NTP-0",
14768
- "Naumen",
14769
- "NetCDF",
14770
- "Newsletr",
14771
- "Nokia",
14772
- "Noweb",
14773
- "O-UDA-1.0",
14774
- "OAR",
14775
- "OCCT-PL",
14776
- "OCLC-2.0",
14777
- "ODC-By-1.0",
14778
- "ODbL-1.0",
14779
- "OFFIS",
14780
- "OFL-1.0",
14781
- "OFL-1.0-RFN",
14782
- "OFL-1.0-no-RFN",
14783
- "OFL-1.1",
14784
- "OFL-1.1-RFN",
14785
- "OFL-1.1-no-RFN",
14786
- "OGC-1.0",
14787
- "OGDL-Taiwan-1.0",
14788
- "OGL-Canada-2.0",
14789
- "OGL-UK-1.0",
14790
- "OGL-UK-2.0",
14791
- "OGL-UK-3.0",
14792
- "OGTSL",
14793
- "OLDAP-1.1",
14794
- "OLDAP-1.2",
14795
- "OLDAP-1.3",
14796
- "OLDAP-1.4",
14797
- "OLDAP-2.0",
14798
- "OLDAP-2.0.1",
14799
- "OLDAP-2.1",
14800
- "OLDAP-2.2",
14801
- "OLDAP-2.2.1",
14802
- "OLDAP-2.2.2",
14803
- "OLDAP-2.3",
14804
- "OLDAP-2.4",
14805
- "OLDAP-2.5",
14806
- "OLDAP-2.6",
14807
- "OLDAP-2.7",
14808
- "OLDAP-2.8",
14809
- "OLFL-1.3",
14810
- "OML",
14811
- "OPL-1.0",
14812
- "OPL-UK-3.0",
14813
- "OPUBL-1.0",
14814
- "OSC-1.0",
14815
- "OSET-PL-2.1",
14816
- "OSL-1.0",
14817
- "OSL-1.1",
14818
- "OSL-2.0",
14819
- "OSL-2.1",
14820
- "OSL-3.0",
14821
- "OSSP",
14822
- "OpenMDW-1.0",
14823
- "OpenPBS-2.3",
14824
- "OpenSSL",
14825
- "OpenSSL-standalone",
14826
- "OpenVision",
14827
- "PADL",
14828
- "PDDL-1.0",
14829
- "PHP-3.0",
14830
- "PHP-3.01",
14831
- "PPL",
14832
- "PSF-2.0",
14833
- "ParaType-Free-Font-1.3",
14834
- "Parity-6.0.0",
14835
- "Parity-7.0.0",
14836
- "Pixar",
14837
- "Plexus",
14838
- "PolyForm-Noncommercial-1.0.0",
14839
- "PolyForm-Small-Business-1.0.0",
14840
- "PostgreSQL",
14841
- "Python-2.0",
14842
- "Python-2.0.1",
14843
- "QPL-1.0",
14844
- "QPL-1.0-INRIA-2004",
14845
- "Qhull",
14846
- "RHeCos-1.1",
14847
- "RPL-1.1",
14848
- "RPL-1.5",
14849
- "RPSL-1.0",
14850
- "RSA-MD",
14851
- "RSCPL",
14852
- "Rdisc",
14853
- "Ruby",
14854
- "Ruby-pty",
14855
- "SAX-PD",
14856
- "SAX-PD-2.0",
14857
- "SCEA",
14858
- "SGI-B-1.0",
14859
- "SGI-B-1.1",
14860
- "SGI-B-2.0",
14861
- "SGI-OpenGL",
14862
- "SGMLUG-PM",
14863
- "SGP4",
14864
- "SHL-0.5",
14865
- "SHL-0.51",
14866
- "SISSL",
14867
- "SISSL-1.2",
14868
- "SL",
14869
- "SMAIL-GPL",
14870
- "SMLNJ",
14871
- "SMPPL",
14872
- "SNIA",
14873
- "SOFA",
14874
- "SPL-1.0",
14875
- "SSH-OpenSSH",
14876
- "SSH-short",
14877
- "SSLeay-standalone",
14878
- "SSPL-1.0",
14879
- "SUL-1.0",
14880
- "SWL",
14881
- "Saxpath",
14882
- "SchemeReport",
14883
- "Sendmail",
14884
- "Sendmail-8.23",
14885
- "Sendmail-Open-Source-1.1",
14886
- "SimPL-2.0",
14887
- "Sleepycat",
14888
- "Soundex",
14889
- "Spencer-86",
14890
- "Spencer-94",
14891
- "Spencer-99",
14892
- "SugarCRM-1.1.3",
14893
- "Sun-PPP",
14894
- "Sun-PPP-2000",
14895
- "SunPro",
14896
- "Symlinks",
14897
- "TAPR-OHL-1.0",
14898
- "TCL",
14899
- "TCP-wrappers",
14900
- "TGPPL-1.0",
14901
- "TMate",
14902
- "TORQUE-1.1",
14903
- "TOSL",
14904
- "TPDL",
14905
- "TPL-1.0",
14906
- "TTWL",
14907
- "TTYP0",
14908
- "TU-Berlin-1.0",
14909
- "TU-Berlin-2.0",
14910
- "TekHVC",
14911
- "TermReadKey",
14912
- "ThirdEye",
14913
- "TrustedQSL",
14914
- "UCAR",
14915
- "UCL-1.0",
14916
- "UMich-Merit",
14917
- "UPL-1.0",
14918
- "URT-RLE",
14919
- "Ubuntu-font-1.0",
14920
- "UnRAR",
14921
- "Unicode-3.0",
14922
- "Unicode-DFS-2015",
14923
- "Unicode-DFS-2016",
14924
- "Unicode-TOU",
14925
- "UnixCrypt",
14926
- "Unlicense",
14927
- "Unlicense-libtelnet",
14928
- "Unlicense-libwhirlpool",
14929
- "VOSTROM",
14930
- "VSL-1.0",
14931
- "Vim",
14932
- "Vixie-Cron",
14933
- "W3C",
14934
- "W3C-19980720",
14935
- "W3C-20150513",
14936
- "WTFNMFPL",
14937
- "WTFPL",
14938
- "Watcom-1.0",
14939
- "Widget-Workshop",
14940
- "WordNet",
14941
- "Wsuipa",
14942
- "X11",
14943
- "X11-distribute-modifications-variant",
14944
- "X11-no-permit-persons",
14945
- "X11-swapped",
14946
- "XFree86-1.1",
14947
- "XSkat",
14948
- "Xdebug-1.03",
14949
- "Xerox",
14950
- "Xfig",
14951
- "Xnet",
14952
- "YPL-1.0",
14953
- "YPL-1.1",
14954
- "ZPL-1.1",
14955
- "ZPL-2.0",
14956
- "ZPL-2.1",
14957
- "Zed",
14958
- "Zeeff",
14959
- "Zend-2.0",
14960
- "Zimbra-1.3",
14961
- "Zimbra-1.4",
14962
- "Zlib",
14963
- "any-OSI",
14964
- "any-OSI-perl-modules",
14965
- "bcrypt-Solar-Designer",
14966
- "blessing",
14967
- "bzip2-1.0.6",
14968
- "check-cvs",
14969
- "checkmk",
14970
- "copyleft-next-0.3.0",
14971
- "copyleft-next-0.3.1",
14972
- "curl",
14973
- "cve-tou",
14974
- "diffmark",
14975
- "dtoa",
14976
- "dvipdfm",
14977
- "eGenix",
14978
- "etalab-2.0",
14979
- "fwlw",
14980
- "gSOAP-1.3b",
14981
- "generic-xts",
14982
- "gnuplot",
14983
- "gtkbook",
14984
- "hdparm",
14985
- "hyphen-bulgarian",
14986
- "iMatix",
14987
- "jove",
14988
- "libpng-1.6.35",
14989
- "libpng-2.0",
14990
- "libselinux-1.0",
14991
- "libtiff",
14992
- "libutil-David-Nugent",
14993
- "lsof",
14994
- "magaz",
14995
- "mailprio",
14996
- "man2html",
14997
- "metamail",
14998
- "mpi-permissive",
14999
- "mpich2",
15000
- "mplus",
15001
- "ngrep",
15002
- "pkgconf",
15003
- "pnmstitch",
15004
- "psfrag",
15005
- "psutils",
15006
- "python-ldap",
15007
- "radvd",
15008
- "snprintf",
15009
- "softSurfer",
15010
- "ssh-keyscan",
15011
- "swrule",
15012
- "threeparttable",
15013
- "ulem",
15014
- "w3m",
15015
- "wwl",
15016
- "xinetd",
15017
- "xkeyboard-config-Zinoviev",
15018
- "xlock",
15019
- "xpp",
15020
- "xzoom",
15021
- "zlib-acknowledgement"
15022
- ];
15023
- }));
14324
+ //#region ../../node_modules/.pnpm/@effected+spdx@0.1.0_effect@4.0.0-beta.99/node_modules/@effected/spdx/internal/licenseIds.js
14325
+ /** @internal */
14326
+ const ACTIVE_LICENSE_IDS = [
14327
+ "0BSD",
14328
+ "3D-Slicer-1.0",
14329
+ "AAL",
14330
+ "ADSL",
14331
+ "AFL-1.1",
14332
+ "AFL-1.2",
14333
+ "AFL-2.0",
14334
+ "AFL-2.1",
14335
+ "AFL-3.0",
14336
+ "AGPL-1.0-only",
14337
+ "AGPL-1.0-or-later",
14338
+ "AGPL-3.0-only",
14339
+ "AGPL-3.0-or-later",
14340
+ "ALGLIB-Documentation",
14341
+ "AMD-newlib",
14342
+ "AMDPLPA",
14343
+ "AML",
14344
+ "AML-glslang",
14345
+ "AMPAS",
14346
+ "ANTLR-PD",
14347
+ "ANTLR-PD-fallback",
14348
+ "APAFML",
14349
+ "APL-1.0",
14350
+ "APSL-1.0",
14351
+ "APSL-1.1",
14352
+ "APSL-1.2",
14353
+ "APSL-2.0",
14354
+ "ASWF-Digital-Assets-1.0",
14355
+ "ASWF-Digital-Assets-1.1",
14356
+ "Abstyles",
14357
+ "AdaCore-doc",
14358
+ "Adobe-2006",
14359
+ "Adobe-Display-PostScript",
14360
+ "Adobe-Glyph",
14361
+ "Adobe-Utopia",
14362
+ "Advanced-Cryptics-Dictionary",
14363
+ "Afmparse",
14364
+ "Aladdin",
14365
+ "Apache-1.0",
14366
+ "Apache-1.1",
14367
+ "Apache-2.0",
14368
+ "App-s2p",
14369
+ "Arphic-1999",
14370
+ "Artistic-1.0",
14371
+ "Artistic-1.0-Perl",
14372
+ "Artistic-1.0-cl8",
14373
+ "Artistic-2.0",
14374
+ "Artistic-dist",
14375
+ "Aspell-RU",
14376
+ "BOLA-1.1",
14377
+ "BSD-1-Clause",
14378
+ "BSD-2-Clause",
14379
+ "BSD-2-Clause-Darwin",
14380
+ "BSD-2-Clause-Patent",
14381
+ "BSD-2-Clause-Views",
14382
+ "BSD-2-Clause-first-lines",
14383
+ "BSD-2-Clause-pkgconf-disclaimer",
14384
+ "BSD-3-Clause",
14385
+ "BSD-3-Clause-Attribution",
14386
+ "BSD-3-Clause-Clear",
14387
+ "BSD-3-Clause-HP",
14388
+ "BSD-3-Clause-LBNL",
14389
+ "BSD-3-Clause-Modification",
14390
+ "BSD-3-Clause-No-Military-License",
14391
+ "BSD-3-Clause-No-Nuclear-License",
14392
+ "BSD-3-Clause-No-Nuclear-License-2014",
14393
+ "BSD-3-Clause-No-Nuclear-Warranty",
14394
+ "BSD-3-Clause-Open-MPI",
14395
+ "BSD-3-Clause-Sun",
14396
+ "BSD-3-Clause-Tso",
14397
+ "BSD-3-Clause-acpica",
14398
+ "BSD-3-Clause-flex",
14399
+ "BSD-4-Clause",
14400
+ "BSD-4-Clause-Shortened",
14401
+ "BSD-4-Clause-UC",
14402
+ "BSD-4.3RENO",
14403
+ "BSD-4.3TAHOE",
14404
+ "BSD-Advertising-Acknowledgement",
14405
+ "BSD-Attribution-HPND-disclaimer",
14406
+ "BSD-Inferno-Nettverk",
14407
+ "BSD-Mark-Modifications",
14408
+ "BSD-Protection",
14409
+ "BSD-Source-Code",
14410
+ "BSD-Source-beginning-file",
14411
+ "BSD-Systemics",
14412
+ "BSD-Systemics-W3Works",
14413
+ "BSL-1.0",
14414
+ "BUSL-1.1",
14415
+ "Baekmuk",
14416
+ "Bahyph",
14417
+ "Barr",
14418
+ "Beerware",
14419
+ "BitTorrent-1.0",
14420
+ "BitTorrent-1.1",
14421
+ "Bitstream-Charter",
14422
+ "Bitstream-Vera",
14423
+ "BlueOak-1.0.0",
14424
+ "Boehm-GC",
14425
+ "Boehm-GC-without-fee",
14426
+ "Borceux",
14427
+ "Brian-Gladman-2-Clause",
14428
+ "Brian-Gladman-3-Clause",
14429
+ "Buddy",
14430
+ "C-UDA-1.0",
14431
+ "CAL-1.0",
14432
+ "CAL-1.0-Combined-Work-Exception",
14433
+ "CAPEC-tou",
14434
+ "CATOSL-1.1",
14435
+ "CC-BY-1.0",
14436
+ "CC-BY-2.0",
14437
+ "CC-BY-2.5",
14438
+ "CC-BY-2.5-AU",
14439
+ "CC-BY-3.0",
14440
+ "CC-BY-3.0-AT",
14441
+ "CC-BY-3.0-AU",
14442
+ "CC-BY-3.0-DE",
14443
+ "CC-BY-3.0-IGO",
14444
+ "CC-BY-3.0-NL",
14445
+ "CC-BY-3.0-US",
14446
+ "CC-BY-4.0",
14447
+ "CC-BY-NC-1.0",
14448
+ "CC-BY-NC-2.0",
14449
+ "CC-BY-NC-2.5",
14450
+ "CC-BY-NC-3.0",
14451
+ "CC-BY-NC-3.0-DE",
14452
+ "CC-BY-NC-4.0",
14453
+ "CC-BY-NC-ND-1.0",
14454
+ "CC-BY-NC-ND-2.0",
14455
+ "CC-BY-NC-ND-2.5",
14456
+ "CC-BY-NC-ND-3.0",
14457
+ "CC-BY-NC-ND-3.0-DE",
14458
+ "CC-BY-NC-ND-3.0-IGO",
14459
+ "CC-BY-NC-ND-4.0",
14460
+ "CC-BY-NC-SA-1.0",
14461
+ "CC-BY-NC-SA-2.0",
14462
+ "CC-BY-NC-SA-2.0-DE",
14463
+ "CC-BY-NC-SA-2.0-FR",
14464
+ "CC-BY-NC-SA-2.0-UK",
14465
+ "CC-BY-NC-SA-2.5",
14466
+ "CC-BY-NC-SA-3.0",
14467
+ "CC-BY-NC-SA-3.0-DE",
14468
+ "CC-BY-NC-SA-3.0-IGO",
14469
+ "CC-BY-NC-SA-4.0",
14470
+ "CC-BY-ND-1.0",
14471
+ "CC-BY-ND-2.0",
14472
+ "CC-BY-ND-2.5",
14473
+ "CC-BY-ND-3.0",
14474
+ "CC-BY-ND-3.0-DE",
14475
+ "CC-BY-ND-4.0",
14476
+ "CC-BY-SA-1.0",
14477
+ "CC-BY-SA-2.0",
14478
+ "CC-BY-SA-2.0-UK",
14479
+ "CC-BY-SA-2.1-JP",
14480
+ "CC-BY-SA-2.5",
14481
+ "CC-BY-SA-3.0",
14482
+ "CC-BY-SA-3.0-AT",
14483
+ "CC-BY-SA-3.0-DE",
14484
+ "CC-BY-SA-3.0-IGO",
14485
+ "CC-BY-SA-4.0",
14486
+ "CC-PDDC",
14487
+ "CC-PDM-1.0",
14488
+ "CC-SA-1.0",
14489
+ "CC0-1.0",
14490
+ "CDDL-1.0",
14491
+ "CDDL-1.1",
14492
+ "CDL-1.0",
14493
+ "CDLA-Permissive-1.0",
14494
+ "CDLA-Permissive-2.0",
14495
+ "CDLA-Sharing-1.0",
14496
+ "CECILL-1.0",
14497
+ "CECILL-1.1",
14498
+ "CECILL-2.0",
14499
+ "CECILL-2.1",
14500
+ "CECILL-B",
14501
+ "CECILL-C",
14502
+ "CERN-OHL-1.1",
14503
+ "CERN-OHL-1.2",
14504
+ "CERN-OHL-P-2.0",
14505
+ "CERN-OHL-S-2.0",
14506
+ "CERN-OHL-W-2.0",
14507
+ "CFITSIO",
14508
+ "CMU-Mach",
14509
+ "CMU-Mach-nodoc",
14510
+ "CNRI-Jython",
14511
+ "CNRI-Python",
14512
+ "CNRI-Python-GPL-Compatible",
14513
+ "COIL-1.0",
14514
+ "CPAL-1.0",
14515
+ "CPL-1.0",
14516
+ "CPOL-1.02",
14517
+ "CUA-OPL-1.0",
14518
+ "Caldera",
14519
+ "Caldera-no-preamble",
14520
+ "Catharon",
14521
+ "ClArtistic",
14522
+ "Clips",
14523
+ "Community-Spec-1.0",
14524
+ "Condor-1.1",
14525
+ "Cornell-Lossless-JPEG",
14526
+ "Cronyx",
14527
+ "Crossword",
14528
+ "CryptoSwift",
14529
+ "CrystalStacker",
14530
+ "Cube",
14531
+ "D-FSL-1.0",
14532
+ "DEC-3-Clause",
14533
+ "DL-DE-BY-2.0",
14534
+ "DL-DE-ZERO-2.0",
14535
+ "DOC",
14536
+ "DRL-1.0",
14537
+ "DRL-1.1",
14538
+ "DSDP",
14539
+ "DocBook-DTD",
14540
+ "DocBook-Schema",
14541
+ "DocBook-Stylesheet",
14542
+ "DocBook-XML",
14543
+ "Dotseqn",
14544
+ "ECL-1.0",
14545
+ "ECL-2.0",
14546
+ "EFL-1.0",
14547
+ "EFL-2.0",
14548
+ "EPICS",
14549
+ "EPL-1.0",
14550
+ "EPL-2.0",
14551
+ "ESA-PL-permissive-2.4",
14552
+ "ESA-PL-strong-copyleft-2.4",
14553
+ "ESA-PL-weak-copyleft-2.4",
14554
+ "EUDatagrid",
14555
+ "EUPL-1.0",
14556
+ "EUPL-1.1",
14557
+ "EUPL-1.2",
14558
+ "Elastic-2.0",
14559
+ "Entessa",
14560
+ "ErlPL-1.1",
14561
+ "Eurosym",
14562
+ "FBM",
14563
+ "FDK-AAC",
14564
+ "FSFAP",
14565
+ "FSFAP-no-warranty-disclaimer",
14566
+ "FSFUL",
14567
+ "FSFULLR",
14568
+ "FSFULLRSD",
14569
+ "FSFULLRWD",
14570
+ "FSL-1.1-ALv2",
14571
+ "FSL-1.1-MIT",
14572
+ "FTL",
14573
+ "Fair",
14574
+ "Ferguson-Twofish",
14575
+ "Frameworx-1.0",
14576
+ "FreeBSD-DOC",
14577
+ "FreeImage",
14578
+ "Furuseth",
14579
+ "GCR-docs",
14580
+ "GD",
14581
+ "GFDL-1.1-invariants-only",
14582
+ "GFDL-1.1-invariants-or-later",
14583
+ "GFDL-1.1-no-invariants-only",
14584
+ "GFDL-1.1-no-invariants-or-later",
14585
+ "GFDL-1.1-only",
14586
+ "GFDL-1.1-or-later",
14587
+ "GFDL-1.2-invariants-only",
14588
+ "GFDL-1.2-invariants-or-later",
14589
+ "GFDL-1.2-no-invariants-only",
14590
+ "GFDL-1.2-no-invariants-or-later",
14591
+ "GFDL-1.2-only",
14592
+ "GFDL-1.2-or-later",
14593
+ "GFDL-1.3-invariants-only",
14594
+ "GFDL-1.3-invariants-or-later",
14595
+ "GFDL-1.3-no-invariants-only",
14596
+ "GFDL-1.3-no-invariants-or-later",
14597
+ "GFDL-1.3-only",
14598
+ "GFDL-1.3-or-later",
14599
+ "GL2PS",
14600
+ "GLWTPL",
14601
+ "GPL-1.0-only",
14602
+ "GPL-1.0-or-later",
14603
+ "GPL-2.0-only",
14604
+ "GPL-2.0-or-later",
14605
+ "GPL-3.0-only",
14606
+ "GPL-3.0-or-later",
14607
+ "Game-Programming-Gems",
14608
+ "Giftware",
14609
+ "Glide",
14610
+ "Glulxe",
14611
+ "Graphics-Gems",
14612
+ "Gutmann",
14613
+ "HDF5",
14614
+ "HIDAPI",
14615
+ "HP-1986",
14616
+ "HP-1989",
14617
+ "HPND",
14618
+ "HPND-DEC",
14619
+ "HPND-Fenneberg-Livingston",
14620
+ "HPND-INRIA-IMAG",
14621
+ "HPND-Intel",
14622
+ "HPND-Kevlin-Henney",
14623
+ "HPND-MIT-disclaimer",
14624
+ "HPND-Markus-Kuhn",
14625
+ "HPND-Netrek",
14626
+ "HPND-Pbmplus",
14627
+ "HPND-SMC",
14628
+ "HPND-UC",
14629
+ "HPND-UC-export-US",
14630
+ "HPND-doc",
14631
+ "HPND-doc-sell",
14632
+ "HPND-export-US",
14633
+ "HPND-export-US-acknowledgement",
14634
+ "HPND-export-US-modify",
14635
+ "HPND-export2-US",
14636
+ "HPND-merchantability-variant",
14637
+ "HPND-sell-MIT-disclaimer-xserver",
14638
+ "HPND-sell-regexpr",
14639
+ "HPND-sell-variant",
14640
+ "HPND-sell-variant-MIT-disclaimer",
14641
+ "HPND-sell-variant-MIT-disclaimer-rev",
14642
+ "HPND-sell-variant-critical-systems",
14643
+ "HTMLTIDY",
14644
+ "HaskellReport",
14645
+ "Hippocratic-2.1",
14646
+ "IBM-pibs",
14647
+ "ICU",
14648
+ "IEC-Code-Components-EULA",
14649
+ "IJG",
14650
+ "IJG-short",
14651
+ "IPA",
14652
+ "IPL-1.0",
14653
+ "ISC",
14654
+ "ISC-Veillard",
14655
+ "ISO-permission",
14656
+ "ImageMagick",
14657
+ "Imlib2",
14658
+ "Info-ZIP",
14659
+ "Inner-Net-2.0",
14660
+ "InnoSetup",
14661
+ "Intel",
14662
+ "Intel-ACPI",
14663
+ "Interbase-1.0",
14664
+ "JPL-image",
14665
+ "JPNIC",
14666
+ "JSON",
14667
+ "Jam",
14668
+ "JasPer-2.0",
14669
+ "Kastrup",
14670
+ "Kazlib",
14671
+ "Knuth-CTAN",
14672
+ "LAL-1.2",
14673
+ "LAL-1.3",
14674
+ "LGPL-2.0-only",
14675
+ "LGPL-2.0-or-later",
14676
+ "LGPL-2.1-only",
14677
+ "LGPL-2.1-or-later",
14678
+ "LGPL-3.0-only",
14679
+ "LGPL-3.0-or-later",
14680
+ "LGPLLR",
14681
+ "LOOP",
14682
+ "LPD-document",
14683
+ "LPL-1.0",
14684
+ "LPL-1.02",
14685
+ "LPPL-1.0",
14686
+ "LPPL-1.1",
14687
+ "LPPL-1.2",
14688
+ "LPPL-1.3a",
14689
+ "LPPL-1.3c",
14690
+ "LZMA-SDK-9.11-to-9.20",
14691
+ "LZMA-SDK-9.22",
14692
+ "Latex2e",
14693
+ "Latex2e-translated-notice",
14694
+ "Leptonica",
14695
+ "LiLiQ-P-1.1",
14696
+ "LiLiQ-R-1.1",
14697
+ "LiLiQ-Rplus-1.1",
14698
+ "Libpng",
14699
+ "Linux-OpenIB",
14700
+ "Linux-man-pages-1-para",
14701
+ "Linux-man-pages-copyleft",
14702
+ "Linux-man-pages-copyleft-2-para",
14703
+ "Linux-man-pages-copyleft-var",
14704
+ "Lucida-Bitmap-Fonts",
14705
+ "MIPS",
14706
+ "MIT",
14707
+ "MIT-0",
14708
+ "MIT-CMU",
14709
+ "MIT-Click",
14710
+ "MIT-Festival",
14711
+ "MIT-Khronos-old",
14712
+ "MIT-Modern-Variant",
14713
+ "MIT-STK",
14714
+ "MIT-Wu",
14715
+ "MIT-advertising",
14716
+ "MIT-enna",
14717
+ "MIT-feh",
14718
+ "MIT-open-group",
14719
+ "MIT-testregex",
14720
+ "MITNFA",
14721
+ "MMIXware",
14722
+ "MMPL-1.0.1",
14723
+ "MPEG-SSG",
14724
+ "MPL-1.0",
14725
+ "MPL-1.1",
14726
+ "MPL-2.0",
14727
+ "MPL-2.0-no-copyleft-exception",
14728
+ "MS-LPL",
14729
+ "MS-PL",
14730
+ "MS-RL",
14731
+ "MTLL",
14732
+ "Mackerras-3-Clause",
14733
+ "Mackerras-3-Clause-acknowledgment",
14734
+ "MakeIndex",
14735
+ "Martin-Birgmeier",
14736
+ "McPhee-slideshow",
14737
+ "Minpack",
14738
+ "MirOS",
14739
+ "Motosoto",
14740
+ "MulanPSL-1.0",
14741
+ "MulanPSL-2.0",
14742
+ "Multics",
14743
+ "Mup",
14744
+ "NAIST-2003",
14745
+ "NASA-1.3",
14746
+ "NBPL-1.0",
14747
+ "NCBI-PD",
14748
+ "NCGL-UK-2.0",
14749
+ "NCL",
14750
+ "NCSA",
14751
+ "NGPL",
14752
+ "NICTA-1.0",
14753
+ "NIST-PD",
14754
+ "NIST-PD-TNT",
14755
+ "NIST-PD-fallback",
14756
+ "NIST-Software",
14757
+ "NLOD-1.0",
14758
+ "NLOD-2.0",
14759
+ "NLPL",
14760
+ "NOSL",
14761
+ "NPL-1.0",
14762
+ "NPL-1.1",
14763
+ "NPOSL-3.0",
14764
+ "NRL",
14765
+ "NTIA-PD",
14766
+ "NTP",
14767
+ "NTP-0",
14768
+ "Naumen",
14769
+ "NetCDF",
14770
+ "Newsletr",
14771
+ "Nokia",
14772
+ "Noweb",
14773
+ "O-UDA-1.0",
14774
+ "OAR",
14775
+ "OCCT-PL",
14776
+ "OCLC-2.0",
14777
+ "ODC-By-1.0",
14778
+ "ODbL-1.0",
14779
+ "OFFIS",
14780
+ "OFL-1.0",
14781
+ "OFL-1.0-RFN",
14782
+ "OFL-1.0-no-RFN",
14783
+ "OFL-1.1",
14784
+ "OFL-1.1-RFN",
14785
+ "OFL-1.1-no-RFN",
14786
+ "OGC-1.0",
14787
+ "OGDL-Taiwan-1.0",
14788
+ "OGL-Canada-2.0",
14789
+ "OGL-UK-1.0",
14790
+ "OGL-UK-2.0",
14791
+ "OGL-UK-3.0",
14792
+ "OGTSL",
14793
+ "OLDAP-1.1",
14794
+ "OLDAP-1.2",
14795
+ "OLDAP-1.3",
14796
+ "OLDAP-1.4",
14797
+ "OLDAP-2.0",
14798
+ "OLDAP-2.0.1",
14799
+ "OLDAP-2.1",
14800
+ "OLDAP-2.2",
14801
+ "OLDAP-2.2.1",
14802
+ "OLDAP-2.2.2",
14803
+ "OLDAP-2.3",
14804
+ "OLDAP-2.4",
14805
+ "OLDAP-2.5",
14806
+ "OLDAP-2.6",
14807
+ "OLDAP-2.7",
14808
+ "OLDAP-2.8",
14809
+ "OLFL-1.3",
14810
+ "OML",
14811
+ "OPL-1.0",
14812
+ "OPL-UK-3.0",
14813
+ "OPUBL-1.0",
14814
+ "OSC-1.0",
14815
+ "OSET-PL-2.1",
14816
+ "OSL-1.0",
14817
+ "OSL-1.1",
14818
+ "OSL-2.0",
14819
+ "OSL-2.1",
14820
+ "OSL-3.0",
14821
+ "OSSP",
14822
+ "OpenMDW-1.0",
14823
+ "OpenPBS-2.3",
14824
+ "OpenSSL",
14825
+ "OpenSSL-standalone",
14826
+ "OpenVision",
14827
+ "PADL",
14828
+ "PDDL-1.0",
14829
+ "PHP-3.0",
14830
+ "PHP-3.01",
14831
+ "PPL",
14832
+ "PSF-2.0",
14833
+ "ParaType-Free-Font-1.3",
14834
+ "Parity-6.0.0",
14835
+ "Parity-7.0.0",
14836
+ "Pixar",
14837
+ "Plexus",
14838
+ "PolyForm-Noncommercial-1.0.0",
14839
+ "PolyForm-Small-Business-1.0.0",
14840
+ "PostgreSQL",
14841
+ "Python-2.0",
14842
+ "Python-2.0.1",
14843
+ "QPL-1.0",
14844
+ "QPL-1.0-INRIA-2004",
14845
+ "Qhull",
14846
+ "RHeCos-1.1",
14847
+ "RPL-1.1",
14848
+ "RPL-1.5",
14849
+ "RPSL-1.0",
14850
+ "RSA-MD",
14851
+ "RSCPL",
14852
+ "Rdisc",
14853
+ "Ruby",
14854
+ "Ruby-pty",
14855
+ "SAX-PD",
14856
+ "SAX-PD-2.0",
14857
+ "SCEA",
14858
+ "SGI-B-1.0",
14859
+ "SGI-B-1.1",
14860
+ "SGI-B-2.0",
14861
+ "SGI-OpenGL",
14862
+ "SGMLUG-PM",
14863
+ "SGP4",
14864
+ "SHL-0.5",
14865
+ "SHL-0.51",
14866
+ "SISSL",
14867
+ "SISSL-1.2",
14868
+ "SL",
14869
+ "SMAIL-GPL",
14870
+ "SMLNJ",
14871
+ "SMPPL",
14872
+ "SNIA",
14873
+ "SOFA",
14874
+ "SPL-1.0",
14875
+ "SSH-OpenSSH",
14876
+ "SSH-short",
14877
+ "SSLeay-standalone",
14878
+ "SSPL-1.0",
14879
+ "SUL-1.0",
14880
+ "SWL",
14881
+ "Saxpath",
14882
+ "SchemeReport",
14883
+ "Sendmail",
14884
+ "Sendmail-8.23",
14885
+ "Sendmail-Open-Source-1.1",
14886
+ "SimPL-2.0",
14887
+ "Sleepycat",
14888
+ "Soundex",
14889
+ "Spencer-86",
14890
+ "Spencer-94",
14891
+ "Spencer-99",
14892
+ "SugarCRM-1.1.3",
14893
+ "Sun-PPP",
14894
+ "Sun-PPP-2000",
14895
+ "SunPro",
14896
+ "Symlinks",
14897
+ "TAPR-OHL-1.0",
14898
+ "TCL",
14899
+ "TCP-wrappers",
14900
+ "TGPPL-1.0",
14901
+ "TMate",
14902
+ "TORQUE-1.1",
14903
+ "TOSL",
14904
+ "TPDL",
14905
+ "TPL-1.0",
14906
+ "TTWL",
14907
+ "TTYP0",
14908
+ "TU-Berlin-1.0",
14909
+ "TU-Berlin-2.0",
14910
+ "TekHVC",
14911
+ "TermReadKey",
14912
+ "ThirdEye",
14913
+ "TrustedQSL",
14914
+ "UCAR",
14915
+ "UCL-1.0",
14916
+ "UMich-Merit",
14917
+ "UPL-1.0",
14918
+ "URT-RLE",
14919
+ "Ubuntu-font-1.0",
14920
+ "UnRAR",
14921
+ "Unicode-3.0",
14922
+ "Unicode-DFS-2015",
14923
+ "Unicode-DFS-2016",
14924
+ "Unicode-TOU",
14925
+ "UnixCrypt",
14926
+ "Unlicense",
14927
+ "Unlicense-libtelnet",
14928
+ "Unlicense-libwhirlpool",
14929
+ "VOSTROM",
14930
+ "VSL-1.0",
14931
+ "Vim",
14932
+ "Vixie-Cron",
14933
+ "W3C",
14934
+ "W3C-19980720",
14935
+ "W3C-20150513",
14936
+ "WTFNMFPL",
14937
+ "WTFPL",
14938
+ "Watcom-1.0",
14939
+ "Widget-Workshop",
14940
+ "WordNet",
14941
+ "Wsuipa",
14942
+ "X11",
14943
+ "X11-distribute-modifications-variant",
14944
+ "X11-no-permit-persons",
14945
+ "X11-swapped",
14946
+ "XFree86-1.1",
14947
+ "XSkat",
14948
+ "Xdebug-1.03",
14949
+ "Xerox",
14950
+ "Xfig",
14951
+ "Xnet",
14952
+ "YPL-1.0",
14953
+ "YPL-1.1",
14954
+ "ZPL-1.1",
14955
+ "ZPL-2.0",
14956
+ "ZPL-2.1",
14957
+ "Zed",
14958
+ "Zeeff",
14959
+ "Zend-2.0",
14960
+ "Zimbra-1.3",
14961
+ "Zimbra-1.4",
14962
+ "Zlib",
14963
+ "any-OSI",
14964
+ "any-OSI-perl-modules",
14965
+ "bcrypt-Solar-Designer",
14966
+ "blessing",
14967
+ "bzip2-1.0.6",
14968
+ "check-cvs",
14969
+ "checkmk",
14970
+ "copyleft-next-0.3.0",
14971
+ "copyleft-next-0.3.1",
14972
+ "curl",
14973
+ "cve-tou",
14974
+ "diffmark",
14975
+ "dtoa",
14976
+ "dvipdfm",
14977
+ "eGenix",
14978
+ "etalab-2.0",
14979
+ "fwlw",
14980
+ "gSOAP-1.3b",
14981
+ "generic-xts",
14982
+ "gnuplot",
14983
+ "gtkbook",
14984
+ "hdparm",
14985
+ "hyphen-bulgarian",
14986
+ "iMatix",
14987
+ "jove",
14988
+ "libpng-1.6.35",
14989
+ "libpng-2.0",
14990
+ "libselinux-1.0",
14991
+ "libtiff",
14992
+ "libutil-David-Nugent",
14993
+ "lsof",
14994
+ "magaz",
14995
+ "mailprio",
14996
+ "man2html",
14997
+ "metamail",
14998
+ "mpi-permissive",
14999
+ "mpich2",
15000
+ "mplus",
15001
+ "ngrep",
15002
+ "pkgconf",
15003
+ "pnmstitch",
15004
+ "psfrag",
15005
+ "psutils",
15006
+ "python-ldap",
15007
+ "radvd",
15008
+ "snprintf",
15009
+ "softSurfer",
15010
+ "ssh-keyscan",
15011
+ "swrule",
15012
+ "threeparttable",
15013
+ "ulem",
15014
+ "w3m",
15015
+ "wwl",
15016
+ "xinetd",
15017
+ "xkeyboard-config-Zinoviev",
15018
+ "xlock",
15019
+ "xpp",
15020
+ "xzoom",
15021
+ "zlib-acknowledgement"
15022
+ ];
15023
+ /** @internal */
15024
+ const DEPRECATED_LICENSE_ID_LIST = [
15025
+ "AGPL-1.0",
15026
+ "AGPL-3.0",
15027
+ "BSD-2-Clause-FreeBSD",
15028
+ "BSD-2-Clause-NetBSD",
15029
+ "GFDL-1.1",
15030
+ "GFDL-1.2",
15031
+ "GFDL-1.3",
15032
+ "GPL-1.0",
15033
+ "GPL-2.0",
15034
+ "GPL-2.0-with-GCC-exception",
15035
+ "GPL-2.0-with-autoconf-exception",
15036
+ "GPL-2.0-with-bison-exception",
15037
+ "GPL-2.0-with-classpath-exception",
15038
+ "GPL-2.0-with-font-exception",
15039
+ "GPL-3.0",
15040
+ "GPL-3.0-with-GCC-exception",
15041
+ "GPL-3.0-with-autoconf-exception",
15042
+ "LGPL-2.0",
15043
+ "LGPL-2.1",
15044
+ "LGPL-3.0",
15045
+ "Net-SNMP",
15046
+ "Nunit",
15047
+ "StandardML-NJ",
15048
+ "bzip2-1.0.5",
15049
+ "eCos-2.0",
15050
+ "wxWindows"
15051
+ ];
15052
+ /** @internal */
15053
+ const LICENSE_IDS = new Set(ACTIVE_LICENSE_IDS);
15054
+ /** @internal */
15055
+ const DEPRECATED_LICENSE_IDS = new Set(DEPRECATED_LICENSE_ID_LIST);
15024
15056
  //#endregion
15025
- //#region ../../node_modules/.pnpm/spdx-license-ids@3.0.23/node_modules/spdx-license-ids/deprecated.json
15026
- var require_deprecated = /* @__PURE__ */ __commonJSMin(((exports, module) => {
15027
- module.exports = [
15028
- "AGPL-1.0",
15029
- "AGPL-3.0",
15030
- "BSD-2-Clause-FreeBSD",
15031
- "BSD-2-Clause-NetBSD",
15032
- "GFDL-1.1",
15033
- "GFDL-1.2",
15034
- "GFDL-1.3",
15035
- "GPL-1.0",
15036
- "GPL-2.0",
15037
- "GPL-2.0-with-GCC-exception",
15038
- "GPL-2.0-with-autoconf-exception",
15039
- "GPL-2.0-with-bison-exception",
15040
- "GPL-2.0-with-classpath-exception",
15041
- "GPL-2.0-with-font-exception",
15042
- "GPL-3.0",
15043
- "GPL-3.0-with-GCC-exception",
15044
- "GPL-3.0-with-autoconf-exception",
15045
- "LGPL-2.0",
15046
- "LGPL-2.1",
15047
- "LGPL-3.0",
15048
- "Net-SNMP",
15049
- "Nunit",
15050
- "StandardML-NJ",
15051
- "bzip2-1.0.5",
15052
- "eCos-2.0",
15053
- "wxWindows"
15054
- ];
15055
- }));
15057
+ //#region ../../node_modules/.pnpm/@effected+spdx@0.1.0_effect@4.0.0-beta.99/node_modules/@effected/spdx/License.js
15058
+ /**
15059
+ * Indicates that a string is not a valid SPDX expression fragment: an
15060
+ * unrecognized license or exception identifier, or a malformed
15061
+ * `LicenseRef-`/`DocumentRef-` reference.
15062
+ *
15063
+ * This is the package's single typed error. Both malformed grammar and an
15064
+ * unknown identifier fail through it on the `E` channel — never as a defect,
15065
+ * per the input-hardening invariant. {@link License.parse} and
15066
+ * `LicenseException.parse` raise it, and the recursive expression parser reuses
15067
+ * it for the whole grammar.
15068
+ *
15069
+ * @see {@link https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions/ | SPDX License Expressions}
15070
+ * @public
15071
+ */
15072
+ var InvalidSpdxExpressionError = class extends effect.Schema.TaggedErrorClass()("InvalidSpdxExpressionError", {
15073
+ /** The raw input string that failed to validate. */
15074
+ input: effect.Schema.String }) {
15075
+ get message() {
15076
+ return `Invalid SPDX expression: "${this.input}"`;
15077
+ }
15078
+ };
15079
+ const LICENSE_REF_PATTERN = /^(?:DocumentRef-[A-Za-z0-9.-]+:)?LicenseRef-[A-Za-z0-9.-]+$/;
15080
+ /**
15081
+ * A validated SPDX license identifier: an Effect `Schema.Class` whose `id` is
15082
+ * either a member of the SPDX License List or a well-formed
15083
+ * `LicenseRef-`/`DocumentRef-` reference. The class doubles as its own schema —
15084
+ * there is no `*Schema` suffix.
15085
+ *
15086
+ * This is the catalog-level model: it validates and resolves an identifier and
15087
+ * owns the static catalog and predicates. It is deliberately distinct from, and
15088
+ * a coarser altitude than, the expression AST's simple-license leaf: the
15089
+ * trailing `+` ("or later") marker is an expression-level operator and does not
15090
+ * live here, and a `LicenseRef` is accepted whole as an `id` rather than
15091
+ * decomposed. The AST layer consumes these validation statics rather than
15092
+ * unifying its leaf with this class.
15093
+ *
15094
+ * Construction of a resolved identifier goes through {@link License.parse}
15095
+ * (Effect) or {@link License.parseResult} (the synchronous `Result` primitive);
15096
+ * the inherited `make` remains the field-level struct constructor.
15097
+ *
15098
+ * @example
15099
+ * ```ts
15100
+ * import { License } from "@effected/spdx";
15101
+ * import { Effect } from "effect";
15102
+ *
15103
+ * const program = Effect.gen(function* () {
15104
+ * const mit = yield* License.parse("MIT");
15105
+ * return [mit.id, mit.deprecated] as const;
15106
+ * });
15107
+ *
15108
+ * console.log(Effect.runSync(program));
15109
+ * // => ["MIT", false]
15110
+ * ```
15111
+ *
15112
+ * @see {@link https://spdx.org/licenses/ | SPDX License List}
15113
+ * @public
15114
+ */
15115
+ var License = class License extends effect.Schema.Class("License")({
15116
+ /**
15117
+ * The SPDX short identifier (e.g. `"MIT"`) or a `LicenseRef-`/`DocumentRef-`
15118
+ * reference string.
15119
+ */
15120
+ id: effect.Schema.String,
15121
+ /**
15122
+ * Whether `id` is a deprecated SPDX identifier. Always `false` for a
15123
+ * `LicenseRef`/`DocumentRef` reference.
15124
+ */
15125
+ deprecated: effect.Schema.Boolean
15126
+ }) {
15127
+ /**
15128
+ * The full SPDX license catalog keyed by identifier, holding resolved
15129
+ * {@link License} domain objects for every active and deprecated id. Built
15130
+ * once from the vendored datasets at module load; references are not
15131
+ * catalog members.
15132
+ */
15133
+ static catalog = (() => {
15134
+ const map = /* @__PURE__ */ new Map();
15135
+ for (const id of LICENSE_IDS) map.set(id, License.make({
15136
+ id,
15137
+ deprecated: false
15138
+ }));
15139
+ for (const id of DEPRECATED_LICENSE_IDS) map.set(id, License.make({
15140
+ id,
15141
+ deprecated: true
15142
+ }));
15143
+ return map;
15144
+ })();
15145
+ /**
15146
+ * Whether `id` is a recognized SPDX license identifier — active or
15147
+ * deprecated. A grammatically valid `LicenseRef`/`DocumentRef` is not a
15148
+ * catalog member and returns `false`.
15149
+ */
15150
+ static isKnownId(id) {
15151
+ return License.catalog.has(id);
15152
+ }
15153
+ /** Whether `id` is specifically a deprecated SPDX license identifier. */
15154
+ static isDeprecatedId(id) {
15155
+ return DEPRECATED_LICENSE_IDS.has(id);
15156
+ }
15157
+ /**
15158
+ * Whether `id` matches the `LicenseRef-`/`DocumentRef-` reference grammar.
15159
+ * A reference is valid without catalog membership; this is the grammar
15160
+ * predicate the expression parser consults.
15161
+ */
15162
+ static isLicenseRef(id) {
15163
+ return LICENSE_REF_PATTERN.test(id);
15164
+ }
15165
+ /**
15166
+ * Validate a license identifier synchronously, returning a `Result`. The
15167
+ * `id` is accepted when it is a catalog member (active or deprecated) or a
15168
+ * well-formed `LicenseRef`/`DocumentRef` reference; anything else fails with
15169
+ * {@link InvalidSpdxExpressionError}.
15170
+ *
15171
+ * @remarks
15172
+ * {@link License.parse} is defined in terms of this function; the two never
15173
+ * diverge. Reach for the `Effect` variant inside Effect code — it carries
15174
+ * the `License.parse` tracing span — and for this one at synchronous
15175
+ * boundaries.
15176
+ *
15177
+ * @param id - the license identifier to validate
15178
+ * @returns a `Result` succeeding with the resolved {@link License}, or
15179
+ * failing with {@link InvalidSpdxExpressionError}.
15180
+ */
15181
+ static parseResult(id) {
15182
+ const known = License.catalog.get(id);
15183
+ if (known !== void 0) return effect.Result.succeed(known);
15184
+ if (LICENSE_REF_PATTERN.test(id)) return effect.Result.succeed(License.make({
15185
+ id,
15186
+ deprecated: false
15187
+ }));
15188
+ return effect.Result.fail(new InvalidSpdxExpressionError({ input: id }));
15189
+ }
15190
+ /**
15191
+ * Validate a license identifier. Defined in terms of
15192
+ * {@link License.parseResult} — synchronous callers can use that variant
15193
+ * directly.
15194
+ *
15195
+ * @param id - the license identifier to validate
15196
+ * @returns the resolved {@link License}. Fails with
15197
+ * {@link InvalidSpdxExpressionError} when `id` is neither a catalog member
15198
+ * nor a valid reference.
15199
+ */
15200
+ static parse = effect.Effect.fn("License.parse")((id) => effect.Effect.fromResult(License.parseResult(id)));
15201
+ /**
15202
+ * Construct a {@link License} directly from already-typed parts:
15203
+ * `License.of("MIT")`. This is the field-level convenience constructor, a thin
15204
+ * wrapper over the inherited `make` — it does **not** consult the catalog and
15205
+ * does **not** validate that `id` is a known identifier or a well-formed
15206
+ * reference. Reach for {@link License.parse} or {@link License.parseResult}
15207
+ * when the `id` is untrusted and must be validated.
15208
+ *
15209
+ * @param id - the SPDX short identifier or `LicenseRef`/`DocumentRef` reference
15210
+ * @param deprecated - whether `id` is a deprecated identifier; defaults to
15211
+ * `false`
15212
+ * @returns the constructed {@link License}
15213
+ */
15214
+ static of(id, deprecated = false) {
15215
+ return License.make({
15216
+ id,
15217
+ deprecated
15218
+ });
15219
+ }
15220
+ /** The identifier string. */
15221
+ toString() {
15222
+ return this.id;
15223
+ }
15224
+ };
15056
15225
  //#endregion
15057
- //#region ../../node_modules/.pnpm/spdx-exceptions@2.5.0/node_modules/spdx-exceptions/index.json
15058
- var require_spdx_exceptions = /* @__PURE__ */ __commonJSMin(((exports, module) => {
15059
- module.exports = [
15060
- "389-exception",
15061
- "Asterisk-exception",
15062
- "Autoconf-exception-2.0",
15063
- "Autoconf-exception-3.0",
15064
- "Autoconf-exception-generic",
15065
- "Autoconf-exception-generic-3.0",
15066
- "Autoconf-exception-macro",
15067
- "Bison-exception-1.24",
15068
- "Bison-exception-2.2",
15069
- "Bootloader-exception",
15070
- "Classpath-exception-2.0",
15071
- "CLISP-exception-2.0",
15072
- "cryptsetup-OpenSSL-exception",
15073
- "DigiRule-FOSS-exception",
15074
- "eCos-exception-2.0",
15075
- "Fawkes-Runtime-exception",
15076
- "FLTK-exception",
15077
- "fmt-exception",
15078
- "Font-exception-2.0",
15079
- "freertos-exception-2.0",
15080
- "GCC-exception-2.0",
15081
- "GCC-exception-2.0-note",
15082
- "GCC-exception-3.1",
15083
- "Gmsh-exception",
15084
- "GNAT-exception",
15085
- "GNOME-examples-exception",
15086
- "GNU-compiler-exception",
15087
- "gnu-javamail-exception",
15088
- "GPL-3.0-interface-exception",
15089
- "GPL-3.0-linking-exception",
15090
- "GPL-3.0-linking-source-exception",
15091
- "GPL-CC-1.0",
15092
- "GStreamer-exception-2005",
15093
- "GStreamer-exception-2008",
15094
- "i2p-gpl-java-exception",
15095
- "KiCad-libraries-exception",
15096
- "LGPL-3.0-linking-exception",
15097
- "libpri-OpenH323-exception",
15098
- "Libtool-exception",
15099
- "Linux-syscall-note",
15100
- "LLGPL",
15101
- "LLVM-exception",
15102
- "LZMA-exception",
15103
- "mif-exception",
15104
- "OCaml-LGPL-linking-exception",
15105
- "OCCT-exception-1.0",
15106
- "OpenJDK-assembly-exception-1.0",
15107
- "openvpn-openssl-exception",
15108
- "PS-or-PDF-font-exception-20170817",
15109
- "QPL-1.0-INRIA-2004-exception",
15110
- "Qt-GPL-exception-1.0",
15111
- "Qt-LGPL-exception-1.1",
15112
- "Qwt-exception-1.0",
15113
- "SANE-exception",
15114
- "SHL-2.0",
15115
- "SHL-2.1",
15116
- "stunnel-exception",
15117
- "SWI-exception",
15118
- "Swift-exception",
15119
- "Texinfo-exception",
15120
- "u-boot-exception-2.0",
15121
- "UBDL-exception",
15122
- "Universal-FOSS-exception-1.0",
15123
- "vsftpd-openssl-exception",
15124
- "WxWindows-exception-3.1",
15125
- "x11vnc-openssl-exception"
15126
- ];
15127
- }));
15226
+ //#region ../../node_modules/.pnpm/@effected+spdx@0.1.0_effect@4.0.0-beta.99/node_modules/@effected/spdx/internal/exceptions.js
15227
+ /** @internal */
15228
+ const ACTIVE_EXCEPTION_IDS = [
15229
+ "389-exception",
15230
+ "Asterisk-exception",
15231
+ "Autoconf-exception-2.0",
15232
+ "Autoconf-exception-3.0",
15233
+ "Autoconf-exception-generic",
15234
+ "Autoconf-exception-generic-3.0",
15235
+ "Autoconf-exception-macro",
15236
+ "Bison-exception-1.24",
15237
+ "Bison-exception-2.2",
15238
+ "Bootloader-exception",
15239
+ "CLISP-exception-2.0",
15240
+ "Classpath-exception-2.0",
15241
+ "DigiRule-FOSS-exception",
15242
+ "FLTK-exception",
15243
+ "Fawkes-Runtime-exception",
15244
+ "Font-exception-2.0",
15245
+ "GCC-exception-2.0",
15246
+ "GCC-exception-2.0-note",
15247
+ "GCC-exception-3.1",
15248
+ "GNAT-exception",
15249
+ "GNOME-examples-exception",
15250
+ "GNU-compiler-exception",
15251
+ "GPL-3.0-interface-exception",
15252
+ "GPL-3.0-linking-exception",
15253
+ "GPL-3.0-linking-source-exception",
15254
+ "GPL-CC-1.0",
15255
+ "GStreamer-exception-2005",
15256
+ "GStreamer-exception-2008",
15257
+ "Gmsh-exception",
15258
+ "KiCad-libraries-exception",
15259
+ "LGPL-3.0-linking-exception",
15260
+ "LLGPL",
15261
+ "LLVM-exception",
15262
+ "LZMA-exception",
15263
+ "Libtool-exception",
15264
+ "Linux-syscall-note",
15265
+ "OCCT-exception-1.0",
15266
+ "OCaml-LGPL-linking-exception",
15267
+ "OpenJDK-assembly-exception-1.0",
15268
+ "PS-or-PDF-font-exception-20170817",
15269
+ "QPL-1.0-INRIA-2004-exception",
15270
+ "Qt-GPL-exception-1.0",
15271
+ "Qt-LGPL-exception-1.1",
15272
+ "Qwt-exception-1.0",
15273
+ "SANE-exception",
15274
+ "SHL-2.0",
15275
+ "SHL-2.1",
15276
+ "SWI-exception",
15277
+ "Swift-exception",
15278
+ "Texinfo-exception",
15279
+ "UBDL-exception",
15280
+ "Universal-FOSS-exception-1.0",
15281
+ "WxWindows-exception-3.1",
15282
+ "cryptsetup-OpenSSL-exception",
15283
+ "eCos-exception-2.0",
15284
+ "fmt-exception",
15285
+ "freertos-exception-2.0",
15286
+ "gnu-javamail-exception",
15287
+ "i2p-gpl-java-exception",
15288
+ "libpri-OpenH323-exception",
15289
+ "mif-exception",
15290
+ "openvpn-openssl-exception",
15291
+ "stunnel-exception",
15292
+ "u-boot-exception-2.0",
15293
+ "vsftpd-openssl-exception",
15294
+ "x11vnc-openssl-exception"
15295
+ ];
15296
+ /** @internal */
15297
+ const DEPRECATED_EXCEPTION_ID_LIST = ["Nokia-Qt-exception-1.1"];
15298
+ /** @internal */
15299
+ const EXCEPTION_IDS = new Set(ACTIVE_EXCEPTION_IDS);
15300
+ /** @internal */
15301
+ const DEPRECATED_EXCEPTION_IDS = new Set(DEPRECATED_EXCEPTION_ID_LIST);
15128
15302
  //#endregion
15129
- //#region ../../node_modules/.pnpm/spdx-expression-parse@4.0.0/node_modules/spdx-expression-parse/scan.js
15130
- var require_scan$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
15131
- var licenses = [].concat(require_spdx_license_ids()).concat(require_deprecated());
15132
- var exceptions = require_spdx_exceptions();
15133
- module.exports = function(source) {
15134
- var index = 0;
15135
- function hasMore() {
15136
- return index < source.length;
15137
- }
15138
- function read(value) {
15139
- if (value instanceof RegExp) {
15140
- var match = source.slice(index).match(value);
15141
- if (match) {
15142
- index += match[0].length;
15143
- return match[0];
15144
- }
15145
- } else if (source.indexOf(value, index) === index) {
15146
- index += value.length;
15147
- return value;
15148
- }
15149
- }
15150
- function skipWhitespace() {
15151
- read(/[ ]*/);
15152
- }
15153
- function operator() {
15154
- var string;
15155
- var possibilities = [
15156
- /^WITH/i,
15157
- /^AND/i,
15158
- /^OR/i,
15159
- "(",
15160
- ")",
15161
- ":",
15162
- "+"
15163
- ];
15164
- for (var i = 0; i < possibilities.length; i++) {
15165
- string = read(possibilities[i]);
15166
- if (string) break;
15167
- }
15168
- if (string === "+" && index > 1 && source[index - 2] === " ") throw new Error("Space before `+`");
15169
- return string && {
15170
- type: "OPERATOR",
15171
- string: string.toUpperCase()
15172
- };
15173
- }
15174
- function idstring() {
15175
- return read(/[A-Za-z0-9-.]+/);
15176
- }
15177
- function expectIdstring() {
15178
- var string = idstring();
15179
- if (!string) throw new Error("Expected idstring at offset " + index);
15180
- return string;
15181
- }
15182
- function documentRef() {
15183
- if (read("DocumentRef-")) return {
15184
- type: "DOCUMENTREF",
15185
- string: expectIdstring()
15186
- };
15187
- }
15188
- function licenseRef() {
15189
- if (read("LicenseRef-")) return {
15190
- type: "LICENSEREF",
15191
- string: expectIdstring()
15192
- };
15193
- }
15194
- function identifier() {
15195
- var begin = index;
15196
- var string = idstring();
15197
- if (licenses.indexOf(string) !== -1) return {
15198
- type: "LICENSE",
15199
- string
15200
- };
15201
- else if (exceptions.indexOf(string) !== -1) return {
15202
- type: "EXCEPTION",
15203
- string
15204
- };
15205
- index = begin;
15303
+ //#region ../../node_modules/.pnpm/@effected+spdx@0.1.0_effect@4.0.0-beta.99/node_modules/@effected/spdx/LicenseException.js
15304
+ /**
15305
+ * A validated SPDX license-exception identifier: an Effect `Schema.Class` whose
15306
+ * `id` is a member of the SPDX exception list. The class doubles as its own
15307
+ * schema.
15308
+ *
15309
+ * Unlike {@link License}, an exception has no reference grammar — an exception
15310
+ * identifier is valid only when it is a catalog member. Construction goes
15311
+ * through {@link LicenseException.parse} (Effect) or
15312
+ * {@link LicenseException.parseResult} (the synchronous `Result` primitive);
15313
+ * the inherited `make` remains the field-level struct constructor. Validation
15314
+ * failures reuse {@link InvalidSpdxExpressionError}, the package's single error.
15315
+ *
15316
+ * @example
15317
+ * ```ts
15318
+ * import { LicenseException } from "@effected/spdx";
15319
+ * import { Effect } from "effect";
15320
+ *
15321
+ * const program = Effect.gen(function* () {
15322
+ * const e = yield* LicenseException.parse("Classpath-exception-2.0");
15323
+ * return e.id;
15324
+ * });
15325
+ *
15326
+ * console.log(Effect.runSync(program));
15327
+ * // => "Classpath-exception-2.0"
15328
+ * ```
15329
+ *
15330
+ * @see {@link https://spdx.org/licenses/exceptions-index.html | SPDX Exceptions List}
15331
+ * @public
15332
+ */
15333
+ var LicenseException = class LicenseException extends effect.Schema.Class("LicenseException")({
15334
+ /** The SPDX exception short identifier (e.g. `"Classpath-exception-2.0"`). */
15335
+ id: effect.Schema.String,
15336
+ /** Whether `id` is a deprecated SPDX exception identifier. */
15337
+ deprecated: effect.Schema.Boolean
15338
+ }) {
15339
+ /**
15340
+ * The full SPDX exception catalog keyed by identifier, holding resolved
15341
+ * {@link LicenseException} domain objects for every active and deprecated
15342
+ * id. Built once from the vendored datasets at module load.
15343
+ */
15344
+ static catalog = (() => {
15345
+ const map = /* @__PURE__ */ new Map();
15346
+ for (const id of EXCEPTION_IDS) map.set(id, LicenseException.make({
15347
+ id,
15348
+ deprecated: false
15349
+ }));
15350
+ for (const id of DEPRECATED_EXCEPTION_IDS) map.set(id, LicenseException.make({
15351
+ id,
15352
+ deprecated: true
15353
+ }));
15354
+ return map;
15355
+ })();
15356
+ /**
15357
+ * Whether `id` is a recognized SPDX exception identifier — active or
15358
+ * deprecated.
15359
+ */
15360
+ static isKnownId(id) {
15361
+ return LicenseException.catalog.has(id);
15362
+ }
15363
+ /** Whether `id` is specifically a deprecated SPDX exception identifier. */
15364
+ static isDeprecatedId(id) {
15365
+ return DEPRECATED_EXCEPTION_IDS.has(id);
15366
+ }
15367
+ /**
15368
+ * Validate an exception identifier synchronously, returning a `Result`. The
15369
+ * `id` is accepted only when it is a catalog member (active or deprecated);
15370
+ * anything else fails with {@link InvalidSpdxExpressionError}.
15371
+ *
15372
+ * @remarks
15373
+ * {@link LicenseException.parse} is defined in terms of this function; the
15374
+ * two never diverge. Reach for the `Effect` variant inside Effect code — it
15375
+ * carries the `LicenseException.parse` tracing span and for this one at
15376
+ * synchronous boundaries.
15377
+ *
15378
+ * @param id - the exception identifier to validate
15379
+ * @returns a `Result` succeeding with the resolved {@link LicenseException},
15380
+ * or failing with {@link InvalidSpdxExpressionError}.
15381
+ */
15382
+ static parseResult(id) {
15383
+ const known = LicenseException.catalog.get(id);
15384
+ if (known !== void 0) return effect.Result.succeed(known);
15385
+ return effect.Result.fail(new InvalidSpdxExpressionError({ input: id }));
15386
+ }
15387
+ /**
15388
+ * Validate an exception identifier. Defined in terms of
15389
+ * {@link LicenseException.parseResult} — synchronous callers can use that
15390
+ * variant directly.
15391
+ *
15392
+ * @param id - the exception identifier to validate
15393
+ * @returns the resolved {@link LicenseException}. Fails with
15394
+ * {@link InvalidSpdxExpressionError} when `id` is not a catalog member.
15395
+ */
15396
+ static parse = effect.Effect.fn("LicenseException.parse")((id) => effect.Effect.fromResult(LicenseException.parseResult(id)));
15397
+ /**
15398
+ * Construct a {@link LicenseException} directly from already-typed parts:
15399
+ * `LicenseException.of("Classpath-exception-2.0")`. This is the field-level
15400
+ * convenience constructor, a thin wrapper over the inherited `make` — it does
15401
+ * **not** consult the catalog and does **not** validate that `id` is a known
15402
+ * exception identifier. Reach for {@link LicenseException.parse} or
15403
+ * {@link LicenseException.parseResult} when the `id` is untrusted and must be
15404
+ * validated.
15405
+ *
15406
+ * @param id - the SPDX exception short identifier
15407
+ * @param deprecated - whether `id` is a deprecated identifier; defaults to
15408
+ * `false`
15409
+ * @returns the constructed {@link LicenseException}
15410
+ */
15411
+ static of(id, deprecated = false) {
15412
+ return LicenseException.make({
15413
+ id,
15414
+ deprecated
15415
+ });
15416
+ }
15417
+ /** The identifier string. */
15418
+ toString() {
15419
+ return this.id;
15420
+ }
15421
+ };
15422
+ //#endregion
15423
+ //#region ../../node_modules/.pnpm/@effected+spdx@0.1.0_effect@4.0.0-beta.99/node_modules/@effected/spdx/internal/parser.js
15424
+ const TOKEN_OPEN_PAREN = 0;
15425
+ const TOKEN_CLOSE_PAREN = 1;
15426
+ const TOKEN_PLUS = 2;
15427
+ const TOKEN_COLON = 3;
15428
+ const TOKEN_AND = 4;
15429
+ const TOKEN_OR = 5;
15430
+ const TOKEN_WITH = 6;
15431
+ const TOKEN_ID = 7;
15432
+ const DOCUMENT_REF_PREFIX = "DocumentRef-";
15433
+ const LICENSE_REF_PREFIX = "LicenseRef-";
15434
+ function isIdChar(code) {
15435
+ return code >= 48 && code <= 57 || code >= 65 && code <= 90 || code >= 97 && code <= 122 || code === 46 || code === 45;
15436
+ }
15437
+ /**
15438
+ * Scan an SPDX expression into a flat token stream. Iterative — no recursion,
15439
+ * so it cannot overflow the stack regardless of input length. Returns
15440
+ * `undefined` on the first unexpected character (or a `+` preceded by a space,
15441
+ * which SPDX forbids) rather than throwing, so malformed input flows through
15442
+ * the caller's typed error channel.
15443
+ */
15444
+ function scan(source) {
15445
+ const tokens = [];
15446
+ let i = 0;
15447
+ const n = source.length;
15448
+ while (i < n) {
15449
+ const code = source.charCodeAt(i);
15450
+ if (code === 32) {
15451
+ i++;
15452
+ continue;
15206
15453
  }
15207
- function parseToken() {
15208
- return operator() || documentRef() || licenseRef() || identifier();
15454
+ if (code === 40) {
15455
+ tokens.push({
15456
+ type: TOKEN_OPEN_PAREN,
15457
+ value: "("
15458
+ });
15459
+ i++;
15460
+ continue;
15209
15461
  }
15210
- var tokens = [];
15211
- while (hasMore()) {
15212
- skipWhitespace();
15213
- if (!hasMore()) break;
15214
- var token = parseToken();
15215
- if (!token) throw new Error("Unexpected `" + source[index] + "` at offset " + index);
15216
- tokens.push(token);
15462
+ if (code === 41) {
15463
+ tokens.push({
15464
+ type: TOKEN_CLOSE_PAREN,
15465
+ value: ")"
15466
+ });
15467
+ i++;
15468
+ continue;
15217
15469
  }
15218
- return tokens;
15219
- };
15220
- }));
15221
- //#endregion
15222
- //#region ../../node_modules/.pnpm/spdx-expression-parse@4.0.0/node_modules/spdx-expression-parse/parse.js
15223
- var require_parse$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
15224
- module.exports = function(tokens) {
15225
- var index = 0;
15226
- function hasMore() {
15227
- return index < tokens.length;
15470
+ if (code === 43) {
15471
+ if (i > 0 && source.charCodeAt(i - 1) === 32) return void 0;
15472
+ tokens.push({
15473
+ type: TOKEN_PLUS,
15474
+ value: "+"
15475
+ });
15476
+ i++;
15477
+ continue;
15228
15478
  }
15229
- function token() {
15230
- return hasMore() ? tokens[index] : null;
15479
+ if (code === 58) {
15480
+ tokens.push({
15481
+ type: TOKEN_COLON,
15482
+ value: ":"
15483
+ });
15484
+ i++;
15485
+ continue;
15231
15486
  }
15232
- function next() {
15233
- if (!hasMore()) throw new Error();
15234
- index++;
15487
+ if (isIdChar(code)) {
15488
+ let j = i + 1;
15489
+ while (j < n && isIdChar(source.charCodeAt(j))) j++;
15490
+ const value = source.slice(i, j);
15491
+ i = j;
15492
+ const upper = value.toUpperCase();
15493
+ if (upper === "AND") tokens.push({
15494
+ type: TOKEN_AND,
15495
+ value
15496
+ });
15497
+ else if (upper === "OR") tokens.push({
15498
+ type: TOKEN_OR,
15499
+ value
15500
+ });
15501
+ else if (upper === "WITH") tokens.push({
15502
+ type: TOKEN_WITH,
15503
+ value
15504
+ });
15505
+ else tokens.push({
15506
+ type: TOKEN_ID,
15507
+ value
15508
+ });
15509
+ continue;
15235
15510
  }
15236
- function parseOperator(operator) {
15237
- var t = token();
15238
- if (t && t.type === "OPERATOR" && operator === t.string) {
15239
- next();
15240
- return t.string;
15241
- }
15511
+ return;
15512
+ }
15513
+ return tokens;
15514
+ }
15515
+ /**
15516
+ * Parse an SPDX license expression into a {@link RawExpression} tree, or
15517
+ * `undefined` when the input is not a valid expression.
15518
+ *
15519
+ * A hardened, recursive-descent parser over the {@link scan} token stream,
15520
+ * following `spdx-expression-parse`'s operator precedence (`WITH` binds
15521
+ * tightest, then `AND`, then `OR`). It **never throws**: every malformation —
15522
+ * an unknown identifier, an unbalanced parenthesis, a dangling `AND`/`OR`, a
15523
+ * `WITH` without a known exception, or nesting past {@link MAX_NESTING_DEPTH} —
15524
+ * returns `undefined`, which the facade materializes into the package's typed
15525
+ * error. A single shared depth counter, incremented at each recursive entry and
15526
+ * released in `finally`, caps the recursion so hostile nesting is rejected
15527
+ * cleanly rather than overflowing the stack.
15528
+ *
15529
+ * @internal
15530
+ */
15531
+ function parse$2(input) {
15532
+ const tokens = scan(input);
15533
+ if (tokens === void 0) return void 0;
15534
+ let pos = 0;
15535
+ let depth = 0;
15536
+ const peek = () => pos < tokens.length ? tokens[pos] : void 0;
15537
+ function parseOr() {
15538
+ if (depth >= 256) return void 0;
15539
+ depth++;
15540
+ try {
15541
+ const left = parseAnd();
15542
+ if (left === void 0) return void 0;
15543
+ if (peek()?.type !== TOKEN_OR) return left;
15544
+ pos++;
15545
+ const right = parseOr();
15546
+ if (right === void 0) return void 0;
15547
+ return {
15548
+ kind: "or",
15549
+ left,
15550
+ right
15551
+ };
15552
+ } finally {
15553
+ depth--;
15242
15554
  }
15243
- function parseWith() {
15244
- if (parseOperator("WITH")) {
15245
- var t = token();
15246
- if (t && t.type === "EXCEPTION") {
15247
- next();
15248
- return t.string;
15249
- }
15250
- throw new Error("Expected exception after `WITH`");
15251
- }
15555
+ }
15556
+ function parseAnd() {
15557
+ if (depth >= 256) return void 0;
15558
+ depth++;
15559
+ try {
15560
+ const left = parseAtom();
15561
+ if (left === void 0) return void 0;
15562
+ if (peek()?.type !== TOKEN_AND) return left;
15563
+ pos++;
15564
+ const right = parseAnd();
15565
+ if (right === void 0) return void 0;
15566
+ return {
15567
+ kind: "and",
15568
+ left,
15569
+ right
15570
+ };
15571
+ } finally {
15572
+ depth--;
15252
15573
  }
15253
- function parseLicenseRef() {
15254
- var begin = index;
15255
- var string = "";
15256
- var t = token();
15257
- if (t.type === "DOCUMENTREF") {
15258
- next();
15259
- string += "DocumentRef-" + t.string + ":";
15260
- if (!parseOperator(":")) throw new Error("Expected `:` after `DocumentRef-...`");
15261
- }
15262
- t = token();
15263
- if (t.type === "LICENSEREF") {
15264
- next();
15265
- string += "LicenseRef-" + t.string;
15266
- return { license: string };
15574
+ }
15575
+ function parseAtom() {
15576
+ if (depth >= 256) return void 0;
15577
+ depth++;
15578
+ try {
15579
+ if (peek()?.type === TOKEN_OPEN_PAREN) {
15580
+ pos++;
15581
+ const inner = parseOr();
15582
+ if (inner === void 0) return void 0;
15583
+ if (peek()?.type !== TOKEN_CLOSE_PAREN) return void 0;
15584
+ pos++;
15585
+ return inner;
15267
15586
  }
15268
- index = begin;
15587
+ return parseLicenseLike();
15588
+ } finally {
15589
+ depth--;
15269
15590
  }
15270
- function parseLicense() {
15271
- var t = token();
15272
- if (t && t.type === "LICENSE") {
15273
- next();
15274
- var node = { license: t.string };
15275
- if (parseOperator("+")) node.plus = true;
15276
- var exception = parseWith();
15277
- if (exception) node.exception = exception;
15278
- return node;
15279
- }
15591
+ }
15592
+ function parseLicenseLike() {
15593
+ const head = peek();
15594
+ if (head === void 0 || head.type !== TOKEN_ID) return void 0;
15595
+ const value = head.value;
15596
+ if (value.startsWith(DOCUMENT_REF_PREFIX)) {
15597
+ pos++;
15598
+ if (peek()?.type !== TOKEN_COLON) return void 0;
15599
+ pos++;
15600
+ const refToken = peek();
15601
+ if (refToken === void 0 || refToken.type !== TOKEN_ID || !refToken.value.startsWith(LICENSE_REF_PREFIX)) return;
15602
+ const full = `${value}:${refToken.value}`;
15603
+ if (!License.isLicenseRef(full)) return void 0;
15604
+ pos++;
15605
+ return {
15606
+ kind: "licenseRef",
15607
+ documentRef: value.slice(12),
15608
+ ref: refToken.value.slice(11)
15609
+ };
15280
15610
  }
15281
- function parseParenthesizedExpression() {
15282
- if (!parseOperator("(")) return;
15283
- var expr = parseExpression();
15284
- if (!parseOperator(")")) throw new Error("Expected `)`");
15285
- return expr;
15611
+ if (value.startsWith(LICENSE_REF_PREFIX)) {
15612
+ if (!License.isLicenseRef(value)) return void 0;
15613
+ pos++;
15614
+ return {
15615
+ kind: "licenseRef",
15616
+ documentRef: void 0,
15617
+ ref: value.slice(11)
15618
+ };
15286
15619
  }
15287
- function parseAtom() {
15288
- return parseParenthesizedExpression() || parseLicenseRef() || parseLicense();
15620
+ if (!License.isKnownId(value)) return void 0;
15621
+ pos++;
15622
+ let plus = false;
15623
+ if (peek()?.type === TOKEN_PLUS) {
15624
+ pos++;
15625
+ plus = true;
15289
15626
  }
15290
- function makeBinaryOpParser(operator, nextParser) {
15291
- return function parseBinaryOp() {
15292
- var left = nextParser();
15293
- if (!left) return;
15294
- if (!parseOperator(operator)) return left;
15295
- var right = parseBinaryOp();
15296
- if (!right) throw new Error("Expected expression");
15297
- return {
15298
- left,
15299
- conjunction: operator.toLowerCase(),
15300
- right
15301
- };
15627
+ if (peek()?.type === TOKEN_WITH) {
15628
+ pos++;
15629
+ const exceptionToken = peek();
15630
+ if (exceptionToken === void 0 || exceptionToken.type !== TOKEN_ID || !LicenseException.isKnownId(exceptionToken.value)) return;
15631
+ pos++;
15632
+ return {
15633
+ kind: "with",
15634
+ license: {
15635
+ id: value,
15636
+ plus
15637
+ },
15638
+ exception: exceptionToken.value
15302
15639
  };
15303
15640
  }
15304
- var parseExpression = makeBinaryOpParser("OR", makeBinaryOpParser("AND", parseAtom));
15305
- var node = parseExpression();
15306
- if (!node || hasMore()) throw new Error("Syntax error");
15307
- return node;
15308
- };
15309
- }));
15641
+ return {
15642
+ kind: "license",
15643
+ id: value,
15644
+ plus
15645
+ };
15646
+ }
15647
+ const node = parseOr();
15648
+ if (node === void 0 || pos !== tokens.length) return void 0;
15649
+ return node;
15650
+ }
15310
15651
  //#endregion
15311
- //#region ../../node_modules/.pnpm/@effected+package-json@0.4.2_effect@4.0.0-beta.99/node_modules/@effected/package-json/License.js
15312
- var import_spdx_expression_parse = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
15313
- var scan = require_scan$1();
15314
- var parse = require_parse$2();
15315
- module.exports = function(source) {
15316
- return parse(scan(source));
15317
- };
15318
- })))(), 1);
15652
+ //#region ../../node_modules/.pnpm/@effected+spdx@0.1.0_effect@4.0.0-beta.99/node_modules/@effected/spdx/SpdxExpression.js
15653
+ /**
15654
+ * Serialize a tagged SPDX AST node — a class instance OR its encoded POJO — to
15655
+ * the canonical, fully-parenthesized SPDX string. This is the single source of
15656
+ * truth for canonical form: every node's `toString` and the codec encode side
15657
+ * both route through it, so the instance method and
15658
+ * {@link (SpdxExpression:variable).FromString}'s encode can never drift.
15659
+ */
15660
+ function serialize$1(node) {
15661
+ switch (node._tag) {
15662
+ case "License": return node.plus ? `${node.id}+` : node.id;
15663
+ case "LicenseRef": return `${node.documentRef !== void 0 ? `DocumentRef-${node.documentRef}:` : ""}LicenseRef-${node.ref}`;
15664
+ case "WithException": return `${serialize$1(node.license)} WITH ${node.exception}`;
15665
+ case "And": return `(${serialize$1(node.left)} AND ${serialize$1(node.right)})`;
15666
+ case "Or": return `(${serialize$1(node.left)} OR ${serialize$1(node.right)})`;
15667
+ }
15668
+ }
15669
+ /**
15670
+ * A simple-license leaf of an SPDX expression: a license identifier with the
15671
+ * trailing `+` ("or later") marker. This is the expression-level license node —
15672
+ * distinct from, and a finer altitude than, the catalog `License` class in
15673
+ * `./License.js`, which validates and resolves an identifier but does not model
15674
+ * the `+` operator.
15675
+ *
15676
+ * @public
15677
+ */
15678
+ var LicenseNode = class extends effect.Schema.TaggedClass()("License", {
15679
+ /** The SPDX short identifier, e.g. `"MIT"` or `"Apache-2.0"`. */
15680
+ id: effect.Schema.String,
15681
+ /** Whether the trailing `+` "or later" marker is present. */
15682
+ plus: effect.Schema.Boolean
15683
+ }) {
15684
+ /** The canonical string form: the id, suffixed with `+` when `plus` is set. */
15685
+ toString() {
15686
+ return serialize$1(this);
15687
+ }
15688
+ };
15689
+ /**
15690
+ * A `LicenseRef`/`DocumentRef` reference leaf. The `LicenseRef-`/`DocumentRef-`
15691
+ * prefixes and the `:` separator are structural and are not stored; only the
15692
+ * bare idstrings are kept, so the node round-trips to canonical form without
15693
+ * duplicating the grammar.
15694
+ *
15695
+ * @public
15696
+ */
15697
+ var LicenseRefNode = class extends effect.Schema.TaggedClass()("LicenseRef", {
15698
+ /** The `DocumentRef-` idstring when the reference is document-scoped; absent otherwise. */
15699
+ documentRef: effect.Schema.optionalKey(effect.Schema.String),
15700
+ /** The `LicenseRef-` idstring. */
15701
+ ref: effect.Schema.String
15702
+ }) {
15703
+ /** The canonical string form, re-attaching the `DocumentRef-…:` prefix when present. */
15704
+ toString() {
15705
+ return serialize$1(this);
15706
+ }
15707
+ };
15708
+ /**
15709
+ * A `license WITH exception` node. Per the SPDX order of precedence, `WITH`
15710
+ * binds only to a simple license (never a reference or a compound expression),
15711
+ * so `license` is always a {@link LicenseNode}.
15712
+ *
15713
+ * @public
15714
+ */
15715
+ var WithExceptionNode = class extends effect.Schema.TaggedClass()("WithException", {
15716
+ /** The license the exception applies to, which may itself carry the `+` marker. */
15717
+ license: LicenseNode,
15718
+ /** The SPDX exception short identifier, e.g. `"Bison-exception-2.2"`. */
15719
+ exception: effect.Schema.String
15720
+ }) {
15721
+ /** The canonical string form: the license, then `WITH`, then the exception id. */
15722
+ toString() {
15723
+ return serialize$1(this);
15724
+ }
15725
+ };
15726
+ /**
15727
+ * The conjunction (`AND`) of two sub-expressions. Recursive: its children are
15728
+ * any {@link (SpdxExpression:type)}, expressed via `Schema.suspend`.
15729
+ *
15730
+ * @public
15731
+ */
15732
+ var AndNode = class extends effect.Schema.TaggedClass()("And", {
15733
+ /** The left operand. */
15734
+ left: effect.Schema.suspend(() => SpdxExpressionUnion),
15735
+ /** The right operand. */
15736
+ right: effect.Schema.suspend(() => SpdxExpressionUnion)
15737
+ }) {
15738
+ /** The canonical, fully-parenthesized string form `(left AND right)`. */
15739
+ toString() {
15740
+ return serialize$1(this);
15741
+ }
15742
+ };
15743
+ /**
15744
+ * The disjunction (`OR`) of two sub-expressions. Recursive: its children are
15745
+ * any {@link (SpdxExpression:type)}, expressed via `Schema.suspend`.
15746
+ *
15747
+ * @public
15748
+ */
15749
+ var OrNode = class extends effect.Schema.TaggedClass()("Or", {
15750
+ /** The left operand. */
15751
+ left: effect.Schema.suspend(() => SpdxExpressionUnion),
15752
+ /** The right operand. */
15753
+ right: effect.Schema.suspend(() => SpdxExpressionUnion)
15754
+ }) {
15755
+ /** The canonical, fully-parenthesized string form `(left OR right)`. */
15756
+ toString() {
15757
+ return serialize$1(this);
15758
+ }
15759
+ };
15760
+ const SpdxExpressionUnion = effect.Schema.Union([
15761
+ LicenseNode,
15762
+ LicenseRefNode,
15763
+ WithExceptionNode,
15764
+ AndNode,
15765
+ OrNode
15766
+ ]);
15767
+ function materialize(raw) {
15768
+ switch (raw.kind) {
15769
+ case "license": return LicenseNode.make({
15770
+ id: raw.id,
15771
+ plus: raw.plus
15772
+ });
15773
+ case "licenseRef": return LicenseRefNode.make(raw.documentRef !== void 0 ? {
15774
+ documentRef: raw.documentRef,
15775
+ ref: raw.ref
15776
+ } : { ref: raw.ref });
15777
+ case "with": return WithExceptionNode.make({
15778
+ license: LicenseNode.make({
15779
+ id: raw.license.id,
15780
+ plus: raw.license.plus
15781
+ }),
15782
+ exception: raw.exception
15783
+ });
15784
+ case "and": return AndNode.make({
15785
+ left: materialize(raw.left),
15786
+ right: materialize(raw.right)
15787
+ });
15788
+ case "or": return OrNode.make({
15789
+ left: materialize(raw.left),
15790
+ right: materialize(raw.right)
15791
+ });
15792
+ }
15793
+ }
15794
+ /**
15795
+ * Validate and parse an SPDX license expression synchronously, returning a
15796
+ * `Result`. This is the package's sync primitive: {@link isValidExpression},
15797
+ * the Effect {@link (SpdxExpression:variable).parse}, and {@link (SpdxExpression:variable).FromString}
15798
+ * all derive from it, so the four surfaces can never disagree.
15799
+ *
15800
+ * Every malformation — a bad token, an unbalanced parenthesis, a dangling
15801
+ * `AND`/`OR`, an unknown identifier or exception, or nesting past the parser's
15802
+ * depth cap — fails with {@link InvalidSpdxExpressionError} on the failure
15803
+ * channel; the parser never throws.
15804
+ */
15805
+ const parseResult = (input) => {
15806
+ const raw = parse$2(input);
15807
+ return raw === void 0 ? effect.Result.fail(new InvalidSpdxExpressionError({ input })) : effect.Result.succeed(materialize(raw));
15808
+ };
15809
+ /**
15810
+ * Whether `input` is a syntactically and catalog-valid SPDX license expression.
15811
+ * The synchronous, allocation-light predicate for non-Effect callers (lint
15812
+ * hooks, config-time checks); it shares its engine with
15813
+ * {@link (SpdxExpression:variable).parse}, so a `true` here guarantees a successful parse.
15814
+ *
15815
+ * @example
15816
+ * ```ts
15817
+ * import { isValidExpression } from "@effected/spdx";
15818
+ *
15819
+ * console.log(isValidExpression("(MIT OR Apache-2.0)"));
15820
+ * // => true
15821
+ * console.log(isValidExpression("MIT AND"));
15822
+ * // => false
15823
+ * ```
15824
+ *
15825
+ * @param input - the candidate SPDX expression
15826
+ * @returns `true` when `input` parses, `false` otherwise
15827
+ * @public
15828
+ */
15829
+ function isValidExpression(input) {
15830
+ return effect.Result.isSuccess(parseResult(input));
15831
+ }
15832
+ effect.Effect.fn("SpdxExpression.parse")((input) => effect.Effect.fromResult(parseResult(input)));
15833
+ effect.Schema.String.pipe(effect.Schema.decodeTo(SpdxExpressionUnion, effect.SchemaTransformation.transformOrFail({
15834
+ decode: (input) => {
15835
+ const result = parseResult(input);
15836
+ return effect.Result.isSuccess(result) ? effect.Effect.succeed(result.success) : effect.Effect.fail(new effect.SchemaIssue.InvalidValue(effect.Option.some(input), { message: result.failure.message }));
15837
+ },
15838
+ encode: (expression) => effect.Effect.succeed(serialize$1(expression))
15839
+ })));
15840
+ //#endregion
15841
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.5.0_effect@4.0.0-beta.99/node_modules/@effected/package-json/License.js
15319
15842
  /**
15320
15843
  * Indicates that a string is not a valid SPDX license identifier or expression.
15321
15844
  *
@@ -15340,12 +15863,7 @@ input: effect.Schema.String }) {
15340
15863
  const isValidSpdx = (value) => {
15341
15864
  if (value === "UNLICENSED") return true;
15342
15865
  if (value.startsWith("SEE LICENSE IN ") && value.length > 15) return true;
15343
- try {
15344
- (0, import_spdx_expression_parse.default)(value);
15345
- return true;
15346
- } catch {
15347
- return false;
15348
- }
15866
+ return isValidExpression(value);
15349
15867
  };
15350
15868
  /**
15351
15869
  * A valid SPDX license identifier, expression, `UNLICENSED`, or
@@ -15355,7 +15873,7 @@ const isValidSpdx = (value) => {
15355
15873
  */
15356
15874
  const SpdxLicense = effect.Schema.String.pipe(effect.Schema.check(effect.Schema.makeFilter((value) => isValidSpdx(value) ? void 0 : "Expected a valid SPDX license expression")), effect.Schema.brand("SpdxLicense"));
15357
15875
  //#endregion
15358
- //#region ../../node_modules/.pnpm/@effected+package-json@0.4.2_effect@4.0.0-beta.99/node_modules/@effected/package-json/PackageManager.js
15876
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.5.0_effect@4.0.0-beta.99/node_modules/@effected/package-json/PackageManager.js
15359
15877
  const PACKAGE_MANAGER_RE = /^([a-z]+)@(\d+\.\d+\.\d+(?:-[a-zA-Z0-9._-]+)?)(?:\+(.+))?$/;
15360
15878
  /**
15361
15879
  * The `packageManager` field only ever carries corepack's `<algo>.<hex>`
@@ -15413,7 +15931,7 @@ var PackageManager = class PackageManager extends effect.Schema.Class("PackageMa
15413
15931
  }
15414
15932
  };
15415
15933
  //#endregion
15416
- //#region ../../node_modules/.pnpm/@effected+package-json@0.4.2_effect@4.0.0-beta.99/node_modules/@effected/package-json/PackageName.js
15934
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.5.0_effect@4.0.0-beta.99/node_modules/@effected/package-json/PackageName.js
15417
15935
  /**
15418
15936
  * Indicates that a string could not be used as a valid npm package name.
15419
15937
  *
@@ -15471,7 +15989,7 @@ const PackageName = Object.assign(effect.Schema.Union([ScopedPackageName, Unscop
15471
15989
  isScoped
15472
15990
  });
15473
15991
  //#endregion
15474
- //#region ../../node_modules/.pnpm/@effected+package-json@0.4.2_effect@4.0.0-beta.99/node_modules/@effected/package-json/Person.js
15992
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.5.0_effect@4.0.0-beta.99/node_modules/@effected/package-json/Person.js
15475
15993
  const parsePersonString = (input) => {
15476
15994
  const emailMatch = input.match(/<([^>]+)>/);
15477
15995
  const urlMatch = input.match(/\(([^)]+)\)/);
@@ -15614,7 +16132,7 @@ var Person = class Person extends effect.Schema.Class("Person")({
15614
16132
  }
15615
16133
  };
15616
16134
  //#endregion
15617
- //#region ../../node_modules/.pnpm/@effected+package-json@0.4.2_effect@4.0.0-beta.99/node_modules/@effected/package-json/internal/format.js
16135
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.5.0_effect@4.0.0-beta.99/node_modules/@effected/package-json/internal/format.js
15618
16136
  const KEY_INDEX = new Map([
15619
16137
  "$schema",
15620
16138
  "name",
@@ -15837,7 +16355,7 @@ const renderJson = (raw, options) => {
15837
16355
  return options.newline ? `${json}\n` : json;
15838
16356
  };
15839
16357
  //#endregion
15840
- //#region ../../node_modules/.pnpm/@effected+package-json@0.4.2_effect@4.0.0-beta.99/node_modules/@effected/package-json/Package.js
16358
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.5.0_effect@4.0.0-beta.99/node_modules/@effected/package-json/Package.js
15841
16359
  const toHashMap = effect.SchemaTransformation.transform({
15842
16360
  decode: (record) => effect.HashMap.fromIterable(Object.entries(record)),
15843
16361
  encode: (map) => Object.fromEntries(effect.HashMap.toEntries(map))
@@ -16155,7 +16673,7 @@ var Package = class Package extends effect.Schema.Class("Package")({
16155
16673
  }
16156
16674
  };
16157
16675
  //#endregion
16158
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.0_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/WorkspacePackage.js
16676
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.1_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/WorkspacePackage.js
16159
16677
  const EMPTY$1 = Object.freeze(Object.create(null));
16160
16678
  const EMPTY_MANIFEST = Object.freeze(Object.create(null));
16161
16679
  /**
@@ -16760,7 +17278,7 @@ const Walker$1 = {
16760
17278
  findRoot: findRoot$1
16761
17279
  };
16762
17280
  //#endregion
16763
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.0_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/WorkspaceRoot.js
17281
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.1_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/WorkspaceRoot.js
16764
17282
  /**
16765
17283
  * The marker filenames {@link WorkspaceRoot} probes for, in priority order.
16766
17284
  *
@@ -16947,7 +17465,7 @@ var WorkspaceRoot = class WorkspaceRoot extends effect.Context.Service()("@effec
16947
17465
  static layerTest = (root) => effect.Layer.effect(WorkspaceRoot, WorkspaceRoot.makeTest(root)).pipe(effect.Layer.provide(effect.Path.layer));
16948
17466
  };
16949
17467
  //#endregion
16950
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.0_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/internal/limits.js
17468
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.1_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/internal/limits.js
16951
17469
  /**
16952
17470
  * Hard ceiling on directories the enumerator will visit for one pattern set.
16953
17471
  * Guards the pathological case a depth cap alone does not: a wide, shallow
@@ -16965,7 +17483,7 @@ const MAX_ENUMERATION_ENTRIES = 1e5;
16965
17483
  */
16966
17484
  const PRUNED_DIRECTORIES = /* @__PURE__ */ new Set([".git", "node_modules"]);
16967
17485
  //#endregion
16968
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.0_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/internal/traverse.js
17486
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.1_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/internal/traverse.js
16969
17487
  /** Directory names never descended into. */
16970
17488
  const isPruned = (entry) => PRUNED_DIRECTORIES.has(entry);
16971
17489
  /** Join root-relative POSIX segments; `""` is the root itself. */
@@ -17055,7 +17573,7 @@ var Traversal = class {
17055
17573
  }
17056
17574
  };
17057
17575
  //#endregion
17058
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.0_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/internal/enumerate.js
17576
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.1_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/internal/enumerate.js
17059
17577
  /** Strip a trailing slash from `GlobPattern.enumerationPrefix` to get a relative directory. */
17060
17578
  const baseOf = (pattern) => pattern.enumerationPrefix.replace(/\/$/, "");
17061
17579
  /**
@@ -17125,7 +17643,7 @@ const enumerate = (root, globs, options) => effect.Effect.gen(function* () {
17125
17643
  return results;
17126
17644
  });
17127
17645
  //#endregion
17128
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.0_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/internal/patterns.js
17646
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.1_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/internal/patterns.js
17129
17647
  const stringsOf = (value) => Array.isArray(value) ? value.filter((entry) => typeof entry === "string") : void 0;
17130
17648
  /** The `packages:` list of a `pnpm-workspace.yaml` document. Total on a parsed document. */
17131
17649
  const pnpmPatternsOf = (document) => {
@@ -17182,7 +17700,7 @@ const readPatterns = (root) => effect.Effect.gen(function* () {
17182
17700
  return manifestPatternsOf(manifest);
17183
17701
  });
17184
17702
  //#endregion
17185
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.0_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/WorkspaceDiscovery.js
17703
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.1_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/WorkspaceDiscovery.js
17186
17704
  /**
17187
17705
  * Raised when a workspace member's `package.json` cannot be read, parsed, or
17188
17706
  * used — it is missing, malformed, or lacks a `name` or `version`.
@@ -17616,7 +18134,7 @@ var WorkspaceDiscovery = class WorkspaceDiscovery extends effect.Context.Service
17616
18134
  };
17617
18135
  const isStringRecord$2 = (value) => value !== null && typeof value === "object" && !Array.isArray(value) && Object.values(value).every((entry) => typeof entry === "string");
17618
18136
  //#endregion
17619
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.0_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/DependencyGraph.js
18137
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.1_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/DependencyGraph.js
17620
18138
  /**
17621
18139
  * Raised when the workspace dependency graph cannot be topologically ordered
17622
18140
  * because it contains a cycle.
@@ -19214,7 +19732,7 @@ var Git = class extends effect.Context.Service()("@effected/git/Git") {
19214
19732
  }));
19215
19733
  };
19216
19734
  //#endregion
19217
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.0_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/ChangeDetector.js
19735
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.1_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/ChangeDetector.js
19218
19736
  /**
19219
19737
  * Which git refs to compare, and whether to fold in the working tree.
19220
19738
  *
@@ -19466,7 +19984,7 @@ function resolveFromCatalog(catalogs, wantedDependency) {
19466
19984
  };
19467
19985
  }
19468
19986
  //#endregion
19469
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.0_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/internal/catalogs.js
19987
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.1_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/internal/catalogs.js
19470
19988
  /** Project a pnpm-workspace manifest's `catalog` / `catalogs` fields into a `Catalogs` map. */
19471
19989
  const inlineCatalogs = (manifest) => {
19472
19990
  if (manifest.catalog === void 0 && manifest.catalogs === void 0) return {};
@@ -19530,7 +20048,7 @@ const rangeOf = (catalogs, dependency, specifier) => {
19530
20048
  });
19531
20049
  };
19532
20050
  //#endregion
19533
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.0_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/ConfigDependencyHooks.js
20051
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.1_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/ConfigDependencyHooks.js
19534
20052
  /** Whether `value` is a non-null, non-array object. */
19535
20053
  const isObject$2 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
19536
20054
  /**
@@ -19716,7 +20234,7 @@ var ConfigDependencyHooks = class ConfigDependencyHooks extends effect.Context.S
19716
20234
  }) });
19717
20235
  };
19718
20236
  //#endregion
19719
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.0_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/PackageManagerName.js
20237
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.1_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/PackageManagerName.js
19720
20238
  /**
19721
20239
  * The four package managers this package understands.
19722
20240
  *
@@ -19958,7 +20476,7 @@ var PackageManagerDetector = class PackageManagerDetector extends effect.Context
19958
20476
  static layer = effect.Layer.effect(PackageManagerDetector, PackageManagerDetector.make);
19959
20477
  };
19960
20478
  //#endregion
19961
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.0_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/LockfileReader.js
20479
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.1_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/LockfileReader.js
19962
20480
  /**
19963
20481
  * Raised when the workspace's lockfile cannot be read off disk.
19964
20482
  *
@@ -20068,7 +20586,7 @@ var LockfileReader = class LockfileReader extends effect.Context.Service()("@eff
20068
20586
  static layer = (options) => effect.Layer.effect(LockfileReader, LockfileReader.make(options));
20069
20587
  };
20070
20588
  //#endregion
20071
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.0_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/Publishability.js
20589
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.1_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/Publishability.js
20072
20590
  /** The public npm registry, used when `publishConfig.registry` says nothing. */
20073
20591
  const DEFAULT_REGISTRY = "https://registry.npmjs.org/";
20074
20592
  /**
@@ -20168,7 +20686,7 @@ var PublishabilityDetector = class PublishabilityDetector extends effect.Context
20168
20686
  }) });
20169
20687
  };
20170
20688
  //#endregion
20171
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.0_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/WorkspaceCatalogs.js
20689
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.1_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/WorkspaceCatalogs.js
20172
20690
  /**
20173
20691
  * An immutable, fully-normalized catalog collection — the one catalog
20174
20692
  * resolution semantic in the package.
@@ -20598,7 +21116,7 @@ var WorkspaceCatalogs = class WorkspaceCatalogs extends effect.Context.Service()
20598
21116
  }));
20599
21117
  };
20600
21118
  //#endregion
20601
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.0_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/WorkspaceStateSnapshot.js
21119
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.1_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/WorkspaceStateSnapshot.js
20602
21120
  const EMPTY = Object.freeze(Object.create(null));
20603
21121
  const DependencyMap = effect.Schema.Record(effect.Schema.String, effect.Schema.String).pipe(effect.Schema.withDecodingDefaultKey(effect.Effect.succeed(EMPTY)), effect.Schema.withConstructorDefault(effect.Effect.succeed(EMPTY)));
20604
21122
  /**
@@ -20763,7 +21281,7 @@ var WorkspaceStateSnapshot = class extends effect.Schema.Class("WorkspaceStateSn
20763
21281
  }
20764
21282
  };
20765
21283
  //#endregion
20766
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.0_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/WorkspaceSnapshots.js
21284
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.1_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/WorkspaceSnapshots.js
20767
21285
  /** Whether `value` is a non-null, non-array object. */
20768
21286
  const isObject = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
20769
21287
  /** Whether every value in a record is a string — a usable dependency map. */
@@ -20955,7 +21473,7 @@ var WorkspaceSnapshots = class WorkspaceSnapshots extends effect.Context.Service
20955
21473
  static layer = (options) => effect.Layer.effect(WorkspaceSnapshots, WorkspaceSnapshots.make(options));
20956
21474
  };
20957
21475
  //#endregion
20958
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.0_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/Workspaces.js
21476
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.6.1_@effected+jsonc@0.5.0_effect@4.0.0-beta.99__effect@4.0.0-beta.99/node_modules/@effected/workspaces/Workspaces.js
20959
21477
  /**
20960
21478
  * Every service that needs only a filesystem: root, package-manager detection,
20961
21479
  * discovery, lockfile reading, catalogs and publishability.
@@ -59779,7 +60297,7 @@ const defaultConfig = normalizeWrittenConfig({
59779
60297
  })
59780
60298
  });
59781
60299
  //#endregion
59782
- //#region ../../node_modules/.pnpm/package-manager-detector@1.7.0/node_modules/package-manager-detector/dist/commands.mjs
60300
+ //#region ../../node_modules/.pnpm/package-manager-detector@1.8.0/node_modules/package-manager-detector/dist/commands.mjs
59783
60301
  function splitRunArgs(args, valueFlags = []) {
59784
60302
  for (let i = 0; i < args.length; i++) {
59785
60303
  if (args[i].startsWith("-")) continue;
@@ -59970,73 +60488,77 @@ const yarnBerry = {
59970
60488
  0
59971
60489
  ]
59972
60490
  };
59973
- const pnpm = {
59974
- "agent": ["pnpm", 0],
59975
- "run": [
59976
- "pnpm",
59977
- "run",
59978
- 0
59979
- ],
59980
- "install": [
59981
- "pnpm",
59982
- "i",
59983
- 0
59984
- ],
59985
- "frozen": [
59986
- "pnpm",
59987
- "i",
59988
- "--frozen-lockfile",
59989
- 0
59990
- ],
59991
- "global": [
59992
- "pnpm",
59993
- "add",
59994
- "-g",
59995
- 0
59996
- ],
59997
- "add": [
59998
- "pnpm",
59999
- "add",
60000
- 0
60001
- ],
60002
- "upgrade": [
60003
- "pnpm",
60004
- "update",
60005
- 0
60006
- ],
60007
- "upgrade-interactive": [
60008
- "pnpm",
60009
- "update",
60010
- "-i",
60011
- 0
60012
- ],
60013
- "dedupe": [
60014
- "pnpm",
60015
- "dedupe",
60016
- 0
60017
- ],
60018
- "execute": [
60019
- "pnpm",
60020
- "dlx",
60021
- 0
60022
- ],
60023
- "execute-local": [
60024
- "pnpm",
60025
- "exec",
60026
- 0
60027
- ],
60028
- "uninstall": [
60029
- "pnpm",
60030
- "remove",
60031
- 0
60032
- ],
60033
- "global_uninstall": [
60034
- "pnpm",
60035
- "remove",
60036
- "--global",
60037
- 0
60038
- ]
60039
- };
60491
+ function createPnpmCommands(cli) {
60492
+ return {
60493
+ "agent": [cli, 0],
60494
+ "run": [
60495
+ cli,
60496
+ "run",
60497
+ 0
60498
+ ],
60499
+ "install": [
60500
+ cli,
60501
+ "i",
60502
+ 0
60503
+ ],
60504
+ "frozen": [
60505
+ cli,
60506
+ "i",
60507
+ "--frozen-lockfile",
60508
+ 0
60509
+ ],
60510
+ "global": [
60511
+ cli,
60512
+ "add",
60513
+ "-g",
60514
+ 0
60515
+ ],
60516
+ "add": [
60517
+ cli,
60518
+ "add",
60519
+ 0
60520
+ ],
60521
+ "upgrade": [
60522
+ cli,
60523
+ "update",
60524
+ 0
60525
+ ],
60526
+ "upgrade-interactive": [
60527
+ cli,
60528
+ "update",
60529
+ "-i",
60530
+ 0
60531
+ ],
60532
+ "dedupe": [
60533
+ cli,
60534
+ "dedupe",
60535
+ 0
60536
+ ],
60537
+ "execute": [
60538
+ cli,
60539
+ "dlx",
60540
+ 0
60541
+ ],
60542
+ "execute-local": [
60543
+ cli,
60544
+ "exec",
60545
+ 0
60546
+ ],
60547
+ "uninstall": [
60548
+ cli,
60549
+ "remove",
60550
+ 0
60551
+ ],
60552
+ "global_uninstall": [
60553
+ cli,
60554
+ "remove",
60555
+ "--global",
60556
+ 0
60557
+ ]
60558
+ };
60559
+ }
60560
+ const pnpm = createPnpmCommands("pnpm");
60561
+ const pnpmRush = createPnpmCommands("rush-pnpm");
60040
60562
  const bun = {
60041
60563
  "agent": ["bun", 0],
60042
60564
  "run": [
@@ -60304,6 +60826,7 @@ const COMMANDS = {
60304
60826
  ...pnpm,
60305
60827
  run: dashDashArg("pnpm", "run", ["-F", "--filter"])
60306
60828
  },
60829
+ "pnpm-rush": pnpmRush,
60307
60830
  "bun": bun,
60308
60831
  "aube": aube,
60309
60832
  "deno": deno,
@@ -60325,13 +60848,14 @@ function constructCommand(value, args) {
60325
60848
  };
60326
60849
  }
60327
60850
  //#endregion
60328
- //#region ../../node_modules/.pnpm/package-manager-detector@1.7.0/node_modules/package-manager-detector/dist/constants.mjs
60851
+ //#region ../../node_modules/.pnpm/package-manager-detector@1.8.0/node_modules/package-manager-detector/dist/constants.mjs
60329
60852
  const AGENTS = [
60330
60853
  "npm",
60331
60854
  "yarn",
60332
60855
  "yarn@berry",
60333
60856
  "pnpm",
60334
60857
  "pnpm@6",
60858
+ "pnpm-rush",
60335
60859
  "bun",
60336
60860
  "deno",
60337
60861
  "nub",
@@ -60343,6 +60867,7 @@ const LOCKS = {
60343
60867
  "bun.lock": "bun",
60344
60868
  "bun.lockb": "bun",
60345
60869
  "deno.lock": "deno",
60870
+ "nub.lock": "nub",
60346
60871
  "pnpm-lock.yaml": "pnpm",
60347
60872
  "pnpm-workspace.yaml": "pnpm",
60348
60873
  "yarn.lock": "yarn",
@@ -60362,7 +60887,7 @@ const INSTALL_METADATA = {
60362
60887
  "bun.lockb": "bun"
60363
60888
  };
60364
60889
  //#endregion
60365
- //#region ../../node_modules/.pnpm/package-manager-detector@1.7.0/node_modules/package-manager-detector/dist/detect.mjs
60890
+ //#region ../../node_modules/.pnpm/package-manager-detector@1.8.0/node_modules/package-manager-detector/dist/detect.mjs
60366
60891
  async function pathExists(path2, type) {
60367
60892
  try {
60368
60893
  const stat = await node_fs_promises.stat(path2);
@@ -60397,6 +60922,10 @@ async function detect$1(options = {}) {
60397
60922
  for (const directory of lookup(cwd)) {
60398
60923
  for (const strategy of strategies) switch (strategy) {
60399
60924
  case "lockfile":
60925
+ if (await pathExists(node_path.join(directory, "rush.json"), "file")) return {
60926
+ name: "pnpm",
60927
+ agent: "pnpm-rush"
60928
+ };
60400
60929
  for (const lock of Object.keys(LOCKS)) if (await pathExists(node_path.join(directory, lock), "file")) {
60401
60930
  const name = LOCKS[lock];
60402
60931
  const result = await parsePackageJson(node_path.join(directory, "package.json"), options);