node-datachannel 0.11.0 → 0.12.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/.github/workflows/build-linux.yml +7 -2
- package/CMakeLists.txt +1 -1
- package/cmake/toolchain/ci.cmake +1 -1
- package/examples/electron-demo/package-lock.json +316 -372
- package/examples/electron-demo/package.json +2 -1
- package/examples/electron-demo/webpack.main.config.js +10 -0
- package/jest.config.cjs +1 -1
- package/package.json +2 -2
- package/polyfill/RTCError.d.ts +11 -0
- package/polyfill/RTCError.js +65 -0
- package/polyfill/RTCIceCandidate.js +22 -23
- package/polyfill/RTCPeerConnection.js +11 -3
- package/polyfill/index.cjs +100 -25
- package/polyfill/index.js +3 -0
- package/test/wpt-tests/last-test-results.md +103 -7
- package/test/wpt-tests/package.json +1 -1
- package/test/wpt-tests/wpt-test-list.js +18 -16
|
@@ -25,6 +25,7 @@ jobs:
|
|
|
25
25
|
libc: musl
|
|
26
26
|
gcc_install: clang lld
|
|
27
27
|
gcc: clang
|
|
28
|
+
gxx: clang++
|
|
28
29
|
# libc is intentionally not set here, as prebuild-install requires libc to not be set for glibc builds
|
|
29
30
|
- triple: "linux-gnu"
|
|
30
31
|
platform: debian
|
|
@@ -43,15 +44,17 @@ jobs:
|
|
|
43
44
|
arch: arm64
|
|
44
45
|
flags: -march=armv8-a -fPIC
|
|
45
46
|
# Set edge case overrides for specific platform + architecture
|
|
46
|
-
# also define gcc commands for each architecture
|
|
47
|
+
# also define gcc commands for each architecture
|
|
47
48
|
- arch: amd64
|
|
48
49
|
platform: debian
|
|
49
50
|
gcc_install: gcc g++
|
|
50
51
|
gcc: gcc
|
|
52
|
+
gxx: g++
|
|
51
53
|
- arch: arm64
|
|
52
54
|
platform: debian
|
|
53
55
|
gcc_install: gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
|
|
54
56
|
gcc: aarch64-linux-gnu-gcc
|
|
57
|
+
gxx: aarch64-linux-gnu-g++
|
|
55
58
|
# debian uses the triple `arm-linux-gnueabihf` instead of alpine's `armv7-alpine-linux-musleabihf`
|
|
56
59
|
# because of this, we explicitly override triple_arch for debian arm
|
|
57
60
|
- triple_arch: arm
|
|
@@ -59,6 +62,7 @@ jobs:
|
|
|
59
62
|
platform: debian
|
|
60
63
|
gcc_install: gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf
|
|
61
64
|
gcc: arm-linux-gnueabihf-gcc
|
|
65
|
+
gxx: arm-linux-gnueabihf-g++
|
|
62
66
|
|
|
63
67
|
steps:
|
|
64
68
|
- uses: actions/checkout@v4
|
|
@@ -87,13 +91,14 @@ jobs:
|
|
|
87
91
|
id: sysroot
|
|
88
92
|
run: echo "sysroot=$(sudo podman image mount ndc-buildroot:${{ matrix.platform }}-${{ matrix.arch }})" >> $GITHUB_OUTPUT
|
|
89
93
|
- name: Build
|
|
90
|
-
run: sudo --preserve-env=SYSROOT,TRIPLE,COMPILER_FLAGS,LIBC,GCC,CI,PATH node_modules/.bin/prebuild --arch ${{ matrix.node_arch }} -r napi --backend cmake-js -- --CDCMAKE_TOOLCHAIN_FILE:FILEPATH=./cmake/toolchain/ci.cmake
|
|
94
|
+
run: sudo --preserve-env=SYSROOT,TRIPLE,COMPILER_FLAGS,LIBC,GCC,GXX,CI,PATH node_modules/.bin/prebuild --arch ${{ matrix.node_arch }} -r napi --backend cmake-js -- --CDCMAKE_TOOLCHAIN_FILE:FILEPATH=./cmake/toolchain/ci.cmake
|
|
91
95
|
env:
|
|
92
96
|
SYSROOT: ${{ steps.sysroot.outputs.sysroot }}
|
|
93
97
|
TRIPLE: ${{ matrix.triple_arch }}-${{ matrix.triple }}${{ matrix.triple_postfix }}
|
|
94
98
|
COMPILER_FLAGS: ${{ matrix.flags }}
|
|
95
99
|
LIBC: ${{ matrix.libc }}
|
|
96
100
|
GCC: ${{ matrix.gcc }}
|
|
101
|
+
GXX: ${{ matrix.gxx }}
|
|
97
102
|
CI: true
|
|
98
103
|
- name: Test
|
|
99
104
|
run: sudo podman run --rm -v $(pwd):/usr/app/ -e CI=true --platform linux/${{ matrix.arch }} -t ndc-buildroot:${{ matrix.platform }}-${{ matrix.arch }} npm run test
|
package/CMakeLists.txt
CHANGED
package/cmake/toolchain/ci.cmake
CHANGED