@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.
@@ -14403,7 +14403,7 @@ var LockfileIntegrity = class LockfileIntegrity extends Schema.Class("LockfileIn
14403
14403
  };
14404
14404
 
14405
14405
  //#endregion
14406
- //#region ../../node_modules/.pnpm/@effected+package-json@0.4.2_effect@4.0.0-beta.99/node_modules/@effected/package-json/Dependency.js
14406
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.5.0_effect@4.0.0-beta.99/node_modules/@effected/package-json/Dependency.js
14407
14407
  /**
14408
14408
  * A resolved dependency entry pairing a package name with its version
14409
14409
  * specifier and the `kind` of map it came from (`@effected/npm`'s
@@ -14468,7 +14468,7 @@ var Dependency = class extends Schema.Class("Dependency")({
14468
14468
  };
14469
14469
 
14470
14470
  //#endregion
14471
- //#region ../../node_modules/.pnpm/@effected+package-json@0.4.2_effect@4.0.0-beta.99/node_modules/@effected/package-json/DevEngines.js
14471
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.5.0_effect@4.0.0-beta.99/node_modules/@effected/package-json/DevEngines.js
14472
14472
  /**
14473
14473
  * A single `devEngines` constraint with a name and optional `version` / `onFail`.
14474
14474
  *
@@ -14507,1010 +14507,1566 @@ const DevEnginesSchema = Schema.Struct({
14507
14507
  });
14508
14508
 
14509
14509
  //#endregion
14510
- //#region ../../node_modules/.pnpm/spdx-license-ids@3.0.23/node_modules/spdx-license-ids/index.json
14511
- var require_spdx_license_ids = /* @__PURE__ */ __commonJSMin(((exports, module) => {
14512
- module.exports = [
14513
- "0BSD",
14514
- "3D-Slicer-1.0",
14515
- "AAL",
14516
- "ADSL",
14517
- "AFL-1.1",
14518
- "AFL-1.2",
14519
- "AFL-2.0",
14520
- "AFL-2.1",
14521
- "AFL-3.0",
14522
- "AGPL-1.0-only",
14523
- "AGPL-1.0-or-later",
14524
- "AGPL-3.0-only",
14525
- "AGPL-3.0-or-later",
14526
- "ALGLIB-Documentation",
14527
- "AMD-newlib",
14528
- "AMDPLPA",
14529
- "AML",
14530
- "AML-glslang",
14531
- "AMPAS",
14532
- "ANTLR-PD",
14533
- "ANTLR-PD-fallback",
14534
- "APAFML",
14535
- "APL-1.0",
14536
- "APSL-1.0",
14537
- "APSL-1.1",
14538
- "APSL-1.2",
14539
- "APSL-2.0",
14540
- "ASWF-Digital-Assets-1.0",
14541
- "ASWF-Digital-Assets-1.1",
14542
- "Abstyles",
14543
- "AdaCore-doc",
14544
- "Adobe-2006",
14545
- "Adobe-Display-PostScript",
14546
- "Adobe-Glyph",
14547
- "Adobe-Utopia",
14548
- "Advanced-Cryptics-Dictionary",
14549
- "Afmparse",
14550
- "Aladdin",
14551
- "Apache-1.0",
14552
- "Apache-1.1",
14553
- "Apache-2.0",
14554
- "App-s2p",
14555
- "Arphic-1999",
14556
- "Artistic-1.0",
14557
- "Artistic-1.0-Perl",
14558
- "Artistic-1.0-cl8",
14559
- "Artistic-2.0",
14560
- "Artistic-dist",
14561
- "Aspell-RU",
14562
- "BOLA-1.1",
14563
- "BSD-1-Clause",
14564
- "BSD-2-Clause",
14565
- "BSD-2-Clause-Darwin",
14566
- "BSD-2-Clause-Patent",
14567
- "BSD-2-Clause-Views",
14568
- "BSD-2-Clause-first-lines",
14569
- "BSD-2-Clause-pkgconf-disclaimer",
14570
- "BSD-3-Clause",
14571
- "BSD-3-Clause-Attribution",
14572
- "BSD-3-Clause-Clear",
14573
- "BSD-3-Clause-HP",
14574
- "BSD-3-Clause-LBNL",
14575
- "BSD-3-Clause-Modification",
14576
- "BSD-3-Clause-No-Military-License",
14577
- "BSD-3-Clause-No-Nuclear-License",
14578
- "BSD-3-Clause-No-Nuclear-License-2014",
14579
- "BSD-3-Clause-No-Nuclear-Warranty",
14580
- "BSD-3-Clause-Open-MPI",
14581
- "BSD-3-Clause-Sun",
14582
- "BSD-3-Clause-Tso",
14583
- "BSD-3-Clause-acpica",
14584
- "BSD-3-Clause-flex",
14585
- "BSD-4-Clause",
14586
- "BSD-4-Clause-Shortened",
14587
- "BSD-4-Clause-UC",
14588
- "BSD-4.3RENO",
14589
- "BSD-4.3TAHOE",
14590
- "BSD-Advertising-Acknowledgement",
14591
- "BSD-Attribution-HPND-disclaimer",
14592
- "BSD-Inferno-Nettverk",
14593
- "BSD-Mark-Modifications",
14594
- "BSD-Protection",
14595
- "BSD-Source-Code",
14596
- "BSD-Source-beginning-file",
14597
- "BSD-Systemics",
14598
- "BSD-Systemics-W3Works",
14599
- "BSL-1.0",
14600
- "BUSL-1.1",
14601
- "Baekmuk",
14602
- "Bahyph",
14603
- "Barr",
14604
- "Beerware",
14605
- "BitTorrent-1.0",
14606
- "BitTorrent-1.1",
14607
- "Bitstream-Charter",
14608
- "Bitstream-Vera",
14609
- "BlueOak-1.0.0",
14610
- "Boehm-GC",
14611
- "Boehm-GC-without-fee",
14612
- "Borceux",
14613
- "Brian-Gladman-2-Clause",
14614
- "Brian-Gladman-3-Clause",
14615
- "Buddy",
14616
- "C-UDA-1.0",
14617
- "CAL-1.0",
14618
- "CAL-1.0-Combined-Work-Exception",
14619
- "CAPEC-tou",
14620
- "CATOSL-1.1",
14621
- "CC-BY-1.0",
14622
- "CC-BY-2.0",
14623
- "CC-BY-2.5",
14624
- "CC-BY-2.5-AU",
14625
- "CC-BY-3.0",
14626
- "CC-BY-3.0-AT",
14627
- "CC-BY-3.0-AU",
14628
- "CC-BY-3.0-DE",
14629
- "CC-BY-3.0-IGO",
14630
- "CC-BY-3.0-NL",
14631
- "CC-BY-3.0-US",
14632
- "CC-BY-4.0",
14633
- "CC-BY-NC-1.0",
14634
- "CC-BY-NC-2.0",
14635
- "CC-BY-NC-2.5",
14636
- "CC-BY-NC-3.0",
14637
- "CC-BY-NC-3.0-DE",
14638
- "CC-BY-NC-4.0",
14639
- "CC-BY-NC-ND-1.0",
14640
- "CC-BY-NC-ND-2.0",
14641
- "CC-BY-NC-ND-2.5",
14642
- "CC-BY-NC-ND-3.0",
14643
- "CC-BY-NC-ND-3.0-DE",
14644
- "CC-BY-NC-ND-3.0-IGO",
14645
- "CC-BY-NC-ND-4.0",
14646
- "CC-BY-NC-SA-1.0",
14647
- "CC-BY-NC-SA-2.0",
14648
- "CC-BY-NC-SA-2.0-DE",
14649
- "CC-BY-NC-SA-2.0-FR",
14650
- "CC-BY-NC-SA-2.0-UK",
14651
- "CC-BY-NC-SA-2.5",
14652
- "CC-BY-NC-SA-3.0",
14653
- "CC-BY-NC-SA-3.0-DE",
14654
- "CC-BY-NC-SA-3.0-IGO",
14655
- "CC-BY-NC-SA-4.0",
14656
- "CC-BY-ND-1.0",
14657
- "CC-BY-ND-2.0",
14658
- "CC-BY-ND-2.5",
14659
- "CC-BY-ND-3.0",
14660
- "CC-BY-ND-3.0-DE",
14661
- "CC-BY-ND-4.0",
14662
- "CC-BY-SA-1.0",
14663
- "CC-BY-SA-2.0",
14664
- "CC-BY-SA-2.0-UK",
14665
- "CC-BY-SA-2.1-JP",
14666
- "CC-BY-SA-2.5",
14667
- "CC-BY-SA-3.0",
14668
- "CC-BY-SA-3.0-AT",
14669
- "CC-BY-SA-3.0-DE",
14670
- "CC-BY-SA-3.0-IGO",
14671
- "CC-BY-SA-4.0",
14672
- "CC-PDDC",
14673
- "CC-PDM-1.0",
14674
- "CC-SA-1.0",
14675
- "CC0-1.0",
14676
- "CDDL-1.0",
14677
- "CDDL-1.1",
14678
- "CDL-1.0",
14679
- "CDLA-Permissive-1.0",
14680
- "CDLA-Permissive-2.0",
14681
- "CDLA-Sharing-1.0",
14682
- "CECILL-1.0",
14683
- "CECILL-1.1",
14684
- "CECILL-2.0",
14685
- "CECILL-2.1",
14686
- "CECILL-B",
14687
- "CECILL-C",
14688
- "CERN-OHL-1.1",
14689
- "CERN-OHL-1.2",
14690
- "CERN-OHL-P-2.0",
14691
- "CERN-OHL-S-2.0",
14692
- "CERN-OHL-W-2.0",
14693
- "CFITSIO",
14694
- "CMU-Mach",
14695
- "CMU-Mach-nodoc",
14696
- "CNRI-Jython",
14697
- "CNRI-Python",
14698
- "CNRI-Python-GPL-Compatible",
14699
- "COIL-1.0",
14700
- "CPAL-1.0",
14701
- "CPL-1.0",
14702
- "CPOL-1.02",
14703
- "CUA-OPL-1.0",
14704
- "Caldera",
14705
- "Caldera-no-preamble",
14706
- "Catharon",
14707
- "ClArtistic",
14708
- "Clips",
14709
- "Community-Spec-1.0",
14710
- "Condor-1.1",
14711
- "Cornell-Lossless-JPEG",
14712
- "Cronyx",
14713
- "Crossword",
14714
- "CryptoSwift",
14715
- "CrystalStacker",
14716
- "Cube",
14717
- "D-FSL-1.0",
14718
- "DEC-3-Clause",
14719
- "DL-DE-BY-2.0",
14720
- "DL-DE-ZERO-2.0",
14721
- "DOC",
14722
- "DRL-1.0",
14723
- "DRL-1.1",
14724
- "DSDP",
14725
- "DocBook-DTD",
14726
- "DocBook-Schema",
14727
- "DocBook-Stylesheet",
14728
- "DocBook-XML",
14729
- "Dotseqn",
14730
- "ECL-1.0",
14731
- "ECL-2.0",
14732
- "EFL-1.0",
14733
- "EFL-2.0",
14734
- "EPICS",
14735
- "EPL-1.0",
14736
- "EPL-2.0",
14737
- "ESA-PL-permissive-2.4",
14738
- "ESA-PL-strong-copyleft-2.4",
14739
- "ESA-PL-weak-copyleft-2.4",
14740
- "EUDatagrid",
14741
- "EUPL-1.0",
14742
- "EUPL-1.1",
14743
- "EUPL-1.2",
14744
- "Elastic-2.0",
14745
- "Entessa",
14746
- "ErlPL-1.1",
14747
- "Eurosym",
14748
- "FBM",
14749
- "FDK-AAC",
14750
- "FSFAP",
14751
- "FSFAP-no-warranty-disclaimer",
14752
- "FSFUL",
14753
- "FSFULLR",
14754
- "FSFULLRSD",
14755
- "FSFULLRWD",
14756
- "FSL-1.1-ALv2",
14757
- "FSL-1.1-MIT",
14758
- "FTL",
14759
- "Fair",
14760
- "Ferguson-Twofish",
14761
- "Frameworx-1.0",
14762
- "FreeBSD-DOC",
14763
- "FreeImage",
14764
- "Furuseth",
14765
- "GCR-docs",
14766
- "GD",
14767
- "GFDL-1.1-invariants-only",
14768
- "GFDL-1.1-invariants-or-later",
14769
- "GFDL-1.1-no-invariants-only",
14770
- "GFDL-1.1-no-invariants-or-later",
14771
- "GFDL-1.1-only",
14772
- "GFDL-1.1-or-later",
14773
- "GFDL-1.2-invariants-only",
14774
- "GFDL-1.2-invariants-or-later",
14775
- "GFDL-1.2-no-invariants-only",
14776
- "GFDL-1.2-no-invariants-or-later",
14777
- "GFDL-1.2-only",
14778
- "GFDL-1.2-or-later",
14779
- "GFDL-1.3-invariants-only",
14780
- "GFDL-1.3-invariants-or-later",
14781
- "GFDL-1.3-no-invariants-only",
14782
- "GFDL-1.3-no-invariants-or-later",
14783
- "GFDL-1.3-only",
14784
- "GFDL-1.3-or-later",
14785
- "GL2PS",
14786
- "GLWTPL",
14787
- "GPL-1.0-only",
14788
- "GPL-1.0-or-later",
14789
- "GPL-2.0-only",
14790
- "GPL-2.0-or-later",
14791
- "GPL-3.0-only",
14792
- "GPL-3.0-or-later",
14793
- "Game-Programming-Gems",
14794
- "Giftware",
14795
- "Glide",
14796
- "Glulxe",
14797
- "Graphics-Gems",
14798
- "Gutmann",
14799
- "HDF5",
14800
- "HIDAPI",
14801
- "HP-1986",
14802
- "HP-1989",
14803
- "HPND",
14804
- "HPND-DEC",
14805
- "HPND-Fenneberg-Livingston",
14806
- "HPND-INRIA-IMAG",
14807
- "HPND-Intel",
14808
- "HPND-Kevlin-Henney",
14809
- "HPND-MIT-disclaimer",
14810
- "HPND-Markus-Kuhn",
14811
- "HPND-Netrek",
14812
- "HPND-Pbmplus",
14813
- "HPND-SMC",
14814
- "HPND-UC",
14815
- "HPND-UC-export-US",
14816
- "HPND-doc",
14817
- "HPND-doc-sell",
14818
- "HPND-export-US",
14819
- "HPND-export-US-acknowledgement",
14820
- "HPND-export-US-modify",
14821
- "HPND-export2-US",
14822
- "HPND-merchantability-variant",
14823
- "HPND-sell-MIT-disclaimer-xserver",
14824
- "HPND-sell-regexpr",
14825
- "HPND-sell-variant",
14826
- "HPND-sell-variant-MIT-disclaimer",
14827
- "HPND-sell-variant-MIT-disclaimer-rev",
14828
- "HPND-sell-variant-critical-systems",
14829
- "HTMLTIDY",
14830
- "HaskellReport",
14831
- "Hippocratic-2.1",
14832
- "IBM-pibs",
14833
- "ICU",
14834
- "IEC-Code-Components-EULA",
14835
- "IJG",
14836
- "IJG-short",
14837
- "IPA",
14838
- "IPL-1.0",
14839
- "ISC",
14840
- "ISC-Veillard",
14841
- "ISO-permission",
14842
- "ImageMagick",
14843
- "Imlib2",
14844
- "Info-ZIP",
14845
- "Inner-Net-2.0",
14846
- "InnoSetup",
14847
- "Intel",
14848
- "Intel-ACPI",
14849
- "Interbase-1.0",
14850
- "JPL-image",
14851
- "JPNIC",
14852
- "JSON",
14853
- "Jam",
14854
- "JasPer-2.0",
14855
- "Kastrup",
14856
- "Kazlib",
14857
- "Knuth-CTAN",
14858
- "LAL-1.2",
14859
- "LAL-1.3",
14860
- "LGPL-2.0-only",
14861
- "LGPL-2.0-or-later",
14862
- "LGPL-2.1-only",
14863
- "LGPL-2.1-or-later",
14864
- "LGPL-3.0-only",
14865
- "LGPL-3.0-or-later",
14866
- "LGPLLR",
14867
- "LOOP",
14868
- "LPD-document",
14869
- "LPL-1.0",
14870
- "LPL-1.02",
14871
- "LPPL-1.0",
14872
- "LPPL-1.1",
14873
- "LPPL-1.2",
14874
- "LPPL-1.3a",
14875
- "LPPL-1.3c",
14876
- "LZMA-SDK-9.11-to-9.20",
14877
- "LZMA-SDK-9.22",
14878
- "Latex2e",
14879
- "Latex2e-translated-notice",
14880
- "Leptonica",
14881
- "LiLiQ-P-1.1",
14882
- "LiLiQ-R-1.1",
14883
- "LiLiQ-Rplus-1.1",
14884
- "Libpng",
14885
- "Linux-OpenIB",
14886
- "Linux-man-pages-1-para",
14887
- "Linux-man-pages-copyleft",
14888
- "Linux-man-pages-copyleft-2-para",
14889
- "Linux-man-pages-copyleft-var",
14890
- "Lucida-Bitmap-Fonts",
14891
- "MIPS",
14892
- "MIT",
14893
- "MIT-0",
14894
- "MIT-CMU",
14895
- "MIT-Click",
14896
- "MIT-Festival",
14897
- "MIT-Khronos-old",
14898
- "MIT-Modern-Variant",
14899
- "MIT-STK",
14900
- "MIT-Wu",
14901
- "MIT-advertising",
14902
- "MIT-enna",
14903
- "MIT-feh",
14904
- "MIT-open-group",
14905
- "MIT-testregex",
14906
- "MITNFA",
14907
- "MMIXware",
14908
- "MMPL-1.0.1",
14909
- "MPEG-SSG",
14910
- "MPL-1.0",
14911
- "MPL-1.1",
14912
- "MPL-2.0",
14913
- "MPL-2.0-no-copyleft-exception",
14914
- "MS-LPL",
14915
- "MS-PL",
14916
- "MS-RL",
14917
- "MTLL",
14918
- "Mackerras-3-Clause",
14919
- "Mackerras-3-Clause-acknowledgment",
14920
- "MakeIndex",
14921
- "Martin-Birgmeier",
14922
- "McPhee-slideshow",
14923
- "Minpack",
14924
- "MirOS",
14925
- "Motosoto",
14926
- "MulanPSL-1.0",
14927
- "MulanPSL-2.0",
14928
- "Multics",
14929
- "Mup",
14930
- "NAIST-2003",
14931
- "NASA-1.3",
14932
- "NBPL-1.0",
14933
- "NCBI-PD",
14934
- "NCGL-UK-2.0",
14935
- "NCL",
14936
- "NCSA",
14937
- "NGPL",
14938
- "NICTA-1.0",
14939
- "NIST-PD",
14940
- "NIST-PD-TNT",
14941
- "NIST-PD-fallback",
14942
- "NIST-Software",
14943
- "NLOD-1.0",
14944
- "NLOD-2.0",
14945
- "NLPL",
14946
- "NOSL",
14947
- "NPL-1.0",
14948
- "NPL-1.1",
14949
- "NPOSL-3.0",
14950
- "NRL",
14951
- "NTIA-PD",
14952
- "NTP",
14953
- "NTP-0",
14954
- "Naumen",
14955
- "NetCDF",
14956
- "Newsletr",
14957
- "Nokia",
14958
- "Noweb",
14959
- "O-UDA-1.0",
14960
- "OAR",
14961
- "OCCT-PL",
14962
- "OCLC-2.0",
14963
- "ODC-By-1.0",
14964
- "ODbL-1.0",
14965
- "OFFIS",
14966
- "OFL-1.0",
14967
- "OFL-1.0-RFN",
14968
- "OFL-1.0-no-RFN",
14969
- "OFL-1.1",
14970
- "OFL-1.1-RFN",
14971
- "OFL-1.1-no-RFN",
14972
- "OGC-1.0",
14973
- "OGDL-Taiwan-1.0",
14974
- "OGL-Canada-2.0",
14975
- "OGL-UK-1.0",
14976
- "OGL-UK-2.0",
14977
- "OGL-UK-3.0",
14978
- "OGTSL",
14979
- "OLDAP-1.1",
14980
- "OLDAP-1.2",
14981
- "OLDAP-1.3",
14982
- "OLDAP-1.4",
14983
- "OLDAP-2.0",
14984
- "OLDAP-2.0.1",
14985
- "OLDAP-2.1",
14986
- "OLDAP-2.2",
14987
- "OLDAP-2.2.1",
14988
- "OLDAP-2.2.2",
14989
- "OLDAP-2.3",
14990
- "OLDAP-2.4",
14991
- "OLDAP-2.5",
14992
- "OLDAP-2.6",
14993
- "OLDAP-2.7",
14994
- "OLDAP-2.8",
14995
- "OLFL-1.3",
14996
- "OML",
14997
- "OPL-1.0",
14998
- "OPL-UK-3.0",
14999
- "OPUBL-1.0",
15000
- "OSC-1.0",
15001
- "OSET-PL-2.1",
15002
- "OSL-1.0",
15003
- "OSL-1.1",
15004
- "OSL-2.0",
15005
- "OSL-2.1",
15006
- "OSL-3.0",
15007
- "OSSP",
15008
- "OpenMDW-1.0",
15009
- "OpenPBS-2.3",
15010
- "OpenSSL",
15011
- "OpenSSL-standalone",
15012
- "OpenVision",
15013
- "PADL",
15014
- "PDDL-1.0",
15015
- "PHP-3.0",
15016
- "PHP-3.01",
15017
- "PPL",
15018
- "PSF-2.0",
15019
- "ParaType-Free-Font-1.3",
15020
- "Parity-6.0.0",
15021
- "Parity-7.0.0",
15022
- "Pixar",
15023
- "Plexus",
15024
- "PolyForm-Noncommercial-1.0.0",
15025
- "PolyForm-Small-Business-1.0.0",
15026
- "PostgreSQL",
15027
- "Python-2.0",
15028
- "Python-2.0.1",
15029
- "QPL-1.0",
15030
- "QPL-1.0-INRIA-2004",
15031
- "Qhull",
15032
- "RHeCos-1.1",
15033
- "RPL-1.1",
15034
- "RPL-1.5",
15035
- "RPSL-1.0",
15036
- "RSA-MD",
15037
- "RSCPL",
15038
- "Rdisc",
15039
- "Ruby",
15040
- "Ruby-pty",
15041
- "SAX-PD",
15042
- "SAX-PD-2.0",
15043
- "SCEA",
15044
- "SGI-B-1.0",
15045
- "SGI-B-1.1",
15046
- "SGI-B-2.0",
15047
- "SGI-OpenGL",
15048
- "SGMLUG-PM",
15049
- "SGP4",
15050
- "SHL-0.5",
15051
- "SHL-0.51",
15052
- "SISSL",
15053
- "SISSL-1.2",
15054
- "SL",
15055
- "SMAIL-GPL",
15056
- "SMLNJ",
15057
- "SMPPL",
15058
- "SNIA",
15059
- "SOFA",
15060
- "SPL-1.0",
15061
- "SSH-OpenSSH",
15062
- "SSH-short",
15063
- "SSLeay-standalone",
15064
- "SSPL-1.0",
15065
- "SUL-1.0",
15066
- "SWL",
15067
- "Saxpath",
15068
- "SchemeReport",
15069
- "Sendmail",
15070
- "Sendmail-8.23",
15071
- "Sendmail-Open-Source-1.1",
15072
- "SimPL-2.0",
15073
- "Sleepycat",
15074
- "Soundex",
15075
- "Spencer-86",
15076
- "Spencer-94",
15077
- "Spencer-99",
15078
- "SugarCRM-1.1.3",
15079
- "Sun-PPP",
15080
- "Sun-PPP-2000",
15081
- "SunPro",
15082
- "Symlinks",
15083
- "TAPR-OHL-1.0",
15084
- "TCL",
15085
- "TCP-wrappers",
15086
- "TGPPL-1.0",
15087
- "TMate",
15088
- "TORQUE-1.1",
15089
- "TOSL",
15090
- "TPDL",
15091
- "TPL-1.0",
15092
- "TTWL",
15093
- "TTYP0",
15094
- "TU-Berlin-1.0",
15095
- "TU-Berlin-2.0",
15096
- "TekHVC",
15097
- "TermReadKey",
15098
- "ThirdEye",
15099
- "TrustedQSL",
15100
- "UCAR",
15101
- "UCL-1.0",
15102
- "UMich-Merit",
15103
- "UPL-1.0",
15104
- "URT-RLE",
15105
- "Ubuntu-font-1.0",
15106
- "UnRAR",
15107
- "Unicode-3.0",
15108
- "Unicode-DFS-2015",
15109
- "Unicode-DFS-2016",
15110
- "Unicode-TOU",
15111
- "UnixCrypt",
15112
- "Unlicense",
15113
- "Unlicense-libtelnet",
15114
- "Unlicense-libwhirlpool",
15115
- "VOSTROM",
15116
- "VSL-1.0",
15117
- "Vim",
15118
- "Vixie-Cron",
15119
- "W3C",
15120
- "W3C-19980720",
15121
- "W3C-20150513",
15122
- "WTFNMFPL",
15123
- "WTFPL",
15124
- "Watcom-1.0",
15125
- "Widget-Workshop",
15126
- "WordNet",
15127
- "Wsuipa",
15128
- "X11",
15129
- "X11-distribute-modifications-variant",
15130
- "X11-no-permit-persons",
15131
- "X11-swapped",
15132
- "XFree86-1.1",
15133
- "XSkat",
15134
- "Xdebug-1.03",
15135
- "Xerox",
15136
- "Xfig",
15137
- "Xnet",
15138
- "YPL-1.0",
15139
- "YPL-1.1",
15140
- "ZPL-1.1",
15141
- "ZPL-2.0",
15142
- "ZPL-2.1",
15143
- "Zed",
15144
- "Zeeff",
15145
- "Zend-2.0",
15146
- "Zimbra-1.3",
15147
- "Zimbra-1.4",
15148
- "Zlib",
15149
- "any-OSI",
15150
- "any-OSI-perl-modules",
15151
- "bcrypt-Solar-Designer",
15152
- "blessing",
15153
- "bzip2-1.0.6",
15154
- "check-cvs",
15155
- "checkmk",
15156
- "copyleft-next-0.3.0",
15157
- "copyleft-next-0.3.1",
15158
- "curl",
15159
- "cve-tou",
15160
- "diffmark",
15161
- "dtoa",
15162
- "dvipdfm",
15163
- "eGenix",
15164
- "etalab-2.0",
15165
- "fwlw",
15166
- "gSOAP-1.3b",
15167
- "generic-xts",
15168
- "gnuplot",
15169
- "gtkbook",
15170
- "hdparm",
15171
- "hyphen-bulgarian",
15172
- "iMatix",
15173
- "jove",
15174
- "libpng-1.6.35",
15175
- "libpng-2.0",
15176
- "libselinux-1.0",
15177
- "libtiff",
15178
- "libutil-David-Nugent",
15179
- "lsof",
15180
- "magaz",
15181
- "mailprio",
15182
- "man2html",
15183
- "metamail",
15184
- "mpi-permissive",
15185
- "mpich2",
15186
- "mplus",
15187
- "ngrep",
15188
- "pkgconf",
15189
- "pnmstitch",
15190
- "psfrag",
15191
- "psutils",
15192
- "python-ldap",
15193
- "radvd",
15194
- "snprintf",
15195
- "softSurfer",
15196
- "ssh-keyscan",
15197
- "swrule",
15198
- "threeparttable",
15199
- "ulem",
15200
- "w3m",
15201
- "wwl",
15202
- "xinetd",
15203
- "xkeyboard-config-Zinoviev",
15204
- "xlock",
15205
- "xpp",
15206
- "xzoom",
15207
- "zlib-acknowledgement"
15208
- ];
15209
- }));
14510
+ //#region ../../node_modules/.pnpm/@effected+spdx@0.1.0_effect@4.0.0-beta.99/node_modules/@effected/spdx/internal/licenseIds.js
14511
+ /** @internal */
14512
+ const ACTIVE_LICENSE_IDS = [
14513
+ "0BSD",
14514
+ "3D-Slicer-1.0",
14515
+ "AAL",
14516
+ "ADSL",
14517
+ "AFL-1.1",
14518
+ "AFL-1.2",
14519
+ "AFL-2.0",
14520
+ "AFL-2.1",
14521
+ "AFL-3.0",
14522
+ "AGPL-1.0-only",
14523
+ "AGPL-1.0-or-later",
14524
+ "AGPL-3.0-only",
14525
+ "AGPL-3.0-or-later",
14526
+ "ALGLIB-Documentation",
14527
+ "AMD-newlib",
14528
+ "AMDPLPA",
14529
+ "AML",
14530
+ "AML-glslang",
14531
+ "AMPAS",
14532
+ "ANTLR-PD",
14533
+ "ANTLR-PD-fallback",
14534
+ "APAFML",
14535
+ "APL-1.0",
14536
+ "APSL-1.0",
14537
+ "APSL-1.1",
14538
+ "APSL-1.2",
14539
+ "APSL-2.0",
14540
+ "ASWF-Digital-Assets-1.0",
14541
+ "ASWF-Digital-Assets-1.1",
14542
+ "Abstyles",
14543
+ "AdaCore-doc",
14544
+ "Adobe-2006",
14545
+ "Adobe-Display-PostScript",
14546
+ "Adobe-Glyph",
14547
+ "Adobe-Utopia",
14548
+ "Advanced-Cryptics-Dictionary",
14549
+ "Afmparse",
14550
+ "Aladdin",
14551
+ "Apache-1.0",
14552
+ "Apache-1.1",
14553
+ "Apache-2.0",
14554
+ "App-s2p",
14555
+ "Arphic-1999",
14556
+ "Artistic-1.0",
14557
+ "Artistic-1.0-Perl",
14558
+ "Artistic-1.0-cl8",
14559
+ "Artistic-2.0",
14560
+ "Artistic-dist",
14561
+ "Aspell-RU",
14562
+ "BOLA-1.1",
14563
+ "BSD-1-Clause",
14564
+ "BSD-2-Clause",
14565
+ "BSD-2-Clause-Darwin",
14566
+ "BSD-2-Clause-Patent",
14567
+ "BSD-2-Clause-Views",
14568
+ "BSD-2-Clause-first-lines",
14569
+ "BSD-2-Clause-pkgconf-disclaimer",
14570
+ "BSD-3-Clause",
14571
+ "BSD-3-Clause-Attribution",
14572
+ "BSD-3-Clause-Clear",
14573
+ "BSD-3-Clause-HP",
14574
+ "BSD-3-Clause-LBNL",
14575
+ "BSD-3-Clause-Modification",
14576
+ "BSD-3-Clause-No-Military-License",
14577
+ "BSD-3-Clause-No-Nuclear-License",
14578
+ "BSD-3-Clause-No-Nuclear-License-2014",
14579
+ "BSD-3-Clause-No-Nuclear-Warranty",
14580
+ "BSD-3-Clause-Open-MPI",
14581
+ "BSD-3-Clause-Sun",
14582
+ "BSD-3-Clause-Tso",
14583
+ "BSD-3-Clause-acpica",
14584
+ "BSD-3-Clause-flex",
14585
+ "BSD-4-Clause",
14586
+ "BSD-4-Clause-Shortened",
14587
+ "BSD-4-Clause-UC",
14588
+ "BSD-4.3RENO",
14589
+ "BSD-4.3TAHOE",
14590
+ "BSD-Advertising-Acknowledgement",
14591
+ "BSD-Attribution-HPND-disclaimer",
14592
+ "BSD-Inferno-Nettverk",
14593
+ "BSD-Mark-Modifications",
14594
+ "BSD-Protection",
14595
+ "BSD-Source-Code",
14596
+ "BSD-Source-beginning-file",
14597
+ "BSD-Systemics",
14598
+ "BSD-Systemics-W3Works",
14599
+ "BSL-1.0",
14600
+ "BUSL-1.1",
14601
+ "Baekmuk",
14602
+ "Bahyph",
14603
+ "Barr",
14604
+ "Beerware",
14605
+ "BitTorrent-1.0",
14606
+ "BitTorrent-1.1",
14607
+ "Bitstream-Charter",
14608
+ "Bitstream-Vera",
14609
+ "BlueOak-1.0.0",
14610
+ "Boehm-GC",
14611
+ "Boehm-GC-without-fee",
14612
+ "Borceux",
14613
+ "Brian-Gladman-2-Clause",
14614
+ "Brian-Gladman-3-Clause",
14615
+ "Buddy",
14616
+ "C-UDA-1.0",
14617
+ "CAL-1.0",
14618
+ "CAL-1.0-Combined-Work-Exception",
14619
+ "CAPEC-tou",
14620
+ "CATOSL-1.1",
14621
+ "CC-BY-1.0",
14622
+ "CC-BY-2.0",
14623
+ "CC-BY-2.5",
14624
+ "CC-BY-2.5-AU",
14625
+ "CC-BY-3.0",
14626
+ "CC-BY-3.0-AT",
14627
+ "CC-BY-3.0-AU",
14628
+ "CC-BY-3.0-DE",
14629
+ "CC-BY-3.0-IGO",
14630
+ "CC-BY-3.0-NL",
14631
+ "CC-BY-3.0-US",
14632
+ "CC-BY-4.0",
14633
+ "CC-BY-NC-1.0",
14634
+ "CC-BY-NC-2.0",
14635
+ "CC-BY-NC-2.5",
14636
+ "CC-BY-NC-3.0",
14637
+ "CC-BY-NC-3.0-DE",
14638
+ "CC-BY-NC-4.0",
14639
+ "CC-BY-NC-ND-1.0",
14640
+ "CC-BY-NC-ND-2.0",
14641
+ "CC-BY-NC-ND-2.5",
14642
+ "CC-BY-NC-ND-3.0",
14643
+ "CC-BY-NC-ND-3.0-DE",
14644
+ "CC-BY-NC-ND-3.0-IGO",
14645
+ "CC-BY-NC-ND-4.0",
14646
+ "CC-BY-NC-SA-1.0",
14647
+ "CC-BY-NC-SA-2.0",
14648
+ "CC-BY-NC-SA-2.0-DE",
14649
+ "CC-BY-NC-SA-2.0-FR",
14650
+ "CC-BY-NC-SA-2.0-UK",
14651
+ "CC-BY-NC-SA-2.5",
14652
+ "CC-BY-NC-SA-3.0",
14653
+ "CC-BY-NC-SA-3.0-DE",
14654
+ "CC-BY-NC-SA-3.0-IGO",
14655
+ "CC-BY-NC-SA-4.0",
14656
+ "CC-BY-ND-1.0",
14657
+ "CC-BY-ND-2.0",
14658
+ "CC-BY-ND-2.5",
14659
+ "CC-BY-ND-3.0",
14660
+ "CC-BY-ND-3.0-DE",
14661
+ "CC-BY-ND-4.0",
14662
+ "CC-BY-SA-1.0",
14663
+ "CC-BY-SA-2.0",
14664
+ "CC-BY-SA-2.0-UK",
14665
+ "CC-BY-SA-2.1-JP",
14666
+ "CC-BY-SA-2.5",
14667
+ "CC-BY-SA-3.0",
14668
+ "CC-BY-SA-3.0-AT",
14669
+ "CC-BY-SA-3.0-DE",
14670
+ "CC-BY-SA-3.0-IGO",
14671
+ "CC-BY-SA-4.0",
14672
+ "CC-PDDC",
14673
+ "CC-PDM-1.0",
14674
+ "CC-SA-1.0",
14675
+ "CC0-1.0",
14676
+ "CDDL-1.0",
14677
+ "CDDL-1.1",
14678
+ "CDL-1.0",
14679
+ "CDLA-Permissive-1.0",
14680
+ "CDLA-Permissive-2.0",
14681
+ "CDLA-Sharing-1.0",
14682
+ "CECILL-1.0",
14683
+ "CECILL-1.1",
14684
+ "CECILL-2.0",
14685
+ "CECILL-2.1",
14686
+ "CECILL-B",
14687
+ "CECILL-C",
14688
+ "CERN-OHL-1.1",
14689
+ "CERN-OHL-1.2",
14690
+ "CERN-OHL-P-2.0",
14691
+ "CERN-OHL-S-2.0",
14692
+ "CERN-OHL-W-2.0",
14693
+ "CFITSIO",
14694
+ "CMU-Mach",
14695
+ "CMU-Mach-nodoc",
14696
+ "CNRI-Jython",
14697
+ "CNRI-Python",
14698
+ "CNRI-Python-GPL-Compatible",
14699
+ "COIL-1.0",
14700
+ "CPAL-1.0",
14701
+ "CPL-1.0",
14702
+ "CPOL-1.02",
14703
+ "CUA-OPL-1.0",
14704
+ "Caldera",
14705
+ "Caldera-no-preamble",
14706
+ "Catharon",
14707
+ "ClArtistic",
14708
+ "Clips",
14709
+ "Community-Spec-1.0",
14710
+ "Condor-1.1",
14711
+ "Cornell-Lossless-JPEG",
14712
+ "Cronyx",
14713
+ "Crossword",
14714
+ "CryptoSwift",
14715
+ "CrystalStacker",
14716
+ "Cube",
14717
+ "D-FSL-1.0",
14718
+ "DEC-3-Clause",
14719
+ "DL-DE-BY-2.0",
14720
+ "DL-DE-ZERO-2.0",
14721
+ "DOC",
14722
+ "DRL-1.0",
14723
+ "DRL-1.1",
14724
+ "DSDP",
14725
+ "DocBook-DTD",
14726
+ "DocBook-Schema",
14727
+ "DocBook-Stylesheet",
14728
+ "DocBook-XML",
14729
+ "Dotseqn",
14730
+ "ECL-1.0",
14731
+ "ECL-2.0",
14732
+ "EFL-1.0",
14733
+ "EFL-2.0",
14734
+ "EPICS",
14735
+ "EPL-1.0",
14736
+ "EPL-2.0",
14737
+ "ESA-PL-permissive-2.4",
14738
+ "ESA-PL-strong-copyleft-2.4",
14739
+ "ESA-PL-weak-copyleft-2.4",
14740
+ "EUDatagrid",
14741
+ "EUPL-1.0",
14742
+ "EUPL-1.1",
14743
+ "EUPL-1.2",
14744
+ "Elastic-2.0",
14745
+ "Entessa",
14746
+ "ErlPL-1.1",
14747
+ "Eurosym",
14748
+ "FBM",
14749
+ "FDK-AAC",
14750
+ "FSFAP",
14751
+ "FSFAP-no-warranty-disclaimer",
14752
+ "FSFUL",
14753
+ "FSFULLR",
14754
+ "FSFULLRSD",
14755
+ "FSFULLRWD",
14756
+ "FSL-1.1-ALv2",
14757
+ "FSL-1.1-MIT",
14758
+ "FTL",
14759
+ "Fair",
14760
+ "Ferguson-Twofish",
14761
+ "Frameworx-1.0",
14762
+ "FreeBSD-DOC",
14763
+ "FreeImage",
14764
+ "Furuseth",
14765
+ "GCR-docs",
14766
+ "GD",
14767
+ "GFDL-1.1-invariants-only",
14768
+ "GFDL-1.1-invariants-or-later",
14769
+ "GFDL-1.1-no-invariants-only",
14770
+ "GFDL-1.1-no-invariants-or-later",
14771
+ "GFDL-1.1-only",
14772
+ "GFDL-1.1-or-later",
14773
+ "GFDL-1.2-invariants-only",
14774
+ "GFDL-1.2-invariants-or-later",
14775
+ "GFDL-1.2-no-invariants-only",
14776
+ "GFDL-1.2-no-invariants-or-later",
14777
+ "GFDL-1.2-only",
14778
+ "GFDL-1.2-or-later",
14779
+ "GFDL-1.3-invariants-only",
14780
+ "GFDL-1.3-invariants-or-later",
14781
+ "GFDL-1.3-no-invariants-only",
14782
+ "GFDL-1.3-no-invariants-or-later",
14783
+ "GFDL-1.3-only",
14784
+ "GFDL-1.3-or-later",
14785
+ "GL2PS",
14786
+ "GLWTPL",
14787
+ "GPL-1.0-only",
14788
+ "GPL-1.0-or-later",
14789
+ "GPL-2.0-only",
14790
+ "GPL-2.0-or-later",
14791
+ "GPL-3.0-only",
14792
+ "GPL-3.0-or-later",
14793
+ "Game-Programming-Gems",
14794
+ "Giftware",
14795
+ "Glide",
14796
+ "Glulxe",
14797
+ "Graphics-Gems",
14798
+ "Gutmann",
14799
+ "HDF5",
14800
+ "HIDAPI",
14801
+ "HP-1986",
14802
+ "HP-1989",
14803
+ "HPND",
14804
+ "HPND-DEC",
14805
+ "HPND-Fenneberg-Livingston",
14806
+ "HPND-INRIA-IMAG",
14807
+ "HPND-Intel",
14808
+ "HPND-Kevlin-Henney",
14809
+ "HPND-MIT-disclaimer",
14810
+ "HPND-Markus-Kuhn",
14811
+ "HPND-Netrek",
14812
+ "HPND-Pbmplus",
14813
+ "HPND-SMC",
14814
+ "HPND-UC",
14815
+ "HPND-UC-export-US",
14816
+ "HPND-doc",
14817
+ "HPND-doc-sell",
14818
+ "HPND-export-US",
14819
+ "HPND-export-US-acknowledgement",
14820
+ "HPND-export-US-modify",
14821
+ "HPND-export2-US",
14822
+ "HPND-merchantability-variant",
14823
+ "HPND-sell-MIT-disclaimer-xserver",
14824
+ "HPND-sell-regexpr",
14825
+ "HPND-sell-variant",
14826
+ "HPND-sell-variant-MIT-disclaimer",
14827
+ "HPND-sell-variant-MIT-disclaimer-rev",
14828
+ "HPND-sell-variant-critical-systems",
14829
+ "HTMLTIDY",
14830
+ "HaskellReport",
14831
+ "Hippocratic-2.1",
14832
+ "IBM-pibs",
14833
+ "ICU",
14834
+ "IEC-Code-Components-EULA",
14835
+ "IJG",
14836
+ "IJG-short",
14837
+ "IPA",
14838
+ "IPL-1.0",
14839
+ "ISC",
14840
+ "ISC-Veillard",
14841
+ "ISO-permission",
14842
+ "ImageMagick",
14843
+ "Imlib2",
14844
+ "Info-ZIP",
14845
+ "Inner-Net-2.0",
14846
+ "InnoSetup",
14847
+ "Intel",
14848
+ "Intel-ACPI",
14849
+ "Interbase-1.0",
14850
+ "JPL-image",
14851
+ "JPNIC",
14852
+ "JSON",
14853
+ "Jam",
14854
+ "JasPer-2.0",
14855
+ "Kastrup",
14856
+ "Kazlib",
14857
+ "Knuth-CTAN",
14858
+ "LAL-1.2",
14859
+ "LAL-1.3",
14860
+ "LGPL-2.0-only",
14861
+ "LGPL-2.0-or-later",
14862
+ "LGPL-2.1-only",
14863
+ "LGPL-2.1-or-later",
14864
+ "LGPL-3.0-only",
14865
+ "LGPL-3.0-or-later",
14866
+ "LGPLLR",
14867
+ "LOOP",
14868
+ "LPD-document",
14869
+ "LPL-1.0",
14870
+ "LPL-1.02",
14871
+ "LPPL-1.0",
14872
+ "LPPL-1.1",
14873
+ "LPPL-1.2",
14874
+ "LPPL-1.3a",
14875
+ "LPPL-1.3c",
14876
+ "LZMA-SDK-9.11-to-9.20",
14877
+ "LZMA-SDK-9.22",
14878
+ "Latex2e",
14879
+ "Latex2e-translated-notice",
14880
+ "Leptonica",
14881
+ "LiLiQ-P-1.1",
14882
+ "LiLiQ-R-1.1",
14883
+ "LiLiQ-Rplus-1.1",
14884
+ "Libpng",
14885
+ "Linux-OpenIB",
14886
+ "Linux-man-pages-1-para",
14887
+ "Linux-man-pages-copyleft",
14888
+ "Linux-man-pages-copyleft-2-para",
14889
+ "Linux-man-pages-copyleft-var",
14890
+ "Lucida-Bitmap-Fonts",
14891
+ "MIPS",
14892
+ "MIT",
14893
+ "MIT-0",
14894
+ "MIT-CMU",
14895
+ "MIT-Click",
14896
+ "MIT-Festival",
14897
+ "MIT-Khronos-old",
14898
+ "MIT-Modern-Variant",
14899
+ "MIT-STK",
14900
+ "MIT-Wu",
14901
+ "MIT-advertising",
14902
+ "MIT-enna",
14903
+ "MIT-feh",
14904
+ "MIT-open-group",
14905
+ "MIT-testregex",
14906
+ "MITNFA",
14907
+ "MMIXware",
14908
+ "MMPL-1.0.1",
14909
+ "MPEG-SSG",
14910
+ "MPL-1.0",
14911
+ "MPL-1.1",
14912
+ "MPL-2.0",
14913
+ "MPL-2.0-no-copyleft-exception",
14914
+ "MS-LPL",
14915
+ "MS-PL",
14916
+ "MS-RL",
14917
+ "MTLL",
14918
+ "Mackerras-3-Clause",
14919
+ "Mackerras-3-Clause-acknowledgment",
14920
+ "MakeIndex",
14921
+ "Martin-Birgmeier",
14922
+ "McPhee-slideshow",
14923
+ "Minpack",
14924
+ "MirOS",
14925
+ "Motosoto",
14926
+ "MulanPSL-1.0",
14927
+ "MulanPSL-2.0",
14928
+ "Multics",
14929
+ "Mup",
14930
+ "NAIST-2003",
14931
+ "NASA-1.3",
14932
+ "NBPL-1.0",
14933
+ "NCBI-PD",
14934
+ "NCGL-UK-2.0",
14935
+ "NCL",
14936
+ "NCSA",
14937
+ "NGPL",
14938
+ "NICTA-1.0",
14939
+ "NIST-PD",
14940
+ "NIST-PD-TNT",
14941
+ "NIST-PD-fallback",
14942
+ "NIST-Software",
14943
+ "NLOD-1.0",
14944
+ "NLOD-2.0",
14945
+ "NLPL",
14946
+ "NOSL",
14947
+ "NPL-1.0",
14948
+ "NPL-1.1",
14949
+ "NPOSL-3.0",
14950
+ "NRL",
14951
+ "NTIA-PD",
14952
+ "NTP",
14953
+ "NTP-0",
14954
+ "Naumen",
14955
+ "NetCDF",
14956
+ "Newsletr",
14957
+ "Nokia",
14958
+ "Noweb",
14959
+ "O-UDA-1.0",
14960
+ "OAR",
14961
+ "OCCT-PL",
14962
+ "OCLC-2.0",
14963
+ "ODC-By-1.0",
14964
+ "ODbL-1.0",
14965
+ "OFFIS",
14966
+ "OFL-1.0",
14967
+ "OFL-1.0-RFN",
14968
+ "OFL-1.0-no-RFN",
14969
+ "OFL-1.1",
14970
+ "OFL-1.1-RFN",
14971
+ "OFL-1.1-no-RFN",
14972
+ "OGC-1.0",
14973
+ "OGDL-Taiwan-1.0",
14974
+ "OGL-Canada-2.0",
14975
+ "OGL-UK-1.0",
14976
+ "OGL-UK-2.0",
14977
+ "OGL-UK-3.0",
14978
+ "OGTSL",
14979
+ "OLDAP-1.1",
14980
+ "OLDAP-1.2",
14981
+ "OLDAP-1.3",
14982
+ "OLDAP-1.4",
14983
+ "OLDAP-2.0",
14984
+ "OLDAP-2.0.1",
14985
+ "OLDAP-2.1",
14986
+ "OLDAP-2.2",
14987
+ "OLDAP-2.2.1",
14988
+ "OLDAP-2.2.2",
14989
+ "OLDAP-2.3",
14990
+ "OLDAP-2.4",
14991
+ "OLDAP-2.5",
14992
+ "OLDAP-2.6",
14993
+ "OLDAP-2.7",
14994
+ "OLDAP-2.8",
14995
+ "OLFL-1.3",
14996
+ "OML",
14997
+ "OPL-1.0",
14998
+ "OPL-UK-3.0",
14999
+ "OPUBL-1.0",
15000
+ "OSC-1.0",
15001
+ "OSET-PL-2.1",
15002
+ "OSL-1.0",
15003
+ "OSL-1.1",
15004
+ "OSL-2.0",
15005
+ "OSL-2.1",
15006
+ "OSL-3.0",
15007
+ "OSSP",
15008
+ "OpenMDW-1.0",
15009
+ "OpenPBS-2.3",
15010
+ "OpenSSL",
15011
+ "OpenSSL-standalone",
15012
+ "OpenVision",
15013
+ "PADL",
15014
+ "PDDL-1.0",
15015
+ "PHP-3.0",
15016
+ "PHP-3.01",
15017
+ "PPL",
15018
+ "PSF-2.0",
15019
+ "ParaType-Free-Font-1.3",
15020
+ "Parity-6.0.0",
15021
+ "Parity-7.0.0",
15022
+ "Pixar",
15023
+ "Plexus",
15024
+ "PolyForm-Noncommercial-1.0.0",
15025
+ "PolyForm-Small-Business-1.0.0",
15026
+ "PostgreSQL",
15027
+ "Python-2.0",
15028
+ "Python-2.0.1",
15029
+ "QPL-1.0",
15030
+ "QPL-1.0-INRIA-2004",
15031
+ "Qhull",
15032
+ "RHeCos-1.1",
15033
+ "RPL-1.1",
15034
+ "RPL-1.5",
15035
+ "RPSL-1.0",
15036
+ "RSA-MD",
15037
+ "RSCPL",
15038
+ "Rdisc",
15039
+ "Ruby",
15040
+ "Ruby-pty",
15041
+ "SAX-PD",
15042
+ "SAX-PD-2.0",
15043
+ "SCEA",
15044
+ "SGI-B-1.0",
15045
+ "SGI-B-1.1",
15046
+ "SGI-B-2.0",
15047
+ "SGI-OpenGL",
15048
+ "SGMLUG-PM",
15049
+ "SGP4",
15050
+ "SHL-0.5",
15051
+ "SHL-0.51",
15052
+ "SISSL",
15053
+ "SISSL-1.2",
15054
+ "SL",
15055
+ "SMAIL-GPL",
15056
+ "SMLNJ",
15057
+ "SMPPL",
15058
+ "SNIA",
15059
+ "SOFA",
15060
+ "SPL-1.0",
15061
+ "SSH-OpenSSH",
15062
+ "SSH-short",
15063
+ "SSLeay-standalone",
15064
+ "SSPL-1.0",
15065
+ "SUL-1.0",
15066
+ "SWL",
15067
+ "Saxpath",
15068
+ "SchemeReport",
15069
+ "Sendmail",
15070
+ "Sendmail-8.23",
15071
+ "Sendmail-Open-Source-1.1",
15072
+ "SimPL-2.0",
15073
+ "Sleepycat",
15074
+ "Soundex",
15075
+ "Spencer-86",
15076
+ "Spencer-94",
15077
+ "Spencer-99",
15078
+ "SugarCRM-1.1.3",
15079
+ "Sun-PPP",
15080
+ "Sun-PPP-2000",
15081
+ "SunPro",
15082
+ "Symlinks",
15083
+ "TAPR-OHL-1.0",
15084
+ "TCL",
15085
+ "TCP-wrappers",
15086
+ "TGPPL-1.0",
15087
+ "TMate",
15088
+ "TORQUE-1.1",
15089
+ "TOSL",
15090
+ "TPDL",
15091
+ "TPL-1.0",
15092
+ "TTWL",
15093
+ "TTYP0",
15094
+ "TU-Berlin-1.0",
15095
+ "TU-Berlin-2.0",
15096
+ "TekHVC",
15097
+ "TermReadKey",
15098
+ "ThirdEye",
15099
+ "TrustedQSL",
15100
+ "UCAR",
15101
+ "UCL-1.0",
15102
+ "UMich-Merit",
15103
+ "UPL-1.0",
15104
+ "URT-RLE",
15105
+ "Ubuntu-font-1.0",
15106
+ "UnRAR",
15107
+ "Unicode-3.0",
15108
+ "Unicode-DFS-2015",
15109
+ "Unicode-DFS-2016",
15110
+ "Unicode-TOU",
15111
+ "UnixCrypt",
15112
+ "Unlicense",
15113
+ "Unlicense-libtelnet",
15114
+ "Unlicense-libwhirlpool",
15115
+ "VOSTROM",
15116
+ "VSL-1.0",
15117
+ "Vim",
15118
+ "Vixie-Cron",
15119
+ "W3C",
15120
+ "W3C-19980720",
15121
+ "W3C-20150513",
15122
+ "WTFNMFPL",
15123
+ "WTFPL",
15124
+ "Watcom-1.0",
15125
+ "Widget-Workshop",
15126
+ "WordNet",
15127
+ "Wsuipa",
15128
+ "X11",
15129
+ "X11-distribute-modifications-variant",
15130
+ "X11-no-permit-persons",
15131
+ "X11-swapped",
15132
+ "XFree86-1.1",
15133
+ "XSkat",
15134
+ "Xdebug-1.03",
15135
+ "Xerox",
15136
+ "Xfig",
15137
+ "Xnet",
15138
+ "YPL-1.0",
15139
+ "YPL-1.1",
15140
+ "ZPL-1.1",
15141
+ "ZPL-2.0",
15142
+ "ZPL-2.1",
15143
+ "Zed",
15144
+ "Zeeff",
15145
+ "Zend-2.0",
15146
+ "Zimbra-1.3",
15147
+ "Zimbra-1.4",
15148
+ "Zlib",
15149
+ "any-OSI",
15150
+ "any-OSI-perl-modules",
15151
+ "bcrypt-Solar-Designer",
15152
+ "blessing",
15153
+ "bzip2-1.0.6",
15154
+ "check-cvs",
15155
+ "checkmk",
15156
+ "copyleft-next-0.3.0",
15157
+ "copyleft-next-0.3.1",
15158
+ "curl",
15159
+ "cve-tou",
15160
+ "diffmark",
15161
+ "dtoa",
15162
+ "dvipdfm",
15163
+ "eGenix",
15164
+ "etalab-2.0",
15165
+ "fwlw",
15166
+ "gSOAP-1.3b",
15167
+ "generic-xts",
15168
+ "gnuplot",
15169
+ "gtkbook",
15170
+ "hdparm",
15171
+ "hyphen-bulgarian",
15172
+ "iMatix",
15173
+ "jove",
15174
+ "libpng-1.6.35",
15175
+ "libpng-2.0",
15176
+ "libselinux-1.0",
15177
+ "libtiff",
15178
+ "libutil-David-Nugent",
15179
+ "lsof",
15180
+ "magaz",
15181
+ "mailprio",
15182
+ "man2html",
15183
+ "metamail",
15184
+ "mpi-permissive",
15185
+ "mpich2",
15186
+ "mplus",
15187
+ "ngrep",
15188
+ "pkgconf",
15189
+ "pnmstitch",
15190
+ "psfrag",
15191
+ "psutils",
15192
+ "python-ldap",
15193
+ "radvd",
15194
+ "snprintf",
15195
+ "softSurfer",
15196
+ "ssh-keyscan",
15197
+ "swrule",
15198
+ "threeparttable",
15199
+ "ulem",
15200
+ "w3m",
15201
+ "wwl",
15202
+ "xinetd",
15203
+ "xkeyboard-config-Zinoviev",
15204
+ "xlock",
15205
+ "xpp",
15206
+ "xzoom",
15207
+ "zlib-acknowledgement"
15208
+ ];
15209
+ /** @internal */
15210
+ const DEPRECATED_LICENSE_ID_LIST = [
15211
+ "AGPL-1.0",
15212
+ "AGPL-3.0",
15213
+ "BSD-2-Clause-FreeBSD",
15214
+ "BSD-2-Clause-NetBSD",
15215
+ "GFDL-1.1",
15216
+ "GFDL-1.2",
15217
+ "GFDL-1.3",
15218
+ "GPL-1.0",
15219
+ "GPL-2.0",
15220
+ "GPL-2.0-with-GCC-exception",
15221
+ "GPL-2.0-with-autoconf-exception",
15222
+ "GPL-2.0-with-bison-exception",
15223
+ "GPL-2.0-with-classpath-exception",
15224
+ "GPL-2.0-with-font-exception",
15225
+ "GPL-3.0",
15226
+ "GPL-3.0-with-GCC-exception",
15227
+ "GPL-3.0-with-autoconf-exception",
15228
+ "LGPL-2.0",
15229
+ "LGPL-2.1",
15230
+ "LGPL-3.0",
15231
+ "Net-SNMP",
15232
+ "Nunit",
15233
+ "StandardML-NJ",
15234
+ "bzip2-1.0.5",
15235
+ "eCos-2.0",
15236
+ "wxWindows"
15237
+ ];
15238
+ /** @internal */
15239
+ const LICENSE_IDS = new Set(ACTIVE_LICENSE_IDS);
15240
+ /** @internal */
15241
+ const DEPRECATED_LICENSE_IDS = new Set(DEPRECATED_LICENSE_ID_LIST);
15210
15242
 
