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