Skip to content

Commit

Permalink
sqlite - upgrade keyv to 5.0.1 (#1129)
Browse files Browse the repository at this point in the history
* sqlite - upgrade keyv to 5.0.1

* adding in vitest

* esm

* type via vitest

* lint error on postgres

* lint errors on tiered
  • Loading branch information
jaredwray authored Sep 21, 2024
1 parent 69d89e8 commit 5e1386d
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 19 deletions.
3 changes: 2 additions & 1 deletion packages/postgres/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-confusing-void-expression": "off",
"import/no-extraneous-dependencies": "off",
"@typescript-eslint/no-unnecessary-type-assertion": "off"
"@typescript-eslint/no-unnecessary-type-assertion": "off",
"@typescript-eslint/no-unnecessary-type-arguments": "off"
}
},
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/sqlite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@
},
"devDependencies": {
"@keyv/test-suite": "*",
"keyv": "^5.0.0",
"keyv": "^5.0.1",
"rimraf": "^6.0.1",
"tsd": "^0.31.1",
"tsd": "^0.31.2",
"xo": "^0.59.3"
},
"tsd": {
Expand Down
11 changes: 2 additions & 9 deletions packages/test-suite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,20 +62,13 @@
"bignumber.js": "^9.1.2",
"json-bigint": "^1.0.0",
"sqlite3": "^5.1.7",
"timekeeper": "^2.3.1"
"timekeeper": "^2.3.1",
"vitest": "^2.1.1"
},
"devDependencies": {
"@keyv/compress-brotli": "*",
"@types/json-bigint": "^1.0.4",
"keyv": "^5.0.1",
"rimraf": "^6.0.1"
},
"ava": {
"extensions": [
"ts"
],
"require": [
"ts-node/register"
]
}
}
2 changes: 1 addition & 1 deletion packages/test-suite/src/api.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import tk from 'timekeeper';
import type Vitest from 'vitest';
import type * as Vitest from 'vitest';
import type KeyvModule from 'keyv';
import type {KeyvStoreFn} from './types';

Expand Down
2 changes: 1 addition & 1 deletion packages/test-suite/src/compression.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Keyv, {type CompressionAdapter, type KeyvStoreAdapter} from 'keyv';
import type Vitest from 'vitest';
import type * as Vitest from 'vitest';

const keyvCompressionTests = (test: typeof Vitest, compression: CompressionAdapter) => {
let keyv;
Expand Down
2 changes: 1 addition & 1 deletion packages/test-suite/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type KeyvModule from 'keyv';
import type Vitest from 'vitest';
import type * as Vitest from 'vitest';
import type {KeyvStoreFn} from './types';
import keyvApiTests from './api';
import keyvValueTests from './values';
Expand Down
2 changes: 1 addition & 1 deletion packages/test-suite/src/iterator.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type Vitest from 'vitest';
import type * as Vitest from 'vitest';
import type KeyvModule from 'keyv';
import type {KeyvStoreFn} from './types';
import {delay} from './helper';
Expand Down
2 changes: 1 addition & 1 deletion packages/test-suite/src/namespace.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type Vitest from 'vitest';
import type * as Vitest from 'vitest';
import type KeyvModule from 'keyv';
import type {KeyvStoreFn} from './types';

Expand Down
2 changes: 1 addition & 1 deletion packages/test-suite/src/values.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {Buffer} from 'buffer';
import type Vitest from 'vitest';
import type * as Vitest from 'vitest';
import type KeyvModule from 'keyv';
import JSONbig from 'json-bigint';
import {BigNumber} from 'bignumber.js';
Expand Down
3 changes: 2 additions & 1 deletion packages/tiered/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"import/extensions": "off",
"import/no-extraneous-dependencies": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off"
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unnecessary-type-arguments": "off"
}
},
"repository": {
Expand Down

0 comments on commit 5e1386d

Please sign in to comment.