15211
15243
  //#endregion
15212
- //#region ../../node_modules/.pnpm/spdx-license-ids@3.0.23/node_modules/spdx-license-ids/deprecated.json
15213
- var require_deprecated = /* @__PURE__ */ __commonJSMin(((exports, module) => {
15214
- module.exports = [
15215
- "AGPL-1.0",
15216
- "AGPL-3.0",
15217
- "BSD-2-Clause-FreeBSD",
15218
- "BSD-2-Clause-NetBSD",
15219
- "GFDL-1.1",
15220
- "GFDL-1.2",
15221
- "GFDL-1.3",
15222
- "GPL-1.0",
15223
- "GPL-2.0",
15224
- "GPL-2.0-with-GCC-exception",
15225
- "GPL-2.0-with-autoconf-exception",
15226
- "GPL-2.0-with-bison-exception",
15227
- "GPL-2.0-with-classpath-exception",
15228
- "GPL-2.0-with-font-exception",
15229
- "GPL-3.0",
15230
- "GPL-3.0-with-GCC-exception",
15231
- "GPL-3.0-with-autoconf-exception",
15232
- "LGPL-2.0",
15233
- "LGPL-2.1",
15234
- "LGPL-3.0",
15235
- "Net-SNMP",
15236
- "Nunit",
15237
- "StandardML-NJ",
15238
- "bzip2-1.0.5",
15239
- "eCos-2.0",
15240
- "wxWindows"
15241
- ];
15242
- }));
15244
+ //#region ../../node_modules/.pnpm/@effected+spdx@0.1.0_effect@4.0.0-beta.99/node_modules/@effected/spdx/License.js
15245
+ /**
15246
+ * Indicates that a string is not a valid SPDX expression fragment: an
15247
+ * unrecognized license or exception identifier, or a malformed
15248
+ * `LicenseRef-`/`DocumentRef-` reference.
15249
+ *
15250
+ * This is the package's single typed error. Both malformed grammar and an
15251
+ * unknown identifier fail through it on the `E` channel — never as a defect,
15252
+ * per the input-hardening invariant. {@link License.parse} and
15253
+ * `LicenseException.parse` raise it, and the recursive expression parser reuses
15254
+ * it for the whole grammar.
15255
+ *
15256
+ * @see {@link https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions/ | SPDX License Expressions}
15257
+ * @public
15258
+ */
15259
+ var InvalidSpdxExpressionError = class extends Schema.TaggedErrorClass()("InvalidSpdxExpressionError", {
15260
+ /** The raw input string that failed to validate. */
15261
+ input: Schema.String }) {
15262
+ get message() {
15263
+ return `Invalid SPDX expression: "${this.input}"`;
15264
+ }
15265
+ };
15266
+ const LICENSE_REF_PATTERN = /^(?:DocumentRef-[A-Za-z0-9.-]+:)?LicenseRef-[A-Za-z0-9.-]+$/;
15267
+ /**
15268
+ * A validated SPDX license identifier: an Effect `Schema.Class` whose `id` is
15269
+ * either a member of the SPDX License List or a well-formed
15270
+ * `LicenseRef-`/`DocumentRef-` reference. The class doubles as its own schema —
15271
+ * there is no `*Schema` suffix.
15272
+ *
15273
+ * This is the catalog-level model: it validates and resolves an identifier and
15274
+ * owns the static catalog and predicates. It is deliberately distinct from, and
15275
+ * a coarser altitude than, the expression AST's simple-license leaf: the
15276
+ * trailing `+` ("or later") marker is an expression-level operator and does not
15277
+ * live here, and a `LicenseRef` is accepted whole as an `id` rather than
15278
+ * decomposed. The AST layer consumes these validation statics rather than
15279
+ * unifying its leaf with this class.
15280
+ *
15281
+ * Construction of a resolved identifier goes through {@link License.parse}
15282
+ * (Effect) or {@link License.parseResult} (the synchronous `Result` primitive);
15283
+ * the inherited `make` remains the field-level struct constructor.
15284
+ *
15285
+ * @example
15286
+ * ```ts
15287
+ * import { License } from "@effected/spdx";
15288
+ * import { Effect } from "effect";
15289
+ *
15290
+ * const program = Effect.gen(function* () {
15291
+ * const mit = yield* License.parse("MIT");
15292
+ * return [mit.id, mit.deprecated] as const;
15293
+ * });
15294
+ *
15295
+ * console.log(Effect.runSync(program));
15296
+ * // => ["MIT", false]
15297
+ * ```
15298
+ *
15299
+ * @see {@link https://spdx.org/licenses/ | SPDX License List}
15300
+ * @public
15301
+ */
15302
+ var License = class License extends Schema.Class("License")({
15303
+ /**
15304
+ * The SPDX short identifier (e.g. `"MIT"`) or a `LicenseRef-`/`DocumentRef-`
15305
+ * reference string.
15306
+ */
15307
+ id: Schema.String,
15308
+ /**
15309
+ * Whether `id` is a deprecated SPDX identifier. Always `false` for a
15310
+ * `LicenseRef`/`DocumentRef` reference.
15311
+ */
15312
+ deprecated: Schema.Boolean
15313
+ }) {
15314
+ /**
15315
+ * The full SPDX license catalog keyed by identifier, holding resolved
15316
+ * {@link License} domain objects for every active and deprecated id. Built
15317
+ * once from the vendored datasets at module load; references are not
15318
+ * catalog members.
15319
+ */
15320
+ static catalog = (() => {
15321
+ const map = /* @__PURE__ */ new Map();
15322
+ for (const id of LICENSE_IDS) map.set(id, License.make({
15323
+ id,
15324
+ deprecated: false
15325
+ }));
15326
+ for (const id of DEPRECATED_LICENSE_IDS) map.set(id, License.make({
15327
+ id,
15328
+ deprecated: true
15329
+ }));
15330
+ return map;
15331
+ })();
15332
+ /**
15333
+ * Whether `id` is a recognized SPDX license identifier — active or
15334
+ * deprecated. A grammatically valid `LicenseRef`/`DocumentRef` is not a
15335
+ * catalog member and returns `false`.
15336
+ */
15337
+ static isKnownId(id) {
15338
+ return License.catalog.has(id);
15339
+ }
15340
+ /** Whether `id` is specifically a deprecated SPDX license identifier. */
15341
+ static isDeprecatedId(id) {
15342
+ return DEPRECATED_LICENSE_IDS.has(id);
15343
+ }
15344
+ /**
15345
+ * Whether `id` matches the `LicenseRef-`/`DocumentRef-` reference grammar.
15346
+ * A reference is valid without catalog membership; this is the grammar
15347
+ * predicate the expression parser consults.
15348
+ */
15349
+ static isLicenseRef(id) {
15350
+ return LICENSE_REF_PATTERN.test(id);
15351
+ }
15352
+ /**
15353
+ * Validate a license identifier synchronously, returning a `Result`. The
15354
+ * `id` is accepted when it is a catalog member (active or deprecated) or a
15355
+ * well-formed `LicenseRef`/`DocumentRef` reference; anything else fails with
15356
+ * {@link InvalidSpdxExpressionError}.
15357
+ *
15358
+ * @remarks
15359
+ * {@link License.parse} is defined in terms of this function; the two never
15360
+ * diverge. Reach for the `Effect` variant inside Effect code — it carries
15361
+ * the `License.parse` tracing span — and for this one at synchronous
15362
+ * boundaries.
15363
+ *
15364
+ * @param id - the license identifier to validate
15365
+ * @returns a `Result` succeeding with the resolved {@link License}, or
15366
+ * failing with {@link InvalidSpdxExpressionError}.
15367
+ */
15368
+ static parseResult(id) {
15369
+ const known = License.catalog.get(id);
15370
+ if (known !== void 0) return Result.succeed(known);
15371
+ if (LICENSE_REF_PATTERN.test(id)) return Result.succeed(License.make({
15372
+ id,
15373
+ deprecated: false
15374
+ }));
15375
+ return Result.fail(new InvalidSpdxExpressionError({ input: id }));
15376
+ }
15377
+ /**
15378
+ * Validate a license identifier. Defined in terms of
15379
+ * {@link License.parseResult} — synchronous callers can use that variant
15380
+ * directly.
15381
+ *
15382
+ * @param id - the license identifier to validate
15383
+ * @returns the resolved {@link License}. Fails with
15384
+ * {@link InvalidSpdxExpressionError} when `id` is neither a catalog member
15385
+ * nor a valid reference.
15386
+ */
15387
+ static parse = Effect.fn("License.parse")((id) => Effect.fromResult(License.parseResult(id)));
15388
+ /**
15389
+ * Construct a {@link License} directly from already-typed parts:
15390
+ * `License.of("MIT")`. This is the field-level convenience constructor, a thin
15391
+ * wrapper over the inherited `make` — it does **not** consult the catalog and
15392
+ * does **not** validate that `id` is a known identifier or a well-formed
15393
+ * reference. Reach for {@link License.parse} or {@link License.parseResult}
15394
+ * when the `id` is untrusted and must be validated.
15395
+ *
15396
+ * @param id - the SPDX short identifier or `LicenseRef`/`DocumentRef` reference
15397
+ * @param deprecated - whether `id` is a deprecated identifier; defaults to
15398
+ * `false`
15399
+ * @returns the constructed {@link License}
15400
+ */
15401
+ static of(id, deprecated = false) {
15402
+ return License.make({
15403
+ id,
15404
+ deprecated
15405
+ });
15406
+ }
15407
+ /** The identifier string. */
15408
+ toString() {
15409
+ return this.id;
15410
+ }
15411
+ };
15243
15412
 
