New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@libsql/core

Package Overview
Dependencies
Maintainers
3
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libsql/core - npm Package Compare versions

Comparing version
0.15.15
to
0.16.0
+12
-1
lib-cjs/api.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LibsqlError = void 0;
exports.LibsqlBatchError = exports.LibsqlError = void 0;
/** Error thrown by the client. */

@@ -21,1 +21,12 @@ class LibsqlError extends Error {

exports.LibsqlError = LibsqlError;
/** Error thrown by the client during batch operations. */
class LibsqlBatchError extends LibsqlError {
/** The zero-based index of the statement that failed in the batch. */
statementIndex;
constructor(message, statementIndex, code, rawCode, cause) {
super(message, code, rawCode, cause);
this.statementIndex = statementIndex;
this.name = "LibsqlBatchError";
}
}
exports.LibsqlBatchError = LibsqlBatchError;

@@ -450,1 +450,7 @@ /** Configuration object for {@link createClient}. */

}
/** Error thrown by the client during batch operations. */
export declare class LibsqlBatchError extends LibsqlError {
/** The zero-based index of the statement that failed in the batch. */
statementIndex: number;
constructor(message: string, statementIndex: number, code: string, rawCode?: number, cause?: Error);
}

@@ -17,1 +17,11 @@ /** Error thrown by the client. */

}
/** Error thrown by the client during batch operations. */
export class LibsqlBatchError extends LibsqlError {
/** The zero-based index of the statement that failed in the batch. */
statementIndex;
constructor(message, statementIndex, code, rawCode, cause) {
super(message, code, rawCode, cause);
this.statementIndex = statementIndex;
this.name = "LibsqlBatchError";
}
}
+1
-1
{
"name": "@libsql/core",
"version": "0.15.15",
"version": "0.16.0",
"keywords": [

@@ -5,0 +5,0 @@ "libsql",