From 65d551e411cee1e70a3eb6ae85862b575b08a482 Mon Sep 17 00:00:00 2001 From: julienmalard Date: Mon, 15 Jul 2024 15:31:37 +0200 Subject: [PATCH] version --- package.json | 2 ++ pnpm-lock.yaml | 35 +++++++++++++++++++++++++++++++---- test/config.ts | 1 - 3 files changed, 33 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 03030ae..1907ebb 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "@chainsafe/libp2p-noise": "^15.1.0", "@chainsafe/libp2p-yamux": "^6.0.2", "@constl/orbit-db-types": "^2.0.0", + "@eslint/js": "^9.7.0", "@helia/block-brokers": "^3.0.2", "@libp2p/circuit-relay-v2": "^1.1.2", "@libp2p/identify": "^2.1.2", @@ -54,6 +55,7 @@ "rimraf": "^6.0.1", "ts-patch": "^3.2.1", "typescript": "^5.5.3", + "typescript-eslint": "^7.16.0", "typescript-transform-paths": "^3.4.7", "wherearewe": "^2.0.1" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 221ed3e..8d2b05f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -27,6 +27,9 @@ importers: '@constl/orbit-db-types': specifier: ^2.0.0 version: 2.0.0(react-native@0.74.3(@babel/core@7.24.9)(@babel/preset-env@7.24.8(@babel/core@7.24.9))(react@18.2.0)) + '@eslint/js': + specifier: ^9.7.0 + version: 9.7.0 '@helia/block-brokers': specifier: ^3.0.2 version: 3.0.2 @@ -87,6 +90,9 @@ importers: typescript: specifier: ^5.5.3 version: 5.5.3 + typescript-eslint: + specifier: ^7.16.0 + version: 7.16.0(eslint@9.7.0)(typescript@5.5.3) typescript-transform-paths: specifier: ^3.4.7 version: 3.4.7(typescript@5.5.3) @@ -6869,6 +6875,16 @@ packages: peerDependencies: typescript: '>3.8.3' + typescript-eslint@7.16.0: + resolution: {integrity: sha512-kaVRivQjOzuoCXU6+hLnjo3/baxyzWVO5GrnExkFzETRYJKVHYkrJglOu2OCm8Hi9RPDWX1PTNNTpU5KRV0+RA==} + engines: {node: ^18.18.0 || >=20.0.0} + peerDependencies: + eslint: ^8.56.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + typescript-transform-paths@3.4.7: resolution: {integrity: sha512-1Us1kdkdfKd2unbkBAOV2HHRmbRBYpSuk9nJ7cLD2hP4QmfToiM/VpxNlhJc1eezVwVqSKSBjNSzZsK/fWR/9A==} peerDependencies: @@ -11686,8 +11702,8 @@ snapshots: dependencies: '@typescript-eslint/eslint-plugin': 7.16.0(@typescript-eslint/parser@7.16.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': 7.16.0(eslint@8.57.0)(typescript@5.5.3) - eslint-config-love: 47.0.0(@typescript-eslint/eslint-plugin@7.16.0(@typescript-eslint/parser@7.16.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.16.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0))(eslint-plugin-n@16.6.2(eslint@9.7.0))(eslint-plugin-promise@6.4.0(eslint@8.57.0))(eslint@8.57.0)(typescript@5.5.3) - eslint-config-standard: 17.1.0(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.16.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0))(eslint-plugin-n@16.6.2(eslint@9.7.0))(eslint-plugin-promise@6.4.0(eslint@8.57.0))(eslint@8.57.0) + eslint-config-love: 47.0.0(@typescript-eslint/eslint-plugin@7.16.0(@typescript-eslint/parser@7.16.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.16.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0))(eslint-plugin-n@16.6.2(eslint@9.7.0))(eslint-plugin-promise@6.4.0(eslint@9.7.0))(eslint@8.57.0)(typescript@5.5.3) + eslint-config-standard: 17.1.0(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.16.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0))(eslint-plugin-n@16.6.2(eslint@9.7.0))(eslint-plugin-promise@6.4.0(eslint@9.7.0))(eslint@8.57.0) eslint-plugin-etc: 2.0.3(eslint@8.57.0)(typescript@5.5.3) eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.16.0(eslint@9.7.0)(typescript@5.5.3))(eslint@9.7.0) eslint-plugin-jsdoc: 48.7.0(eslint@8.57.0) @@ -11703,7 +11719,7 @@ snapshots: - eslint-plugin-n - supports-color - eslint-config-love@47.0.0(@typescript-eslint/eslint-plugin@7.16.0(@typescript-eslint/parser@7.16.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.16.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0))(eslint-plugin-n@16.6.2(eslint@9.7.0))(eslint-plugin-promise@6.4.0(eslint@8.57.0))(eslint@8.57.0)(typescript@5.5.3): + eslint-config-love@47.0.0(@typescript-eslint/eslint-plugin@7.16.0(@typescript-eslint/parser@7.16.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.16.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0))(eslint-plugin-n@16.6.2(eslint@9.7.0))(eslint-plugin-promise@6.4.0(eslint@9.7.0))(eslint@8.57.0)(typescript@5.5.3): dependencies: '@typescript-eslint/eslint-plugin': 7.16.0(@typescript-eslint/parser@7.16.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': 7.16.0(eslint@8.57.0)(typescript@5.5.3) @@ -11719,7 +11735,7 @@ snapshots: dependencies: eslint: 9.7.0 - eslint-config-standard@17.1.0(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.16.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0))(eslint-plugin-n@16.6.2(eslint@9.7.0))(eslint-plugin-promise@6.4.0(eslint@8.57.0))(eslint@8.57.0): + eslint-config-standard@17.1.0(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.16.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0))(eslint-plugin-n@16.6.2(eslint@9.7.0))(eslint-plugin-promise@6.4.0(eslint@9.7.0))(eslint@8.57.0): dependencies: eslint: 8.57.0 eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.16.0(eslint@9.7.0)(typescript@5.5.3))(eslint@9.7.0) @@ -16278,6 +16294,17 @@ snapshots: - '@swc/wasm' - '@types/node' + typescript-eslint@7.16.0(eslint@9.7.0)(typescript@5.5.3): + dependencies: + '@typescript-eslint/eslint-plugin': 7.16.0(@typescript-eslint/parser@7.16.0(eslint@9.7.0)(typescript@5.5.3))(eslint@9.7.0)(typescript@5.5.3) + '@typescript-eslint/parser': 7.16.0(eslint@9.7.0)(typescript@5.5.3) + '@typescript-eslint/utils': 7.16.0(eslint@9.7.0)(typescript@5.5.3) + eslint: 9.7.0 + optionalDependencies: + typescript: 5.5.3 + transitivePeerDependencies: + - supports-color + typescript-transform-paths@3.4.7(typescript@5.5.3): dependencies: minimatch: 3.1.2 diff --git a/test/config.ts b/test/config.ts index 84b55ba..438144e 100644 --- a/test/config.ts +++ b/test/config.ts @@ -73,7 +73,6 @@ export const createTestHelia = async ({ } = {}): Promise => { const options = isBrowser() ? Libp2pBrowserOptions : Libp2pOptions; - // @ts-ignore const libp2p = await createLibp2p({ ...options }); const blockstore = directory