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

ali-rds

Package Overview
Dependencies
Maintainers
0
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ali-rds - npm Package Compare versions

Comparing version 6.4.0 to 6.5.0

lib/util/PoolWaitTimeout.d.ts

4

lib/client.d.ts

@@ -7,2 +7,3 @@ import mysql from 'mysql';

import { RDSTransaction } from './transaction';
export * from './types';
interface PoolPromisify extends Omit<Pool, 'query'> {

@@ -37,2 +38,4 @@ query(sql: string): Promise<any>;

};
waitPoolConnection(abortSignal: AbortSignal): Promise<number>;
getConnectionWithTimeout(): Promise<PoolConnectionPromisify>;
getConnection(): Promise<RDSConnection>;

@@ -62,2 +65,1 @@ /**

}
export {};
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
var __importDefault = (this && this.__importDefault) || function (mod) {

@@ -10,2 +24,3 @@ return (mod && mod.__esModule) ? mod : { "default": mod };

const node_util_1 = require("node:util");
const promises_1 = require("node:timers/promises");
const mysql_1 = __importDefault(require("mysql"));

@@ -18,8 +33,20 @@ const operator_1 = require("./operator");

const channels_1 = __importDefault(require("./channels"));
const PoolWaitTimeout_1 = require("./util/PoolWaitTimeout");
__exportStar(require("./types"), exports);
class RDSClient extends operator_1.Operator {
static get literals() { return literals_1.default; }
static get escape() { return mysql_1.default.escape; }
static get escapeId() { return mysql_1.default.escapeId; }
static get format() { return mysql_1.default.format; }
static get raw() { return mysql_1.default.raw; }
static get literals() {
return literals_1.default;
}
static get escape() {
return mysql_1.default.escape;
}
static get escapeId() {
return mysql_1.default.escapeId;
}
static get format() {
return mysql_1.default.format;
}
static get raw() {
return mysql_1.default.raw;
}
static #DEFAULT_STORAGE_KEY = Symbol('RDSClient#storage#default');

@@ -30,4 +57,6 @@ static #TRANSACTION_NEST_COUNT = Symbol('RDSClient#transaction#nestCount');

#connectionStorageKey;
#poolWaitTimeout;
constructor(options) {
super();
options.connectTimeout = options.connectTimeout ?? 500;
const { connectionStorage, connectionStorageKey, ...mysqlOptions } = options;

@@ -56,2 +85,3 @@ // get connection options from getConnectionConfig method every time

this.#connectionStorageKey = connectionStorageKey || _a.#DEFAULT_STORAGE_KEY;
this.#poolWaitTimeout = options.poolWaitTimeout ?? 500;
// https://github.com/mysqljs/mysql#pool-events

@@ -108,5 +138,24 @@ this.#pool.on('connection', (connection) => {

}
async waitPoolConnection(abortSignal) {
const now = performance.now();
await (0, promises_1.setTimeout)(this.#poolWaitTimeout, undefined, { signal: abortSignal });
return performance.now() - now;
}
async getConnectionWithTimeout() {
const connPromise = this.#pool.getConnection();
const timeoutAbortController = new AbortController();
const timeoutPromise = this.waitPoolConnection(timeoutAbortController.signal);
const connOrTimeout = await Promise.race([connPromise, timeoutPromise]);
if (typeof connOrTimeout === 'number') {
connPromise.then(conn => {
conn.release();
});
throw new PoolWaitTimeout_1.PoolWaitTimeoutError(`get connection timeout after ${connOrTimeout}ms`);
}
timeoutAbortController.abort();
return connPromise;
}
async getConnection() {
try {
const _conn = await this.#pool.getConnection();
const _conn = await this.getConnectionWithTimeout();
const conn = new connection_1.RDSConnection(_conn);

@@ -298,2 +347,2 @@ if (this.beforeQueryHandlers.length > 0) {

_a = RDSClient;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiL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Q1IsT0FBTyxNQUFNLElBQUksQ0FBQyw0QkFBNEIsQ0FBQyxLQUFLLEVBQUUsR0FBRyxDQUFDLENBQUM7UUFDN0QsQ0FBQztRQUNELEdBQUcsR0FBRyxFQUFFLENBQUM7UUFDVCxPQUFPLE1BQU0sSUFBSSxDQUFDLGtCQUFrQixDQUFDLEdBQUcsQ0FBQyxHQUFHLEVBQUUsS0FBSyxJQUFJLEVBQUU7WUFDdkQsT0FBTyxNQUFNLElBQUksQ0FBQyw0QkFBNEIsQ0FBQyxLQUFLLEVBQUUsR0FBSSxDQUFDLENBQUM7UUFDOUQsQ0FBQyxDQUFDLENBQUM7SUFDTCxDQUFDO0lBRUQsS0FBSyxDQUFDLEdBQUc7UUFDUCxNQUFNLElBQUksQ0FBQyxLQUFLLENBQUMsR0FBRyxFQUFFLENBQUM7SUFDekIsQ0FBQzs7QUE5VEgsOEJBK1RDIn0=
import { Operator } from './operator';
import type { PoolConnectionPromisify } from './types';
export declare class RDSConnection extends Operator {
#private;
conn: PoolConnectionPromisify;

@@ -5,0 +6,0 @@ constructor(conn: PoolConnectionPromisify);

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.RDSConnection = void 0;
const node_assert_1 = __importDefault(require("node:assert"));
const node_util_1 = require("node:util");

@@ -9,4 +13,6 @@ const operator_1 = require("./operator");

conn;
#released;
constructor(conn) {
super(conn);
this.#released = false;
this.conn = conn;

@@ -26,2 +32,4 @@ if (!this.conn[kWrapToRDS]) {

release() {
(0, node_assert_1.default)(!this.#released, 'connection was released');
this.#released = true;
return this.conn.release();

@@ -43,2 +51,2 @@ }

exports.RDSConnection = RDSConnection;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29ubmVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9jb25uZWN0aW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BQUMsR0FBRyxDQUFDLEdBQUcsSUFBQSxxQkFBUyxFQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQztZQUM3QyxDQUFDLENBQUMsQ0FBQztZQUNILElBQUksQ0FBQyxJQUFJLENBQUMsVUFBVSxDQUFDLEdBQUcsSUFBSSxDQUFDO1FBQy9CLENBQUM7SUFDSCxDQUFDO0lBRUQsT0FBTztRQUNMLElBQUEscUJBQU0sRUFBQyxDQUFDLElBQUksQ0FBQyxTQUFTLEVBQUUseUJBQXlCLENBQUMsQ0FBQztRQUNuRCxJQUFJLENBQUMsU0FBUyxHQUFHLElBQUksQ0FBQztRQUN0QixPQUFPLElBQUksQ0FBQyxJQUFJLENBQUMsT0FBTyxFQUFFLENBQUM7SUFDN0IsQ0FBQztJQUVELEtBQUssQ0FBQyxNQUFNLENBQUMsR0FBVztRQUN0QixPQUFPLE1BQU0sSUFBSSxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUMsR0FBRyxDQUFDLENBQUM7SUFDcEMsQ0FBQztJQUVELEtBQUssQ0FBQyxnQkFBZ0I7UUFDcEIsT0FBTyxNQUFNLElBQUksQ0FBQyxJQUFJLENBQUMsZ0JBQWdCLEVBQUUsQ0FBQztJQUM1QyxDQUFDO0lBRUQsS0FBSyxDQUFDLE1BQU07UUFDVixPQUFPLE1BQU0sSUFBSSxDQUFDLElBQUksQ0FBQyxNQUFNLEVBQUUsQ0FBQztJQUNsQyxDQUFDO0lBRUQsS0FBSyxDQUFDLFFBQVE7UUFDWixPQUFPLE1BQU0sSUFBSSxDQUFDLElBQUksQ0FBQyxRQUFRLEVBQUUsQ0FBQztJQUNwQyxDQUFDO0NBQ0Y7QUExQ0Qsc0NBMENDIn0=

@@ -8,2 +8,3 @@ import type { RDSConnection } from './connection';

conn: RDSConnection | null;
id: number;
constructor(conn: RDSConnection);

@@ -10,0 +11,0 @@ commit(): Promise<void>;

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

const operator_1 = require("./operator");
let id = 0;
class RDSTransaction extends operator_1.Operator {

@@ -10,4 +11,6 @@ isCommit = false;

conn;
id;
constructor(conn) {
super(conn.conn);
this.id = id++;
this.conn = conn;

@@ -48,2 +51,2 @@ }

exports.RDSTransaction = RDSTransaction;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvdHJhbnNhY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQ0EseUNBQXNDO0FBRXRDLE1BQWEsY0FBZSxTQUFRLG1CQUFRO0lBQzFDLFFBQVEsR0FBRyxLQUFLLENBQUM7SUFDakIsVUFBVSxHQUFHLEtBQUssQ0FBQztJQUNuQixJQUFJLENBQXVCO0lBQzNCLFlBQVksSUFBbUI7UUFDN0IsS0FBSyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsQ0FBQztRQUNqQixJQUFJLENBQUMsSUFBSSxHQUFHLElBQUksQ0FBQztJQUNuQixDQUFDO0lBRUQsS0FBSyxDQUFDLE1BQU07UUFDVixJQUFJLENBQUMsTUFBTSxFQUFFLENBQUM7UUFDZCxJQUFJLENBQUM7WUFDSCxPQUFPLE1BQU0sSUFBSSxDQUFDLElBQUssQ0FBQyxNQUFNLEVBQUUsQ0FBQztRQUNuQyxDQUFDO2dCQUFTLENBQUM7WUFDVCxJQUFJLENBQUMsUUFBUSxHQUFHLElBQUksQ0FBQztZQUNyQixJQUFJLENBQUMsSUFBSyxDQUFDLE9BQU8sRUFBRSxDQUFDO1lBQ3JCLElBQUksQ0FBQyxJQUFJLEdBQUcsSUFBSSxDQUFDO1FBQ25CLENBQUM7SUFDSCxDQUFDO0lBRUQsS0FBSyxDQUFDLFFBQVE7UUFDWixJQUFJLENBQUMsTUFBTSxFQUFFLENBQUM7UUFDZCxJQUFJLENBQUM7WUFDSCxPQUFPLE1B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sSUFBSSxDQUFDLElBQUksRUFBRSxDQUFDO1lBQ2YsTUFBTSxJQUFJLEtBQUssQ0FBQyxvQ0FBb0MsQ0FBQyxDQUFDO1FBQ3hELENBQUM7SUFDSCxDQUFDO0NBQ0Y7QUE1Q0Qsd0NBNENDIn0=

@@ -9,2 +9,3 @@ import { AsyncLocalStorage } from 'node:async_hooks';

getConnectionConfig?: GetConnectionConfig;
poolWaitTimeout?: number;
}

@@ -11,0 +12,0 @@ export interface PoolConnectionPromisify extends Omit<PoolConnection, 'query'> {

{
"name": "ali-rds",
"version": "6.4.0",
"version": "6.5.0",
"description": "Aliyun RDS client",

@@ -5,0 +5,0 @@ "main": "lib/client.js",

@@ -51,2 +51,9 @@ # ali-rds

// connectionStorageKey: 'datasource',
// The timeout for connecting to the MySQL server. (Default: 500 milliseconds)
// connectTimeout: 500,
// The timeout for waiting for a connection from the connection pool. (Default: 500 milliseconds)
// So max timeout for get a connection is (connectTimeout + poolWaitTimeout)
// poolWaitTimeout: 500,
});

@@ -53,0 +60,0 @@ ```

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