From bea7d97d2008ac7f7c18bb3239e55b42eb4fe56f Mon Sep 17 00:00:00 2001 From: Bobbie Soedirgo Date: Mon, 27 Jun 2022 20:29:32 +0800 Subject: [PATCH] fix: import cross-fetch dynamically --- package-lock.json | 60 ++++++++++++++++++++++---------------------- package.json | 8 +++--- tsconfig.module.json | 2 +- 3 files changed, 35 insertions(+), 35 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2d5b1614..c2f35e4c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,11 +9,11 @@ "version": "0.0.0-automated", "license": "MIT", "dependencies": { - "@supabase/functions-js": "^1.3.3", - "@supabase/gotrue-js": "^1.22.14", - "@supabase/postgrest-js": "^0.37.2", + "@supabase/functions-js": "^1.3.4", + "@supabase/gotrue-js": "^1.22.17", + "@supabase/postgrest-js": "^0.37.4", "@supabase/realtime-js": "^1.7.2", - "@supabase/storage-js": "^1.7.0" + "@supabase/storage-js": "^1.7.2" }, "devDependencies": { "@types/jest": "^26.0.13", @@ -910,27 +910,27 @@ } }, "node_modules/@supabase/functions-js": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-1.3.3.tgz", - "integrity": "sha512-35vO9niHRtzGe1QSvXKdOfvGPiX2KC44dGpWU6y0/gZCfTIgog/soU9HqABzQC/maVowO3hGLWfez5aN0MKfow==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-1.3.4.tgz", + "integrity": "sha512-yYVgkECjv7IZEBKBI3EB5Q7R1p0FJ10g8Q9N7SWKIHUU6i6DnbEGHIMFLyQRm1hmiNWD8fL7bRVEYacmTRJhHw==", "dependencies": { "cross-fetch": "^3.1.5" } }, "node_modules/@supabase/gotrue-js": { - "version": "1.22.14", - "resolved": "https://registry.npmjs.org/@supabase/gotrue-js/-/gotrue-js-1.22.14.tgz", - "integrity": "sha512-/LeNV9BFJ9hxzK6KcmJsOF3apxSYd7HlZOD9dd9a3+Ah0cIMmjlFloW/u4vJXN7ko+Ol3EUWJ6iHcgNoT4gvTw==", + "version": "1.22.17", + "resolved": "https://registry.npmjs.org/@supabase/gotrue-js/-/gotrue-js-1.22.17.tgz", + "integrity": "sha512-IF5iJZgz0EBjWB/lx8GNMPTjw7ld1of774urSKbi+xw6PU5pb3tGcHsUfl6J12NlCXWiVQE53vJjCxKfh8nrwg==", "dependencies": { "cross-fetch": "^3.0.6" } }, "node_modules/@supabase/postgrest-js": { - "version": "0.37.2", - "resolved": "https://registry.npmjs.org/@supabase/postgrest-js/-/postgrest-js-0.37.2.tgz", - "integrity": "sha512-3Dgx5k3RvtKqc8DvR2BEyh2fVyjZe5P4e0zD1r8dyuVmpaYDaASZ2YeNVgyWXMCWH7xzrj4vepTYlKwfj78QLg==", + "version": "0.37.4", + "resolved": "https://registry.npmjs.org/@supabase/postgrest-js/-/postgrest-js-0.37.4.tgz", + "integrity": "sha512-x+c2rk1fz9s6f1PrGxCJ0QTUgXPDI0G3ngIqD5sSiXhhCyfl8Q5V92mXl2EYtlDhkiUkjFNrOZFhXVbXOHgvDw==", "dependencies": { - "cross-fetch": "^3.0.6" + "cross-fetch": "^3.1.5" } }, "node_modules/@supabase/realtime-js": { @@ -943,9 +943,9 @@ } }, "node_modules/@supabase/storage-js": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/@supabase/storage-js/-/storage-js-1.7.0.tgz", - "integrity": "sha512-f5EBw0wM96hKmnrXhgiqq2Reh9O0NgjKE+jkaKY4jQmfutefqaCAWn+cBzlmHs9h135H2ldaGmhWRFHUSkLt2g==", + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/@supabase/storage-js/-/storage-js-1.7.2.tgz", + "integrity": "sha512-HX4HAfLUJznVgAwiKVgdTe5QD0bpUcqgc0hpk/s5Uy8qoe1tHZAc5qE9kI+tqk7rQKyymFpiA7+bAHlzyZXxxQ==", "dependencies": { "cross-fetch": "^3.1.0" } @@ -9088,27 +9088,27 @@ } }, "@supabase/functions-js": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-1.3.3.tgz", - "integrity": "sha512-35vO9niHRtzGe1QSvXKdOfvGPiX2KC44dGpWU6y0/gZCfTIgog/soU9HqABzQC/maVowO3hGLWfez5aN0MKfow==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-1.3.4.tgz", + "integrity": "sha512-yYVgkECjv7IZEBKBI3EB5Q7R1p0FJ10g8Q9N7SWKIHUU6i6DnbEGHIMFLyQRm1hmiNWD8fL7bRVEYacmTRJhHw==", "requires": { "cross-fetch": "^3.1.5" } }, "@supabase/gotrue-js": { - "version": "1.22.14", - "resolved": "https://registry.npmjs.org/@supabase/gotrue-js/-/gotrue-js-1.22.14.tgz", - "integrity": "sha512-/LeNV9BFJ9hxzK6KcmJsOF3apxSYd7HlZOD9dd9a3+Ah0cIMmjlFloW/u4vJXN7ko+Ol3EUWJ6iHcgNoT4gvTw==", + "version": "1.22.17", + "resolved": "https://registry.npmjs.org/@supabase/gotrue-js/-/gotrue-js-1.22.17.tgz", + "integrity": "sha512-IF5iJZgz0EBjWB/lx8GNMPTjw7ld1of774urSKbi+xw6PU5pb3tGcHsUfl6J12NlCXWiVQE53vJjCxKfh8nrwg==", "requires": { "cross-fetch": "^3.0.6" } }, "@supabase/postgrest-js": { - "version": "0.37.2", - "resolved": "https://registry.npmjs.org/@supabase/postgrest-js/-/postgrest-js-0.37.2.tgz", - "integrity": "sha512-3Dgx5k3RvtKqc8DvR2BEyh2fVyjZe5P4e0zD1r8dyuVmpaYDaASZ2YeNVgyWXMCWH7xzrj4vepTYlKwfj78QLg==", + "version": "0.37.4", + "resolved": "https://registry.npmjs.org/@supabase/postgrest-js/-/postgrest-js-0.37.4.tgz", + "integrity": "sha512-x+c2rk1fz9s6f1PrGxCJ0QTUgXPDI0G3ngIqD5sSiXhhCyfl8Q5V92mXl2EYtlDhkiUkjFNrOZFhXVbXOHgvDw==", "requires": { - "cross-fetch": "^3.0.6" + "cross-fetch": "^3.1.5" } }, "@supabase/realtime-js": { @@ -9121,9 +9121,9 @@ } }, "@supabase/storage-js": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/@supabase/storage-js/-/storage-js-1.7.0.tgz", - "integrity": "sha512-f5EBw0wM96hKmnrXhgiqq2Reh9O0NgjKE+jkaKY4jQmfutefqaCAWn+cBzlmHs9h135H2ldaGmhWRFHUSkLt2g==", + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/@supabase/storage-js/-/storage-js-1.7.2.tgz", + "integrity": "sha512-HX4HAfLUJznVgAwiKVgdTe5QD0bpUcqgc0hpk/s5Uy8qoe1tHZAc5qE9kI+tqk7rQKyymFpiA7+bAHlzyZXxxQ==", "requires": { "cross-fetch": "^3.1.0" } diff --git a/package.json b/package.json index d25c94f1..27e88055 100644 --- a/package.json +++ b/package.json @@ -37,11 +37,11 @@ "docs:json": "typedoc --entryPoints src/index.ts --out docs --includes src/**/*.ts --json docs/spec.json" }, "dependencies": { - "@supabase/functions-js": "^1.3.3", - "@supabase/gotrue-js": "^1.22.14", - "@supabase/postgrest-js": "^0.37.2", + "@supabase/functions-js": "^1.3.4", + "@supabase/gotrue-js": "^1.22.17", + "@supabase/postgrest-js": "^0.37.4", "@supabase/realtime-js": "^1.7.2", - "@supabase/storage-js": "^1.7.0" + "@supabase/storage-js": "^1.7.2" }, "devDependencies": { "@types/jest": "^26.0.13", diff --git a/tsconfig.module.json b/tsconfig.module.json index d424e626..8726ca43 100644 --- a/tsconfig.module.json +++ b/tsconfig.module.json @@ -1,7 +1,7 @@ { "extends": "./tsconfig", "compilerOptions": { - "module": "ES2015", + "module": "ES2020", "outDir": "dist/module" } }