🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@supabase/postgrest-js

Package Overview
Dependencies
Maintainers
4
Versions
152
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@supabase/postgrest-js - npm Package Compare versions

Comparing version

to
0.28.2

5

dist/main/lib/PostgrestQueryBuilder.js

@@ -59,2 +59,7 @@ "use strict";

this.headers['Prefer'] = prefersHeaders.join(',');
if (Array.isArray(values)) {
const columns = values.reduce((acc, x) => acc.concat(Object.keys(x)), []);
const uniqueColumns = [...new Set(columns)];
this.url.searchParams.set('columns', uniqueColumns.join(','));
}
return new PostgrestFilterBuilder_1.default(this);

@@ -61,0 +66,0 @@ }

@@ -54,2 +54,7 @@ import { PostgrestBuilder } from './types';

this.headers['Prefer'] = prefersHeaders.join(',');
if (Array.isArray(values)) {
const columns = values.reduce((acc, x) => acc.concat(Object.keys(x)), []);
const uniqueColumns = [...new Set(columns)];
this.url.searchParams.set('columns', uniqueColumns.join(','));
}
return new PostgrestFilterBuilder(this);

@@ -56,0 +61,0 @@ }

2

package.json
{
"name": "@supabase/postgrest-js",
"version": "0.28.1",
"version": "0.28.2",
"description": "Isomorphic PostgREST client",

@@ -5,0 +5,0 @@ "keywords": [

@@ -110,2 +110,8 @@ import { PostgrestBuilder } from './types'

if (Array.isArray(values)) {
const columns = values.reduce((acc, x) => acc.concat(Object.keys(x)), [] as string[])
const uniqueColumns = [...new Set(columns)]
this.url.searchParams.set('columns', uniqueColumns.join(','))
}
return new PostgrestFilterBuilder(this)

@@ -112,0 +118,0 @@ }

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