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

@dbpath/tables

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dbpath/tables - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4

4

dist/src/pathSpec.d.ts

@@ -8,3 +8,2 @@ import { NameAnd } from "@dbpath/utils";

wheres?: string[];
queryParams?: NameAnd<string>;
}

@@ -15,6 +14,5 @@ export interface PathSpec extends PathSpecForWheres {

id: string | undefined;
queryParams: NameAnd<string>;
limit?: number;
}
export declare function makePathSpec(schema: string, path: string, table2Pk?: NameAnd<HasPk>, id?: string, queryParams?: NameAnd<string>, wheres?: string[]): PathSpec;
export declare function makePathSpec(schema: string, path: string, table2Pk?: NameAnd<HasPk>, id?: string, wheres?: string[]): PathSpec;
export declare function quoteIfNeeded(type: string, s: string): string;

@@ -5,3 +5,3 @@ "use strict";

const utils_1 = require("@dbpath/utils");
function makePathSpec(schema, path, table2Pk, id, queryParams, wheres) {
function makePathSpec(schema, path, table2Pk, id, wheres) {
return {

@@ -13,3 +13,2 @@ schema,

table2Pk,
queryParams: (0, utils_1.safeObject)(queryParams),
wheres: (0, utils_1.safeArray)(wheres)

@@ -16,0 +15,0 @@ };

{
"name": "@dbpath/tables",
"description": "",
"version": "0.3.3",
"version": "0.3.4",
"main": "dist/index",

@@ -20,5 +20,5 @@ "types": "dist/index",

"dependencies": {
"@dbpath/utils": "0.3.3",
"@dbpath/types": "0.3.3",
"@dbpath/fixtures": "0.3.3"
"@dbpath/utils": "0.3.4",
"@dbpath/types": "0.3.4",
"@dbpath/fixtures": "0.3.4"
},

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

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