node-datachannel 0.9.0 → 0.9.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/CMakeLists.txt +2 -2
- package/examples/electron-demo/package-lock.json +378 -89
- package/lib/index.cjs +9 -0
- package/lib/index.d.cts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +8 -0
- package/package.json +13 -12
- package/polyfill/RTCPeerConnection.js +2 -6
- package/polyfill/index.cjs +5 -9
- package/test/jest-tests/polyfill.test.js +10 -0
package/CMakeLists.txt
CHANGED
|
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.15)
|
|
|
2
2
|
cmake_policy(SET CMP0091 NEW)
|
|
3
3
|
cmake_policy(SET CMP0042 NEW)
|
|
4
4
|
|
|
5
|
-
project(node_datachannel VERSION 0.9.
|
|
5
|
+
project(node_datachannel VERSION 0.9.2)
|
|
6
6
|
|
|
7
7
|
# -Dnapi_build_version=8
|
|
8
8
|
add_definitions(-DNAPI_VERSION=8)
|
|
@@ -29,7 +29,7 @@ include(FetchContent)
|
|
|
29
29
|
FetchContent_Declare(
|
|
30
30
|
libdatachannel
|
|
31
31
|
GIT_REPOSITORY https://github.com/paullouisageneau/libdatachannel.git
|
|
32
|
-
GIT_TAG "v0.21.
|
|
32
|
+
GIT_TAG "v0.21.1"
|
|
33
33
|
)
|
|
34
34
|
|
|
35
35
|
option(NO_MEDIA "Disable media transport support in libdatachannel" OFF)
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"electron-squirrel-startup": "^1.0.0",
|
|
13
|
-
"node-datachannel": "^0.
|
|
13
|
+
"node-datachannel": "^0.8.0"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@electron-forge/cli": "^6.4.2",
|
|
@@ -838,6 +838,198 @@
|
|
|
838
838
|
"node": ">=14"
|
|
839
839
|
}
|
|
840
840
|
},
|
|
841
|
+
"node_modules/@rollup/rollup-android-arm-eabi": {
|
|
842
|
+
"version": "4.18.0",
|
|
843
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.18.0.tgz",
|
|
844
|
+
"integrity": "sha512-Tya6xypR10giZV1XzxmH5wr25VcZSncG0pZIjfePT0OVBvqNEurzValetGNarVrGiq66EBVAFn15iYX4w6FKgQ==",
|
|
845
|
+
"cpu": [
|
|
846
|
+
"arm"
|
|
847
|
+
],
|
|
848
|
+
"optional": true,
|
|
849
|
+
"os": [
|
|
850
|
+
"android"
|
|
851
|
+
]
|
|
852
|
+
},
|
|
853
|
+
"node_modules/@rollup/rollup-android-arm64": {
|
|
854
|
+
"version": "4.18.0",
|
|
855
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.18.0.tgz",
|
|
856
|
+
"integrity": "sha512-avCea0RAP03lTsDhEyfy+hpfr85KfyTctMADqHVhLAF3MlIkq83CP8UfAHUssgXTYd+6er6PaAhx/QGv4L1EiA==",
|
|
857
|
+
"cpu": [
|
|
858
|
+
"arm64"
|
|
859
|
+
],
|
|
860
|
+
"optional": true,
|
|
861
|
+
"os": [
|
|
862
|
+
"android"
|
|
863
|
+
]
|
|
864
|
+
},
|
|
865
|
+
"node_modules/@rollup/rollup-darwin-arm64": {
|
|
866
|
+
"version": "4.18.0",
|
|
867
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.18.0.tgz",
|
|
868
|
+
"integrity": "sha512-IWfdwU7KDSm07Ty0PuA/W2JYoZ4iTj3TUQjkVsO/6U+4I1jN5lcR71ZEvRh52sDOERdnNhhHU57UITXz5jC1/w==",
|
|
869
|
+
"cpu": [
|
|
870
|
+
"arm64"
|
|
871
|
+
],
|
|
872
|
+
"optional": true,
|
|
873
|
+
"os": [
|
|
874
|
+
"darwin"
|
|
875
|
+
]
|
|
876
|
+
},
|
|
877
|
+
"node_modules/@rollup/rollup-darwin-x64": {
|
|
878
|
+
"version": "4.18.0",
|
|
879
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.18.0.tgz",
|
|
880
|
+
"integrity": "sha512-n2LMsUz7Ynu7DoQrSQkBf8iNrjOGyPLrdSg802vk6XT3FtsgX6JbE8IHRvposskFm9SNxzkLYGSq9QdpLYpRNA==",
|
|
881
|
+
"cpu": [
|
|
882
|
+
"x64"
|
|
883
|
+
],
|
|
884
|
+
"optional": true,
|
|
885
|
+
"os": [
|
|
886
|
+
"darwin"
|
|
887
|
+
]
|
|
888
|
+
},
|
|
889
|
+
"node_modules/@rollup/rollup-linux-arm-gnueabihf": {
|
|
890
|
+
"version": "4.18.0",
|
|
891
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.18.0.tgz",
|
|
892
|
+
"integrity": "sha512-C/zbRYRXFjWvz9Z4haRxcTdnkPt1BtCkz+7RtBSuNmKzMzp3ZxdM28Mpccn6pt28/UWUCTXa+b0Mx1k3g6NOMA==",
|
|
893
|
+
"cpu": [
|
|
894
|
+
"arm"
|
|
895
|
+
],
|
|
896
|
+
"optional": true,
|
|
897
|
+
"os": [
|
|
898
|
+
"linux"
|
|
899
|
+
]
|
|
900
|
+
},
|
|
901
|
+
"node_modules/@rollup/rollup-linux-arm-musleabihf": {
|
|
902
|
+
"version": "4.18.0",
|
|
903
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.18.0.tgz",
|
|
904
|
+
"integrity": "sha512-l3m9ewPgjQSXrUMHg93vt0hYCGnrMOcUpTz6FLtbwljo2HluS4zTXFy2571YQbisTnfTKPZ01u/ukJdQTLGh9A==",
|
|
905
|
+
"cpu": [
|
|
906
|
+
"arm"
|
|
907
|
+
],
|
|
908
|
+
"optional": true,
|
|
909
|
+
"os": [
|
|
910
|
+
"linux"
|
|
911
|
+
]
|
|
912
|
+
},
|
|
913
|
+
"node_modules/@rollup/rollup-linux-arm64-gnu": {
|
|
914
|
+
"version": "4.18.0",
|
|
915
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.18.0.tgz",
|
|
916
|
+
"integrity": "sha512-rJ5D47d8WD7J+7STKdCUAgmQk49xuFrRi9pZkWoRD1UeSMakbcepWXPF8ycChBoAqs1pb2wzvbY6Q33WmN2ftw==",
|
|
917
|
+
"cpu": [
|
|
918
|
+
"arm64"
|
|
919
|
+
],
|
|
920
|
+
"optional": true,
|
|
921
|
+
"os": [
|
|
922
|
+
"linux"
|
|
923
|
+
]
|
|
924
|
+
},
|
|
925
|
+
"node_modules/@rollup/rollup-linux-arm64-musl": {
|
|
926
|
+
"version": "4.18.0",
|
|
927
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.18.0.tgz",
|
|
928
|
+
"integrity": "sha512-be6Yx37b24ZwxQ+wOQXXLZqpq4jTckJhtGlWGZs68TgdKXJgw54lUUoFYrg6Zs/kjzAQwEwYbp8JxZVzZLRepQ==",
|
|
929
|
+
"cpu": [
|
|
930
|
+
"arm64"
|
|
931
|
+
],
|
|
932
|
+
"optional": true,
|
|
933
|
+
"os": [
|
|
934
|
+
"linux"
|
|
935
|
+
]
|
|
936
|
+
},
|
|
937
|
+
"node_modules/@rollup/rollup-linux-powerpc64le-gnu": {
|
|
938
|
+
"version": "4.18.0",
|
|
939
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.18.0.tgz",
|
|
940
|
+
"integrity": "sha512-hNVMQK+qrA9Todu9+wqrXOHxFiD5YmdEi3paj6vP02Kx1hjd2LLYR2eaN7DsEshg09+9uzWi2W18MJDlG0cxJA==",
|
|
941
|
+
"cpu": [
|
|
942
|
+
"ppc64"
|
|
943
|
+
],
|
|
944
|
+
"optional": true,
|
|
945
|
+
"os": [
|
|
946
|
+
"linux"
|
|
947
|
+
]
|
|
948
|
+
},
|
|
949
|
+
"node_modules/@rollup/rollup-linux-riscv64-gnu": {
|
|
950
|
+
"version": "4.18.0",
|
|
951
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.18.0.tgz",
|
|
952
|
+
"integrity": "sha512-ROCM7i+m1NfdrsmvwSzoxp9HFtmKGHEqu5NNDiZWQtXLA8S5HBCkVvKAxJ8U+CVctHwV2Gb5VUaK7UAkzhDjlg==",
|
|
953
|
+
"cpu": [
|
|
954
|
+
"riscv64"
|
|
955
|
+
],
|
|
956
|
+
"optional": true,
|
|
957
|
+
"os": [
|
|
958
|
+
"linux"
|
|
959
|
+
]
|
|
960
|
+
},
|
|
961
|
+
"node_modules/@rollup/rollup-linux-s390x-gnu": {
|
|
962
|
+
"version": "4.18.0",
|
|
963
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.18.0.tgz",
|
|
964
|
+
"integrity": "sha512-0UyyRHyDN42QL+NbqevXIIUnKA47A+45WyasO+y2bGJ1mhQrfrtXUpTxCOrfxCR4esV3/RLYyucGVPiUsO8xjg==",
|
|
965
|
+
"cpu": [
|
|
966
|
+
"s390x"
|
|
967
|
+
],
|
|
968
|
+
"optional": true,
|
|
969
|
+
"os": [
|
|
970
|
+
"linux"
|
|
971
|
+
]
|
|
972
|
+
},
|
|
973
|
+
"node_modules/@rollup/rollup-linux-x64-gnu": {
|
|
974
|
+
"version": "4.18.0",
|
|
975
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.18.0.tgz",
|
|
976
|
+
"integrity": "sha512-xuglR2rBVHA5UsI8h8UbX4VJ470PtGCf5Vpswh7p2ukaqBGFTnsfzxUBetoWBWymHMxbIG0Cmx7Y9qDZzr648w==",
|
|
977
|
+
"cpu": [
|
|
978
|
+
"x64"
|
|
979
|
+
],
|
|
980
|
+
"optional": true,
|
|
981
|
+
"os": [
|
|
982
|
+
"linux"
|
|
983
|
+
]
|
|
984
|
+
},
|
|
985
|
+
"node_modules/@rollup/rollup-linux-x64-musl": {
|
|
986
|
+
"version": "4.18.0",
|
|
987
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.18.0.tgz",
|
|
988
|
+
"integrity": "sha512-LKaqQL9osY/ir2geuLVvRRs+utWUNilzdE90TpyoX0eNqPzWjRm14oMEE+YLve4k/NAqCdPkGYDaDF5Sw+xBfg==",
|
|
989
|
+
"cpu": [
|
|
990
|
+
"x64"
|
|
991
|
+
],
|
|
992
|
+
"optional": true,
|
|
993
|
+
"os": [
|
|
994
|
+
"linux"
|
|
995
|
+
]
|
|
996
|
+
},
|
|
997
|
+
"node_modules/@rollup/rollup-win32-arm64-msvc": {
|
|
998
|
+
"version": "4.18.0",
|
|
999
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.18.0.tgz",
|
|
1000
|
+
"integrity": "sha512-7J6TkZQFGo9qBKH0pk2cEVSRhJbL6MtfWxth7Y5YmZs57Pi+4x6c2dStAUvaQkHQLnEQv1jzBUW43GvZW8OFqA==",
|
|
1001
|
+
"cpu": [
|
|
1002
|
+
"arm64"
|
|
1003
|
+
],
|
|
1004
|
+
"optional": true,
|
|
1005
|
+
"os": [
|
|
1006
|
+
"win32"
|
|
1007
|
+
]
|
|
1008
|
+
},
|
|
1009
|
+
"node_modules/@rollup/rollup-win32-ia32-msvc": {
|
|
1010
|
+
"version": "4.18.0",
|
|
1011
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.18.0.tgz",
|
|
1012
|
+
"integrity": "sha512-Txjh+IxBPbkUB9+SXZMpv+b/vnTEtFyfWZgJ6iyCmt2tdx0OF5WhFowLmnh8ENGNpfUlUZkdI//4IEmhwPieNg==",
|
|
1013
|
+
"cpu": [
|
|
1014
|
+
"ia32"
|
|
1015
|
+
],
|
|
1016
|
+
"optional": true,
|
|
1017
|
+
"os": [
|
|
1018
|
+
"win32"
|
|
1019
|
+
]
|
|
1020
|
+
},
|
|
1021
|
+
"node_modules/@rollup/rollup-win32-x64-msvc": {
|
|
1022
|
+
"version": "4.18.0",
|
|
1023
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.18.0.tgz",
|
|
1024
|
+
"integrity": "sha512-UOo5FdvOL0+eIVTgS4tIdbW+TtnBLWg1YBCcU2KWM7nuNwRz9bksDX1bekJJCpu25N1DVWaCwnT39dVQxzqS8g==",
|
|
1025
|
+
"cpu": [
|
|
1026
|
+
"x64"
|
|
1027
|
+
],
|
|
1028
|
+
"optional": true,
|
|
1029
|
+
"os": [
|
|
1030
|
+
"win32"
|
|
1031
|
+
]
|
|
1032
|
+
},
|
|
841
1033
|
"node_modules/@sindresorhus/is": {
|
|
842
1034
|
"version": "4.6.0",
|
|
843
1035
|
"resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz",
|
|
@@ -942,10 +1134,9 @@
|
|
|
942
1134
|
}
|
|
943
1135
|
},
|
|
944
1136
|
"node_modules/@types/estree": {
|
|
945
|
-
"version": "1.0.
|
|
946
|
-
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.
|
|
947
|
-
"integrity": "sha512
|
|
948
|
-
"dev": true
|
|
1137
|
+
"version": "1.0.5",
|
|
1138
|
+
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz",
|
|
1139
|
+
"integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw=="
|
|
949
1140
|
},
|
|
950
1141
|
"node_modules/@types/express": {
|
|
951
1142
|
"version": "4.17.17",
|
|
@@ -1657,7 +1848,6 @@
|
|
|
1657
1848
|
"version": "4.1.0",
|
|
1658
1849
|
"resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz",
|
|
1659
1850
|
"integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==",
|
|
1660
|
-
"dev": true,
|
|
1661
1851
|
"dependencies": {
|
|
1662
1852
|
"buffer": "^5.5.0",
|
|
1663
1853
|
"inherits": "^2.0.4",
|
|
@@ -1751,12 +1941,12 @@
|
|
|
1751
1941
|
}
|
|
1752
1942
|
},
|
|
1753
1943
|
"node_modules/braces": {
|
|
1754
|
-
"version": "3.0.
|
|
1755
|
-
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.
|
|
1756
|
-
"integrity": "sha512-
|
|
1944
|
+
"version": "3.0.3",
|
|
1945
|
+
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
|
|
1946
|
+
"integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
|
|
1757
1947
|
"dev": true,
|
|
1758
1948
|
"dependencies": {
|
|
1759
|
-
"fill-range": "^7.
|
|
1949
|
+
"fill-range": "^7.1.1"
|
|
1760
1950
|
},
|
|
1761
1951
|
"engines": {
|
|
1762
1952
|
"node": ">=8"
|
|
@@ -3758,9 +3948,9 @@
|
|
|
3758
3948
|
}
|
|
3759
3949
|
},
|
|
3760
3950
|
"node_modules/fill-range": {
|
|
3761
|
-
"version": "7.
|
|
3762
|
-
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.
|
|
3763
|
-
"integrity": "sha512-
|
|
3951
|
+
"version": "7.1.1",
|
|
3952
|
+
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
|
|
3953
|
+
"integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
|
|
3764
3954
|
"dev": true,
|
|
3765
3955
|
"dependencies": {
|
|
3766
3956
|
"to-regex-range": "^5.0.1"
|
|
@@ -3948,7 +4138,6 @@
|
|
|
3948
4138
|
"version": "2.3.3",
|
|
3949
4139
|
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
|
|
3950
4140
|
"integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
|
|
3951
|
-
"dev": true,
|
|
3952
4141
|
"hasInstallScript": true,
|
|
3953
4142
|
"optional": true,
|
|
3954
4143
|
"os": [
|
|
@@ -5722,13 +5911,14 @@
|
|
|
5722
5911
|
}
|
|
5723
5912
|
},
|
|
5724
5913
|
"node_modules/node-datachannel": {
|
|
5725
|
-
"version": "0.
|
|
5726
|
-
"resolved": "https://registry.npmjs.org/node-datachannel/-/node-datachannel-0.
|
|
5727
|
-
"integrity": "sha512-
|
|
5914
|
+
"version": "0.8.0",
|
|
5915
|
+
"resolved": "https://registry.npmjs.org/node-datachannel/-/node-datachannel-0.8.0.tgz",
|
|
5916
|
+
"integrity": "sha512-05vYthhjESfO5qumWRbqHI1PN71rc19DJjc14ofOLapJrTCnmhx0JYw0G5wcL56b57uHQP9WjEak3+XklrB+Og==",
|
|
5728
5917
|
"hasInstallScript": true,
|
|
5729
5918
|
"dependencies": {
|
|
5730
5919
|
"node-domexception": "^2.0.1",
|
|
5731
|
-
"prebuild-install": "^7.0.1"
|
|
5920
|
+
"prebuild-install": "^7.0.1",
|
|
5921
|
+
"rollup": "^4.14.1"
|
|
5732
5922
|
},
|
|
5733
5923
|
"engines": {
|
|
5734
5924
|
"node": ">=16.0.0"
|
|
@@ -5863,34 +6053,6 @@
|
|
|
5863
6053
|
"tar-stream": "^2.1.4"
|
|
5864
6054
|
}
|
|
5865
6055
|
},
|
|
5866
|
-
"node_modules/node-datachannel/node_modules/tar-fs/node_modules/bl": {
|
|
5867
|
-
"version": "4.1.0",
|
|
5868
|
-
"license": "MIT",
|
|
5869
|
-
"dependencies": {
|
|
5870
|
-
"buffer": "^5.5.0",
|
|
5871
|
-
"inherits": "^2.0.4",
|
|
5872
|
-
"readable-stream": "^3.4.0"
|
|
5873
|
-
}
|
|
5874
|
-
},
|
|
5875
|
-
"node_modules/node-datachannel/node_modules/tar-fs/node_modules/readable-stream": {
|
|
5876
|
-
"version": "3.6.2",
|
|
5877
|
-
"license": "MIT",
|
|
5878
|
-
"dependencies": {
|
|
5879
|
-
"inherits": "^2.0.3",
|
|
5880
|
-
"string_decoder": "^1.1.1",
|
|
5881
|
-
"util-deprecate": "^1.0.1"
|
|
5882
|
-
},
|
|
5883
|
-
"engines": {
|
|
5884
|
-
"node": ">= 6"
|
|
5885
|
-
}
|
|
5886
|
-
},
|
|
5887
|
-
"node_modules/node-datachannel/node_modules/tar-fs/node_modules/string_decoder": {
|
|
5888
|
-
"version": "1.3.0",
|
|
5889
|
-
"license": "MIT",
|
|
5890
|
-
"dependencies": {
|
|
5891
|
-
"safe-buffer": "~5.2.0"
|
|
5892
|
-
}
|
|
5893
|
-
},
|
|
5894
6056
|
"node_modules/node-datachannel/node_modules/tar-fs/node_modules/tar-stream": {
|
|
5895
6057
|
"version": "2.2.0",
|
|
5896
6058
|
"license": "MIT",
|
|
@@ -6952,7 +7114,6 @@
|
|
|
6952
7114
|
"version": "3.6.2",
|
|
6953
7115
|
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
|
|
6954
7116
|
"integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
|
|
6955
|
-
"dev": true,
|
|
6956
7117
|
"dependencies": {
|
|
6957
7118
|
"inherits": "^2.0.3",
|
|
6958
7119
|
"string_decoder": "^1.1.1",
|
|
@@ -7164,6 +7325,40 @@
|
|
|
7164
7325
|
"node": ">=8.0"
|
|
7165
7326
|
}
|
|
7166
7327
|
},
|
|
7328
|
+
"node_modules/rollup": {
|
|
7329
|
+
"version": "4.18.0",
|
|
7330
|
+
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.18.0.tgz",
|
|
7331
|
+
"integrity": "sha512-QmJz14PX3rzbJCN1SG4Xe/bAAX2a6NpCP8ab2vfu2GiUr8AQcr2nCV/oEO3yneFarB67zk8ShlIyWb2LGTb3Sg==",
|
|
7332
|
+
"dependencies": {
|
|
7333
|
+
"@types/estree": "1.0.5"
|
|
7334
|
+
},
|
|
7335
|
+
"bin": {
|
|
7336
|
+
"rollup": "dist/bin/rollup"
|
|
7337
|
+
},
|
|
7338
|
+
"engines": {
|
|
7339
|
+
"node": ">=18.0.0",
|
|
7340
|
+
"npm": ">=8.0.0"
|
|
7341
|
+
},
|
|
7342
|
+
"optionalDependencies": {
|
|
7343
|
+
"@rollup/rollup-android-arm-eabi": "4.18.0",
|
|
7344
|
+
"@rollup/rollup-android-arm64": "4.18.0",
|
|
7345
|
+
"@rollup/rollup-darwin-arm64": "4.18.0",
|
|
7346
|
+
"@rollup/rollup-darwin-x64": "4.18.0",
|
|
7347
|
+
"@rollup/rollup-linux-arm-gnueabihf": "4.18.0",
|
|
7348
|
+
"@rollup/rollup-linux-arm-musleabihf": "4.18.0",
|
|
7349
|
+
"@rollup/rollup-linux-arm64-gnu": "4.18.0",
|
|
7350
|
+
"@rollup/rollup-linux-arm64-musl": "4.18.0",
|
|
7351
|
+
"@rollup/rollup-linux-powerpc64le-gnu": "4.18.0",
|
|
7352
|
+
"@rollup/rollup-linux-riscv64-gnu": "4.18.0",
|
|
7353
|
+
"@rollup/rollup-linux-s390x-gnu": "4.18.0",
|
|
7354
|
+
"@rollup/rollup-linux-x64-gnu": "4.18.0",
|
|
7355
|
+
"@rollup/rollup-linux-x64-musl": "4.18.0",
|
|
7356
|
+
"@rollup/rollup-win32-arm64-msvc": "4.18.0",
|
|
7357
|
+
"@rollup/rollup-win32-ia32-msvc": "4.18.0",
|
|
7358
|
+
"@rollup/rollup-win32-x64-msvc": "4.18.0",
|
|
7359
|
+
"fsevents": "~2.3.2"
|
|
7360
|
+
}
|
|
7361
|
+
},
|
|
7167
7362
|
"node_modules/run-parallel": {
|
|
7168
7363
|
"version": "1.2.0",
|
|
7169
7364
|
"resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
|
|
@@ -7733,7 +7928,6 @@
|
|
|
7733
7928
|
"version": "1.3.0",
|
|
7734
7929
|
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
|
|
7735
7930
|
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
|
|
7736
|
-
"dev": true,
|
|
7737
7931
|
"dependencies": {
|
|
7738
7932
|
"safe-buffer": "~5.2.0"
|
|
7739
7933
|
}
|
|
@@ -9550,6 +9744,102 @@
|
|
|
9550
9744
|
"dev": true,
|
|
9551
9745
|
"optional": true
|
|
9552
9746
|
},
|
|
9747
|
+
"@rollup/rollup-android-arm-eabi": {
|
|
9748
|
+
"version": "4.18.0",
|
|
9749
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.18.0.tgz",
|
|
9750
|
+
"integrity": "sha512-Tya6xypR10giZV1XzxmH5wr25VcZSncG0pZIjfePT0OVBvqNEurzValetGNarVrGiq66EBVAFn15iYX4w6FKgQ==",
|
|
9751
|
+
"optional": true
|
|
9752
|
+
},
|
|
9753
|
+
"@rollup/rollup-android-arm64": {
|
|
9754
|
+
"version": "4.18.0",
|
|
9755
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.18.0.tgz",
|
|
9756
|
+
"integrity": "sha512-avCea0RAP03lTsDhEyfy+hpfr85KfyTctMADqHVhLAF3MlIkq83CP8UfAHUssgXTYd+6er6PaAhx/QGv4L1EiA==",
|
|
9757
|
+
"optional": true
|
|
9758
|
+
},
|
|
9759
|
+
"@rollup/rollup-darwin-arm64": {
|
|
9760
|
+
"version": "4.18.0",
|
|
9761
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.18.0.tgz",
|
|
9762
|
+
"integrity": "sha512-IWfdwU7KDSm07Ty0PuA/W2JYoZ4iTj3TUQjkVsO/6U+4I1jN5lcR71ZEvRh52sDOERdnNhhHU57UITXz5jC1/w==",
|
|
9763
|
+
"optional": true
|
|
9764
|
+
},
|
|
9765
|
+
"@rollup/rollup-darwin-x64": {
|
|
9766
|
+
"version": "4.18.0",
|
|
9767
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.18.0.tgz",
|
|
9768
|
+
"integrity": "sha512-n2LMsUz7Ynu7DoQrSQkBf8iNrjOGyPLrdSg802vk6XT3FtsgX6JbE8IHRvposskFm9SNxzkLYGSq9QdpLYpRNA==",
|
|
9769
|
+
"optional": true
|
|
9770
|
+
},
|
|
9771
|
+
"@rollup/rollup-linux-arm-gnueabihf": {
|
|
9772
|
+
"version": "4.18.0",
|
|
9773
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.18.0.tgz",
|
|
9774
|
+
"integrity": "sha512-C/zbRYRXFjWvz9Z4haRxcTdnkPt1BtCkz+7RtBSuNmKzMzp3ZxdM28Mpccn6pt28/UWUCTXa+b0Mx1k3g6NOMA==",
|
|
9775
|
+
"optional": true
|
|
9776
|
+
},
|
|
9777
|
+
"@rollup/rollup-linux-arm-musleabihf": {
|
|
9778
|
+
"version": "4.18.0",
|
|
9779
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.18.0.tgz",
|
|
9780
|
+
"integrity": "sha512-l3m9ewPgjQSXrUMHg93vt0hYCGnrMOcUpTz6FLtbwljo2HluS4zTXFy2571YQbisTnfTKPZ01u/ukJdQTLGh9A==",
|
|
9781
|
+
"optional": true
|
|
9782
|
+
},
|
|
9783
|
+
"@rollup/rollup-linux-arm64-gnu": {
|
|
9784
|
+
"version": "4.18.0",
|
|
9785
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.18.0.tgz",
|
|
9786
|
+
"integrity": "sha512-rJ5D47d8WD7J+7STKdCUAgmQk49xuFrRi9pZkWoRD1UeSMakbcepWXPF8ycChBoAqs1pb2wzvbY6Q33WmN2ftw==",
|
|
9787
|
+
"optional": true
|
|
9788
|
+
},
|
|
9789
|
+
"@rollup/rollup-linux-arm64-musl": {
|
|
9790
|
+
"version": "4.18.0",
|
|
9791
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.18.0.tgz",
|
|
9792
|
+
"integrity": "sha512-be6Yx37b24ZwxQ+wOQXXLZqpq4jTckJhtGlWGZs68TgdKXJgw54lUUoFYrg6Zs/kjzAQwEwYbp8JxZVzZLRepQ==",
|
|
9793
|
+
"optional": true
|
|
9794
|
+
},
|
|
9795
|
+
"@rollup/rollup-linux-powerpc64le-gnu": {
|
|
9796
|
+
"version": "4.18.0",
|
|
9797
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.18.0.tgz",
|
|
9798
|
+
"integrity": "sha512-hNVMQK+qrA9Todu9+wqrXOHxFiD5YmdEi3paj6vP02Kx1hjd2LLYR2eaN7DsEshg09+9uzWi2W18MJDlG0cxJA==",
|
|
9799
|
+
"optional": true
|
|
9800
|
+
},
|
|
9801
|
+
"@rollup/rollup-linux-riscv64-gnu": {
|
|
9802
|
+
"version": "4.18.0",
|
|
9803
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.18.0.tgz",
|
|
9804
|
+
"integrity": "sha512-ROCM7i+m1NfdrsmvwSzoxp9HFtmKGHEqu5NNDiZWQtXLA8S5HBCkVvKAxJ8U+CVctHwV2Gb5VUaK7UAkzhDjlg==",
|
|
9805
|
+
"optional": true
|
|
9806
|
+
},
|
|
9807
|
+
"@rollup/rollup-linux-s390x-gnu": {
|
|
9808
|
+
"version": "4.18.0",
|
|
9809
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.18.0.tgz",
|
|
9810
|
+
"integrity": "sha512-0UyyRHyDN42QL+NbqevXIIUnKA47A+45WyasO+y2bGJ1mhQrfrtXUpTxCOrfxCR4esV3/RLYyucGVPiUsO8xjg==",
|
|
9811
|
+
"optional": true
|
|
9812
|
+
},
|
|
9813
|
+
"@rollup/rollup-linux-x64-gnu": {
|
|
9814
|
+
"version": "4.18.0",
|
|
9815
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.18.0.tgz",
|
|
9816
|
+
"integrity": "sha512-xuglR2rBVHA5UsI8h8UbX4VJ470PtGCf5Vpswh7p2ukaqBGFTnsfzxUBetoWBWymHMxbIG0Cmx7Y9qDZzr648w==",
|
|
9817
|
+
"optional": true
|
|
9818
|
+
},
|
|
9819
|
+
"@rollup/rollup-linux-x64-musl": {
|
|
9820
|
+
"version": "4.18.0",
|
|
9821
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.18.0.tgz",
|
|
9822
|
+
"integrity": "sha512-LKaqQL9osY/ir2geuLVvRRs+utWUNilzdE90TpyoX0eNqPzWjRm14oMEE+YLve4k/NAqCdPkGYDaDF5Sw+xBfg==",
|
|
9823
|
+
"optional": true
|
|
9824
|
+
},
|
|
9825
|
+
"@rollup/rollup-win32-arm64-msvc": {
|
|
9826
|
+
"version": "4.18.0",
|
|
9827
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.18.0.tgz",
|
|
9828
|
+
"integrity": "sha512-7J6TkZQFGo9qBKH0pk2cEVSRhJbL6MtfWxth7Y5YmZs57Pi+4x6c2dStAUvaQkHQLnEQv1jzBUW43GvZW8OFqA==",
|
|
9829
|
+
"optional": true
|
|
9830
|
+
},
|
|
9831
|
+
"@rollup/rollup-win32-ia32-msvc": {
|
|
9832
|
+
"version": "4.18.0",
|
|
9833
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.18.0.tgz",
|
|
9834
|
+
"integrity": "sha512-Txjh+IxBPbkUB9+SXZMpv+b/vnTEtFyfWZgJ6iyCmt2tdx0OF5WhFowLmnh8ENGNpfUlUZkdI//4IEmhwPieNg==",
|
|
9835
|
+
"optional": true
|
|
9836
|
+
},
|
|
9837
|
+
"@rollup/rollup-win32-x64-msvc": {
|
|
9838
|
+
"version": "4.18.0",
|
|
9839
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.18.0.tgz",
|
|
9840
|
+
"integrity": "sha512-UOo5FdvOL0+eIVTgS4tIdbW+TtnBLWg1YBCcU2KWM7nuNwRz9bksDX1bekJJCpu25N1DVWaCwnT39dVQxzqS8g==",
|
|
9841
|
+
"optional": true
|
|
9842
|
+
},
|
|
9553
9843
|
"@sindresorhus/is": {
|
|
9554
9844
|
"version": "4.6.0",
|
|
9555
9845
|
"resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz",
|
|
@@ -9642,10 +9932,9 @@
|
|
|
9642
9932
|
}
|
|
9643
9933
|
},
|
|
9644
9934
|
"@types/estree": {
|
|
9645
|
-
"version": "1.0.
|
|
9646
|
-
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.
|
|
9647
|
-
"integrity": "sha512
|
|
9648
|
-
"dev": true
|
|
9935
|
+
"version": "1.0.5",
|
|
9936
|
+
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz",
|
|
9937
|
+
"integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw=="
|
|
9649
9938
|
},
|
|
9650
9939
|
"@types/express": {
|
|
9651
9940
|
"version": "4.17.17",
|
|
@@ -10252,7 +10541,6 @@
|
|
|
10252
10541
|
"version": "4.1.0",
|
|
10253
10542
|
"resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz",
|
|
10254
10543
|
"integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==",
|
|
10255
|
-
"dev": true,
|
|
10256
10544
|
"requires": {
|
|
10257
10545
|
"buffer": "^5.5.0",
|
|
10258
10546
|
"inherits": "^2.0.4",
|
|
@@ -10346,12 +10634,12 @@
|
|
|
10346
10634
|
}
|
|
10347
10635
|
},
|
|
10348
10636
|
"braces": {
|
|
10349
|
-
"version": "3.0.
|
|
10350
|
-
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.
|
|
10351
|
-
"integrity": "sha512-
|
|
10637
|
+
"version": "3.0.3",
|
|
10638
|
+
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
|
|
10639
|
+
"integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
|
|
10352
10640
|
"dev": true,
|
|
10353
10641
|
"requires": {
|
|
10354
|
-
"fill-range": "^7.
|
|
10642
|
+
"fill-range": "^7.1.1"
|
|
10355
10643
|
}
|
|
10356
10644
|
},
|
|
10357
10645
|
"browserslist": {
|
|
@@ -11816,9 +12104,9 @@
|
|
|
11816
12104
|
}
|
|
11817
12105
|
},
|
|
11818
12106
|
"fill-range": {
|
|
11819
|
-
"version": "7.
|
|
11820
|
-
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.
|
|
11821
|
-
"integrity": "sha512-
|
|
12107
|
+
"version": "7.1.1",
|
|
12108
|
+
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
|
|
12109
|
+
"integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
|
|
11822
12110
|
"dev": true,
|
|
11823
12111
|
"requires": {
|
|
11824
12112
|
"to-regex-range": "^5.0.1"
|
|
@@ -11956,7 +12244,6 @@
|
|
|
11956
12244
|
"version": "2.3.3",
|
|
11957
12245
|
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
|
|
11958
12246
|
"integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
|
|
11959
|
-
"dev": true,
|
|
11960
12247
|
"optional": true
|
|
11961
12248
|
},
|
|
11962
12249
|
"function-bind": {
|
|
@@ -13295,12 +13582,13 @@
|
|
|
13295
13582
|
}
|
|
13296
13583
|
},
|
|
13297
13584
|
"node-datachannel": {
|
|
13298
|
-
"version": "0.
|
|
13299
|
-
"resolved": "https://registry.npmjs.org/node-datachannel/-/node-datachannel-0.
|
|
13300
|
-
"integrity": "sha512-
|
|
13585
|
+
"version": "0.8.0",
|
|
13586
|
+
"resolved": "https://registry.npmjs.org/node-datachannel/-/node-datachannel-0.8.0.tgz",
|
|
13587
|
+
"integrity": "sha512-05vYthhjESfO5qumWRbqHI1PN71rc19DJjc14ofOLapJrTCnmhx0JYw0G5wcL56b57uHQP9WjEak3+XklrB+Og==",
|
|
13301
13588
|
"requires": {
|
|
13302
13589
|
"node-domexception": "^2.0.1",
|
|
13303
|
-
"prebuild-install": "^7.0.1"
|
|
13590
|
+
"prebuild-install": "^7.0.1",
|
|
13591
|
+
"rollup": "^4.14.1"
|
|
13304
13592
|
},
|
|
13305
13593
|
"dependencies": {
|
|
13306
13594
|
"chownr": {
|
|
@@ -13375,28 +13663,6 @@
|
|
|
13375
13663
|
"tar-stream": "^2.1.4"
|
|
13376
13664
|
},
|
|
13377
13665
|
"dependencies": {
|
|
13378
|
-
"bl": {
|
|
13379
|
-
"version": "4.1.0",
|
|
13380
|
-
"requires": {
|
|
13381
|
-
"buffer": "^5.5.0",
|
|
13382
|
-
"inherits": "^2.0.4",
|
|
13383
|
-
"readable-stream": "^3.4.0"
|
|
13384
|
-
}
|
|
13385
|
-
},
|
|
13386
|
-
"readable-stream": {
|
|
13387
|
-
"version": "3.6.2",
|
|
13388
|
-
"requires": {
|
|
13389
|
-
"inherits": "^2.0.3",
|
|
13390
|
-
"string_decoder": "^1.1.1",
|
|
13391
|
-
"util-deprecate": "^1.0.1"
|
|
13392
|
-
}
|
|
13393
|
-
},
|
|
13394
|
-
"string_decoder": {
|
|
13395
|
-
"version": "1.3.0",
|
|
13396
|
-
"requires": {
|
|
13397
|
-
"safe-buffer": "~5.2.0"
|
|
13398
|
-
}
|
|
13399
|
-
},
|
|
13400
13666
|
"tar-stream": {
|
|
13401
13667
|
"version": "2.2.0",
|
|
13402
13668
|
"requires": {
|
|
@@ -14147,7 +14413,6 @@
|
|
|
14147
14413
|
"version": "3.6.2",
|
|
14148
14414
|
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
|
|
14149
14415
|
"integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
|
|
14150
|
-
"dev": true,
|
|
14151
14416
|
"requires": {
|
|
14152
14417
|
"inherits": "^2.0.3",
|
|
14153
14418
|
"string_decoder": "^1.1.1",
|
|
@@ -14306,6 +14571,31 @@
|
|
|
14306
14571
|
"sprintf-js": "^1.1.2"
|
|
14307
14572
|
}
|
|
14308
14573
|
},
|
|
14574
|
+
"rollup": {
|
|
14575
|
+
"version": "4.18.0",
|
|
14576
|
+
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.18.0.tgz",
|
|
14577
|
+
"integrity": "sha512-QmJz14PX3rzbJCN1SG4Xe/bAAX2a6NpCP8ab2vfu2GiUr8AQcr2nCV/oEO3yneFarB67zk8ShlIyWb2LGTb3Sg==",
|
|
14578
|
+
"requires": {
|
|
14579
|
+
"@rollup/rollup-android-arm-eabi": "4.18.0",
|
|
14580
|
+
"@rollup/rollup-android-arm64": "4.18.0",
|
|
14581
|
+
"@rollup/rollup-darwin-arm64": "4.18.0",
|
|
14582
|
+
"@rollup/rollup-darwin-x64": "4.18.0",
|
|
14583
|
+
"@rollup/rollup-linux-arm-gnueabihf": "4.18.0",
|
|
14584
|
+
"@rollup/rollup-linux-arm-musleabihf": "4.18.0",
|
|
14585
|
+
"@rollup/rollup-linux-arm64-gnu": "4.18.0",
|
|
14586
|
+
"@rollup/rollup-linux-arm64-musl": "4.18.0",
|
|
14587
|
+
"@rollup/rollup-linux-powerpc64le-gnu": "4.18.0",
|
|
14588
|
+
"@rollup/rollup-linux-riscv64-gnu": "4.18.0",
|
|
14589
|
+
"@rollup/rollup-linux-s390x-gnu": "4.18.0",
|
|
14590
|
+
"@rollup/rollup-linux-x64-gnu": "4.18.0",
|
|
14591
|
+
"@rollup/rollup-linux-x64-musl": "4.18.0",
|
|
14592
|
+
"@rollup/rollup-win32-arm64-msvc": "4.18.0",
|
|
14593
|
+
"@rollup/rollup-win32-ia32-msvc": "4.18.0",
|
|
14594
|
+
"@rollup/rollup-win32-x64-msvc": "4.18.0",
|
|
14595
|
+
"@types/estree": "1.0.5",
|
|
14596
|
+
"fsevents": "~2.3.2"
|
|
14597
|
+
}
|
|
14598
|
+
},
|
|
14309
14599
|
"run-parallel": {
|
|
14310
14600
|
"version": "1.2.0",
|
|
14311
14601
|
"resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
|
|
@@ -14763,7 +15053,6 @@
|
|
|
14763
15053
|
"version": "1.3.0",
|
|
14764
15054
|
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
|
|
14765
15055
|
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
|
|
14766
|
-
"dev": true,
|
|
14767
15056
|
"requires": {
|
|
14768
15057
|
"safe-buffer": "~5.2.0"
|
|
14769
15058
|
}
|
package/lib/index.cjs
CHANGED
|
@@ -126,9 +126,18 @@ var index = {
|
|
|
126
126
|
DataChannelStream,
|
|
127
127
|
};
|
|
128
128
|
|
|
129
|
+
const DescriptionType = {
|
|
130
|
+
Unspec: 'unspec',
|
|
131
|
+
Offer: 'offer',
|
|
132
|
+
Answer: 'answer',
|
|
133
|
+
Pranswer: 'pranswer',
|
|
134
|
+
Rollback: 'rollback',
|
|
135
|
+
};
|
|
136
|
+
|
|
129
137
|
exports.Audio = Audio;
|
|
130
138
|
exports.DataChannel = DataChannel;
|
|
131
139
|
exports.DataChannelStream = DataChannelStream;
|
|
140
|
+
exports.DescriptionType = DescriptionType;
|
|
132
141
|
exports.PeerConnection = PeerConnection;
|
|
133
142
|
exports.RtcpReceivingSession = RtcpReceivingSession;
|
|
134
143
|
exports.Track = Track;
|
package/lib/index.d.cts
CHANGED
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-datachannel",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
4
4
|
"description": "libdatachannel node bindings",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"types": "./lib/index.d.ts",
|
|
6
7
|
"exports": {
|
|
7
8
|
".": {
|
|
8
9
|
"import": {
|
|
9
|
-
"
|
|
10
|
-
"
|
|
10
|
+
"types": "./lib/index.d.ts",
|
|
11
|
+
"default": "./lib/index.js"
|
|
11
12
|
},
|
|
12
13
|
"require": {
|
|
13
|
-
"
|
|
14
|
-
"
|
|
14
|
+
"types": "./lib/index.d.cts",
|
|
15
|
+
"default": "./lib/index.cjs"
|
|
15
16
|
}
|
|
16
17
|
},
|
|
17
18
|
"./polyfill": {
|
|
18
19
|
"import": {
|
|
19
|
-
"
|
|
20
|
-
"
|
|
20
|
+
"types": "./polyfill/index.d.ts",
|
|
21
|
+
"default": "./polyfill/index.js"
|
|
21
22
|
},
|
|
22
23
|
"require": {
|
|
23
|
-
"
|
|
24
|
-
"
|
|
24
|
+
"types": "./polyfill/index.d.cts",
|
|
25
|
+
"default": "./polyfill/index.cjs"
|
|
25
26
|
}
|
|
26
27
|
}
|
|
27
28
|
},
|
|
@@ -92,11 +93,11 @@
|
|
|
92
93
|
"node-addon-api": "^7.0.0",
|
|
93
94
|
"prebuild": "^12.0.0",
|
|
94
95
|
"prettier": "^2.8.8",
|
|
95
|
-
"typescript": "^5.3.2"
|
|
96
|
+
"typescript": "^5.3.2",
|
|
97
|
+
"rollup": "^4.14.1"
|
|
96
98
|
},
|
|
97
99
|
"dependencies": {
|
|
98
100
|
"node-domexception": "^2.0.1",
|
|
99
|
-
"prebuild-install": "^7.0.1"
|
|
100
|
-
"rollup": "^4.14.1"
|
|
101
|
+
"prebuild-install": "^7.0.1"
|
|
101
102
|
}
|
|
102
103
|
}
|
|
@@ -4,11 +4,11 @@ import RTCDataChannel from './RTCDataChannel.js';
|
|
|
4
4
|
import RTCIceCandidate from './RTCIceCandidate.js';
|
|
5
5
|
import { RTCDataChannelEvent, RTCPeerConnectionIceEvent } from './Events.js';
|
|
6
6
|
import RTCSctpTransport from './RTCSctpTransport.js';
|
|
7
|
-
import
|
|
7
|
+
import 'node-domexception';
|
|
8
8
|
|
|
9
9
|
export default class _RTCPeerConnection extends EventTarget {
|
|
10
10
|
static async generateCertificate() {
|
|
11
|
-
throw new
|
|
11
|
+
throw new DOMException('Not implemented');
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
#peerConnection;
|
|
@@ -192,10 +192,6 @@ export default class _RTCPeerConnection extends EventTarget {
|
|
|
192
192
|
return this.#peerConnection.signalingState();
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
static generateCertificate(keygenAlgorithm) {
|
|
196
|
-
throw new DOMException('Not implemented');
|
|
197
|
-
}
|
|
198
|
-
|
|
199
195
|
async addIceCandidate(candidate) {
|
|
200
196
|
if (candidate == null || candidate.candidate == null) {
|
|
201
197
|
throw new DOMException('Candidate invalid');
|
package/polyfill/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var DOMException = require('node-domexception');
|
|
5
|
+
var DOMException$1 = require('node-domexception');
|
|
6
6
|
var module$1 = require('module');
|
|
7
7
|
var stream = require('stream');
|
|
8
8
|
|
|
@@ -113,7 +113,7 @@ class _RTCDataChannel extends EventTarget {
|
|
|
113
113
|
|
|
114
114
|
set binaryType(type) {
|
|
115
115
|
if (type !== 'blob' && type !== 'arraybuffer') {
|
|
116
|
-
throw new DOMException(
|
|
116
|
+
throw new DOMException$1(
|
|
117
117
|
"Failed to set the 'binaryType' property on 'RTCDataChannel': Unknown binary type : " + type,
|
|
118
118
|
'TypeMismatchError',
|
|
119
119
|
);
|
|
@@ -173,7 +173,7 @@ class _RTCDataChannel extends EventTarget {
|
|
|
173
173
|
|
|
174
174
|
send(data) {
|
|
175
175
|
if (this.#readyState !== 'open') {
|
|
176
|
-
throw new DOMException(
|
|
176
|
+
throw new DOMException$1(
|
|
177
177
|
"Failed to execute 'send' on 'RTCDataChannel': RTCDataChannel.readyState is not 'open'",
|
|
178
178
|
'InvalidStateError',
|
|
179
179
|
);
|
|
@@ -223,7 +223,7 @@ class _RTCIceCandidate {
|
|
|
223
223
|
|
|
224
224
|
constructor({ candidate, sdpMLineIndex, sdpMid, usernameFragment }) {
|
|
225
225
|
if (candidate == null) {
|
|
226
|
-
throw new DOMException('candidate must be specified');
|
|
226
|
+
throw new DOMException$1('candidate must be specified');
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
this.#candidate = candidate;
|
|
@@ -676,7 +676,7 @@ class _RTCSctpTransport extends EventTarget {
|
|
|
676
676
|
|
|
677
677
|
class _RTCPeerConnection extends EventTarget {
|
|
678
678
|
static async generateCertificate() {
|
|
679
|
-
throw new
|
|
679
|
+
throw new DOMException('Not implemented');
|
|
680
680
|
}
|
|
681
681
|
|
|
682
682
|
#peerConnection;
|
|
@@ -860,10 +860,6 @@ class _RTCPeerConnection extends EventTarget {
|
|
|
860
860
|
return this.#peerConnection.signalingState();
|
|
861
861
|
}
|
|
862
862
|
|
|
863
|
-
static generateCertificate(keygenAlgorithm) {
|
|
864
|
-
throw new DOMException('Not implemented');
|
|
865
|
-
}
|
|
866
|
-
|
|
867
863
|
async addIceCandidate(candidate) {
|
|
868
864
|
if (candidate == null || candidate.candidate == null) {
|
|
869
865
|
throw new DOMException('Candidate invalid');
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { expect } from '@jest/globals';
|
|
2
|
+
import polyfill from '../../polyfill/index.js';
|
|
3
|
+
|
|
4
|
+
describe('polyfill', () => {
|
|
5
|
+
test('generateCertificate should throw', () => {
|
|
6
|
+
expect(async () => {
|
|
7
|
+
await polyfill.RTCPeerConnection.generateCertificate({});
|
|
8
|
+
}).rejects.toEqual(new DOMException('Not implemented'));
|
|
9
|
+
});
|
|
10
|
+
});
|