15244
15413
  //#endregion
15245
- //#region ../../node_modules/.pnpm/spdx-exceptions@2.5.0/node_modules/spdx-exceptions/index.json
15246
- var require_spdx_exceptions = /* @__PURE__ */ __commonJSMin(((exports, module) => {
15247
- module.exports = [
15248
- "389-exception",
15249
- "Asterisk-exception",
15250
- "Autoconf-exception-2.0",
15251
- "Autoconf-exception-3.0",
15252
- "Autoconf-exception-generic",
15253
- "Autoconf-exception-generic-3.0",
15254
- "Autoconf-exception-macro",
15255
- "Bison-exception-1.24",
15256
- "Bison-exception-2.2",
15257
- "Bootloader-exception",
15258
- "Classpath-exception-2.0",
15259
- "CLISP-exception-2.0",
15260
- "cryptsetup-OpenSSL-exception",
15261
- "DigiRule-FOSS-exception",
15262
- "eCos-exception-2.0",
15263
- "Fawkes-Runtime-exception",
15264
- "FLTK-exception",
15265
- "fmt-exception",
15266
- "Font-exception-2.0",
15267
- "freertos-exception-2.0",
15268
- "GCC-exception-2.0",
15269
- "GCC-exception-2.0-note",
15270
- "GCC-exception-3.1",
15271
- "Gmsh-exception",
15272
- "GNAT-exception",
15273
- "GNOME-examples-exception",
15274
- "GNU-compiler-exception",
15275
- "gnu-javamail-exception",
15276
- "GPL-3.0-interface-exception",
15277
- "GPL-3.0-linking-exception",
15278
- "GPL-3.0-linking-source-exception",
15279
- "GPL-CC-1.0",
15280
- "GStreamer-exception-2005",
15281
- "GStreamer-exception-2008",
15282
- "i2p-gpl-java-exception",
15283
- "KiCad-libraries-exception",
15284
- "LGPL-3.0-linking-exception",
15285
- "libpri-OpenH323-exception",
15286
- "Libtool-exception",
15287
- "Linux-syscall-note",
15288
- "LLGPL",
15289
- "LLVM-exception",
15290
- "LZMA-exception",
15291
- "mif-exception",
15292
- "OCaml-LGPL-linking-exception",
15293
- "OCCT-exception-1.0",
15294
- "OpenJDK-assembly-exception-1.0",
15295
- "openvpn-openssl-exception",
15296
- "PS-or-PDF-font-exception-20170817",
15297
- "QPL-1.0-INRIA-2004-exception",
15298
- "Qt-GPL-exception-1.0",
15299
- "Qt-LGPL-exception-1.1",
15300
- "Qwt-exception-1.0",
15301
- "SANE-exception",
15302
- "SHL-2.0",
15303
- "SHL-2.1",
15304
- "stunnel-exception",
15305
- "SWI-exception",
15306
- "Swift-exception",
15307
- "Texinfo-exception",
15308
- "u-boot-exception-2.0",
15309
- "UBDL-exception",
15310
- "Universal-FOSS-exception-1.0",
15311
- "vsftpd-openssl-exception",
15312
- "WxWindows-exception-3.1",
15313
- "x11vnc-openssl-exception"
15314
- ];
15315
- }));
15414
+ //#region ../../node_modules/.pnpm/@effected+spdx@0.1.0_effect@4.0.0-beta.99/node_modules/@effected/spdx/internal/exceptions.js
15415
+ /** @internal */
15416
+ const ACTIVE_EXCEPTION_IDS = [
15417
+ "389-exception",
15418
+ "Asterisk-exception",
15419
+ "Autoconf-exception-2.0",
15420
+ "Autoconf-exception-3.0",
15421
+ "Autoconf-exception-generic",
15422
+ "Autoconf-exception-generic-3.0",
15423
+ "Autoconf-exception-macro",
15424
+ "Bison-exception-1.24",
15425
+ "Bison-exception-2.2",
15426
+ "Bootloader-exception",
15427
+ "CLISP-exception-2.0",
15428
+ "Classpath-exception-2.0",
15429
+ "DigiRule-FOSS-exception",
15430
+ "FLTK-exception",
15431
+ "Fawkes-Runtime-exception",
15432
+ "Font-exception-2.0",
15433
+ "GCC-exception-2.0",
15434
+ "GCC-exception-2.0-note",
15435
+ "GCC-exception-3.1",
15436
+ "GNAT-exception",
15437
+ "GNOME-examples-exception",
15438
+ "GNU-compiler-exception",
15439
+ "GPL-3.0-interface-exception",
15440
+ "GPL-3.0-linking-exception",
15441
+ "GPL-3.0-linking-source-exception",
15442
+ "GPL-CC-1.0",
15443
+ "GStreamer-exception-2005",
15444
+ "GStreamer-exception-2008",
15445
+ "Gmsh-exception",
15446
+ "KiCad-libraries-exception",
15447
+ "LGPL-3.0-linking-exception",
15448
+ "LLGPL",
15449
+ "LLVM-exception",
15450
+ "LZMA-exception",
15451
+ "Libtool-exception",
15452
+ "Linux-syscall-note",
15453
+ "OCCT-exception-1.0",
15454
+ "OCaml-LGPL-linking-exception",
15455
+ "OpenJDK-assembly-exception-1.0",
15456
+ "PS-or-PDF-font-exception-20170817",
15457
+ "QPL-1.0-INRIA-2004-exception",
15458
+ "Qt-GPL-exception-1.0",
15459
+ "Qt-LGPL-exception-1.1",
15460
+ "Qwt-exception-1.0",
15461
+ "SANE-exception",
15462
+ "SHL-2.0",
15463
+ "SHL-2.1",
15464
+ "SWI-exception",
15465
+ "Swift-exception",
15466
+ "Texinfo-exception",
15467
+ "UBDL-exception",
15468
+ "Universal-FOSS-exception-1.0",
15469
+ "WxWindows-exception-3.1",
15470
+ "cryptsetup-OpenSSL-exception",
15471
+ "eCos-exception-2.0",
15472
+ "fmt-exception",
15473
+ "freertos-exception-2.0",
15474
+ "gnu-javamail-exception",
15475
+ "i2p-gpl-java-exception",
15476
+ "libpri-OpenH323-exception",
15477
+ "mif-exception",
15478
+ "openvpn-openssl-exception",
15479
+ "stunnel-exception",
15480
+ "u-boot-exception-2.0",
15481
+ "vsftpd-openssl-exception",
15482
+ "x11vnc-openssl-exception"
15483
+ ];
15484
+ /** @internal */
15485
+ const DEPRECATED_EXCEPTION_ID_LIST = ["Nokia-Qt-exception-1.1"];
15486
+ /** @internal */
15487
+ const EXCEPTION_IDS = new Set(ACTIVE_EXCEPTION_IDS);
15488
+ /** @internal */
15489
+ const DEPRECATED_EXCEPTION_IDS = new Set(DEPRECATED_EXCEPTION_ID_LIST);
15316
15490
 
