Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@supabase/functions-js

Package Overview
Dependencies
Maintainers
6
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@supabase/functions-js - npm Package Compare versions

Comparing version 2.1.3 to 2.1.4

11

dist/main/helper.js

@@ -25,2 +25,11 @@ "use strict";

};
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -34,3 +43,3 @@ exports.resolveFetch = void 0;

else if (typeof fetch === 'undefined') {
_fetch = (...args) => Promise.resolve().then(() => __importStar(require('@supabase/node-fetch'))).then(({ default: fetch }) => fetch(...args));
_fetch = (...args) => __awaiter(void 0, void 0, void 0, function* () { return yield (yield Promise.resolve().then(() => __importStar(require('cross-fetch')))).fetch(...args); });
}

@@ -37,0 +46,0 @@ else {

2

dist/main/version.d.ts

@@ -1,2 +0,2 @@

export declare const version = "2.1.3";
export declare const version = "2.1.4";
//# sourceMappingURL=version.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = '2.1.3';
exports.version = '2.1.4';
//# sourceMappingURL=version.js.map

@@ -0,1 +1,10 @@

var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
export const resolveFetch = (customFetch) => {

@@ -7,3 +16,3 @@ let _fetch;

else if (typeof fetch === 'undefined') {
_fetch = (...args) => import('@supabase/node-fetch').then(({ default: fetch }) => fetch(...args));
_fetch = (...args) => __awaiter(void 0, void 0, void 0, function* () { return yield (yield import('cross-fetch')).fetch(...args); });
}

@@ -10,0 +19,0 @@ else {

@@ -1,2 +0,2 @@

export declare const version = "2.1.3";
export declare const version = "2.1.4";
//# sourceMappingURL=version.d.ts.map

@@ -1,2 +0,2 @@

export const version = '2.1.3';
export const version = '2.1.4';
//# sourceMappingURL=version.js.map
{
"name": "@supabase/functions-js",
"version": "2.1.3",
"version": "2.1.4",
"description": "JS Client library to interact with Supabase Functions.",

@@ -39,3 +39,3 @@ "main": "dist/main/index.js",

"dependencies": {
"@supabase/node-fetch": "^2.6.13"
"cross-fetch": "^3.1.5"
},

@@ -42,0 +42,0 @@ "devDependencies": {

@@ -8,4 +8,3 @@ import { Fetch } from './types'

} else if (typeof fetch === 'undefined') {
_fetch = (...args) =>
import('@supabase/node-fetch' as any).then(({ default: fetch }) => fetch(...args))
_fetch = async (...args) => await (await import('cross-fetch')).fetch(...args)
} else {

@@ -12,0 +11,0 @@ _fetch = fetch

@@ -1,1 +0,1 @@

export const version = '2.1.3'
export const version = '2.1.4'

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc