@voltro/data-transfer 0.84.0 → 0.86.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1215 -0
- package/THIRD-PARTY-NOTICES.md +91 -365
- package/dist/assets.js +47 -0
- package/dist/blobStorage.js +40 -0
- package/dist/bundleArchive.js +165 -0
- package/dist/bundleCrypto.js +106 -0
- package/dist/casAssetPhase.js +43 -0
- package/dist/compress.js +6 -0
- package/dist/consistency.js +14 -0
- package/dist/crossDialect.js +58 -0
- package/dist/driftClassification.js +58 -0
- package/dist/environmentLocal.js +122 -0
- package/dist/errors.js +82 -0
- package/dist/exporter.js +257 -0
- package/dist/importer.js +536 -0
- package/dist/index.d.ts +118 -121
- package/dist/index.js +28 -2578
- package/dist/ledger.js +21 -0
- package/dist/liveGuard.js +11 -0
- package/dist/manifest.js +52 -0
- package/dist/masking.js +246 -0
- package/dist/maskingPreview.js +48 -0
- package/dist/nativeDump.js +369 -0
- package/dist/ndjson.js +13 -0
- package/dist/profile.js +4 -0
- package/dist/progress.js +17 -0
- package/dist/readme.js +43 -0
- package/dist/replacePreflight.js +23 -0
- package/dist/rollbackCapture.js +36 -0
- package/dist/rowFailureReason.js +36 -0
- package/dist/schemaDrift.js +40 -0
- package/dist/scope.js +40 -0
- package/dist/stagedSwap.js +164 -0
- package/dist/subset.js +90 -0
- package/dist/topo.js +24 -0
- package/dist/typedCodec.js +36 -0
- package/package.json +4 -5
package/THIRD-PARTY-NOTICES.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# Third-Party Notices — @voltro/data-transfer
|
|
2
2
|
|
|
3
|
-
This package
|
|
3
|
+
This package uses the open-source software listed below. Each is the
|
|
4
4
|
property of its respective copyright holders and is used under the terms of
|
|
5
5
|
its license. This file is provided for attribution; it grants no rights in
|
|
6
6
|
@voltro/data-transfer itself, which is proprietary (see LICENSE).
|
|
7
7
|
|
|
8
|
-
Generated from the resolved runtime dependency closure (
|
|
8
|
+
Generated from the resolved runtime dependency closure (108 packages).
|
|
9
9
|
|
|
10
10
|
---
|
|
11
11
|
|
|
@@ -3900,63 +3900,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
3900
3900
|
SOFTWARE.
|
|
3901
3901
|
```
|
|
3902
3902
|
|
|
3903
|
-
## @effect/
|
|
3904
|
-
|
|
3905
|
-
License: MIT
|
|
3906
|
-
|
|
3907
|
-
```
|
|
3908
|
-
MIT License
|
|
3909
|
-
|
|
3910
|
-
Copyright (c) 2023-present The Contributors
|
|
3911
|
-
|
|
3912
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
3913
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
3914
|
-
in the Software without restriction, including without limitation the rights
|
|
3915
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
3916
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
3917
|
-
furnished to do so, subject to the following conditions:
|
|
3918
|
-
|
|
3919
|
-
The above copyright notice and this permission notice shall be included in all
|
|
3920
|
-
copies or substantial portions of the Software.
|
|
3921
|
-
|
|
3922
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
3923
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
3924
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
3925
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
3926
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
3927
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
3928
|
-
SOFTWARE.
|
|
3929
|
-
```
|
|
3930
|
-
|
|
3931
|
-
## @effect/experimental@0.61.1
|
|
3932
|
-
|
|
3933
|
-
License: MIT
|
|
3934
|
-
|
|
3935
|
-
```
|
|
3936
|
-
MIT License
|
|
3937
|
-
|
|
3938
|
-
Copyright (c) 2023-present The Contributors
|
|
3939
|
-
|
|
3940
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
3941
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
3942
|
-
in the Software without restriction, including without limitation the rights
|
|
3943
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
3944
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
3945
|
-
furnished to do so, subject to the following conditions:
|
|
3946
|
-
|
|
3947
|
-
The above copyright notice and this permission notice shall be included in all
|
|
3948
|
-
copies or substantial portions of the Software.
|
|
3949
|
-
|
|
3950
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
3951
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
3952
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
3953
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
3954
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
3955
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
3956
|
-
SOFTWARE.
|
|
3957
|
-
```
|
|
3958
|
-
|
|
3959
|
-
## @effect/platform-node@0.108.2
|
|
3903
|
+
## @effect/platform-node@4.0.1
|
|
3960
3904
|
|
|
3961
3905
|
License: MIT
|
|
3962
3906
|
|
|
@@ -3984,7 +3928,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
3984
3928
|
SOFTWARE.
|
|
3985
3929
|
```
|
|
3986
3930
|
|
|
3987
|
-
## @effect/platform-node-shared@0.
|
|
3931
|
+
## @effect/platform-node-shared@4.0.1
|
|
3988
3932
|
|
|
3989
3933
|
License: MIT
|
|
3990
3934
|
|
|
@@ -4012,62 +3956,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
4012
3956
|
SOFTWARE.
|
|
4013
3957
|
```
|
|
4014
3958
|
|
|
4015
|
-
## @effect/sql@0.52.1
|
|
4016
|
-
|
|
4017
|
-
License: MIT
|
|
4018
|
-
|
|
4019
|
-
```
|
|
4020
|
-
MIT License
|
|
4021
|
-
|
|
4022
|
-
Copyright (c) 2023-present The Contributors
|
|
4023
|
-
|
|
4024
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4025
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
4026
|
-
in the Software without restriction, including without limitation the rights
|
|
4027
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
4028
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
4029
|
-
furnished to do so, subject to the following conditions:
|
|
4030
|
-
|
|
4031
|
-
The above copyright notice and this permission notice shall be included in all
|
|
4032
|
-
copies or substantial portions of the Software.
|
|
4033
|
-
|
|
4034
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
4035
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
4036
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
4037
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
4038
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
4039
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
4040
|
-
SOFTWARE.
|
|
4041
|
-
```
|
|
4042
|
-
|
|
4043
|
-
## @effect/workflow@0.19.1
|
|
4044
|
-
|
|
4045
|
-
License: MIT
|
|
4046
|
-
|
|
4047
|
-
```
|
|
4048
|
-
MIT License
|
|
4049
|
-
|
|
4050
|
-
Copyright (c) 2023-present The Contributors
|
|
4051
|
-
|
|
4052
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4053
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
4054
|
-
in the Software without restriction, including without limitation the rights
|
|
4055
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
4056
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
4057
|
-
furnished to do so, subject to the following conditions:
|
|
4058
|
-
|
|
4059
|
-
The above copyright notice and this permission notice shall be included in all
|
|
4060
|
-
copies or substantial portions of the Software.
|
|
4061
|
-
|
|
4062
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
4063
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
4064
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
4065
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
4066
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
4067
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
4068
|
-
SOFTWARE.
|
|
4069
|
-
```
|
|
4070
|
-
|
|
4071
3959
|
## @img/colour@1.1.0
|
|
4072
3960
|
|
|
4073
3961
|
License: MIT
|
|
@@ -7516,62 +7404,6 @@ Apache License
|
|
|
7516
7404
|
limitations under the License.
|
|
7517
7405
|
```
|
|
7518
7406
|
|
|
7519
|
-
## @parcel/watcher@2.5.6
|
|
7520
|
-
|
|
7521
|
-
License: MIT
|
|
7522
|
-
|
|
7523
|
-
```
|
|
7524
|
-
MIT License
|
|
7525
|
-
|
|
7526
|
-
Copyright (c) 2017-present Devon Govett
|
|
7527
|
-
|
|
7528
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7529
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7530
|
-
in the Software without restriction, including without limitation the rights
|
|
7531
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7532
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
7533
|
-
furnished to do so, subject to the following conditions:
|
|
7534
|
-
|
|
7535
|
-
The above copyright notice and this permission notice shall be included in all
|
|
7536
|
-
copies or substantial portions of the Software.
|
|
7537
|
-
|
|
7538
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
7539
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
7540
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
7541
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
7542
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
7543
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
7544
|
-
SOFTWARE.
|
|
7545
|
-
```
|
|
7546
|
-
|
|
7547
|
-
## @parcel/watcher-linux-x64-glibc@2.5.6
|
|
7548
|
-
|
|
7549
|
-
License: MIT
|
|
7550
|
-
|
|
7551
|
-
```
|
|
7552
|
-
MIT License
|
|
7553
|
-
|
|
7554
|
-
Copyright (c) 2017-present Devon Govett
|
|
7555
|
-
|
|
7556
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7557
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7558
|
-
in the Software without restriction, including without limitation the rights
|
|
7559
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7560
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
7561
|
-
furnished to do so, subject to the following conditions:
|
|
7562
|
-
|
|
7563
|
-
The above copyright notice and this permission notice shall be included in all
|
|
7564
|
-
copies or substantial portions of the Software.
|
|
7565
|
-
|
|
7566
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
7567
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
7568
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
7569
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
7570
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
7571
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
7572
|
-
SOFTWARE.
|
|
7573
|
-
```
|
|
7574
|
-
|
|
7575
7407
|
## @smithy/core@3.33.3
|
|
7576
7408
|
|
|
7577
7409
|
License: Apache-2.0
|
|
@@ -8820,6 +8652,62 @@ Apache License
|
|
|
8820
8652
|
limitations under the License.
|
|
8821
8653
|
```
|
|
8822
8654
|
|
|
8655
|
+
## @types/node@26.4.1
|
|
8656
|
+
|
|
8657
|
+
License: MIT
|
|
8658
|
+
|
|
8659
|
+
```
|
|
8660
|
+
MIT License
|
|
8661
|
+
|
|
8662
|
+
Copyright (c) Microsoft Corporation.
|
|
8663
|
+
|
|
8664
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8665
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8666
|
+
in the Software without restriction, including without limitation the rights
|
|
8667
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
8668
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
8669
|
+
furnished to do so, subject to the following conditions:
|
|
8670
|
+
|
|
8671
|
+
The above copyright notice and this permission notice shall be included in all
|
|
8672
|
+
copies or substantial portions of the Software.
|
|
8673
|
+
|
|
8674
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
8675
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
8676
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
8677
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
8678
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
8679
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
8680
|
+
SOFTWARE
|
|
8681
|
+
```
|
|
8682
|
+
|
|
8683
|
+
## @types/ws@8.18.1
|
|
8684
|
+
|
|
8685
|
+
License: MIT
|
|
8686
|
+
|
|
8687
|
+
```
|
|
8688
|
+
MIT License
|
|
8689
|
+
|
|
8690
|
+
Copyright (c) Microsoft Corporation.
|
|
8691
|
+
|
|
8692
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8693
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8694
|
+
in the Software without restriction, including without limitation the rights
|
|
8695
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
8696
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
8697
|
+
furnished to do so, subject to the following conditions:
|
|
8698
|
+
|
|
8699
|
+
The above copyright notice and this permission notice shall be included in all
|
|
8700
|
+
copies or substantial portions of the Software.
|
|
8701
|
+
|
|
8702
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
8703
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
8704
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
8705
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
8706
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
8707
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
8708
|
+
SOFTWARE
|
|
8709
|
+
```
|
|
8710
|
+
|
|
8823
8711
|
## @typespec/ts-http-runtime@0.3.5
|
|
8824
8712
|
|
|
8825
8713
|
License: MIT
|
|
@@ -9680,62 +9568,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
9680
9568
|
SOFTWARE.
|
|
9681
9569
|
```
|
|
9682
9570
|
|
|
9683
|
-
## is-extglob@2.1.1
|
|
9684
|
-
|
|
9685
|
-
License: MIT
|
|
9686
|
-
|
|
9687
|
-
```
|
|
9688
|
-
The MIT License (MIT)
|
|
9689
|
-
|
|
9690
|
-
Copyright (c) 2014-2016, Jon Schlinkert
|
|
9691
|
-
|
|
9692
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
9693
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
9694
|
-
in the Software without restriction, including without limitation the rights
|
|
9695
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9696
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
9697
|
-
furnished to do so, subject to the following conditions:
|
|
9698
|
-
|
|
9699
|
-
The above copyright notice and this permission notice shall be included in
|
|
9700
|
-
all copies or substantial portions of the Software.
|
|
9701
|
-
|
|
9702
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
9703
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
9704
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
9705
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
9706
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
9707
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
9708
|
-
THE SOFTWARE.
|
|
9709
|
-
```
|
|
9710
|
-
|
|
9711
|
-
## is-glob@4.0.3
|
|
9712
|
-
|
|
9713
|
-
License: MIT
|
|
9714
|
-
|
|
9715
|
-
```
|
|
9716
|
-
The MIT License (MIT)
|
|
9717
|
-
|
|
9718
|
-
Copyright (c) 2014-2017, Jon Schlinkert.
|
|
9719
|
-
|
|
9720
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
9721
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
9722
|
-
in the Software without restriction, including without limitation the rights
|
|
9723
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9724
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
9725
|
-
furnished to do so, subject to the following conditions:
|
|
9726
|
-
|
|
9727
|
-
The above copyright notice and this permission notice shall be included in
|
|
9728
|
-
all copies or substantial portions of the Software.
|
|
9729
|
-
|
|
9730
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
9731
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
9732
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
9733
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
9734
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
9735
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
9736
|
-
THE SOFTWARE.
|
|
9737
|
-
```
|
|
9738
|
-
|
|
9739
9571
|
## isomorphic.js@0.2.5
|
|
9740
9572
|
|
|
9741
9573
|
License: MIT
|
|
@@ -9792,40 +9624,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
9792
9624
|
SOFTWARE.
|
|
9793
9625
|
```
|
|
9794
9626
|
|
|
9795
|
-
## kubernetes-types@1.30.0
|
|
9796
|
-
|
|
9797
|
-
License: Apache-2.0
|
|
9798
|
-
|
|
9799
|
-
_(no bundled license text found in the package; see its npm page.)_
|
|
9800
|
-
|
|
9801
|
-
## layerr@3.0.0
|
|
9802
|
-
|
|
9803
|
-
License: MIT
|
|
9804
|
-
|
|
9805
|
-
```
|
|
9806
|
-
MIT License
|
|
9807
|
-
|
|
9808
|
-
Copyright (c) 2020 Perry Mitchell
|
|
9809
|
-
|
|
9810
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
9811
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
9812
|
-
in the Software without restriction, including without limitation the rights
|
|
9813
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9814
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
9815
|
-
furnished to do so, subject to the following conditions:
|
|
9816
|
-
|
|
9817
|
-
The above copyright notice and this permission notice shall be included in all
|
|
9818
|
-
copies or substantial portions of the Software.
|
|
9819
|
-
|
|
9820
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
9821
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
9822
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
9823
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
9824
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
9825
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
9826
|
-
SOFTWARE.
|
|
9827
|
-
```
|
|
9828
|
-
|
|
9829
9627
|
## lib0@0.2.117
|
|
9830
9628
|
|
|
9831
9629
|
License: MIT
|
|
@@ -9854,34 +9652,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
9854
9652
|
SOFTWARE.
|
|
9855
9653
|
```
|
|
9856
9654
|
|
|
9857
|
-
## mime@3.0.0
|
|
9858
|
-
|
|
9859
|
-
License: MIT
|
|
9860
|
-
|
|
9861
|
-
```
|
|
9862
|
-
The MIT License (MIT)
|
|
9863
|
-
|
|
9864
|
-
Copyright (c) 2010 Benjamin Thomas, Robert Kieffer
|
|
9865
|
-
|
|
9866
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
9867
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
9868
|
-
in the Software without restriction, including without limitation the rights
|
|
9869
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9870
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
9871
|
-
furnished to do so, subject to the following conditions:
|
|
9872
|
-
|
|
9873
|
-
The above copyright notice and this permission notice shall be included in
|
|
9874
|
-
all copies or substantial portions of the Software.
|
|
9875
|
-
|
|
9876
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
9877
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
9878
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
9879
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
9880
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
9881
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
9882
|
-
THE SOFTWARE.
|
|
9883
|
-
```
|
|
9884
|
-
|
|
9885
9655
|
## ms@2.1.3
|
|
9886
9656
|
|
|
9887
9657
|
License: MIT
|
|
@@ -9910,50 +9680,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
9910
9680
|
SOFTWARE.
|
|
9911
9681
|
```
|
|
9912
9682
|
|
|
9913
|
-
## multipasta@0.2.8
|
|
9914
|
-
|
|
9915
|
-
License: MIT
|
|
9916
|
-
|
|
9917
|
-
```
|
|
9918
|
-
MIT License
|
|
9919
|
-
|
|
9920
|
-
Copyright (c) 2023-present The Contributors
|
|
9921
|
-
|
|
9922
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
9923
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
9924
|
-
in the Software without restriction, including without limitation the rights
|
|
9925
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9926
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
9927
|
-
furnished to do so, subject to the following conditions:
|
|
9928
|
-
|
|
9929
|
-
The above copyright notice and this permission notice shall be included in all
|
|
9930
|
-
copies or substantial portions of the Software.
|
|
9931
|
-
|
|
9932
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
9933
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
9934
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
9935
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
9936
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
9937
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
9938
|
-
SOFTWARE.
|
|
9939
|
-
```
|
|
9940
|
-
|
|
9941
|
-
## node-addon-api@7.1.1
|
|
9942
|
-
|
|
9943
|
-
License: MIT
|
|
9944
|
-
|
|
9945
|
-
```
|
|
9946
|
-
The MIT License (MIT)
|
|
9947
|
-
|
|
9948
|
-
Copyright (c) 2017 [Node.js API collaborators](https://github.com/nodejs/node-addon-api#collaborators)
|
|
9949
|
-
|
|
9950
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
9951
|
-
|
|
9952
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
9953
|
-
|
|
9954
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
9955
|
-
```
|
|
9956
|
-
|
|
9957
9683
|
## path-expression-matcher@1.5.0
|
|
9958
9684
|
|
|
9959
9685
|
License: MIT
|
|
@@ -9982,34 +9708,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
9982
9708
|
SOFTWARE.
|
|
9983
9709
|
```
|
|
9984
9710
|
|
|
9985
|
-
## picomatch@4.0.7
|
|
9986
|
-
|
|
9987
|
-
License: MIT
|
|
9988
|
-
|
|
9989
|
-
```
|
|
9990
|
-
The MIT License (MIT)
|
|
9991
|
-
|
|
9992
|
-
Copyright (c) 2017-present, Jon Schlinkert.
|
|
9993
|
-
|
|
9994
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
9995
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
9996
|
-
in the Software without restriction, including without limitation the rights
|
|
9997
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9998
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
9999
|
-
furnished to do so, subject to the following conditions:
|
|
10000
|
-
|
|
10001
|
-
The above copyright notice and this permission notice shall be included in
|
|
10002
|
-
all copies or substantial portions of the Software.
|
|
10003
|
-
|
|
10004
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
10005
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
10006
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
10007
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
10008
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
10009
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
10010
|
-
THE SOFTWARE.
|
|
10011
|
-
```
|
|
10012
|
-
|
|
10013
9711
|
## readable-stream@3.6.2
|
|
10014
9712
|
|
|
10015
9713
|
License: MIT
|
|
@@ -10733,14 +10431,14 @@ Apache License
|
|
|
10733
10431
|
limitations under the License.
|
|
10734
10432
|
```
|
|
10735
10433
|
|
|
10736
|
-
##
|
|
10434
|
+
## ulid@3.0.2
|
|
10737
10435
|
|
|
10738
10436
|
License: MIT
|
|
10739
10437
|
|
|
10740
10438
|
```
|
|
10741
|
-
MIT License
|
|
10439
|
+
The MIT License (MIT)
|
|
10742
10440
|
|
|
10743
|
-
Copyright (c)
|
|
10441
|
+
Copyright (c) 2017 Alizain Feerasta
|
|
10744
10442
|
|
|
10745
10443
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
10746
10444
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -10817,6 +10515,34 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
10817
10515
|
SOFTWARE.
|
|
10818
10516
|
```
|
|
10819
10517
|
|
|
10518
|
+
## undici-types@8.3.0
|
|
10519
|
+
|
|
10520
|
+
License: MIT
|
|
10521
|
+
|
|
10522
|
+
```
|
|
10523
|
+
MIT License
|
|
10524
|
+
|
|
10525
|
+
Copyright (c) Matteo Collina and Undici contributors
|
|
10526
|
+
|
|
10527
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
10528
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
10529
|
+
in the Software without restriction, including without limitation the rights
|
|
10530
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10531
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10532
|
+
furnished to do so, subject to the following conditions:
|
|
10533
|
+
|
|
10534
|
+
The above copyright notice and this permission notice shall be included in all
|
|
10535
|
+
copies or substantial portions of the Software.
|
|
10536
|
+
|
|
10537
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
10538
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
10539
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
10540
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
10541
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
10542
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
10543
|
+
SOFTWARE.
|
|
10544
|
+
```
|
|
10545
|
+
|
|
10820
10546
|
## util-deprecate@1.0.2
|
|
10821
10547
|
|
|
10822
10548
|
License: MIT
|
package/dist/assets.js
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { BundleError as e, IntegrityError as t } from "./errors.js";
|
|
2
|
+
import { Effect as n, Stream as r } from "effect";
|
|
3
|
+
import { fromNodeReadable as i, getObjectStream as a, putObjectStream as o, toNodeReadable as s } from "@voltro/plugin-storage";
|
|
4
|
+
//#region src/assets.ts
|
|
5
|
+
var c = (e, t) => ({
|
|
6
|
+
list: t,
|
|
7
|
+
open: (t) => a(e, t)
|
|
8
|
+
}), l = (e) => ({
|
|
9
|
+
write: (t, n, r) => o(e, t, n, r),
|
|
10
|
+
has: (t) => e.head(t).pipe(n.map((e) => e !== null))
|
|
11
|
+
}), u = (t, r) => n.tryPromise({
|
|
12
|
+
try: async () => {
|
|
13
|
+
let { createWriteStream: e } = await import("node:fs"), n = await import("node:fs/promises"), { createHash: i, randomUUID: a } = await import("node:crypto"), { pipeline: o } = await import("node:stream/promises"), { Transform: c } = await import("node:stream"), l = await import("node:path"), u = l.join(r, `.tmp-${a()}`), d = i("sha256"), f = 0, p = new c({ transform(e, t, n) {
|
|
14
|
+
d.update(e), f += e.length, n(null, e);
|
|
15
|
+
} });
|
|
16
|
+
await o(await s(t.stream), p, e(u));
|
|
17
|
+
let m = d.digest("hex"), h = l.join(r, m);
|
|
18
|
+
try {
|
|
19
|
+
await n.access(h), await n.rm(u, { force: !0 });
|
|
20
|
+
} catch {
|
|
21
|
+
await n.rename(u, h);
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
sha256: m,
|
|
25
|
+
size: f,
|
|
26
|
+
contentType: t.contentType
|
|
27
|
+
};
|
|
28
|
+
},
|
|
29
|
+
catch: (t) => new e({
|
|
30
|
+
reason: `asset write failed: ${String(t?.message ?? t)}`,
|
|
31
|
+
path: r
|
|
32
|
+
})
|
|
33
|
+
}), d = (e, a, o) => n.gen(function* () {
|
|
34
|
+
let s = yield* n.promise(() => import("node:path")), { createReadStream: c } = yield* n.promise(() => import("node:fs")), { createHash: l } = yield* n.promise(() => import("node:crypto")), u = s.join(a, o.sha256), d = l("sha256"), f = i("bundle", () => c(u)).pipe(r.tap((e) => n.sync(() => d.update(e))));
|
|
35
|
+
yield* e.write(o.key, f, {
|
|
36
|
+
contentType: o.contentType,
|
|
37
|
+
totalSize: o.size
|
|
38
|
+
});
|
|
39
|
+
let p = d.digest("hex");
|
|
40
|
+
if (p !== o.sha256) return yield* n.fail(new t({
|
|
41
|
+
what: `asset ${o.key}`,
|
|
42
|
+
expected: o.sha256,
|
|
43
|
+
actual: p
|
|
44
|
+
}));
|
|
45
|
+
});
|
|
46
|
+
//#endregion
|
|
47
|
+
export { d as restoreAssetFromCas, l as storageAssetSink, c as storageAssetSource, u as writeAssetToCas };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Effect as e, Stream as t } from "effect";
|
|
2
|
+
import { streamTable as n } from "@voltro/database";
|
|
3
|
+
import { STORAGE_REFS_TABLE as r, fromNodeReadable as i, getObjectStream as a, putObjectStream as o, toNodeReadable as s } from "@voltro/plugin-storage";
|
|
4
|
+
import { Readable as c } from "node:stream";
|
|
5
|
+
//#region src/blobStorage.ts
|
|
6
|
+
var l = (n, r) => ({
|
|
7
|
+
list: () => {
|
|
8
|
+
let n = r();
|
|
9
|
+
return { async *[Symbol.asyncIterator]() {
|
|
10
|
+
let r = await e.runPromise(t.runCollect(n));
|
|
11
|
+
for (let e of r) yield {
|
|
12
|
+
key: e.key,
|
|
13
|
+
contentType: e.contentType,
|
|
14
|
+
size: e.size
|
|
15
|
+
};
|
|
16
|
+
} };
|
|
17
|
+
},
|
|
18
|
+
open: (t) => ({ async *[Symbol.asyncIterator]() {
|
|
19
|
+
let r = await e.runPromise(a(n, t)), i = await s(r.stream);
|
|
20
|
+
for await (let e of i) yield e instanceof Uint8Array ? e : new Uint8Array(e);
|
|
21
|
+
} })
|
|
22
|
+
}), u = (e, i) => l(e, () => n(i, {
|
|
23
|
+
table: r,
|
|
24
|
+
chunkSize: 500
|
|
25
|
+
}).pipe(t.map((e) => ({
|
|
26
|
+
key: String(e.key),
|
|
27
|
+
contentType: String(e.contentType ?? "application/octet-stream"),
|
|
28
|
+
size: Number(e.size ?? 0)
|
|
29
|
+
})))), d = (t) => ({
|
|
30
|
+
has: (n) => e.runPromise(t.head(n).pipe(e.map((e) => e !== null))),
|
|
31
|
+
write: async (n, r, a) => {
|
|
32
|
+
let s = i("storage", () => c.from(r));
|
|
33
|
+
await e.runPromise(o(t, n, s, {
|
|
34
|
+
contentType: a.contentType,
|
|
35
|
+
totalSize: a.size
|
|
36
|
+
}));
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
//#endregion
|
|
40
|
+
export { d as storageBlobSink, l as storageBlobSource, u as storageRefsBlobSource };
|