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

@planetscale/database

Package Overview
Dependencies
Maintainers
4
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@planetscale/database - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

1

dist/index.d.ts

@@ -22,3 +22,2 @@ export { format } from './sanitization.js';

rowsAffected: number | null;
error: VitessError | null;
time: number;

@@ -25,0 +24,0 @@ }

4

dist/index.js

@@ -76,2 +76,5 @@ import { format } from './sanitization.js';

const { result, session, error } = saved;
if (error) {
throw new DatabaseError(error.message, 400, error);
}
const rowsAffected = result?.rowsAffected ? parseInt(result.rowsAffected, 10) : null;

@@ -90,3 +93,2 @@ const insertId = result?.insertId ?? null;

insertId,
error: error ?? null,
size: rows.length,

@@ -93,0 +95,0 @@ statement: sql,

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

export declare const Version = "1.1.0";
export declare const Version = "1.2.0";

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

export const Version = '1.1.0';
export const Version = '1.2.0';
{
"name": "@planetscale/database",
"version": "1.1.0",
"version": "1.2.0",
"description": "A Fetch API-compatible PlanetScale database driver",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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