From aa676dff02fbb34203b77bcb77698536c153a6af Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Thu, 22 Dec 2022 12:39:48 +0000
Subject: [PATCH] chore(deps): bump big.js and @types/big.js

Bumps [big.js](https://github.com/MikeMcl/big.js) and [@types/big.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/big.js). These dependencies needed to be updated together.

Updates `big.js` from 5.2.2 to 6.2.1
- [Release notes](https://github.com/MikeMcl/big.js/releases)
- [Changelog](https://github.com/MikeMcl/big.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/MikeMcl/big.js/compare/v5.2.2...v6.2.1)

Updates `@types/big.js` from 4.0.5 to 6.1.5
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/big.js)

---
updated-dependencies:
- dependency-name: big.js
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: "@types/big.js"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
---
 package-lock.json | 47 +++++++++++++++++++++++++++++++++--------------
 package.json      |  4 ++--
 2 files changed, 35 insertions(+), 16 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index 804b94e3..91990fed 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -23,7 +23,7 @@
         "@swapr/core": "^0.3.20",
         "@swapr/periphery": "^0.3.23",
         "@uniswap/smart-order-router": "^2.9.3",
-        "big.js": "^5.2.2",
+        "big.js": "^6.2.1",
         "dayjs": "^1.11.0",
         "debug": "^4.3.4",
         "decimal.js-light": "^2.5.1",
@@ -43,7 +43,7 @@
         "@graphql-codegen/typescript-graphql-request": "^4.4.10",
         "@graphql-codegen/typescript-operations": "^2.4.2",
         "@testing-library/jest-dom": "^5.16.4",
-        "@types/big.js": "^4.0.5",
+        "@types/big.js": "^6.1.6",
         "@types/debug": "^4.1.7",
         "@types/jest": "^27.0.0",
         "@types/lodash.flatmap": "^4.5.6",
@@ -4807,9 +4807,9 @@
       }
     },
     "node_modules/@types/big.js": {
-      "version": "4.0.5",
-      "resolved": "https://registry.npmjs.org/@types/big.js/-/big.js-4.0.5.tgz",
-      "integrity": "sha512-D9KFrAt05FDSqLo7PU9TDHfDgkarlwdkuwFsg7Zm4xl62tTNaz+zN+Tkcdx2wGLBbSMf8BnoMhOVeUGUaJfLKg==",
+      "version": "6.1.6",
+      "resolved": "https://registry.npmjs.org/@types/big.js/-/big.js-6.1.6.tgz",
+      "integrity": "sha512-0r9J+Zz9rYm2hOTwiMAVkm3XFQ4u5uTK37xrQMhc9bysn/sf/okzovWMYYIBMFTn/yrEZ11pusgLEaoarTlQbA==",
       "dev": true
     },
     "node_modules/@types/bn.js": {
@@ -5407,6 +5407,14 @@
         "node": ">=10"
       }
     },
+    "node_modules/@uniswap/sdk-core/node_modules/big.js": {
+      "version": "5.2.2",
+      "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz",
+      "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==",
+      "engines": {
+        "node": "*"
+      }
+    },
     "node_modules/@uniswap/smart-order-router": {
       "version": "2.10.2",
       "resolved": "https://registry.npmjs.org/@uniswap/smart-order-router/-/smart-order-router-2.10.2.tgz",
@@ -6193,11 +6201,15 @@
       "integrity": "sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ=="
     },
     "node_modules/big.js": {
-      "version": "5.2.2",
-      "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz",
-      "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==",
+      "version": "6.2.1",
+      "resolved": "https://registry.npmjs.org/big.js/-/big.js-6.2.1.tgz",
+      "integrity": "sha512-bCtHMwL9LeDIozFn+oNhhFoq+yQ3BNdnsLSASUxLciOb1vgvpHsIO1dsENiGMgbb4SkP5TrzWzRiLddn8ahVOQ==",
       "engines": {
         "node": "*"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/bigjs"
       }
     },
     "node_modules/bigint-crypto-utils": {
@@ -19956,9 +19968,9 @@
       }
     },
     "@types/big.js": {
-      "version": "4.0.5",
-      "resolved": "https://registry.npmjs.org/@types/big.js/-/big.js-4.0.5.tgz",
-      "integrity": "sha512-D9KFrAt05FDSqLo7PU9TDHfDgkarlwdkuwFsg7Zm4xl62tTNaz+zN+Tkcdx2wGLBbSMf8BnoMhOVeUGUaJfLKg==",
+      "version": "6.1.6",
+      "resolved": "https://registry.npmjs.org/@types/big.js/-/big.js-6.1.6.tgz",
+      "integrity": "sha512-0r9J+Zz9rYm2hOTwiMAVkm3XFQ4u5uTK37xrQMhc9bysn/sf/okzovWMYYIBMFTn/yrEZ11pusgLEaoarTlQbA==",
       "dev": true
     },
     "@types/bn.js": {
@@ -20434,6 +20446,13 @@
         "jsbi": "^3.1.4",
         "tiny-invariant": "^1.1.0",
         "toformat": "^2.0.0"
+      },
+      "dependencies": {
+        "big.js": {
+          "version": "5.2.2",
+          "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz",
+          "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ=="
+        }
       }
     },
     "@uniswap/smart-order-router": {
@@ -21041,9 +21060,9 @@
       "integrity": "sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ=="
     },
     "big.js": {
-      "version": "5.2.2",
-      "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz",
-      "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ=="
+      "version": "6.2.1",
+      "resolved": "https://registry.npmjs.org/big.js/-/big.js-6.2.1.tgz",
+      "integrity": "sha512-bCtHMwL9LeDIozFn+oNhhFoq+yQ3BNdnsLSASUxLciOb1vgvpHsIO1dsENiGMgbb4SkP5TrzWzRiLddn8ahVOQ=="
     },
     "bigint-crypto-utils": {
       "version": "3.1.8",
diff --git a/package.json b/package.json
index 5a5fcbab..7e84e0d8 100644
--- a/package.json
+++ b/package.json
@@ -45,7 +45,7 @@
     "@swapr/core": "^0.3.20",
     "@swapr/periphery": "^0.3.23",
     "@uniswap/smart-order-router": "^2.9.3",
-    "big.js": "^5.2.2",
+    "big.js": "^6.2.1",
     "dayjs": "^1.11.0",
     "debug": "^4.3.4",
     "decimal.js-light": "^2.5.1",
@@ -65,7 +65,7 @@
     "@graphql-codegen/typescript-graphql-request": "^4.4.10",
     "@graphql-codegen/typescript-operations": "^2.4.2",
     "@testing-library/jest-dom": "^5.16.4",
-    "@types/big.js": "^4.0.5",
+    "@types/big.js": "^6.1.6",
     "@types/debug": "^4.1.7",
     "@types/jest": "^27.0.0",
     "@types/lodash.flatmap": "^4.5.6",