Skip to content

Commit

Permalink
chore(deps-dev): bump @snapshot-labs/eslint-config from 0.1.0-beta.15…
Browse files Browse the repository at this point in the history
… to 0.1.0-beta.17 (#251)

* chore(deps-dev): bump @snapshot-labs/eslint-config

Bumps @snapshot-labs/eslint-config from 0.1.0-beta.15 to 0.1.0-beta.17.

---
updated-dependencies:
- dependency-name: "@snapshot-labs/eslint-config"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix lint

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chaitanya <yourchaitu@gmail.com>
  • Loading branch information
dependabot[bot] and ChaituVR authored Jul 25, 2024
1 parent f3544c1 commit 25fe1cb
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"typescript": "^4.7.4"
},
"devDependencies": {
"@snapshot-labs/eslint-config": "^0.1.0-beta.15",
"@snapshot-labs/eslint-config": "^0.1.0-beta.17",
"@snapshot-labs/prettier-config": "^0.1.0-beta.17",
"@types/express": "^4.17.11",
"@types/jest": "^29.5.3",
Expand Down
8 changes: 4 additions & 4 deletions src/api.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import express from 'express';
import { getAddress } from '@ethersproject/address';
import snapshot from '@snapshot-labs/snapshot.js';
import { capture } from '@snapshot-labs/snapshot-sentry';
import snapshot from '@snapshot-labs/snapshot.js';
import express from 'express';
import semver from 'semver';
import { getSafeVersion } from './utils';
import constants from './constants.json';
import db from './mysql';
// TODO: remove when all environments are updated
import constants from './constants.json';
import { getSafeVersion } from './utils';
import {
name as packageName,
version as packageVersion
Expand Down
6 changes: 3 additions & 3 deletions src/check.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { capture } from '@snapshot-labs/snapshot-sentry';
import snapshot from '@snapshot-labs/snapshot.js';
import { fetchWithKeepAlive } from './utils';
import db from './mysql';
// TODO: remove when all environments are updated
import constants from './constants.json';
import { timeMessageProcess } from './metrics';
import { capture } from '@snapshot-labs/snapshot-sentry';
import db from './mysql';
import { fetchWithKeepAlive } from './utils';

const delay = 60 * 60 * 24 * 3;
const interval = 15e3;
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import 'dotenv/config';
import express from 'express';
import { fallbackLogger, initLogger } from '@snapshot-labs/snapshot-sentry';
import bodyParser from 'body-parser';
import cors from 'cors';
import { initLogger, fallbackLogger } from '@snapshot-labs/snapshot-sentry';
import express from 'express';
import api from './api';
import './check';
import initMetrics from './metrics';
Expand Down
6 changes: 3 additions & 3 deletions src/mysql.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import mysql from 'mysql';
import Pool from 'mysql/lib/Pool';
import Connection from 'mysql/lib/Connection';
import bluebird from 'bluebird';
import parse from 'connection-string';
import mysql from 'mysql';
import Connection from 'mysql/lib/Connection';
import Pool from 'mysql/lib/Pool';

// @ts-ignore
const config = parse(process.env.DATABASE_URL);
Expand Down
4 changes: 2 additions & 2 deletions src/utils.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import https from 'node:https';
import fetch from 'node-fetch';
import { Contract } from '@ethersproject/contracts';
import { hexValue } from '@ethersproject/bytes';
import { Contract } from '@ethersproject/contracts';
import snapshot from '@snapshot-labs/snapshot.js';
import fetch from 'node-fetch';

const broviderUrl = process.env.BROVIDER_URL || 'https://rpc.snapshot.org';

Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1124,23 +1124,23 @@
dependencies:
"@sinonjs/commons" "^3.0.0"

"@snapshot-labs/eslint-config-base@^0.1.0-beta.15":
version "0.1.0-beta.15"
resolved "https://registry.yarnpkg.com/@snapshot-labs/eslint-config-base/-/eslint-config-base-0.1.0-beta.15.tgz#2f64a21a0590d0ffea8a82852ab4bd5742495daa"
integrity sha512-uqOqCDTsl92e1k3edaGweQCSlDo9mU8I1ejqXCJHHDr/ZZyBldd8R73qOjhEVdYBtbdHd97QRdKh3JhMjzhrtg==
"@snapshot-labs/eslint-config-base@^0.1.0-beta.17":
version "0.1.0-beta.17"
resolved "https://registry.yarnpkg.com/@snapshot-labs/eslint-config-base/-/eslint-config-base-0.1.0-beta.17.tgz#e989acfb31facb1518cdf170499de47aec1832c3"
integrity sha512-+NE6BTOKhxvs1el73r9cQEm3SOBhp9La8HUumE4WbMoZz67ovPsdJQt7QuqnqZNDAEiW5sP0eJNsnvvxGxO0ug==
dependencies:
"@typescript-eslint/eslint-plugin" "^6.7.3"
"@typescript-eslint/parser" "^6.7.3"
eslint-config-prettier "^9.0.0"
eslint-plugin-import "^2.29.0"
eslint-plugin-prettier "^5.0.1"

"@snapshot-labs/eslint-config@^0.1.0-beta.15":
version "0.1.0-beta.15"
resolved "https://registry.yarnpkg.com/@snapshot-labs/eslint-config/-/eslint-config-0.1.0-beta.15.tgz#9aef268a7946476180e433522a4e197d5149fe11"
integrity sha512-bzx8wxho5K1w7jFgo2nikVmr1jzGWE7zcGOlrrEYz9DRNccMAan83BqLSlzxJZn24Jey40eoARiEvFhgtY9MVg==
"@snapshot-labs/eslint-config@^0.1.0-beta.17":
version "0.1.0-beta.17"
resolved "https://registry.yarnpkg.com/@snapshot-labs/eslint-config/-/eslint-config-0.1.0-beta.17.tgz#fe6d4721937902415888a1fa6fec15c57b114870"
integrity sha512-hgEL6hbMAeYKaw7D6Fh+axsU/RZtfCsZHdJOD+CpG/x4+jXaWnV+tKSe6AidT/Yz/wK/4V76t6cAkVJ10ciLOw==
dependencies:
"@snapshot-labs/eslint-config-base" "^0.1.0-beta.15"
"@snapshot-labs/eslint-config-base" "^0.1.0-beta.17"

"@snapshot-labs/prettier-config@^0.1.0-beta.17":
version "0.1.0-beta.17"
Expand Down

0 comments on commit 25fe1cb

Please sign in to comment.