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

@supabase/postgrest-js

Package Overview
Dependencies
Maintainers
5
Versions
139
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 1.0.0-next.1 to 1.0.0-next.2

4

dist/main/PostgrestTransformBuilder.js

@@ -38,6 +38,6 @@ "use strict";

}
order(column, { ascending = true, nullsFirst = true, foreignTable, } = {}) {
order(column, { ascending = true, nullsFirst, foreignTable, } = {}) {
const key = foreignTable ? `${foreignTable}.order` : 'order';
const existingOrder = this.url.searchParams.get(key);
this.url.searchParams.set(key, `${existingOrder ? `${existingOrder},` : ''}${column}.${ascending ? 'asc' : 'desc'}.${nullsFirst ? 'nullsfirst' : 'nullslast'}`);
this.url.searchParams.set(key, `${existingOrder ? `${existingOrder},` : ''}${column}.${ascending ? 'asc' : 'desc'}${nullsFirst === undefined ? '' : nullsFirst ? '.nullsfirst' : '.nullslast'}`);
return this;

@@ -44,0 +44,0 @@ }

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

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

@@ -33,6 +33,6 @@ import PostgrestBuilder from './PostgrestBuilder';

}
order(column, { ascending = true, nullsFirst = true, foreignTable, } = {}) {
order(column, { ascending = true, nullsFirst, foreignTable, } = {}) {
const key = foreignTable ? `${foreignTable}.order` : 'order';
const existingOrder = this.url.searchParams.get(key);
this.url.searchParams.set(key, `${existingOrder ? `${existingOrder},` : ''}${column}.${ascending ? 'asc' : 'desc'}.${nullsFirst ? 'nullsfirst' : 'nullslast'}`);
this.url.searchParams.set(key, `${existingOrder ? `${existingOrder},` : ''}${column}.${ascending ? 'asc' : 'desc'}${nullsFirst === undefined ? '' : nullsFirst ? '.nullsfirst' : '.nullslast'}`);
return this;

@@ -39,0 +39,0 @@ }

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

export declare const version = "1.0.0-next.1";
export declare const version = "1.0.0-next.2";
//# sourceMappingURL=version.d.ts.map

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

export const version = '1.0.0-next.1';
export const version = '1.0.0-next.2';
//# sourceMappingURL=version.js.map
{
"name": "@supabase/postgrest-js",
"version": "1.0.0-next.1",
"version": "1.0.0-next.2",
"description": "Isomorphic PostgREST client",

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

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