1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

upgrade deps (#2517)

* upgrade deps

* fix graph tests
This commit is contained in:
Leibale Eidelman
2023-05-29 09:01:34 -04:00
committed by GitHub
parent 100a5232ac
commit 0298c1ac41
11 changed files with 813 additions and 675 deletions

View File

@@ -18,13 +18,13 @@
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@redis/test-utils": "*",
"@types/node": "^18.14.1",
"@types/node": "^20.2.3",
"nyc": "^15.1.0",
"release-it": "^15.6.0",
"release-it": "^15.10.3",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.1",
"typedoc": "^0.23.25",
"typescript": "^4.9.5"
"typedoc": "^0.24.7",
"typescript": "^5.0.4"
},
"repository": {
"type": "git",

View File

@@ -21,19 +21,19 @@
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@redis/test-utils": "*",
"@types/node": "^18.14.1",
"@types/sinon": "^10.0.13",
"@types/node": "^20.2.3",
"@types/sinon": "^10.0.15",
"@types/yallist": "^4.0.1",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"eslint": "^8.34.0",
"@typescript-eslint/eslint-plugin": "^5.59.7",
"@typescript-eslint/parser": "^5.59.7",
"eslint": "^8.41.0",
"nyc": "^15.1.0",
"release-it": "^15.6.0",
"sinon": "^15.0.1",
"release-it": "^15.10.3",
"sinon": "^15.1.0",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.1",
"typedoc": "^0.23.25",
"typescript": "^4.9.5"
"typedoc": "^0.24.7",
"typescript": "^5.0.4"
},
"engines": {
"node": ">=14"

View File

@@ -68,7 +68,7 @@ describe('Graph', () => {
// check with and without metadata cache
for (let i = 0; i < 2; i++) {
const { data } = await graph.query('CREATE ()-[edge :edge]->() RETURN edge');
const { data } = await graph.query<any>('CREATE ()-[edge :edge]->() RETURN edge');
assert.ok(Array.isArray(data));
assert.equal(data.length, 1);
assert.equal(typeof data[0].edge.id, 'number');
@@ -85,7 +85,7 @@ describe('Graph', () => {
// check with and without metadata cache
for (let i = 0; i < 2; i++) {
const { data } = await graph.query('CREATE (node :node { p: 0 }) RETURN node');
const { data } = await graph.query<any>('CREATE (node :node { p: 0 }) RETURN node');
assert.ok(Array.isArray(data));
assert.equal(data.length, 1);
assert.equal(typeof data[0].node.id, 'number');
@@ -98,7 +98,7 @@ describe('Graph', () => {
const graph = new Graph(client as any, 'graph'),
[, { data }] = await Promise.all([
await graph.query('CREATE ()-[:edge]->()'),
await graph.roQuery('MATCH path = ()-[:edge]->() RETURN path')
await graph.roQuery<any>('MATCH path = ()-[:edge]->() RETURN path')
]);
assert.ok(Array.isArray(data));

View File

@@ -18,13 +18,13 @@
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@redis/test-utils": "*",
"@types/node": "^18.14.1",
"@types/node": "^20.2.3",
"nyc": "^15.1.0",
"release-it": "^15.6.0",
"release-it": "^15.10.3",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.1",
"typedoc": "^0.23.25",
"typescript": "^4.9.5"
"typedoc": "^0.24.7",
"typescript": "^5.0.4"
},
"repository": {
"type": "git",

View File

@@ -18,13 +18,13 @@
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@redis/test-utils": "*",
"@types/node": "^18.14.1",
"@types/node": "^20.2.3",
"nyc": "^15.1.0",
"release-it": "^15.6.0",
"release-it": "^15.10.3",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.1",
"typedoc": "^0.23.25",
"typescript": "^4.9.5"
"typedoc": "^0.24.7",
"typescript": "^5.0.4"
},
"repository": {
"type": "git",

View File

@@ -18,13 +18,13 @@
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@redis/test-utils": "*",
"@types/node": "^18.14.1",
"@types/node": "^20.2.3",
"nyc": "^15.1.0",
"release-it": "^15.6.0",
"release-it": "^15.10.3",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.1",
"typedoc": "^0.23.25",
"typescript": "^4.9.5"
"typedoc": "^0.24.7",
"typescript": "^5.0.4"
},
"repository": {
"type": "git",

View File

@@ -12,13 +12,13 @@
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/mocha": "^10.0.1",
"@types/node": "^18.14.1",
"@types/yargs": "^17.0.22",
"@types/node": "^20.2.3",
"@types/yargs": "^17.0.24",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.1",
"typescript": "^4.9.5",
"yargs": "^17.7.1"
"typescript": "^5.0.4",
"yargs": "^17.7.2"
}
}

View File

@@ -18,13 +18,13 @@
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@redis/test-utils": "*",
"@types/node": "^18.14.1",
"@types/node": "^20.2.3",
"nyc": "^15.1.0",
"release-it": "^15.6.0",
"release-it": "^15.10.3",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.1",
"typedoc": "^0.23.25",
"typescript": "^4.9.5"
"typedoc": "^0.24.7",
"typescript": "^5.0.4"
},
"repository": {
"type": "git",