@supabase/postgrest-js
Advanced tools
Comparing version 1.8.3 to 1.8.4
@@ -6,3 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const cross_fetch_1 = __importDefault(require("cross-fetch")); | ||
// @ts-ignore | ||
const node_fetch_1 = __importDefault(require("@supabase/node-fetch")); | ||
class PostgrestBuilder { | ||
@@ -23,3 +24,3 @@ constructor(builder) { | ||
else if (typeof fetch === 'undefined') { | ||
this.fetch = cross_fetch_1.default; | ||
this.fetch = node_fetch_1.default; | ||
} | ||
@@ -26,0 +27,0 @@ else { |
@@ -1,2 +0,2 @@ | ||
export declare const version = "1.8.3"; | ||
export declare const version = "1.8.4"; | ||
//# sourceMappingURL=version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = void 0; | ||
exports.version = '1.8.3'; | ||
exports.version = '1.8.4'; | ||
//# sourceMappingURL=version.js.map |
@@ -1,2 +0,3 @@ | ||
import crossFetch from 'cross-fetch'; | ||
// @ts-ignore | ||
import nodeFetch from '@supabase/node-fetch'; | ||
export default class PostgrestBuilder { | ||
@@ -17,3 +18,3 @@ constructor(builder) { | ||
else if (typeof fetch === 'undefined') { | ||
this.fetch = crossFetch; | ||
this.fetch = nodeFetch; | ||
} | ||
@@ -20,0 +21,0 @@ else { |
@@ -1,2 +0,2 @@ | ||
export declare const version = "1.8.3"; | ||
export declare const version = "1.8.4"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export const version = '1.8.3'; | ||
export const version = '1.8.4'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@supabase/postgrest-js", | ||
"version": "1.8.3", | ||
"version": "1.8.4", | ||
"description": "Isomorphic PostgREST client", | ||
@@ -38,3 +38,3 @@ "keywords": [ | ||
"dependencies": { | ||
"cross-fetch": "^3.1.8" | ||
"@supabase/node-fetch": "^2.6.14" | ||
}, | ||
@@ -41,0 +41,0 @@ "devDependencies": { |
@@ -1,2 +0,3 @@ | ||
import crossFetch from 'cross-fetch' | ||
// @ts-ignore | ||
import nodeFetch from '@supabase/node-fetch' | ||
@@ -31,3 +32,3 @@ import type { Fetch, PostgrestSingleResponse } from './types' | ||
} else if (typeof fetch === 'undefined') { | ||
this.fetch = crossFetch | ||
this.fetch = nodeFetch | ||
} else { | ||
@@ -34,0 +35,0 @@ this.fetch = fetch |
@@ -1,1 +0,1 @@ | ||
export const version = '1.8.3' | ||
export const version = '1.8.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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
342984
5780
+ Added@supabase/node-fetch@^2.6.14
+ Added@supabase/node-fetch@2.6.15(transitive)
- Removedcross-fetch@^3.1.8
- Removedcross-fetch@3.1.8(transitive)
- Removednode-fetch@2.7.0(transitive)