From e66d77cdd165c23d6cb9e3f8f795eb5883668c2e Mon Sep 17 00:00:00 2001 From: Bilal Qamar <59555732+BilalQamar95@users.noreply.github.com> Date: Thu, 24 Oct 2024 16:30:42 +0500 Subject: [PATCH] chore: update TensorFlow packages to v4.22.0 (#1147) --- package-lock.json | 70 ++++++++++++++++++++++++++--------------------- package.json | 6 ++-- 2 files changed, 42 insertions(+), 34 deletions(-) diff --git a/package-lock.json b/package-lock.json index 57d62218f..0dfec70d9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,9 +21,9 @@ "@openedx/frontend-plugin-framework": "^1.2.2", "@openedx/frontend-slot-footer": "^1.0.2", "@openedx/paragon": "22.9.0", - "@tensorflow-models/blazeface": "0.0.7", - "@tensorflow/tfjs-converter": "3.21.0", - "@tensorflow/tfjs-core": "3.21.0", + "@tensorflow-models/blazeface": "0.1.0", + "@tensorflow/tfjs-converter": "4.22.0", + "@tensorflow/tfjs-core": "4.22.0", "bowser": "2.11.0", "classnames": "2.5.1", "core-js": "3.38.1", @@ -3855,29 +3855,31 @@ } }, "node_modules/@tensorflow-models/blazeface": { - "version": "0.0.7", - "license": "Apache-2.0", + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@tensorflow-models/blazeface/-/blazeface-0.1.0.tgz", + "integrity": "sha512-Qc5Wii8/OE5beC7XfehkhF9SEFLaPbVKnxxalV0T9JXsUynXqvLommc9Eko7b8zXKy4SJ1BtVlcX2cmCzQrn9A==", "peerDependencies": { - "@tensorflow/tfjs-converter": "^3.1.0", - "@tensorflow/tfjs-core": "^3.1.0" + "@tensorflow/tfjs-converter": "^4.10.0", + "@tensorflow/tfjs-core": "^4.10.0" } }, "node_modules/@tensorflow/tfjs-converter": { - "version": "3.21.0", - "license": "Apache-2.0", + "version": "4.22.0", + "resolved": "https://registry.npmjs.org/@tensorflow/tfjs-converter/-/tfjs-converter-4.22.0.tgz", + "integrity": "sha512-PT43MGlnzIo+YfbsjM79Lxk9lOq6uUwZuCc8rrp0hfpLjF6Jv8jS84u2jFb+WpUeuF4K33ZDNx8CjiYrGQ2trQ==", "peerDependencies": { - "@tensorflow/tfjs-core": "3.21.0" + "@tensorflow/tfjs-core": "4.22.0" } }, "node_modules/@tensorflow/tfjs-core": { - "version": "3.21.0", - "license": "Apache-2.0", + "version": "4.22.0", + "resolved": "https://registry.npmjs.org/@tensorflow/tfjs-core/-/tfjs-core-4.22.0.tgz", + "integrity": "sha512-LEkOyzbknKFoWUwfkr59vSB68DMJ4cjwwHgicXN0DUi3a0Vh1Er3JQqCI1Hl86GGZQvY8ezVrtDIvqR1ZFW55A==", "dependencies": { "@types/long": "^4.0.1", - "@types/offscreencanvas": "~2019.3.0", + "@types/offscreencanvas": "~2019.7.0", "@types/seedrandom": "^2.4.28", - "@types/webgl-ext": "0.0.30", - "@webgpu/types": "0.1.16", + "@webgpu/types": "0.1.38", "long": "4.0.0", "node-fetch": "~2.6.1", "seedrandom": "^3.0.5" @@ -3888,7 +3890,8 @@ }, "node_modules/@tensorflow/tfjs-core/node_modules/long": { "version": "4.0.0", - "license": "Apache-2.0" + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" }, "node_modules/@testing-library/dom": { "version": "8.20.1", @@ -4223,7 +4226,8 @@ }, "node_modules/@types/long": { "version": "4.0.2", - "license": "MIT" + "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz", + "integrity": "sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==" }, "node_modules/@types/mime": { "version": "1.3.5", @@ -4248,8 +4252,9 @@ } }, "node_modules/@types/offscreencanvas": { - "version": "2019.3.0", - "license": "MIT" + "version": "2019.7.3", + "resolved": "https://registry.npmjs.org/@types/offscreencanvas/-/offscreencanvas-2019.7.3.tgz", + "integrity": "sha512-ieXiYmgSRXUDeOntE1InxjWyvEelZGP63M+cGuquuRLuIKKT1osnkXjxev9B7d1nXSug5vpunx+gNlbVxMlC9A==" }, "node_modules/@types/parse-json": { "version": "4.0.2", @@ -4315,7 +4320,8 @@ }, "node_modules/@types/seedrandom": { "version": "2.4.34", - "license": "MIT" + "resolved": "https://registry.npmjs.org/@types/seedrandom/-/seedrandom-2.4.34.tgz", + "integrity": "sha512-ytDiArvrn/3Xk6/vtylys5tlY6eo7Ane0hvcx++TKo6RxQXuVfW0AF/oeWqAj9dN29SyhtawuXstgmPlwNcv/A==" }, "node_modules/@types/semver": { "version": "7.5.8", @@ -4364,10 +4370,6 @@ "version": "3.0.3", "license": "MIT" }, - "node_modules/@types/webgl-ext": { - "version": "0.0.30", - "license": "MIT" - }, "node_modules/@types/ws": { "version": "8.5.12", "license": "MIT", @@ -4715,8 +4717,9 @@ } }, "node_modules/@webgpu/types": { - "version": "0.1.16", - "license": "BSD-3-Clause" + "version": "0.1.38", + "resolved": "https://registry.npmjs.org/@webgpu/types/-/types-0.1.38.tgz", + "integrity": "sha512-7LrhVKz2PRh+DD7+S+PVaFd5HxaWQvoMqBbsV9fNJO1pjUs1P8bM2vQVNfk+3URTqbuTI7gkXi0rfsN0IadoBA==" }, "node_modules/@webpack-cli/configtest": { "version": "2.1.1", @@ -11662,7 +11665,8 @@ }, "node_modules/node-fetch": { "version": "2.6.13", - "license": "MIT", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.13.tgz", + "integrity": "sha512-StxNAxh15zr77QvvkmveSQ8uCQ4+v5FkvNTj0OESmiHu+VRi/gXArXtkWMElOsOUNLtUEvI4yS+rdtOHZTwlQA==", "dependencies": { "whatwg-url": "^5.0.0" }, @@ -11680,15 +11684,18 @@ }, "node_modules/node-fetch/node_modules/tr46": { "version": "0.0.3", - "license": "MIT" + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" }, "node_modules/node-fetch/node_modules/webidl-conversions": { "version": "3.0.1", - "license": "BSD-2-Clause" + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" }, "node_modules/node-fetch/node_modules/whatwg-url": { "version": "5.0.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" @@ -14310,7 +14317,8 @@ }, "node_modules/seedrandom": { "version": "3.0.5", - "license": "MIT" + "resolved": "https://registry.npmjs.org/seedrandom/-/seedrandom-3.0.5.tgz", + "integrity": "sha512-8OwmbklUNzwezjGInmZ+2clQmExQPvomqjL7LFqOYqtmuxRgQYqOD3mHaU+MvZn5FLUeVxVfQjwLZW/n/JFuqg==" }, "node_modules/select-hose": { "version": "2.0.0", diff --git a/package.json b/package.json index 8c6ab5c34..c241460f8 100644 --- a/package.json +++ b/package.json @@ -40,9 +40,9 @@ "@openedx/frontend-plugin-framework": "^1.2.2", "@openedx/frontend-slot-footer": "^1.0.2", "@openedx/paragon": "22.9.0", - "@tensorflow-models/blazeface": "0.0.7", - "@tensorflow/tfjs-converter": "3.21.0", - "@tensorflow/tfjs-core": "3.21.0", + "@tensorflow-models/blazeface": "0.1.0", + "@tensorflow/tfjs-converter": "4.22.0", + "@tensorflow/tfjs-core": "4.22.0", "bowser": "2.11.0", "classnames": "2.5.1", "core-js": "3.38.1",