Skip to content

Commit

Permalink
Bump the everything-else group across 1 directory with 8 updates (#179)
Browse files Browse the repository at this point in the history
* Bump the everything-else group across 1 directory with 8 updates

Bumps the everything-else group with 8 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [protobufjs](https://github.com/protobufjs/protobuf.js) | `7.3.2` | `7.4.0` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `20.14.10` | `22.5.5` |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `5.62.0` | `8.6.0` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `5.62.0` | `8.6.0` |
| [eslint](https://github.com/eslint/eslint) | `8.56.0` | `9.10.0` |
| [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) | `5.1.2` | `5.2.1` |
| [ts-proto](https://github.com/stephenh/ts-proto) | `1.181.1` | `2.2.0` |
| [typescript](https://github.com/microsoft/TypeScript) | `5.5.3` | `5.6.2` |



Updates `protobufjs` from 7.3.2 to 7.4.0
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md)
- [Commits](protobufjs/protobuf.js@protobufjs-v7.3.2...protobufjs-v7.4.0)

Updates `@types/node` from 20.14.10 to 22.5.5
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@typescript-eslint/eslint-plugin` from 5.62.0 to 8.6.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.6.0/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 5.62.0 to 8.6.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.6.0/packages/parser)

Updates `eslint` from 8.56.0 to 9.10.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.56.0...v9.10.0)

Updates `eslint-plugin-prettier` from 5.1.2 to 5.2.1
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](prettier/eslint-plugin-prettier@v5.1.2...v5.2.1)

Updates `ts-proto` from 1.181.1 to 2.2.0
- [Release notes](https://github.com/stephenh/ts-proto/releases)
- [Changelog](https://github.com/stephenh/ts-proto/blob/main/CHANGELOG.md)
- [Commits](stephenh/ts-proto@v1.181.1...v2.2.0)

Updates `typescript` from 5.5.3 to 5.6.2
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](microsoft/TypeScript@v5.5.3...v5.6.2)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: everything-else
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: everything-else
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: everything-else
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: everything-else
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: everything-else
- dependency-name: eslint-plugin-prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: everything-else
- dependency-name: ts-proto
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: everything-else
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: everything-else
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update deps for eslint

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Miloš Živković <[email protected]>
  • Loading branch information
dependabot[bot] and zivkovicmilos authored Sep 19, 2024
1 parent b433301 commit 23a65fb
Show file tree
Hide file tree
Showing 5 changed files with 302 additions and 486 deletions.
9 changes: 0 additions & 9 deletions .eslintrc.json

This file was deleted.

22 changes: 22 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import globals from 'globals';
import pluginJs from '@eslint/js';
import tsEslint from 'typescript-eslint';
import tsParser from '@typescript-eslint/parser';
import eslintConfigPrettier from 'eslint-config-prettier';

export default [
eslintConfigPrettier,
pluginJs.configs.recommended,
...tsEslint.configs.recommended,
{
ignores: ['bin/**/*'],
},
{
languageOptions: { globals: globals.browser, parser: tsParser },
rules: {
'@typescript-eslint/no-explicit-any': 'warn',
'@typescript-eslint/no-unused-vars': 'warn',
'no-async-promise-executor': 'warn',
},
},
];
22 changes: 13 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gnolang/tm2-js-client",
"version": "1.2.1",
"version": "1.2.2",
"description": "Tendermint2 JS / TS Client",
"main": "./bin/index.js",
"repository": {
Expand All @@ -26,22 +26,26 @@
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@eslint/js": "^9.10.0",
"@types/jest": "^29.5.12",
"@types/long": "^5.0.0",
"@types/node": "^20.14.10",
"@types/node": "^22.5.5",
"@types/ws": "^8.5.11",
"@typescript-eslint/eslint-plugin": "^5.59.5",
"@typescript-eslint/parser": "^5.59.5",
"eslint": "^8.56.0",
"@typescript-eslint/eslint-plugin": "^8.6.0",
"@typescript-eslint/parser": "^8.6.0",
"@typescript-eslint/typescript-estree": "^8.6.0",
"eslint": "^9.10.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "5.1.2",
"eslint-plugin-prettier": "5.2.1",
"globals": "^15.9.0",
"jest": "^29.7.0",
"jest-mock-extended": "^3.0.4",
"jest-websocket-mock": "^2.4.0",
"prettier": "^3.3.3",
"ts-jest": "^29.2.2",
"ts-proto": "^1.181.1",
"typescript": "^5.5.3"
"ts-proto": "^2.2.0",
"typescript": "^5.6.2",
"typescript-eslint": "^8.6.0"
},
"dependencies": {
"@cosmjs/amino": "^0.32.4",
Expand All @@ -50,7 +54,7 @@
"@types/uuid": "^10.0.0",
"axios": "^1.7.2",
"long": "^5.2.3",
"protobufjs": "^7.3.2",
"protobufjs": "^7.4.0",
"uuid": "^10.0.0",
"ws": "^8.18.0"
},
Expand Down
4 changes: 3 additions & 1 deletion src/provider/utility/provider.utility.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ export const extractSequenceFromResponse = (
const account: ABCIAccount = parseABCI<ABCIAccount>(abciData);

return parseInt(account.BaseAccount.sequence, 10);
} catch (e) {}
} catch (e) {
// unused case
}

// Account not initialized,
// return default value (0)
Expand Down
Loading

0 comments on commit 23a65fb

Please sign in to comment.