15317
15491
  //#endregion
15318
- //#region ../../node_modules/.pnpm/spdx-expression-parse@4.0.0/node_modules/spdx-expression-parse/scan.js
15319
- var require_scan$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
15320
- var licenses = [].concat(require_spdx_license_ids()).concat(require_deprecated());
15321
- var exceptions = require_spdx_exceptions();
15322
- module.exports = function(source) {
15323
- var index = 0;
15324
- function hasMore() {
15325
- return index < source.length;
15326
- }
15327
- function read(value) {
15328
- if (value instanceof RegExp) {
15329
- var match = source.slice(index).match(value);
15330
- if (match) {
15331
- index += match[0].length;
15332
- return match[0];
15333
- }
15334
- } else if (source.indexOf(value, index) === index) {
15335
- index += value.length;
15336
- return value;
15337
- }
15338
- }
15339
- function skipWhitespace() {
15340
- read(/[ ]*/);
15341
- }
15342
- function operator() {
15343
- var string;
15344
- var possibilities = [
15345
- /^WITH/i,
15346
- /^AND/i,
15347
- /^OR/i,
15348
- "(",
15349
- ")",
15350
- ":",
15351
- "+"
15352
- ];
15353
- for (var i = 0; i < possibilities.length; i++) {
15354
- string = read(possibilities[i]);
15355
- if (string) break;
15356
- }
15357
- if (string === "+" && index > 1 && source[index - 2] === " ") throw new Error("Space before `+`");
15358
- return string && {
15359
- type: "OPERATOR",
15360
- string: string.toUpperCase()
15361
- };
15362
- }
15363
- function idstring() {
15364
- return read(/[A-Za-z0-9-.]+/);
15365
- }
15366
- function expectIdstring() {
15367
- var string = idstring();
15368
- if (!string) throw new Error("Expected idstring at offset " + index);
15369
- return string;
15492
+ //#region ../../node_modules/.pnpm/@effected+spdx@0.1.0_effect@4.0.0-beta.99/node_modules/@effected/spdx/LicenseException.js
15493
+ /**
15494
+ * A validated SPDX license-exception identifier: an Effect `Schema.Class` whose
15495
+ * `id` is a member of the SPDX exception list. The class doubles as its own
15496
+ * schema.
15497
+ *
15498
+ * Unlike {@link License}, an exception has no reference grammar — an exception
15499
+ * identifier is valid only when it is a catalog member. Construction goes
15500
+ * through {@link LicenseException.parse} (Effect) or
15501
+ * {@link LicenseException.parseResult} (the synchronous `Result` primitive);
15502
+ * the inherited `make` remains the field-level struct constructor. Validation
15503
+ * failures reuse {@link InvalidSpdxExpressionError}, the package's single error.
15504
+ *
15505
+ * @example
15506
+ * ```ts
15507
+ * import { LicenseException } from "@effected/spdx";
15508
+ * import { Effect } from "effect";
15509
+ *
15510
+ * const program = Effect.gen(function* () {
15511
+ * const e = yield* LicenseException.parse("Classpath-exception-2.0");
15512
+ * return e.id;
15513
+ * });
15514
+ *
15515
+ * console.log(Effect.runSync(program));
15516
+ * // => "Classpath-exception-2.0"
15517
+ * ```
15518
+ *
15519
+ * @see {@link https://spdx.org/licenses/exceptions-index.html | SPDX Exceptions List}
15520
+ * @public
15521
+ */
15522
+ var LicenseException = class LicenseException extends Schema.Class("LicenseException")({
15523
+ /** The SPDX exception short identifier (e.g. `"Classpath-exception-2.0"`). */
15524
+ id: Schema.String,
15525
+ /** Whether `id` is a deprecated SPDX exception identifier. */
15526
+ deprecated: Schema.Boolean
15527
+ }) {
15528
+ /**
15529
+ * The full SPDX exception catalog keyed by identifier, holding resolved
15530
+ * {@link LicenseException} domain objects for every active and deprecated
15531
+ * id. Built once from the vendored datasets at module load.
15532
+ */
15533
+ static catalog = (() => {
15534
+ const map = /* @__PURE__ */ new Map();
15535
+ for (const id of EXCEPTION_IDS) map.set(id, LicenseException.make({
15536
+ id,
15537
+ deprecated: false
15538
+ }));
15539
+ for (const id of DEPRECATED_EXCEPTION_IDS) map.set(id, LicenseException.make({
15540
+ id,
15541
+ deprecated: true
15542
+ }));
15543
+ return map;
15544
+ })();
15545
+ /**
15546
+ * Whether `id` is a recognized SPDX exception identifier — active or
15547
+ * deprecated.
15548
+ */
15549
+ static isKnownId(id) {
15550
+ return LicenseException.catalog.has(id);
15551
+ }
15552
+ /** Whether `id` is specifically a deprecated SPDX exception identifier. */
15553
+ static isDeprecatedId(id) {
15554
+ return DEPRECATED_EXCEPTION_IDS.has(id);
15555
+ }
15556
+ /**
15557
+ * Validate an exception identifier synchronously, returning a `Result`. The
15558
+ * `id` is accepted only when it is a catalog member (active or deprecated);
15559
+ * anything else fails with {@link InvalidSpdxExpressionError}.
15560
+ *
15561
+ * @remarks
15562
+ * {@link LicenseException.parse} is defined in terms of this function; the
15563
+ * two never diverge. Reach for the `Effect` variant inside Effect code — it
15564
+ * carries the `LicenseException.parse` tracing span — and for this one at
15565
+ * synchronous boundaries.
15566
+ *
15567
+ * @param id - the exception identifier to validate
15568
+ * @returns a `Result` succeeding with the resolved {@link LicenseException},
15569
+ * or failing with {@link InvalidSpdxExpressionError}.
15570
+ */
15571
+ static parseResult(id) {
15572
+ const known = LicenseException.catalog.get(id);
15573
+ if (known !== void 0) return Result.succeed(known);
15574
+ return Result.fail(new InvalidSpdxExpressionError({ input: id }));
15575
+ }
15576
+ /**
15577
+ * Validate an exception identifier. Defined in terms of
15578
+ * {@link LicenseException.parseResult} — synchronous callers can use that
15579
+ * variant directly.
15580
+ *
15581
+ * @param id - the exception identifier to validate
15582
+ * @returns the resolved {@link LicenseException}. Fails with
15583
+ * {@link InvalidSpdxExpressionError} when `id` is not a catalog member.
15584
+ */
15585
+ static parse = Effect.fn("LicenseException.parse")((id) => Effect.fromResult(LicenseException.parseResult(id)));
15586
+ /**
15587
+ * Construct a {@link LicenseException} directly from already-typed parts:
15588
+ * `LicenseException.of("Classpath-exception-2.0")`. This is the field-level
15589
+ * convenience constructor, a thin wrapper over the inherited `make` — it does
15590
+ * **not** consult the catalog and does **not** validate that `id` is a known
15591
+ * exception identifier. Reach for {@link LicenseException.parse} or
15592
+ * {@link LicenseException.parseResult} when the `id` is untrusted and must be
15593
+ * validated.
15594
+ *
15595
+ * @param id - the SPDX exception short identifier
15596
+ * @param deprecated - whether `id` is a deprecated identifier; defaults to
15597
+ * `false`
15598
+ * @returns the constructed {@link LicenseException}
15599
+ */
15600
+ static of(id, deprecated = false) {
15601
+ return LicenseException.make({
15602
+ id,
15603
+ deprecated
15604
+ });
15605
+ }
15606
+ /** The identifier string. */
15607
+ toString() {
15608
+ return this.id;
15609
+ }
15610
+ };
15611
+
15612
+ //#endregion
15613
+ //#region ../../node_modules/.pnpm/@effected+spdx@0.1.0_effect@4.0.0-beta.99/node_modules/@effected/spdx/internal/parser.js
15614
+ const TOKEN_OPEN_PAREN = 0;
15615
+ const TOKEN_CLOSE_PAREN = 1;
15616
+ const TOKEN_PLUS = 2;
15617
+ const TOKEN_COLON = 3;
15618
+ const TOKEN_AND = 4;
15619
+ const TOKEN_OR = 5;
15620
+ const TOKEN_WITH = 6;
15621
+ const TOKEN_ID = 7;
15622
+ const DOCUMENT_REF_PREFIX = "DocumentRef-";
15623
+ const LICENSE_REF_PREFIX = "LicenseRef-";
15624
+ function isIdChar(code) {
15625
+ return code >= 48 && code <= 57 || code >= 65 && code <= 90 || code >= 97 && code <= 122 || code === 46 || code === 45;
15626
+ }
15627
+ /**
15628
+ * Scan an SPDX expression into a flat token stream. Iterative — no recursion,
15629
+ * so it cannot overflow the stack regardless of input length. Returns
15630
+ * `undefined` on the first unexpected character (or a `+` preceded by a space,
15631
+ * which SPDX forbids) rather than throwing, so malformed input flows through
15632
+ * the caller's typed error channel.
15633
+ */
15634
+ function scan(source) {
15635
+ const tokens = [];
15636
+ let i = 0;
15637
+ const n = source.length;
15638
+ while (i < n) {
15639
+ const code = source.charCodeAt(i);
15640
+ if (code === 32) {
15641
+ i++;
15642
+ continue;
15370
15643
  }
15371
- function documentRef() {
15372
- if (read("DocumentRef-")) return {
15373
- type: "DOCUMENTREF",
15374
- string: expectIdstring()
15375
- };
15644
+ if (code === 40) {
15645
+ tokens.push({
15646
+ type: TOKEN_OPEN_PAREN,
15647
+ value: "("
15648
+ });
15649
+ i++;
15650
+ continue;
15376
15651
  }
15377
- function licenseRef() {
15378
- if (read("LicenseRef-")) return {
15379
- type: "LICENSEREF",
15380
- string: expectIdstring()
15381
- };
15652
+ if (code === 41) {
15653
+ tokens.push({
15654
+ type: TOKEN_CLOSE_PAREN,
15655
+ value: ")"
15656
+ });
15657
+ i++;
15658
+ continue;
15382
15659
  }
15383
- function identifier() {
15384
- var begin = index;
15385
- var string = idstring();
15386
- if (licenses.indexOf(string) !== -1) return {
15387
- type: "LICENSE",
15388
- string
15389
- };
15390
- else if (exceptions.indexOf(string) !== -1) return {
15391
- type: "EXCEPTION",
15392
- string
15393
- };
15394
- index = begin;
15660
+ if (code === 43) {
15661
+ if (i > 0 && source.charCodeAt(i - 1) === 32) return void 0;
15662
+ tokens.push({
15663
+ type: TOKEN_PLUS,
15664
+ value: "+"
15665
+ });
15666
+ i++;
15667
+ continue;
15395
15668
  }
15396
- function parseToken() {
15397
- return operator() || documentRef() || licenseRef() || identifier();
15669
+ if (code === 58) {
15670
+ tokens.push({
15671
+ type: TOKEN_COLON,
15672
+ value: ":"
15673
+ });
15674
+ i++;
15675
+ continue;
15398
15676
  }
15399
- var tokens = [];
15400
- while (hasMore()) {
15401
- skipWhitespace();
15402
- if (!hasMore()) break;
15403
- var token = parseToken();
15404
- if (!token) throw new Error("Unexpected `" + source[index] + "` at offset " + index);
15405
- tokens.push(token);
15677
+ if (isIdChar(code)) {
15678
+ let j = i + 1;
15679
+ while (j < n && isIdChar(source.charCodeAt(j))) j++;
15680
+ const value = source.slice(i, j);
15681
+ i = j;
15682
+ const upper = value.toUpperCase();
15683
+ if (upper === "AND") tokens.push({
15684
+ type: TOKEN_AND,
15685
+ value
15686
+ });
15687
+ else if (upper === "OR") tokens.push({
15688
+ type: TOKEN_OR,
15689
+ value
15690
+ });
15691
+ else if (upper === "WITH") tokens.push({
15692
+ type: TOKEN_WITH,
15693
+ value
15694
+ });
15695
+ else tokens.push({
15696
+ type: TOKEN_ID,
15697
+ value
15698
+ });
15699
+ continue;
15406
15700
  }
15407
- return tokens;
15408
- };
15409
- }));
15410
-
15411
- //#endregion
15412
- //#region ../../node_modules/.pnpm/spdx-expression-parse@4.0.0/node_modules/spdx-expression-parse/parse.js
15413
- var require_parse$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
15414
- module.exports = function(tokens) {
15415
- var index = 0;
15416
- function hasMore() {
15417
- return index < tokens.length;
15418
- }
15419
- function token() {
15420
- return hasMore() ? tokens[index] : null;
15421
- }
15422
- function next() {
15423
- if (!hasMore()) throw new Error();
15424
- index++;
15425
- }
15426
- function parseOperator(operator) {
15427
- var t = token();
15428
- if (t && t.type === "OPERATOR" && operator === t.string) {
15429
- next();
15430
- return t.string;
15431
- }
15701
+ return;
15702
+ }
15703
+ return tokens;
15704
+ }
15705
+ /**
15706
+ * Parse an SPDX license expression into a {@link RawExpression} tree, or
15707
+ * `undefined` when the input is not a valid expression.
15708
+ *
15709
+ * A hardened, recursive-descent parser over the {@link scan} token stream,
15710
+ * following `spdx-expression-parse`'s operator precedence (`WITH` binds
15711
+ * tightest, then `AND`, then `OR`). It **never throws**: every malformation —
15712
+ * an unknown identifier, an unbalanced parenthesis, a dangling `AND`/`OR`, a
15713
+ * `WITH` without a known exception, or nesting past {@link MAX_NESTING_DEPTH} —
15714
+ * returns `undefined`, which the facade materializes into the package's typed
15715
+ * error. A single shared depth counter, incremented at each recursive entry and
15716
+ * released in `finally`, caps the recursion so hostile nesting is rejected
15717
+ * cleanly rather than overflowing the stack.
15718
+ *
15719
+ * @internal
15720
+ */
15721
+ function parse$2(input) {
15722
+ const tokens = scan(input);
15723
+ if (tokens === void 0) return void 0;
15724
+ let pos = 0;
15725
+ let depth = 0;
15726
+ const peek = () => pos < tokens.length ? tokens[pos] : void 0;
15727
+ function parseOr() {
15728
+ if (depth >= 256) return void 0;
15729
+ depth++;
15730
+ try {
15731
+ const left = parseAnd();
15732
+ if (left === void 0) return void 0;
15733
+ if (peek()?.type !== TOKEN_OR) return left;
15734
+ pos++;
15735
+ const right = parseOr();
15736
+ if (right === void 0) return void 0;
15737
+ return {
15738
+ kind: "or",
15739
+ left,
15740
+ right
15741
+ };
15742
+ } finally {
15743
+ depth--;
15432
15744
  }
15433
- function parseWith() {
15434
- if (parseOperator("WITH")) {
15435
- var t = token();
15436
- if (t && t.type === "EXCEPTION") {
15437
- next();
15438
- return t.string;
15439
- }
15440
- throw new Error("Expected exception after `WITH`");
15441
- }
15745
+ }
15746
+ function parseAnd() {
15747
+ if (depth >= 256) return void 0;
15748
+ depth++;
15749
+ try {
15750
+ const left = parseAtom();
15751
+ if (left === void 0) return void 0;
15752
+ if (peek()?.type !== TOKEN_AND) return left;
15753
+ pos++;
15754
+ const right = parseAnd();
15755
+ if (right === void 0) return void 0;
15756
+ return {
15757
+ kind: "and",
15758
+ left,
15759
+ right
15760
+ };
15761
+ } finally {
15762
+ depth--;
15442
15763
  }
15443
- function parseLicenseRef() {
15444
- var begin = index;
15445
- var string = "";
15446
- var t = token();
15447
- if (t.type === "DOCUMENTREF") {
15448
- next();
15449
- string += "DocumentRef-" + t.string + ":";
15450
- if (!parseOperator(":")) throw new Error("Expected `:` after `DocumentRef-...`");
15451
- }
15452
- t = token();
15453
- if (t.type === "LICENSEREF") {
15454
- next();
15455
- string += "LicenseRef-" + t.string;
15456
- return { license: string };
15764
+ }
15765
+ function parseAtom() {
15766
+ if (depth >= 256) return void 0;
15767
+ depth++;
15768
+ try {
15769
+ if (peek()?.type === TOKEN_OPEN_PAREN) {
15770
+ pos++;
15771
+ const inner = parseOr();
15772
+ if (inner === void 0) return void 0;
15773
+ if (peek()?.type !== TOKEN_CLOSE_PAREN) return void 0;
15774
+ pos++;
15775
+ return inner;
15457
15776
  }
15458
- index = begin;
15777
+ return parseLicenseLike();
15778
+ } finally {
15779
+ depth--;
15459
15780
  }
15460
- function parseLicense() {
15461
- var t = token();
15462
- if (t && t.type === "LICENSE") {
15463
- next();
15464
- var node = { license: t.string };
15465
- if (parseOperator("+")) node.plus = true;
15466
- var exception = parseWith();
15467
- if (exception) node.exception = exception;
15468
- return node;
15469
- }
15781
+ }
15782
+ function parseLicenseLike() {
15783
+ const head = peek();
15784
+ if (head === void 0 || head.type !== TOKEN_ID) return void 0;
15785
+ const value = head.value;
15786
+ if (value.startsWith(DOCUMENT_REF_PREFIX)) {
15787
+ pos++;
15788
+ if (peek()?.type !== TOKEN_COLON) return void 0;
15789
+ pos++;
15790
+ const refToken = peek();
15791
+ if (refToken === void 0 || refToken.type !== TOKEN_ID || !refToken.value.startsWith(LICENSE_REF_PREFIX)) return;
15792
+ const full = `${value}:${refToken.value}`;
15793
+ if (!License.isLicenseRef(full)) return void 0;
15794
+ pos++;
15795
+ return {
15796
+ kind: "licenseRef",
15797
+ documentRef: value.slice(12),
15798
+ ref: refToken.value.slice(11)
15799
+ };
15470
15800
  }
15471
- function parseParenthesizedExpression() {
15472
- if (!parseOperator("(")) return;
15473
- var expr = parseExpression();
15474
- if (!parseOperator(")")) throw new Error("Expected `)`");
15475
- return expr;
15801
+ if (value.startsWith(LICENSE_REF_PREFIX)) {
15802
+ if (!License.isLicenseRef(value)) return void 0;
15803
+ pos++;
15804
+ return {
15805
+ kind: "licenseRef",
15806
+ documentRef: void 0,
15807
+ ref: value.slice(11)
15808
+ };
15476
15809
  }
15477
- function parseAtom() {
15478
- return parseParenthesizedExpression() || parseLicenseRef() || parseLicense();
15810
+ if (!License.isKnownId(value)) return void 0;
15811
+ pos++;
15812
+ let plus = false;
15813
+ if (peek()?.type === TOKEN_PLUS) {
15814
+ pos++;
15815
+ plus = true;
15479
15816
  }
15480
- function makeBinaryOpParser(operator, nextParser) {
15481
- return function parseBinaryOp() {
15482
- var left = nextParser();
15483
- if (!left) return;
15484
- if (!parseOperator(operator)) return left;
15485
- var right = parseBinaryOp();
15486
- if (!right) throw new Error("Expected expression");
15487
- return {
15488
- left,
15489
- conjunction: operator.toLowerCase(),
15490
- right
15491
- };
15817
+ if (peek()?.type === TOKEN_WITH) {
15818
+ pos++;
15819
+ const exceptionToken = peek();
15820
+ if (exceptionToken === void 0 || exceptionToken.type !== TOKEN_ID || !LicenseException.isKnownId(exceptionToken.value)) return;
15821
+ pos++;
15822
+ return {
15823
+ kind: "with",
15824
+ license: {
15825
+ id: value,
15826
+ plus
15827
+ },
15828
+ exception: exceptionToken.value
15492
15829
  };
15493
15830
  }
15494
- var parseExpression = makeBinaryOpParser("OR", makeBinaryOpParser("AND", parseAtom));
15495
- var node = parseExpression();
15496
- if (!node || hasMore()) throw new Error("Syntax error");
15497
- return node;
15498
- };
15499
- }));
15831
+ return {
15832
+ kind: "license",
15833
+ id: value,
15834
+ plus
15835
+ };
15836
+ }
15837
+ const node = parseOr();
15838
+ if (node === void 0 || pos !== tokens.length) return void 0;
15839
+ return node;
15840
+ }
15500
15841
 
15501
15842
  //#endregion
15502
- //#region ../../node_modules/.pnpm/spdx-expression-parse@4.0.0/node_modules/spdx-expression-parse/index.js
15503
- var require_spdx_expression_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
15504
- var scan = require_scan$1();
15505
- var parse = require_parse$2();
15506
- module.exports = function(source) {
15507
- return parse(scan(source));
15508
- };
15509
- }));
15843
+ //#region ../../node_modules/.pnpm/@effected+spdx@0.1.0_effect@4.0.0-beta.99/node_modules/@effected/spdx/SpdxExpression.js
15844
+ /**
15845
+ * Serialize a tagged SPDX AST node — a class instance OR its encoded POJO — to
15846
+ * the canonical, fully-parenthesized SPDX string. This is the single source of
15847
+ * truth for canonical form: every node's `toString` and the codec encode side
15848
+ * both route through it, so the instance method and
15849
+ * {@link (SpdxExpression:variable).FromString}'s encode can never drift.
15850
+ */
15851
+ function serialize$1(node) {
15852
+ switch (node._tag) {
15853
+ case "License": return node.plus ? `${node.id}+` : node.id;
15854
+ case "LicenseRef": return `${node.documentRef !== void 0 ? `DocumentRef-${node.documentRef}:` : ""}LicenseRef-${node.ref}`;
15855
+ case "WithException": return `${serialize$1(node.license)} WITH ${node.exception}`;
15856
+ case "And": return `(${serialize$1(node.left)} AND ${serialize$1(node.right)})`;
15857
+ case "Or": return `(${serialize$1(node.left)} OR ${serialize$1(node.right)})`;
15858
+ }
15859
+ }
15860
+ /**
15861
+ * A simple-license leaf of an SPDX expression: a license identifier with the
15862
+ * trailing `+` ("or later") marker. This is the expression-level license node —
15863
+ * distinct from, and a finer altitude than, the catalog `License` class in
15864
+ * `./License.js`, which validates and resolves an identifier but does not model
15865
+ * the `+` operator.
15866
+ *
15867
+ * @public
15868
+ */
15869
+ var LicenseNode = class extends Schema.TaggedClass()("License", {
15870
+ /** The SPDX short identifier, e.g. `"MIT"` or `"Apache-2.0"`. */
15871
+ id: Schema.String,
15872
+ /** Whether the trailing `+` "or later" marker is present. */
15873
+ plus: Schema.Boolean
15874
+ }) {
15875
+ /** The canonical string form: the id, suffixed with `+` when `plus` is set. */
15876
+ toString() {
15877
+ return serialize$1(this);
15878
+ }
15879
+ };
15880
+ /**
15881
+ * A `LicenseRef`/`DocumentRef` reference leaf. The `LicenseRef-`/`DocumentRef-`
15882
+ * prefixes and the `:` separator are structural and are not stored; only the
15883
+ * bare idstrings are kept, so the node round-trips to canonical form without
15884
+ * duplicating the grammar.
15885
+ *
15886
+ * @public
15887
+ */
15888
+ var LicenseRefNode = class extends Schema.TaggedClass()("LicenseRef", {
15889
+ /** The `DocumentRef-` idstring when the reference is document-scoped; absent otherwise. */
15890
+ documentRef: Schema.optionalKey(Schema.String),
15891
+ /** The `LicenseRef-` idstring. */
15892
+ ref: Schema.String
15893
+ }) {
15894
+ /** The canonical string form, re-attaching the `DocumentRef-…:` prefix when present. */
15895
+ toString() {
15896
+ return serialize$1(this);
15897
+ }
15898
+ };
15899
+ /**
15900
+ * A `license WITH exception` node. Per the SPDX order of precedence, `WITH`
15901
+ * binds only to a simple license (never a reference or a compound expression),
15902
+ * so `license` is always a {@link LicenseNode}.
15903
+ *
15904
+ * @public
15905
+ */
15906
+ var WithExceptionNode = class extends Schema.TaggedClass()("WithException", {
15907
+ /** The license the exception applies to, which may itself carry the `+` marker. */
15908
+ license: LicenseNode,
15909
+ /** The SPDX exception short identifier, e.g. `"Bison-exception-2.2"`. */
15910
+ exception: Schema.String
15911
+ }) {
15912
+ /** The canonical string form: the license, then `WITH`, then the exception id. */
15913
+ toString() {
15914
+ return serialize$1(this);
15915
+ }
15916
+ };
15917
+ /**
15918
+ * The conjunction (`AND`) of two sub-expressions. Recursive: its children are
15919
+ * any {@link (SpdxExpression:type)}, expressed via `Schema.suspend`.
15920
+ *
15921
+ * @public
15922
+ */
15923
+ var AndNode = class extends Schema.TaggedClass()("And", {
15924
+ /** The left operand. */
15925
+ left: Schema.suspend(() => SpdxExpressionUnion),
15926
+ /** The right operand. */
15927
+ right: Schema.suspend(() => SpdxExpressionUnion)
15928
+ }) {
15929
+ /** The canonical, fully-parenthesized string form `(left AND right)`. */
15930
+ toString() {
15931
+ return serialize$1(this);
15932
+ }
15933
+ };
15934
+ /**
15935
+ * The disjunction (`OR`) of two sub-expressions. Recursive: its children are
15936
+ * any {@link (SpdxExpression:type)}, expressed via `Schema.suspend`.
15937
+ *
15938
+ * @public
15939
+ */
15940
+ var OrNode = class extends Schema.TaggedClass()("Or", {
15941
+ /** The left operand. */
15942
+ left: Schema.suspend(() => SpdxExpressionUnion),
15943
+ /** The right operand. */
15944
+ right: Schema.suspend(() => SpdxExpressionUnion)
15945
+ }) {
15946
+ /** The canonical, fully-parenthesized string form `(left OR right)`. */
15947
+ toString() {
15948
+ return serialize$1(this);
15949
+ }
15950
+ };
15951
+ const SpdxExpressionUnion = Schema.Union([
15952
+ LicenseNode,
15953
+ LicenseRefNode,
15954
+ WithExceptionNode,
15955
+ AndNode,
15956
+ OrNode
15957
+ ]);
15958
+ function materialize(raw) {
15959
+ switch (raw.kind) {
15960
+ case "license": return LicenseNode.make({
15961
+ id: raw.id,
15962
+ plus: raw.plus
15963
+ });
15964
+ case "licenseRef": return LicenseRefNode.make(raw.documentRef !== void 0 ? {
15965
+ documentRef: raw.documentRef,
15966
+ ref: raw.ref
15967
+ } : { ref: raw.ref });
15968
+ case "with": return WithExceptionNode.make({
15969
+ license: LicenseNode.make({
15970
+ id: raw.license.id,
15971
+ plus: raw.license.plus
15972
+ }),
15973
+ exception: raw.exception
15974
+ });
15975
+ case "and": return AndNode.make({
15976
+ left: materialize(raw.left),
15977
+ right: materialize(raw.right)
15978
+ });
15979
+ case "or": return OrNode.make({
15980
+ left: materialize(raw.left),
15981
+ right: materialize(raw.right)
15982
+ });
15983
+ }
15984
+ }
15985
+ /**
15986
+ * Validate and parse an SPDX license expression synchronously, returning a
15987
+ * `Result`. This is the package's sync primitive: {@link isValidExpression},
15988
+ * the Effect {@link (SpdxExpression:variable).parse}, and {@link (SpdxExpression:variable).FromString}
15989
+ * all derive from it, so the four surfaces can never disagree.
15990
+ *
15991
+ * Every malformation — a bad token, an unbalanced parenthesis, a dangling
15992
+ * `AND`/`OR`, an unknown identifier or exception, or nesting past the parser's
15993
+ * depth cap — fails with {@link InvalidSpdxExpressionError} on the failure
15994
+ * channel; the parser never throws.
15995
+ */
15996
+ const parseResult = (input) => {
15997
+ const raw = parse$2(input);
15998
+ return raw === void 0 ? Result.fail(new InvalidSpdxExpressionError({ input })) : Result.succeed(materialize(raw));
15999
+ };
16000
+ /**
16001
+ * Whether `input` is a syntactically and catalog-valid SPDX license expression.
16002
+ * The synchronous, allocation-light predicate for non-Effect callers (lint
16003
+ * hooks, config-time checks); it shares its engine with
16004
+ * {@link (SpdxExpression:variable).parse}, so a `true` here guarantees a successful parse.
16005
+ *
16006
+ * @example
16007
+ * ```ts
16008
+ * import { isValidExpression } from "@effected/spdx";
16009
+ *
16010
+ * console.log(isValidExpression("(MIT OR Apache-2.0)"));
16011
+ * // => true
16012
+ * console.log(isValidExpression("MIT AND"));
16013
+ * // => false
16014
+ * ```
16015
+ *
16016
+ * @param input - the candidate SPDX expression
16017
+ * @returns `true` when `input` parses, `false` otherwise
16018
+ * @public
16019
+ */
16020
+ function isValidExpression(input) {
16021
+ return Result.isSuccess(parseResult(input));
16022
+ }
16023
+ const parseEffect = Effect.fn("SpdxExpression.parse")((input) => Effect.fromResult(parseResult(input)));
16024
+ /**
16025
+ * The SPDX license-expression facade: the AST union schema plus the parse,
16026
+ * validate and codec entry points. The `SpdxExpression` name is both the AST
16027
+ * type (above) and this value namespace.
16028
+ *
16029
+ * @public
16030
+ */
16031
+ const SpdxExpression = {
16032
+ /**
16033
+ * The recursive tagged-union `Schema` for the AST.
16034
+ *
16035
+ * @remarks
16036
+ * The `MAX_NESTING_DEPTH` cap guards STRING parsing only (via {@link (SpdxExpression:variable).parse}
16037
+ * and {@link (SpdxExpression:variable).FromString}); decoding an already-built POJO directly through
16038
+ * this raw `Schema` is not depth-capped.
16039
+ */
16040
+ Schema: SpdxExpressionUnion,
16041
+ /**
16042
+ * A `Schema.Codec` from a raw expression string to the AST and back. Decoding
16043
+ * runs the hardened parser; encoding emits the canonical, fully-parenthesized
16044
+ * string via each node's `toString`.
16045
+ */
16046
+ FromString: Schema.String.pipe(Schema.decodeTo(SpdxExpressionUnion, SchemaTransformation.transformOrFail({
16047
+ decode: (input) => {
16048
+ const result = parseResult(input);
16049
+ return Result.isSuccess(result) ? Effect.succeed(result.success) : Effect.fail(new SchemaIssue.InvalidValue(Option.some(input), { message: result.failure.message }));
16050
+ },
16051
+ encode: (expression) => Effect.succeed(serialize$1(expression))
16052
+ }))),
16053
+ /**
16054
+ * Parse an SPDX license expression, failing with
16055
+ * {@link InvalidSpdxExpressionError} on any malformed or unknown input.
16056
+ * Derived from {@link (SpdxExpression:variable).parseResult} behind the
16057
+ * `SpdxExpression.parse` span, so the Effect and sync forms cannot drift.
16058
+ */
16059
+ parse: parseEffect,
16060
+ /**
16061
+ * The synchronous `Result`-returning parser — the single source of truth the
16062
+ * Effect {@link (SpdxExpression:variable).parse} and {@link isValidExpression} derive
16063
+ * from. Reach for it at synchronous boundaries.
16064
+ */
16065
+ parseResult
16066
+ };
15510
16067
 
15511
16068
  //#endregion
15512
- //#region ../../node_modules/.pnpm/@effected+package-json@0.4.2_effect@4.0.0-beta.99/node_modules/@effected/package-json/License.js
15513
- var import_spdx_expression_parse = /* @__PURE__ */ __toESM(require_spdx_expression_parse(), 1);
16069
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.5.0_effect@4.0.0-beta.99/node_modules/@effected/package-json/License.js
15514
16070
  /**
15515
16071
  * Indicates that a string is not a valid SPDX license identifier or expression.
15516
16072
  *
@@ -15535,12 +16091,7 @@ input: Schema.String }) {
15535
16091
  const isValidSpdx = (value) => {
15536
16092
  if (value === "UNLICENSED") return true;
15537
16093
  if (value.startsWith("SEE LICENSE IN ") && value.length > 15) return true;
15538
- try {
15539
- (0, import_spdx_expression_parse.default)(value);
15540
- return true;
15541
- } catch {
15542
- return false;
15543
- }
16094
+ return isValidExpression(value);
15544
16095
  };
15545
16096
  /**
15546
16097
  * A valid SPDX license identifier, expression, `UNLICENSED`, or
@@ -15551,7 +16102,7 @@ const isValidSpdx = (value) => {
15551
16102
  const SpdxLicense = Schema.String.pipe(Schema.check(Schema.makeFilter((value) => isValidSpdx(value) ? void 0 : "Expected a valid SPDX license expression")), Schema.brand("SpdxLicense"));
15552
16103
 
15553
16104
  //#endregion
15554
- //#region ../../node_modules/.pnpm/@effected+package-json@0.4.2_effect@4.0.0-beta.99/node_modules/@effected/package-json/PackageManager.js
16105
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.5.0_effect@4.0.0-beta.99/node_modules/@effected/package-json/PackageManager.js
15555
16106
  const PACKAGE_MANAGER_RE = /^([a-z]+)@(\d+\.\d+\.\d+(?:-[a-zA-Z0-9._-]+)?)(?:\+(.+))?$/;
15556
16107
  /**
15557
16108
  * The `packageManager` field only ever carries corepack's `<algo>.<hex>`
@@ -15610,7 +16161,7 @@ var PackageManager = class PackageManager extends Schema.Class("PackageManager")
15610
16161
  };
15611
16162
 
15612
16163
  //#endregion
15613
- //#region ../../node_modules/.pnpm/@effected+package-json@0.4.2_effect@4.0.0-beta.99/node_modules/@effected/package-json/PackageName.js
16164
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.5.0_effect@4.0.0-beta.99/node_modules/@effected/package-json/PackageName.js
15614
16165
  /**
15615
16166
  * Indicates that a string could not be used as a valid npm package name.
15616
16167
  *
@@ -15669,7 +16220,7 @@ const PackageName = Object.assign(Schema.Union([ScopedPackageName, UnscopedPacka
15669
16220
  });
15670
16221
 
15671
16222
  //#endregion
15672
- //#region ../../node_modules/.pnpm/@effected+package-json@0.4.2_effect@4.0.0-beta.99/node_modules/@effected/package-json/Person.js
16223
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.5.0_effect@4.0.0-beta.99/node_modules/@effected/package-json/Person.js
15673
16224
  const parsePersonString = (input) => {
15674
16225
  const emailMatch = input.match(/<([^>]+)>/);
15675
16226
  const urlMatch = input.match(/\(([^)]+)\)/);
@@ -15813,7 +16364,7 @@ var Person = class Person extends Schema.Class("Person")({
15813
16364
  };
15814
16365
 
15815
16366
  //#endregion
15816
- //#region ../../node_modules/.pnpm/@effected+package-json@0.4.2_effect@4.0.0-beta.99/node_modules/@effected/package-json/internal/format.js
16367
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.5.0_effect@4.0.0-beta.99/node_modules/@effected/package-json/internal/format.js
15817
16368
  const KEY_INDEX = new Map([
15818
16369
  "$schema",
15819
16370
  "name",
@@ -16037,7 +16588,7 @@ const renderJson = (raw, options) => {
16037
16588
  };
16038
16589
 
16039
16590
  //#endregion
16040
- //#region ../../node_modules/.pnpm/@effected+package-json@0.4.2_effect@4.0.0-beta.99/node_modules/@effected/package-json/Package.js
16591
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.5.0_effect@4.0.0-beta.99/node_modules/@effected/package-json/Package.js
16041
16592
  const toHashMap = SchemaTransformation.transform({
16042
16593
  decode: (record) => HashMap.fromIterable(Object.entries(record)),
16043
16594
  encode: (map) => Object.fromEntries(HashMap.toEntries(map))
@@ -16356,7 +16907,7 @@ var Package = class Package extends Schema.Class("Package")({
16356
16907
  };
16357
16908
 
16358
16909
  //#endregion
16359
- //#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
16910
+ //#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
16360
16911
  const EMPTY$1 = Object.freeze(Object.create(null));
16361
16912
  const EMPTY_MANIFEST = Object.freeze(Object.create(null));
16362
16913
  /**
@@ -16965,7 +17516,7 @@ const Walker$1 = {
16965
17516
  };
16966
17517
 
16967
17518
  //#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/WorkspaceRoot.js
17519
+ //#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
16969
17520
  /**
16970
17521
  * The marker filenames {@link WorkspaceRoot} probes for, in priority order.
16971
17522
  *
@@ -17153,7 +17704,7 @@ var WorkspaceRoot = class WorkspaceRoot extends Context.Service()("@effected/wor
17153
17704
  };
17154
17705
 
17155
17706
  //#endregion
17156
- //#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
17707
+ //#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
17157
17708
  /**
17158
17709
  * Hard ceiling on directories the enumerator will visit for one pattern set.
17159
17710
  * Guards the pathological case a depth cap alone does not: a wide, shallow
@@ -17172,7 +17723,7 @@ const MAX_ENUMERATION_ENTRIES = 1e5;
17172
17723
  const PRUNED_DIRECTORIES = /* @__PURE__ */ new Set([".git", "node_modules"]);
17173
17724
 
17174
17725
  //#endregion
17175
- //#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
17726
+ //#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
17176
17727
  /** Directory names never descended into. */
17177
17728
  const isPruned = (entry) => PRUNED_DIRECTORIES.has(entry);
17178
17729
  /** Join root-relative POSIX segments; `""` is the root itself. */
@@ -17263,7 +17814,7 @@ var Traversal = class {
17263
17814
  };
17264
17815
 
17265
17816
  //#endregion
17266
- //#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
17817
+ //#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
17267
17818
  /** Strip a trailing slash from `GlobPattern.enumerationPrefix` to get a relative directory. */
17268
17819
  const baseOf = (pattern) => pattern.enumerationPrefix.replace(/\/$/, "");
17269
17820
  /**
@@ -17334,7 +17885,7 @@ const enumerate = (root, globs, options) => Effect.gen(function* () {
17334
17885
  });
17335
17886
 
17336
17887
  //#endregion
17337
- //#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
17888
+ //#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
17338
17889
  const stringsOf = (value) => Array.isArray(value) ? value.filter((entry) => typeof entry === "string") : void 0;
17339
17890
  /** The `packages:` list of a `pnpm-workspace.yaml` document. Total on a parsed document. */
17340
17891
  const pnpmPatternsOf = (document) => {
@@ -17392,7 +17943,7 @@ const readPatterns = (root) => Effect.gen(function* () {
17392
17943
  });
17393
17944
 
17394
17945
  //#endregion
17395
- //#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
17946
+ //#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
17396
17947
  /**
17397
17948
  * Raised when a workspace member's `package.json` cannot be read, parsed, or
17398
17949
  * used — it is missing, malformed, or lacks a `name` or `version`.
@@ -17827,7 +18378,7 @@ var WorkspaceDiscovery = class WorkspaceDiscovery extends Context.Service()("@ef
17827
18378
  const isStringRecord$2 = (value) => value !== null && typeof value === "object" && !Array.isArray(value) && Object.values(value).every((entry) => typeof entry === "string");
17828
18379
 
17829
18380
  //#endregion
17830
- //#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
18381
+ //#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
17831
18382
  /**
17832
18383
  * Raised when the workspace dependency graph cannot be topologically ordered
17833
18384
  * because it contains a cycle.
@@ -19429,7 +19980,7 @@ var Git = class extends Context.Service()("@effected/git/Git") {
19429
19980
  };
19430
19981
 
19431
19982
  //#endregion
19432
- //#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
19983
+ //#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
19433
19984
  /**
19434
19985
  * Which git refs to compare, and whether to fold in the working tree.
19435
19986
  *
@@ -19711,7 +20262,7 @@ function resolveFromCatalog(catalogs, wantedDependency) {
19711
20262
  }
19712
20263
 
19713
20264
  //#endregion
19714
- //#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
20265
+ //#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
19715
20266
  /** Project a pnpm-workspace manifest's `catalog` / `catalogs` fields into a `Catalogs` map. */
19716
20267
  const inlineCatalogs = (manifest) => {
19717
20268
  if (manifest.catalog === void 0 && manifest.catalogs === void 0) return {};
@@ -19776,7 +20327,7 @@ const rangeOf = (catalogs, dependency, specifier) => {
19776
20327
  };
19777
20328
 
19778
20329
  //#endregion
19779
- //#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
20330
+ //#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
19780
20331
  /** Whether `value` is a non-null, non-array object. */
19781
20332
  const isObject$2 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
19782
20333
  /**
@@ -19963,7 +20514,7 @@ var ConfigDependencyHooks = class ConfigDependencyHooks extends Context.Service(
19963
20514
  };
19964
20515
 
19965
20516
  //#endregion
19966
- //#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
20517
+ //#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
19967
20518
  /**
19968
20519
  * The four package managers this package understands.
19969
20520
  *
@@ -20206,7 +20757,7 @@ var PackageManagerDetector = class PackageManagerDetector extends Context.Servic
20206
20757
  };
20207
20758
 
20208
20759
  //#endregion
20209
- //#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
20760
+ //#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
20210
20761
  /**
20211
20762
  * Raised when the workspace's lockfile cannot be read off disk.
20212
20763
  *
@@ -20317,7 +20868,7 @@ var LockfileReader = class LockfileReader extends Context.Service()("@effected/w
20317
20868
  };
20318
20869
 
20319
20870
  //#endregion
20320
- //#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
20871
+ //#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
20321
20872
  /** The public npm registry, used when `publishConfig.registry` says nothing. */
20322
20873
  const DEFAULT_REGISTRY = "https://registry.npmjs.org/";
20323
20874
  /**
@@ -20418,7 +20969,7 @@ var PublishabilityDetector = class PublishabilityDetector extends Context.Servic
20418
20969
  };
20419
20970
 
20420
20971
  //#endregion
20421
- //#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
20972
+ //#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
20422
20973
  /**
20423
20974
  * An immutable, fully-normalized catalog collection — the one catalog
20424
20975
  * resolution semantic in the package.
@@ -20849,7 +21400,7 @@ var WorkspaceCatalogs = class WorkspaceCatalogs extends Context.Service()("@effe
20849
21400
  };
20850
21401
 
20851
21402
  //#endregion
20852
- //#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
21403
+ //#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
20853
21404
  const EMPTY = Object.freeze(Object.create(null));
20854
21405
  const DependencyMap = Schema.Record(Schema.String, Schema.String).pipe(Schema.withDecodingDefaultKey(Effect.succeed(EMPTY)), Schema.withConstructorDefault(Effect.succeed(EMPTY)));
20855
21406
  /**
@@ -21015,7 +21566,7 @@ var WorkspaceStateSnapshot = class extends Schema.Class("WorkspaceStateSnapshot"
21015
21566
  };
21016
21567
 
21017
21568
  //#endregion
21018
- //#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
21569
+ //#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
21019
21570
  /** Whether `value` is a non-null, non-array object. */
21020
21571
  const isObject = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
21021
21572
  /** Whether every value in a record is a string — a usable dependency map. */
@@ -21208,7 +21759,7 @@ var WorkspaceSnapshots = class WorkspaceSnapshots extends Context.Service()("@ef
21208
21759
  };
21209
21760
 
21210
21761
  //#endregion
21211
- //#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
21762
+ //#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
21212
21763
  /**
21213
21764
  * Every service that needs only a filesystem: root, package-manager detection,
21214
21765
  * discovery, lockfile reading, catalogs and publishability.
@@ -60389,7 +60940,7 @@ const defaultConfig = normalizeWrittenConfig({
60389
60940
  });
60390
60941
 
60391
60942
  //#endregion
60392
- //#region ../../node_modules/.pnpm/package-manager-detector@1.7.0/node_modules/package-manager-detector/dist/commands.mjs
60943
+ //#region ../../node_modules/.pnpm/package-manager-detector@1.8.0/node_modules/package-manager-detector/dist/commands.mjs
60393
60944
  function splitRunArgs(args, valueFlags = []) {
60394
60945
  for (let i = 0; i < args.length; i++) {
60395
60946
  if (args[i].startsWith("-")) continue;
@@ -60580,73 +61131,77 @@ const yarnBerry = {
60580
61131
  0
60581
61132
  ]
60582
61133
  };
60583
- const pnpm = {
60584
- "agent": ["pnpm", 0],
60585
- "run": [
60586
- "pnpm",
60587
- "run",
60588
- 0
60589
- ],
60590
- "install": [
60591
- "pnpm",
60592
- "i",
60593
- 0
60594
- ],
60595
- "frozen": [
60596
- "pnpm",
60597
- "i",
60598
- "--frozen-lockfile",
60599
- 0
60600
- ],
60601
- "global": [
60602
- "pnpm",
60603
- "add",
60604
- "-g",
60605
- 0
60606
- ],
60607
- "add": [
60608
- "pnpm",
60609
- "add",
60610
- 0
60611
- ],
60612
- "upgrade": [
60613
- "pnpm",
60614
- "update",
60615
- 0
60616
- ],
60617
- "upgrade-interactive": [
60618
- "pnpm",
60619
- "update",
60620
- "-i",
60621
- 0
60622
- ],
60623
- "dedupe": [
60624
- "pnpm",
60625
- "dedupe",
60626
- 0
60627
- ],
60628
- "execute": [
60629
- "pnpm",
60630
- "dlx",
60631
- 0
60632
- ],
60633
- "execute-local": [
60634
- "pnpm",
60635
- "exec",
60636
- 0
60637
- ],
60638
- "uninstall": [
60639
- "pnpm",
60640
- "remove",
60641
- 0
60642
- ],
60643
- "global_uninstall": [
60644
- "pnpm",
60645
- "remove",
60646
- "--global",
60647
- 0
60648
- ]
60649
- };
61134
+ function createPnpmCommands(cli) {
61135
+ return {
61136
+ "agent": [cli, 0],
61137
+ "run": [
61138
+ cli,
61139
+ "run",
61140
+ 0
61141
+ ],
61142
+ "install": [
61143
+ cli,
61144
+ "i",
61145
+ 0
61146
+ ],
61147
+ "frozen": [
61148
+ cli,
61149
+ "i",
61150
+ "--frozen-lockfile",
61151
+ 0
61152
+ ],
61153
+ "global": [
61154
+ cli,
61155
+ "add",
61156
+ "-g",
61157
+ 0
61158
+ ],
61159
+ "add": [
61160
+ cli,
61161
+ "add",
61162
+ 0
61163
+ ],
61164
+ "upgrade": [
61165
+ cli,
61166
+ "update",
61167
+ 0
61168
+ ],
61169
+ "upgrade-interactive": [
61170
+ cli,
61171
+ "update",
61172
+ "-i",
61173
+ 0
61174
+ ],
61175
+ "dedupe": [
61176
+ cli,
61177
+ "dedupe",
61178
+ 0
61179
+ ],
61180
+ "execute": [
61181
+ cli,
61182
+ "dlx",
61183
+ 0
61184
+ ],
61185
+ "execute-local": [
61186
+ cli,
61187
+ "exec",
61188
+ 0
61189
+ ],
61190
+ "uninstall": [
61191
+ cli,
61192
+ "remove",
61193
+ 0
61194
+ ],
61195
+ "global_uninstall": [
61196
+ cli,
61197
+ "remove",
61198
+ "--global",
61199
+ 0
61200
+ ]
61201
+ };
61202
+ }
61203
+ const pnpm = createPnpmCommands("pnpm");
61204
+ const pnpmRush = createPnpmCommands("rush-pnpm");
60650
61205
  const bun = {
60651
61206
  "agent": ["bun", 0],
60652
61207
  "run": [
@@ -60914,6 +61469,7 @@ const COMMANDS = {
60914
61469
  ...pnpm,
60915
61470
  run: dashDashArg("pnpm", "run", ["-F", "--filter"])
60916
61471
  },
61472
+ "pnpm-rush": pnpmRush,
60917
61473
  "bun": bun,
60918
61474
  "aube": aube,
60919
61475
  "deno": deno,
@@ -60936,13 +61492,14 @@ function constructCommand(value, args) {
60936
61492
  }
60937
61493
 
60938
61494
  //#endregion
60939
- //#region ../../node_modules/.pnpm/package-manager-detector@1.7.0/node_modules/package-manager-detector/dist/constants.mjs
61495
+ //#region ../../node_modules/.pnpm/package-manager-detector@1.8.0/node_modules/package-manager-detector/dist/constants.mjs
60940
61496
  const AGENTS = [
60941
61497
  "npm",
60942
61498
  "yarn",
60943
61499
  "yarn@berry",
60944
61500
  "pnpm",
60945
61501
  "pnpm@6",
61502
+ "pnpm-rush",
60946
61503
  "bun",
60947
61504
  "deno",
60948
61505
  "nub",
@@ -60954,6 +61511,7 @@ const LOCKS = {
60954
61511
  "bun.lock": "bun",
60955
61512
  "bun.lockb": "bun",
60956
61513
  "deno.lock": "deno",
61514
+ "nub.lock": "nub",
60957
61515
  "pnpm-lock.yaml": "pnpm",
60958
61516
  "pnpm-workspace.yaml": "pnpm",
60959
61517
  "yarn.lock": "yarn",
@@ -60974,7 +61532,7 @@ const INSTALL_METADATA = {
60974
61532
  };
60975
61533
 
60976
61534
  //#endregion
60977
- //#region ../../node_modules/.pnpm/package-manager-detector@1.7.0/node_modules/package-manager-detector/dist/detect.mjs
61535
+ //#region ../../node_modules/.pnpm/package-manager-detector@1.8.0/node_modules/package-manager-detector/dist/detect.mjs
60978
61536
  async function pathExists(path2, type) {
60979
61537
  try {
60980
61538
  const stat = await fs$1.stat(path2);
@@ -61009,6 +61567,10 @@ async function detect$1(options = {}) {
61009
61567
  for (const directory of lookup(cwd)) {
61010
61568
  for (const strategy of strategies) switch (strategy) {
61011
61569
  case "lockfile":
61570
+ if (await pathExists(path$1.join(directory, "rush.json"), "file")) return {
61571
+ name: "pnpm",
61572
+ agent: "pnpm-rush"
61573
+ };
61012
61574
  for (const lock of Object.keys(LOCKS)) if (await pathExists(path$1.join(directory, lock), "file")) {
61013
61575
  const name = LOCKS[lock];
61014
61576
  const result = await parsePackageJson(path$1.join(directory, "package.json"), options);