Skip to content
This repository was archived by the owner on May 25, 2025. It is now read-only.

Commit efd3352

Browse files
fix: deps
1 parent f00a88a commit efd3352

File tree

8 files changed

+1275
-1019
lines changed

8 files changed

+1275
-1019
lines changed

.github/workflows/default.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
# CC_TEST_REPORTER_ID: 59622194cc44d91d2d1d239dffbe6af31e8cb985e6e6369c0743b67ad2cc8713
1212
steps:
1313
- { uses: actions/checkout@v3, with: { persist-credentials: false } }
14-
- { uses: actions/setup-node@v3, with: { node-version: 16, cache: 'yarn' } }
14+
- { uses: actions/setup-node@v3, with: { node-version: 18, cache: 'yarn' } }
1515

1616
- name: deps
1717
run: yarn --frozen-lockfile

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
env: { NODE_OPTIONS: '--max-old-space-size=3200' }
1212
steps:
1313
- { uses: actions/checkout@v3, with: { persist-credentials: true } }
14-
- { uses: actions/setup-node@v3, with: { node-version: 16, cache: 'yarn' } }
14+
- { uses: actions/setup-node@v3, with: { node-version: 18, cache: 'yarn' } }
1515

1616
# Cache for npm/npx in ~/.npm
1717
- uses: actions/cache@v3

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"@naturalcycles/js-lib": "^14.27.0",
99
"@naturalcycles/nodejs-lib": "^12.14.5",
1010
"@types/better-sqlite3": "^7.6.0",
11-
"better-sqlite3": "^7.6.2",
11+
"better-sqlite3": "^8.0.1",
1212
"sql-template-strings": "^2.2.2",
1313
"sqlite": "^4.1.2",
1414
"sqlite3": "^5.1.1"
@@ -36,7 +36,7 @@
3636
"url": "https://github.com/NaturalCycles/sqlite-lib"
3737
},
3838
"engines": {
39-
"node": ">=14.15.0"
39+
"node": ">=16.15.0"
4040
},
4141
"version": "1.2.1",
4242
"description": "CommonDB implementation based on SQLite",

scripts/generateTestTable.script.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Not gzipped (to better test streaming)
88
99
*/
1010

11-
import { Readable } from 'stream'
11+
import { Readable } from 'node:stream'
1212
import { TEST_TABLE } from '@naturalcycles/db-lib/dist/testing'
1313
import { _range } from '@naturalcycles/js-lib'
1414
import { transformLogProgress, writableForEach, _pipeline } from '@naturalcycles/nodejs-lib'

src/sqlite.db.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export class SQLiteDB extends BaseCommonDB implements CommonDB {
114114

115115
override async getByIds<ROW extends ObjectWithId>(
116116
_table: string,
117-
_ids: string[],
117+
_ids: ROW['id'][],
118118
_opt?: CommonDBOptions,
119119
): Promise<ROW[]> {
120120
// todo: implement all query.util from mysql

src/stream.util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Readable } from 'stream'
1+
import { Readable } from 'node:stream'
22
import { ReadableTyped } from '@naturalcycles/nodejs-lib'
33
import { Database, Statement } from 'sqlite'
44

src/test/paths.cnst.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as path from 'path'
1+
import * as path from 'node:path'
22

33
export const projectDir = path.join(`${__dirname}/../..`)
44
export const tmpDir = `${projectDir}/tmp`

yarn.lock

Lines changed: 1267 additions & 1011 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)