uranio 0.1.67 → 0.1.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.envrc +1 -0
- package/.uranio/package.json +1 -1
- package/.uranio/src/client/mysql.ts +3 -1
- package/package.json +1 -1
- package/shell.nix +14 -0
package/.envrc
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
use nix
|
package/.uranio/package.json
CHANGED
|
@@ -64,7 +64,9 @@ export class MySQLClient {
|
|
|
64
64
|
log.trace(`Retrieving pool connection...`);
|
|
65
65
|
const pool_connection = await this.pool.getConnection();
|
|
66
66
|
log.trace(`[${pool_connection.threadId}] Retrieved pool connection`);
|
|
67
|
-
|
|
67
|
+
// NOTE: For some reason they removed the execute method from the typescript
|
|
68
|
+
// declaration file. The execute method is still in the javascript
|
|
69
|
+
const [rows, fields] = await (pool_connection as any).execute(sql, values);
|
|
68
70
|
log.trace(`Releasing pool connection...`);
|
|
69
71
|
pool_connection.release();
|
|
70
72
|
log.trace(`[${pool_connection.threadId}] Released pool connection`);
|
package/package.json
CHANGED
package/shell.nix
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{ pkgs ? import <nixpkgs> {} }:
|
|
2
|
+
pkgs.mkShell {
|
|
3
|
+
packages = [
|
|
4
|
+
pkgs.nodejs_24
|
|
5
|
+
pkgs.nodePackages_latest.yarn
|
|
6
|
+
pkgs.nodePackages_latest.typescript
|
|
7
|
+
pkgs.nodePackages_latest.typescript-language-server
|
|
8
|
+
];
|
|
9
|
+
shellHook = ''
|
|
10
|
+
export NODE_ENV=development
|
|
11
|
+
echo "node: $(node -v) | npm: $(npm -v) | yarn: $(yarn -v) | typescript: $(tsc -v)"
|
|
12
|
+
'';
|
|
13
|
+
}
|
|
14
|
+
|