From 92779e4dbd803a56028cc1cd9ecccc24e85b59a6 Mon Sep 17 00:00:00 2001 From: damencho Date: Fri, 17 Jan 2025 12:12:56 -0600 Subject: [PATCH] fix(aot): Clear api when disposed. Fixes #996. --- package-lock.json | 52 ++++++++++++++++++++++++++--------------------- package.json | 2 +- 2 files changed, 30 insertions(+), 24 deletions(-) diff --git a/package-lock.json b/package-lock.json index bb3294538..f187c9148 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { - "@jitsi/electron-sdk": "6.0.29", + "@jitsi/electron-sdk": "6.0.49", "electron-debug": "^3.2.0", "electron-reload": "^1.5.0" }, @@ -3291,16 +3291,17 @@ } }, "node_modules/@jitsi/electron-sdk": { - "version": "6.0.29", - "resolved": "https://registry.npmjs.org/@jitsi/electron-sdk/-/electron-sdk-6.0.29.tgz", - "integrity": "sha512-DfI0UmX1ilxKjJqMhKCdgiH9FS2i3a4tG3aly9OiKtX/youaMW7dhdKOZs0fvTZM2V5MJtuGFsXesrrZj0EzCg==", + "version": "6.0.49", + "resolved": "https://registry.npmjs.org/@jitsi/electron-sdk/-/electron-sdk-6.0.49.tgz", + "integrity": "sha512-mF4jrb7p2y0lFXTGmz6x5sHBsEzsVZ7qOrYMOV99wMXLXJFgPghr5cnYn+qknK4U/fzCZQLvLUjMCXkGSICWuA==", "hasInstallScript": true, + "license": "Apache-2.0", "dependencies": { "@jitsi/logger": "^2.0.2", "@jitsi/robotjs": "^0.6.13", "electron-store": "^8.0.1", - "node-addon-api": "^7.0.0", - "node-gyp-build": "4.8.0", + "node-addon-api": "^8.0.0", + "node-gyp-build": "4.8.2", "postis": "^2.2.0" } }, @@ -9831,9 +9832,13 @@ "dev": true }, "node_modules/node-addon-api": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.0.0.tgz", - "integrity": "sha512-vgbBJTS4m5/KkE16t5Ly0WW9hz46swAstv0hYYwMtbG7AznRhNyfLRe8HZAiWIpcHzoO7HxhLuBQj9rJ/Ho0ZA==" + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-8.3.0.tgz", + "integrity": "sha512-8VOpLHFrOQlAH+qA0ZzuGRlALRA6/LVh8QJldbrC4DY0hXoMP0l4Acq8TzFC018HztWiRqyCEj2aTWY2UvnJUg==", + "license": "MIT", + "engines": { + "node": "^18 || ^20 || >= 21" + } }, "node_modules/node-fetch": { "version": "1.7.3", @@ -9846,9 +9851,10 @@ } }, "node_modules/node-gyp-build": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.0.tgz", - "integrity": "sha512-u6fs2AEUljNho3EYTJNBfImO5QTo/J/1Etd+NVdCj7qWKUSN/bSLkZwhDv7I+w/MSC6qJ4cknepkAYykDdK8og==", + "version": "4.8.2", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.2.tgz", + "integrity": "sha512-IRUxE4BVsHWXkV/SFOut4qTlagw2aM8T5/vnTsmrHJvVoKueJHRc/JaFND7QDDc61kLYUJ6qlZM3sqTSyx2dTw==", + "license": "MIT", "bin": { "node-gyp-build": "bin.js", "node-gyp-build-optional": "optional.js", @@ -15985,15 +15991,15 @@ } }, "@jitsi/electron-sdk": { - "version": "6.0.29", - "resolved": "https://registry.npmjs.org/@jitsi/electron-sdk/-/electron-sdk-6.0.29.tgz", - "integrity": "sha512-DfI0UmX1ilxKjJqMhKCdgiH9FS2i3a4tG3aly9OiKtX/youaMW7dhdKOZs0fvTZM2V5MJtuGFsXesrrZj0EzCg==", + "version": "6.0.49", + "resolved": "https://registry.npmjs.org/@jitsi/electron-sdk/-/electron-sdk-6.0.49.tgz", + "integrity": "sha512-mF4jrb7p2y0lFXTGmz6x5sHBsEzsVZ7qOrYMOV99wMXLXJFgPghr5cnYn+qknK4U/fzCZQLvLUjMCXkGSICWuA==", "requires": { "@jitsi/logger": "^2.0.2", "@jitsi/robotjs": "^0.6.13", "electron-store": "^8.0.1", - "node-addon-api": "^7.0.0", - "node-gyp-build": "4.8.0", + "node-addon-api": "^8.0.0", + "node-gyp-build": "4.8.2", "postis": "^2.2.0" } }, @@ -20995,9 +21001,9 @@ } }, "node-addon-api": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.0.0.tgz", - "integrity": "sha512-vgbBJTS4m5/KkE16t5Ly0WW9hz46swAstv0hYYwMtbG7AznRhNyfLRe8HZAiWIpcHzoO7HxhLuBQj9rJ/Ho0ZA==" + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-8.3.0.tgz", + "integrity": "sha512-8VOpLHFrOQlAH+qA0ZzuGRlALRA6/LVh8QJldbrC4DY0hXoMP0l4Acq8TzFC018HztWiRqyCEj2aTWY2UvnJUg==" }, "node-fetch": { "version": "1.7.3", @@ -21010,9 +21016,9 @@ } }, "node-gyp-build": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.0.tgz", - "integrity": "sha512-u6fs2AEUljNho3EYTJNBfImO5QTo/J/1Etd+NVdCj7qWKUSN/bSLkZwhDv7I+w/MSC6qJ4cknepkAYykDdK8og==" + "version": "4.8.2", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.2.tgz", + "integrity": "sha512-IRUxE4BVsHWXkV/SFOut4qTlagw2aM8T5/vnTsmrHJvVoKueJHRc/JaFND7QDDc61kLYUJ6qlZM3sqTSyx2dTw==" }, "node-releases": { "version": "2.0.18", diff --git a/package.json b/package.json index 4ad525060..2d2f34654 100644 --- a/package.json +++ b/package.json @@ -150,7 +150,7 @@ "readmeFilename": "README.md", "license": "Apache-2.0", "dependencies": { - "@jitsi/electron-sdk": "6.0.29", + "@jitsi/electron-sdk": "6.0.49", "electron-debug": "^3.2.0", "electron-reload": "^1.5.0" },