Dependency updates

This commit is contained in:
Roman Krček
2025-07-18 13:45:55 +02:00
parent fa6b8312c6
commit 1a8ce546d4
3 changed files with 12 additions and 16 deletions

22
package-lock.json generated
View File

@@ -12,8 +12,8 @@
"@tensorflow/tfjs": "^4.22.0", "@tensorflow/tfjs": "^4.22.0",
"@tensorflow/tfjs-backend-webgl": "^4.22.0", "@tensorflow/tfjs-backend-webgl": "^4.22.0",
"@types/gapi": "^0.0.47", "@types/gapi": "^0.0.47",
"@types/gapi.client.drive": "^3.0.15", "@types/gapi.client.drive-v3": "^0.0.5",
"@types/gapi.client.sheets": "^4.0.20201031", "@types/gapi.client.sheets-v4": "^0.0.4",
"@types/google.accounts": "^0.0.17", "@types/google.accounts": "^0.0.17",
"@types/uuid": "^10.0.0", "@types/uuid": "^10.0.0",
"fontkit": "^2.0.4", "fontkit": "^2.0.4",
@@ -1519,21 +1519,19 @@
"@maxim_mazurok/gapi.client.discovery-v1": "latest" "@maxim_mazurok/gapi.client.discovery-v1": "latest"
} }
}, },
"node_modules/@types/gapi.client.drive": { "node_modules/@types/gapi.client.drive-v3": {
"version": "3.0.15", "version": "0.0.5",
"resolved": "https://registry.npmjs.org/@types/gapi.client.drive/-/gapi.client.drive-3.0.15.tgz", "resolved": "https://registry.npmjs.org/@types/gapi.client.drive-v3/-/gapi.client.drive-v3-0.0.5.tgz",
"integrity": "sha512-qEfI0LxUBadOLmym4FkaNGpI4ibBCBPJHiUFWKIv0GIp7yKT2d+wztJYKr9giIRecErUCF+jGSDw1fzTZ6hPVQ==", "integrity": "sha512-yYBxiqMqJVBg4bns4Q28+f2XdJnd3tVA9dxQX1lXMVmzT2B+pZdyCi1u9HLwGveVlookSsAXuqfLfS9KO6MF6w==",
"deprecated": "use @types/gapi.client.drive-v3 instead; see https://github.com/Maxim-Mazurok/google-api-typings-generator/issues/652 for details",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@maxim_mazurok/gapi.client.drive-v3": "latest" "@maxim_mazurok/gapi.client.drive-v3": "latest"
} }
}, },
"node_modules/@types/gapi.client.sheets": { "node_modules/@types/gapi.client.sheets-v4": {
"version": "4.0.20201031", "version": "0.0.4",
"resolved": "https://registry.npmjs.org/@types/gapi.client.sheets/-/gapi.client.sheets-4.0.20201031.tgz", "resolved": "https://registry.npmjs.org/@types/gapi.client.sheets-v4/-/gapi.client.sheets-v4-0.0.4.tgz",
"integrity": "sha512-1Aiu11rNNoyPDHW6v8TVcSmlDN+MkxSuafwiawaK5YqZ+uYA+O63vjUvkK+3qNduSLh7D9qBJc/8GGwgN6gsTw==", "integrity": "sha512-6kTJ7aDMAElfdQV1XzVJmZWjgbibpa84DMuKuaN8Cwqci/dkglPyHXKvsGrRugmuYvgFYr35AQqwz6j3q8R0dw==",
"deprecated": "use @types/gapi.client.sheets-v4 instead; see https://github.com/Maxim-Mazurok/google-api-typings-generator/issues/652 for details",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@maxim_mazurok/gapi.client.sheets-v4": "latest" "@maxim_mazurok/gapi.client.sheets-v4": "latest"

View File

@@ -33,8 +33,8 @@
"@tensorflow/tfjs": "^4.22.0", "@tensorflow/tfjs": "^4.22.0",
"@tensorflow/tfjs-backend-webgl": "^4.22.0", "@tensorflow/tfjs-backend-webgl": "^4.22.0",
"@types/gapi": "^0.0.47", "@types/gapi": "^0.0.47",
"@types/gapi.client.drive": "^3.0.15", "@types/gapi.client.drive-v3": "^0.0.5",
"@types/gapi.client.sheets": "^4.0.20201031", "@types/gapi.client.sheets-v4": "^0.0.4",
"@types/google.accounts": "^0.0.17", "@types/google.accounts": "^0.0.17",
"@types/uuid": "^10.0.0", "@types/uuid": "^10.0.0",
"fontkit": "^2.0.4", "fontkit": "^2.0.4",

View File

@@ -13,8 +13,6 @@ export function initGoogleClient(callback: () => void) {
script.onload = () => { script.onload = () => {
gapi.load('client', async () => { gapi.load('client', async () => {
await gapi.client.init({ await gapi.client.init({
// NOTE: API KEY IS NOT REQUIRED FOR THIS IMPLEMENTATION
// apiKey: 'YOUR_API_KEY',
discoveryDocs: [ discoveryDocs: [
'https://www.googleapis.com/discovery/v1/apis/drive/v3/rest', 'https://www.googleapis.com/discovery/v1/apis/drive/v3/rest',
'https://www.googleapis.com/discovery/v1/apis/sheets/v4/rest', 'https://www.googleapis.com/discovery/v1/apis/sheets/v4/rest',