Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #280 from api3dao/dependabot/npm_and_yarn/eslint-p…
Browse files Browse the repository at this point in the history
…lugin-functional-4.4.1

Bump eslint-plugin-functional from 4.2.2 to 4.4.1
  • Loading branch information
aquarat authored Oct 26, 2022
2 parents 3f6c5b8 + 2b134ce commit f827d3e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"@typescript-eslint/parser": "^5.40.0",
"cross-env": "^7.0.3",
"eslint": "^8.25.0",
"eslint-plugin-functional": "^4.2.2",
"eslint-plugin-functional": "^4.4.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.3",
"express": "^4.18.1",
Expand Down
2 changes: 1 addition & 1 deletion src/make-request.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const generateRandomBytes32 = () => {
};

// Mock the axios library for the whole module
jest.mock('axios', () => jest.fn());
jest.mock('axios', jest.fn);

it('urlJoin creates a valid gateway URL', () => {
expect(
Expand Down
2 changes: 1 addition & 1 deletion src/wallets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const initializeSponsorWallets = () => {

// Derive sponsor wallets
const groupSponsorsByChain = Object.values(config.triggers.dataFeedUpdates);
const uniqueSponsors = uniq(groupSponsorsByChain.flatMap((sponsorDict) => Object.keys(sponsorDict)));
const uniqueSponsors = uniq(groupSponsorsByChain.flatMap(Object.keys));

const sponsorWalletsPrivateKey: SponsorWalletsPrivateKey = Object.fromEntries(
uniqueSponsors.map((sponsorAddress) => [
Expand Down
9 changes: 5 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4007,14 +4007,15 @@ eslint-module-utils@^2.7.3:
debug "^3.2.7"
find-up "^2.1.0"

eslint-plugin-functional@^4.2.2:
version "4.2.2"
resolved "https://registry.yarnpkg.com/eslint-plugin-functional/-/eslint-plugin-functional-4.2.2.tgz#d4c10fec0f45db892590255a03f2f9ad06eddd24"
integrity sha512-sDz61AoXnR5dIipurwqoxvZ/CHzF1FHVGR5bUR+vJjqYiRNp+Y/m2SXEpyDqYwv8zSdZpBP77g8WR3+ZiJdZpw==
eslint-plugin-functional@^4.4.1:
version "4.4.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-functional/-/eslint-plugin-functional-4.4.1.tgz#de967e2a307387281ff78466ab66967f17ff9e99"
integrity sha512-YhSfHS52Si62Sn126g9wGx+XnWMoWhwEt6ctVXfcJj+xMUiggjOqUVMca7fuLNzX8jYiNBIeU1Y0teHGePZ3NA==
dependencies:
"@typescript-eslint/utils" "^5.10.2"
deepmerge-ts "^4.0.3"
escape-string-regexp "^4.0.0"
semver "^7.3.7"

eslint-plugin-import@^2.26.0:
version "2.26.0"
Expand Down

0 comments on commit f827d3e

Please sign in to comment.