From 28abe6f6077dd5f6e9558dcf7a8ff10ad55fedc3 Mon Sep 17 00:00:00 2001 From: Amit Moryossef Date: Sat, 4 Nov 2023 22:17:41 +0100 Subject: [PATCH] chore(): update dependencies --- functions/package.json | 18 +++++----- functions/src/text-normalization/model.ts | 6 +++- package.json | 44 +++++++++++------------ update-dependencies.sh | 1 - 4 files changed, 36 insertions(+), 33 deletions(-) diff --git a/functions/package.json b/functions/package.json index 6bc04875..3b4cdc39 100644 --- a/functions/package.json +++ b/functions/package.json @@ -20,28 +20,28 @@ "main": "lib/index.js", "dependencies": { "@firebase/database-types": "1.0.0", - "@google-cloud/storage": "7.4.0", + "@google-cloud/storage": "7.5.0", "@sign-mt/browsermt": "0.2.1", "cors": "2.8.5", "express": "4.18.2", "express-async-errors": "3.1.1", "firebase-admin": "11.11.0", - "firebase-functions": "4.4.1", + "firebase-functions": "4.5.0", "http-errors": "2.0.0", "node-fetch": "2.6.7", - "openai": "4.14.0" + "openai": "4.15.1" }, "devDependencies": { "@firebase/firestore-types": "3.0.0", "@firebase/rules-unit-testing": "3.0.1", "@types/http-errors": "2.0.3", - "@types/jest": "29.5.6", - "@types/node-fetch": "2.6.7", - "@typescript-eslint/eslint-plugin": "6.9.0", - "@typescript-eslint/parser": "6.9.0", - "eslint": "8.52.0", + "@types/jest": "29.5.7", + "@types/node-fetch": "2.6.8", + "@typescript-eslint/eslint-plugin": "6.9.1", + "@typescript-eslint/parser": "6.9.1", + "eslint": "8.53.0", "firebase-functions-test": "3.1.0", - "firebase-tools": "12.7.0", + "firebase-tools": "12.8.0", "jest": "29.7.0", "mock-express-request": "0.2.2", "mock-express-response": "0.3.0", diff --git a/functions/src/text-normalization/model.ts b/functions/src/text-normalization/model.ts index 7ebaab21..5a17dce2 100644 --- a/functions/src/text-normalization/model.ts +++ b/functions/src/text-normalization/model.ts @@ -40,7 +40,11 @@ const FEW_SHOTS = [ }, { user: 'normalize("de", "klein kinder essen pizza")', - assistant: 'kleine Kinder essen Pizza.', + assistant: 'Kleine Kinder essen Pizza.', + }, + { + user: 'normalize("de", "Zwölftausend Dreihundert Fünfundvierzig")', + assistant: 'zwölftausenddreihundertfünfundvierzig', }, { user: 'normalize("en", "A important part of my life have been a people that stood by me.")', diff --git a/package.json b/package.json index 4fe63dc1..dc1350dc 100644 --- a/package.json +++ b/package.json @@ -33,18 +33,18 @@ }, "private": true, "dependencies": { - "@angular/animations": "16.2.11", - "@angular/cdk": "16.2.10", - "@angular/common": "16.2.11", - "@angular/compiler": "16.2.11", - "@angular/core": "16.2.11", - "@angular/forms": "16.2.11", - "@angular/material": "16.2.10", - "@angular/platform-browser": "16.2.11", - "@angular/platform-browser-dynamic": "16.2.11", - "@angular/platform-server": "16.2.11", - "@angular/router": "16.2.11", - "@angular/service-worker": "16.2.11", + "@angular/animations": "16.2.12", + "@angular/cdk": "16.2.11", + "@angular/common": "16.2.12", + "@angular/compiler": "16.2.12", + "@angular/core": "16.2.12", + "@angular/forms": "16.2.12", + "@angular/material": "16.2.11", + "@angular/platform-browser": "16.2.12", + "@angular/platform-browser-dynamic": "16.2.12", + "@angular/platform-server": "16.2.12", + "@angular/router": "16.2.12", + "@angular/service-worker": "16.2.12", "@asymmetrik/ngx-leaflet": "16.0.1", "@capacitor-firebase/analytics": "5.2.0", "@capacitor-firebase/app": "5.2.0", @@ -60,7 +60,7 @@ "@capacitor/splash-screen": "5.0.6", "@ctrl/ngx-github-buttons": "9.0.0", "@google/model-viewer": "3.3.0", - "@ionic/angular": "7.5.2", + "@ionic/angular": "7.5.3", "@mediapipe/drawing_utils": "0.3.1675466124", "@mediapipe/holistic": "0.5.1675471629", "@ngneat/transloco": "6.0.0", @@ -83,7 +83,7 @@ "comlink": "4.4.1", "filesize": "9.0.11", "firebase": "10.5.2", - "flag-icons": "6.11.2", + "flag-icons": "6.12.0", "ionicons": "7.2.1", "leaflet": "1.9.4", "mp4-muxer": "3.0.1", @@ -95,21 +95,21 @@ "tslib": "2.6.2", "web-vitals": "3.5.0", "webm-muxer": "3.1.3", - "zone.js": "0.14.1" + "zone.js": "0.14.2" }, "devDependencies": { - "@angular-devkit/architect": "0.1602.8", - "@angular-devkit/build-angular": "16.2.8", + "@angular-devkit/architect": "0.1602.9", + "@angular-devkit/build-angular": "16.2.9", "@angular-eslint/builder": "16.2.0", "@angular-eslint/eslint-plugin": "16.2.0", "@angular-eslint/eslint-plugin-template": "16.2.0", "@angular-eslint/schematics": "16.2.0", "@angular-eslint/template-parser": "16.2.0", - "@angular/cli": "16.2.8", - "@angular/compiler-cli": "16.2.11", + "@angular/cli": "16.2.9", + "@angular/compiler-cli": "16.2.12", "@capacitor/assets": "3.0.1", "@capacitor/cli": "5.5.1", - "@ionic/angular-server": "7.5.2", + "@ionic/angular-server": "7.5.3", "@nguniversal/builders": "16.2.0", "@playwright/test": "1.37.1", "@sign-mt/configuration": "git://github.com/sign/.github.git", @@ -120,7 +120,7 @@ "@types/jasmine": "5.1.1", "@types/jasminewd2": "2.0.12", "@types/offscreencanvas": "2019.7.2", - "@types/three": "0.158.0", + "@types/three": "0.158.1", "@types/web-app-manifest": "1.0.6", "@types/webgl2": "0.0.9", "@types/wicg-file-system-access": "2023.10.2", @@ -128,7 +128,7 @@ "@typescript-eslint/parser": "6.9.1", "deepmerge": "4.3.1", "dotenv": "16.3.1", - "eslint": "8.52.0", + "eslint": "8.53.0", "fuzzy": "0.1.3", "husky": "8.0.3", "inquirer": "9.2.11", diff --git a/update-dependencies.sh b/update-dependencies.sh index ea41768b..5850105d 100755 --- a/update-dependencies.sh +++ b/update-dependencies.sh @@ -6,7 +6,6 @@ bun install # TODO @playwright/test 0.140 is buggy for us until updating typescript probably # TODO @tensorflow/tfjs 4.11.0 https://github.com/tensorflow/tfjs/issues/7974 -# TODO test capacitor assets after https://github.com/lovell/sharp/issues/3779 # Update server dependencies bun x npm-check-updates --cacheClear --cwd functions -u --reject node-fetch