diff --git a/apps/main/package.json b/apps/main/package.json index d50b97b5a..46e426883 100644 --- a/apps/main/package.json +++ b/apps/main/package.json @@ -25,7 +25,7 @@ "@tensorflow-models/toxicity": "1.2.2", "@tensorflow/tfjs": "3.18.0", "@tensorflow/tfjs-converter": "3.18.0", - "@tensorflow/tfjs-core": "3.18.0", + "@tensorflow/tfjs-core": "4.0.0", "cors": "2.8.5", "eta": "1.12.3", "github-slugger": "1.5.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7ae023856..c38108384 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -140,7 +140,7 @@ importers: '@tensorflow-models/toxicity': 1.2.2 '@tensorflow/tfjs': 3.18.0 '@tensorflow/tfjs-converter': 3.18.0 - '@tensorflow/tfjs-core': 3.18.0 + '@tensorflow/tfjs-core': 4.0.0 '@types/cors': 2.8.12 '@types/github-slugger': 1.3.0 '@types/jest': 28.1.8 @@ -204,10 +204,10 @@ importers: '@chirpy-dev/utils': link:../../packages/utils '@radix-ui/colors': 0.1.8 '@sendinblue/client': 3.2.2 - '@tensorflow-models/toxicity': 1.2.2_ce7e77rhh6oipcy6kxvkentnmi + '@tensorflow-models/toxicity': 1.2.2_s4cfdw2klzbn2uhokbnswcnndi '@tensorflow/tfjs': 3.18.0 - '@tensorflow/tfjs-converter': 3.18.0_br26fteayl44zj43fz4bazb7oq - '@tensorflow/tfjs-core': 3.18.0 + '@tensorflow/tfjs-converter': 3.18.0_hdmpc5coifabqk2ogondqkcwg4 + '@tensorflow/tfjs-core': 4.0.0 cors: 2.8.5 eta: 1.12.3 github-slugger: 1.5.0 @@ -7333,25 +7333,25 @@ packages: tailwindcss: 3.2.1_postcss@8.4.16 dev: false - /@tensorflow-models/toxicity/1.2.2_ce7e77rhh6oipcy6kxvkentnmi: + /@tensorflow-models/toxicity/1.2.2_s4cfdw2klzbn2uhokbnswcnndi: resolution: {integrity: sha512-DSMIoBzNyX7+4D4cGKjsFLbCuJz3bksYpwFHKAjTp4+tmgAGpNyg5nDXXI/IQp18nMTbLKgLruLWOxq5y7P4WQ==} peerDependencies: '@tensorflow/tfjs-converter': ^1.3.3 || 3 '@tensorflow/tfjs-core': ^1.3.3 || 3 dependencies: - '@tensorflow-models/universal-sentence-encoder': 1.2.2_ce7e77rhh6oipcy6kxvkentnmi - '@tensorflow/tfjs-converter': 3.18.0_br26fteayl44zj43fz4bazb7oq - '@tensorflow/tfjs-core': 3.18.0 + '@tensorflow-models/universal-sentence-encoder': 1.2.2_s4cfdw2klzbn2uhokbnswcnndi + '@tensorflow/tfjs-converter': 3.18.0_hdmpc5coifabqk2ogondqkcwg4 + '@tensorflow/tfjs-core': 4.0.0 dev: false - /@tensorflow-models/universal-sentence-encoder/1.2.2_ce7e77rhh6oipcy6kxvkentnmi: + /@tensorflow-models/universal-sentence-encoder/1.2.2_s4cfdw2klzbn2uhokbnswcnndi: resolution: {integrity: sha512-fGCl/gwB7jmKCRI2FhgIBeIa/LCSUcjlEcckH2Bc2dIjhJ+2nspp+22lubxcseN6jjrmP42kkXt/reAPe+KJkQ==} peerDependencies: '@tensorflow/tfjs-converter': ^1.2.9 || 3 '@tensorflow/tfjs-core': ^1.2.9 || 3 dependencies: - '@tensorflow/tfjs-converter': 3.18.0_br26fteayl44zj43fz4bazb7oq - '@tensorflow/tfjs-core': 3.18.0 + '@tensorflow/tfjs-converter': 3.18.0_hdmpc5coifabqk2ogondqkcwg4 + '@tensorflow/tfjs-core': 4.0.0 dev: false /@tensorflow/tfjs-backend-cpu/3.18.0_br26fteayl44zj43fz4bazb7oq: @@ -7388,6 +7388,14 @@ packages: '@tensorflow/tfjs-core': 3.18.0 dev: false + /@tensorflow/tfjs-converter/3.18.0_hdmpc5coifabqk2ogondqkcwg4: + resolution: {integrity: sha512-hpChA+zVNQOVwRnCfqDb1WI9jbEAKA6DuEm4m75Zb3dIlE6VVooDmAaHBhlc++z2q2G1sBzF9A4Bv48SUpN6vA==} + peerDependencies: + '@tensorflow/tfjs-core': 3.18.0 || 3 + dependencies: + '@tensorflow/tfjs-core': 4.0.0 + dev: false + /@tensorflow/tfjs-core/3.18.0: resolution: {integrity: sha512-gMxisZozqsr5sCKlphF/eVBLg91MjlBiN60tjX8hJAu0WlSn6Gi5k65GNIL+Pq6hrxpvImcfdCmTH/2XJVZ0Mg==} engines: {yarn: '>= 1.3.2'} @@ -7396,7 +7404,7 @@ packages: '@types/offscreencanvas': 2019.3.0 '@types/seedrandom': 2.4.27 '@types/webgl-ext': 0.0.30 - '@webgpu/types': 0.1.20 + '@webgpu/types': 0.1.21 long: 4.0.0 node-fetch: 2.6.7 seedrandom: 2.4.3 @@ -7404,6 +7412,22 @@ packages: - encoding dev: false + /@tensorflow/tfjs-core/4.0.0: + resolution: {integrity: sha512-RrTgHPT8Xo6vsBvaRkee1YOoH3lv0lEtS3ISGRcHsUy8mkT8ZIMNou4zaJuIBQ7bVPXOeOFFeTbjDvWVtYypxQ==} + engines: {yarn: '>= 1.3.2'} + dependencies: + '@types/long': 4.0.2 + '@types/offscreencanvas': 2019.7.0 + '@types/seedrandom': 2.4.30 + '@types/webgl-ext': 0.0.30 + '@webgpu/types': 0.1.21 + long: 4.0.0 + node-fetch: 2.6.7 + seedrandom: 3.0.5 + transitivePeerDependencies: + - encoding + dev: false + /@tensorflow/tfjs-data/3.18.0_br26fteayl44zj43fz4bazb7oq: resolution: {integrity: sha512-s43vISJh8K/UN2E2zGRhtj/Kyn8dr4ll8EQkapwzm7fGO9afXCnMsTp6rkZq3fFXouCYA2k1B/j7JssIDr50+w==} peerDependencies: @@ -8081,6 +8105,10 @@ packages: resolution: {integrity: sha512-esIJx9bQg+QYF0ra8GnvfianIY8qWB0GBx54PK5Eps6m+xTj86KLavHv6qDhzKcu5UUOgNfJ2pWaIIV7TRUd9Q==} dev: false + /@types/offscreencanvas/2019.7.0: + resolution: {integrity: sha512-PGcyveRIpL1XIqK8eBsmRBt76eFgtzuPiSTyKHZxnGemp2yzGzWpjYKAfK3wIMiU7eH+851yEpiuP8JZerTmWg==} + dev: false + /@types/parse-json/4.0.0: resolution: {integrity: sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==} @@ -8156,6 +8184,10 @@ packages: resolution: {integrity: sha512-YvMLqFak/7rt//lPBtEHv3M4sRNA+HGxrhFZ+DQs9K2IkYJbNwVIb8avtJfhDiuaUBX/AW0jnjv48FV8h3u9bQ==} dev: false + /@types/seedrandom/2.4.30: + resolution: {integrity: sha512-AnxLHewubLVzoF/A4qdxBGHCKifw8cY32iro3DQX9TPcetE95zBeVt3jnsvtvAUf1vwzMfwzp4t/L2yqPlnjkQ==} + dev: false + /@types/semver/6.2.3: resolution: {integrity: sha512-KQf+QAMWKMrtBMsB8/24w53tEsxllMj6TuA80TT/5igJalLI/zm0L3oXRbIAl4Ohfc85gyHX/jhMwsVkmhLU4A==} dev: true @@ -8776,8 +8808,8 @@ packages: '@xtuc/long': 4.2.2 dev: true - /@webgpu/types/0.1.20: - resolution: {integrity: sha512-MFb5oyxX+A7PWQNjcY3kSCSG2FAHaBo7IJBWtxWFgsS20FtY3D9UY7lYqLZ6avS8fSkdSylIS4qiHzFlQUdXag==} + /@webgpu/types/0.1.21: + resolution: {integrity: sha512-pUrWq3V5PiSGFLeLxoGqReTZmiiXwY3jRkIG5sLLKjyqNxrwm/04b4nw7LSmGWJcKk59XOM/YRTUwOzo4MMlow==} dev: false /@whatwg-node/fetch/0.3.2: @@ -22054,6 +22086,10 @@ packages: resolution: {integrity: sha512-2CkZ9Wn2dS4mMUWQaXLsOAfGD+irMlLEeSP3cMxpGbgyOOzJGFa+MWCOMTOCMyZinHRPxyOj/S/C57li/1to6Q==} dev: false + /seedrandom/3.0.5: + resolution: {integrity: sha512-8OwmbklUNzwezjGInmZ+2clQmExQPvomqjL7LFqOYqtmuxRgQYqOD3mHaU+MvZn5FLUeVxVfQjwLZW/n/JFuqg==} + dev: false + /semver-diff/3.1.1: resolution: {integrity: sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg==} engines: {node: '>=8'}