Skip to content

Commit

Permalink
fix: deps
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillgroshkov committed Aug 13, 2023
1 parent 18ce134 commit 5c9539b
Show file tree
Hide file tree
Showing 9 changed files with 1,353 additions and 1,364 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/default.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
name: default

on: [push, workflow_dispatch]

jobs:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
name: release

on:
push:
branches: [master, next, act]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@types/better-sqlite3": "^7.6.0",
"better-sqlite3": "^8.0.1",
"sql-template-strings": "^2.2.2",
"sqlite": "^4.1.2",
"sqlite": "^5.0.1",
"sqlite3": "^5.1.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/generateTestTable.script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { Readable } from 'node:stream'
import { TEST_TABLE } from '@naturalcycles/db-lib/dist/testing'
import { _range } from '@naturalcycles/js-lib'
import { transformLogProgress, writableForEach, _pipeline } from '@naturalcycles/nodejs-lib'
import { runScript } from '@naturalcycles/nodejs-lib/dist/script'
import { runScript } from '@naturalcycles/nodejs-lib'
import { SqliteKeyValueDB } from '../src'
import { tmpDir } from '../src/test/paths.cnst'
import { TestItem } from '../src/test/test.model'
Expand Down
2 changes: 1 addition & 1 deletion scripts/streamingTest.script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DEBUG=nc* yarn tsn streamingTest

import { TEST_TABLE } from '@naturalcycles/db-lib/dist/testing'
import { transformLogProgress, writableForEach, _pipeline } from '@naturalcycles/nodejs-lib'
import { runScript } from '@naturalcycles/nodejs-lib/dist/script'
import { runScript } from '@naturalcycles/nodejs-lib'
import { SqliteKeyValueDB } from '../src'
import { tmpDir } from '../src/test/paths.cnst'

Expand Down
4 changes: 2 additions & 2 deletions src/betterSqliteKeyValueDB.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { CommonDBCreateOptions, CommonKeyValueDB, KeyValueDBTuple } from '@naturalcycles/db-lib'
import { CommonLogger } from '@naturalcycles/js-lib'
import { readableCreate, ReadableTyped } from '@naturalcycles/nodejs-lib'
import { boldWhite } from '@naturalcycles/nodejs-lib/dist/colors'
import { boldWhite } from '@naturalcycles/nodejs-lib'
import type { Options, Database } from 'better-sqlite3'
import * as BetterSqlite3 from 'better-sqlite3'

Expand Down Expand Up @@ -172,7 +172,7 @@ export class BetterSqliteKeyValueDB implements CommonKeyValueDB {

void (async () => {
for (const row of this.db.prepare(sql).iterate()) {
readable.push([row.id, row.v])
readable.push([(row as any).id, (row as any).v])
}

// Now we're done
Expand Down
2 changes: 1 addition & 1 deletion src/sqlite.db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
CommonDBSaveOptions,
} from '@naturalcycles/db-lib'
import { CommonLogger, JsonSchemaObject, ObjectWithId } from '@naturalcycles/js-lib'
import { boldWhite } from '@naturalcycles/nodejs-lib/dist/colors'
import { boldWhite } from '@naturalcycles/nodejs-lib'
import { Database, open } from 'sqlite'
import { OPEN_CREATE, OPEN_READWRITE } from 'sqlite3'
import * as sqlite3 from 'sqlite3'
Expand Down
2 changes: 1 addition & 1 deletion src/sqliteKeyValueDB.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { CommonDBCreateOptions, CommonKeyValueDB, KeyValueDBTuple } from '@naturalcycles/db-lib'
import { CommonLogger, pMap } from '@naturalcycles/js-lib'
import { readableCreate, ReadableTyped } from '@naturalcycles/nodejs-lib'
import { boldWhite } from '@naturalcycles/nodejs-lib/dist/colors'
import { boldWhite } from '@naturalcycles/nodejs-lib'
import { Database, open } from 'sqlite'
import * as sqlite3 from 'sqlite3'
import { OPEN_CREATE, OPEN_READWRITE } from 'sqlite3'
Expand Down
2,699 changes: 1,346 additions & 1,353 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 5c9539b

Please sign in to comment.