diff --git a/.eslintrc.js b/.eslintrc.js
index 39741e1..43bb992 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -19,9 +19,11 @@ module.exports = {
],
plugins: ['@typescript-eslint', 'prettier'],
rules: {
+ '@typescript-eslint/no-non-null-assertion': 'off',
+ '@typescript-eslint/no-explicit-any': 'off',
'prettier/prettier': 'warn',
semi: ['error', 'always'],
- quotes: ['error', 'single'],
+ quotes: ['error', 'single', { avoidEscape: true }],
},
ignorePatterns: ['**/dist/*'],
};
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 80b515d..2e65485 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -46,7 +46,7 @@ jobs:
- name: Run tests
run: pnpm test:ci
- - uses: codecov/codecov-action@v2
+ - uses: codecov/codecov-action@v3
name: Publish code coverage
with:
directory: coverage
diff --git a/README.md b/README.md
index 06e379f..b9175ae 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
-[![codecov](https://codecov.io/gh/libsabl/db-api-js/branch/main/graph/badge.svg?token=TVL1XYSJHA)](https://app.codecov.io/gh/libsabl/db-api-js/branch/main)
+[![codecov](https://codecov.io/gh/libsabl/db-api-js/branch/main/graph/badge.svg?token=Il5Qqcc3M0)](https://app.codecov.io/gh/libsabl/db-api-js/branch/main)
diff --git a/build/publish.js b/build/publish.js
index a3c1ef9..36048e8 100644
--- a/build/publish.js
+++ b/build/publish.js
@@ -38,7 +38,7 @@ function removeChunk(source, label) {
async function addReadmeHeaders(source, pkgv) {
const commit = await gitGetCommit();
- const codeCovImg = `https://codecov.io/gh/libsabl/db-api-js/commit/${commit}/graph/badge.svg?token=TVL1XYSJHA`;
+ const codeCovImg = `https://codecov.io/gh/libsabl/db-api-js/commit/${commit}/graph/badge.svg?token=Il5Qqcc3M0`;
const codeCovPage = `https://codecov.io/gh/libsabl/db-api-js/tree/${commit}/src`;
const ghBrowse = `https://github.com/libsabl/db-api-js/tree/${commit}`;
let docsPath = `https://github.com/libsabl/db-api-js/blob/${commit}/docs/DOCS.md`;
@@ -136,7 +136,7 @@ async function validateVersion(pkgv) {
// Render tsconfig
console.log(chalk.cyanBright(' Rendering tsconfig.json'));
const { stdout: tsconfig } = await exec(
- 'pnpx tsc --project ./tsconfig.build.json --showConfig ',
+ 'npx tsc --project ./tsconfig.build.json --showConfig ',
{ cwd: pkgpath.root }
);
await fs.writeFile(pubpath('tsconfig.json'), tsconfig, 'utf8');
diff --git a/package.json b/package.json
index a457daf..1de3573 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@sabl/db-api",
- "version": "0.1.0",
+ "version": "0.2.0",
"description": "A uniform and context-aware interface for relation databases",
"main": "dist/index.js",
"types": "dist/index.d.ts",
@@ -29,31 +29,32 @@
],
"license": "MIT",
"dependencies": {
- "@sabl/context": "^0.3.3",
- "@sabl/storage-pool": "^0.1.0",
- "@sabl/txn": "^0.1.0"
+ "@sabl/context": "^1.1.1",
+ "@sabl/storage-pool": "^0.2.0",
+ "@sabl/txn": "^0.2.0"
},
"devDependencies": {
- "@commitlint/cli": "^16.2.4",
+ "@commitlint/cli": "^16.3.0",
"@commitlint/config-conventional": "^16.2.4",
"@types/jest": "^28.1.6",
- "@types/node": "^17.0.33",
+ "@types/node": "^17.0.45",
"@types/rmfr": "^2.0.1",
- "@typescript-eslint/eslint-plugin": "^5.10.1",
- "@typescript-eslint/parser": "^5.10.1",
+ "@types/sqlite3": "^3.1.8",
+ "@typescript-eslint/eslint-plugin": "^5.32.0",
+ "@typescript-eslint/parser": "^5.32.0",
"chalk": "^4.1.2",
- "eslint": "^8.7.0",
- "eslint-config-prettier": "^8.3.0",
- "eslint-plugin-prettier": "^4.0.0",
+ "eslint": "^8.21.0",
+ "eslint-config-prettier": "^8.5.0",
+ "eslint-plugin-prettier": "^4.2.1",
"esm": "^3.2.25",
"glob": "^8.0.3",
- "husky": "^8.0.0",
+ "husky": "^8.0.1",
"jest": "^28.1.3",
"opener": "^1.5.2",
- "prettier": "^2.5.1",
+ "prettier": "^2.7.1",
"rimraf": "^3.0.2",
"rmfr": "^2.0.0",
- "ts-jest": "^28.0.2",
- "typescript": "^4.5.5"
+ "ts-jest": "^28.0.7",
+ "typescript": "^4.7.4"
}
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 2aaa53d..14405d1 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1,35 +1,36 @@
lockfileVersion: 5.3
specifiers:
- '@commitlint/cli': ^16.2.4
+ '@commitlint/cli': ^16.3.0
'@commitlint/config-conventional': ^16.2.4
- '@sabl/context': ^0.3.3
- '@sabl/storage-pool': ^0.1.0
- '@sabl/txn': ^0.1.0
+ '@sabl/context': ^1.1.1
+ '@sabl/storage-pool': ^0.2.0
+ '@sabl/txn': ^0.2.0
'@types/jest': ^28.1.6
- '@types/node': ^17.0.33
+ '@types/node': ^17.0.45
'@types/rmfr': ^2.0.1
- '@typescript-eslint/eslint-plugin': ^5.10.1
- '@typescript-eslint/parser': ^5.10.1
+ '@types/sqlite3': ^3.1.8
+ '@typescript-eslint/eslint-plugin': ^5.32.0
+ '@typescript-eslint/parser': ^5.32.0
chalk: ^4.1.2
- eslint: ^8.7.0
- eslint-config-prettier: ^8.3.0
- eslint-plugin-prettier: ^4.0.0
+ eslint: ^8.21.0
+ eslint-config-prettier: ^8.5.0
+ eslint-plugin-prettier: ^4.2.1
esm: ^3.2.25
glob: ^8.0.3
- husky: ^8.0.0
+ husky: ^8.0.1
jest: ^28.1.3
opener: ^1.5.2
- prettier: ^2.5.1
+ prettier: ^2.7.1
rimraf: ^3.0.2
rmfr: ^2.0.0
- ts-jest: ^28.0.2
- typescript: ^4.5.5
+ ts-jest: ^28.0.7
+ typescript: ^4.7.4
dependencies:
- '@sabl/context': 0.3.3
- '@sabl/storage-pool': 0.1.0
- '@sabl/txn': 0.1.0
+ '@sabl/context': 1.1.1
+ '@sabl/storage-pool': 0.2.0
+ '@sabl/txn': 0.2.0
devDependencies:
'@commitlint/cli': 16.3.0
@@ -37,12 +38,13 @@ devDependencies:
'@types/jest': 28.1.6
'@types/node': 17.0.45
'@types/rmfr': 2.0.1
- '@typescript-eslint/eslint-plugin': 5.30.7_f59730a40ab520cf82d095906622871f
- '@typescript-eslint/parser': 5.30.7_eslint@8.20.0+typescript@4.7.4
+ '@types/sqlite3': 3.1.8
+ '@typescript-eslint/eslint-plugin': 5.32.0_43a51d9e2446a740dea4259743d3ab3e
+ '@typescript-eslint/parser': 5.32.0_eslint@8.21.0+typescript@4.7.4
chalk: 4.1.2
- eslint: 8.20.0
- eslint-config-prettier: 8.5.0_eslint@8.20.0
- eslint-plugin-prettier: 4.2.1_370b9998364e21a2d582909b8d493e2e
+ eslint: 8.21.0
+ eslint-config-prettier: 8.5.0_eslint@8.21.0
+ eslint-plugin-prettier: 4.2.1_3fb4ba81a229f81fc7d96e86670e27e9
esm: 3.2.25
glob: 8.0.3
husky: 8.0.1
@@ -76,20 +78,20 @@ packages:
engines: {node: '>=6.9.0'}
dev: true
- /@babel/core/7.18.9:
- resolution: {integrity: sha512-1LIb1eL8APMy91/IMW+31ckrfBM4yCoLaVzoDhZUKSM4cu1L1nIidyxkCgzPAgrC5WEz36IPEr/eSeSF9pIn+g==}
+ /@babel/core/7.18.10:
+ resolution: {integrity: sha512-JQM6k6ENcBFKVtWvLavlvi/mPcpYZ3+R+2EySDEMSMbp7Mn4FexlbbJVrx2R7Ijhr01T8gyqrOaABWIOgxeUyw==}
engines: {node: '>=6.9.0'}
dependencies:
'@ampproject/remapping': 2.2.0
'@babel/code-frame': 7.18.6
- '@babel/generator': 7.18.9
- '@babel/helper-compilation-targets': 7.18.9_@babel+core@7.18.9
+ '@babel/generator': 7.18.10
+ '@babel/helper-compilation-targets': 7.18.9_@babel+core@7.18.10
'@babel/helper-module-transforms': 7.18.9
'@babel/helpers': 7.18.9
- '@babel/parser': 7.18.9
- '@babel/template': 7.18.6
- '@babel/traverse': 7.18.9
- '@babel/types': 7.18.9
+ '@babel/parser': 7.18.10
+ '@babel/template': 7.18.10
+ '@babel/traverse': 7.18.10
+ '@babel/types': 7.18.10
convert-source-map: 1.8.0
debug: 4.3.4
gensync: 1.0.0-beta.2
@@ -99,25 +101,25 @@ packages:
- supports-color
dev: true
- /@babel/generator/7.18.9:
- resolution: {integrity: sha512-wt5Naw6lJrL1/SGkipMiFxJjtyczUWTP38deiP1PO60HsBjDeKk08CGC3S8iVuvf0FmTdgKwU1KIXzSKL1G0Ug==}
+ /@babel/generator/7.18.10:
+ resolution: {integrity: sha512-0+sW7e3HjQbiHbj1NeU/vN8ornohYlacAfZIaXhdoGweQqgcNy69COVciYYqEXJ/v+9OBA7Frxm4CVAuNqKeNA==}
engines: {node: '>=6.9.0'}
dependencies:
- '@babel/types': 7.18.9
+ '@babel/types': 7.18.10
'@jridgewell/gen-mapping': 0.3.2
jsesc: 2.5.2
dev: true
- /@babel/helper-compilation-targets/7.18.9_@babel+core@7.18.9:
+ /@babel/helper-compilation-targets/7.18.9_@babel+core@7.18.10:
resolution: {integrity: sha512-tzLCyVmqUiFlcFoAPLA/gL9TeYrF61VLNtb+hvkuVaB5SUjW7jcfrglBIX1vUIoT7CLP3bBlIMeyEsIl2eFQNg==}
engines: {node: '>=6.9.0'}
peerDependencies:
'@babel/core': ^7.0.0
dependencies:
'@babel/compat-data': 7.18.8
- '@babel/core': 7.18.9
+ '@babel/core': 7.18.10
'@babel/helper-validator-option': 7.18.6
- browserslist: 4.21.2
+ browserslist: 4.21.3
semver: 6.3.0
dev: true
@@ -130,22 +132,22 @@ packages:
resolution: {integrity: sha512-fJgWlZt7nxGksJS9a0XdSaI4XvpExnNIgRP+rVefWh5U7BL8pPuir6SJUmFKRfjWQ51OtWSzwOxhaH/EBWWc0A==}
engines: {node: '>=6.9.0'}
dependencies:
- '@babel/template': 7.18.6
- '@babel/types': 7.18.9
+ '@babel/template': 7.18.10
+ '@babel/types': 7.18.10
dev: true
/@babel/helper-hoist-variables/7.18.6:
resolution: {integrity: sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==}
engines: {node: '>=6.9.0'}
dependencies:
- '@babel/types': 7.18.9
+ '@babel/types': 7.18.10
dev: true
/@babel/helper-module-imports/7.18.6:
resolution: {integrity: sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==}
engines: {node: '>=6.9.0'}
dependencies:
- '@babel/types': 7.18.9
+ '@babel/types': 7.18.10
dev: true
/@babel/helper-module-transforms/7.18.9:
@@ -157,9 +159,9 @@ packages:
'@babel/helper-simple-access': 7.18.6
'@babel/helper-split-export-declaration': 7.18.6
'@babel/helper-validator-identifier': 7.18.6
- '@babel/template': 7.18.6
- '@babel/traverse': 7.18.9
- '@babel/types': 7.18.9
+ '@babel/template': 7.18.10
+ '@babel/traverse': 7.18.10
+ '@babel/types': 7.18.10
transitivePeerDependencies:
- supports-color
dev: true
@@ -173,14 +175,19 @@ packages:
resolution: {integrity: sha512-iNpIgTgyAvDQpDj76POqg+YEt8fPxx3yaNBg3S30dxNKm2SWfYhD0TGrK/Eu9wHpUW63VQU894TsTg+GLbUa1g==}
engines: {node: '>=6.9.0'}
dependencies:
- '@babel/types': 7.18.9
+ '@babel/types': 7.18.10
dev: true
/@babel/helper-split-export-declaration/7.18.6:
resolution: {integrity: sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==}
engines: {node: '>=6.9.0'}
dependencies:
- '@babel/types': 7.18.9
+ '@babel/types': 7.18.10
+ dev: true
+
+ /@babel/helper-string-parser/7.18.10:
+ resolution: {integrity: sha512-XtIfWmeNY3i4t7t4D2t02q50HvqHybPqW2ki1kosnvWCwuCMeo81Jf0gwr85jy/neUdg5XDdeFE/80DXiO+njw==}
+ engines: {node: '>=6.9.0'}
dev: true
/@babel/helper-validator-identifier/7.18.6:
@@ -197,9 +204,9 @@ packages:
resolution: {integrity: sha512-Jf5a+rbrLoR4eNdUmnFu8cN5eNJT6qdTdOg5IHIzq87WwyRw9PwguLFOWYgktN/60IP4fgDUawJvs7PjQIzELQ==}
engines: {node: '>=6.9.0'}
dependencies:
- '@babel/template': 7.18.6
- '@babel/traverse': 7.18.9
- '@babel/types': 7.18.9
+ '@babel/template': 7.18.10
+ '@babel/traverse': 7.18.10
+ '@babel/types': 7.18.10
transitivePeerDependencies:
- supports-color
dev: true
@@ -213,162 +220,163 @@ packages:
js-tokens: 4.0.0
dev: true
- /@babel/parser/7.18.9:
- resolution: {integrity: sha512-9uJveS9eY9DJ0t64YbIBZICtJy8a5QrDEVdiLCG97fVLpDTpGX7t8mMSb6OWw6Lrnjqj4O8zwjELX3dhoMgiBg==}
+ /@babel/parser/7.18.10:
+ resolution: {integrity: sha512-TYk3OA0HKL6qNryUayb5UUEhM/rkOQozIBEA5ITXh5DWrSp0TlUQXMyZmnWxG/DizSWBeeQ0Zbc5z8UGaaqoeg==}
engines: {node: '>=6.0.0'}
hasBin: true
dev: true
- /@babel/plugin-syntax-async-generators/7.8.4_@babel+core@7.18.9:
+ /@babel/plugin-syntax-async-generators/7.8.4_@babel+core@7.18.10:
resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==}
peerDependencies:
'@babel/core': ^7.0.0-0
dependencies:
- '@babel/core': 7.18.9
+ '@babel/core': 7.18.10
'@babel/helper-plugin-utils': 7.18.9
dev: true
- /@babel/plugin-syntax-bigint/7.8.3_@babel+core@7.18.9:
+ /@babel/plugin-syntax-bigint/7.8.3_@babel+core@7.18.10:
resolution: {integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==}
peerDependencies:
'@babel/core': ^7.0.0-0
dependencies:
- '@babel/core': 7.18.9
+ '@babel/core': 7.18.10
'@babel/helper-plugin-utils': 7.18.9
dev: true
- /@babel/plugin-syntax-class-properties/7.12.13_@babel+core@7.18.9:
+ /@babel/plugin-syntax-class-properties/7.12.13_@babel+core@7.18.10:
resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==}
peerDependencies:
'@babel/core': ^7.0.0-0
dependencies:
- '@babel/core': 7.18.9
+ '@babel/core': 7.18.10
'@babel/helper-plugin-utils': 7.18.9
dev: true
- /@babel/plugin-syntax-import-meta/7.10.4_@babel+core@7.18.9:
+ /@babel/plugin-syntax-import-meta/7.10.4_@babel+core@7.18.10:
resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==}
peerDependencies:
'@babel/core': ^7.0.0-0
dependencies:
- '@babel/core': 7.18.9
+ '@babel/core': 7.18.10
'@babel/helper-plugin-utils': 7.18.9
dev: true
- /@babel/plugin-syntax-json-strings/7.8.3_@babel+core@7.18.9:
+ /@babel/plugin-syntax-json-strings/7.8.3_@babel+core@7.18.10:
resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==}
peerDependencies:
'@babel/core': ^7.0.0-0
dependencies:
- '@babel/core': 7.18.9
+ '@babel/core': 7.18.10
'@babel/helper-plugin-utils': 7.18.9
dev: true
- /@babel/plugin-syntax-logical-assignment-operators/7.10.4_@babel+core@7.18.9:
+ /@babel/plugin-syntax-logical-assignment-operators/7.10.4_@babel+core@7.18.10:
resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==}
peerDependencies:
'@babel/core': ^7.0.0-0
dependencies:
- '@babel/core': 7.18.9
+ '@babel/core': 7.18.10
'@babel/helper-plugin-utils': 7.18.9
dev: true
- /@babel/plugin-syntax-nullish-coalescing-operator/7.8.3_@babel+core@7.18.9:
+ /@babel/plugin-syntax-nullish-coalescing-operator/7.8.3_@babel+core@7.18.10:
resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==}
peerDependencies:
'@babel/core': ^7.0.0-0
dependencies:
- '@babel/core': 7.18.9
+ '@babel/core': 7.18.10
'@babel/helper-plugin-utils': 7.18.9
dev: true
- /@babel/plugin-syntax-numeric-separator/7.10.4_@babel+core@7.18.9:
+ /@babel/plugin-syntax-numeric-separator/7.10.4_@babel+core@7.18.10:
resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==}
peerDependencies:
'@babel/core': ^7.0.0-0
dependencies:
- '@babel/core': 7.18.9
+ '@babel/core': 7.18.10
'@babel/helper-plugin-utils': 7.18.9
dev: true
- /@babel/plugin-syntax-object-rest-spread/7.8.3_@babel+core@7.18.9:
+ /@babel/plugin-syntax-object-rest-spread/7.8.3_@babel+core@7.18.10:
resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==}
peerDependencies:
'@babel/core': ^7.0.0-0
dependencies:
- '@babel/core': 7.18.9
+ '@babel/core': 7.18.10
'@babel/helper-plugin-utils': 7.18.9
dev: true
- /@babel/plugin-syntax-optional-catch-binding/7.8.3_@babel+core@7.18.9:
+ /@babel/plugin-syntax-optional-catch-binding/7.8.3_@babel+core@7.18.10:
resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==}
peerDependencies:
'@babel/core': ^7.0.0-0
dependencies:
- '@babel/core': 7.18.9
+ '@babel/core': 7.18.10
'@babel/helper-plugin-utils': 7.18.9
dev: true
- /@babel/plugin-syntax-optional-chaining/7.8.3_@babel+core@7.18.9:
+ /@babel/plugin-syntax-optional-chaining/7.8.3_@babel+core@7.18.10:
resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==}
peerDependencies:
'@babel/core': ^7.0.0-0
dependencies:
- '@babel/core': 7.18.9
+ '@babel/core': 7.18.10
'@babel/helper-plugin-utils': 7.18.9
dev: true
- /@babel/plugin-syntax-top-level-await/7.14.5_@babel+core@7.18.9:
+ /@babel/plugin-syntax-top-level-await/7.14.5_@babel+core@7.18.10:
resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==}
engines: {node: '>=6.9.0'}
peerDependencies:
'@babel/core': ^7.0.0-0
dependencies:
- '@babel/core': 7.18.9
+ '@babel/core': 7.18.10
'@babel/helper-plugin-utils': 7.18.9
dev: true
- /@babel/plugin-syntax-typescript/7.18.6_@babel+core@7.18.9:
+ /@babel/plugin-syntax-typescript/7.18.6_@babel+core@7.18.10:
resolution: {integrity: sha512-mAWAuq4rvOepWCBid55JuRNvpTNf2UGVgoz4JV0fXEKolsVZDzsa4NqCef758WZJj/GDu0gVGItjKFiClTAmZA==}
engines: {node: '>=6.9.0'}
peerDependencies:
'@babel/core': ^7.0.0-0
dependencies:
- '@babel/core': 7.18.9
+ '@babel/core': 7.18.10
'@babel/helper-plugin-utils': 7.18.9
dev: true
- /@babel/template/7.18.6:
- resolution: {integrity: sha512-JoDWzPe+wgBsTTgdnIma3iHNFC7YVJoPssVBDjiHfNlyt4YcunDtcDOUmfVDfCK5MfdsaIoX9PkijPhjH3nYUw==}
+ /@babel/template/7.18.10:
+ resolution: {integrity: sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA==}
engines: {node: '>=6.9.0'}
dependencies:
'@babel/code-frame': 7.18.6
- '@babel/parser': 7.18.9
- '@babel/types': 7.18.9
+ '@babel/parser': 7.18.10
+ '@babel/types': 7.18.10
dev: true
- /@babel/traverse/7.18.9:
- resolution: {integrity: sha512-LcPAnujXGwBgv3/WHv01pHtb2tihcyW1XuL9wd7jqh1Z8AQkTd+QVjMrMijrln0T7ED3UXLIy36P9Ao7W75rYg==}
+ /@babel/traverse/7.18.10:
+ resolution: {integrity: sha512-J7ycxg0/K9XCtLyHf0cz2DqDihonJeIo+z+HEdRe9YuT8TY4A66i+Ab2/xZCEW7Ro60bPCBBfqqboHSamoV3+g==}
engines: {node: '>=6.9.0'}
dependencies:
'@babel/code-frame': 7.18.6
- '@babel/generator': 7.18.9
+ '@babel/generator': 7.18.10
'@babel/helper-environment-visitor': 7.18.9
'@babel/helper-function-name': 7.18.9
'@babel/helper-hoist-variables': 7.18.6
'@babel/helper-split-export-declaration': 7.18.6
- '@babel/parser': 7.18.9
- '@babel/types': 7.18.9
+ '@babel/parser': 7.18.10
+ '@babel/types': 7.18.10
debug: 4.3.4
globals: 11.12.0
transitivePeerDependencies:
- supports-color
dev: true
- /@babel/types/7.18.9:
- resolution: {integrity: sha512-WwMLAg2MvJmt/rKEVQBBhIVffMmnilX4oe0sRe7iPOHIGsqpruFHHdrfj4O1CMMtgMtCU4oPafZjDPCRgO57Wg==}
+ /@babel/types/7.18.10:
+ resolution: {integrity: sha512-MJvnbEiiNkpjo+LknnmRrqbY1GPUUggjv+wQVjetM/AONoupqRALB7I6jGqNUAZsKcRIEu2J6FRFvsczljjsaQ==}
engines: {node: '>=6.9.0'}
dependencies:
+ '@babel/helper-string-parser': 7.18.10
'@babel/helper-validator-identifier': 7.18.6
to-fast-properties: 2.0.0
dev: true
@@ -549,8 +557,8 @@ packages:
dependencies:
ajv: 6.12.6
debug: 4.3.4
- espree: 9.3.2
- globals: 13.16.0
+ espree: 9.3.3
+ globals: 13.17.0
ignore: 5.2.0
import-fresh: 3.3.0
js-yaml: 4.1.0
@@ -560,8 +568,8 @@ packages:
- supports-color
dev: true
- /@humanwhocodes/config-array/0.9.5:
- resolution: {integrity: sha512-ObyMyWxZiCu/yTisA7uzx81s40xR2fD5Cg/2Kq7G02ajkNubJf6BopgDTmDyc3U7sXpNKM8cYOw7s7Tyr+DnCw==}
+ /@humanwhocodes/config-array/0.10.4:
+ resolution: {integrity: sha512-mXAIHxZT3Vcpg83opl1wGlVZ9xydbfZO3r5YfRSH6Gpp2J/PfdBP0wbDa2sO6/qRbcalpoevVyW6A/fI6LfeMw==}
engines: {node: '>=10.10.0'}
dependencies:
'@humanwhocodes/object-schema': 1.2.1
@@ -571,6 +579,10 @@ packages:
- supports-color
dev: true
+ /@humanwhocodes/gitignore-to-minimatch/1.0.2:
+ resolution: {integrity: sha512-rSqmMJDdLFUsyxR6FMtD00nfQKKLFb1kv+qBbOVKqErvloEIJLo5bDTJTQNTYgeyp78JsA7u/NPi5jT1GR/MuA==}
+ dev: true
+
/@humanwhocodes/object-schema/1.2.1:
resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==}
dev: true
@@ -738,7 +750,7 @@ packages:
resolution: {integrity: sha512-/l/VWsdt/aBXgjshLWOFyFt3IVdYypu5y2Wn2rOO1un6nkqIn8SLXzgIMYXFyYsRWDyF5EthmKJMIdJvk08grg==}
engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0}
dependencies:
- '@sinclair/typebox': 0.24.20
+ '@sinclair/typebox': 0.24.26
dev: true
/@jest/source-map/28.1.2:
@@ -774,7 +786,7 @@ packages:
resolution: {integrity: sha512-u5dT5di+oFI6hfcLOHGTAfmUxFRrjK+vnaP0kkVow9Md/M7V/MxqQMOz/VV25UZO8pzeA9PjfTpOu6BDuwSPQA==}
engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0}
dependencies:
- '@babel/core': 7.18.9
+ '@babel/core': 7.18.10
'@jest/types': 28.1.3
'@jridgewell/trace-mapping': 0.3.14
babel-plugin-istanbul: 6.1.1
@@ -871,24 +883,24 @@ packages:
fastq: 1.13.0
dev: true
- /@sabl/context/0.3.3:
- resolution: {integrity: sha512-b7V4LwEza4vVOEN/M1IOxO+atLZDntlgpLJv5HSKmqOoUYTK5eIIazmTlSTY0OD8K0Q+xnOMO97HMqIYyY1LSQ==}
+ /@sabl/context/1.1.1:
+ resolution: {integrity: sha512-CEDOCD+JP/z26Hd9nzfuKR1Jni/eERFhoHut0es6b6NKQCqnLq0/+nNdcBoutjhRGdD8KHaGX1I0PZ9QXa2hsg==}
dev: false
- /@sabl/storage-pool/0.1.0:
- resolution: {integrity: sha512-0gqvM//JAYYREzBMJJ5oomxUJm2xO0r+6qmROcloVW+TquvIgITG0i7TwkVu0ieExoIkdAgSdSbNWQ10KJ5ZEg==}
+ /@sabl/storage-pool/0.2.0:
+ resolution: {integrity: sha512-TWgcQfAvPVQI1AGyweqiI8d/TBkD9gJt/TWKQwdfuWCjvf/o7eHHYT1+LswZnr91mZ9EHrW2ZvWS5WLfIlmw4w==}
dependencies:
- '@sabl/context': 0.3.3
+ '@sabl/context': 1.1.1
dev: false
- /@sabl/txn/0.1.0:
- resolution: {integrity: sha512-8jFPw+iu6K8x4FuwyBG8GaQIwqNQlEDlJ/l1m1B84w98nr1+SQaebccudpgpLzfhaAHcFe1/lsCU5Plstd2jug==}
+ /@sabl/txn/0.2.0:
+ resolution: {integrity: sha512-elqT+Wx0erzRzotEdesJeHRdvkWfkvcDsr2YOof/kMTbXOgQhVBfEkuw3lLGrkg6+qjYoRJsIz9lDs65WIeRQw==}
dependencies:
- '@sabl/context': 0.3.3
+ '@sabl/context': 1.1.1
dev: false
- /@sinclair/typebox/0.24.20:
- resolution: {integrity: sha512-kVaO5aEFZb33nPMTZBxiPEkY+slxiPtqC7QX8f9B3eGOMBvEfuMfxp9DSTTCsRJPumPKjrge4yagyssO4q6qzQ==}
+ /@sinclair/typebox/0.24.26:
+ resolution: {integrity: sha512-1ZVIyyS1NXDRVT8GjWD5jULjhDyM3IsIHef2VGUMdnWOlX2tkPjyEX/7K0TGSH2S8EaPhp1ylFdjSjUGQ+gecg==}
dev: true
/@sinonjs/commons/1.8.3:
@@ -922,8 +934,8 @@ packages:
/@types/babel__core/7.1.19:
resolution: {integrity: sha512-WEOTgRsbYkvA/KCsDwVEGkd7WAr1e3g31VHQ8zy5gul/V1qKullU/BU5I68X5v7V3GnB9eotmom4v5a5gjxorw==}
dependencies:
- '@babel/parser': 7.18.9
- '@babel/types': 7.18.9
+ '@babel/parser': 7.18.10
+ '@babel/types': 7.18.10
'@types/babel__generator': 7.6.4
'@types/babel__template': 7.4.1
'@types/babel__traverse': 7.17.1
@@ -932,20 +944,20 @@ packages:
/@types/babel__generator/7.6.4:
resolution: {integrity: sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg==}
dependencies:
- '@babel/types': 7.18.9
+ '@babel/types': 7.18.10
dev: true
/@types/babel__template/7.4.1:
resolution: {integrity: sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==}
dependencies:
- '@babel/parser': 7.18.9
- '@babel/types': 7.18.9
+ '@babel/parser': 7.18.10
+ '@babel/types': 7.18.10
dev: true
/@types/babel__traverse/7.17.1:
resolution: {integrity: sha512-kVzjari1s2YVi77D3w1yuvohV2idweYXMCDzqBiVNN63TcDWrIlTVOYpqVrvbbyOE/IyzBoTKF0fdnLPEORFxA==}
dependencies:
- '@babel/types': 7.18.9
+ '@babel/types': 7.18.10
dev: true
/@types/glob/7.2.0:
@@ -1008,8 +1020,8 @@ packages:
resolution: {integrity: sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==}
dev: true
- /@types/prettier/2.6.3:
- resolution: {integrity: sha512-ymZk3LEC/fsut+/Q5qejp6R9O1rMxz3XaRHDV6kX8MrGAhOSPqVARbDi+EZvInBpw+BnCX3TD240byVkOfQsHg==}
+ /@types/prettier/2.6.4:
+ resolution: {integrity: sha512-fOwvpvQYStpb/zHMx0Cauwywu9yLDmzWiiQBC7gJyq5tYLUXFZvDG7VK1B7WBxxjBJNKFOZ0zLoOQn8vmATbhw==}
dev: true
/@types/rimraf/3.0.2:
@@ -1025,6 +1037,12 @@ packages:
'@types/rimraf': 3.0.2
dev: true
+ /@types/sqlite3/3.1.8:
+ resolution: {integrity: sha512-sQMt/qnyUWnqiTcJXm5ZfNPIBeJ/DVvJDwxw+0tAxPJvadzfiP1QhryO1JOR6t1yfb8NpzQb/Rud06mob5laIA==}
+ dependencies:
+ '@types/node': 17.0.45
+ dev: true
+
/@types/stack-utils/2.0.1:
resolution: {integrity: sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==}
dev: true
@@ -1039,8 +1057,8 @@ packages:
'@types/yargs-parser': 21.0.0
dev: true
- /@typescript-eslint/eslint-plugin/5.30.7_f59730a40ab520cf82d095906622871f:
- resolution: {integrity: sha512-l4L6Do+tfeM2OK0GJsU7TUcM/1oN/N25xHm3Jb4z3OiDU4Lj8dIuxX9LpVMS9riSXQs42D1ieX7b85/r16H9Fw==}
+ /@typescript-eslint/eslint-plugin/5.32.0_43a51d9e2446a740dea4259743d3ab3e:
+ resolution: {integrity: sha512-CHLuz5Uz7bHP2WgVlvoZGhf0BvFakBJKAD/43Ty0emn4wXWv5k01ND0C0fHcl/Im8Td2y/7h44E9pca9qAu2ew==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
'@typescript-eslint/parser': ^5.0.0
@@ -1050,12 +1068,12 @@ packages:
typescript:
optional: true
dependencies:
- '@typescript-eslint/parser': 5.30.7_eslint@8.20.0+typescript@4.7.4
- '@typescript-eslint/scope-manager': 5.30.7
- '@typescript-eslint/type-utils': 5.30.7_eslint@8.20.0+typescript@4.7.4
- '@typescript-eslint/utils': 5.30.7_eslint@8.20.0+typescript@4.7.4
+ '@typescript-eslint/parser': 5.32.0_eslint@8.21.0+typescript@4.7.4
+ '@typescript-eslint/scope-manager': 5.32.0
+ '@typescript-eslint/type-utils': 5.32.0_eslint@8.21.0+typescript@4.7.4
+ '@typescript-eslint/utils': 5.32.0_eslint@8.21.0+typescript@4.7.4
debug: 4.3.4
- eslint: 8.20.0
+ eslint: 8.21.0
functional-red-black-tree: 1.0.1
ignore: 5.2.0
regexpp: 3.2.0
@@ -1066,8 +1084,8 @@ packages:
- supports-color
dev: true
- /@typescript-eslint/parser/5.30.7_eslint@8.20.0+typescript@4.7.4:
- resolution: {integrity: sha512-Rg5xwznHWWSy7v2o0cdho6n+xLhK2gntImp0rJroVVFkcYFYQ8C8UJTSuTw/3CnExBmPjycjmUJkxVmjXsld6A==}
+ /@typescript-eslint/parser/5.32.0_eslint@8.21.0+typescript@4.7.4:
+ resolution: {integrity: sha512-IxRtsehdGV9GFQ35IGm5oKKR2OGcazUoiNBxhRV160iF9FoyuXxjY+rIqs1gfnd+4eL98OjeGnMpE7RF/NBb3A==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
@@ -1076,26 +1094,26 @@ packages:
typescript:
optional: true
dependencies:
- '@typescript-eslint/scope-manager': 5.30.7
- '@typescript-eslint/types': 5.30.7
- '@typescript-eslint/typescript-estree': 5.30.7_typescript@4.7.4
+ '@typescript-eslint/scope-manager': 5.32.0
+ '@typescript-eslint/types': 5.32.0
+ '@typescript-eslint/typescript-estree': 5.32.0_typescript@4.7.4
debug: 4.3.4
- eslint: 8.20.0
+ eslint: 8.21.0
typescript: 4.7.4
transitivePeerDependencies:
- supports-color
dev: true
- /@typescript-eslint/scope-manager/5.30.7:
- resolution: {integrity: sha512-7BM1bwvdF1UUvt+b9smhqdc/eniOnCKxQT/kj3oXtj3LqnTWCAM0qHRHfyzCzhEfWX0zrW7KqXXeE4DlchZBKw==}
+ /@typescript-eslint/scope-manager/5.32.0:
+ resolution: {integrity: sha512-KyAE+tUON0D7tNz92p1uetRqVJiiAkeluvwvZOqBmW9z2XApmk5WSMV9FrzOroAcVxJZB3GfUwVKr98Dr/OjOg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
- '@typescript-eslint/types': 5.30.7
- '@typescript-eslint/visitor-keys': 5.30.7
+ '@typescript-eslint/types': 5.32.0
+ '@typescript-eslint/visitor-keys': 5.32.0
dev: true
- /@typescript-eslint/type-utils/5.30.7_eslint@8.20.0+typescript@4.7.4:
- resolution: {integrity: sha512-nD5qAE2aJX/YLyKMvOU5jvJyku4QN5XBVsoTynFrjQZaDgDV6i7QHFiYCx10wvn7hFvfuqIRNBtsgaLe0DbWhw==}
+ /@typescript-eslint/type-utils/5.32.0_eslint@8.21.0+typescript@4.7.4:
+ resolution: {integrity: sha512-0gSsIhFDduBz3QcHJIp3qRCvVYbqzHg8D6bHFsDMrm0rURYDj+skBK2zmYebdCp+4nrd9VWd13egvhYFJj/wZg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: '*'
@@ -1104,22 +1122,22 @@ packages:
typescript:
optional: true
dependencies:
- '@typescript-eslint/utils': 5.30.7_eslint@8.20.0+typescript@4.7.4
+ '@typescript-eslint/utils': 5.32.0_eslint@8.21.0+typescript@4.7.4
debug: 4.3.4
- eslint: 8.20.0
+ eslint: 8.21.0
tsutils: 3.21.0_typescript@4.7.4
typescript: 4.7.4
transitivePeerDependencies:
- supports-color
dev: true
- /@typescript-eslint/types/5.30.7:
- resolution: {integrity: sha512-ocVkETUs82+U+HowkovV6uxf1AnVRKCmDRNUBUUo46/5SQv1owC/EBFkiu4MOHeZqhKz2ktZ3kvJJ1uFqQ8QPg==}
+ /@typescript-eslint/types/5.32.0:
+ resolution: {integrity: sha512-EBUKs68DOcT/EjGfzywp+f8wG9Zw6gj6BjWu7KV/IYllqKJFPlZlLSYw/PTvVyiRw50t6wVbgv4p9uE2h6sZrQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: true
- /@typescript-eslint/typescript-estree/5.30.7_typescript@4.7.4:
- resolution: {integrity: sha512-tNslqXI1ZdmXXrHER83TJ8OTYl4epUzJC0aj2i4DMDT4iU+UqLT3EJeGQvJ17BMbm31x5scSwo3hPM0nqQ1AEA==}
+ /@typescript-eslint/typescript-estree/5.32.0_typescript@4.7.4:
+ resolution: {integrity: sha512-ZVAUkvPk3ITGtCLU5J4atCw9RTxK+SRc6hXqLtllC2sGSeMFWN+YwbiJR9CFrSFJ3w4SJfcWtDwNb/DmUIHdhg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
typescript: '*'
@@ -1127,8 +1145,8 @@ packages:
typescript:
optional: true
dependencies:
- '@typescript-eslint/types': 5.30.7
- '@typescript-eslint/visitor-keys': 5.30.7
+ '@typescript-eslint/types': 5.32.0
+ '@typescript-eslint/visitor-keys': 5.32.0
debug: 4.3.4
globby: 11.1.0
is-glob: 4.0.3
@@ -1139,29 +1157,29 @@ packages:
- supports-color
dev: true
- /@typescript-eslint/utils/5.30.7_eslint@8.20.0+typescript@4.7.4:
- resolution: {integrity: sha512-Z3pHdbFw+ftZiGUnm1GZhkJgVqsDL5CYW2yj+TB2mfXDFOMqtbzQi2dNJIyPqPbx9mv2kUxS1gU+r2gKlKi1rQ==}
+ /@typescript-eslint/utils/5.32.0_eslint@8.21.0+typescript@4.7.4:
+ resolution: {integrity: sha512-W7lYIAI5Zlc5K082dGR27Fczjb3Q57ECcXefKU/f0ajM5ToM0P+N9NmJWip8GmGu/g6QISNT+K6KYB+iSHjXCQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
dependencies:
'@types/json-schema': 7.0.11
- '@typescript-eslint/scope-manager': 5.30.7
- '@typescript-eslint/types': 5.30.7
- '@typescript-eslint/typescript-estree': 5.30.7_typescript@4.7.4
- eslint: 8.20.0
+ '@typescript-eslint/scope-manager': 5.32.0
+ '@typescript-eslint/types': 5.32.0
+ '@typescript-eslint/typescript-estree': 5.32.0_typescript@4.7.4
+ eslint: 8.21.0
eslint-scope: 5.1.1
- eslint-utils: 3.0.0_eslint@8.20.0
+ eslint-utils: 3.0.0_eslint@8.21.0
transitivePeerDependencies:
- supports-color
- typescript
dev: true
- /@typescript-eslint/visitor-keys/5.30.7:
- resolution: {integrity: sha512-KrRXf8nnjvcpxDFOKej4xkD7657+PClJs5cJVSG7NNoCNnjEdc46juNAQt7AyuWctuCgs6mVRc1xGctEqrjxWw==}
+ /@typescript-eslint/visitor-keys/5.32.0:
+ resolution: {integrity: sha512-S54xOHZgfThiZ38/ZGTgB2rqx51CMJ5MCfVT2IplK4Q7hgzGfe0nLzLCcenDnc/cSjP568hdeKfeDcBgqNHD/g==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
- '@typescript-eslint/types': 5.30.7
+ '@typescript-eslint/types': 5.32.0
eslint-visitor-keys: 3.3.0
dev: true
@@ -1173,12 +1191,12 @@ packages:
through: 2.3.8
dev: true
- /acorn-jsx/5.3.2_acorn@8.7.1:
+ /acorn-jsx/5.3.2_acorn@8.8.0:
resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}
peerDependencies:
acorn: ^6.0.0 || ^7.0.0 || ^8.0.0
dependencies:
- acorn: 8.7.1
+ acorn: 8.8.0
dev: true
/acorn-walk/8.2.0:
@@ -1186,8 +1204,8 @@ packages:
engines: {node: '>=0.4.0'}
dev: true
- /acorn/8.7.1:
- resolution: {integrity: sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==}
+ /acorn/8.8.0:
+ resolution: {integrity: sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==}
engines: {node: '>=0.4.0'}
hasBin: true
dev: true
@@ -1283,17 +1301,17 @@ packages:
validate-glob-opts: 1.0.2
dev: true
- /babel-jest/28.1.3_@babel+core@7.18.9:
+ /babel-jest/28.1.3_@babel+core@7.18.10:
resolution: {integrity: sha512-epUaPOEWMk3cWX0M/sPvCHHCe9fMFAa/9hXEgKP8nFfNl/jlGkE9ucq9NqkZGXLDduCJYS0UvSlPUwC0S+rH6Q==}
engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0}
peerDependencies:
'@babel/core': ^7.8.0
dependencies:
- '@babel/core': 7.18.9
+ '@babel/core': 7.18.10
'@jest/transform': 28.1.3
'@types/babel__core': 7.1.19
babel-plugin-istanbul: 6.1.1
- babel-preset-jest: 28.1.3_@babel+core@7.18.9
+ babel-preset-jest: 28.1.3_@babel+core@7.18.10
chalk: 4.1.2
graceful-fs: 4.2.10
slash: 3.0.0
@@ -1318,41 +1336,41 @@ packages:
resolution: {integrity: sha512-Ys3tUKAmfnkRUpPdpa98eYrAR0nV+sSFUZZEGuQ2EbFd1y4SOLtD5QDNHAq+bb9a+bbXvYQC4b+ID/THIMcU6Q==}
engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0}
dependencies:
- '@babel/template': 7.18.6
- '@babel/types': 7.18.9
+ '@babel/template': 7.18.10
+ '@babel/types': 7.18.10
'@types/babel__core': 7.1.19
'@types/babel__traverse': 7.17.1
dev: true
- /babel-preset-current-node-syntax/1.0.1_@babel+core@7.18.9:
+ /babel-preset-current-node-syntax/1.0.1_@babel+core@7.18.10:
resolution: {integrity: sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==}
peerDependencies:
'@babel/core': ^7.0.0
dependencies:
- '@babel/core': 7.18.9
- '@babel/plugin-syntax-async-generators': 7.8.4_@babel+core@7.18.9
- '@babel/plugin-syntax-bigint': 7.8.3_@babel+core@7.18.9
- '@babel/plugin-syntax-class-properties': 7.12.13_@babel+core@7.18.9
- '@babel/plugin-syntax-import-meta': 7.10.4_@babel+core@7.18.9
- '@babel/plugin-syntax-json-strings': 7.8.3_@babel+core@7.18.9
- '@babel/plugin-syntax-logical-assignment-operators': 7.10.4_@babel+core@7.18.9
- '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3_@babel+core@7.18.9
- '@babel/plugin-syntax-numeric-separator': 7.10.4_@babel+core@7.18.9
- '@babel/plugin-syntax-object-rest-spread': 7.8.3_@babel+core@7.18.9
- '@babel/plugin-syntax-optional-catch-binding': 7.8.3_@babel+core@7.18.9
- '@babel/plugin-syntax-optional-chaining': 7.8.3_@babel+core@7.18.9
- '@babel/plugin-syntax-top-level-await': 7.14.5_@babel+core@7.18.9
- dev: true
-
- /babel-preset-jest/28.1.3_@babel+core@7.18.9:
+ '@babel/core': 7.18.10
+ '@babel/plugin-syntax-async-generators': 7.8.4_@babel+core@7.18.10
+ '@babel/plugin-syntax-bigint': 7.8.3_@babel+core@7.18.10
+ '@babel/plugin-syntax-class-properties': 7.12.13_@babel+core@7.18.10
+ '@babel/plugin-syntax-import-meta': 7.10.4_@babel+core@7.18.10
+ '@babel/plugin-syntax-json-strings': 7.8.3_@babel+core@7.18.10
+ '@babel/plugin-syntax-logical-assignment-operators': 7.10.4_@babel+core@7.18.10
+ '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3_@babel+core@7.18.10
+ '@babel/plugin-syntax-numeric-separator': 7.10.4_@babel+core@7.18.10
+ '@babel/plugin-syntax-object-rest-spread': 7.8.3_@babel+core@7.18.10
+ '@babel/plugin-syntax-optional-catch-binding': 7.8.3_@babel+core@7.18.10
+ '@babel/plugin-syntax-optional-chaining': 7.8.3_@babel+core@7.18.10
+ '@babel/plugin-syntax-top-level-await': 7.14.5_@babel+core@7.18.10
+ dev: true
+
+ /babel-preset-jest/28.1.3_@babel+core@7.18.10:
resolution: {integrity: sha512-L+fupJvlWAHbQfn74coNX3zf60LXMJsezNvvx8eIh7iOR1luJ1poxYgQk1F8PYtNq/6QODDHCqsSnTFSWC491A==}
engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0}
peerDependencies:
'@babel/core': ^7.0.0
dependencies:
- '@babel/core': 7.18.9
+ '@babel/core': 7.18.10
babel-plugin-jest-hoist: 28.1.3
- babel-preset-current-node-syntax: 1.0.1_@babel+core@7.18.9
+ babel-preset-current-node-syntax: 1.0.1_@babel+core@7.18.10
dev: true
/balanced-match/1.0.2:
@@ -1379,15 +1397,15 @@ packages:
fill-range: 7.0.1
dev: true
- /browserslist/4.21.2:
- resolution: {integrity: sha512-MonuOgAtUB46uP5CezYbRaYKBNt2LxP0yX+Pmj4LkcDFGkn9Cbpi83d9sCjwQDErXsIJSzY5oKGDbgOlF/LPAA==}
+ /browserslist/4.21.3:
+ resolution: {integrity: sha512-898rgRXLAyRkM1GryrrBHGkqA5hlpkV5MhtZwg9QXeiyLUYs2k00Un05aX5l2/yJIOObYKOpS2JNo8nJDE7fWQ==}
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
hasBin: true
dependencies:
- caniuse-lite: 1.0.30001367
- electron-to-chromium: 1.4.194
+ caniuse-lite: 1.0.30001373
+ electron-to-chromium: 1.4.209
node-releases: 2.0.6
- update-browserslist-db: 1.0.5_browserslist@4.21.2
+ update-browserslist-db: 1.0.5_browserslist@4.21.3
dev: true
/bs-logger/0.2.6:
@@ -1431,8 +1449,8 @@ packages:
engines: {node: '>=10'}
dev: true
- /caniuse-lite/1.0.30001367:
- resolution: {integrity: sha512-XDgbeOHfifWV3GEES2B8rtsrADx4Jf+juKX2SICJcaUhjYBO3bR96kvEIHa15VU6ohtOhBZuPGGYGbXMRn0NCw==}
+ /caniuse-lite/1.0.30001373:
+ resolution: {integrity: sha512-pJYArGHrPp3TUqQzFYRmP/lwJlj8RCbVe3Gd3eJQkAV8SAC6b19XS9BjMvRdvaS8RMkaTN8ZhoHP6S1y8zzwEQ==}
dev: true
/chalk/2.4.2:
@@ -1669,8 +1687,8 @@ packages:
is-obj: 2.0.0
dev: true
- /electron-to-chromium/1.4.194:
- resolution: {integrity: sha512-ola5UH0xAP1oYY0FFUsPvwtucEzCQHucXnT7PQ1zjHJMccZhCDktEugI++JUR3YuIs7Ff7afz+OVEhVAIMhLAQ==}
+ /electron-to-chromium/1.4.209:
+ resolution: {integrity: sha512-SfWI9G/e3rxGIUalHbUCH9yEsTpO+72y+cD1Sw0tYtuTrdOPaFAgZKXM1crWVJwTNmj6KIPbbx0NIoV8a2cFJw==}
dev: true
/emittery/0.10.2:
@@ -1708,16 +1726,16 @@ packages:
engines: {node: '>=10'}
dev: true
- /eslint-config-prettier/8.5.0_eslint@8.20.0:
+ /eslint-config-prettier/8.5.0_eslint@8.21.0:
resolution: {integrity: sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==}
hasBin: true
peerDependencies:
eslint: '>=7.0.0'
dependencies:
- eslint: 8.20.0
+ eslint: 8.21.0
dev: true
- /eslint-plugin-prettier/4.2.1_370b9998364e21a2d582909b8d493e2e:
+ /eslint-plugin-prettier/4.2.1_3fb4ba81a229f81fc7d96e86670e27e9:
resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==}
engines: {node: '>=12.0.0'}
peerDependencies:
@@ -1728,8 +1746,8 @@ packages:
eslint-config-prettier:
optional: true
dependencies:
- eslint: 8.20.0
- eslint-config-prettier: 8.5.0_eslint@8.20.0
+ eslint: 8.21.0
+ eslint-config-prettier: 8.5.0_eslint@8.21.0
prettier: 2.7.1
prettier-linter-helpers: 1.0.0
dev: true
@@ -1750,13 +1768,13 @@ packages:
estraverse: 5.3.0
dev: true
- /eslint-utils/3.0.0_eslint@8.20.0:
+ /eslint-utils/3.0.0_eslint@8.21.0:
resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==}
engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0}
peerDependencies:
eslint: '>=5'
dependencies:
- eslint: 8.20.0
+ eslint: 8.21.0
eslint-visitor-keys: 2.1.0
dev: true
@@ -1770,13 +1788,14 @@ packages:
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: true
- /eslint/8.20.0:
- resolution: {integrity: sha512-d4ixhz5SKCa1D6SCPrivP7yYVi7nyD6A4vs6HIAul9ujBzcEmZVM3/0NN/yu5nKhmO1wjp5xQ46iRfmDGlOviA==}
+ /eslint/8.21.0:
+ resolution: {integrity: sha512-/XJ1+Qurf1T9G2M5IHrsjp+xrGT73RZf23xA1z5wB1ZzzEAWSZKvRwhWxTFp1rvkvCfwcvAUNAP31bhKTTGfDA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
hasBin: true
dependencies:
'@eslint/eslintrc': 1.3.0
- '@humanwhocodes/config-array': 0.9.5
+ '@humanwhocodes/config-array': 0.10.4
+ '@humanwhocodes/gitignore-to-minimatch': 1.0.2
ajv: 6.12.6
chalk: 4.1.2
cross-spawn: 7.0.3
@@ -1784,16 +1803,19 @@ packages:
doctrine: 3.0.0
escape-string-regexp: 4.0.0
eslint-scope: 7.1.1
- eslint-utils: 3.0.0_eslint@8.20.0
+ eslint-utils: 3.0.0_eslint@8.21.0
eslint-visitor-keys: 3.3.0
- espree: 9.3.2
+ espree: 9.3.3
esquery: 1.4.0
esutils: 2.0.3
fast-deep-equal: 3.1.3
file-entry-cache: 6.0.1
+ find-up: 5.0.0
functional-red-black-tree: 1.0.1
glob-parent: 6.0.2
- globals: 13.16.0
+ globals: 13.17.0
+ globby: 11.1.0
+ grapheme-splitter: 1.0.4
ignore: 5.2.0
import-fresh: 3.3.0
imurmurhash: 0.1.4
@@ -1819,12 +1841,12 @@ packages:
engines: {node: '>=6'}
dev: true
- /espree/9.3.2:
- resolution: {integrity: sha512-D211tC7ZwouTIuY5x9XnS0E9sWNChB7IYKX/Xp5eQj3nFXhqmiUDB9q27y76oFl8jTg3pXcQx/bpxMfs3CIZbA==}
+ /espree/9.3.3:
+ resolution: {integrity: sha512-ORs1Rt/uQTqUKjDdGCyrtYxbazf5umATSf/K4qxjmZHORR6HJk+2s/2Pqe+Kk49HHINC/xNIrGfgh8sZcll0ng==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
- acorn: 8.7.1
- acorn-jsx: 5.3.2_acorn@8.7.1
+ acorn: 8.8.0
+ acorn-jsx: 5.3.2_acorn@8.8.0
eslint-visitor-keys: 3.3.0
dev: true
@@ -2088,8 +2110,8 @@ packages:
engines: {node: '>=4'}
dev: true
- /globals/13.16.0:
- resolution: {integrity: sha512-A1lrQfpNF+McdPOnnFqY3kSN0AFTy485bTi1bkLk4mVPODIUEcSfhHgRqA+QdXPksrSTTztYXx37NFV+GpGk3Q==}
+ /globals/13.17.0:
+ resolution: {integrity: sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw==}
engines: {node: '>=8'}
dependencies:
type-fest: 0.20.2
@@ -2111,6 +2133,10 @@ packages:
resolution: {integrity: sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==}
dev: true
+ /grapheme-splitter/1.0.4:
+ resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==}
+ dev: true
+
/hard-rejection/2.1.0:
resolution: {integrity: sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==}
engines: {node: '>=6'}
@@ -2290,8 +2316,8 @@ packages:
resolution: {integrity: sha512-6Lthe1hqXHBNsqvgDzGO6l03XNeu3CrG4RqQ1KM9+l5+jNGpEJfIELx1NS3SEHmJQA8np/u+E4EPRKRiu6m19A==}
engines: {node: '>=8'}
dependencies:
- '@babel/core': 7.18.9
- '@babel/parser': 7.18.9
+ '@babel/core': 7.18.10
+ '@babel/parser': 7.18.10
'@istanbuljs/schema': 0.1.3
istanbul-lib-coverage: 3.2.0
semver: 6.3.0
@@ -2402,11 +2428,11 @@ packages:
ts-node:
optional: true
dependencies:
- '@babel/core': 7.18.9
+ '@babel/core': 7.18.10
'@jest/test-sequencer': 28.1.3
'@jest/types': 28.1.3
'@types/node': 17.0.45
- babel-jest: 28.1.3_@babel+core@7.18.9
+ babel-jest: 28.1.3_@babel+core@7.18.10
chalk: 4.1.2
ci-info: 3.3.2
deepmerge: 4.2.2
@@ -2639,17 +2665,17 @@ packages:
resolution: {integrity: sha512-4lzMgtiNlc3DU/8lZfmqxN3AYD6GGLbl+72rdBpXvcV+whX7mDrREzkPdp2RnmfIiWBg1YbuFSkXduF2JcafJg==}
engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0}
dependencies:
- '@babel/core': 7.18.9
- '@babel/generator': 7.18.9
- '@babel/plugin-syntax-typescript': 7.18.6_@babel+core@7.18.9
- '@babel/traverse': 7.18.9
- '@babel/types': 7.18.9
+ '@babel/core': 7.18.10
+ '@babel/generator': 7.18.10
+ '@babel/plugin-syntax-typescript': 7.18.6_@babel+core@7.18.10
+ '@babel/traverse': 7.18.10
+ '@babel/types': 7.18.10
'@jest/expect-utils': 28.1.3
'@jest/transform': 28.1.3
'@jest/types': 28.1.3
'@types/babel__traverse': 7.17.1
- '@types/prettier': 2.6.3
- babel-preset-current-node-syntax: 1.0.1_@babel+core@7.18.9
+ '@types/prettier': 2.6.4
+ babel-preset-current-node-syntax: 1.0.1_@babel+core@7.18.10
chalk: 4.1.2
expect: 28.1.3
graceful-fs: 4.2.10
@@ -3590,7 +3616,7 @@ packages:
'@tsconfig/node14': 1.0.3
'@tsconfig/node16': 1.0.3
'@types/node': 17.0.45
- acorn: 8.7.1
+ acorn: 8.8.0
acorn-walk: 8.2.0
arg: 4.1.3
create-require: 1.1.1
@@ -3663,13 +3689,13 @@ packages:
engines: {node: '>= 10.0.0'}
dev: true
- /update-browserslist-db/1.0.5_browserslist@4.21.2:
+ /update-browserslist-db/1.0.5_browserslist@4.21.3:
resolution: {integrity: sha512-dteFFpCyvuDdr9S/ff1ISkKt/9YZxKjI9WlRR99c180GaztJtRa/fn18FdxGVKVsnPY7/a/FDN68mcvUmP4U7Q==}
hasBin: true
peerDependencies:
browserslist: '>= 4.21.0'
dependencies:
- browserslist: 4.21.2
+ browserslist: 4.21.3
escalade: 3.1.1
picocolors: 1.0.0
dev: true
diff --git a/src/types.ts b/src/types.ts
index 628b593..b2b7682 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -2,6 +2,7 @@
// Use of this source code is governed by a MIT
// license that can be found in the LICENSE file.
+// Type-only imports:
import type { IContext } from '@sabl/context';
import type { Transactable, Txn } from '@sabl/txn';
import type {
@@ -10,7 +11,6 @@ import type {
StoragePool,
StorageConn,
} from '@sabl/storage-pool';
-
import type { Row } from './row';
export type ParamValue = unknown;
@@ -161,10 +161,14 @@ export type DbTransactable = Transactable;
/**
* An open database connection that implements
* both {@link DbApi} and {@link DbTransactable}.
- * Structurally matches and can be used as a {@link StorageConn}
+ * Structurally matches and can be used as a `StorageConn`
*/
export interface DbConn extends DbApi, DbTransactable {
- /** Return the connection to its source pool */
+ /**
+ * Prevent any further operations on the connection.
+ * Returns the connection to its source pool when
+ * all operations have completed.
+ */
close(): Promise;
}
diff --git a/test/types.spec.ts b/test/types.spec.ts
index e2640d9..b6d318d 100644
--- a/test/types.spec.ts
+++ b/test/types.spec.ts
@@ -28,7 +28,6 @@ describe('toParamArray', () => {
});
it('returns empty array for null input', () => {
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
expect(toParamArray(null!)).toEqual([]);
});
});