Skip to content

Commit

Permalink
chore(): update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
AmitMY committed Oct 21, 2024
1 parent e7b5faf commit e3812d6
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 46 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ jobs:
# run: npm run test:ci

- name: Create .env file
run: echo "OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}" > .env
run: |
echo "OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}" > .env
echo "UNKEY_ROOT_KEY=${{ secrets.UNKEY_ROOT_KEY }}" >> .env
- name: Deploy Cloud Functions
run: bun x firebase deploy --only functions:translate --token "${{ secrets.FIREBASE_TOKEN }}"
12 changes: 6 additions & 6 deletions functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"main": "lib/index.js",
"dependencies": {
"@firebase/database-types": "1.0.5",
"@firebase/database-types": "1.0.6",
"@google-cloud/storage": "7.13.0",
"@sign-mt/browsermt": "0.2.3",
"@unkey/api": "0.26.2",
Expand All @@ -33,21 +33,21 @@
"http-errors": "2.0.0",
"http-proxy-middleware": "^3.0.3",
"node-fetch": "2.6.7",
"openai": "4.67.3",
"openai": "4.68.1",
"request-ip": "3.3.0"
},
"devDependencies": {
"@firebase/firestore-types": "3.0.2",
"@firebase/rules-unit-testing": "3.0.4",
"@firebase/rules-unit-testing": "4.0.0",
"@types/http-errors": "2.0.4",
"@types/jest": "29.5.13",
"@types/node-fetch": "2.6.11",
"@types/request-ip": "0.0.41",
"@typescript-eslint/eslint-plugin": "8.9.0",
"@typescript-eslint/parser": "8.9.0",
"@typescript-eslint/eslint-plugin": "8.11.0",
"@typescript-eslint/parser": "8.11.0",
"eslint": "8.57.0",
"firebase-functions-test": "3.3.0",
"firebase-tools": "13.22.0",
"firebase-tools": "13.22.1",
"jest": "29.7.0",
"minimatch": "10.0.1",
"mock-express-request": "0.2.2",
Expand Down
9 changes: 8 additions & 1 deletion functions/src/gateway/spoken-to-signed.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {Application} from 'express';
import {Application, Request, Response} from 'express';
import {paths} from './utils';
import {createProxyMiddleware} from 'http-proxy-middleware';
import * as http from 'http';

export function spokenToSigned(app: Application) {
app.use(
Expand All @@ -16,6 +17,12 @@ export function spokenToSigned(app: Application) {
createProxyMiddleware({
target: 'https://us-central1-sign-mt.cloudfunctions.net/spoken_text_to_signed_video',
changeOrigin: true,
selfHandleResponse: true,
on: {
proxyRes: (proxyRes: http.IncomingMessage, req: Request, res: Response) => {
proxyRes.pipe(res);
},
},
})
);
}
66 changes: 33 additions & 33 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,25 +39,25 @@
"private": true,
"dependencies": {
"@angular/animations": "18.2.8",
"@angular/cdk": "18.2.8",
"@angular/cdk": "18.2.9",
"@angular/common": "18.2.8",
"@angular/compiler": "18.2.8",
"@angular/core": "18.2.8",
"@angular/forms": "18.2.8",
"@angular/material": "18.2.8",
"@angular/material": "18.2.9",
"@angular/platform-browser": "18.2.8",
"@angular/platform-browser-dynamic": "18.2.8",
"@angular/platform-server": "18.2.8",
"@angular/router": "18.2.8",
"@angular/service-worker": "18.2.8",
"@angular/ssr": "18.2.8",
"@angular/ssr": "18.2.9",
"@asymmetrik/ngx-leaflet": "18.0.1",
"@capacitor-firebase/analytics": "6.1.0",
"@capacitor-firebase/app": "6.1.0",
"@capacitor-firebase/app-check": "6.1.0",
"@capacitor-firebase/crashlytics": "6.1.0",
"@capacitor-firebase/performance": "6.1.0",
"@capacitor-firebase/storage": "6.1.0",
"@capacitor-firebase/analytics": "6.2.0",
"@capacitor-firebase/app": "6.2.0",
"@capacitor-firebase/app-check": "6.2.0",
"@capacitor-firebase/crashlytics": "6.2.0",
"@capacitor-firebase/performance": "6.2.0",
"@capacitor-firebase/storage": "6.2.0",
"@capacitor/android": "6.1.2",
"@capacitor/clipboard": "6.0.1",
"@capacitor/core": "6.1.2",
Expand All @@ -68,29 +68,29 @@
"@capacitor/splash-screen": "6.0.2",
"@ctrl/ngx-github-buttons": "9.0.0",
"@google/model-viewer": "3.5.0",
"@ionic/angular": "8.3.2",
"@ionic/angular": "8.3.3",
"@mediapipe/drawing_utils": "0.3.1675466124",
"@mediapipe/holistic": "0.5.1675471629",
"@mediapipe/tasks-text": "0.10.16",
"@ngneat/transloco": "6.0.4",
"@ngxs/store": "18.1.1",
"@ngxs/store": "18.1.3",
"@sign-mt/browsermt": "0.2.3",
"@sign-mt/i18n": "git://github.com/sign/i18n.git",
"@sutton-signwriting/font-ttf": "1.5.2",
"@sutton-signwriting/sgnw-components": "1.1.0",
"@tensorflow/tfjs": "4.21.0",
"@tensorflow/tfjs-backend-wasm": "4.21.0",
"@tensorflow/tfjs-backend-webgl": "4.21.0",
"@tensorflow/tfjs-backend-webgpu": "4.21.0",
"@tensorflow/tfjs-converter": "4.21.0",
"@tensorflow/tfjs-core": "4.21.0",
"@tensorflow/tfjs-layers": "4.21.0",
"@tensorflow/tfjs": "4.22.0",
"@tensorflow/tfjs-backend-wasm": "4.22.0",
"@tensorflow/tfjs-backend-webgl": "4.22.0",
"@tensorflow/tfjs-backend-webgpu": "4.22.0",
"@tensorflow/tfjs-converter": "4.22.0",
"@tensorflow/tfjs-core": "4.22.0",
"@tensorflow/tfjs-layers": "4.22.0",
"base64-blob": "1.4.1",
"capacitor-blob-writer": "1.1.17",
"cld3-asm": "4.0.0",
"comlink": "4.4.1",
"filesize": "9.0.11",
"firebase": "10.14.1",
"firebase": "11.0.0",
"flag-icons": "7.2.3",
"ionicons": "7.4.0",
"leaflet": "1.9.4",
Expand All @@ -100,27 +100,27 @@
"pose-viewer": "0.10.0",
"rxjs": "7.8.1",
"stats.js": "0.17.0",
"swiper": "^11.1.14",
"swiper": "11.1.14",
"three": "0.169.0",
"tslib": "2.7.0",
"tslib": "2.8.0",
"web-vitals": "4.2.3",
"webm-muxer": "5.0.2",
"zone.js": "0.15.0"
},
"devDependencies": {
"@angular-devkit/architect": "0.1802.8",
"@angular-devkit/build-angular": "18.2.8",
"@angular-eslint/builder": "18.3.1",
"@angular-eslint/eslint-plugin": "18.3.1",
"@angular-eslint/eslint-plugin-template": "18.3.1",
"@angular-eslint/schematics": "18.3.1",
"@angular-eslint/template-parser": "18.3.1",
"@angular/cli": "18.2.8",
"@angular-devkit/architect": "0.1802.9",
"@angular-devkit/build-angular": "18.2.9",
"@angular-eslint/builder": "18.4.0",
"@angular-eslint/eslint-plugin": "18.4.0",
"@angular-eslint/eslint-plugin-template": "18.4.0",
"@angular-eslint/schematics": "18.4.0",
"@angular-eslint/template-parser": "18.4.0",
"@angular/cli": "18.2.9",
"@angular/compiler-cli": "18.2.8",
"@capacitor/assets": "3.0.5",
"@capacitor/cli": "6.1.2",
"@ionic/angular-server": "8.3.2",
"@playwright/test": "1.48.0",
"@ionic/angular-server": "8.3.3",
"@playwright/test": "1.48.1",
"@sign-mt/configuration": "git://github.com/sign/.github.git",
"@trapezedev/project": "7.0.10",
"@types/dom-mediacapture-transform": "0.1.10",
Expand All @@ -133,8 +133,8 @@
"@types/web-app-manifest": "1.0.8",
"@types/webgl2": "0.0.11",
"@types/wicg-file-system-access": "2023.10.5",
"@typescript-eslint/eslint-plugin": "8.9.0",
"@typescript-eslint/parser": "8.9.0",
"@typescript-eslint/eslint-plugin": "8.11.0",
"@typescript-eslint/parser": "8.11.0",
"browser-sync": "3.0.3",
"deepmerge": "4.3.1",
"dotenv": "16.4.5",
Expand Down
10 changes: 5 additions & 5 deletions src/app/core/helpers/iana/languages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const IANASignedLanguages = [
{signed: 'mdl', spoken: 'mt', country: 'mt', abbreviation: ''}, // Maltese Sign Language
{signed: 'nsr', spoken: 'en', country: 'ca', abbreviation: ''}, // Maritime Sign Language
{signed: 'lsy', spoken: 'en', country: 'mu', abbreviation: ''}, // Mauritian Sign Language
{signed: 'mre', spoken: 'en', country: 'us', abbreviation: ''}, // Martha's Vineyard Sign Language
{signed: 'mre', spoken: 'en', country: 'us', abbreviation: 'MVSL'}, // Martha's Vineyard Sign Language
{signed: 'mfs', spoken: 'es', country: 'mx', abbreviation: ''}, // Mexican Sign Language
{signed: 'rsm', spoken: 'en', country: 'au', abbreviation: ''}, // Miriwoong Sign Language
{signed: 'ehs', spoken: 'ja', country: 'jp', abbreviation: ''}, // Miyakubo Sign Language
Expand All @@ -94,7 +94,7 @@ export const IANASignedLanguages = [
{signed: 'ysm', spoken: 'my', country: 'mm', abbreviation: ''}, // Myanmar Sign Language
{signed: 'nbs', spoken: 'en', country: 'na', abbreviation: ''}, // Namibian Sign Language
{signed: 'nsp', spoken: 'ne', country: 'np', abbreviation: ''}, // Nepalese Sign Language
{signed: 'nzs', spoken: 'en', country: 'nz', abbreviation: ''}, // New Zealand Sign Language
{signed: 'nzs', spoken: 'en', country: 'nz', abbreviation: 'NZSL'}, // New Zealand Sign Language
{signed: 'ncs', spoken: 'es', country: 'ni', abbreviation: ''}, // Nicaraguan Sign Language
{signed: 'nsi', spoken: 'en', country: 'ng', abbreviation: ''}, // Nigerian Sign Language
{signed: 'nsl', spoken: 'no', country: 'no', abbreviation: ''}, // Norwegian Sign Language
Expand All @@ -108,11 +108,11 @@ export const IANASignedLanguages = [
{signed: 'prl', spoken: 'es', country: 'pe', abbreviation: ''}, // Peruvian Sign Language
{signed: 'psp', spoken: 'en', country: 'ph', abbreviation: ''}, // Philippine Sign Language
{signed: 'psd', spoken: 'en', country: 'us', abbreviation: ''}, // Plains Indian Sign Language
{signed: 'pso', spoken: 'pl', country: 'pl', abbreviation: ''}, // Polish Sign Language (PJM)
{signed: 'pso', spoken: 'pl', country: 'pl', abbreviation: 'PJM'}, // Polish Sign Language
{signed: 'psr', spoken: 'pt', country: 'pt', abbreviation: ''}, // Portuguese Sign Language
{signed: 'prz', spoken: 'es', country: 'co', abbreviation: ''}, // Providencia Sign Language
{signed: 'psl', spoken: 'es', country: 'pr', abbreviation: ''}, // Puerto Rican Sign Language
{signed: 'fcs', spoken: 'fr', country: 'ca', abbreviation: ''}, // Quebec Sign Language
{signed: 'psl', spoken: 'es', country: 'pr', abbreviation: 'PRSL'}, // Puerto Rican Sign Language
{signed: 'fcs', spoken: 'fr', country: 'ca', abbreviation: 'LSQ'}, // Quebec Sign Language
{signed: 'rsi', spoken: 'en', country: 'sb', abbreviation: ''}, // Rennellese Sign Language
{signed: 'rms', spoken: 'ro', country: 'ro', abbreviation: ''}, // Romanian Sign Language
{signed: 'rsl', spoken: 'ru', country: 'ru', abbreviation: ''}, // Russian Sign Language
Expand Down

0 comments on commit e3812d6

Please sign in to comment.