From ed12cb5e7ab6545578c0ba07fd9b594c2558a08b Mon Sep 17 00:00:00 2001 From: George Kudrayvtsev Date: Fri, 15 Sep 2023 12:23:33 -0700 Subject: [PATCH 1/3] v11.0.0-beta.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 079aa9e6c..36bcdd937 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stellar-sdk", - "version": "11.0.0-beta.1", + "version": "11.0.0-beta.2", "description": "A library for working with the Stellar Horizon server.", "keywords": [ "stellar" From 7f321b97761a4ceea2e363d77adcb06eb2c4a3b4 Mon Sep 17 00:00:00 2001 From: George Kudrayvtsev Date: Fri, 15 Sep 2023 12:50:04 -0700 Subject: [PATCH 2/3] Upgrade all dependencies, changelog entry, version bump --- CHANGELOG.md | 41 +- package.json | 52 +- test/integration/apiary.js | 2 +- test/unit/call_builders_test.js | 2 +- test/unit/federation_server_test.js | 86 +- test/unit/horizon_path_test.js | 14 +- test/unit/liquidity_pool_endpoints_test.js | 26 +- test/unit/server/claimable_balances.js | 24 +- test/unit/server/join_test.js | 6 +- test/unit/server_check_memo_required_test.js | 16 +- test/unit/server_test.js | 402 ++--- test/unit/server_transaction_test.js | 40 +- test/unit/stellar_toml_resolver_test.js | 18 +- test/unit/utils_test.js | 644 ++++---- yarn.lock | 1538 +++++++++++++----- 15 files changed, 1778 insertions(+), 1133 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 538cb5d65..88fa26ac0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,8 +5,25 @@ A breaking change will get clearly marked in this log. ## Unreleased -### Add +## [v11.0.0-beta.2](https://github.com/stellar/js-stellar-sdk/compare/v11.0.0-beta.1...v11.0.0-beta.2) + +### Breaking Changes +- Certain effects have been renamed to align better with the "tense" that other structures have ([#844](https://github.com/stellar/js-stellar-sdk/pull/844)): + * `DepositLiquidityEffect` -> `LiquidityPoolDeposited` + * `WithdrawLiquidityEffect` -> `LiquidityPoolWithdrew` + * `LiquidityPoolTradeEffect` -> `LiquidityPoolTrade` + * `LiquidityPoolCreatedEffect` -> `LiquidityPoolCreated` + * `LiquidityPoolRevokedEffect` -> `LiquidityPoolRevoked` + * `LiquidityPoolRemovedEffect` -> `LiquidityPoolRemoved` + +### Add +- New effects have been added to support Protocol 20 (Soroban) ([#842](https://github.com/stellar/js-stellar-sdk/pull/842)): + * `ContractCredited` occurs when a Stellar asset moves **into** its corresponding Stellar Asset Contract instance + * `ContractDebited` occurs when a Stellar asset moves **out of** its corresponding Stellar Asset Contract instance +- Asset stat records (`ServerApi.AssetRecord`) contain two new fields to support the Protocol 20 (Soroban) release ([#TODO](https://github.com/stellar/js-stellar-sdk/pulls/)): + * `num_contracts` - the integer quantity of contracts that hold this asset + * `contracts_amount` - the total units of that asset held by contracts - Asset stat records (`ServerApi.AssetRecord`) contain two new fields to support the Protocol 20 (Soroban) release ([#841](https://github.com/stellar/js-stellar-sdk/pull/841)): * `num_contracts` - the integer quantity of contracts that hold this asset * `contracts_amount` - the total units of that asset held by contracts @@ -37,31 +54,11 @@ interface BumpFootprintExpirationOperationResponse { interface RestoreFootprintOperationResponse {}; ``` - -### Breaking Changes - -- Certain effects have been renamed to align better with the "tense" that other structures have ([#844](https://github.com/stellar/js-stellar-sdk/pull/844)): - * `DepositLiquidityEffect` -> `LiquidityPoolDeposited` - * `WithdrawLiquidityEffect` -> `LiquidityPoolWithdrew` - * `LiquidityPoolTradeEffect` -> `LiquidityPoolTrade` - * `LiquidityPoolCreatedEffect` -> `LiquidityPoolCreated` - * `LiquidityPoolRevokedEffect` -> `LiquidityPoolRevoked` - * `LiquidityPoolRemovedEffect` -> `LiquidityPoolRemoved` - -### Add - -- New effects have been added to support Protocol 20 (Soroban) ([#842](https://github.com/stellar/js-stellar-sdk/pull/842)): - * `ContractCredited` occurs when a Stellar asset moves **into** its corresponding Stellar Asset Contract instance - * `ContractDebited` occurs when a Stellar asset moves **out of** its corresponding Stellar Asset Contract instance -- Asset stat records (`ServerApi.AssetRecord`) contain two new fields to support the Protocol 20 (Soroban) release ([#TODO](https://github.com/stellar/js-stellar-sdk/pulls/)): - * `num_contracts` - the integer quantity of contracts that hold this asset - * `contracts_amount` - the total units of that asset held by contracts - ### Fixed - - Some effect definitions that were missing have been added ([#842](https://github.com/stellar/js-stellar-sdk/pull/842)): * `ClaimableBalanceClawedBack` is now defined * `type EffectRecord` now has all of the effect types +- The `stellar-base` library has been upgraded to support the latest Protocol 20 XDR schema and all Soroban functionality ([]()). ## [v11.0.0-beta.1](https://github.com/stellar/js-stellar-sdk/compare/v11.0.0-beta.0...v11.0.0-beta.1) diff --git a/package.json b/package.json index 36bcdd937..8bb1a5d3e 100644 --- a/package.json +++ b/package.json @@ -76,38 +76,38 @@ ] }, "devDependencies": { - "@babel/cli": "^7.22.6", - "@babel/core": "^7.22.8", - "@babel/eslint-parser": "^7.22.7", - "@babel/eslint-plugin": "^7.19.1", - "@babel/preset-env": "^7.22.7", - "@babel/preset-typescript": "^7.21.4", - "@babel/register": "^7.21.0", - "@definitelytyped/dtslint": "^0.0.163", + "@babel/cli": "^7.22.15", + "@babel/core": "^7.22.19", + "@babel/eslint-parser": "^7.22.15", + "@babel/eslint-plugin": "^7.22.10", + "@babel/preset-env": "^7.22.15", + "@babel/preset-typescript": "^7.22.15", + "@babel/register": "^7.22.15", + "@definitelytyped/dtslint": "^0.0.178", "@istanbuljs/nyc-config-babel": "3.0.0", "@stellar/tsconfig": "^1.0.2", "@types/detect-node": "^2.0.0", "@types/eventsource": "^1.1.2", - "@types/lodash": "^4.14.192", - "@types/node": "^20.4.1", + "@types/lodash": "^4.14.198", + "@types/node": "^20.6.1", "@types/randombytes": "^2.0.0", - "@types/urijs": "^1.19.6", - "@typescript-eslint/parser": "^5.59.7", - "axios-mock-adapter": "^1.21.5", + "@types/urijs": "^1.19.20", + "@typescript-eslint/parser": "^6.7.0", + "axios-mock-adapter": "^1.22.0", "babel-loader": "^9.1.3", "babel-plugin-istanbul": "^6.1.1", "buffer": "^6.0.3", - "chai": "^4.3.7", + "chai": "^4.3.8", "chai-as-promised": "^7.1.1", "chai-http": "^4.3.0", "cross-env": "^7.0.3", - "eslint": "^8.44.0", + "eslint": "^8.49.0", "eslint-config-airbnb-base": "^15.0.0", - "eslint-config-prettier": "^8.8.0", - "eslint-plugin-import": "^2.25.2", + "eslint-config-prettier": "^9.0.0", + "eslint-plugin-import": "^2.28.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prefer-import": "^0.0.1", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.0.0", "eslint-webpack-plugin": "^4.0.1", "ghooks": "^2.0.4", "husky": "^8.0.3", @@ -120,30 +120,30 @@ "karma-mocha": "^2.0.0", "karma-sinon-chai": "^2.0.2", "karma-webpack": "^5.0.0", - "lint-staged": "^13.2.3", + "lint-staged": "^14.0.1", "lodash": "^4.17.21", "minami": "^1.1.1", "mocha": "^10.2.0", "node-polyfill-webpack-plugin": "^2.0.1", "nyc": "^15.1.0", - "prettier": "^2.8.7", + "prettier": "^3.0.3", "randombytes": "^2.1.0", - "sinon": "^15.2.0", + "sinon": "^16.0.0", "sinon-chai": "^3.7.0", "taffydb": "^2.7.3", "terser-webpack-plugin": "^5.3.9", "ts-node": "^10.9.1", - "typescript": "^5.1.6", + "typescript": "^5.2.2", "utility-types": "^3.7.0", - "webpack": "^5.88.1", + "webpack": "^5.88.2", "webpack-cli": "^5.0.1" }, "dependencies": { - "axios": "^1.4.0", - "bignumber.js": "^9.1.1", + "axios": "^1.5.0", + "bignumber.js": "^9.1.2", "eventsource": "^2.0.2", "randombytes": "^2.1.0", - "stellar-base": "^9.0.0", + "stellar-base": "^10.0.0-beta.1", "toml": "^3.0.0", "urijs": "^1.19.1" } diff --git a/test/integration/apiary.js b/test/integration/apiary.js index 7050bb4ee..7c95d40fc 100644 --- a/test/integration/apiary.js +++ b/test/integration/apiary.js @@ -157,7 +157,7 @@ describe("tests the /accounts endpoint", function () { .then((resp) => { // find the pool share balance(s) const poolShares = resp.balances.filter( - (b) => b.asset_type === "liquidity_pool_shares" + (b) => b.asset_type === "liquidity_pool_shares", ); expect(poolShares).to.have.lengthOf(1); diff --git a/test/unit/call_builders_test.js b/test/unit/call_builders_test.js index 28a8f882f..80541b7ec 100644 --- a/test/unit/call_builders_test.js +++ b/test/unit/call_builders_test.js @@ -10,7 +10,7 @@ describe("CallBuilder functions", function () { expect(arg.toString()).not.to.be.equal("https://onedom.ain/one_segment"); // https://onedom.ain/ expect(builder.url.toString()).to.be.equal( - "https://onedom.ain/one_segment" + "https://onedom.ain/one_segment", ); }); }); diff --git a/test/unit/federation_server_test.js b/test/unit/federation_server_test.js index bc3bad34d..b8d97181f 100644 --- a/test/unit/federation_server_test.js +++ b/test/unit/federation_server_test.js @@ -4,7 +4,7 @@ describe("federation-server.js tests", function () { beforeEach(function () { this.server = new StellarSdk.FederationServer( "https://acme.com:1337/federation", - "stellar.org" + "stellar.org", ); this.axiosMock = sinon.mock(axios); @@ -21,8 +21,8 @@ describe("federation-server.js tests", function () { () => new StellarSdk.FederationServer( "http://acme.com:1337/federation", - "stellar.org" - ) + "stellar.org", + ), ).to.throw(/Cannot connect to insecure federation server/); }); @@ -32,8 +32,8 @@ describe("federation-server.js tests", function () { new StellarSdk.FederationServer( "http://acme.com:1337/federation", "stellar.org", - { allowHttp: true } - ) + { allowHttp: true }, + ), ).to.not.throw(); }); @@ -44,8 +44,8 @@ describe("federation-server.js tests", function () { new StellarSdk.FederationServer( "http://acme.com:1337/federation", "stellar.org", - { allowHttp: true } - ) + { allowHttp: true }, + ), ).to.not.throw(); }); }); @@ -56,8 +56,8 @@ describe("federation-server.js tests", function () { .expects("get") .withArgs( sinon.match( - "https://acme.com:1337/federation?type=name&q=bob%2Astellar.org" - ) + "https://acme.com:1337/federation?type=name&q=bob%2Astellar.org", + ), ) .returns( Promise.resolve({ @@ -66,7 +66,7 @@ describe("federation-server.js tests", function () { account_id: "GB5XVAABEQMY63WTHDQ5RXADGYF345VWMNPTN2GFUDZT57D57ZQTJ7PS", }, - }) + }), ); }); @@ -76,7 +76,7 @@ describe("federation-server.js tests", function () { .then((response) => { expect(response.stellar_address).equals("bob*stellar.org"); expect(response.account_id).equals( - "GB5XVAABEQMY63WTHDQ5RXADGYF345VWMNPTN2GFUDZT57D57ZQTJ7PS" + "GB5XVAABEQMY63WTHDQ5RXADGYF345VWMNPTN2GFUDZT57D57ZQTJ7PS", ); done(); }) @@ -91,7 +91,7 @@ describe("federation-server.js tests", function () { .then((response) => { expect(response.stellar_address).equals("bob*stellar.org"); expect(response.account_id).equals( - "GB5XVAABEQMY63WTHDQ5RXADGYF345VWMNPTN2GFUDZT57D57ZQTJ7PS" + "GB5XVAABEQMY63WTHDQ5RXADGYF345VWMNPTN2GFUDZT57D57ZQTJ7PS", ); done(); }) @@ -107,8 +107,8 @@ describe("federation-server.js tests", function () { .expects("get") .withArgs( sinon.match( - "https://acme.com:1337/federation?type=id&q=GB5XVAABEQMY63WTHDQ5RXADGYF345VWMNPTN2GFUDZT57D57ZQTJ7PS" - ) + "https://acme.com:1337/federation?type=id&q=GB5XVAABEQMY63WTHDQ5RXADGYF345VWMNPTN2GFUDZT57D57ZQTJ7PS", + ), ) .returns( Promise.resolve({ @@ -117,19 +117,19 @@ describe("federation-server.js tests", function () { account_id: "GB5XVAABEQMY63WTHDQ5RXADGYF345VWMNPTN2GFUDZT57D57ZQTJ7PS", }, - }) + }), ); }); it("requests is correct", function (done) { this.server .resolveAccountId( - "GB5XVAABEQMY63WTHDQ5RXADGYF345VWMNPTN2GFUDZT57D57ZQTJ7PS" + "GB5XVAABEQMY63WTHDQ5RXADGYF345VWMNPTN2GFUDZT57D57ZQTJ7PS", ) .then((response) => { expect(response.stellar_address).equals("bob*stellar.org"); expect(response.account_id).equals( - "GB5XVAABEQMY63WTHDQ5RXADGYF345VWMNPTN2GFUDZT57D57ZQTJ7PS" + "GB5XVAABEQMY63WTHDQ5RXADGYF345VWMNPTN2GFUDZT57D57ZQTJ7PS", ); done(); }) @@ -145,8 +145,8 @@ describe("federation-server.js tests", function () { .expects("get") .withArgs( sinon.match( - "https://acme.com:1337/federation?type=txid&q=3389e9f0f1a65f19736cacf544c2e825313e8447f569233bb8db39aa607c8889" - ) + "https://acme.com:1337/federation?type=txid&q=3389e9f0f1a65f19736cacf544c2e825313e8447f569233bb8db39aa607c8889", + ), ) .returns( Promise.resolve({ @@ -155,19 +155,19 @@ describe("federation-server.js tests", function () { account_id: "GB5XVAABEQMY63WTHDQ5RXADGYF345VWMNPTN2GFUDZT57D57ZQTJ7PS", }, - }) + }), ); }); it("requests is correct", function (done) { this.server .resolveTransactionId( - "3389e9f0f1a65f19736cacf544c2e825313e8447f569233bb8db39aa607c8889" + "3389e9f0f1a65f19736cacf544c2e825313e8447f569233bb8db39aa607c8889", ) .then((response) => { expect(response.stellar_address).equals("bob*stellar.org"); expect(response.account_id).equals( - "GB5XVAABEQMY63WTHDQ5RXADGYF345VWMNPTN2GFUDZT57D57ZQTJ7PS" + "GB5XVAABEQMY63WTHDQ5RXADGYF345VWMNPTN2GFUDZT57D57ZQTJ7PS", ); done(); }) @@ -189,19 +189,19 @@ describe("federation-server.js tests", function () { # for users on your domain. FEDERATION_SERVER="https://api.stellar.org/federation" `, - }) + }), ); StellarSdk.FederationServer.createForDomain("acme.com").then( (federationServer) => { expect(federationServer.serverURL.protocol()).equals("https"); expect(federationServer.serverURL.hostname()).equals( - "api.stellar.org" + "api.stellar.org", ); expect(federationServer.serverURL.path()).equals("/federation"); expect(federationServer.domain).equals("acme.com"); done(); - } + }, ); }); @@ -212,12 +212,12 @@ FEDERATION_SERVER="https://api.stellar.org/federation" .returns( Promise.resolve({ data: "", - }) + }), ); StellarSdk.FederationServer.createForDomain("acme.com") .should.be.rejectedWith( - /stellar.toml does not contain FEDERATION_SERVER field/ + /stellar.toml does not contain FEDERATION_SERVER field/, ) .and.notify(done); }); @@ -226,7 +226,7 @@ FEDERATION_SERVER="https://api.stellar.org/federation" describe("FederationServer.resolve", function () { it("succeeds for a valid account ID", function (done) { StellarSdk.FederationServer.resolve( - "GAFSZ3VPBC2H2DVKCEWLN3PQWZW6BVDMFROWJUDAJ3KWSOKQIJ4R5W4J" + "GAFSZ3VPBC2H2DVKCEWLN3PQWZW6BVDMFROWJUDAJ3KWSOKQIJ4R5W4J", ) .should.eventually.deep.equal({ account_id: @@ -252,15 +252,15 @@ FEDERATION_SERVER="https://api.stellar.org/federation" # for users on your domain. FEDERATION_SERVER="https://api.stellar.org/federation" `, - }) + }), ); this.axiosMock .expects("get") .withArgs( sinon.match( - "https://api.stellar.org/federation?type=name&q=bob%2Astellar.org" - ) + "https://api.stellar.org/federation?type=name&q=bob%2Astellar.org", + ), ) .returns( Promise.resolve({ @@ -271,7 +271,7 @@ FEDERATION_SERVER="https://api.stellar.org/federation" memo_type: "id", memo: "100", }, - }) + }), ); StellarSdk.FederationServer.resolve("bob*stellar.org") @@ -296,8 +296,8 @@ FEDERATION_SERVER="https://api.stellar.org/federation" .expects("get") .withArgs( sinon.match( - "https://acme.com:1337/federation?type=name&q=bob%2Astellar.org" - ) + "https://acme.com:1337/federation?type=name&q=bob%2Astellar.org", + ), ) .returns( Promise.resolve({ @@ -308,7 +308,7 @@ FEDERATION_SERVER="https://api.stellar.org/federation" memo_type: "id", memo: 100, }, - }) + }), ); this.server @@ -323,7 +323,7 @@ FEDERATION_SERVER="https://api.stellar.org/federation" return done(); } var response = Array(StellarSdk.FEDERATION_RESPONSE_MAX_SIZE + 10).join( - "a" + "a", ); let tempServer = http .createServer((req, res) => { @@ -334,11 +334,11 @@ FEDERATION_SERVER="https://api.stellar.org/federation" new StellarSdk.FederationServer( "http://localhost:4444/federation", "stellar.org", - { allowHttp: true } + { allowHttp: true }, ) .resolveAddress("bob*stellar.org") .should.be.rejectedWith( - /federation response exceeds allowed size of [0-9]+/ + /federation response exceeds allowed size of [0-9]+/, ) .notify(done) .then(() => tempServer.close()); @@ -376,7 +376,7 @@ FEDERATION_SERVER="https://api.stellar.org/federation" new StellarSdk.FederationServer( "http://localhost:4444/federation", "stellar.org", - opts + opts, ) .resolveAddress("bob*stellar.org") .should.be.rejectedWith(/timeout of 1000ms exceeded/) @@ -398,10 +398,10 @@ FEDERATION_SERVER="https://api.stellar.org/federation" new StellarSdk.FederationServer( "http://localhost:4444/federation", "stellar.org", - opts + opts, ) .resolveAccountId( - "GB5XVAABEQMY63WTHDQ5RXADGYF345VWMNPTN2GFUDZT57D57ZQTJ7PS" + "GB5XVAABEQMY63WTHDQ5RXADGYF345VWMNPTN2GFUDZT57D57ZQTJ7PS", ) .should.be.rejectedWith(/timeout of 1000ms exceeded/) .notify(done) @@ -422,10 +422,10 @@ FEDERATION_SERVER="https://api.stellar.org/federation" new StellarSdk.FederationServer( "http://localhost:4444/federation", "stellar.org", - opts + opts, ) .resolveTransactionId( - "3389e9f0f1a65f19736cacf544c2e825313e8447f569233bb8db39aa607c8889" + "3389e9f0f1a65f19736cacf544c2e825313e8447f569233bb8db39aa607c8889", ) .should.be.rejectedWith(/timeout of 1000ms exceeded/) .notify(done) diff --git a/test/unit/horizon_path_test.js b/test/unit/horizon_path_test.js index 65ef48ace..2b62adfdc 100644 --- a/test/unit/horizon_path_test.js +++ b/test/unit/horizon_path_test.js @@ -47,7 +47,7 @@ describe("horizon path tests", function () { .call() .should.eventually.deep.equal(randomResult.data) .notify(done); - } + }, ); it("server.transactions() " + serverUrl, function (done) { @@ -69,7 +69,7 @@ describe("horizon path tests", function () { .call() .should.eventually.deep.equal(randomResult.data) .notify(done); - } + }, ); it("server.operations().includeFailed(true) " + serverUrl, function (done) { @@ -92,7 +92,7 @@ describe("horizon path tests", function () { .call() .should.eventually.deep.equal(randomResult.data) .notify(done); - } + }, ); it( @@ -105,7 +105,7 @@ describe("horizon path tests", function () { .call() .should.eventually.deep.equal(randomResult.data) .notify(done); - } + }, ); it("server.submitTransaction() " + serverUrl, function (done) { @@ -114,7 +114,7 @@ describe("horizon path tests", function () { let keypair = StellarSdk.Keypair.random(); let account = new StellarSdk.Account( keypair.publicKey(), - "56199647068161" + "56199647068161", ); let fakeTransaction = new StellarSdk.TransactionBuilder(account, { @@ -126,13 +126,13 @@ describe("horizon path tests", function () { destination: keypair.publicKey(), asset: StellarSdk.Asset.native(), amount: "100.50", - }) + }), ) .setTimeout(StellarSdk.TimeoutInfinite) .build(); fakeTransaction.sign(keypair); let tx = encodeURIComponent( - fakeTransaction.toEnvelope().toXDR().toString("base64") + fakeTransaction.toEnvelope().toXDR().toString("base64"), ); this.axiosMock diff --git a/test/unit/liquidity_pool_endpoints_test.js b/test/unit/liquidity_pool_endpoints_test.js index 118b9c72a..92ab3b196 100644 --- a/test/unit/liquidity_pool_endpoints_test.js +++ b/test/unit/liquidity_pool_endpoints_test.js @@ -88,11 +88,11 @@ describe("/liquidity_pools tests", function () { const EURT = new StellarSdk.Asset( "EURT", - "GAP5LETOV6YIE62YAM56STDANPRDO7ZFDBGSNHJQIYGGKSMOZAHOOS2S" + "GAP5LETOV6YIE62YAM56STDANPRDO7ZFDBGSNHJQIYGGKSMOZAHOOS2S", ); const PHP = new StellarSdk.Asset( "PHP", - "GAP5LETOV6YIE62YAM56STDANPRDO7ZFDBGSNHJQIYGGKSMOZAHOOS2S" + "GAP5LETOV6YIE62YAM56STDANPRDO7ZFDBGSNHJQIYGGKSMOZAHOOS2S", ); it("returns the right root response", function (done) { @@ -143,7 +143,7 @@ describe("/liquidity_pools tests", function () { this.axiosMock .expects("get") .withArgs( - sinon.match(`${LP_URL}?reserves=${encodeURIComponent(queryStr)}`) + sinon.match(`${LP_URL}?reserves=${encodeURIComponent(queryStr)}`), ) .returns(Promise.resolve({ data: testCase.response })); @@ -153,7 +153,7 @@ describe("/liquidity_pools tests", function () { .call() .then((pools) => { expect(pools.records).to.deep.equal( - testCase.response._embedded.records + testCase.response._embedded.records, ); done(); }) @@ -187,10 +187,10 @@ describe("/liquidity_pools tests", function () { it("checks for valid IDs", function () { expect(() => - this.server.liquidityPools().liquidityPoolId("nonsense") + this.server.liquidityPools().liquidityPoolId("nonsense"), ).to.throw(); expect(() => - this.server.liquidityPools().liquidityPoolId(lpId) + this.server.liquidityPools().liquidityPoolId(lpId), ).not.to.throw(); }); @@ -389,7 +389,7 @@ describe("/liquidity_pools tests", function () { .call() .then((poolOps) => { expect(poolOps.records).to.deep.equal( - poolOpsResponse._embedded.records + poolOpsResponse._embedded.records, ); done(); }) @@ -481,7 +481,7 @@ describe("/liquidity_pools tests", function () { .call() .then((poolTxs) => { expect(poolTxs.records).to.deep.equal( - poolTxsResponse._embedded.records + poolTxsResponse._embedded.records, ); done(); }) @@ -757,7 +757,7 @@ describe("/liquidity_pools tests", function () { .call() .then((poolEffects) => { expect(poolEffects.records).to.deep.equal( - poolEffectsResponse._embedded.records + poolEffectsResponse._embedded.records, ); done(); }) @@ -833,7 +833,7 @@ describe("/liquidity_pools tests", function () { .call() .then((poolTrades) => { expect(poolTrades.records).to.deep.equal( - poolTradesResponse._embedded.records + poolTradesResponse._embedded.records, ); done(); }) @@ -1000,7 +1000,7 @@ describe("/liquidity_pools tests", function () { .call() .then((poolOps) => { expect(poolOps.records).to.deep.equal( - poolOpsResponse._embedded.records + poolOpsResponse._embedded.records, ); done(); }) @@ -1092,7 +1092,7 @@ describe("/liquidity_pools tests", function () { .call() .then((poolTxs) => { expect(poolTxs.records).to.deep.equal( - poolTxsResponse._embedded.records + poolTxsResponse._embedded.records, ); done(); }) @@ -1368,7 +1368,7 @@ describe("/liquidity_pools tests", function () { .call() .then((poolFxs) => { expect(poolFxs.records).to.deep.equal( - poolFxsResponse._embedded.records + poolFxsResponse._embedded.records, ); done(); }) diff --git a/test/unit/server/claimable_balances.js b/test/unit/server/claimable_balances.js index d02b94a66..d25680b13 100644 --- a/test/unit/server/claimable_balances.js +++ b/test/unit/server/claimable_balances.js @@ -3,7 +3,7 @@ const MockAdapter = require("axios-mock-adapter"); describe("ClaimableBalanceCallBuilder", function () { beforeEach(function () { this.server = new StellarSdk.Server( - "https://horizon-live.stellar.org:1337" + "https://horizon-live.stellar.org:1337", ); this.axiosMock = sinon.mock(HorizonAxiosClient); StellarSdk.Config.setDefault(); @@ -43,15 +43,15 @@ describe("ClaimableBalanceCallBuilder", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/claimable_balances/00000000929b20b72e5890ab51c24f1cc46fa01c4f318d8d33367d24dd614cfdf5491072" - ) + "https://horizon-live.stellar.org:1337/claimable_balances/00000000929b20b72e5890ab51c24f1cc46fa01c4f318d8d33367d24dd614cfdf5491072", + ), ) .returns(Promise.resolve({ data: singleBalanceResponse })); this.server .claimableBalances() .claimableBalance( - "00000000929b20b72e5890ab51c24f1cc46fa01c4f318d8d33367d24dd614cfdf5491072" + "00000000929b20b72e5890ab51c24f1cc46fa01c4f318d8d33367d24dd614cfdf5491072", ) .call() .then(function (response) { @@ -85,8 +85,8 @@ describe("ClaimableBalanceCallBuilder", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/claimable_balances?sponsor=GDGQVOKHW4VEJRU2TETD6DBRKEO5ERCNF353LW5WBFW3JJWQ2BRQ6KDD" - ) + "https://horizon-live.stellar.org:1337/claimable_balances?sponsor=GDGQVOKHW4VEJRU2TETD6DBRKEO5ERCNF353LW5WBFW3JJWQ2BRQ6KDD", + ), ) .returns(Promise.resolve({ data })); @@ -126,8 +126,8 @@ describe("ClaimableBalanceCallBuilder", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/claimable_balances?claimant=GDGQVOKHW4VEJRU2TETD6DBRKEO5ERCNF353LW5WBFW3JJWQ2BRQ6KDD" - ) + "https://horizon-live.stellar.org:1337/claimable_balances?claimant=GDGQVOKHW4VEJRU2TETD6DBRKEO5ERCNF353LW5WBFW3JJWQ2BRQ6KDD", + ), ) .returns(Promise.resolve({ data })); @@ -167,8 +167,8 @@ describe("ClaimableBalanceCallBuilder", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/claimable_balances?asset=USD%3AGDGQVOKHW4VEJRU2TETD6DBRKEO5ERCNF353LW5WBFW3JJWQ2BRQ6KDD" - ) + "https://horizon-live.stellar.org:1337/claimable_balances?asset=USD%3AGDGQVOKHW4VEJRU2TETD6DBRKEO5ERCNF353LW5WBFW3JJWQ2BRQ6KDD", + ), ) .returns(Promise.resolve({ data })); @@ -177,8 +177,8 @@ describe("ClaimableBalanceCallBuilder", function () { .asset( new StellarSdk.Asset( "USD", - "GDGQVOKHW4VEJRU2TETD6DBRKEO5ERCNF353LW5WBFW3JJWQ2BRQ6KDD" - ) + "GDGQVOKHW4VEJRU2TETD6DBRKEO5ERCNF353LW5WBFW3JJWQ2BRQ6KDD", + ), ) .call() .then(function (response) { diff --git a/test/unit/server/join_test.js b/test/unit/server/join_test.js index eee5183c6..39853a83d 100644 --- a/test/unit/server/join_test.js +++ b/test/unit/server/join_test.js @@ -3,7 +3,7 @@ const MockAdapter = require("axios-mock-adapter"); describe("Server - CallBuilder#join", function () { beforeEach(function () { this.server = new StellarSdk.Server( - "https://horizon-live.stellar.org:1337" + "https://horizon-live.stellar.org:1337", ); this.axiosMock = sinon.mock(HorizonAxiosClient); }); @@ -146,8 +146,8 @@ describe("Server - CallBuilder#join", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/operations?join=transactions" - ) + "https://horizon-live.stellar.org:1337/operations?join=transactions", + ), ) .returns(Promise.resolve({ data: operationsResponse })); diff --git a/test/unit/server_check_memo_required_test.js b/test/unit/server_check_memo_required_test.js index 017594f9a..bde7f2bb6 100644 --- a/test/unit/server_check_memo_required_test.js +++ b/test/unit/server_check_memo_required_test.js @@ -9,13 +9,13 @@ function buildTransaction(destination, operations = [], builderOpts = {}) { let account = new StellarSdk.Account(keypair.publicKey(), "56199647068161"); let transaction = new StellarSdk.TransactionBuilder( account, - txBuilderOpts + txBuilderOpts, ).addOperation( StellarSdk.Operation.payment({ destination: destination, asset: StellarSdk.Asset.native(), amount: "100.50", - }) + }), ); operations.forEach((op) => (transaction = transaction.addOperation(op))); @@ -28,7 +28,7 @@ function buildTransaction(destination, operations = [], builderOpts = {}) { keypair, "200", transaction, - txBuilderOpts.networkPassphrase + txBuilderOpts.networkPassphrase, ); } else { return transaction; @@ -132,7 +132,7 @@ describe("server.js check-memo-required", function () { expect(err.accountId).to.eq(accountId); expect(err.operationIndex).to.eq(0); done(); - } + }, ) .catch(function (err) { done(err); @@ -157,7 +157,7 @@ describe("server.js check-memo-required", function () { expect(err.accountId).to.eq(accountId); expect(err.operationIndex).to.eq(0); done(); - } + }, ) .catch(function (err) { done(err); @@ -208,7 +208,7 @@ describe("server.js check-memo-required", function () { function (err) { expect(err).to.be.instanceOf(StellarSdk.NetworkError); done(); - } + }, ) .catch(function (err) { done(err); @@ -251,11 +251,11 @@ describe("server.js check-memo-required", function () { const usd = new StellarSdk.Asset( "USD", - "GBBM6BKZPEHWYO3E3YKREDPQXMS4VK35YLNU7NFBRI26RAN7GI5POFBB" + "GBBM6BKZPEHWYO3E3YKREDPQXMS4VK35YLNU7NFBRI26RAN7GI5POFBB", ); const eur = new StellarSdk.Asset( "EUR", - "GDTNXRLOJD2YEBPKK7KCMR7J33AAG5VZXHAJTHIG736D6LVEFLLLKPDL" + "GDTNXRLOJD2YEBPKK7KCMR7J33AAG5VZXHAJTHIG736D6LVEFLLLKPDL", ); const liquidityPoolAsset = new StellarSdk.LiquidityPoolAsset(eur, usd, 30); diff --git a/test/unit/server_test.js b/test/unit/server_test.js index b0a2c40f8..0d1ff3b44 100644 --- a/test/unit/server_test.js +++ b/test/unit/server_test.js @@ -3,7 +3,7 @@ const MockAdapter = require("axios-mock-adapter"); describe("server.js non-transaction tests", function () { beforeEach(function () { this.server = new StellarSdk.Server( - "https://horizon-live.stellar.org:1337" + "https://horizon-live.stellar.org:1337", ); this.axiosMock = sinon.mock(HorizonAxiosClient); StellarSdk.Config.setDefault(); @@ -17,7 +17,7 @@ describe("server.js non-transaction tests", function () { describe("Server.constructor", function () { it("throws error for insecure server", function () { expect( - () => new StellarSdk.Server("http://horizon-live.stellar.org:1337") + () => new StellarSdk.Server("http://horizon-live.stellar.org:1337"), ).to.throw(/Cannot connect to insecure horizon server/); }); @@ -26,14 +26,14 @@ describe("server.js non-transaction tests", function () { () => new StellarSdk.Server("http://horizon-live.stellar.org:1337", { allowHttp: true, - }) + }), ).to.not.throw(); }); it("allow insecure server when global Config.allowHttp flag is set", function () { StellarSdk.Config.setAllowHttp(true); expect( - () => new StellarSdk.Server("http://horizon-live.stellar.org:1337") + () => new StellarSdk.Server("http://horizon-live.stellar.org:1337"), ).to.not.throw(); }); }); @@ -81,7 +81,7 @@ describe("server.js non-transaction tests", function () { {}, { date: "Wed, 13 Mar 2019 22:15:07 GMT", - } + }, ); this.server @@ -144,7 +144,7 @@ describe("server.js non-transaction tests", function () { this.axiosMock .expects("get") .withArgs( - sinon.match("https://horizon-live.stellar.org:1337/fee_stats") + sinon.match("https://horizon-live.stellar.org:1337/fee_stats"), ) .returns(Promise.resolve({ data: response })); @@ -163,7 +163,7 @@ describe("server.js non-transaction tests", function () { this.axiosMock .expects("get") .withArgs( - sinon.match("https://horizon-live.stellar.org:1337/fee_stats") + sinon.match("https://horizon-live.stellar.org:1337/fee_stats"), ) .returns(Promise.resolve({ data: {} })); @@ -222,7 +222,7 @@ describe("server.js non-transaction tests", function () { this.axiosMock .expects("get") .withArgs( - sinon.match("https://horizon-live.stellar.org:1337/fee_stats") + sinon.match("https://horizon-live.stellar.org:1337/fee_stats"), ) .returns(Promise.resolve({ data: response })); @@ -325,8 +325,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/accounts/GBAH7FQMC3CZJ4WD6GE7G7YXCIU36LC2IHXQ7D5MQAUO4PODOWIVLSFS" - ) + "https://horizon-live.stellar.org:1337/accounts/GBAH7FQMC3CZJ4WD6GE7G7YXCIU36LC2IHXQ7D5MQAUO4PODOWIVLSFS", + ), ) .returns(Promise.resolve({ data: accountResponse })); @@ -335,7 +335,7 @@ describe("server.js non-transaction tests", function () { .then((response) => { // Response data expect(response.account_id).to.be.equal( - "GBAH7FQMC3CZJ4WD6GE7G7YXCIU36LC2IHXQ7D5MQAUO4PODOWIVLSFS" + "GBAH7FQMC3CZJ4WD6GE7G7YXCIU36LC2IHXQ7D5MQAUO4PODOWIVLSFS", ); expect(response.subentry_count).to.be.equal(5); expect(response.transactions).to.be.a("function"); @@ -410,7 +410,7 @@ describe("server.js non-transaction tests", function () { this.axiosMock .expects("get") .withArgs( - sinon.match("https://horizon-live.stellar.org:1337/ledgers") + sinon.match("https://horizon-live.stellar.org:1337/ledgers"), ) .returns(Promise.resolve({ data: ledgersResponse })); @@ -419,7 +419,7 @@ describe("server.js non-transaction tests", function () { .call() .then((response) => { expect(response.records).to.be.deep.equal( - ledgersResponse._embedded.records + ledgersResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -437,8 +437,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/ledgers?limit=1&cursor=b&order=asc" - ) + "https://horizon-live.stellar.org:1337/ledgers?limit=1&cursor=b&order=asc", + ), ) .returns(Promise.resolve({ data: ledgersResponse })); }); @@ -452,7 +452,7 @@ describe("server.js non-transaction tests", function () { .call() .then((response) => { expect(response.records).to.be.deep.equal( - ledgersResponse._embedded.records + ledgersResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -465,8 +465,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/ledgers?order=asc&limit=1&cursor=4294967296" - ) + "https://horizon-live.stellar.org:1337/ledgers?order=asc&limit=1&cursor=4294967296", + ), ) .returns(Promise.resolve({ data: ledgersResponse })); @@ -479,7 +479,7 @@ describe("server.js non-transaction tests", function () { .then(function (page) { page.next().then(function (response) { expect(response.records).to.be.deep.equal( - ledgersResponse._embedded.records + ledgersResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -524,12 +524,12 @@ describe("server.js non-transaction tests", function () { this.axiosMock .expects("get") .withArgs( - sinon.match("https://horizon-live.stellar.org:1337/ledgers/1") + sinon.match("https://horizon-live.stellar.org:1337/ledgers/1"), ) .returns( Promise.reject({ response: { status: 404, statusText: "NotFound", data: {} }, - }) + }), ); this.server @@ -553,7 +553,7 @@ describe("server.js non-transaction tests", function () { this.axiosMock .expects("get") .withArgs( - sinon.match("https://horizon-live.stellar.org:1337/ledgers/1") + sinon.match("https://horizon-live.stellar.org:1337/ledgers/1"), ) .returns(Promise.resolve({ data: singleLedgerResponse })); @@ -577,8 +577,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/ledgers/1?limit=1&cursor=b&order=asc" - ) + "https://horizon-live.stellar.org:1337/ledgers/1?limit=1&cursor=b&order=asc", + ), ) .returns(Promise.resolve({ data: singleLedgerResponse })); @@ -675,8 +675,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/ledgers/7952722/transactions" - ) + "https://horizon-live.stellar.org:1337/ledgers/7952722/transactions", + ), ) .returns(Promise.resolve({ data: transactionsResponse })); @@ -684,8 +684,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - /^https:\/\/horizon.stellar.org\/transactions\/c585b8764b28be678c482f8b6e87e76e4b5f28043c53f4dcb7b724b4b2efebc1\/operations/ - ) + /^https:\/\/horizon.stellar.org\/transactions\/c585b8764b28be678c482f8b6e87e76e4b5f28043c53f4dcb7b724b4b2efebc1\/operations/, + ), ) .returns(Promise.resolve({ data: { operations: [] } })); @@ -695,7 +695,7 @@ describe("server.js non-transaction tests", function () { .call() .then(function (response) { expect(response.records).to.be.deep.equal( - transactionsResponse._embedded.records + transactionsResponse._embedded.records, ); expect(response.records[0].ledger).to.be.a("function"); expect(response.records[0].ledger_attr).to.be.equal(7952722); @@ -723,8 +723,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/ledgers/7952722/transactions?cursor=b&limit=1&order=asc" - ) + "https://horizon-live.stellar.org:1337/ledgers/7952722/transactions?cursor=b&limit=1&order=asc", + ), ) .returns(Promise.resolve({ data: transactionsResponse })); @@ -732,8 +732,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - /^https:\/\/horizon.stellar.org\/transactions\/c585b8764b28be678c482f8b6e87e76e4b5f28043c53f4dcb7b724b4b2efebc1\/operations\?limit=1/ - ) + /^https:\/\/horizon.stellar.org\/transactions\/c585b8764b28be678c482f8b6e87e76e4b5f28043c53f4dcb7b724b4b2efebc1\/operations\?limit=1/, + ), ) .returns(Promise.resolve({ data: { operations: [] } })); @@ -746,7 +746,7 @@ describe("server.js non-transaction tests", function () { .call() .then(function (response) { expect(response.records).to.be.deep.equal( - transactionsResponse._embedded.records + transactionsResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -841,15 +841,15 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/transactions/6bbd8cbd90498a26210a21ec599702bead8f908f412455da300318aba36831b0" - ) + "https://horizon-live.stellar.org:1337/transactions/6bbd8cbd90498a26210a21ec599702bead8f908f412455da300318aba36831b0", + ), ) .returns(Promise.resolve({ data: singleTranssactionResponse })); this.server .transactions() .transaction( - "6bbd8cbd90498a26210a21ec599702bead8f908f412455da300318aba36831b0" + "6bbd8cbd90498a26210a21ec599702bead8f908f412455da300318aba36831b0", ) .call() .then(function (response) { @@ -1039,20 +1039,20 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/claimable_balances/000000000102030000000000000000000000000000000000000000000000000000000000/transactions" - ) + "https://horizon-live.stellar.org:1337/claimable_balances/000000000102030000000000000000000000000000000000000000000000000000000000/transactions", + ), ) .returns(Promise.resolve({ data: transactionsResponse })); this.server .transactions() .forClaimableBalance( - "000000000102030000000000000000000000000000000000000000000000000000000000" + "000000000102030000000000000000000000000000000000000000000000000000000000", ) .call() .then(function (response) { expect(response.records).to.be.deep.equal( - transactionsResponse._embedded.records + transactionsResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -1126,8 +1126,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/accounts/GBS43BF24ENNS3KPACUZVKK2VYPOZVBQO2CISGZ777RYGOPYC2FT6S3K" - ) + "https://horizon-live.stellar.org:1337/accounts/GBS43BF24ENNS3KPACUZVKK2VYPOZVBQO2CISGZ777RYGOPYC2FT6S3K", + ), ) .returns(Promise.resolve({ data: singleAccountResponse })); @@ -1250,8 +1250,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/accounts?signer=GBCR5OVQ54S2EKHLBZMK6VYMTXZHXN3T45Y6PRX4PX4FXDMJJGY4FD42" - ) + "https://horizon-live.stellar.org:1337/accounts?signer=GBCR5OVQ54S2EKHLBZMK6VYMTXZHXN3T45Y6PRX4PX4FXDMJJGY4FD42", + ), ) .returns(Promise.resolve({ data: accountsForSignerResponse })); @@ -1261,7 +1261,7 @@ describe("server.js non-transaction tests", function () { .call() .then(function (response) { expect(response.records).to.be.deep.equal( - accountsForSignerResponse._embedded.records + accountsForSignerResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -1378,8 +1378,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/accounts?asset=USD%3AGDGQVOKHW4VEJRU2TETD6DBRKEO5ERCNF353LW5WBFW3JJWQ2BRQ6KDD" - ) + "https://horizon-live.stellar.org:1337/accounts?asset=USD%3AGDGQVOKHW4VEJRU2TETD6DBRKEO5ERCNF353LW5WBFW3JJWQ2BRQ6KDD", + ), ) .returns(Promise.resolve({ data: accountsForAssetResponse })); @@ -1388,13 +1388,13 @@ describe("server.js non-transaction tests", function () { .forAsset( new StellarSdk.Asset( "USD", - "GDGQVOKHW4VEJRU2TETD6DBRKEO5ERCNF353LW5WBFW3JJWQ2BRQ6KDD" - ) + "GDGQVOKHW4VEJRU2TETD6DBRKEO5ERCNF353LW5WBFW3JJWQ2BRQ6KDD", + ), ) .call() .then(function (response) { expect(response.records).to.be.deep.equal( - accountsForAssetResponse._embedded.records + accountsForAssetResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -1515,8 +1515,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/accounts?sponsor=GBCR5OVQ54S2EKHLBZMK6VYMTXZHXN3T45Y6PRX4PX4FXDMJJGY4FD42" - ) + "https://horizon-live.stellar.org:1337/accounts?sponsor=GBCR5OVQ54S2EKHLBZMK6VYMTXZHXN3T45Y6PRX4PX4FXDMJJGY4FD42", + ), ) .returns(Promise.resolve({ data: accountsForSponsor })); @@ -1526,7 +1526,7 @@ describe("server.js non-transaction tests", function () { .call() .then(function (response) { expect(response.records).to.be.deep.equal( - accountsForSponsor._embedded.records + accountsForSponsor._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -1670,20 +1670,20 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/accounts?liquidity_pool=dd7b1ab831c273310ddbec6f97870aa83c2fbd78ce22aded37ecbf4f3380fac7" - ) + "https://horizon-live.stellar.org:1337/accounts?liquidity_pool=dd7b1ab831c273310ddbec6f97870aa83c2fbd78ce22aded37ecbf4f3380fac7", + ), ) .returns(Promise.resolve({ data: accountsForAssetResponse })); this.server .accounts() .forLiquidityPool( - "dd7b1ab831c273310ddbec6f97870aa83c2fbd78ce22aded37ecbf4f3380fac7" + "dd7b1ab831c273310ddbec6f97870aa83c2fbd78ce22aded37ecbf4f3380fac7", ) .call() .then(function (response) { expect(response.records).to.be.deep.equal( - accountsForAssetResponse._embedded.records + accountsForAssetResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -1718,8 +1718,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/offers?order=asc" - ) + "https://horizon-live.stellar.org:1337/offers?order=asc", + ), ) .returns(Promise.resolve({ data: offersResponse })); this.server @@ -1728,7 +1728,7 @@ describe("server.js non-transaction tests", function () { .call() .then(function (response) { expect(response.records).to.be.deep.equal( - offersResponse._embedded.records + offersResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -1774,7 +1774,7 @@ describe("server.js non-transaction tests", function () { this.axiosMock .expects("get") .withArgs( - sinon.match("https://horizon-live.stellar.org:1337/offers/12345") + sinon.match("https://horizon-live.stellar.org:1337/offers/12345"), ) .returns(Promise.resolve({ data: offerResponse })); @@ -1797,21 +1797,21 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/accounts/GBS43BF24ENNS3KPACUZVKK2VYPOZVBQO2CISGZ777RYGOPYC2FT6S3K/offers?order=asc" - ) + "https://horizon-live.stellar.org:1337/accounts/GBS43BF24ENNS3KPACUZVKK2VYPOZVBQO2CISGZ777RYGOPYC2FT6S3K/offers?order=asc", + ), ) .returns(Promise.resolve({ data: offersResponse })); this.server .offers() .forAccount( - "GBS43BF24ENNS3KPACUZVKK2VYPOZVBQO2CISGZ777RYGOPYC2FT6S3K" + "GBS43BF24ENNS3KPACUZVKK2VYPOZVBQO2CISGZ777RYGOPYC2FT6S3K", ) .order("asc") .call() .then(function (response) { expect(response.records).to.be.deep.equal( - offersResponse._embedded.records + offersResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -1824,15 +1824,15 @@ describe("server.js non-transaction tests", function () { it("selling requests the correct endpoint", function (done) { const selling = new StellarSdk.Asset( "USD", - "GDVDKQFP665JAO7A2LSHNLQIUNYNAAIGJ6FYJVMG4DT3YJQQJSRBLQDG" + "GDVDKQFP665JAO7A2LSHNLQIUNYNAAIGJ6FYJVMG4DT3YJQQJSRBLQDG", ); this.axiosMock .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/offers?selling_asset_type=credit_alphanum4&selling_asset_code=USD&selling_asset_issuer=GDVDKQFP665JAO7A2LSHNLQIUNYNAAIGJ6FYJVMG4DT3YJQQJSRBLQDG&order=asc" - ) + "https://horizon-live.stellar.org:1337/offers?selling_asset_type=credit_alphanum4&selling_asset_code=USD&selling_asset_issuer=GDVDKQFP665JAO7A2LSHNLQIUNYNAAIGJ6FYJVMG4DT3YJQQJSRBLQDG&order=asc", + ), ) .returns(Promise.resolve({ data: offersResponse })); @@ -1843,7 +1843,7 @@ describe("server.js non-transaction tests", function () { .call() .then(function (response) { expect(response.records).to.be.deep.equal( - offersResponse._embedded.records + offersResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -1856,15 +1856,15 @@ describe("server.js non-transaction tests", function () { it("buying requests the correct endpoint", function (done) { const buying = new StellarSdk.Asset( "COP", - "GDVDKQFP665JAO7A2LSHNLQIUNYNAAIGJ6FYJVMG4DT3YJQQJSRBLQDG" + "GDVDKQFP665JAO7A2LSHNLQIUNYNAAIGJ6FYJVMG4DT3YJQQJSRBLQDG", ); this.axiosMock .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/offers?buying_asset_type=credit_alphanum4&buying_asset_code=COP&buying_asset_issuer=GDVDKQFP665JAO7A2LSHNLQIUNYNAAIGJ6FYJVMG4DT3YJQQJSRBLQDG&order=asc" - ) + "https://horizon-live.stellar.org:1337/offers?buying_asset_type=credit_alphanum4&buying_asset_code=COP&buying_asset_issuer=GDVDKQFP665JAO7A2LSHNLQIUNYNAAIGJ6FYJVMG4DT3YJQQJSRBLQDG&order=asc", + ), ) .returns(Promise.resolve({ data: offersResponse })); @@ -1875,7 +1875,7 @@ describe("server.js non-transaction tests", function () { .call() .then(function (response) { expect(response.records).to.be.deep.equal( - offersResponse._embedded.records + offersResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -1890,8 +1890,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/offers?sponsor=GDVDKQFP665JAO7A2LSHNLQIUNYNAAIGJ6FYJVMG4DT3YJQQJSRBLQDG&order=asc" - ) + "https://horizon-live.stellar.org:1337/offers?sponsor=GDVDKQFP665JAO7A2LSHNLQIUNYNAAIGJ6FYJVMG4DT3YJQQJSRBLQDG&order=asc", + ), ) .returns(Promise.resolve({ data: offersResponse })); @@ -1902,7 +1902,7 @@ describe("server.js non-transaction tests", function () { .call() .then(function (response) { expect(response.records).to.be.deep.equal( - offersResponse._embedded.records + offersResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -1936,8 +1936,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/order_book?selling_asset_type=native&buying_asset_type=credit_alphanum4&buying_asset_code=USD&buying_asset_issuer=GDVDKQFP665JAO7A2LSHNLQIUNYNAAIGJ6FYJVMG4DT3YJQQJSRBLQDG" - ) + "https://horizon-live.stellar.org:1337/order_book?selling_asset_type=native&buying_asset_type=credit_alphanum4&buying_asset_code=USD&buying_asset_issuer=GDVDKQFP665JAO7A2LSHNLQIUNYNAAIGJ6FYJVMG4DT3YJQQJSRBLQDG", + ), ) .returns(Promise.resolve({ data: orderBookResponse })); @@ -1946,8 +1946,8 @@ describe("server.js non-transaction tests", function () { StellarSdk.Asset.native(), new StellarSdk.Asset( "USD", - "GDVDKQFP665JAO7A2LSHNLQIUNYNAAIGJ6FYJVMG4DT3YJQQJSRBLQDG" - ) + "GDVDKQFP665JAO7A2LSHNLQIUNYNAAIGJ6FYJVMG4DT3YJQQJSRBLQDG", + ), ) .call() .then(function (response) { @@ -1964,8 +1964,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/order_book?selling_asset_type=credit_alphanum4&selling_asset_code=USD&selling_asset_issuer=GDVDKQFP665JAO7A2LSHNLQIUNYNAAIGJ6FYJVMG4DT3YJQQJSRBLQDG&buying_asset_type=native" - ) + "https://horizon-live.stellar.org:1337/order_book?selling_asset_type=credit_alphanum4&selling_asset_code=USD&selling_asset_issuer=GDVDKQFP665JAO7A2LSHNLQIUNYNAAIGJ6FYJVMG4DT3YJQQJSRBLQDG&buying_asset_type=native", + ), ) .returns(Promise.resolve({ data: orderBookResponse })); @@ -1973,9 +1973,9 @@ describe("server.js non-transaction tests", function () { .orderbook( new StellarSdk.Asset( "USD", - "GDVDKQFP665JAO7A2LSHNLQIUNYNAAIGJ6FYJVMG4DT3YJQQJSRBLQDG" + "GDVDKQFP665JAO7A2LSHNLQIUNYNAAIGJ6FYJVMG4DT3YJQQJSRBLQDG", ), - StellarSdk.Asset.native() + StellarSdk.Asset.native(), ) .call() .then(function (response) { @@ -2052,7 +2052,7 @@ describe("server.js non-transaction tests", function () { .call() .then(function (response) { expect(response.records).to.be.deep.equal( - tradesResponse._embedded.records + tradesResponse._embedded.records, ); done(); }) @@ -2118,8 +2118,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/trades?base_asset_type=native&counter_asset_type=credit_alphanum4&counter_asset_code=JPY&counter_asset_issuer=GBVAOIACNSB7OVUXJYC5UE2D4YK2F7A24T7EE5YOMN4CE6GCHUTOUQXM" - ) + "https://horizon-live.stellar.org:1337/trades?base_asset_type=native&counter_asset_type=credit_alphanum4&counter_asset_code=JPY&counter_asset_issuer=GBVAOIACNSB7OVUXJYC5UE2D4YK2F7A24T7EE5YOMN4CE6GCHUTOUQXM", + ), ) .returns(Promise.resolve({ data: tradesResponse })); @@ -2129,13 +2129,13 @@ describe("server.js non-transaction tests", function () { StellarSdk.Asset.native(), new StellarSdk.Asset( "JPY", - "GBVAOIACNSB7OVUXJYC5UE2D4YK2F7A24T7EE5YOMN4CE6GCHUTOUQXM" - ) + "GBVAOIACNSB7OVUXJYC5UE2D4YK2F7A24T7EE5YOMN4CE6GCHUTOUQXM", + ), ) .call() .then(function (response) { expect(response.records).to.be.deep.equal( - tradesResponse._embedded.records + tradesResponse._embedded.records, ); done(); }) @@ -2201,8 +2201,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/trades?offer_id=278232" - ) + "https://horizon-live.stellar.org:1337/trades?offer_id=278232", + ), ) .returns(Promise.resolve({ data: tradesResponse })); @@ -2212,7 +2212,7 @@ describe("server.js non-transaction tests", function () { .call() .then(function (response) { expect(response.records).to.be.deep.equal( - tradesResponse._embedded.records + tradesResponse._embedded.records, ); done(); }) @@ -2273,20 +2273,20 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/accounts/GABJBA4HI4LVKWAYORE7SOAAZMVXDHI566JBSD25O5TRDM7LVID6YOXY/trades" - ) + "https://horizon-live.stellar.org:1337/accounts/GABJBA4HI4LVKWAYORE7SOAAZMVXDHI566JBSD25O5TRDM7LVID6YOXY/trades", + ), ) .returns(Promise.resolve({ data: tradesResponse })); this.server .trades() .forAccount( - "GABJBA4HI4LVKWAYORE7SOAAZMVXDHI566JBSD25O5TRDM7LVID6YOXY" + "GABJBA4HI4LVKWAYORE7SOAAZMVXDHI566JBSD25O5TRDM7LVID6YOXY", ) .call() .then(function (response) { expect(response.records).to.be.deep.equal( - tradesResponse._embedded.records + tradesResponse._embedded.records, ); done(); }) @@ -2355,8 +2355,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/trades?order=asc&limit=1&cursor=64199539053039617-0" - ) + "https://horizon-live.stellar.org:1337/trades?order=asc&limit=1&cursor=64199539053039617-0", + ), ) .returns(Promise.resolve({ data: tradesResponse })); @@ -2368,7 +2368,7 @@ describe("server.js non-transaction tests", function () { .call() .then(function (response) { expect(response.records).to.be.deep.equal( - tradesResponse._embedded.records + tradesResponse._embedded.records, ); done(); }) @@ -2434,8 +2434,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/trades?trade_type=orderbook" - ) + "https://horizon-live.stellar.org:1337/trades?trade_type=orderbook", + ), ) .returns(Promise.resolve({ data: tradesResponse })); @@ -2445,7 +2445,7 @@ describe("server.js non-transaction tests", function () { .call() .then(function (response) { expect(response.records).to.be.deep.equal( - tradesResponse._embedded.records + tradesResponse._embedded.records, ); done(); }) @@ -2512,8 +2512,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/trades?trade_type=liquidity_pool" - ) + "https://horizon-live.stellar.org:1337/trades?trade_type=liquidity_pool", + ), ) .returns(Promise.resolve({ data: tradesResponse })); @@ -2523,7 +2523,7 @@ describe("server.js non-transaction tests", function () { .call() .then(function (response) { expect(response.records).to.be.deep.equal( - tradesResponse._embedded.records + tradesResponse._embedded.records, ); done(); }) @@ -2610,8 +2610,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/paths/strict-receive?source_account=GARSFJNXJIHO6ULUBK3DBYKVSIZE7SC72S5DYBCHU7DKL22UXKVD7MXP&destination_amount=20.0&destination_asset_type=credit_alphanum4&destination_asset_code=EUR&destination_asset_issuer=GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN" - ) + "https://horizon-live.stellar.org:1337/paths/strict-receive?source_account=GARSFJNXJIHO6ULUBK3DBYKVSIZE7SC72S5DYBCHU7DKL22UXKVD7MXP&destination_amount=20.0&destination_asset_type=credit_alphanum4&destination_asset_code=EUR&destination_asset_issuer=GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN", + ), ) .returns(Promise.resolve({ data: pathsResponse })); @@ -2620,14 +2620,14 @@ describe("server.js non-transaction tests", function () { "GARSFJNXJIHO6ULUBK3DBYKVSIZE7SC72S5DYBCHU7DKL22UXKVD7MXP", new StellarSdk.Asset( "EUR", - "GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN" + "GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN", ), - "20.0" + "20.0", ) .call() .then(function (response) { expect(response.records).to.be.deep.equal( - pathsResponse._embedded.records + pathsResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -2639,14 +2639,14 @@ describe("server.js non-transaction tests", function () { }); it("requests the correct endpoint when source is a list of assets", function (done) { let destinationAssets = encodeURIComponent( - "native,EUR:GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN,USD:GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN" + "native,EUR:GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN,USD:GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN", ); this.axiosMock .expects("get") .withArgs( sinon.match( - `https://horizon-live.stellar.org:1337/paths/strict-receive?source_assets=${destinationAssets}&destination_amount=20.0&destination_asset_type=credit_alphanum4&destination_asset_code=EUR&destination_asset_issuer=GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN` - ) + `https://horizon-live.stellar.org:1337/paths/strict-receive?source_assets=${destinationAssets}&destination_amount=20.0&destination_asset_type=credit_alphanum4&destination_asset_code=EUR&destination_asset_issuer=GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN`, + ), ) .returns(Promise.resolve({ data: pathsResponse })); @@ -2654,11 +2654,11 @@ describe("server.js non-transaction tests", function () { StellarSdk.Asset.native(), new StellarSdk.Asset( "EUR", - "GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN" + "GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN", ), new StellarSdk.Asset( "USD", - "GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN" + "GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN", ), ]; @@ -2667,14 +2667,14 @@ describe("server.js non-transaction tests", function () { assets, new StellarSdk.Asset( "EUR", - "GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN" + "GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN", ), - "20.0" + "20.0", ) .call() .then(function (response) { expect(response.records).to.be.deep.equal( - pathsResponse._embedded.records + pathsResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -2763,8 +2763,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/paths/strict-send?source_asset_type=credit_alphanum4&source_asset_code=EUR&source_asset_issuer=GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN&source_amount=20.0&destination_account=GAEDTJ4PPEFVW5XV2S7LUXBEHNQMX5Q2GM562RJGOQG7GVCE5H3HIB4V" - ) + "https://horizon-live.stellar.org:1337/paths/strict-send?source_asset_type=credit_alphanum4&source_asset_code=EUR&source_asset_issuer=GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN&source_amount=20.0&destination_account=GAEDTJ4PPEFVW5XV2S7LUXBEHNQMX5Q2GM562RJGOQG7GVCE5H3HIB4V", + ), ) .returns(Promise.resolve({ data: pathsResponse })); @@ -2772,15 +2772,15 @@ describe("server.js non-transaction tests", function () { .strictSendPaths( new StellarSdk.Asset( "EUR", - "GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN" + "GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN", ), "20.0", - "GAEDTJ4PPEFVW5XV2S7LUXBEHNQMX5Q2GM562RJGOQG7GVCE5H3HIB4V" + "GAEDTJ4PPEFVW5XV2S7LUXBEHNQMX5Q2GM562RJGOQG7GVCE5H3HIB4V", ) .call() .then(function (response) { expect(response.records).to.be.deep.equal( - pathsResponse._embedded.records + pathsResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -2792,14 +2792,14 @@ describe("server.js non-transaction tests", function () { }); it("requests the correct endpoint when destination is a list of assets", function (done) { let destinationAssets = encodeURIComponent( - "native,EUR:GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN,USD:GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN" + "native,EUR:GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN,USD:GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN", ); this.axiosMock .expects("get") .withArgs( sinon.match( - `https://horizon-live.stellar.org:1337/paths/strict-send?source_asset_type=credit_alphanum4&source_asset_code=EUR&source_asset_issuer=GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN&source_amount=20.0&destination_assets=${destinationAssets}` - ) + `https://horizon-live.stellar.org:1337/paths/strict-send?source_asset_type=credit_alphanum4&source_asset_code=EUR&source_asset_issuer=GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN&source_amount=20.0&destination_assets=${destinationAssets}`, + ), ) .returns(Promise.resolve({ data: pathsResponse })); @@ -2807,11 +2807,11 @@ describe("server.js non-transaction tests", function () { StellarSdk.Asset.native(), new StellarSdk.Asset( "EUR", - "GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN" + "GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN", ), new StellarSdk.Asset( "USD", - "GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN" + "GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN", ), ]; @@ -2819,15 +2819,15 @@ describe("server.js non-transaction tests", function () { .strictSendPaths( new StellarSdk.Asset( "EUR", - "GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN" + "GDSBCQO34HWPGUGQSP3QBFEXVTSR2PW46UIGTHVWGWJGQKH3AFNHXHXN", ), "20.0", - assets + assets, ) .call() .then(function (response) { expect(response.records).to.be.deep.equal( - pathsResponse._embedded.records + pathsResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -2882,8 +2882,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/effects?cursor=b" - ) + "https://horizon-live.stellar.org:1337/effects?cursor=b", + ), ) .returns(Promise.resolve({ data: effectsResponse })); @@ -2893,7 +2893,7 @@ describe("server.js non-transaction tests", function () { .call() .then(function (response) { expect(response.records).to.be.deep.equal( - effectsResponse._embedded.records + effectsResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -2909,20 +2909,20 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/accounts/GCGHCFUB6JKQE42C76BK2LYB3EHKP4WQJE624WTSL3CU2PPDYE5RBMJE/effects" - ) + "https://horizon-live.stellar.org:1337/accounts/GCGHCFUB6JKQE42C76BK2LYB3EHKP4WQJE624WTSL3CU2PPDYE5RBMJE/effects", + ), ) .returns(Promise.resolve({ data: effectsResponse })); this.server .effects() .forAccount( - "GCGHCFUB6JKQE42C76BK2LYB3EHKP4WQJE624WTSL3CU2PPDYE5RBMJE" + "GCGHCFUB6JKQE42C76BK2LYB3EHKP4WQJE624WTSL3CU2PPDYE5RBMJE", ) .call() .then(function (response) { expect(response.records).to.be.deep.equal( - effectsResponse._embedded.records + effectsResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -2938,20 +2938,20 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/transactions/ef37d6770c40c3bdb6adba80759f2819971396d1c3dfb7b5611f63ad72a9a4ae/effects" - ) + "https://horizon-live.stellar.org:1337/transactions/ef37d6770c40c3bdb6adba80759f2819971396d1c3dfb7b5611f63ad72a9a4ae/effects", + ), ) .returns(Promise.resolve({ data: effectsResponse })); this.server .effects() .forTransaction( - "ef37d6770c40c3bdb6adba80759f2819971396d1c3dfb7b5611f63ad72a9a4ae" + "ef37d6770c40c3bdb6adba80759f2819971396d1c3dfb7b5611f63ad72a9a4ae", ) .call() .then(function (response) { expect(response.records).to.be.deep.equal( - effectsResponse._embedded.records + effectsResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -2964,7 +2964,7 @@ describe("server.js non-transaction tests", function () { it("rejects two filters", function (done) { expect(() => - this.server.effects().forOperation("blah").forLedger("234").call() + this.server.effects().forOperation("blah").forLedger("234").call(), ).to.throw(/Too many filters/); done(); }); @@ -3023,8 +3023,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/operations/123456789" - ) + "https://horizon-live.stellar.org:1337/operations/123456789", + ), ) .returns(Promise.resolve({ data: operationsResponse })); @@ -3034,7 +3034,7 @@ describe("server.js non-transaction tests", function () { .call() .then(function (response) { expect(response.records).to.be.deep.equal( - operationsResponse._embedded.records + operationsResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -3050,20 +3050,20 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/accounts/GCGHCFUB6JKQE42C76BK2LYB3EHKP4WQJE624WTSL3CU2PPDYE5RBMJE/operations" - ) + "https://horizon-live.stellar.org:1337/accounts/GCGHCFUB6JKQE42C76BK2LYB3EHKP4WQJE624WTSL3CU2PPDYE5RBMJE/operations", + ), ) .returns(Promise.resolve({ data: operationsResponse })); this.server .operations() .forAccount( - "GCGHCFUB6JKQE42C76BK2LYB3EHKP4WQJE624WTSL3CU2PPDYE5RBMJE" + "GCGHCFUB6JKQE42C76BK2LYB3EHKP4WQJE624WTSL3CU2PPDYE5RBMJE", ) .call() .then(function (response) { expect(response.records).to.be.deep.equal( - operationsResponse._embedded.records + operationsResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -3079,20 +3079,20 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/claimable_balances/000000000102030000000000000000000000000000000000000000000000000000000000/operations" - ) + "https://horizon-live.stellar.org:1337/claimable_balances/000000000102030000000000000000000000000000000000000000000000000000000000/operations", + ), ) .returns(Promise.resolve({ data: operationsResponse })); this.server .operations() .forClaimableBalance( - "000000000102030000000000000000000000000000000000000000000000000000000000" + "000000000102030000000000000000000000000000000000000000000000000000000000", ) .call() .then(function (response) { expect(response.records).to.be.deep.equal( - operationsResponse._embedded.records + operationsResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -3108,8 +3108,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/ledgers/123456789/operations" - ) + "https://horizon-live.stellar.org:1337/ledgers/123456789/operations", + ), ) .returns(Promise.resolve({ data: operationsResponse })); @@ -3119,7 +3119,7 @@ describe("server.js non-transaction tests", function () { .call() .then(function (response) { expect(response.records).to.be.deep.equal( - operationsResponse._embedded.records + operationsResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -3135,8 +3135,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/transactions/blah/operations" - ) + "https://horizon-live.stellar.org:1337/transactions/blah/operations", + ), ) .returns(Promise.resolve({ data: operationsResponse })); @@ -3146,7 +3146,7 @@ describe("server.js non-transaction tests", function () { .call() .then(function (response) { expect(response.records).to.be.deep.equal( - operationsResponse._embedded.records + operationsResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -3211,20 +3211,20 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/accounts/GBS43BF24ENNS3KPACUZVKK2VYPOZVBQO2CISGZ777RYGOPYC2FT6S3K/payments" - ) + "https://horizon-live.stellar.org:1337/accounts/GBS43BF24ENNS3KPACUZVKK2VYPOZVBQO2CISGZ777RYGOPYC2FT6S3K/payments", + ), ) .returns(Promise.resolve({ data: paymentsResponse })); this.server .payments() .forAccount( - "GBS43BF24ENNS3KPACUZVKK2VYPOZVBQO2CISGZ777RYGOPYC2FT6S3K" + "GBS43BF24ENNS3KPACUZVKK2VYPOZVBQO2CISGZ777RYGOPYC2FT6S3K", ) .call() .then(function (response) { expect(response.records).to.be.deep.equal( - paymentsResponse._embedded.records + paymentsResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -3240,8 +3240,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/ledgers/123456789/payments" - ) + "https://horizon-live.stellar.org:1337/ledgers/123456789/payments", + ), ) .returns(Promise.resolve({ data: paymentsResponse })); @@ -3251,7 +3251,7 @@ describe("server.js non-transaction tests", function () { .call() .then(function (response) { expect(response.records).to.be.deep.equal( - paymentsResponse._embedded.records + paymentsResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -3267,20 +3267,20 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/transactions/77277606902d80a03a892536ebff8466726a4e55c3923ec2d3eeb3aa5bdc3731/payments" - ) + "https://horizon-live.stellar.org:1337/transactions/77277606902d80a03a892536ebff8466726a4e55c3923ec2d3eeb3aa5bdc3731/payments", + ), ) .returns(Promise.resolve({ data: paymentsResponse })); this.server .payments() .forTransaction( - "77277606902d80a03a892536ebff8466726a4e55c3923ec2d3eeb3aa5bdc3731" + "77277606902d80a03a892536ebff8466726a4e55c3923ec2d3eeb3aa5bdc3731", ) .call() .then(function (response) { expect(response.records).to.be.deep.equal( - paymentsResponse._embedded.records + paymentsResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -3302,8 +3302,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/friendbot?addr=GBS43BF24ENNS3KPACUZVKK2VYPOZVBQO2CISGZ777RYGOPYC2FT6S3K" - ) + "https://horizon-live.stellar.org:1337/friendbot?addr=GBS43BF24ENNS3KPACUZVKK2VYPOZVBQO2CISGZ777RYGOPYC2FT6S3K", + ), ) .returns(Promise.resolve({ data: friendbotResponse })); @@ -3377,8 +3377,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/trade_aggregations?base_asset_type=native&counter_asset_type=credit_alphanum4&counter_asset_code=BTC&counter_asset_issuer=GATEMHCCKCY67ZUCKTROYN24ZYT5GK4EQZ65JJLDHKHRUZI3EUEKMTCH&start_time=1512689100000&end_time=1512775500000&resolution=300000" - ) + "https://horizon-live.stellar.org:1337/trade_aggregations?base_asset_type=native&counter_asset_type=credit_alphanum4&counter_asset_code=BTC&counter_asset_issuer=GATEMHCCKCY67ZUCKTROYN24ZYT5GK4EQZ65JJLDHKHRUZI3EUEKMTCH&start_time=1512689100000&end_time=1512775500000&resolution=300000", + ), ) .returns(Promise.resolve({ data: tradeAggregationResponse })); @@ -3387,17 +3387,17 @@ describe("server.js non-transaction tests", function () { StellarSdk.Asset.native(), new StellarSdk.Asset( "BTC", - "GATEMHCCKCY67ZUCKTROYN24ZYT5GK4EQZ65JJLDHKHRUZI3EUEKMTCH" + "GATEMHCCKCY67ZUCKTROYN24ZYT5GK4EQZ65JJLDHKHRUZI3EUEKMTCH", ), 1512689100000, 1512775500000, 300000, - 0 + 0, ) .call() .then(function (response) { expect(response.records).to.be.deep.equal( - tradeAggregationResponse._embedded.records + tradeAggregationResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -3413,8 +3413,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/trade_aggregations?base_asset_type=credit_alphanum4&base_asset_code=BTC&base_asset_issuer=GATEMHCCKCY67ZUCKTROYN24ZYT5GK4EQZ65JJLDHKHRUZI3EUEKMTCH&counter_asset_type=native&start_time=1512689100000&end_time=1512775500000&resolution=300000" - ) + "https://horizon-live.stellar.org:1337/trade_aggregations?base_asset_type=credit_alphanum4&base_asset_code=BTC&base_asset_issuer=GATEMHCCKCY67ZUCKTROYN24ZYT5GK4EQZ65JJLDHKHRUZI3EUEKMTCH&counter_asset_type=native&start_time=1512689100000&end_time=1512775500000&resolution=300000", + ), ) .returns(Promise.resolve({ data: tradeAggregationResponse })); @@ -3422,18 +3422,18 @@ describe("server.js non-transaction tests", function () { .tradeAggregation( new StellarSdk.Asset( "BTC", - "GATEMHCCKCY67ZUCKTROYN24ZYT5GK4EQZ65JJLDHKHRUZI3EUEKMTCH" + "GATEMHCCKCY67ZUCKTROYN24ZYT5GK4EQZ65JJLDHKHRUZI3EUEKMTCH", ), StellarSdk.Asset.native(), 1512689100000, 1512775500000, 300000, - 0 + 0, ) .call() .then(function (response) { expect(response.records).to.be.deep.equal( - tradeAggregationResponse._embedded.records + tradeAggregationResponse._embedded.records, ); expect(response.next).to.be.a("function"); expect(response.prev).to.be.a("function"); @@ -3503,7 +3503,7 @@ describe("server.js non-transaction tests", function () { this.axiosMock .expects("get") .withArgs( - sinon.match("https://horizon-live.stellar.org:1337/assets?limit=1") + sinon.match("https://horizon-live.stellar.org:1337/assets?limit=1"), ) .returns(Promise.resolve({ data: assetsResponse })); @@ -3513,7 +3513,7 @@ describe("server.js non-transaction tests", function () { .call() .then(function (response) { expect(response.records).to.be.equal( - assetsResponse._embedded.records + assetsResponse._embedded.records, ); done(); }) @@ -3579,8 +3579,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/assets?asset_code=USD&limit=1" - ) + "https://horizon-live.stellar.org:1337/assets?asset_code=USD&limit=1", + ), ) .returns(Promise.resolve({ data: assetsCodeResponse })); @@ -3591,7 +3591,7 @@ describe("server.js non-transaction tests", function () { .call() .then(function (response) { expect(response.records).to.be.equal( - assetsCodeResponse._embedded.records + assetsCodeResponse._embedded.records, ); done(); }) @@ -3657,8 +3657,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/assets?asset_issuer=GCOGPF7IRVXUCJZAQWXVFQEE4HAOCTDGZI2QZSMKLM5BTTGRLY6GDOJN&limit=1" - ) + "https://horizon-live.stellar.org:1337/assets?asset_issuer=GCOGPF7IRVXUCJZAQWXVFQEE4HAOCTDGZI2QZSMKLM5BTTGRLY6GDOJN&limit=1", + ), ) .returns(Promise.resolve({ data: assetIssuerResponse })); @@ -3669,7 +3669,7 @@ describe("server.js non-transaction tests", function () { .call() .then(function (response) { expect(response.records).to.be.equal( - assetIssuerResponse._embedded.records + assetIssuerResponse._embedded.records, ); done(); }) @@ -3735,8 +3735,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/assets?asset_issuer=GBW3EZBZKRERB4JUDWGQPIBGHKJ4XPOFG2VQ2WTFR4F7TYC5WS7F3XGR&asset_code=USD" - ) + "https://horizon-live.stellar.org:1337/assets?asset_issuer=GBW3EZBZKRERB4JUDWGQPIBGHKJ4XPOFG2VQ2WTFR4F7TYC5WS7F3XGR&asset_code=USD", + ), ) .returns(Promise.resolve({ data: assetCodeIssuerResponse })); @@ -3747,7 +3747,7 @@ describe("server.js non-transaction tests", function () { .call() .then(function (response) { expect(response.records).to.be.equal( - assetCodeIssuerResponse._embedded.records + assetCodeIssuerResponse._embedded.records, ); done(); }) @@ -3761,8 +3761,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/assets?asset_code=USD&asset_issuer=GBW3EZBZKRERB4JUDWGQPIBGHKJ4XPOFG2VQ2WTFR4F7TYC5WS7F3XGR" - ) + "https://horizon-live.stellar.org:1337/assets?asset_code=USD&asset_issuer=GBW3EZBZKRERB4JUDWGQPIBGHKJ4XPOFG2VQ2WTFR4F7TYC5WS7F3XGR", + ), ) .returns(Promise.resolve({ data: assetCodeIssuerResponse })); @@ -3773,7 +3773,7 @@ describe("server.js non-transaction tests", function () { .call() .then(function (response) { expect(response.records).to.be.equal( - assetCodeIssuerResponse._embedded.records + assetCodeIssuerResponse._embedded.records, ); done(); }) @@ -3789,8 +3789,8 @@ describe("server.js non-transaction tests", function () { .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/accounts/GBS43BF24ENNS3KPACUZVKK2VYPOZVBQO2CISGZ777RYGOPYC2FT6S3K/effects" - ) + "https://horizon-live.stellar.org:1337/accounts/GBS43BF24ENNS3KPACUZVKK2VYPOZVBQO2CISGZ777RYGOPYC2FT6S3K/effects", + ), ) .returns(Promise.resolve({ data: {} })); diff --git a/test/unit/server_transaction_test.js b/test/unit/server_transaction_test.js index 645f99f76..50ea7d49c 100644 --- a/test/unit/server_transaction_test.js +++ b/test/unit/server_transaction_test.js @@ -4,7 +4,7 @@ describe("server.js transaction tests", function () { beforeEach(function () { this.server = new StellarSdk.Server( - "https://horizon-live.stellar.org:1337" + "https://horizon-live.stellar.org:1337", ); this.axiosMock = sinon.mock(HorizonAxiosClient); let transaction = new StellarSdk.TransactionBuilder(account, { @@ -18,7 +18,7 @@ describe("server.js transaction tests", function () { "GASOCNHNNLYFNMDJYQ3XFMI7BYHIOCFW3GJEOWRPEGK2TDPGTG2E5EDW", asset: StellarSdk.Asset.native(), amount: "100.50", - }) + }), ) .setTimeout(StellarSdk.TimeoutInfinite) .build(); @@ -26,7 +26,7 @@ describe("server.js transaction tests", function () { this.transaction = transaction; this.blob = encodeURIComponent( - transaction.toEnvelope().toXDR().toString("base64") + transaction.toEnvelope().toXDR().toString("base64"), ); }); @@ -40,7 +40,7 @@ describe("server.js transaction tests", function () { .expects("post") .withArgs( "https://horizon-live.stellar.org:1337/transactions", - `tx=${this.blob}` + `tx=${this.blob}`, ) .returns(Promise.resolve({ data: {} })); @@ -73,7 +73,7 @@ describe("server.js transaction tests", function () { .expects("post") .withArgs( "https://horizon-live.stellar.org:1337/transactions", - `tx=${this.blob}` + `tx=${this.blob}`, ) .returns(Promise.resolve({ data: response })); @@ -119,7 +119,7 @@ describe("server.js transaction tests", function () { .expects("post") .withArgs( "https://horizon-live.stellar.org:1337/transactions", - `tx=${this.blob}` + `tx=${this.blob}`, ) .returns(Promise.resolve({ data: response })); @@ -163,7 +163,7 @@ describe("server.js transaction tests", function () { .expects("post") .withArgs( "https://horizon-live.stellar.org:1337/transactions", - `tx=${this.blob}` + `tx=${this.blob}`, ) .returns(Promise.resolve({ data: response })); @@ -207,7 +207,7 @@ describe("server.js transaction tests", function () { .expects("post") .withArgs( "https://horizon-live.stellar.org:1337/transactions", - `tx=${this.blob}` + `tx=${this.blob}`, ) .returns(Promise.resolve({ data: response })); @@ -226,13 +226,13 @@ describe("server.js transaction tests", function () { expect(res.offerResults[0].isFullyOpen).to.equal(false); expect(res.offerResults[0].operationIndex).to.equal(0); expect(res.offerResults[0].currentOffer.selling.type).to.equal( - "native" + "native", ); expect(res.offerResults[0].currentOffer.buying.assetCode).to.equal( - "BAT" + "BAT", ); expect(res.offerResults[0].currentOffer.buying.issuer).to.equal( - "GBDEVU63Y6NTHJQQZIKVTC23NWLQVP3WJ2RI2OTSJTNYOIGICST6DUXR" + "GBDEVU63Y6NTHJQQZIKVTC23NWLQVP3WJ2RI2OTSJTNYOIGICST6DUXR", ); done(); @@ -261,7 +261,7 @@ describe("server.js transaction tests", function () { .expects("post") .withArgs( "https://horizon-live.stellar.org:1337/transactions", - `tx=${this.blob}` + `tx=${this.blob}`, ) .returns(Promise.resolve({ data: response })); @@ -296,7 +296,7 @@ describe("server.js transaction tests", function () { .expects("post") .withArgs( "https://horizon-live.stellar.org:1337/transactions", - `tx=${this.blob}` + `tx=${this.blob}`, ) .returns(Promise.resolve({ data: response })); @@ -322,20 +322,20 @@ describe("server.js transaction tests", function () { .expects("post") .withArgs( "https://horizon-live.stellar.org:1337/transactions", - `tx=${this.blob}` + `tx=${this.blob}`, ) .returns(Promise.resolve({ data: {} })); this.axiosMock .expects("get") .withArgs( sinon.match( - "https://horizon-live.stellar.org:1337/accounts/GASOCNHNNLYFNMDJYQ3XFMI7BYHIOCFW3GJEOWRPEGK2TDPGTG2E5EDW" - ) + "https://horizon-live.stellar.org:1337/accounts/GASOCNHNNLYFNMDJYQ3XFMI7BYHIOCFW3GJEOWRPEGK2TDPGTG2E5EDW", + ), ) .returns( Promise.reject({ response: { status: 404, statusText: "NotFound", data: {} }, - }) + }), ) .once(); @@ -353,18 +353,18 @@ describe("server.js transaction tests", function () { keypair, "200", this.transaction, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); this.blob = encodeURIComponent( - feeBumpTx.toEnvelope().toXDR().toString("base64") + feeBumpTx.toEnvelope().toXDR().toString("base64"), ); this.axiosMock .expects("post") .withArgs( "https://horizon-live.stellar.org:1337/transactions", - `tx=${this.blob}` + `tx=${this.blob}`, ) .returns(Promise.resolve({ data: {} })); diff --git a/test/unit/stellar_toml_resolver_test.js b/test/unit/stellar_toml_resolver_test.js index 62a2b5142..cd932490a 100644 --- a/test/unit/stellar_toml_resolver_test.js +++ b/test/unit/stellar_toml_resolver_test.js @@ -27,12 +27,12 @@ describe("stellar_toml_resolver.js tests", function () { # for users on your domain. FEDERATION_SERVER="https://api.stellar.org/federation" `, - }) + }), ); StellarSdk.StellarTomlResolver.resolve("acme.com").then((stellarToml) => { expect(stellarToml.FEDERATION_SERVER).equals( - "https://api.stellar.org/federation" + "https://api.stellar.org/federation", ); done(); }); @@ -49,14 +49,14 @@ FEDERATION_SERVER="https://api.stellar.org/federation" # for users on your domain. FEDERATION_SERVER="http://api.stellar.org/federation" `, - }) + }), ); StellarSdk.StellarTomlResolver.resolve("acme.com", { allowHttp: true, }).then((stellarToml) => { expect(stellarToml.FEDERATION_SERVER).equals( - "http://api.stellar.org/federation" + "http://api.stellar.org/federation", ); done(); }); @@ -75,12 +75,12 @@ FEDERATION_SERVER="http://api.stellar.org/federation" # for users on your domain. FEDERATION_SERVER="http://api.stellar.org/federation" `, - }) + }), ); StellarSdk.StellarTomlResolver.resolve("acme.com").then((stellarToml) => { expect(stellarToml.FEDERATION_SERVER).equals( - "http://api.stellar.org/federation" + "http://api.stellar.org/federation", ); done(); }); @@ -97,7 +97,7 @@ FEDERATION_SERVER="http://api.stellar.org/federation" # for users on your domain. FEDERATION_SERVER="https://api.stellar.org/federation" `, - }) + }), ); StellarSdk.StellarTomlResolver.resolve("acme.com") @@ -112,7 +112,7 @@ FEDERATION_SERVER="https://api.stellar.org/federation" .returns(Promise.reject()); StellarSdk.StellarTomlResolver.resolve( - "acme.com" + "acme.com", ).should.be.rejected.and.notify(done); }); @@ -132,7 +132,7 @@ FEDERATION_SERVER="https://api.stellar.org/federation" allowHttp: true, }) .should.be.rejectedWith( - /stellar.toml file exceeds allowed size of [0-9]+/ + /stellar.toml file exceeds allowed size of [0-9]+/, ) .notify(done) .then(() => tempServer.close()); diff --git a/test/unit/utils_test.js b/test/unit/utils_test.js index ef07703d6..f712c9d7c 100644 --- a/test/unit/utils_test.js +++ b/test/unit/utils_test.js @@ -33,13 +33,13 @@ describe("Utils", function () { "testanchor.stellar.org", 300, StellarSdk.Networks.TESTNET, - "testanchor.stellar.org" - )) + "testanchor.stellar.org", + )), ).not.to.throw(); const transaction = new StellarSdk.Transaction( challenge, StellarSdk.Networks.TESTNET, - true + true, ); expect(transaction.operations[0].source).to.equal(muxedAddress); }); @@ -56,13 +56,13 @@ describe("Utils", function () { 300, StellarSdk.Networks.TESTNET, "testanchor.stellar.org", - "8884404377665521220" - )) + "8884404377665521220", + )), ).not.to.throw(); const transaction = new StellarSdk.Transaction( challenge, StellarSdk.Networks.TESTNET, - true + true, ); expect(transaction.memo.value).to.equal("8884404377665521220"); }); @@ -78,8 +78,8 @@ describe("Utils", function () { 300, StellarSdk.Networks.TESTNET, "testanchor.stellar.org", - "memo text" - )) + "memo text", + )), ).to.throw(); }); @@ -96,8 +96,8 @@ describe("Utils", function () { 300, StellarSdk.Networks.TESTNET, "testanchor.stellar.org", - "8884404377665521220" - )) + "8884404377665521220", + )), ).to.throw(/memo cannot be used if clientAccountID is a muxed account/); }); @@ -114,12 +114,12 @@ describe("Utils", function () { "testanchor.stellar.org", null, "testdomain", - clientSigningKeypair.publicKey() + clientSigningKeypair.publicKey(), ); const transaction = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); expect(transaction.sequence).to.eql("0"); @@ -134,12 +134,12 @@ describe("Utils", function () { expect(operation1.name).to.eql("testanchor.stellar.org auth"); expect(operation1.source).to.eql( - "GBDIT5GUJ7R5BXO3GJHFXJ6AZ5UQK6MNOIDMPQUSMXLIHTUNR2Q5CFNF" + "GBDIT5GUJ7R5BXO3GJHFXJ6AZ5UQK6MNOIDMPQUSMXLIHTUNR2Q5CFNF", ); expect(operation1.type).to.eql("manageData"); expect(operation1.value.length).to.eql(64); expect(Buffer.from(operation1.value.toString(), "base64").length).to.eql( - 48 + 48, ); expect(operation2.name).to.equal("web_auth_domain"); @@ -162,12 +162,12 @@ describe("Utils", function () { "testanchor.stellar.org", 600, StellarSdk.Networks.TESTNET, - "testanchor.stellar.org" + "testanchor.stellar.org", ); const transaction = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); let maxTime = parseInt(transaction.timeBounds.maxTime); @@ -190,8 +190,8 @@ describe("Utils", function () { 600, StellarSdk.Networks.TESTNET, "testanchor.stellar.org", - "10154623012567072189" - ) + "10154623012567072189", + ), ).to.throw(/memo cannot be used if clientAccountID is a muxed account/); }); @@ -206,8 +206,8 @@ describe("Utils", function () { "testanchor.stellar.org", null, "testdomain", - null - ) + null, + ), ).to.throw(/clientSigningKey is required if clientDomain is provided/); }); }); @@ -223,7 +223,7 @@ describe("Utils", function () { "SDF", 300, StellarSdk.Networks.TESTNET, - "testanchor.stellar.org" + "testanchor.stellar.org", ); const innerTx = new StellarSdk.TransactionBuilder( @@ -235,14 +235,14 @@ describe("Utils", function () { minTime: 0, maxTime: 0, }, - } + }, ) .addOperation( StellarSdk.Operation.payment({ destination: clientKP.publicKey(), asset: StellarSdk.Asset.native(), amount: "10.000", - }) + }), ) .build(); @@ -250,7 +250,7 @@ describe("Utils", function () { serverKP, "300", innerTx, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ).toXDR(); expect(() => @@ -259,11 +259,11 @@ describe("Utils", function () { serverKP.publicKey(), StellarSdk.Networks.TESTNET, "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /Invalid challenge: expected a Transaction but received a FeeBumpTransaction/ + /Invalid challenge: expected a Transaction but received a FeeBumpTransaction/, ); expect(() => @@ -272,8 +272,8 @@ describe("Utils", function () { serverKP.publicKey(), StellarSdk.Networks.TESTNET, "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.not.throw(StellarSdk.InvalidSep10ChallengeError); expect(() => StellarSdk.Utils.readChallengeTx( @@ -281,8 +281,8 @@ describe("Utils", function () { serverKP.publicKey(), StellarSdk.Networks.TESTNET, "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.not.throw(StellarSdk.InvalidSep10ChallengeError); }); it("returns the transaction and the clientAccountID (client's pubKey) if the challenge was created successfully", function () { @@ -295,14 +295,14 @@ describe("Utils", function () { "SDF", 300, StellarSdk.Networks.TESTNET, - "testanchor.stellar.org" + "testanchor.stellar.org", ); clock.tick(200); const transaction = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); expect( @@ -311,8 +311,8 @@ describe("Utils", function () { serverKP.publicKey(), StellarSdk.Networks.TESTNET, "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.eql({ tx: transaction, clientAccountID: clientKP.publicKey(), @@ -333,14 +333,14 @@ describe("Utils", function () { 300, StellarSdk.Networks.TESTNET, "testanchor.stellar.org", - clientMemo + clientMemo, ); clock.tick(200); const transaction = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); expect( @@ -349,8 +349,8 @@ describe("Utils", function () { serverKP.publicKey(), StellarSdk.Networks.TESTNET, "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.eql({ tx: transaction, clientAccountID: clientKP.publicKey(), @@ -370,7 +370,7 @@ describe("Utils", function () { "SDF", 300, StellarSdk.Networks.TESTNET, - "testanchor.stellar.org" + "testanchor.stellar.org", ); clock.tick(200); @@ -378,7 +378,7 @@ describe("Utils", function () { const transaction = new StellarSdk.Transaction( challenge, StellarSdk.Networks.TESTNET, - true + true, ); expect( @@ -387,8 +387,8 @@ describe("Utils", function () { serverKP.publicKey(), StellarSdk.Networks.TESTNET, "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.eql({ tx: transaction, clientAccountID: muxedAddress, @@ -405,7 +405,7 @@ describe("Utils", function () { "MCQQMHTBRF2NPCEJWO2JMDT2HBQ2FGDCYREY2YIBSHLTXDG54Y3KTWX3R7NBER62VBELC"; const transaction = new StellarSdk.TransactionBuilder( serverAccount, - txBuilderOpts + txBuilderOpts, ) .addOperation( StellarSdk.Operation.manageData({ @@ -413,7 +413,7 @@ describe("Utils", function () { name: "testanchor.stellar.org auth", value: randomBytes(48).toString("base64"), withMuxing: true, - }) + }), ) .addMemo(new StellarSdk.Memo.id("5842698851377328257")) .setTimeout(30) @@ -424,7 +424,7 @@ describe("Utils", function () { const transactionRoundTripped = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); expect(() => @@ -433,11 +433,11 @@ describe("Utils", function () { serverKP.publicKey(), StellarSdk.Networks.TESTNET, "testanchor.stellar.org", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /The transaction has a memo but the client account ID is a muxed account/ + /The transaction has a memo but the client account ID is a muxed account/, ); }); @@ -447,14 +447,14 @@ describe("Utils", function () { const transaction = new StellarSdk.TransactionBuilder( new StellarSdk.Account(serverKP.publicKey(), "-1"), - { fee: 100, networkPassphrase: StellarSdk.Networks.TESTNET } + { fee: 100, networkPassphrase: StellarSdk.Networks.TESTNET }, ) .addOperation( StellarSdk.Operation.manageData({ source: clientKP.publicKey(), name: "SDF-test auth", value: randomBytes(48).toString("base64"), - }) + }), ) .setTimeout(30) .build(); @@ -467,11 +467,11 @@ describe("Utils", function () { serverKP.publicKey(), StellarSdk.Networks.TESTNET, "SDF-test", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - "Transaction not signed by server: '" + serverKP.publicKey() + "'" + "Transaction not signed by server: '" + serverKP.publicKey() + "'", ); }); @@ -481,7 +481,7 @@ describe("Utils", function () { const account = new StellarSdk.Account(keypair.publicKey(), "100"); const transaction = new StellarSdk.TransactionBuilder( account, - txBuilderOpts + txBuilderOpts, ) .setTimeout(30) .build(); @@ -494,11 +494,11 @@ describe("Utils", function () { keypair.publicKey(), StellarSdk.Networks.TESTNET, "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /The transaction sequence number should be zero/ + /The transaction sequence number should be zero/, ); }); @@ -511,7 +511,7 @@ describe("Utils", function () { "SDF", 300, StellarSdk.Networks.TESTNET, - "testanchor.stellar.org" + "testanchor.stellar.org", ); let serverAccountId = StellarSdk.Keypair.random().publicKey(); @@ -522,11 +522,11 @@ describe("Utils", function () { serverAccountId, StellarSdk.Networks.TESTNET, "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /The transaction source account is not equal to the server's account/ + /The transaction source account is not equal to the server's account/, ); }); @@ -535,7 +535,7 @@ describe("Utils", function () { const account = new StellarSdk.Account(keypair.publicKey(), "-1"); const transaction = new StellarSdk.TransactionBuilder( account, - txBuilderOpts + txBuilderOpts, ) .setTimeout(30) .build(); @@ -549,11 +549,11 @@ describe("Utils", function () { keypair.publicKey(), StellarSdk.Networks.TESTNET, "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /The transaction should contain at least one operation/ + /The transaction should contain at least one operation/, ); }); @@ -562,13 +562,13 @@ describe("Utils", function () { const account = new StellarSdk.Account(keypair.publicKey(), "-1"); const transaction = new StellarSdk.TransactionBuilder( account, - txBuilderOpts + txBuilderOpts, ) .addOperation( StellarSdk.Operation.manageData({ name: "SDF auth", value: randomBytes(48).toString("base64"), - }) + }), ) .setTimeout(30) .build(); @@ -582,11 +582,11 @@ describe("Utils", function () { keypair.publicKey(), StellarSdk.Networks.TESTNET, "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /The transaction\'s operation should contain a source account/ + /The transaction\'s operation should contain a source account/, ); }); @@ -595,13 +595,13 @@ describe("Utils", function () { const account = new StellarSdk.Account(keypair.publicKey(), "-1"); const transaction = new StellarSdk.TransactionBuilder( account, - txBuilderOpts + txBuilderOpts, ) .addOperation( StellarSdk.Operation.accountMerge({ destination: keypair.publicKey(), source: keypair.publicKey(), - }) + }), ) .setTimeout(30) .build(); @@ -615,11 +615,11 @@ describe("Utils", function () { keypair.publicKey(), StellarSdk.Networks.TESTNET, "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /The transaction\'s operation type should be \'manageData\'/ + /The transaction\'s operation type should be \'manageData\'/, ); }); @@ -648,7 +648,7 @@ describe("Utils", function () { name: `${anchorName} auth`, value, source: clientKeypair.publicKey(), - }) + }), ) .build(); @@ -657,7 +657,7 @@ describe("Utils", function () { transaction = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); transaction.sign(clientKeypair); @@ -672,11 +672,11 @@ describe("Utils", function () { serverKeypair.publicKey(), StellarSdk.Networks.TESTNET, anchorName, - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /The transaction requires non-infinite timebounds/ + /The transaction requires non-infinite timebounds/, ); }); @@ -685,14 +685,14 @@ describe("Utils", function () { const account = new StellarSdk.Account(keypair.publicKey(), "-1"); const transaction = new StellarSdk.TransactionBuilder( account, - txBuilderOpts + txBuilderOpts, ) .addOperation( StellarSdk.Operation.manageData({ name: "SDF auth", value: randomBytes(64), source: "GBDIT5GUJ7R5BXO3GJHFXJ6AZ5UQK6MNOIDMPQUSMXLIHTUNR2Q5CFNF", - }) + }), ) .setTimeout(30) .build(); @@ -706,11 +706,11 @@ describe("Utils", function () { keypair.publicKey(), StellarSdk.Networks.TESTNET, "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /The transaction\'s operation value should be a 64 bytes base64 random string/ + /The transaction\'s operation value should be a 64 bytes base64 random string/, ); }); @@ -719,14 +719,14 @@ describe("Utils", function () { const account = new StellarSdk.Account(keypair.publicKey(), "-1"); const transaction = new StellarSdk.TransactionBuilder( account, - txBuilderOpts + txBuilderOpts, ) .addOperation( StellarSdk.Operation.manageData({ name: "SDF auth", value: null, source: "GBDIT5GUJ7R5BXO3GJHFXJ6AZ5UQK6MNOIDMPQUSMXLIHTUNR2Q5CFNF", - }) + }), ) .setTimeout(30) .build(); @@ -738,11 +738,11 @@ describe("Utils", function () { StellarSdk.Utils.readChallengeTx( challenge, keypair.publicKey(), - StellarSdk.Networks.TESTNET - ) + StellarSdk.Networks.TESTNET, + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /The transaction\'s operation values should not be null/ + /The transaction\'s operation values should not be null/, ); }); @@ -756,7 +756,7 @@ describe("Utils", function () { "SDF", 300, StellarSdk.Networks.TESTNET, - "testanchor.stellar.org" + "testanchor.stellar.org", ); // Note that this is greater than the grace period of 5 minutes (600 seconds) @@ -764,7 +764,7 @@ describe("Utils", function () { const transaction = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); transaction.sign(clientKeypair); @@ -779,11 +779,11 @@ describe("Utils", function () { keypair.publicKey(), StellarSdk.Networks.TESTNET, "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /The transaction has expired/ + /The transaction has expired/, ); }); @@ -801,11 +801,11 @@ describe("Utils", function () { "GDMSN2PQ3EB32LZY5JVACI4H7GUVQ3YUWOM4437IDTVQHHWHYG7CGA5Z", StellarSdk.Networks.TESTNET, "testnet-sep.stablex.cloud", - "staging-transfer-server.zetl.network" - ) + "staging-transfer-server.zetl.network", + ), ).not.to.throw( StellarSdk.InvalidSep10ChallengeError, - /The transaction has expired/ + /The transaction has expired/, ); }); @@ -815,14 +815,14 @@ describe("Utils", function () { const serverAccount = new StellarSdk.Account(serverKP.publicKey(), "-1"); const transaction = new StellarSdk.TransactionBuilder( serverAccount, - txBuilderOpts + txBuilderOpts, ) .addOperation( StellarSdk.Operation.manageData({ source: clientKP.publicKey(), name: "testanchor.stellar.org auth", value: randomBytes(48).toString("base64"), - }) + }), ) .setTimeout(30) .build(); @@ -832,7 +832,7 @@ describe("Utils", function () { const transactionRoundTripped = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); expect( @@ -841,8 +841,8 @@ describe("Utils", function () { serverKP.publicKey(), StellarSdk.Networks.TESTNET, "testanchor.stellar.org", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.eql({ tx: transactionRoundTripped, clientAccountID: clientKP.publicKey(), @@ -857,14 +857,14 @@ describe("Utils", function () { const serverAccount = new StellarSdk.Account(serverKP.publicKey(), "-1"); const transaction = new StellarSdk.TransactionBuilder( serverAccount, - txBuilderOpts + txBuilderOpts, ) .addOperation( StellarSdk.Operation.manageData({ source: clientKP.publicKey(), name: "testanchor.stellar.org auth", value: randomBytes(48).toString("base64"), - }) + }), ) .setTimeout(30) .build(); @@ -874,7 +874,7 @@ describe("Utils", function () { const transactionRoundTripped = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); expect( @@ -883,8 +883,8 @@ describe("Utils", function () { serverKP.publicKey(), StellarSdk.Networks.TESTNET, ["SDF", "Test", "testanchor.stellar.org", "SDF-test"], - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.eql({ tx: transactionRoundTripped, clientAccountID: clientKP.publicKey(), @@ -899,14 +899,14 @@ describe("Utils", function () { const serverAccount = new StellarSdk.Account(serverKP.publicKey(), "-1"); const transaction = new StellarSdk.TransactionBuilder( serverAccount, - txBuilderOpts + txBuilderOpts, ) .addOperation( StellarSdk.Operation.manageData({ source: clientKP.publicKey(), name: "testanchor.stellar.org auth", value: randomBytes(48).toString("base64"), - }) + }), ) .setTimeout(30) .build(); @@ -918,12 +918,12 @@ describe("Utils", function () { StellarSdk.Utils.readChallengeTx( challenge, serverKP.publicKey(), - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, // home domain not provided - ) + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /Invalid homeDomains: a home domain must be provided for verification/ + /Invalid homeDomains: a home domain must be provided for verification/, ); }); @@ -933,14 +933,14 @@ describe("Utils", function () { const serverAccount = new StellarSdk.Account(serverKP.publicKey(), "-1"); const transaction = new StellarSdk.TransactionBuilder( serverAccount, - txBuilderOpts + txBuilderOpts, ) .addOperation( StellarSdk.Operation.manageData({ source: clientKP.publicKey(), name: "testanchor.stellar.org auth", value: randomBytes(48).toString("base64"), - }) + }), ) .setTimeout(30) .build(); @@ -954,11 +954,11 @@ describe("Utils", function () { serverKP.publicKey(), StellarSdk.Networks.TESTNET, // home domain as number - 1 - ) + 1, + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /Invalid homeDomains: homeDomains type is number but should be a string or an array/ + /Invalid homeDomains: homeDomains type is number but should be a string or an array/, ); }); @@ -968,14 +968,14 @@ describe("Utils", function () { const serverAccount = new StellarSdk.Account(serverKP.publicKey(), "-1"); const transaction = new StellarSdk.TransactionBuilder( serverAccount, - txBuilderOpts + txBuilderOpts, ) .addOperation( StellarSdk.Operation.manageData({ source: clientKP.publicKey(), name: "does.not.match auth", value: randomBytes(48).toString("base64"), - }) + }), ) .setTimeout(30) .build(); @@ -989,11 +989,11 @@ describe("Utils", function () { serverKP.publicKey(), StellarSdk.Networks.TESTNET, "testanchor.stellar.org", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /Invalid homeDomains: the transaction\'s operation key name does not match the expected home domain/ + /Invalid homeDomains: the transaction\'s operation key name does not match the expected home domain/, ); }); @@ -1003,14 +1003,14 @@ describe("Utils", function () { const serverAccount = new StellarSdk.Account(serverKP.publicKey(), "-1"); const transaction = new StellarSdk.TransactionBuilder( serverAccount, - txBuilderOpts + txBuilderOpts, ) .addOperation( StellarSdk.Operation.manageData({ source: clientKP.publicKey(), name: "does.not.match auth", value: randomBytes(48).toString("base64"), - }) + }), ) .setTimeout(30) .build(); @@ -1024,11 +1024,11 @@ describe("Utils", function () { serverKP.publicKey(), StellarSdk.Networks.TESTNET, ["SDF", "Test", "testanchor.stellar.org", "SDF-test"], - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /Invalid homeDomains: the transaction\'s operation key name does not match the expected home domain/ + /Invalid homeDomains: the transaction\'s operation key name does not match the expected home domain/, ); }); @@ -1038,21 +1038,21 @@ describe("Utils", function () { const serverAccount = new StellarSdk.Account(serverKP.publicKey(), "-1"); const transaction = new StellarSdk.TransactionBuilder( serverAccount, - txBuilderOpts + txBuilderOpts, ) .addOperation( StellarSdk.Operation.manageData({ source: clientKP.publicKey(), name: "SDF auth", value: randomBytes(48).toString("base64"), - }) + }), ) .addOperation( StellarSdk.Operation.manageData({ source: serverKP.publicKey(), name: "a key", value: "a value", - }) + }), ) .setTimeout(30) .build(); @@ -1062,7 +1062,7 @@ describe("Utils", function () { const transactionRoundTripped = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); expect( @@ -1071,8 +1071,8 @@ describe("Utils", function () { serverKP.publicKey(), StellarSdk.Networks.TESTNET, "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.eql({ tx: transactionRoundTripped, clientAccountID: clientKP.publicKey(), @@ -1087,21 +1087,21 @@ describe("Utils", function () { const serverAccount = new StellarSdk.Account(serverKP.publicKey(), "-1"); const transaction = new StellarSdk.TransactionBuilder( serverAccount, - txBuilderOpts + txBuilderOpts, ) .addOperation( StellarSdk.Operation.manageData({ source: clientKP.publicKey(), name: "SDF auth", value: randomBytes(48).toString("base64"), - }) + }), ) .addOperation( StellarSdk.Operation.manageData({ source: clientKP.publicKey(), name: "a key", value: "a value", - }) + }), ) .setTimeout(30) .build(); @@ -1111,7 +1111,7 @@ describe("Utils", function () { const transactionRoundTripped = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); expect(() => @@ -1120,11 +1120,11 @@ describe("Utils", function () { serverKP.publicKey(), StellarSdk.Networks.TESTNET, "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /The transaction has operations that are unrecognized/ + /The transaction has operations that are unrecognized/, ); }); @@ -1134,20 +1134,20 @@ describe("Utils", function () { const serverAccount = new StellarSdk.Account(serverKP.publicKey(), "-1"); const transaction = new StellarSdk.TransactionBuilder( serverAccount, - txBuilderOpts + txBuilderOpts, ) .addOperation( StellarSdk.Operation.manageData({ source: clientKP.publicKey(), name: "SDF auth", value: randomBytes(48).toString("base64"), - }) + }), ) .addOperation( StellarSdk.Operation.bumpSequence({ source: clientKP.publicKey(), bumpTo: "0", - }) + }), ) .setTimeout(30) .build(); @@ -1157,7 +1157,7 @@ describe("Utils", function () { const transactionRoundTripped = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); expect(() => @@ -1166,11 +1166,11 @@ describe("Utils", function () { serverKP.publicKey(), StellarSdk.Networks.TESTNET, "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /The transaction has operations that are not of type 'manageData'/ + /The transaction has operations that are not of type 'manageData'/, ); }); @@ -1180,21 +1180,21 @@ describe("Utils", function () { const serverAccount = new StellarSdk.Account(serverKP.publicKey(), "-1"); const transaction = new StellarSdk.TransactionBuilder( serverAccount, - txBuilderOpts + txBuilderOpts, ) .addOperation( StellarSdk.Operation.manageData({ source: clientKP.publicKey(), name: "testanchor.stellar.org auth", value: randomBytes(48).toString("base64"), - }) + }), ) .addOperation( StellarSdk.Operation.manageData({ source: serverKP.publicKey(), name: "web_auth_domain", value: "unexpected_web_auth_domain", - }) + }), ) .setTimeout(30) .build(); @@ -1204,7 +1204,7 @@ describe("Utils", function () { const transactionRoundTripped = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); expect(() => @@ -1213,11 +1213,11 @@ describe("Utils", function () { serverKP.publicKey(), StellarSdk.Networks.TESTNET, "testanchor.stellar.org", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /'web_auth_domain' operation value does not match testanchor.stellar.org/ + /'web_auth_domain' operation value does not match testanchor.stellar.org/, ); }); @@ -1227,21 +1227,21 @@ describe("Utils", function () { const serverAccount = new StellarSdk.Account(serverKP.publicKey(), "-1"); const transaction = new StellarSdk.TransactionBuilder( serverAccount, - txBuilderOpts + txBuilderOpts, ) .addOperation( StellarSdk.Operation.manageData({ source: clientKP.publicKey(), name: "testanchor.stellar.org auth", value: randomBytes(48).toString("base64"), - }) + }), ) .addOperation( StellarSdk.Operation.manageData({ source: clientKP.publicKey(), name: "web_auth_domain", value: "testanchor.stellar.org", - }) + }), ) .setTimeout(30) .build(); @@ -1251,7 +1251,7 @@ describe("Utils", function () { const transactionRoundTripped = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); expect(() => @@ -1260,11 +1260,11 @@ describe("Utils", function () { serverKP.publicKey(), StellarSdk.Networks.TESTNET, "testanchor.stellar.org", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /The transaction has operations that are unrecognized/ + /The transaction has operations that are unrecognized/, ); }); @@ -1274,14 +1274,14 @@ describe("Utils", function () { const serverAccount = new StellarSdk.Account(serverKP.publicKey(), "-1"); const transaction = new StellarSdk.TransactionBuilder( serverAccount, - txBuilderOpts + txBuilderOpts, ) .addOperation( StellarSdk.Operation.manageData({ source: clientKP.publicKey(), name: "testanchor.stellar.org auth", value: randomBytes(48).toString("base64"), - }) + }), ) .setTimeout(30) .build(); @@ -1291,7 +1291,7 @@ describe("Utils", function () { const transactionRoundTripped = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); expect( @@ -1300,8 +1300,8 @@ describe("Utils", function () { serverKP.publicKey(), StellarSdk.Networks.TESTNET, "testanchor.stellar.org", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.eql({ tx: transactionRoundTripped, clientAccountID: clientKP.publicKey(), @@ -1316,21 +1316,21 @@ describe("Utils", function () { const serverAccount = new StellarSdk.Account(serverKP.publicKey(), "-1"); const transaction = new StellarSdk.TransactionBuilder( serverAccount, - txBuilderOpts + txBuilderOpts, ) .addOperation( StellarSdk.Operation.manageData({ source: clientKP.publicKey(), name: "testanchor.stellar.org auth", value: randomBytes(48).toString("base64"), - }) + }), ) .addOperation( StellarSdk.Operation.manageData({ source: serverKP.publicKey(), name: "web_auth_domain", value: "auth.stellar.org", - }) + }), ) .setTimeout(30) .build(); @@ -1340,7 +1340,7 @@ describe("Utils", function () { const transactionRoundTripped = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); expect( @@ -1349,8 +1349,8 @@ describe("Utils", function () { serverKP.publicKey(), StellarSdk.Networks.TESTNET, "testanchor.stellar.org", - "auth.stellar.org" - ) + "auth.stellar.org", + ), ).to.eql({ tx: transactionRoundTripped, clientAccountID: clientKP.publicKey(), @@ -1365,21 +1365,21 @@ describe("Utils", function () { const serverAccount = new StellarSdk.Account(serverKP.publicKey(), "-1"); const transaction = new StellarSdk.TransactionBuilder( serverAccount, - txBuilderOpts + txBuilderOpts, ) .addOperation( StellarSdk.Operation.manageData({ source: clientKP.publicKey(), name: "testanchor.stellar.org auth", value: randomBytes(48).toString("base64"), - }) + }), ) .addOperation( StellarSdk.Operation.manageData({ source: serverKP.publicKey(), name: "nonWebAuthDomainKey", value: null, - }) + }), ) .setTimeout(30) .build(); @@ -1389,7 +1389,7 @@ describe("Utils", function () { const transactionRoundTripped = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); expect( @@ -1398,8 +1398,8 @@ describe("Utils", function () { serverKP.publicKey(), StellarSdk.Networks.TESTNET, "testanchor.stellar.org", - "auth.stellar.org" - ) + "auth.stellar.org", + ), ).to.eql({ tx: transactionRoundTripped, clientAccountID: clientKP.publicKey(), @@ -1416,21 +1416,21 @@ describe("Utils", function () { const transaction = new StellarSdk.TransactionBuilder( serverAccount, - txBuilderOpts + txBuilderOpts, ) .addOperation( StellarSdk.Operation.manageData({ source: clientKP.publicKey(), name: "testanchor.stellar.org auth", value: randomBytes(48).toString("base64"), - }) + }), ) .addOperation( StellarSdk.Operation.manageData({ source: clientSigningKeypair.publicKey(), name: "client_domain", value: "testdomain", - }) + }), ) .setTimeout(30) .build(); @@ -1443,7 +1443,7 @@ describe("Utils", function () { serverKP.publicKey(), StellarSdk.Networks.TESTNET, "testanchor.stellar.org", - "testanchor.stellar.org" + "testanchor.stellar.org", ); }); }); @@ -1482,7 +1482,7 @@ describe("Utils", function () { it("throws an error if the server hasn't signed the transaction", function () { const transaction = new StellarSdk.TransactionBuilder( this.txAccount, - this.txBuilderOpts + this.txBuilderOpts, ) .addOperation(this.operation) .setTimeout(30) @@ -1503,11 +1503,11 @@ describe("Utils", function () { threshold, signerSummary, "SDF-test", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - "Transaction not signed by server: '" + this.serverKP.publicKey() + "'" + "Transaction not signed by server: '" + this.serverKP.publicKey() + "'", ); }); @@ -1518,14 +1518,14 @@ describe("Utils", function () { "SDF", 300, StellarSdk.Networks.TESTNET, - "testanchor.stellar.org" + "testanchor.stellar.org", ); clock.tick(200); const transaction = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); transaction.sign(this.clientKP1); const signedChallenge = transaction @@ -1544,8 +1544,8 @@ describe("Utils", function () { threshold, signerSummary, "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.eql([this.clientKP1.publicKey()]); }); @@ -1556,14 +1556,14 @@ describe("Utils", function () { "SDF", 300, StellarSdk.Networks.TESTNET, - "testanchor.stellar.org" + "testanchor.stellar.org", ); clock.tick(200); const transaction = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); transaction.sign(this.clientKP1, this.clientKP2); const signedChallenge = transaction @@ -1585,8 +1585,8 @@ describe("Utils", function () { threshold, signerSummary, "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.eql([this.clientKP1.publicKey(), this.clientKP2.publicKey()]); }); @@ -1597,14 +1597,14 @@ describe("Utils", function () { "SDF", 300, StellarSdk.Networks.TESTNET, - "testanchor.stellar.org" + "testanchor.stellar.org", ); clock.tick(200); const transaction = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); transaction.sign(this.clientKP1, this.clientKP2); const signedChallenge = transaction @@ -1627,8 +1627,8 @@ describe("Utils", function () { threshold, signerSummary, "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.eql([this.clientKP1.publicKey(), this.clientKP2.publicKey()]); }); @@ -1645,14 +1645,14 @@ describe("Utils", function () { "SDF", 300, StellarSdk.Networks.TESTNET, - "testanchor.stellar.org" + "testanchor.stellar.org", ); clock.tick(200); const transaction = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); transaction.sign(this.clientKP1, this.clientKP2); const signedChallenge = transaction @@ -1678,8 +1678,8 @@ describe("Utils", function () { threshold, signerSummary, "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.eql([this.clientKP1.publicKey(), this.clientKP2.publicKey()]); }); @@ -1690,14 +1690,14 @@ describe("Utils", function () { "SDF", 300, StellarSdk.Networks.TESTNET, - "testanchor.stellar.org" + "testanchor.stellar.org", ); clock.tick(200); const transaction = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); transaction.sign(this.clientKP1, this.clientKP2); const signedChallenge = transaction @@ -1720,11 +1720,11 @@ describe("Utils", function () { threshold, signerSummary, "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - `signers with weight 3 do not meet threshold ${threshold}"` + `signers with weight 3 do not meet threshold ${threshold}"`, ); }); @@ -1735,14 +1735,14 @@ describe("Utils", function () { "SDF", 300, StellarSdk.Networks.TESTNET, - "testanchor.stellar.org" + "testanchor.stellar.org", ); clock.tick(200); const transaction = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); transaction.sign(this.clientKP1, this.clientKP2, this.clientKP3); const signedChallenge = transaction @@ -1764,11 +1764,11 @@ describe("Utils", function () { threshold, signerSummary, "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /Transaction has unrecognized signatures/ + /Transaction has unrecognized signatures/, ); }); @@ -1779,14 +1779,14 @@ describe("Utils", function () { "SDF", 300, StellarSdk.Networks.TESTNET, - "testanchor.stellar.org" + "testanchor.stellar.org", ); clock.tick(200); const transaction = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); transaction.sign(this.clientKP1, this.clientKP2, this.clientKP3); const signedChallenge = transaction @@ -1804,11 +1804,11 @@ describe("Utils", function () { threshold, [], "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /No verifiable client signers provided, at least one G... address must be provided/ + /No verifiable client signers provided, at least one G... address must be provided/, ); }); }); @@ -1850,14 +1850,14 @@ describe("Utils", function () { "SDF", 300, StellarSdk.Networks.TESTNET, - "testanchor.stellar.org" + "testanchor.stellar.org", ); clock.tick(200); const transaction = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); transaction.sign(this.clientKP1); @@ -1873,15 +1873,15 @@ describe("Utils", function () { StellarSdk.Networks.TESTNET, [this.clientKP1.publicKey()], "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.eql([this.clientKP1.publicKey()]); }); it("throws an error if the server hasn't signed the transaction", function () { const transaction = new StellarSdk.TransactionBuilder( this.txAccount, - this.txBuilderOpts + this.txBuilderOpts, ) .addOperation(this.operation) .setTimeout(30) @@ -1901,11 +1901,11 @@ describe("Utils", function () { StellarSdk.Networks.TESTNET, [this.clientKP1.publicKey()], "SDF-test", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - "Transaction not signed by server: '" + this.serverKP.publicKey() + "'" + "Transaction not signed by server: '" + this.serverKP.publicKey() + "'", ); }); @@ -1916,7 +1916,7 @@ describe("Utils", function () { "SDF", 300, StellarSdk.Networks.TESTNET, - "testanchor.stellar.org" + "testanchor.stellar.org", ); clock.tick(200); @@ -1928,11 +1928,11 @@ describe("Utils", function () { StellarSdk.Networks.TESTNET, [], "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /No verifiable client signers provided, at least one G... address must be provided/ + /No verifiable client signers provided, at least one G... address must be provided/, ); }); @@ -1943,18 +1943,18 @@ describe("Utils", function () { "SDF", 300, StellarSdk.Networks.TESTNET, - "testanchor.stellar.org" + "testanchor.stellar.org", ); clock.tick(200); const transaction = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); transaction.sign( StellarSdk.Keypair.random(), - StellarSdk.Keypair.random() + StellarSdk.Keypair.random(), ); const signedChallenge = transaction .toEnvelope() @@ -1968,11 +1968,11 @@ describe("Utils", function () { StellarSdk.Networks.TESTNET, [this.clientKP1.publicKey()], "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /None of the given signers match the transaction signatures/ + /None of the given signers match the transaction signatures/, ); }); @@ -1983,14 +1983,14 @@ describe("Utils", function () { "SDF", 300, StellarSdk.Networks.TESTNET, - "testanchor.stellar.org" + "testanchor.stellar.org", ); clock.tick(200); const transaction = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); const clientSigners = [this.clientKP1, this.clientKP2]; transaction.sign(...clientSigners); @@ -2008,8 +2008,8 @@ describe("Utils", function () { StellarSdk.Networks.TESTNET, clientSignersPubKey, "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.eql(clientSignersPubKey); }); @@ -2020,14 +2020,14 @@ describe("Utils", function () { "SDF", 300, StellarSdk.Networks.TESTNET, - "testanchor.stellar.org" + "testanchor.stellar.org", ); clock.tick(200); const transaction = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); const clientSigners = [this.clientKP1, this.clientKP2]; transaction.sign(...clientSigners.reverse()); @@ -2045,8 +2045,8 @@ describe("Utils", function () { StellarSdk.Networks.TESTNET, clientSignersPubKey, "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.have.same.members(clientSignersPubKey); }); @@ -2057,14 +2057,14 @@ describe("Utils", function () { "SDF", 300, StellarSdk.Networks.TESTNET, - "testanchor.stellar.org" + "testanchor.stellar.org", ); clock.tick(200); const transaction = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); transaction.sign(this.clientKP2); @@ -2080,8 +2080,8 @@ describe("Utils", function () { StellarSdk.Networks.TESTNET, [this.clientKP2.publicKey()], "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.eql([this.clientKP2.publicKey()]); }); @@ -2092,14 +2092,14 @@ describe("Utils", function () { "SDF", 300, StellarSdk.Networks.TESTNET, - "testanchor.stellar.org" + "testanchor.stellar.org", ); clock.tick(200); const transaction = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); transaction.sign(this.clientKP2); @@ -2115,8 +2115,8 @@ describe("Utils", function () { StellarSdk.Networks.TESTNET, [this.clientKP2.publicKey(), StellarSdk.Keypair.random().publicKey()], "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.eql([this.clientKP2.publicKey()]); }); @@ -2127,14 +2127,14 @@ describe("Utils", function () { "SDF", 300, StellarSdk.Networks.TESTNET, - "testanchor.stellar.org" + "testanchor.stellar.org", ); clock.tick(200); const transaction = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); transaction.sign(this.serverKP); @@ -2150,11 +2150,11 @@ describe("Utils", function () { StellarSdk.Networks.TESTNET, [this.clientKP2.publicKey(), this.serverKP.publicKey()], "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /None of the given signers match the transaction signatures/ + /None of the given signers match the transaction signatures/, ); }); @@ -2165,14 +2165,14 @@ describe("Utils", function () { "SDF", 300, StellarSdk.Networks.TESTNET, - "testanchor.stellar.org" + "testanchor.stellar.org", ); clock.tick(200); const transaction = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); transaction.sign(this.clientKP2); @@ -2188,8 +2188,8 @@ describe("Utils", function () { StellarSdk.Networks.TESTNET, [this.clientKP2.publicKey(), this.clientKP2.publicKey()], "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.eql([this.clientKP2.publicKey()]); }); @@ -2206,14 +2206,14 @@ describe("Utils", function () { "SDF", 300, StellarSdk.Networks.TESTNET, - "testanchor.stellar.org" + "testanchor.stellar.org", ); clock.tick(200); const transaction = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); transaction.sign(this.clientKP2); @@ -2229,8 +2229,8 @@ describe("Utils", function () { StellarSdk.Networks.TESTNET, [this.clientKP2.publicKey(), preauthTxHash, xHash, unknownSignerType], "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.eql([this.clientKP2.publicKey()]); }); @@ -2241,14 +2241,14 @@ describe("Utils", function () { "SDF", 300, StellarSdk.Networks.TESTNET, - "testanchor.stellar.org" + "testanchor.stellar.org", ); clock.tick(200); const transaction = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); transaction.sign(this.clientKP1); const signedChallenge = transaction @@ -2263,11 +2263,11 @@ describe("Utils", function () { StellarSdk.Networks.TESTNET, [this.clientKP2.publicKey(), this.clientKP2.publicKey()], "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /None of the given signers match the transaction signatures/ + /None of the given signers match the transaction signatures/, ); }); @@ -2278,14 +2278,14 @@ describe("Utils", function () { "SDF", 300, StellarSdk.Networks.TESTNET, - "testanchor.stellar.org" + "testanchor.stellar.org", ); clock.tick(200); const transaction = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); transaction.sign(this.clientKP2, this.clientKP2); @@ -2301,11 +2301,11 @@ describe("Utils", function () { StellarSdk.Networks.TESTNET, [this.clientKP2.publicKey()], "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /Transaction has unrecognized signatures/ + /Transaction has unrecognized signatures/, ); }); @@ -2316,14 +2316,14 @@ describe("Utils", function () { "SDF", 300, StellarSdk.Networks.TESTNET, - "testanchor.stellar.org" + "testanchor.stellar.org", ); clock.tick(200); const transaction = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); transaction.sign(this.clientKP2, this.clientKP2); @@ -2339,18 +2339,18 @@ describe("Utils", function () { StellarSdk.Networks.TESTNET, [this.clientKP2.secret()], "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /No verifiable client signers provided, at least one G... address must be provided/ + /No verifiable client signers provided, at least one G... address must be provided/, ); }); it("throws an error if no client has signed the transaction", function () { const transaction = new StellarSdk.TransactionBuilder( this.txAccount, - this.txBuilderOpts + this.txBuilderOpts, ) .addOperation(this.operation) .setTimeout(30) @@ -2371,11 +2371,11 @@ describe("Utils", function () { StellarSdk.Networks.TESTNET, clientSigners, "SDF-test", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /None of the given signers match the transaction signatures/ + /None of the given signers match the transaction signatures/, ); }); @@ -2386,14 +2386,14 @@ describe("Utils", function () { "SDF", 300, StellarSdk.Networks.TESTNET, - "testanchor.stellar.org" + "testanchor.stellar.org", ); clock.tick(200); const transaction = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); transaction.sign(this.clientKP1); @@ -2409,11 +2409,11 @@ describe("Utils", function () { StellarSdk.Networks.TESTNET, [], "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /No verifiable client signers provided, at least one G... address must be provided/ + /No verifiable client signers provided, at least one G... address must be provided/, ); }); @@ -2430,14 +2430,14 @@ describe("Utils", function () { "testanchor.stellar.org", null, "testdomain", - clientSigningKey.publicKey() + clientSigningKey.publicKey(), ); clock.tick(200); const transaction = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); transaction.sign(clientKP); @@ -2454,7 +2454,7 @@ describe("Utils", function () { StellarSdk.Networks.TESTNET, [clientKP.publicKey()], "SDF", - "testanchor.stellar.org" + "testanchor.stellar.org", ); expect(signersFound.indexOf(clientSigningKey.publicKey())).to.eql(-1); @@ -2473,14 +2473,14 @@ describe("Utils", function () { "testanchor.stellar.org", null, "testdomain", - clientSigningKeypair.publicKey() + clientSigningKeypair.publicKey(), ); clock.tick(200); const transaction = new StellarSdk.Transaction( challenge, - StellarSdk.Networks.TESTNET + StellarSdk.Networks.TESTNET, ); transaction.sign(clientKP); @@ -2497,11 +2497,11 @@ describe("Utils", function () { StellarSdk.Networks.TESTNET, [clientKP.publicKey()], "SDF", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /Transaction not signed by the source account of the 'client_domain' ManageData operation/ + /Transaction not signed by the source account of the 'client_domain' ManageData operation/, ); }); @@ -2514,28 +2514,28 @@ describe("Utils", function () { const transaction = new StellarSdk.TransactionBuilder( serverAccount, - txBuilderOpts + txBuilderOpts, ) .addOperation( StellarSdk.Operation.manageData({ source: clientKP.publicKey(), name: "testanchor.stellar.org auth", value: randomBytes(48).toString("base64"), - }) + }), ) .addOperation( StellarSdk.Operation.manageData({ source: clientSigningKeypair.publicKey(), name: "client_domain", value: "testdomain", - }) + }), ) .addOperation( StellarSdk.Operation.manageData({ source: clientSigningKeypair.publicKey(), name: "client_domain", value: "testdomain2", - }) + }), ) .setTimeout(30) .build(); @@ -2558,11 +2558,11 @@ describe("Utils", function () { StellarSdk.Networks.TESTNET, [clientKP.publicKey()], "testanchor.stellar.org", - "testanchor.stellar.org" - ) + "testanchor.stellar.org", + ), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /Found more than one client_domain operation/ + /Found more than one client_domain operation/, ); }); }); @@ -2573,7 +2573,7 @@ describe("Utils", function () { this.account = new StellarSdk.Account(this.keypair.publicKey(), "-1"); this.transaction = new StellarSdk.TransactionBuilder( this.account, - txBuilderOpts + txBuilderOpts, ) .setTimeout(30) .build(); @@ -2589,8 +2589,8 @@ describe("Utils", function () { expect( StellarSdk.Utils.verifyTxSignedBy( this.transaction, - this.keypair.publicKey() - ) + this.keypair.publicKey(), + ), ).to.eql(true); }); @@ -2602,8 +2602,8 @@ describe("Utils", function () { expect( StellarSdk.Utils.verifyTxSignedBy( this.transaction, - differentKeypair.publicKey() - ) + differentKeypair.publicKey(), + ), ).to.eql(false); }); @@ -2611,8 +2611,8 @@ describe("Utils", function () { expect( StellarSdk.Utils.verifyTxSignedBy( this.transaction, - this.keypair.publicKey() - ) + this.keypair.publicKey(), + ), ).to.eql(false); }); }); @@ -2624,7 +2624,7 @@ describe("Utils", function () { this.account = new StellarSdk.Account(this.keypair1.publicKey(), "-1"); this.transaction = new StellarSdk.TransactionBuilder( this.account, - txBuilderOpts + txBuilderOpts, ) .setTimeout(30) .build(); @@ -2642,7 +2642,7 @@ describe("Utils", function () { this.keypair2.publicKey(), ]; expect( - StellarSdk.Utils.gatherTxSigners(this.transaction, expectedSignatures) + StellarSdk.Utils.gatherTxSigners(this.transaction, expectedSignatures), ).to.eql(expectedSignatures); }); @@ -2653,7 +2653,7 @@ describe("Utils", function () { this.keypair1, this.keypair2, this.keypair2, - this.keypair2 + this.keypair2, ); const expectedSignatures = [ @@ -2664,7 +2664,7 @@ describe("Utils", function () { StellarSdk.Utils.gatherTxSigners(this.transaction, [ this.keypair1.publicKey(), this.keypair2.publicKey(), - ]) + ]), ).to.eql(expectedSignatures); }); @@ -2678,7 +2678,7 @@ describe("Utils", function () { ]; expect( - StellarSdk.Utils.gatherTxSigners(this.transaction, wrongSignatures) + StellarSdk.Utils.gatherTxSigners(this.transaction, wrongSignatures), ).to.eql([]); }); @@ -2687,7 +2687,7 @@ describe("Utils", function () { StellarSdk.Utils.gatherTxSigners(this.transaction, [ this.keypair1.publicKey(), this.keypair2.publicKey(), - ]) + ]), ).to.eql([]); }); @@ -2699,10 +2699,10 @@ describe("Utils", function () { StellarSdk.Utils.gatherTxSigners(this.transaction, [ preauthTxHash, this.keypair1.publicKey(), - ]) + ]), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /Signer is not a valid address/ + /Signer is not a valid address/, ); }); @@ -2714,10 +2714,10 @@ describe("Utils", function () { StellarSdk.Utils.gatherTxSigners(this.transaction, [ invalidGHash, this.keypair1.publicKey(), - ]) + ]), ).to.throw( StellarSdk.InvalidSep10ChallengeError, - /Signer is not a valid address/ + /Signer is not a valid address/, ); }); }); diff --git a/yarn.lock b/yarn.lock index e4bd090f6..bfd53fdc2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15,10 +15,10 @@ "@jridgewell/gen-mapping" "^0.3.0" "@jridgewell/trace-mapping" "^0.3.9" -"@babel/cli@^7.22.6": - version "7.22.9" - resolved "https://registry.yarnpkg.com/@babel/cli/-/cli-7.22.9.tgz#501b3614aeda7399371f6d5991404f069b059986" - integrity sha512-nb2O7AThqRo7/E53EGiuAkMaRbb7J5Qp3RvN+dmua1U+kydm0oznkhqbTEG15yk26G/C3yL6OdZjzgl+DMXVVA== +"@babel/cli@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/cli/-/cli-7.22.15.tgz#22ed82d76745a43caa60a89917bedb7c9b5bd145" + integrity sha512-prtg5f6zCERIaECeTZzd2fMtVjlfjhUcO+fBLQ6DXXdq5FljN+excVitJ2nogsusdf31LeqkjAfXZ7Xq+HmN8g== dependencies: "@jridgewell/trace-mapping" "^0.3.17" commander "^4.0.1" @@ -31,6 +31,14 @@ "@nicolo-ribaudo/chokidar-2" "2.1.8-no-fsevents.3" chokidar "^3.4.0" +"@babel/code-frame@^7.22.13": + version "7.22.13" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.22.13.tgz#e3c1c099402598483b7a8c46a721d1038803755e" + integrity sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w== + dependencies: + "@babel/highlight" "^7.22.13" + chalk "^2.4.2" + "@babel/code-frame@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.22.5.tgz#234d98e1551960604f1246e6475891a570ad5658" @@ -38,12 +46,12 @@ dependencies: "@babel/highlight" "^7.22.5" -"@babel/compat-data@^7.22.5", "@babel/compat-data@^7.22.6", "@babel/compat-data@^7.22.9": +"@babel/compat-data@^7.22.6", "@babel/compat-data@^7.22.9": version "7.22.9" resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.22.9.tgz#71cdb00a1ce3a329ce4cbec3a44f9fef35669730" integrity sha512-5UamI7xkUcJ3i9qVDS+KFDEK8/7oJ55/sJMB1Ge7IEapr7KfdfV/HErR+koZwOfd+SgtFKOKRhRakdg++DcJpQ== -"@babel/core@^7.12.3", "@babel/core@^7.22.8", "@babel/core@^7.7.5": +"@babel/core@^7.12.3", "@babel/core@^7.7.5": version "7.22.9" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.22.9.tgz#bd96492c68822198f33e8a256061da3cf391f58f" integrity sha512-G2EgeufBcYw27U4hhoIwFcgc1XU7TlXJ3mv04oOv1WCuo900U/anZSPzEqNjwdjgffkk2Gs0AN0dW1CKVLcG7w== @@ -64,22 +72,53 @@ json5 "^2.2.2" semver "^6.3.1" -"@babel/eslint-parser@^7.22.7": - version "7.22.9" - resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.22.9.tgz#75f8aa978d1e76c87cc6f26c1ea16ae58804d390" - integrity sha512-xdMkt39/nviO/4vpVdrEYPwXCsYIXSSAr6mC7WQsNIlGnuxKyKE7GZjalcnbSWiC4OXGNNN3UQPeHfjSC6sTDA== +"@babel/core@^7.22.19": + version "7.22.19" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.22.19.tgz#b38162460a6f3baf2a424bda720b24a8aafea241" + integrity sha512-Q8Yj5X4LHVYTbLCKVz0//2D2aDmHF4xzCdEttYvKOnWvErGsa6geHXD6w46x64n5tP69VfeH+IfSrdyH3MLhwA== + dependencies: + "@ampproject/remapping" "^2.2.0" + "@babel/code-frame" "^7.22.13" + "@babel/generator" "^7.22.15" + "@babel/helper-compilation-targets" "^7.22.15" + "@babel/helper-module-transforms" "^7.22.19" + "@babel/helpers" "^7.22.15" + "@babel/parser" "^7.22.16" + "@babel/template" "^7.22.15" + "@babel/traverse" "^7.22.19" + "@babel/types" "^7.22.19" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.3" + semver "^6.3.1" + +"@babel/eslint-parser@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.22.15.tgz#263f059c476e29ca4972481a17b8b660cb025a34" + integrity sha512-yc8OOBIQk1EcRrpizuARSQS0TWAcOMpEJ1aafhNznaeYkeL+OhqnDObGFylB8ka8VFF/sZc+S4RzHyO+3LjQxg== dependencies: "@nicolo-ribaudo/eslint-scope-5-internals" "5.1.1-v1" eslint-visitor-keys "^2.1.0" semver "^6.3.1" -"@babel/eslint-plugin@^7.19.1": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/eslint-plugin/-/eslint-plugin-7.22.5.tgz#47407d8c9e527b62ff75ee11e4baa6de3da7cf0e" - integrity sha512-lDXW06rf1sXywWWw+UdS/iYxRjrqhH4AXdPeKE4+fEgEoGBXcdIDQ+uCJOUcvCb0jCTvfwHOSXkwnfd24EAkLQ== +"@babel/eslint-plugin@^7.22.10": + version "7.22.10" + resolved "https://registry.yarnpkg.com/@babel/eslint-plugin/-/eslint-plugin-7.22.10.tgz#b84e0f029b8f78604c3f6797cd6208cad46fbcf5" + integrity sha512-SRZcvo3fnO5h79B9DZSV6LG2vHH7OWsSNp1huFLHsXKyytRG413byQk9zxW1VcPOhnzfx2VIUz+8aGbiE7fOkA== dependencies: eslint-rule-composer "^0.3.0" +"@babel/generator@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.22.15.tgz#1564189c7ec94cb8f77b5e8a90c4d200d21b2339" + integrity sha512-Zu9oWARBqeVOW0dZOjXc3JObrzuqothQ3y/n1kUtrjCoCPLkXUwMvOo/F/TCfoHMbWIFlWwpZtkZVb9ga4U2pA== + dependencies: + "@babel/types" "^7.22.15" + "@jridgewell/gen-mapping" "^0.3.2" + "@jridgewell/trace-mapping" "^0.3.17" + jsesc "^2.5.1" + "@babel/generator@^7.22.7", "@babel/generator@^7.22.9": version "7.22.9" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.22.9.tgz#572ecfa7a31002fa1de2a9d91621fd895da8493d" @@ -104,6 +143,17 @@ dependencies: "@babel/types" "^7.22.5" +"@babel/helper-compilation-targets@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.15.tgz#0698fc44551a26cf29f18d4662d5bf545a6cfc52" + integrity sha512-y6EEzULok0Qvz8yyLkCvVX+02ic+By2UdOhylwUOvOn9dvYc9mKICJuuU1n1XBI02YWsNsnrY1kc6DVbjcXbtw== + dependencies: + "@babel/compat-data" "^7.22.9" + "@babel/helper-validator-option" "^7.22.15" + browserslist "^4.21.9" + lru-cache "^5.1.1" + semver "^6.3.1" + "@babel/helper-compilation-targets@^7.22.5", "@babel/helper-compilation-targets@^7.22.6", "@babel/helper-compilation-targets@^7.22.9": version "7.22.9" resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.9.tgz#f9d0a7aaaa7cd32a3f31c9316a69f5a9bcacb892" @@ -115,7 +165,22 @@ lru-cache "^5.1.1" semver "^6.3.1" -"@babel/helper-create-class-features-plugin@^7.22.5", "@babel/helper-create-class-features-plugin@^7.22.9": +"@babel/helper-create-class-features-plugin@^7.22.11", "@babel/helper-create-class-features-plugin@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.22.15.tgz#97a61b385e57fe458496fad19f8e63b63c867de4" + integrity sha512-jKkwA59IXcvSaiK2UN45kKwSC9o+KuoXsBDvHvU/7BecYIp8GQ2UwrVvFgJASUT+hBnwJx6MhvMCuMzwZZ7jlg== + dependencies: + "@babel/helper-annotate-as-pure" "^7.22.5" + "@babel/helper-environment-visitor" "^7.22.5" + "@babel/helper-function-name" "^7.22.5" + "@babel/helper-member-expression-to-functions" "^7.22.15" + "@babel/helper-optimise-call-expression" "^7.22.5" + "@babel/helper-replace-supers" "^7.22.9" + "@babel/helper-skip-transparent-expression-wrappers" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + semver "^6.3.1" + +"@babel/helper-create-class-features-plugin@^7.22.5": version "7.22.9" resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.22.9.tgz#c36ea240bb3348f942f08b0fbe28d6d979fab236" integrity sha512-Pwyi89uO4YrGKxL/eNJ8lfEH55DnRloGPOseaA8NFNL6jAUnn+KccaISiFazCj5IolPPDjGSdzQzXVzODVRqUQ== @@ -139,10 +204,10 @@ regexpu-core "^5.3.1" semver "^6.3.1" -"@babel/helper-define-polyfill-provider@^0.4.1": - version "0.4.1" - resolved "https://registry.yarnpkg.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.4.1.tgz#af1429c4a83ac316a6a8c2cc8ff45cb5d2998d3a" - integrity sha512-kX4oXixDxG197yhX+J3Wp+NpL2wuCFjWQAr6yX2jtCnflK9ulMI51ULFGIrWiX1jGfvAxdHp+XQCcP2bZGPs9A== +"@babel/helper-define-polyfill-provider@^0.4.2": + version "0.4.2" + resolved "https://registry.yarnpkg.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.4.2.tgz#82c825cadeeeee7aad237618ebbe8fa1710015d7" + integrity sha512-k0qnnOqHn5dK9pZpfD5XXZ9SojAITdCKRn2Lp6rnDGzIbaP0rHyMPk/4wsSxVBVz4RfN0q6VpXWP2pDGIoQ7hw== dependencies: "@babel/helper-compilation-targets" "^7.22.6" "@babel/helper-plugin-utils" "^7.22.5" @@ -170,6 +235,13 @@ dependencies: "@babel/types" "^7.22.5" +"@babel/helper-member-expression-to-functions@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.22.15.tgz#b95a144896f6d491ca7863576f820f3628818621" + integrity sha512-qLNsZbgrNh0fDQBCPocSL8guki1hcPvltGDv/NxvUoABwFq7GkKSu1nRXeJkVZc+wJvne2E0RKQz+2SQrz6eAA== + dependencies: + "@babel/types" "^7.22.15" + "@babel/helper-member-expression-to-functions@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.22.5.tgz#0a7c56117cad3372fbf8d2fb4bf8f8d64a1e76b2" @@ -177,6 +249,13 @@ dependencies: "@babel/types" "^7.22.5" +"@babel/helper-module-imports@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz#16146307acdc40cc00c3b2c647713076464bdbf0" + integrity sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w== + dependencies: + "@babel/types" "^7.22.15" + "@babel/helper-module-imports@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.22.5.tgz#1a8f4c9f4027d23f520bd76b364d44434a72660c" @@ -184,6 +263,17 @@ dependencies: "@babel/types" "^7.22.5" +"@babel/helper-module-transforms@^7.22.15", "@babel/helper-module-transforms@^7.22.19": + version "7.22.19" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.22.19.tgz#94b1f281caa6518f02ec0f5ea2b5348e298ce266" + integrity sha512-m6h1cJvn+OJ+R3jOHp30faq5xKJ7VbjwDj5RGgHuRlU9hrMeKsGC+JpihkR5w1g7IfseCPPtZ0r7/hB4UKaYlA== + dependencies: + "@babel/helper-environment-visitor" "^7.22.5" + "@babel/helper-module-imports" "^7.22.15" + "@babel/helper-simple-access" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + "@babel/helper-validator-identifier" "^7.22.19" + "@babel/helper-module-transforms@^7.22.5", "@babel/helper-module-transforms@^7.22.9": version "7.22.9" resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.22.9.tgz#92dfcb1fbbb2bc62529024f72d942a8c97142129" @@ -216,6 +306,15 @@ "@babel/helper-environment-visitor" "^7.22.5" "@babel/helper-wrap-function" "^7.22.9" +"@babel/helper-remap-async-to-generator@^7.22.9": + version "7.22.17" + resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.22.17.tgz#dabaa50622b3b4670bd6546fc8db23eb12d89da0" + integrity sha512-bxH77R5gjH3Nkde6/LuncQoLaP16THYPscurp1S8z7S9ZgezCyV3G8Hc+TZiCmY8pz4fp8CvKSgtJMW0FkLAxA== + dependencies: + "@babel/helper-annotate-as-pure" "^7.22.5" + "@babel/helper-environment-visitor" "^7.22.5" + "@babel/helper-wrap-function" "^7.22.17" + "@babel/helper-replace-supers@^7.22.5", "@babel/helper-replace-supers@^7.22.9": version "7.22.9" resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.22.9.tgz#cbdc27d6d8d18cd22c81ae4293765a5d9afd0779" @@ -251,16 +350,35 @@ resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz#533f36457a25814cf1df6488523ad547d784a99f" integrity sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw== +"@babel/helper-validator-identifier@^7.22.19": + version "7.22.19" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.19.tgz#2f34ab1e445f5b95e2e6edfe50ea2449e610583a" + integrity sha512-Tinq7ybnEPFFXhlYOYFiSjespWQk0dq2dRNAiMdRTOYQzEGqnnNyrTxPYHP5r6wGjlF1rFgABdDV0g8EwD6Qbg== + "@babel/helper-validator-identifier@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz#9544ef6a33999343c8740fa51350f30eeaaaf193" integrity sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ== +"@babel/helper-validator-option@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.22.15.tgz#694c30dfa1d09a6534cdfcafbe56789d36aba040" + integrity sha512-bMn7RmyFjY/mdECUbgn9eoSY4vqvacUnS9i9vGAGttgFWesO6B4CYWA7XlpbWgBt71iv/hfbPlynohStqnu5hA== + "@babel/helper-validator-option@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.22.5.tgz#de52000a15a177413c8234fa3a8af4ee8102d0ac" integrity sha512-R3oB6xlIVKUnxNUxbmgq7pKjxpru24zlimpE8WK47fACIlM0II/Hm1RS8IaOI7NgCr6LNS+jl5l75m20npAziw== +"@babel/helper-wrap-function@^7.22.17": + version "7.22.17" + resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.22.17.tgz#222ac3ff9cc8f9b617cc1e5db75c0b538e722801" + integrity sha512-nAhoheCMlrqU41tAojw9GpVEKDlTS8r3lzFmF0lP52LwblCPbuFSO7nGIZoIcoU5NIm1ABrna0cJExE4Ay6l2Q== + dependencies: + "@babel/helper-function-name" "^7.22.5" + "@babel/template" "^7.22.15" + "@babel/types" "^7.22.17" + "@babel/helper-wrap-function@^7.22.9": version "7.22.9" resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.22.9.tgz#189937248c45b0182c1dcf32f3444ca153944cb9" @@ -270,6 +388,15 @@ "@babel/template" "^7.22.5" "@babel/types" "^7.22.5" +"@babel/helpers@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.22.15.tgz#f09c3df31e86e3ea0b7ff7556d85cdebd47ea6f1" + integrity sha512-7pAjK0aSdxOwR+CcYAqgWOGy5dcfvzsTIfFTb2odQqW47MDfv14UaJDY6eng8ylM2EaeKXdxaSWESbkmaQHTmw== + dependencies: + "@babel/template" "^7.22.15" + "@babel/traverse" "^7.22.15" + "@babel/types" "^7.22.15" + "@babel/helpers@^7.22.6": version "7.22.6" resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.22.6.tgz#8e61d3395a4f0c5a8060f309fb008200969b5ecd" @@ -279,6 +406,15 @@ "@babel/traverse" "^7.22.6" "@babel/types" "^7.22.5" +"@babel/highlight@^7.22.13": + version "7.22.13" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.22.13.tgz#9cda839e5d3be9ca9e8c26b6dd69e7548f0cbf16" + integrity sha512-C/BaXcnnvBCmHTpz/VGZ8jgtE2aYlW4hxDhseJAWZb7gqGM/qtCK6iZUb0TyKFf7BOUsBH7Q7fkRsDRhg1XklQ== + dependencies: + "@babel/helper-validator-identifier" "^7.22.5" + chalk "^2.4.2" + js-tokens "^4.0.0" + "@babel/highlight@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.22.5.tgz#aa6c05c5407a67ebce408162b7ede789b4d22031" @@ -293,35 +429,32 @@ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.22.7.tgz#df8cf085ce92ddbdbf668a7f186ce848c9036cae" integrity sha512-7NF8pOkHP5o2vpmGgNGcfAeCvOYhGLyA3Z4eBQkT1RJlWu47n63bCs93QfJ2hIAFCil7L5P2IWhs1oToVgrL0Q== -"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.22.5.tgz#87245a21cd69a73b0b81bcda98d443d6df08f05e" - integrity sha512-NP1M5Rf+u2Gw9qfSO4ihjcTGW5zXTi36ITLd4/EoAcEhIZ0yjMqmftDNl3QC19CX7olhrjpyU454g/2W7X0jvQ== +"@babel/parser@^7.22.15", "@babel/parser@^7.22.16": + version "7.22.16" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.22.16.tgz#180aead7f247305cce6551bea2720934e2fa2c95" + integrity sha512-+gPfKv8UWeKKeJTUxe59+OobVcrYHETCsORl61EmSkmgymguYk/X5bp7GuUIXaFsc6y++v8ZxPsLSSuujqDphA== + +"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.22.15.tgz#02dc8a03f613ed5fdc29fb2f728397c78146c962" + integrity sha512-FB9iYlz7rURmRJyXRKEnalYPPdn87H5no108cyuQQyMwlpJ2SJtpIUBI27kdTin956pz+LPypkPVPUTlxOmrsg== dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.22.5.tgz#fef09f9499b1f1c930da8a0c419db42167d792ca" - integrity sha512-31Bb65aZaUwqCbWMnZPduIZxCBngHFlzyN6Dq6KAJjtx+lx6ohKHubc61OomYi7XwVD4Ol0XCVz4h+pYFR048g== +"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.22.15.tgz#2aeb91d337d4e1a1e7ce85b76a37f5301781200f" + integrity sha512-Hyph9LseGvAeeXzikV88bczhsrLrIZqDPxO+sSmAunMPaGrBGhfMWzCPYTtiW9t+HzSE2wtV8e5cc5P6r1xMDQ== dependencies: "@babel/helper-plugin-utils" "^7.22.5" "@babel/helper-skip-transparent-expression-wrappers" "^7.22.5" - "@babel/plugin-transform-optional-chaining" "^7.22.5" + "@babel/plugin-transform-optional-chaining" "^7.22.15" "@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2": version "7.21.0-placeholder-for-preset-env.2" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.0-placeholder-for-preset-env.2.tgz#7844f9289546efa9febac2de4cfe358a050bd703" integrity sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w== -"@babel/plugin-proposal-unicode-property-regex@^7.4.4": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.18.6.tgz#af613d2cd5e643643b65cded64207b15c85cb78e" - integrity sha512-2BShG/d5yoZyXZfVePH91urL5wTG6ASZU9M4o03lKK8u8UW1y08OMttBSOADTcJrnPMpvDXRG3G8fyLh4ovs8w== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.18.6" - "@babel/helper-plugin-utils" "^7.18.6" - "@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" @@ -470,14 +603,14 @@ dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-async-generator-functions@^7.22.7": - version "7.22.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.22.7.tgz#053e76c0a903b72b573cb1ab7d6882174d460a1b" - integrity sha512-7HmE7pk/Fmke45TODvxvkxRMV9RazV+ZZzhOL9AG8G29TLrr3jkjwF7uJfxZ30EoXpO+LJkq4oA8NjO2DTnEDg== +"@babel/plugin-transform-async-generator-functions@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.22.15.tgz#3b153af4a6b779f340d5b80d3f634f55820aefa3" + integrity sha512-jBm1Es25Y+tVoTi5rfd5t1KLmL8ogLKpXszboWOTTtGFGz2RKnQe2yn7HbZ+kb/B8N0FVSGQo874NSlOU1T4+w== dependencies: "@babel/helper-environment-visitor" "^7.22.5" "@babel/helper-plugin-utils" "^7.22.5" - "@babel/helper-remap-async-to-generator" "^7.22.5" + "@babel/helper-remap-async-to-generator" "^7.22.9" "@babel/plugin-syntax-async-generators" "^7.8.4" "@babel/plugin-transform-async-to-generator@^7.22.5": @@ -496,10 +629,10 @@ dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-block-scoping@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.22.5.tgz#8bfc793b3a4b2742c0983fadc1480d843ecea31b" - integrity sha512-EcACl1i5fSQ6bt+YGuU/XGCeZKStLmyVGytWkpyhCLeQVA0eu6Wtiw92V+I1T/hnezUv7j74dA/Ro69gWcU+hg== +"@babel/plugin-transform-block-scoping@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.22.15.tgz#494eb82b87b5f8b1d8f6f28ea74078ec0a10a841" + integrity sha512-G1czpdJBZCtngoK1sJgloLiOHUnkb/bLZwqVZD8kXmq0ZnVfTTWUcs9OWtp0mBtYJ+4LQY1fllqBkOIPhXmFmw== dependencies: "@babel/helper-plugin-utils" "^7.22.5" @@ -511,27 +644,27 @@ "@babel/helper-create-class-features-plugin" "^7.22.5" "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-class-static-block@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.22.5.tgz#3e40c46f048403472d6f4183116d5e46b1bff5ba" - integrity sha512-SPToJ5eYZLxlnp1UzdARpOGeC2GbHvr9d/UV0EukuVx8atktg194oe+C5BqQ8jRTkgLRVOPYeXRSBg1IlMoVRA== +"@babel/plugin-transform-class-static-block@^7.22.11": + version "7.22.11" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.22.11.tgz#dc8cc6e498f55692ac6b4b89e56d87cec766c974" + integrity sha512-GMM8gGmqI7guS/llMFk1bJDkKfn3v3C4KHK9Yg1ey5qcHcOlKb0QvcMrgzvxo+T03/4szNh5lghY+fEC98Kq9g== dependencies: - "@babel/helper-create-class-features-plugin" "^7.22.5" + "@babel/helper-create-class-features-plugin" "^7.22.11" "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-syntax-class-static-block" "^7.14.5" -"@babel/plugin-transform-classes@^7.22.6": - version "7.22.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.22.6.tgz#e04d7d804ed5b8501311293d1a0e6d43e94c3363" - integrity sha512-58EgM6nuPNG6Py4Z3zSuu0xWu2VfodiMi72Jt5Kj2FECmaYk1RrTXA45z6KBFsu9tRgwQDwIiY4FXTt+YsSFAQ== +"@babel/plugin-transform-classes@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.22.15.tgz#aaf4753aee262a232bbc95451b4bdf9599c65a0b" + integrity sha512-VbbC3PGjBdE0wAWDdHM9G8Gm977pnYI0XpqMd6LrKISj8/DJXEsWqgRuTYaNE9Bv0JGhTZUzHDlMk18IpOuoqw== dependencies: "@babel/helper-annotate-as-pure" "^7.22.5" - "@babel/helper-compilation-targets" "^7.22.6" + "@babel/helper-compilation-targets" "^7.22.15" "@babel/helper-environment-visitor" "^7.22.5" "@babel/helper-function-name" "^7.22.5" "@babel/helper-optimise-call-expression" "^7.22.5" "@babel/helper-plugin-utils" "^7.22.5" - "@babel/helper-replace-supers" "^7.22.5" + "@babel/helper-replace-supers" "^7.22.9" "@babel/helper-split-export-declaration" "^7.22.6" globals "^11.1.0" @@ -543,14 +676,14 @@ "@babel/helper-plugin-utils" "^7.22.5" "@babel/template" "^7.22.5" -"@babel/plugin-transform-destructuring@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.22.5.tgz#d3aca7438f6c26c78cdd0b0ba920a336001b27cc" - integrity sha512-GfqcFuGW8vnEqTUBM7UtPd5A4q797LTvvwKxXTgRsFjoqaJiEg9deBG6kWeQYkVEL569NpnmpC0Pkr/8BLKGnQ== +"@babel/plugin-transform-destructuring@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.22.15.tgz#e7404ea5bb3387073b9754be654eecb578324694" + integrity sha512-HzG8sFl1ZVGTme74Nw+X01XsUTqERVQ6/RLHo3XjGRzm7XD6QTtfS3NJotVgCGy8BzkDqRjRBD8dAyJn5TuvSQ== dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-dotall-regex@^7.22.5", "@babel/plugin-transform-dotall-regex@^7.4.4": +"@babel/plugin-transform-dotall-regex@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.22.5.tgz#dbb4f0e45766eb544e193fb00e65a1dd3b2a4165" integrity sha512-5/Yk9QxCQCl+sOIB1WelKnVRxTJDSAIxtJLL2/pqL14ZVlbH0fUQUZa/T5/UnQtBNgghR7mfB8ERBKyKPCi7Vw== @@ -565,10 +698,10 @@ dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-dynamic-import@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.22.5.tgz#d6908a8916a810468c4edff73b5b75bda6ad393e" - integrity sha512-0MC3ppTB1AMxd8fXjSrbPa7LT9hrImt+/fcj+Pg5YMD7UQyWp/02+JWpdnCymmsXwIx5Z+sYn1bwCn4ZJNvhqQ== +"@babel/plugin-transform-dynamic-import@^7.22.11": + version "7.22.11" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.22.11.tgz#2c7722d2a5c01839eaf31518c6ff96d408e447aa" + integrity sha512-g/21plo58sfteWjaO0ZNVb+uEOkJNjAaHhbejrnBmu011l/eNDScmkbjCC3l4FKb10ViaGU4aOkFznSu2zRHgA== dependencies: "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-syntax-dynamic-import" "^7.8.3" @@ -581,18 +714,18 @@ "@babel/helper-builder-binary-assignment-operator-visitor" "^7.22.5" "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-export-namespace-from@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.22.5.tgz#57c41cb1d0613d22f548fddd8b288eedb9973a5b" - integrity sha512-X4hhm7FRnPgd4nDA4b/5V280xCx6oL7Oob5+9qVS5C13Zq4bh1qq7LU0GgRU6b5dBWBvhGaXYVB4AcN6+ol6vg== +"@babel/plugin-transform-export-namespace-from@^7.22.11": + version "7.22.11" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.22.11.tgz#b3c84c8f19880b6c7440108f8929caf6056db26c" + integrity sha512-xa7aad7q7OiT8oNZ1mU7NrISjlSkVdMbNxn9IuLZyL9AJEhs1Apba3I+u5riX1dIkdptP5EKDG5XDPByWxtehw== dependencies: "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-syntax-export-namespace-from" "^7.8.3" -"@babel/plugin-transform-for-of@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.22.5.tgz#ab1b8a200a8f990137aff9a084f8de4099ab173f" - integrity sha512-3kxQjX1dU9uudwSshyLeEipvrLjBCVthCgeTp6CzE/9JYrlAIaeekVxRpCWsDDfYTfRZRoCeZatCQvwo+wvK8A== +"@babel/plugin-transform-for-of@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.22.15.tgz#f64b4ccc3a4f131a996388fae7680b472b306b29" + integrity sha512-me6VGeHsx30+xh9fbDLLPi0J1HzmeIIyenoOQHuw2D4m2SAU3NrspX5XxJLBpqn5yrLzrlw2Iy3RA//Bx27iOA== dependencies: "@babel/helper-plugin-utils" "^7.22.5" @@ -605,10 +738,10 @@ "@babel/helper-function-name" "^7.22.5" "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-json-strings@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.22.5.tgz#14b64352fdf7e1f737eed68de1a1468bd2a77ec0" - integrity sha512-DuCRB7fu8MyTLbEQd1ew3R85nx/88yMoqo2uPSjevMj3yoN7CDM8jkgrY0wmVxfJZyJ/B9fE1iq7EQppWQmR5A== +"@babel/plugin-transform-json-strings@^7.22.11": + version "7.22.11" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.22.11.tgz#689a34e1eed1928a40954e37f74509f48af67835" + integrity sha512-CxT5tCqpA9/jXFlme9xIBCc5RPtdDq3JpkkhgHQqtDdiTnTI0jtZ0QzXhr5DILeYifDPp2wvY2ad+7+hLMW5Pw== dependencies: "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-syntax-json-strings" "^7.8.3" @@ -620,10 +753,10 @@ dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-logical-assignment-operators@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.22.5.tgz#66ae5f068fd5a9a5dc570df16f56c2a8462a9d6c" - integrity sha512-MQQOUW1KL8X0cDWfbwYP+TbVbZm16QmQXJQ+vndPtH/BoO0lOKpVoEDMI7+PskYxH+IiE0tS8xZye0qr1lGzSA== +"@babel/plugin-transform-logical-assignment-operators@^7.22.11": + version "7.22.11" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.22.11.tgz#24c522a61688bde045b7d9bc3c2597a4d948fc9c" + integrity sha512-qQwRTP4+6xFCDV5k7gZBF3C31K34ut0tbEcTKxlX/0KXxm9GLcO14p570aWxFvVzx6QAfPgq7gaeIHXJC8LswQ== dependencies: "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" @@ -643,22 +776,22 @@ "@babel/helper-module-transforms" "^7.22.5" "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-modules-commonjs@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.22.5.tgz#7d9875908d19b8c0536085af7b053fd5bd651bfa" - integrity sha512-B4pzOXj+ONRmuaQTg05b3y/4DuFz3WcCNAXPLb2Q0GT0TrGKGxNKV4jwsXts+StaM0LQczZbOpj8o1DLPDJIiA== +"@babel/plugin-transform-modules-commonjs@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.22.15.tgz#b11810117ed4ee7691b29bd29fd9f3f98276034f" + integrity sha512-jWL4eh90w0HQOTKP2MoXXUpVxilxsB2Vl4ji69rSjS3EcZ/v4sBmn+A3NpepuJzBhOaEBbR7udonlHHn5DWidg== dependencies: - "@babel/helper-module-transforms" "^7.22.5" + "@babel/helper-module-transforms" "^7.22.15" "@babel/helper-plugin-utils" "^7.22.5" "@babel/helper-simple-access" "^7.22.5" -"@babel/plugin-transform-modules-systemjs@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.22.5.tgz#18c31410b5e579a0092638f95c896c2a98a5d496" - integrity sha512-emtEpoaTMsOs6Tzz+nbmcePl6AKVtS1yC4YNAeMun9U8YCsgadPNxnOPQ8GhHFB2qdx+LZu9LgoC0Lthuu05DQ== +"@babel/plugin-transform-modules-systemjs@^7.22.11": + version "7.22.11" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.22.11.tgz#3386be5875d316493b517207e8f1931d93154bb1" + integrity sha512-rIqHmHoMEOhI3VkVf5jQ15l539KrwhzqcBO6wdCNWPWc/JWt9ILNYNUssbRpeq0qWns8svuw8LnMNCvWBIJ8wA== dependencies: "@babel/helper-hoist-variables" "^7.22.5" - "@babel/helper-module-transforms" "^7.22.5" + "@babel/helper-module-transforms" "^7.22.9" "@babel/helper-plugin-utils" "^7.22.5" "@babel/helper-validator-identifier" "^7.22.5" @@ -685,32 +818,32 @@ dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-nullish-coalescing-operator@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.22.5.tgz#f8872c65776e0b552e0849d7596cddd416c3e381" - integrity sha512-6CF8g6z1dNYZ/VXok5uYkkBBICHZPiGEl7oDnAx2Mt1hlHVHOSIKWJaXHjQJA5VB43KZnXZDIexMchY4y2PGdA== +"@babel/plugin-transform-nullish-coalescing-operator@^7.22.11": + version "7.22.11" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.22.11.tgz#debef6c8ba795f5ac67cd861a81b744c5d38d9fc" + integrity sha512-YZWOw4HxXrotb5xsjMJUDlLgcDXSfO9eCmdl1bgW4+/lAGdkjaEvOnQ4p5WKKdUgSzO39dgPl0pTnfxm0OAXcg== dependencies: "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" -"@babel/plugin-transform-numeric-separator@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.22.5.tgz#57226a2ed9e512b9b446517ab6fa2d17abb83f58" - integrity sha512-NbslED1/6M+sXiwwtcAB/nieypGw02Ejf4KtDeMkCEpP6gWFMX1wI9WKYua+4oBneCCEmulOkRpwywypVZzs/g== +"@babel/plugin-transform-numeric-separator@^7.22.11": + version "7.22.11" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.22.11.tgz#498d77dc45a6c6db74bb829c02a01c1d719cbfbd" + integrity sha512-3dzU4QGPsILdJbASKhF/V2TVP+gJya1PsueQCxIPCEcerqF21oEcrob4mzjsp2Py/1nLfF5m+xYNMDpmA8vffg== dependencies: "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-syntax-numeric-separator" "^7.10.4" -"@babel/plugin-transform-object-rest-spread@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.22.5.tgz#9686dc3447df4753b0b2a2fae7e8bc33cdc1f2e1" - integrity sha512-Kk3lyDmEslH9DnvCDA1s1kkd3YWQITiBOHngOtDL9Pt6BZjzqb6hiOlb8VfjiiQJ2unmegBqZu0rx5RxJb5vmQ== +"@babel/plugin-transform-object-rest-spread@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.22.15.tgz#21a95db166be59b91cde48775310c0df6e1da56f" + integrity sha512-fEB+I1+gAmfAyxZcX1+ZUwLeAuuf8VIg67CTznZE0MqVFumWkh8xWtn58I4dxdVf080wn7gzWoF8vndOViJe9Q== dependencies: - "@babel/compat-data" "^7.22.5" - "@babel/helper-compilation-targets" "^7.22.5" + "@babel/compat-data" "^7.22.9" + "@babel/helper-compilation-targets" "^7.22.15" "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-syntax-object-rest-spread" "^7.8.3" - "@babel/plugin-transform-parameters" "^7.22.5" + "@babel/plugin-transform-parameters" "^7.22.15" "@babel/plugin-transform-object-super@^7.22.5": version "7.22.5" @@ -720,27 +853,27 @@ "@babel/helper-plugin-utils" "^7.22.5" "@babel/helper-replace-supers" "^7.22.5" -"@babel/plugin-transform-optional-catch-binding@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.22.5.tgz#842080be3076703be0eaf32ead6ac8174edee333" - integrity sha512-pH8orJahy+hzZje5b8e2QIlBWQvGpelS76C63Z+jhZKsmzfNaPQ+LaW6dcJ9bxTpo1mtXbgHwy765Ro3jftmUg== +"@babel/plugin-transform-optional-catch-binding@^7.22.11": + version "7.22.11" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.22.11.tgz#461cc4f578a127bb055527b3e77404cad38c08e0" + integrity sha512-rli0WxesXUeCJnMYhzAglEjLWVDF6ahb45HuprcmQuLidBJFWjNnOzssk2kuc6e33FlLaiZhG/kUIzUMWdBKaQ== dependencies: "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" -"@babel/plugin-transform-optional-chaining@^7.22.5", "@babel/plugin-transform-optional-chaining@^7.22.6": - version "7.22.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.22.6.tgz#4bacfe37001fe1901117672875e931d439811564" - integrity sha512-Vd5HiWml0mDVtcLHIoEU5sw6HOUW/Zk0acLs/SAeuLzkGNOPc9DB4nkUajemhCmTIz3eiaKREZn2hQQqF79YTg== +"@babel/plugin-transform-optional-chaining@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.22.15.tgz#d7a5996c2f7ca4ad2ad16dbb74444e5c4385b1ba" + integrity sha512-ngQ2tBhq5vvSJw2Q2Z9i7ealNkpDMU0rGWnHPKqRZO0tzZ5tlaoz4hDvhXioOoaE0X2vfNss1djwg0DXlfu30A== dependencies: "@babel/helper-plugin-utils" "^7.22.5" "@babel/helper-skip-transparent-expression-wrappers" "^7.22.5" "@babel/plugin-syntax-optional-chaining" "^7.8.3" -"@babel/plugin-transform-parameters@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.22.5.tgz#c3542dd3c39b42c8069936e48717a8d179d63a18" - integrity sha512-AVkFUBurORBREOmHRKo06FjHYgjrabpdqRSwq6+C7R5iTCZOsM4QbcB27St0a4U6fffyAOqh3s/qEfybAhfivg== +"@babel/plugin-transform-parameters@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.22.15.tgz#719ca82a01d177af358df64a514d64c2e3edb114" + integrity sha512-hjk7qKIqhyzhhUvRT683TYQOFa/4cQKwQy7ALvTpODswN40MljzNDa0YldevS6tGbxwaEKVn502JmY0dP7qEtQ== dependencies: "@babel/helper-plugin-utils" "^7.22.5" @@ -752,13 +885,13 @@ "@babel/helper-create-class-features-plugin" "^7.22.5" "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-private-property-in-object@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.22.5.tgz#07a77f28cbb251546a43d175a1dda4cf3ef83e32" - integrity sha512-/9xnaTTJcVoBtSSmrVyhtSvO3kbqS2ODoh2juEU72c3aYonNF0OMGiaz2gjukyKM2wBBYJP38S4JiE0Wfb5VMQ== +"@babel/plugin-transform-private-property-in-object@^7.22.11": + version "7.22.11" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.22.11.tgz#ad45c4fc440e9cb84c718ed0906d96cf40f9a4e1" + integrity sha512-sSCbqZDBKHetvjSwpyWzhuHkmW5RummxJBVbYLkGkaiTOWGxml7SXt0iWa03bzxFIx7wOj3g/ILRd0RcJKBeSQ== dependencies: "@babel/helper-annotate-as-pure" "^7.22.5" - "@babel/helper-create-class-features-plugin" "^7.22.5" + "@babel/helper-create-class-features-plugin" "^7.22.11" "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-syntax-private-property-in-object" "^7.14.5" @@ -769,13 +902,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-regenerator@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.22.5.tgz#cd8a68b228a5f75fa01420e8cc2fc400f0fc32aa" - integrity sha512-rR7KePOE7gfEtNTh9Qw+iO3Q/e4DEsoQ+hdvM6QUDH7JRJ5qxq5AA52ZzBWbI5i9lfNuvySgOGP8ZN7LAmaiPw== +"@babel/plugin-transform-regenerator@^7.22.10": + version "7.22.10" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.22.10.tgz#8ceef3bd7375c4db7652878b0241b2be5d0c3cca" + integrity sha512-F28b1mDt8KcT5bUyJc/U9nwzw6cV+UmTeRlXYIl2TNqMMJif0Jeey9/RQ3C4NOd2zp0/TRsDns9ttj2L523rsw== dependencies: "@babel/helper-plugin-utils" "^7.22.5" - regenerator-transform "^0.15.1" + regenerator-transform "^0.15.2" "@babel/plugin-transform-reserved-words@^7.22.5": version "7.22.5" @@ -820,20 +953,20 @@ dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-typescript@^7.22.5": - version "7.22.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.22.9.tgz#91e08ad1eb1028ecc62662a842e93ecfbf3c7234" - integrity sha512-BnVR1CpKiuD0iobHPaM1iLvcwPYN2uVFAqoLVSpEDKWuOikoCv5HbKLxclhKYUXlWkX86DoZGtqI4XhbOsyrMg== +"@babel/plugin-transform-typescript@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.22.15.tgz#15adef906451d86349eb4b8764865c960eb54127" + integrity sha512-1uirS0TnijxvQLnlv5wQBwOX3E1wCFX7ITv+9pBV2wKEk4K+M5tqDaoNXnTH8tjEIYHLO98MwiTWO04Ggz4XuA== dependencies: "@babel/helper-annotate-as-pure" "^7.22.5" - "@babel/helper-create-class-features-plugin" "^7.22.9" + "@babel/helper-create-class-features-plugin" "^7.22.15" "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-syntax-typescript" "^7.22.5" -"@babel/plugin-transform-unicode-escapes@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.22.5.tgz#ce0c248522b1cb22c7c992d88301a5ead70e806c" - integrity sha512-biEmVg1IYB/raUO5wT1tgfacCef15Fbzhkx493D3urBI++6hpJ+RFG4SrWMn0NEZLfvilqKf3QDrRVZHo08FYg== +"@babel/plugin-transform-unicode-escapes@^7.22.10": + version "7.22.10" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.22.10.tgz#c723f380f40a2b2f57a62df24c9005834c8616d9" + integrity sha512-lRfaRKGZCBqDlRU3UIFovdp9c9mEvlylmpod0/OatICsSfuQ9YFthRo1tpTkGsklEefZdqlEFdY4A2dwTb6ohg== dependencies: "@babel/helper-plugin-utils" "^7.22.5" @@ -861,17 +994,17 @@ "@babel/helper-create-regexp-features-plugin" "^7.22.5" "@babel/helper-plugin-utils" "^7.22.5" -"@babel/preset-env@^7.22.7": - version "7.22.9" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.22.9.tgz#57f17108eb5dfd4c5c25a44c1977eba1df310ac7" - integrity sha512-wNi5H/Emkhll/bqPjsjQorSykrlfY5OWakd6AulLvMEytpKasMVUpVy8RL4qBIBs5Ac6/5i0/Rv0b/Fg6Eag/g== +"@babel/preset-env@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.22.15.tgz#142716f8e00bc030dae5b2ac6a46fbd8b3e18ff8" + integrity sha512-tZFHr54GBkHk6hQuVA8w4Fmq+MSPsfvMG0vPnOYyTnJpyfMqybL8/MbNCPRT9zc2KBO2pe4tq15g6Uno4Jpoag== dependencies: "@babel/compat-data" "^7.22.9" - "@babel/helper-compilation-targets" "^7.22.9" + "@babel/helper-compilation-targets" "^7.22.15" "@babel/helper-plugin-utils" "^7.22.5" - "@babel/helper-validator-option" "^7.22.5" - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.22.5" - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.22.5" + "@babel/helper-validator-option" "^7.22.15" + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.22.15" + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.22.15" "@babel/plugin-proposal-private-property-in-object" "7.21.0-placeholder-for-preset-env.2" "@babel/plugin-syntax-async-generators" "^7.8.4" "@babel/plugin-syntax-class-properties" "^7.12.13" @@ -892,87 +1025,85 @@ "@babel/plugin-syntax-top-level-await" "^7.14.5" "@babel/plugin-syntax-unicode-sets-regex" "^7.18.6" "@babel/plugin-transform-arrow-functions" "^7.22.5" - "@babel/plugin-transform-async-generator-functions" "^7.22.7" + "@babel/plugin-transform-async-generator-functions" "^7.22.15" "@babel/plugin-transform-async-to-generator" "^7.22.5" "@babel/plugin-transform-block-scoped-functions" "^7.22.5" - "@babel/plugin-transform-block-scoping" "^7.22.5" + "@babel/plugin-transform-block-scoping" "^7.22.15" "@babel/plugin-transform-class-properties" "^7.22.5" - "@babel/plugin-transform-class-static-block" "^7.22.5" - "@babel/plugin-transform-classes" "^7.22.6" + "@babel/plugin-transform-class-static-block" "^7.22.11" + "@babel/plugin-transform-classes" "^7.22.15" "@babel/plugin-transform-computed-properties" "^7.22.5" - "@babel/plugin-transform-destructuring" "^7.22.5" + "@babel/plugin-transform-destructuring" "^7.22.15" "@babel/plugin-transform-dotall-regex" "^7.22.5" "@babel/plugin-transform-duplicate-keys" "^7.22.5" - "@babel/plugin-transform-dynamic-import" "^7.22.5" + "@babel/plugin-transform-dynamic-import" "^7.22.11" "@babel/plugin-transform-exponentiation-operator" "^7.22.5" - "@babel/plugin-transform-export-namespace-from" "^7.22.5" - "@babel/plugin-transform-for-of" "^7.22.5" + "@babel/plugin-transform-export-namespace-from" "^7.22.11" + "@babel/plugin-transform-for-of" "^7.22.15" "@babel/plugin-transform-function-name" "^7.22.5" - "@babel/plugin-transform-json-strings" "^7.22.5" + "@babel/plugin-transform-json-strings" "^7.22.11" "@babel/plugin-transform-literals" "^7.22.5" - "@babel/plugin-transform-logical-assignment-operators" "^7.22.5" + "@babel/plugin-transform-logical-assignment-operators" "^7.22.11" "@babel/plugin-transform-member-expression-literals" "^7.22.5" "@babel/plugin-transform-modules-amd" "^7.22.5" - "@babel/plugin-transform-modules-commonjs" "^7.22.5" - "@babel/plugin-transform-modules-systemjs" "^7.22.5" + "@babel/plugin-transform-modules-commonjs" "^7.22.15" + "@babel/plugin-transform-modules-systemjs" "^7.22.11" "@babel/plugin-transform-modules-umd" "^7.22.5" "@babel/plugin-transform-named-capturing-groups-regex" "^7.22.5" "@babel/plugin-transform-new-target" "^7.22.5" - "@babel/plugin-transform-nullish-coalescing-operator" "^7.22.5" - "@babel/plugin-transform-numeric-separator" "^7.22.5" - "@babel/plugin-transform-object-rest-spread" "^7.22.5" + "@babel/plugin-transform-nullish-coalescing-operator" "^7.22.11" + "@babel/plugin-transform-numeric-separator" "^7.22.11" + "@babel/plugin-transform-object-rest-spread" "^7.22.15" "@babel/plugin-transform-object-super" "^7.22.5" - "@babel/plugin-transform-optional-catch-binding" "^7.22.5" - "@babel/plugin-transform-optional-chaining" "^7.22.6" - "@babel/plugin-transform-parameters" "^7.22.5" + "@babel/plugin-transform-optional-catch-binding" "^7.22.11" + "@babel/plugin-transform-optional-chaining" "^7.22.15" + "@babel/plugin-transform-parameters" "^7.22.15" "@babel/plugin-transform-private-methods" "^7.22.5" - "@babel/plugin-transform-private-property-in-object" "^7.22.5" + "@babel/plugin-transform-private-property-in-object" "^7.22.11" "@babel/plugin-transform-property-literals" "^7.22.5" - "@babel/plugin-transform-regenerator" "^7.22.5" + "@babel/plugin-transform-regenerator" "^7.22.10" "@babel/plugin-transform-reserved-words" "^7.22.5" "@babel/plugin-transform-shorthand-properties" "^7.22.5" "@babel/plugin-transform-spread" "^7.22.5" "@babel/plugin-transform-sticky-regex" "^7.22.5" "@babel/plugin-transform-template-literals" "^7.22.5" "@babel/plugin-transform-typeof-symbol" "^7.22.5" - "@babel/plugin-transform-unicode-escapes" "^7.22.5" + "@babel/plugin-transform-unicode-escapes" "^7.22.10" "@babel/plugin-transform-unicode-property-regex" "^7.22.5" "@babel/plugin-transform-unicode-regex" "^7.22.5" "@babel/plugin-transform-unicode-sets-regex" "^7.22.5" - "@babel/preset-modules" "^0.1.5" - "@babel/types" "^7.22.5" - babel-plugin-polyfill-corejs2 "^0.4.4" - babel-plugin-polyfill-corejs3 "^0.8.2" - babel-plugin-polyfill-regenerator "^0.5.1" + "@babel/preset-modules" "0.1.6-no-external-plugins" + "@babel/types" "^7.22.15" + babel-plugin-polyfill-corejs2 "^0.4.5" + babel-plugin-polyfill-corejs3 "^0.8.3" + babel-plugin-polyfill-regenerator "^0.5.2" core-js-compat "^3.31.0" semver "^6.3.1" -"@babel/preset-modules@^0.1.5": - version "0.1.5" - resolved "https://registry.yarnpkg.com/@babel/preset-modules/-/preset-modules-0.1.5.tgz#ef939d6e7f268827e1841638dc6ff95515e115d9" - integrity sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA== +"@babel/preset-modules@0.1.6-no-external-plugins": + version "0.1.6-no-external-plugins" + resolved "https://registry.yarnpkg.com/@babel/preset-modules/-/preset-modules-0.1.6-no-external-plugins.tgz#ccb88a2c49c817236861fee7826080573b8a923a" + integrity sha512-HrcgcIESLm9aIR842yhJ5RWan/gebQUJ6E/E5+rf0y9o6oj7w0Br+sWuL6kEQ/o/AdfvR1Je9jG18/gnpwjEyA== dependencies: "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-proposal-unicode-property-regex" "^7.4.4" - "@babel/plugin-transform-dotall-regex" "^7.4.4" "@babel/types" "^7.4.4" esutils "^2.0.2" -"@babel/preset-typescript@^7.21.4": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.22.5.tgz#16367d8b01d640e9a507577ed4ee54e0101e51c8" - integrity sha512-YbPaal9LxztSGhmndR46FmAbkJ/1fAsw293tSU+I5E5h+cnJ3d4GTwyUgGYmOXJYdGA+uNePle4qbaRzj2NISQ== +"@babel/preset-typescript@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.22.15.tgz#43db30516fae1d417d748105a0bc95f637239d48" + integrity sha512-HblhNmh6yM+cU4VwbBRpxFhxsTdfS1zsvH9W+gEjD0ARV9+8B4sNfpI6GuhePti84nuvhiwKS539jKPFHskA9A== dependencies: "@babel/helper-plugin-utils" "^7.22.5" - "@babel/helper-validator-option" "^7.22.5" + "@babel/helper-validator-option" "^7.22.15" "@babel/plugin-syntax-jsx" "^7.22.5" - "@babel/plugin-transform-modules-commonjs" "^7.22.5" - "@babel/plugin-transform-typescript" "^7.22.5" + "@babel/plugin-transform-modules-commonjs" "^7.22.15" + "@babel/plugin-transform-typescript" "^7.22.15" -"@babel/register@^7.21.0": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/register/-/register-7.22.5.tgz#e4d8d0f615ea3233a27b5c6ada6750ee59559939" - integrity sha512-vV6pm/4CijSQ8Y47RH5SopXzursN35RQINfGJkmOlcpAtGuf94miFvIPhCKGQN7WGIcsgG1BHEX2KVdTYwTwUQ== +"@babel/register@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/register/-/register-7.22.15.tgz#c2c294a361d59f5fa7bcc8b97ef7319c32ecaec7" + integrity sha512-V3Q3EqoQdn65RCgTLwauZaTfd1ShhwPmbBv+1dkZV/HpCGMKVyn6oFcRlI7RaKqiDQjX2Qd3AuoEguBgdjIKlg== dependencies: clone-deep "^4.0.1" find-cache-dir "^2.0.0" @@ -992,6 +1123,15 @@ dependencies: regenerator-runtime "^0.13.11" +"@babel/template@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.22.15.tgz#09576efc3830f0430f4548ef971dde1350ef2f38" + integrity sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w== + dependencies: + "@babel/code-frame" "^7.22.13" + "@babel/parser" "^7.22.15" + "@babel/types" "^7.22.15" + "@babel/template@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.22.5.tgz#0c8c4d944509875849bd0344ff0050756eefc6ec" @@ -1001,6 +1141,22 @@ "@babel/parser" "^7.22.5" "@babel/types" "^7.22.5" +"@babel/traverse@^7.22.15", "@babel/traverse@^7.22.19": + version "7.22.19" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.22.19.tgz#bb2b12b7de9d7fec9e812ed89eea097b941954f8" + integrity sha512-ZCcpVPK64krfdScRbpxF6xA5fz7IOsfMwx1tcACvCzt6JY+0aHkBk7eIU8FRDSZRU5Zei6Z4JfgAxN1bqXGECg== + dependencies: + "@babel/code-frame" "^7.22.13" + "@babel/generator" "^7.22.15" + "@babel/helper-environment-visitor" "^7.22.5" + "@babel/helper-function-name" "^7.22.5" + "@babel/helper-hoist-variables" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + "@babel/parser" "^7.22.16" + "@babel/types" "^7.22.19" + debug "^4.1.0" + globals "^11.1.0" + "@babel/traverse@^7.22.6", "@babel/traverse@^7.22.8": version "7.22.8" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.22.8.tgz#4d4451d31bc34efeae01eac222b514a77aa4000e" @@ -1017,6 +1173,15 @@ debug "^4.1.0" globals "^11.1.0" +"@babel/types@^7.22.15", "@babel/types@^7.22.17", "@babel/types@^7.22.19": + version "7.22.19" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.22.19.tgz#7425343253556916e440e662bb221a93ddb75684" + integrity sha512-P7LAw/LbojPzkgp5oznjE6tQEIWbp4PkkfrZDINTro9zgBRtI324/EYsiSI7lhPbpIQ+DCeR2NNmMWANGGfZsg== + dependencies: + "@babel/helper-string-parser" "^7.22.5" + "@babel/helper-validator-identifier" "^7.22.19" + to-fast-properties "^2.0.0" + "@babel/types@^7.22.5", "@babel/types@^7.4.4": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.22.5.tgz#cd93eeaab025880a3a47ec881f4b096a5b786fbe" @@ -1038,27 +1203,27 @@ dependencies: "@jridgewell/trace-mapping" "0.3.9" -"@definitelytyped/dts-critic@^0.0.163": - version "0.0.163" - resolved "https://registry.yarnpkg.com/@definitelytyped/dts-critic/-/dts-critic-0.0.163.tgz#51750eddefd781daf481f8e4d4d277b7bd51fc87" - integrity sha512-HsTvylj8x2gQaawsOCcN2Xk2Cx0wgV9kaj83hgsO9SITZSPd7dA0UkHyNRadbMkMwqNDKcnizcmWdz0+0gIo8A== +"@definitelytyped/dts-critic@^0.0.178": + version "0.0.178" + resolved "https://registry.yarnpkg.com/@definitelytyped/dts-critic/-/dts-critic-0.0.178.tgz#79e82ef35615b1534da979eb925a6130e1977d94" + integrity sha512-1JiY6giD2qLYxDPSWPbZiICzmTX+cHBNMXf09SeY6CJX0kZPcAkX+Uhc64HSqlhutECRWy7SdQCp/NP3xVOt4Q== dependencies: - "@definitelytyped/header-parser" "^0.0.163" + "@definitelytyped/header-parser" "^0.0.178" command-exists "^1.2.8" rimraf "^3.0.2" - semver "^6.2.0" + semver "^7.5.2" tmp "^0.2.1" yargs "^15.3.1" -"@definitelytyped/dtslint@^0.0.163": - version "0.0.163" - resolved "https://registry.yarnpkg.com/@definitelytyped/dtslint/-/dtslint-0.0.163.tgz#d31f7c01f2f829d69ab0b3c46801d5547860236d" - integrity sha512-U0uw7Zu0QdYSuBMYgxvRYjkhkeulTEg8vDgJ7TiYQUv/wODeujSAmGahQn51E5hOlSMYUw7A9utdbUukxE02SQ== +"@definitelytyped/dtslint@^0.0.178": + version "0.0.178" + resolved "https://registry.yarnpkg.com/@definitelytyped/dtslint/-/dtslint-0.0.178.tgz#9e76093ed0913d3b0e78fefb834d2e3d86bb6246" + integrity sha512-IK4IqJSIY6wS+8Tg0hIuwAltPs0ZIWibMd3CSurQ8E1gNvuXaR48xjsjFVh2R8pxGrIR75mJ5o6H1GjxFZwK1A== dependencies: - "@definitelytyped/dts-critic" "^0.0.163" - "@definitelytyped/header-parser" "^0.0.163" - "@definitelytyped/typescript-versions" "^0.0.163" - "@definitelytyped/utils" "^0.0.163" + "@definitelytyped/dts-critic" "^0.0.178" + "@definitelytyped/header-parser" "^0.0.178" + "@definitelytyped/typescript-versions" "^0.0.178" + "@definitelytyped/utils" "^0.0.178" "@typescript-eslint/eslint-plugin" "^5.55.0" "@typescript-eslint/parser" "^5.55.0" "@typescript-eslint/types" "^5.56.0" @@ -1071,26 +1236,26 @@ tslint "5.14.0" yargs "^15.1.0" -"@definitelytyped/header-parser@^0.0.163": - version "0.0.163" - resolved "https://registry.yarnpkg.com/@definitelytyped/header-parser/-/header-parser-0.0.163.tgz#fdf5589a048e89b2a2adbd33d5d3d78ecd2a2ec6" - integrity sha512-Jr+/q+ESfc7uWldz/j11BfpjIN/gB4WmwhFENhWaMwM0W/9p0ShF+OiUqGhk2Q3Iz8v/oyWzSsxyxgasg9kCxQ== +"@definitelytyped/header-parser@^0.0.178": + version "0.0.178" + resolved "https://registry.yarnpkg.com/@definitelytyped/header-parser/-/header-parser-0.0.178.tgz#2cfd170a33b014d686135673fa7fac837cfe5556" + integrity sha512-16FFuaWW2Hq+a0Abyt+9gvPAT0w/ezy4eph3RbtLSqxH3T/UHDla1jgnp1DMvfNeBWaIqHxcr+Vrr7BPquw7mw== dependencies: - "@definitelytyped/typescript-versions" "^0.0.163" + "@definitelytyped/typescript-versions" "^0.0.178" "@types/parsimmon" "^1.10.1" parsimmon "^1.13.0" -"@definitelytyped/typescript-versions@^0.0.163": - version "0.0.163" - resolved "https://registry.yarnpkg.com/@definitelytyped/typescript-versions/-/typescript-versions-0.0.163.tgz#b3e018057a0437740102850de2c093c8cddd9e6f" - integrity sha512-+GWtJhC+7UaCUnJ+ZkA7bfGuPd6ZbJKEjbHqh76/gOXsqAUOMEa49ufsLlIPUbkEeQlnDNoTHCegE5X/Q+u+/A== +"@definitelytyped/typescript-versions@^0.0.178": + version "0.0.178" + resolved "https://registry.yarnpkg.com/@definitelytyped/typescript-versions/-/typescript-versions-0.0.178.tgz#98a92f2251f18b32122e808b968ca8e009d3b123" + integrity sha512-pPXy3z5gE4xnVgqIRApFcQ6M6kqtRK1gnqyGx/I0Yo1CH8RAsRvumCDB/KiZmQDpCHiy//E9dOIUFdquvC5t7g== -"@definitelytyped/utils@^0.0.163": - version "0.0.163" - resolved "https://registry.yarnpkg.com/@definitelytyped/utils/-/utils-0.0.163.tgz#1fb26bf5cf22a00c16924fcb115fe76a46817972" - integrity sha512-6MX5TxaQbG/j2RkCWbcbLvv+YNipKqY0eQJafDhwC/RprUocpg+uYVNlH8XzdKRWOGJ0pq7SZOsJD4C3A01ZXg== +"@definitelytyped/utils@^0.0.178": + version "0.0.178" + resolved "https://registry.yarnpkg.com/@definitelytyped/utils/-/utils-0.0.178.tgz#f403be41816690246a4e0244d125a0084b16462a" + integrity sha512-nYg3E51XpTodS0/5w5r1wM/DhPYhyqa9BP8ili4XgB5s9j4v4mDPX9Jwjns2q24derBvyhdUpzshKDh43aqwZw== dependencies: - "@definitelytyped/typescript-versions" "^0.0.163" + "@definitelytyped/typescript-versions" "^0.0.178" "@qiwi/npm-registry-client" "^8.9.1" "@types/node" "^14.14.35" charm "^1.0.2" @@ -1116,6 +1281,11 @@ resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.5.1.tgz#cdd35dce4fa1a89a4fd42b1599eb35b3af408884" integrity sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ== +"@eslint-community/regexpp@^4.6.1": + version "4.8.1" + resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.8.1.tgz#8c4bb756cc2aa7eaf13cfa5e69c83afb3260c20c" + integrity sha512-PWiOzLIUAjN/w5K17PoF4n6sKBw0gqLHPhywmYHP4t1VFQQVYeb1yWsJwnMVEMl3tUHME7X/SJPZLmtG7XBDxQ== + "@eslint/eslintrc@^2.1.0": version "2.1.0" resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.0.tgz#82256f164cc9e0b59669efc19d57f8092706841d" @@ -1131,11 +1301,31 @@ minimatch "^3.1.2" strip-json-comments "^3.1.1" +"@eslint/eslintrc@^2.1.2": + version "2.1.2" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.2.tgz#c6936b4b328c64496692f76944e755738be62396" + integrity sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g== + dependencies: + ajv "^6.12.4" + debug "^4.3.2" + espree "^9.6.0" + globals "^13.19.0" + ignore "^5.2.0" + import-fresh "^3.2.1" + js-yaml "^4.1.0" + minimatch "^3.1.2" + strip-json-comments "^3.1.1" + "@eslint/js@8.44.0": version "8.44.0" resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.44.0.tgz#961a5903c74139390478bdc808bcde3fc45ab7af" integrity sha512-Ag+9YM4ocKQx9AarydN0KY2j0ErMHNIocPDrVo8zAE44xLTjEtz81OdR68/cydGtk6m6jDb5Za3r2useMzYmSw== +"@eslint/js@8.49.0": + version "8.49.0" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.49.0.tgz#86f79756004a97fa4df866835093f1df3d03c333" + integrity sha512-1S8uAY/MTJqVx0SC4epBq+N2yhuwtNwLbJYNZyhL2pO1ZVKn5HFXav5T41Ryzy9K9V7ZId2JB2oy/W4aCd9/2w== + "@humanwhocodes/config-array@^0.11.10": version "0.11.10" resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.10.tgz#5a3ffe32cc9306365fb3fd572596cd602d5e12d2" @@ -1145,6 +1335,15 @@ debug "^4.1.1" minimatch "^3.0.5" +"@humanwhocodes/config-array@^0.11.11": + version "0.11.11" + resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.11.tgz#88a04c570dbbc7dd943e4712429c3df09bc32844" + integrity sha512-N2brEuAadi0CcdeMXUkhbZB84eskAc8MEX1By6qEchoVywSgXPIjou4rYsl0V3Hj0ZnuGycGCjdNgockbzeWNA== + dependencies: + "@humanwhocodes/object-schema" "^1.2.1" + debug "^4.1.1" + minimatch "^3.0.5" + "@humanwhocodes/module-importer@^1.0.1": version "1.0.1" resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c" @@ -1272,11 +1471,6 @@ dependencies: eslint-scope "5.1.1" -"@nicolo-ribaudo/semver-v6@^6.3.3": - version "6.3.3" - resolved "https://registry.yarnpkg.com/@nicolo-ribaudo/semver-v6/-/semver-v6-6.3.3.tgz#ea6d23ade78a325f7a52750aab1526b02b628c29" - integrity sha512-3Yc1fUTs69MG/uZbJlLSI3JISMn2UV2rg+1D/vROUqZyh3l6iYHCs7GMp+M40ZD7yOdDbYjJcU1oTJhrc+dGKg== - "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" @@ -1298,6 +1492,18 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" +"@pkgr/utils@^2.3.1": + version "2.4.2" + resolved "https://registry.yarnpkg.com/@pkgr/utils/-/utils-2.4.2.tgz#9e638bbe9a6a6f165580dc943f138fd3309a2cbc" + integrity sha512-POgTXhjrTfbTV63DiFXav4lBHiICLKKwDeaKn9Nphwj7WH6m0hMMCaJkMyRWjgtPFyRKRVoMXXjczsTQRDEhYw== + dependencies: + cross-spawn "^7.0.3" + fast-glob "^3.3.0" + is-glob "^4.0.3" + open "^9.1.0" + picocolors "^1.0.0" + tslib "^2.6.0" + "@qiwi/npm-registry-client@^8.9.1": version "8.9.1" resolved "https://registry.yarnpkg.com/@qiwi/npm-registry-client/-/npm-registry-client-8.9.1.tgz#1769f6501a436ec39c496ca0a9a2fab9db7718df" @@ -1474,10 +1680,10 @@ resolved "https://registry.yarnpkg.com/@types/linkify-it/-/linkify-it-3.0.2.tgz#fd2cd2edbaa7eaac7e7f3c1748b52a19143846c9" integrity sha512-HZQYqbiFVWufzCwexrvh694SOim8z2d+xJl5UNamcvQFejLY/2YUtzXHYi3cHdI7PMlS8ejH2slRAOJQ32aNbA== -"@types/lodash@^4.14.192": - version "4.14.195" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.195.tgz#bafc975b252eb6cea78882ce8a7b6bf22a6de632" - integrity sha512-Hwx9EUgdwf2GLarOjQp5ZH8ZmblzcbTBC2wtQWNKARBSxM9ezRIAUpeDTgoQRAFB0+8CNWXVA9+MaSOzOF3nPg== +"@types/lodash@^4.14.198": + version "4.14.198" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.198.tgz#4d27465257011aedc741a809f1269941fa2c5d4c" + integrity sha512-trNJ/vtMZYMLhfN45uLq4ShQSw0/S7xCTLLVM+WM1rmFpba/VS42jVUgaO3w/NOLiWR/09lnYk0yMaA/atdIsg== "@types/markdown-it@^12.2.3": version "12.2.3" @@ -1492,7 +1698,7 @@ resolved "https://registry.yarnpkg.com/@types/mdurl/-/mdurl-1.0.2.tgz#e2ce9d83a613bacf284c7be7d491945e39e1f8e9" integrity sha512-eC4U9MlIcu2q0KQmXszyn5Akca/0jrQmwDRgpAMJai7qBWq4amIQhZyNau4VYGtCeALvW1/NtjzJJ567aZxfKA== -"@types/node@*", "@types/node@>=10.0.0", "@types/node@^20.4.1": +"@types/node@*", "@types/node@>=10.0.0": version "20.4.1" resolved "https://registry.yarnpkg.com/@types/node/-/node-20.4.1.tgz#a6033a8718653c50ac4962977e14d0f984d9527d" integrity sha512-JIzsAvJeA/5iY6Y/OxZbv1lUcc8dNSE77lb2gnBH+/PJ3lFR1Ccvgwl5JWnHAkNHcRsT0TbpVOsiMKZ1F/yyJg== @@ -1502,6 +1708,11 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-14.18.53.tgz#42855629b8773535ab868238718745bf56c56219" integrity sha512-soGmOpVBUq+gaBMwom1M+krC/NNbWlosh4AtGA03SyWNDiqSKtwp7OulO1M6+mg8YkHMvJ/y0AkCeO8d1hNb7A== +"@types/node@^20.6.1": + version "20.6.1" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.6.1.tgz#8b589bba9b2af0128796461a0979764562687e6f" + integrity sha512-4LcJvuXQlv4lTHnxwyHQZ3uR9Zw2j7m1C9DfuwoTFQQP4Pmu04O6IfLYgMmHoOCt0nosItLLZAH+sOrRE0Bo8g== + "@types/parsimmon@^1.10.1": version "1.10.6" resolved "https://registry.yarnpkg.com/@types/parsimmon/-/parsimmon-1.10.6.tgz#8fcf95990514d2a7624aa5f630c13bf2427f9cdd" @@ -1527,10 +1738,10 @@ "@types/cookiejar" "*" "@types/node" "*" -"@types/urijs@^1.19.6": - version "1.19.19" - resolved "https://registry.yarnpkg.com/@types/urijs/-/urijs-1.19.19.tgz#2789369799907fc11e2bc6e3a00f6478c2281b95" - integrity sha512-FDJNkyhmKLw7uEvTxx5tSXfPeQpO0iy73Ry+PmYZJvQy0QIWX8a7kJ4kLWRf+EbTPJEPDSgPXHaM7pzr5lmvCg== +"@types/urijs@^1.19.20": + version "1.19.20" + resolved "https://registry.yarnpkg.com/@types/urijs/-/urijs-1.19.20.tgz#7ea4254f4c2cdbd7d34e47d483e76fa1b81e19a4" + integrity sha512-77Mq/2BeHU894J364dUv9tSwxxyCLtcX228Pc8TwZpP5bvOoMns+gZoftp3LYl3FBH8vChpWbuagKGiMki2c1A== "@types/yargs-parser@*": version "21.0.0" @@ -1560,7 +1771,7 @@ semver "^7.3.7" tsutils "^3.21.0" -"@typescript-eslint/parser@^5.55.0", "@typescript-eslint/parser@^5.59.7": +"@typescript-eslint/parser@^5.55.0": version "5.62.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.62.0.tgz#1b63d082d849a2fcae8a569248fbe2ee1b8a56c7" integrity sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA== @@ -1570,6 +1781,17 @@ "@typescript-eslint/typescript-estree" "5.62.0" debug "^4.3.4" +"@typescript-eslint/parser@^6.7.0": + version "6.7.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-6.7.0.tgz#332fe9c7ecf6783d3250b4c8a960bd4af0995807" + integrity sha512-jZKYwqNpNm5kzPVP5z1JXAuxjtl2uG+5NpaMocFPTNC2EdYIgbXIPImObOkhbONxtFTTdoZstLZefbaK+wXZng== + dependencies: + "@typescript-eslint/scope-manager" "6.7.0" + "@typescript-eslint/types" "6.7.0" + "@typescript-eslint/typescript-estree" "6.7.0" + "@typescript-eslint/visitor-keys" "6.7.0" + debug "^4.3.4" + "@typescript-eslint/scope-manager@5.62.0": version "5.62.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz#d9457ccc6a0b8d6b37d0eb252a23022478c5460c" @@ -1578,6 +1800,14 @@ "@typescript-eslint/types" "5.62.0" "@typescript-eslint/visitor-keys" "5.62.0" +"@typescript-eslint/scope-manager@6.7.0": + version "6.7.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.7.0.tgz#6b3c22187976e2bf5ed0dc0d9095f1f2cbd1d106" + integrity sha512-lAT1Uau20lQyjoLUQ5FUMSX/dS07qux9rYd5FGzKz/Kf8W8ccuvMyldb8hadHdK/qOI7aikvQWqulnEq2nCEYA== + dependencies: + "@typescript-eslint/types" "6.7.0" + "@typescript-eslint/visitor-keys" "6.7.0" + "@typescript-eslint/type-utils@5.62.0": version "5.62.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.62.0.tgz#286f0389c41681376cdad96b309cedd17d70346a" @@ -1593,6 +1823,11 @@ resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.62.0.tgz#258607e60effa309f067608931c3df6fed41fd2f" integrity sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ== +"@typescript-eslint/types@6.7.0": + version "6.7.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.7.0.tgz#8de8ba9cafadc38e89003fe303e219c9250089ae" + integrity sha512-ihPfvOp7pOcN/ysoj0RpBPOx3HQTJTrIN8UZK+WFd3/iDeFHHqeyYxa4hQk4rMhsz9H9mXpR61IzwlBVGXtl9Q== + "@typescript-eslint/typescript-estree@5.62.0", "@typescript-eslint/typescript-estree@^5.55.0": version "5.62.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz#7d17794b77fabcac615d6a48fb143330d962eb9b" @@ -1606,6 +1841,19 @@ semver "^7.3.7" tsutils "^3.21.0" +"@typescript-eslint/typescript-estree@6.7.0": + version "6.7.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.7.0.tgz#20ce2801733bd46f02cc0f141f5b63fbbf2afb63" + integrity sha512-dPvkXj3n6e9yd/0LfojNU8VMUGHWiLuBZvbM6V6QYD+2qxqInE7J+J/ieY2iGwR9ivf/R/haWGkIj04WVUeiSQ== + dependencies: + "@typescript-eslint/types" "6.7.0" + "@typescript-eslint/visitor-keys" "6.7.0" + debug "^4.3.4" + globby "^11.1.0" + is-glob "^4.0.3" + semver "^7.5.4" + ts-api-utils "^1.0.1" + "@typescript-eslint/utils@5.62.0", "@typescript-eslint/utils@^5.55.0": version "5.62.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.62.0.tgz#141e809c71636e4a75daa39faed2fb5f4b10df86" @@ -1628,6 +1876,14 @@ "@typescript-eslint/types" "5.62.0" eslint-visitor-keys "^3.3.0" +"@typescript-eslint/visitor-keys@6.7.0": + version "6.7.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.7.0.tgz#34140ac76dfb6316d17012e4469acf3366ad3f44" + integrity sha512-/C1RVgKFDmGMcVGeD8HjKv2bd72oI1KxQDeY8uc66gw9R0OK0eMq48cA+jv9/2Ag6cdrsUGySm1yzYmfz0hxwQ== + dependencies: + "@typescript-eslint/types" "6.7.0" + eslint-visitor-keys "^3.4.1" + "@webassemblyjs/ast@1.11.6", "@webassemblyjs/ast@^1.11.5": version "1.11.6" resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.11.6.tgz#db046555d3c413f8966ca50a95176a0e2c642e24" @@ -1861,12 +2117,12 @@ ansi-colors@4.1.1: resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348" integrity sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA== -ansi-escapes@^4.3.0: - version "4.3.2" - resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e" - integrity sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ== +ansi-escapes@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-5.0.0.tgz#b6a0caf0eef0c41af190e9a749e0c00ec04bb2a6" + integrity sha512-5GFMVX8HqE/TB+FuBJGuO5XG0WrsA6ptUqoODaT/n9mmUaZFkqnBueB4leqGBCmrUHnCnC4PCZTCd0E7QQ83bA== dependencies: - type-fest "^0.21.3" + type-fest "^1.0.2" ansi-regex@^2.0.0: version "2.1.1" @@ -1902,7 +2158,7 @@ ansi-styles@^4.0.0, ansi-styles@^4.1.0: dependencies: color-convert "^2.0.1" -ansi-styles@^6.0.0: +ansi-styles@^6.0.0, ansi-styles@^6.1.0: version "6.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5" integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug== @@ -1981,6 +2237,17 @@ array-union@^2.1.0: resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== +array.prototype.findlastindex@^1.2.2: + version "1.2.3" + resolved "https://registry.yarnpkg.com/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.3.tgz#b37598438f97b579166940814e2c0493a4f50207" + integrity sha512-LzLoiOMAxvy+Gd3BAq3B7VeIgPdo+Q8hthvKtXybMvRV0jrXfJM/t8mw7nNlpEcVlVUnCnM2KSX4XU5HmpodOA== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + es-shim-unscopables "^1.0.0" + get-intrinsic "^1.2.1" + array.prototype.flat@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz#ffc6576a7ca3efc2f46a143b9d1dda9b4b3cf5e2" @@ -2001,6 +2268,19 @@ array.prototype.flatmap@^1.3.1: es-abstract "^1.20.4" es-shim-unscopables "^1.0.0" +arraybuffer.prototype.slice@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.2.tgz#98bd561953e3e74bb34938e77647179dfe6e9f12" + integrity sha512-yMBKppFur/fbHu9/6USUe03bZ4knMYiwFBcyiaXB8Go0qNehwX6inYPzK9U0NeQvGxKthcmHcaR8P5MStSRBAw== + dependencies: + array-buffer-byte-length "^1.0.0" + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + get-intrinsic "^1.2.1" + is-array-buffer "^3.0.2" + is-shared-array-buffer "^1.0.2" + asap@^2.0.0: version "2.0.6" resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" @@ -2043,11 +2323,6 @@ assertion-error@^1.1.0: resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.1.0.tgz#e60b6b0e8f301bd97e5375215bda406c85118c0b" integrity sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw== -astral-regex@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-2.0.0.tgz#483143c567aeed4785759c0865786dc77d7d2e31" - integrity sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ== - asynckit@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" @@ -2068,18 +2343,18 @@ aws4@^1.8.0: resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.12.0.tgz#ce1c9d143389679e253b314241ea9aa5cec980d3" integrity sha512-NmWvPnx0F1SfrQbYwOi7OeaNGokp9XhzNioJ/CSBs8Qa4vxug81mhJEAVZwxXuBmYB5KDRfMq/F3RR0BIU7sWg== -axios-mock-adapter@^1.21.5: - version "1.21.5" - resolved "https://registry.yarnpkg.com/axios-mock-adapter/-/axios-mock-adapter-1.21.5.tgz#dd85081717a759f88509c20515082dc09c1cedd7" - integrity sha512-5NI1V/VK+8+JeTF8niqOowuysA4b8mGzdlMN/QnTnoXbYh4HZSNiopsDclN2g/m85+G++IrEtUdZaQ3GnaMsSA== +axios-mock-adapter@^1.22.0: + version "1.22.0" + resolved "https://registry.yarnpkg.com/axios-mock-adapter/-/axios-mock-adapter-1.22.0.tgz#0f3e6be0fc9b55baab06f2d49c0b71157e7c053d" + integrity sha512-dmI0KbkyAhntUR05YY96qg2H6gg0XMl2+qTW0xmYg6Up+BFBAJYRLROMXRdDEL06/Wqwa0TJThAYvFtSFdRCZw== dependencies: fast-deep-equal "^3.1.3" is-buffer "^2.0.5" -axios@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/axios/-/axios-1.4.0.tgz#38a7bf1224cd308de271146038b551d725f0be1f" - integrity sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA== +axios@^1.5.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/axios/-/axios-1.5.0.tgz#f02e4af823e2e46a9768cfc74691fdd0517ea267" + integrity sha512-D4DdjDo5CY50Qms0qGQTTw6Q44jl7zRwY7bthds06pUGfChBCTcQs+N743eFWGEd6pRTMd6A+I87aWyFV5wiZQ== dependencies: follow-redirects "^1.15.0" form-data "^4.0.0" @@ -2113,29 +2388,29 @@ babel-plugin-istanbul@^6.1.1: istanbul-lib-instrument "^5.0.4" test-exclude "^6.0.0" -babel-plugin-polyfill-corejs2@^0.4.4: - version "0.4.4" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.4.tgz#9f9a0e1cd9d645cc246a5e094db5c3aa913ccd2b" - integrity sha512-9WeK9snM1BfxB38goUEv2FLnA6ja07UMfazFHzCXUb3NyDZAwfXvQiURQ6guTTMeHcOsdknULm1PDhs4uWtKyA== +babel-plugin-polyfill-corejs2@^0.4.5: + version "0.4.5" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.5.tgz#8097b4cb4af5b64a1d11332b6fb72ef5e64a054c" + integrity sha512-19hwUH5FKl49JEsvyTcoHakh6BE0wgXLLptIyKZ3PijHc/Ci521wygORCUCCred+E/twuqRyAkE02BAWPmsHOg== dependencies: "@babel/compat-data" "^7.22.6" - "@babel/helper-define-polyfill-provider" "^0.4.1" - "@nicolo-ribaudo/semver-v6" "^6.3.3" + "@babel/helper-define-polyfill-provider" "^0.4.2" + semver "^6.3.1" -babel-plugin-polyfill-corejs3@^0.8.2: - version "0.8.2" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.8.2.tgz#d406c5738d298cd9c66f64a94cf8d5904ce4cc5e" - integrity sha512-Cid+Jv1BrY9ReW9lIfNlNpsI53N+FN7gE+f73zLAUbr9C52W4gKLWSByx47pfDJsEysojKArqOtOKZSVIIUTuQ== +babel-plugin-polyfill-corejs3@^0.8.3: + version "0.8.3" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.8.3.tgz#b4f719d0ad9bb8e0c23e3e630c0c8ec6dd7a1c52" + integrity sha512-z41XaniZL26WLrvjy7soabMXrfPWARN25PZoriDEiLMxAp50AUW3t35BGQUMg5xK3UrpVTtagIDklxYa+MhiNA== dependencies: - "@babel/helper-define-polyfill-provider" "^0.4.1" + "@babel/helper-define-polyfill-provider" "^0.4.2" core-js-compat "^3.31.0" -babel-plugin-polyfill-regenerator@^0.5.1: - version "0.5.1" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.5.1.tgz#ace7a5eced6dff7d5060c335c52064778216afd3" - integrity sha512-L8OyySuI6OSQ5hFy9O+7zFjyr4WhAfRjLIOkhQGYl+emwJkd/S4XXT1JpfrgR1jrQ1NcGiOh+yAdGlF8pnC3Jw== +babel-plugin-polyfill-regenerator@^0.5.2: + version "0.5.2" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.5.2.tgz#80d0f3e1098c080c8b5a65f41e9427af692dc326" + integrity sha512-tAlOptU0Xj34V1Y2PNTL4Y0FOJMDB6bZmoW39FeCQIhigGLkqu3Fj6uiXpxIf6Ij274ENdYx64y6Au+ZKlb1IA== dependencies: - "@babel/helper-define-polyfill-provider" "^0.4.1" + "@babel/helper-define-polyfill-provider" "^0.4.2" balanced-match@^1.0.0: version "1.0.2" @@ -2164,10 +2439,15 @@ bcrypt-pbkdf@^1.0.0: dependencies: tweetnacl "^0.14.3" -bignumber.js@^9.1.1: - version "9.1.1" - resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.1.tgz#c4df7dc496bd849d4c9464344c1aa74228b4dac6" - integrity sha512-pHm4LsMJ6lzgNGVfZHjMoO8sdoRhOzOH4MLmY65Jg70bpxCKu5iOHNJyfF6OyvYw7t8Fpf35RuzUyqnQsj8Vig== +big-integer@^1.6.44: + version "1.6.51" + resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" + integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== + +bignumber.js@^9.1.2: + version "9.1.2" + resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.2.tgz#b7c4242259c008903b13707983b5f4bbd31eda0c" + integrity sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug== binary-extensions@^2.0.0: version "2.2.0" @@ -2216,6 +2496,13 @@ body-parser@^1.19.0: type-is "~1.6.18" unpipe "1.0.0" +bplist-parser@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/bplist-parser/-/bplist-parser-0.2.0.tgz#43a9d183e5bf9d545200ceac3e712f79ebbe8d0e" + integrity sha512-z0M+byMThzQmD9NILRniCUXYsYpjwnlO8N5uCFaCqIOpqRsJCrQL9NK3JsD67CN5a08nF5oIL2bD6loTdHOuKw== + dependencies: + big-integer "^1.6.44" + brace-expansion@^1.1.7: version "1.1.11" resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" @@ -2360,6 +2647,13 @@ builtins@^1.0.3: resolved "https://registry.yarnpkg.com/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88" integrity sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ== +bundle-name@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/bundle-name/-/bundle-name-3.0.0.tgz#ba59bcc9ac785fb67ccdbf104a2bf60c099f0e1a" + integrity sha512-PKA4BeSvBpQKQ8iPOGCSiell+N8P+Tf1DlwqmYhpe2gAhKPHn8EYOxVT+ShuGmhg8lN8XiSlS80yiExKXrURlw== + dependencies: + run-applescript "^5.0.0" + bytes@3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" @@ -2436,10 +2730,10 @@ chai-http@^4.3.0: qs "^6.11.2" superagent "^8.0.9" -chai@^4.3.7: - version "4.3.7" - resolved "https://registry.yarnpkg.com/chai/-/chai-4.3.7.tgz#ec63f6df01829088e8bf55fca839bcd464a8ec51" - integrity sha512-HLnAzZ2iupm25PlN0xFreAlBA5zaBSv3og0DdeGA4Ar6h6rJ3A0rolRUKJhSF2V10GZKDgWF/VmAEsNWjCRB+A== +chai@^4.3.8: + version "4.3.8" + resolved "https://registry.yarnpkg.com/chai/-/chai-4.3.8.tgz#40c59718ad6928da6629c70496fe990b2bb5b17c" + integrity sha512-vX4YvVVtxlfSZ2VecZgFUTU5qPCYsobVI2O9FmwEXBhDigYGQA6jRXCycIs1yJnnWbZ6/+a2zNIF5DfVCcJBFQ== dependencies: assertion-error "^1.1.0" check-error "^1.0.2" @@ -2449,10 +2743,10 @@ chai@^4.3.7: pathval "^1.1.1" type-detect "^4.0.5" -chalk@5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.2.0.tgz#249623b7d66869c673699fb66d65723e54dfcfb3" - integrity sha512-ree3Gqw/nazQAPuJJEy+avdl7QfZMcUvmHIKgEZkGL+xOBzRvup5Hxo6LHuMceSxOabuJLJm5Yp/92R9eMmMvA== +chalk@5.3.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.3.0.tgz#67c20a7ebef70e7f3970a01f90fa210cb6860385" + integrity sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w== chalk@^1.1.3: version "1.1.3" @@ -2465,7 +2759,7 @@ chalk@^1.1.3: strip-ansi "^3.0.0" supports-color "^2.0.0" -chalk@^2.0.0, chalk@^2.3.0: +chalk@^2.0.0, chalk@^2.3.0, chalk@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -2542,20 +2836,12 @@ clean-stack@^2.0.0: resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== -cli-cursor@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" - integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== - dependencies: - restore-cursor "^3.1.0" - -cli-truncate@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/cli-truncate/-/cli-truncate-2.1.0.tgz#c39e28bf05edcde5be3b98992a22deed5a2b93c7" - integrity sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg== +cli-cursor@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-4.0.0.tgz#3cecfe3734bf4fe02a8361cbdc0f6fe28c6a57ea" + integrity sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg== dependencies: - slice-ansi "^3.0.0" - string-width "^4.2.0" + restore-cursor "^4.0.0" cli-truncate@^3.1.0: version "3.1.0" @@ -2621,7 +2907,7 @@ color-name@~1.1.4: resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== -colorette@^2.0.14, colorette@^2.0.19: +colorette@^2.0.14, colorette@^2.0.20: version "2.0.20" resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.20.tgz#9eb793e6833067f7235902fcd3b09917a000a95a" integrity sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w== @@ -2643,6 +2929,11 @@ command-exists@^1.2.8: resolved "https://registry.yarnpkg.com/command-exists/-/command-exists-1.2.9.tgz#c50725af3808c8ab0260fd60b01fbfa25b954f69" integrity sha512-LTQ/SGc+s0Xc0Fu5WaKnR0YiygZkm9eKFvyS+fRsU7/ZWFF8ykFM6Pc9aCVf1+xasOOZpO3BAVgVrKvsqKHV7w== +commander@11.0.0: + version "11.0.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-11.0.0.tgz#43e19c25dbedc8256203538e8d7e9346877a6f67" + integrity sha512-9HMlXtt/BNoYr8ooyjjNRdIilOTkVJXB+GhxMTtOKwk0R4j4lS4NpjuqmRxroBfnfTSHQIHQB7wryHhXarNjmQ== + commander@2.9.0: version "2.9.0" resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4" @@ -2650,7 +2941,7 @@ commander@2.9.0: dependencies: graceful-readlink ">= 1.0.0" -commander@^10.0.0, commander@^10.0.1: +commander@^10.0.1: version "10.0.1" resolved "https://registry.yarnpkg.com/commander/-/commander-10.0.1.tgz#881ee46b4f77d1c1dccc5823433aa39b022cbe06" integrity sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug== @@ -2904,6 +3195,24 @@ deep-is@^0.1.3: resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== +default-browser-id@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/default-browser-id/-/default-browser-id-3.0.0.tgz#bee7bbbef1f4e75d31f98f4d3f1556a14cea790c" + integrity sha512-OZ1y3y0SqSICtE8DE4S8YOE9UZOJ8wO16fKWVP5J1Qz42kV9jcnMVFrEE/noXb/ss3Q4pZIH79kxofzyNNtUNA== + dependencies: + bplist-parser "^0.2.0" + untildify "^4.0.0" + +default-browser@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/default-browser/-/default-browser-4.0.0.tgz#53c9894f8810bf86696de117a6ce9085a3cbc7da" + integrity sha512-wX5pXO1+BrhMkSbROFsyxUm0i/cJEScyNhA4PPxc41ICuv05ZZB/MX28s8aZx6xjmatvebIapF6hLEKEcpneUA== + dependencies: + bundle-name "^3.0.0" + default-browser-id "^3.0.0" + execa "^7.1.1" + titleize "^3.0.0" + default-require-extensions@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/default-require-extensions/-/default-require-extensions-3.0.1.tgz#bfae00feeaeada68c2ae256c62540f60b80625bd" @@ -2911,6 +3220,20 @@ default-require-extensions@^3.0.0: dependencies: strip-bom "^4.0.0" +define-data-property@^1.0.1: + version "1.1.0" + resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.0.tgz#0db13540704e1d8d479a0656cf781267531b9451" + integrity sha512-UzGwzcjyv3OtAvolTj1GoyNYzfFR+iqbGjcnBEENZVCpM4/Ng1yhGNvS3lR/xDS74Tb2wGG9WzNSNIOS9UVb2g== + dependencies: + get-intrinsic "^1.2.1" + gopd "^1.0.1" + has-property-descriptors "^1.0.0" + +define-lazy-prop@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz#dbb19adfb746d7fc6d734a06b72f4a00d021255f" + integrity sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg== + define-properties@^1.1.3, define-properties@^1.1.4, define-properties@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.2.0.tgz#52988570670c9eacedd8064f4a990f2405849bd5" @@ -3167,6 +3490,51 @@ es-abstract@^1.19.0, es-abstract@^1.20.4: unbox-primitive "^1.0.2" which-typed-array "^1.1.9" +es-abstract@^1.22.1: + version "1.22.2" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.22.2.tgz#90f7282d91d0ad577f505e423e52d4c1d93c1b8a" + integrity sha512-YoxfFcDmhjOgWPWsV13+2RNjq1F6UQnfs+8TftwNqtzlmFzEXvlUwdrNrYeaizfjQzRMxkZ6ElWMOJIFKdVqwA== + dependencies: + array-buffer-byte-length "^1.0.0" + arraybuffer.prototype.slice "^1.0.2" + available-typed-arrays "^1.0.5" + call-bind "^1.0.2" + es-set-tostringtag "^2.0.1" + es-to-primitive "^1.2.1" + function.prototype.name "^1.1.6" + get-intrinsic "^1.2.1" + get-symbol-description "^1.0.0" + globalthis "^1.0.3" + gopd "^1.0.1" + has "^1.0.3" + has-property-descriptors "^1.0.0" + has-proto "^1.0.1" + has-symbols "^1.0.3" + internal-slot "^1.0.5" + is-array-buffer "^3.0.2" + is-callable "^1.2.7" + is-negative-zero "^2.0.2" + is-regex "^1.1.4" + is-shared-array-buffer "^1.0.2" + is-string "^1.0.7" + is-typed-array "^1.1.12" + is-weakref "^1.0.2" + object-inspect "^1.12.3" + object-keys "^1.1.1" + object.assign "^4.1.4" + regexp.prototype.flags "^1.5.1" + safe-array-concat "^1.0.1" + safe-regex-test "^1.0.0" + string.prototype.trim "^1.2.8" + string.prototype.trimend "^1.0.7" + string.prototype.trimstart "^1.0.7" + typed-array-buffer "^1.0.0" + typed-array-byte-length "^1.0.0" + typed-array-byte-offset "^1.0.0" + typed-array-length "^1.0.4" + unbox-primitive "^1.0.2" + which-typed-array "^1.1.11" + es-module-lexer@^1.2.1: version "1.3.0" resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.3.0.tgz#6be9c9e0b4543a60cd166ff6f8b4e9dae0b0c16f" @@ -3242,10 +3610,10 @@ eslint-config-airbnb-base@^15.0.0: object.entries "^1.1.5" semver "^6.3.0" -eslint-config-prettier@^8.8.0: - version "8.8.0" - resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.8.0.tgz#bfda738d412adc917fd7b038857110efe98c9348" - integrity sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA== +eslint-config-prettier@^9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-9.0.0.tgz#eb25485946dd0c66cd216a46232dc05451518d1f" + integrity sha512-IcJsTkJae2S35pRsRAwoCE+925rJJStOdkKnLVgtE+tEpqU0EVVM7OqrwxqgptKdX29NUwC82I5pXsGFIgSevw== eslint-import-resolver-node@^0.3.7: version "0.3.7" @@ -3256,7 +3624,7 @@ eslint-import-resolver-node@^0.3.7: is-core-module "^2.11.0" resolve "^1.22.1" -eslint-module-utils@^2.7.4: +eslint-module-utils@^2.8.0: version "2.8.0" resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.8.0.tgz#e439fee65fc33f6bba630ff621efc38ec0375c49" integrity sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw== @@ -3271,26 +3639,28 @@ eslint-plugin-es@^3.0.0: eslint-utils "^2.0.0" regexpp "^3.0.0" -eslint-plugin-import@^2.25.2: - version "2.27.5" - resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.27.5.tgz#876a6d03f52608a3e5bb439c2550588e51dd6c65" - integrity sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow== +eslint-plugin-import@^2.28.1: + version "2.28.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.28.1.tgz#63b8b5b3c409bfc75ebaf8fb206b07ab435482c4" + integrity sha512-9I9hFlITvOV55alzoKBI+K9q74kv0iKMeY6av5+umsNwayt59fz692daGyjR+oStBQgx6nwR9rXldDev3Clw+A== dependencies: array-includes "^3.1.6" + array.prototype.findlastindex "^1.2.2" array.prototype.flat "^1.3.1" array.prototype.flatmap "^1.3.1" debug "^3.2.7" doctrine "^2.1.0" eslint-import-resolver-node "^0.3.7" - eslint-module-utils "^2.7.4" + eslint-module-utils "^2.8.0" has "^1.0.3" - is-core-module "^2.11.0" + is-core-module "^2.13.0" is-glob "^4.0.3" minimatch "^3.1.2" + object.fromentries "^2.0.6" + object.groupby "^1.0.0" object.values "^1.1.6" - resolve "^1.22.1" - semver "^6.3.0" - tsconfig-paths "^3.14.1" + semver "^6.3.1" + tsconfig-paths "^3.14.2" eslint-plugin-node@^11.1.0: version "11.1.0" @@ -3309,12 +3679,13 @@ eslint-plugin-prefer-import@^0.0.1: resolved "https://registry.yarnpkg.com/eslint-plugin-prefer-import/-/eslint-plugin-prefer-import-0.0.1.tgz#0df4e117da29109ef561d355ec19f41df0ada6f6" integrity sha512-2OKD3Bjgqkn0BvEGRwpEDhjXPSXvT3CXmWIrIavwafOkQE8FLTvFybEBT9dm7P0kHnjlNGv1AfNsL/i/GNDNHA== -eslint-plugin-prettier@^4.2.1: - version "4.2.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz#651cbb88b1dab98bfd42f017a12fa6b2d993f94b" - integrity sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ== +eslint-plugin-prettier@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-5.0.0.tgz#6887780ed95f7708340ec79acfdf60c35b9be57a" + integrity sha512-AgaZCVuYDXHUGxj/ZGu1u8H8CYgDY3iG6w5kUFw4AzMVXzB7VvbKgYR4nATIN+OvUrghMbiDLeimVjVY5ilq3w== dependencies: prettier-linter-helpers "^1.0.0" + synckit "^0.8.5" eslint-rule-composer@^0.3.0: version "0.3.0" @@ -3337,6 +3708,14 @@ eslint-scope@^7.2.0: esrecurse "^4.3.0" estraverse "^5.2.0" +eslint-scope@^7.2.2: + version "7.2.2" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.2.2.tgz#deb4f92563390f32006894af62a22dba1c46423f" + integrity sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg== + dependencies: + esrecurse "^4.3.0" + estraverse "^5.2.0" + eslint-utils@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-2.1.0.tgz#d2de5e03424e707dc10c74068ddedae708741b27" @@ -3359,6 +3738,11 @@ eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz#c22c48f48942d08ca824cc526211ae400478a994" integrity sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA== +eslint-visitor-keys@^3.4.3: + version "3.4.3" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800" + integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== + eslint-webpack-plugin@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/eslint-webpack-plugin/-/eslint-webpack-plugin-4.0.1.tgz#f0f0e9afff2801d8bd41eac88e5409821ecbaccb" @@ -3370,7 +3754,7 @@ eslint-webpack-plugin@^4.0.1: normalize-path "^3.0.0" schema-utils "^4.0.0" -eslint@^8.17.0, eslint@^8.44.0: +eslint@^8.17.0: version "8.44.0" resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.44.0.tgz#51246e3889b259bbcd1d7d736a0c10add4f0e500" integrity sha512-0wpHoUbDUHgNCyvFB5aXLiQVfK9B0at6gUvzy83k4kAsQ/u769TQDX6iKC+aO4upIHO9WSaA3QoXYQDHbNwf1A== @@ -3415,6 +3799,49 @@ eslint@^8.17.0, eslint@^8.44.0: strip-json-comments "^3.1.0" text-table "^0.2.0" +eslint@^8.49.0: + version "8.49.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.49.0.tgz#09d80a89bdb4edee2efcf6964623af1054bf6d42" + integrity sha512-jw03ENfm6VJI0jA9U+8H5zfl5b+FvuU3YYvZRdZHOlU2ggJkxrlkJH4HcDrZpj6YwD8kuYqvQM8LyesoazrSOQ== + dependencies: + "@eslint-community/eslint-utils" "^4.2.0" + "@eslint-community/regexpp" "^4.6.1" + "@eslint/eslintrc" "^2.1.2" + "@eslint/js" "8.49.0" + "@humanwhocodes/config-array" "^0.11.11" + "@humanwhocodes/module-importer" "^1.0.1" + "@nodelib/fs.walk" "^1.2.8" + ajv "^6.12.4" + chalk "^4.0.0" + cross-spawn "^7.0.2" + debug "^4.3.2" + doctrine "^3.0.0" + escape-string-regexp "^4.0.0" + eslint-scope "^7.2.2" + eslint-visitor-keys "^3.4.3" + espree "^9.6.1" + esquery "^1.4.2" + esutils "^2.0.2" + fast-deep-equal "^3.1.3" + file-entry-cache "^6.0.1" + find-up "^5.0.0" + glob-parent "^6.0.2" + globals "^13.19.0" + graphemer "^1.4.0" + ignore "^5.2.0" + imurmurhash "^0.1.4" + is-glob "^4.0.0" + is-path-inside "^3.0.3" + js-yaml "^4.1.0" + json-stable-stringify-without-jsonify "^1.0.1" + levn "^0.4.1" + lodash.merge "^4.6.2" + minimatch "^3.1.2" + natural-compare "^1.4.0" + optionator "^0.9.3" + strip-ansi "^6.0.1" + text-table "^0.2.0" + espree@^9.6.0: version "9.6.0" resolved "https://registry.yarnpkg.com/espree/-/espree-9.6.0.tgz#80869754b1c6560f32e3b6929194a3fe07c5b82f" @@ -3424,6 +3851,15 @@ espree@^9.6.0: acorn-jsx "^5.3.2" eslint-visitor-keys "^3.4.1" +espree@^9.6.1: + version "9.6.1" + resolved "https://registry.yarnpkg.com/espree/-/espree-9.6.1.tgz#a2a17b8e434690a5432f2f8018ce71d331a48c6f" + integrity sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ== + dependencies: + acorn "^8.9.0" + acorn-jsx "^5.3.2" + eslint-visitor-keys "^3.4.1" + esprima@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" @@ -3468,6 +3904,11 @@ eventemitter3@^4.0.0: resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== +eventemitter3@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-5.0.1.tgz#53f5ffd0a492ac800721bb42c66b841de96423c4" + integrity sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA== + events@^3.2.0, events@^3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" @@ -3486,10 +3927,10 @@ evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: md5.js "^1.3.4" safe-buffer "^5.1.1" -execa@^7.0.0: - version "7.1.1" - resolved "https://registry.yarnpkg.com/execa/-/execa-7.1.1.tgz#3eb3c83d239488e7b409d48e8813b76bb55c9c43" - integrity sha512-wH0eMf/UXckdUYnO21+HDztteVv05rq2GXksxT4fCGeHkBhw1DROXh40wcjMcRqDOWE7iPJ4n3M7e2+YFP+76Q== +execa@7.2.0, execa@^7.1.1: + version "7.2.0" + resolved "https://registry.yarnpkg.com/execa/-/execa-7.2.0.tgz#657e75ba984f42a70f38928cedc87d6f2d4fe4e9" + integrity sha512-UduyVP7TLB5IcAQl+OzLyLcS/l32W/GLg+AhHJ+ow40FOk2U3SAllPwR44v4vmdFwIWqpdwxxpQbF1n5ta9seA== dependencies: cross-spawn "^7.0.3" get-stream "^6.0.1" @@ -3501,6 +3942,21 @@ execa@^7.0.0: signal-exit "^3.0.7" strip-final-newline "^3.0.0" +execa@^5.0.0: + version "5.1.1" + resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" + integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== + dependencies: + cross-spawn "^7.0.3" + get-stream "^6.0.0" + human-signals "^2.1.0" + is-stream "^2.0.0" + merge-stream "^2.0.0" + npm-run-path "^4.0.1" + onetime "^5.1.2" + signal-exit "^3.0.3" + strip-final-newline "^2.0.0" + extend@^3.0.0, extend@~3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" @@ -3537,6 +3993,17 @@ fast-glob@^3.2.9: merge2 "^1.3.0" micromatch "^4.0.4" +fast-glob@^3.3.0: + version "3.3.1" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.1.tgz#784b4e897340f3dbbef17413b3f11acf03c874c4" + integrity sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.2" + merge2 "^1.3.0" + micromatch "^4.0.4" + fast-json-stable-stringify@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" @@ -3807,6 +4274,16 @@ function.prototype.name@^1.1.5: es-abstract "^1.19.0" functions-have-names "^1.2.2" +function.prototype.name@^1.1.6: + version "1.1.6" + resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.6.tgz#cdf315b7d90ee77a4c6ee216c3c3362da07533fd" + integrity sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + functions-have-names "^1.2.3" + functions-have-names@^1.2.2, functions-have-names@^1.2.3: version "1.2.3" resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834" @@ -3841,7 +4318,7 @@ get-func-name@^2.0.0: resolved "https://registry.yarnpkg.com/get-func-name/-/get-func-name-2.0.0.tgz#ead774abee72e20409433a066366023dd6887a41" integrity sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig== -get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3, get-intrinsic@^1.2.0: +get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3, get-intrinsic@^1.2.0, get-intrinsic@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.1.tgz#d295644fed4505fc9cde952c37ee12b477a83d82" integrity sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw== @@ -3856,7 +4333,7 @@ get-package-type@^0.1.0: resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a" integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== -get-stream@^6.0.1: +get-stream@^6.0.0, get-stream@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== @@ -4145,6 +4622,11 @@ https-browserify@^1.0.0: resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73" integrity sha512-J+FkSdyD+0mA0N+81tMotaRMfSL9SGi+xpD3T6YApKsc3bGSXJlfXri3VyFOeYkfLRQisDk1W+jIFFKBeUBbBg== +human-signals@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" + integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== + human-signals@^4.3.0: version "4.3.1" resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-4.3.1.tgz#ab7f811e851fca97ffbd2c1fe9a958964de321b2" @@ -4286,6 +4768,13 @@ is-core-module@^2.11.0, is-core-module@^2.5.0: dependencies: has "^1.0.3" +is-core-module@^2.13.0: + version "2.13.0" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.13.0.tgz#bb52aa6e2cbd49a30c2ba68c42bf3435ba6072db" + integrity sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ== + dependencies: + has "^1.0.3" + is-date-object@^1.0.1: version "1.0.5" resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.5.tgz#0841d5536e724c25597bf6ea62e1bd38298df31f" @@ -4298,6 +4787,11 @@ is-docker@^2.0.0: resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa" integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ== +is-docker@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-3.0.0.tgz#90093aa3106277d8a77a5910dbae71747e15a200" + integrity sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ== + is-extglob@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" @@ -4334,6 +4828,13 @@ is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1: dependencies: is-extglob "^2.1.1" +is-inside-container@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-inside-container/-/is-inside-container-1.0.0.tgz#e81fba699662eb31dbdaf26766a61d4814717ea4" + integrity sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA== + dependencies: + is-docker "^3.0.0" + is-ip@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/is-ip/-/is-ip-2.0.0.tgz#68eea07e8a0a0a94c2d080dd674c731ab2a461ab" @@ -4433,6 +4934,13 @@ is-typed-array@^1.1.10, is-typed-array@^1.1.3, is-typed-array@^1.1.9: gopd "^1.0.1" has-tostringtag "^1.0.0" +is-typed-array@^1.1.12: + version "1.1.12" + resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.12.tgz#d0bab5686ef4a76f7a73097b95470ab199c57d4a" + integrity sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg== + dependencies: + which-typed-array "^1.1.11" + is-typedarray@^1.0.0, is-typedarray@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" @@ -4467,6 +4975,11 @@ isarray@0.0.1: resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" integrity sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ== +isarray@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.5.tgz#8af1e4c1221244cc62459faf38940d4e644a5723" + integrity sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw== + isarray@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" @@ -4604,10 +5117,10 @@ js-tokens@^4.0.0: resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== -js-xdr@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/js-xdr/-/js-xdr-2.0.0.tgz#ef24ea27369ab60217c001fd0e27301f6981ba0a" - integrity sha512-4mctWHR47ejNcfpE8/Xl3l2wYqO1Qy09d1pveZRmarUz2BcuU/M8grzadxV6PoN/X0ywOb6cy6117qYUWkfeBA== +js-xdr@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/js-xdr/-/js-xdr-3.0.0.tgz#fb74275de0ed3cec61269721140a576edf6fca7e" + integrity sha512-tSt6UKJ2L7t+yaQURGkHo9kop9qnVbChTlCu62zNiDbDZQoZb/YjUj2iFJ3lgelhfg9p5bhO2o/QX+g36TPsSQ== js-yaml@4.1.0, js-yaml@^4.1.0: version "4.1.0" @@ -4711,7 +5224,7 @@ json5@^1.0.2: dependencies: minimist "^1.2.0" -json5@^2.2.2: +json5@^2.2.2, json5@^2.2.3: version "2.2.3" resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== @@ -4858,38 +5371,33 @@ linkify-it@^3.0.1: dependencies: uc.micro "^1.0.1" -lint-staged@^13.2.3: - version "13.2.3" - resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-13.2.3.tgz#f899aad6c093473467e9c9e316e3c2d8a28f87a7" - integrity sha512-zVVEXLuQIhr1Y7R7YAWx4TZLdvuzk7DnmrsTNL0fax6Z3jrpFcas+vKbzxhhvp6TA55m1SQuWkpzI1qbfDZbAg== +lint-staged@^14.0.1: + version "14.0.1" + resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-14.0.1.tgz#57dfa3013a3d60762d9af5d9c83bdb51291a6232" + integrity sha512-Mw0cL6HXnHN1ag0mN/Dg4g6sr8uf8sn98w2Oc1ECtFto9tvRF7nkXGJRbx8gPlHyoR0pLyBr2lQHbWwmUHe1Sw== dependencies: - chalk "5.2.0" - cli-truncate "^3.1.0" - commander "^10.0.0" - debug "^4.3.4" - execa "^7.0.0" + chalk "5.3.0" + commander "11.0.0" + debug "4.3.4" + execa "7.2.0" lilconfig "2.1.0" - listr2 "^5.0.7" - micromatch "^4.0.5" - normalize-path "^3.0.0" - object-inspect "^1.12.3" - pidtree "^0.6.0" - string-argv "^0.3.1" - yaml "^2.2.2" + listr2 "6.6.1" + micromatch "4.0.5" + pidtree "0.6.0" + string-argv "0.3.2" + yaml "2.3.1" -listr2@^5.0.7: - version "5.0.8" - resolved "https://registry.yarnpkg.com/listr2/-/listr2-5.0.8.tgz#a9379ffeb4bd83a68931a65fb223a11510d6ba23" - integrity sha512-mC73LitKHj9w6v30nLNGPetZIlfpUniNSsxxrbaPcWOjDb92SHPzJPi/t+v1YC/lxKz/AJ9egOjww0qUuFxBpA== +listr2@6.6.1: + version "6.6.1" + resolved "https://registry.yarnpkg.com/listr2/-/listr2-6.6.1.tgz#08b2329e7e8ba6298481464937099f4a2cd7f95d" + integrity sha512-+rAXGHh0fkEWdXBmX+L6mmfmXmXvDGEKzkjxO+8mP3+nI/r/CWznVBvsibXdxda9Zz0OW2e2ikphN3OwCT/jSg== dependencies: - cli-truncate "^2.1.0" - colorette "^2.0.19" - log-update "^4.0.0" - p-map "^4.0.0" + cli-truncate "^3.1.0" + colorette "^2.0.20" + eventemitter3 "^5.0.1" + log-update "^5.0.1" rfdc "^1.3.0" - rxjs "^7.8.0" - through "^2.3.8" - wrap-ansi "^7.0.0" + wrap-ansi "^8.1.0" loader-runner@^4.2.0: version "4.3.0" @@ -4975,15 +5483,16 @@ log-symbols@4.1.0: chalk "^4.1.0" is-unicode-supported "^0.1.0" -log-update@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/log-update/-/log-update-4.0.0.tgz#589ecd352471f2a1c0c570287543a64dfd20e0a1" - integrity sha512-9fkkDevMefjg0mmzWFBW8YkFP91OrizzkW3diF7CpG+S2EYdy4+TVfGwz1zeF8x7hCx1ovSPTOE9Ngib74qqUg== +log-update@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/log-update/-/log-update-5.0.1.tgz#9e928bf70cb183c1f0c9e91d9e6b7115d597ce09" + integrity sha512-5UtUDQ/6edw4ofyljDNcOVJQ4c7OjDro4h3y8e1GQL5iYElYclVHJ3zeWchylvMaKnDbDilC8irOVyexnA/Slw== dependencies: - ansi-escapes "^4.3.0" - cli-cursor "^3.1.0" - slice-ansi "^4.0.0" - wrap-ansi "^6.2.0" + ansi-escapes "^5.0.0" + cli-cursor "^4.0.0" + slice-ansi "^5.0.0" + strip-ansi "^7.0.1" + wrap-ansi "^8.0.1" log4js@^6.4.1: version "6.9.1" @@ -5097,7 +5606,7 @@ methods@^1.1.2: resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" integrity sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w== -micromatch@^4.0.4, micromatch@^4.0.5: +micromatch@4.0.5, micromatch@^4.0.4, micromatch@^4.0.5: version "4.0.5" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== @@ -5356,6 +5865,13 @@ normalize-path@^3.0.0, normalize-path@~3.0.0: semver "^7.3.4" validate-npm-package-name "^3.0.0" +npm-run-path@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" + integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== + dependencies: + path-key "^3.0.0" + npm-run-path@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-5.1.0.tgz#bc62f7f3f6952d9894bd08944ba011a6ee7b7e00" @@ -5458,6 +5974,25 @@ object.entries@^1.1.5: define-properties "^1.1.4" es-abstract "^1.20.4" +object.fromentries@^2.0.6: + version "2.0.7" + resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.7.tgz#71e95f441e9a0ea6baf682ecaaf37fa2a8d7e616" + integrity sha512-UPbPHML6sL8PI/mOqPwsH4G6iyXcCGzLin8KvEPenOZN5lpCNBZZQ+V62vdjB1mQHrmqGQt5/OJzemUA+KJmEA== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + +object.groupby@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/object.groupby/-/object.groupby-1.0.1.tgz#d41d9f3c8d6c778d9cbac86b4ee9f5af103152ee" + integrity sha512-HqaQtqLnp/8Bn4GL16cj+CUYbnpe1bh0TtEaWvybszDG4tgxCJuRpV8VGuvNaI1fAnI4lUJzDG55MXcOH4JZcQ== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + get-intrinsic "^1.2.1" + object.values@^1.1.6: version "1.1.6" resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.6.tgz#4abbaa71eba47d63589d402856f908243eea9b1d" @@ -5488,7 +6023,7 @@ once@^1.3.0, once@^1.4.0: dependencies: wrappy "1" -onetime@^5.1.0: +onetime@^5.1.0, onetime@^5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== @@ -5502,6 +6037,16 @@ onetime@^6.0.0: dependencies: mimic-fn "^4.0.0" +open@^9.1.0: + version "9.1.0" + resolved "https://registry.yarnpkg.com/open/-/open-9.1.0.tgz#684934359c90ad25742f5a26151970ff8c6c80b6" + integrity sha512-OS+QTnw1/4vrf+9hh1jc1jnYjzSG4ttTBB8UxOwAnInG3Uo4ssetzC1ihqaIHjLJnA5GGlRl6QlZXOTQhRBUvg== + dependencies: + default-browser "^4.0.0" + define-lazy-prop "^3.0.0" + is-inside-container "^1.0.0" + is-wsl "^2.2.0" + opt-cli@1.5.1: version "1.5.1" resolved "https://registry.yarnpkg.com/opt-cli/-/opt-cli-1.5.1.tgz#04db447b13c96b992eb31685266f4ed0d9736dc2" @@ -5585,13 +6130,6 @@ p-map@^3.0.0: dependencies: aggregate-error "^3.0.0" -p-map@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b" - integrity sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ== - dependencies: - aggregate-error "^3.0.0" - p-try@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" @@ -5665,7 +6203,7 @@ path-is-absolute@^1.0.0: resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== -path-key@^3.1.0: +path-key@^3.0.0, path-key@^3.1.0: version "3.1.1" resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== @@ -5723,7 +6261,7 @@ picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.1: resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== -pidtree@^0.6.0: +pidtree@0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/pidtree/-/pidtree-0.6.0.tgz#90ad7b6d42d5841e69e0a2419ef38f8883aa057c" integrity sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g== @@ -5771,10 +6309,10 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" -prettier@^2.8.7: - version "2.8.8" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da" - integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q== +prettier@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.0.3.tgz#432a51f7ba422d1469096c0fdc28e235db8f9643" + integrity sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg== process-nextick-args@~2.0.0: version "2.0.1" @@ -5953,10 +6491,10 @@ regenerator-runtime@^0.13.11: resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz#f6dca3e7ceec20590d07ada785636a90cdca17f9" integrity sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg== -regenerator-transform@^0.15.1: - version "0.15.1" - resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.15.1.tgz#f6c4e99fc1b4591f780db2586328e4d9a9d8dc56" - integrity sha512-knzmNAcuyxV+gQCufkYcvOqX/qIIfHLv0u5x79kRxuGojfYVky1f15TzZEu2Avte8QGepvUNTnLskf8E6X6Vyg== +regenerator-transform@^0.15.2: + version "0.15.2" + resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.15.2.tgz#5bbae58b522098ebdf09bca2f83838929001c7a4" + integrity sha512-hfMp2BoF0qOk3uc5V20ALGDS2ddjQaLrdl7xrGXvAIow7qeWRM2VA2HuCHkUKk9slq3VwEwLNK3DFBqDfPGYtg== dependencies: "@babel/runtime" "^7.8.4" @@ -5969,6 +6507,15 @@ regexp.prototype.flags@^1.4.3: define-properties "^1.2.0" functions-have-names "^1.2.3" +regexp.prototype.flags@^1.5.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.1.tgz#90ce989138db209f81492edd734183ce99f9677e" + integrity sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + set-function-name "^2.0.0" + regexpp@^3.0.0: version "3.2.0" resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2" @@ -6079,10 +6626,10 @@ resolve@^1.10.1, resolve@^1.14.2, resolve@^1.20.0, resolve@^1.22.1, resolve@^1.3 path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" -restore-cursor@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" - integrity sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA== +restore-cursor@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-4.0.0.tgz#519560a4318975096def6e609d44100edaa4ccb9" + integrity sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg== dependencies: onetime "^5.1.0" signal-exit "^3.0.2" @@ -6124,6 +6671,13 @@ ripemd160@^2.0.0, ripemd160@^2.0.1: hash-base "^3.0.0" inherits "^2.0.1" +run-applescript@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/run-applescript/-/run-applescript-5.0.0.tgz#e11e1c932e055d5c6b40d98374e0268d9b11899c" + integrity sha512-XcT5rBksx1QdIhlFOCtgZkB99ZEouFZ1E2Kc2LHqNW13U3/74YGdkQRmThTwxy4QIyookibDKYZOPqX//6BlAg== + dependencies: + execa "^5.0.0" + run-parallel@^1.1.9: version "1.2.0" resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" @@ -6131,12 +6685,15 @@ run-parallel@^1.1.9: dependencies: queue-microtask "^1.2.2" -rxjs@^7.8.0: - version "7.8.1" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.1.tgz#6f6f3d99ea8044291efd92e7c7fcf562c4057543" - integrity sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg== +safe-array-concat@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/safe-array-concat/-/safe-array-concat-1.0.1.tgz#91686a63ce3adbea14d61b14c99572a8ff84754c" + integrity sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q== dependencies: - tslib "^2.1.0" + call-bind "^1.0.2" + get-intrinsic "^1.2.1" + has-symbols "^1.0.3" + isarray "^2.0.5" safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@^5.2.1, safe-buffer@~5.2.0: version "5.2.1" @@ -6181,7 +6738,7 @@ schema-utils@^4.0.0: ajv-formats "^2.1.1" ajv-keywords "^5.1.0" -"semver@2 >=2.2.1 || 3.x || 4 || 5 || 7", semver@^7.3.4, semver@^7.3.7, semver@^7.3.8: +"semver@2 >=2.2.1 || 3.x || 4 || 5 || 7", semver@^7.3.4, semver@^7.3.7, semver@^7.3.8, semver@^7.5.2, semver@^7.5.4: version "7.5.4" resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== @@ -6193,7 +6750,7 @@ semver@^5.3.0, semver@^5.6.0: resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8" integrity sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g== -semver@^6.0.0, semver@^6.1.0, semver@^6.2.0, semver@^6.3.0, semver@^6.3.1: +semver@^6.0.0, semver@^6.1.0, semver@^6.3.0, semver@^6.3.1: version "6.3.1" resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== @@ -6217,6 +6774,15 @@ set-blocking@^2.0.0, set-blocking@~2.0.0: resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== +set-function-name@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/set-function-name/-/set-function-name-2.0.1.tgz#12ce38b7954310b9f61faa12701620a0c882793a" + integrity sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA== + dependencies: + define-data-property "^1.0.1" + functions-have-names "^1.2.3" + has-property-descriptors "^1.0.0" + setimmediate@^1.0.4: version "1.0.5" resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" @@ -6263,7 +6829,7 @@ side-channel@^1.0.4: get-intrinsic "^1.0.2" object-inspect "^1.9.0" -signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.7: +signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7: version "3.0.7" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== @@ -6273,10 +6839,10 @@ sinon-chai@^3.7.0: resolved "https://registry.yarnpkg.com/sinon-chai/-/sinon-chai-3.7.0.tgz#cfb7dec1c50990ed18c153f1840721cf13139783" integrity sha512-mf5NURdUaSdnatJx3uhoBOrY9dtL19fiOtAdT1Azxg3+lNJFiuN0uzaU3xX1LeAfL17kHQhTAJgpsfhbMJMY2g== -sinon@^15.2.0: - version "15.2.0" - resolved "https://registry.yarnpkg.com/sinon/-/sinon-15.2.0.tgz#5e44d4bc5a9b5d993871137fd3560bebfac27565" - integrity sha512-nPS85arNqwBXaIsFCkolHjGIkFo+Oxu9vbgmBJizLAhqe6P2o3Qmj3KCUoRkfhHtvgDhZdWD3risLHAUJ8npjw== +sinon@^16.0.0: + version "16.0.0" + resolved "https://registry.yarnpkg.com/sinon/-/sinon-16.0.0.tgz#06da4e63624b946c9d7e67cce21c2f67f40f23a9" + integrity sha512-B8AaZZm9CT5pqe4l4uWJztfD/mOTa7dL8Qo0W4+s+t74xECOgSZDDQCBjNgIK3+n4kyxQrSTv2V5ul8K25qkiQ== dependencies: "@sinonjs/commons" "^3.0.0" "@sinonjs/fake-timers" "^10.3.0" @@ -6295,24 +6861,6 @@ slash@^3.0.0: resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== -slice-ansi@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-3.0.0.tgz#31ddc10930a1b7e0b67b08c96c2f49b77a789787" - integrity sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ== - dependencies: - ansi-styles "^4.0.0" - astral-regex "^2.0.0" - is-fullwidth-code-point "^3.0.0" - -slice-ansi@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-4.0.0.tgz#500e8dd0fd55b05815086255b3195adf2a45fe6b" - integrity sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ== - dependencies: - ansi-styles "^4.0.0" - astral-regex "^2.0.0" - is-fullwidth-code-point "^3.0.0" - slice-ansi@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-5.0.0.tgz#b73063c57aa96f9cd881654b15294d95d285c42a" @@ -6459,15 +7007,15 @@ statuses@~1.5.0: resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA== -stellar-base@^9.0.0: - version "9.0.0" - resolved "https://registry.yarnpkg.com/stellar-base/-/stellar-base-9.0.0.tgz#af29349e011ee88657d9a62534388b50b3002d88" - integrity sha512-rnc0P28C2TlDoKpiL/Xw+4DyNqZ+hLxfcXub9gOH3FyPnGTr7QbGBiP0gYnRAndPp6xzX1F+hcCcPl31ce47/w== +stellar-base@^10.0.0-beta.1: + version "10.0.0-soroban.8" + resolved "https://registry.yarnpkg.com/stellar-base/-/stellar-base-10.0.0-soroban.8.tgz#8c5671f9d5a183aeb3077746db56e65b0b5c05da" + integrity sha512-mtj+4EcCnp4ZyH2FzRl62/DAstTXOddHVRZdzFQ94WgyQz2yVNzt+ANDS1D/7ku4d2mIzoJIj9l0/H0A5nRgXQ== dependencies: base32.js "^0.1.0" - bignumber.js "^9.1.1" - crypto-browserify "^3.12.0" - js-xdr "^2.0.0" + bignumber.js "^9.1.2" + buffer "^6.0.3" + js-xdr "^3.0.0" sha.js "^2.3.6" tweetnacl "^1.0.3" optionalDependencies: @@ -6500,7 +7048,7 @@ streamroller@^3.1.5: debug "^4.3.4" fs-extra "^8.1.0" -string-argv@^0.3.1: +string-argv@0.3.2: version "0.3.2" resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.2.tgz#2b6d0ef24b656274d957d54e0a4bbf6153dc02b6" integrity sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q== @@ -6523,7 +7071,7 @@ string-width@^1.0.1: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.1" -string-width@^5.0.0: +string-width@^5.0.0, string-width@^5.0.1: version "5.1.2" resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA== @@ -6541,6 +7089,15 @@ string.prototype.trim@^1.2.7: define-properties "^1.1.4" es-abstract "^1.20.4" +string.prototype.trim@^1.2.8: + version "1.2.8" + resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.2.8.tgz#f9ac6f8af4bd55ddfa8895e6aea92a96395393bd" + integrity sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + string.prototype.trimend@^1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz#c4a27fa026d979d79c04f17397f250a462944533" @@ -6550,6 +7107,15 @@ string.prototype.trimend@^1.0.6: define-properties "^1.1.4" es-abstract "^1.20.4" +string.prototype.trimend@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.7.tgz#1bb3afc5008661d73e2dc015cd4853732d6c471e" + integrity sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + string.prototype.trimstart@^1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz#e90ab66aa8e4007d92ef591bbf3cd422c56bdcf4" @@ -6559,6 +7125,15 @@ string.prototype.trimstart@^1.0.6: define-properties "^1.1.4" es-abstract "^1.20.4" +string.prototype.trimstart@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.7.tgz#d4cdb44b83a4737ffbac2d406e405d43d0184298" + integrity sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + string_decoder@^1.1.1, string_decoder@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" @@ -6604,6 +7179,11 @@ strip-bom@^4.0.0: resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-4.0.0.tgz#9c3505c1db45bcedca3d9cf7a16f5c5aa3901878" integrity sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w== +strip-final-newline@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" + integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== + strip-final-newline@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-3.0.0.tgz#52894c313fbff318835280aed60ff71ebf12b8fd" @@ -6666,6 +7246,14 @@ supports-preserve-symlinks-flag@^1.0.0: resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== +synckit@^0.8.5: + version "0.8.5" + resolved "https://registry.yarnpkg.com/synckit/-/synckit-0.8.5.tgz#b7f4358f9bb559437f9f167eb6bc46b3c9818fa3" + integrity sha512-L1dapNV6vu2s/4Sputv8xGsCdAVlb5nRDMFU/E27D44l5U6cw1g0dGd45uLc+OXjNMmF4ntiMdCimzcjFKQI8Q== + dependencies: + "@pkgr/utils" "^2.3.1" + tslib "^2.5.0" + taffydb@^2.7.3: version "2.7.3" resolved "https://registry.yarnpkg.com/taffydb/-/taffydb-2.7.3.tgz#2ad37169629498fca5bc84243096d3cde0ec3a34" @@ -6734,11 +7322,6 @@ text-table@^0.2.0: resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw== -through@^2.3.8: - version "2.3.8" - resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" - integrity sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg== - timers-browserify@^2.0.12: version "2.0.12" resolved "https://registry.yarnpkg.com/timers-browserify/-/timers-browserify-2.0.12.tgz#44a45c11fbf407f34f97bccd1577c652361b00ee" @@ -6746,6 +7329,11 @@ timers-browserify@^2.0.12: dependencies: setimmediate "^1.0.4" +titleize@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/titleize/-/titleize-3.0.0.tgz#71c12eb7fdd2558aa8a44b0be83b8a76694acd53" + integrity sha512-KxVu8EYHDPBdUYdKZdKtU2aj2XfEx9AfjXxE/Aj0vT06w2icA09Vus1rh6eSu1y01akYg6BjIK/hxyLJINoMLQ== + tmp@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.1.tgz#8457fc3037dcf4719c251367a1af6500ee1ccf14" @@ -6783,6 +7371,11 @@ tough-cookie@~2.5.0: psl "^1.1.28" punycode "^2.1.1" +ts-api-utils@^1.0.1: + version "1.0.3" + resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.0.3.tgz#f12c1c781d04427313dbac808f453f050e54a331" + integrity sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg== + ts-node@^10.9.1: version "10.9.1" resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.1.tgz#e73de9102958af9e1f0b168a6ff320e25adcff4b" @@ -6802,7 +7395,7 @@ ts-node@^10.9.1: v8-compile-cache-lib "^3.0.1" yn "3.1.1" -tsconfig-paths@^3.14.1: +tsconfig-paths@^3.14.2: version "3.14.2" resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz#6e32f1f79412decd261f92d633a9dc1cfa99f088" integrity sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g== @@ -6817,10 +7410,10 @@ tslib@^1.8.0, tslib@^1.8.1: resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== -tslib@^2.1.0: - version "2.6.0" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.0.tgz#b295854684dbda164e181d259a22cd779dcd7bc3" - integrity sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA== +tslib@^2.5.0, tslib@^2.6.0: + version "2.6.2" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" + integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== tslint@5.14.0: version "5.14.0" @@ -6894,16 +7487,16 @@ type-fest@^0.20.2: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4" integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== -type-fest@^0.21.3: - version "0.21.3" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" - integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== - type-fest@^0.8.0: version "0.8.1" resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== +type-fest@^1.0.2: + version "1.4.0" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-1.4.0.tgz#e9fb813fe3bf1744ec359d55d1affefa76f14be1" + integrity sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA== + type-fest@^2.14.0: version "2.19.0" resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-2.19.0.tgz#88068015bb33036a598b952e55e9311a60fd3a9b" @@ -6917,6 +7510,36 @@ type-is@~1.6.18: media-typer "0.3.0" mime-types "~2.1.24" +typed-array-buffer@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/typed-array-buffer/-/typed-array-buffer-1.0.0.tgz#18de3e7ed7974b0a729d3feecb94338d1472cd60" + integrity sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.2.1" + is-typed-array "^1.1.10" + +typed-array-byte-length@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/typed-array-byte-length/-/typed-array-byte-length-1.0.0.tgz#d787a24a995711611fb2b87a4052799517b230d0" + integrity sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA== + dependencies: + call-bind "^1.0.2" + for-each "^0.3.3" + has-proto "^1.0.1" + is-typed-array "^1.1.10" + +typed-array-byte-offset@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/typed-array-byte-offset/-/typed-array-byte-offset-1.0.0.tgz#cbbe89b51fdef9cd6aaf07ad4707340abbc4ea0b" + integrity sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg== + dependencies: + available-typed-arrays "^1.0.5" + call-bind "^1.0.2" + for-each "^0.3.3" + has-proto "^1.0.1" + is-typed-array "^1.1.10" + typed-array-length@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/typed-array-length/-/typed-array-length-1.0.4.tgz#89d83785e5c4098bec72e08b319651f0eac9c1bb" @@ -6938,10 +7561,10 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== -typescript@^5.1.6: - version "5.1.6" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.1.6.tgz#02f8ac202b6dad2c0dd5e0913745b47a37998274" - integrity sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA== +typescript@^5.2.2: + version "5.2.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78" + integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w== ua-parser-js@^0.7.30: version "0.7.35" @@ -7001,6 +7624,11 @@ unpipe@1.0.0, unpipe@~1.0.0: resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" integrity sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ== +untildify@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/untildify/-/untildify-4.0.0.tgz#2bc947b953652487e4600949fb091e3ae8cd919b" + integrity sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw== + update-browserslist-db@^1.0.11: version "1.0.11" resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz#9a2a641ad2907ae7b3616506f4b977851db5b940" @@ -7156,10 +7784,10 @@ webpack-sources@^3.2.3: resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.2.3.tgz#2d4daab8451fd4b240cc27055ff6a0c2ccea0cde" integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== -webpack@^5.88.1: - version "5.88.1" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.88.1.tgz#21eba01e81bd5edff1968aea726e2fbfd557d3f8" - integrity sha512-FROX3TxQnC/ox4N+3xQoWZzvGXSuscxR32rbzjpXgEzWudJFEJBpdlkkob2ylrv5yzzufD1zph1OoFsLtm6stQ== +webpack@^5.88.2: + version "5.88.2" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.88.2.tgz#f62b4b842f1c6ff580f3fcb2ed4f0b579f4c210e" + integrity sha512-JmcgNZ1iKj+aiR0OvTYtWQqJwq37Pf683dY9bVORwVbUrDhLhdn/PlO2sHsFHPkj7sHNQF3JwaAkp49V+Sq1tQ== dependencies: "@types/eslint-scope" "^3.7.3" "@types/estree" "^1.0.0" @@ -7202,6 +7830,17 @@ which-module@^2.0.0: resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.1.tgz#776b1fe35d90aebe99e8ac15eb24093389a4a409" integrity sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ== +which-typed-array@^1.1.11: + version "1.1.11" + resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.11.tgz#99d691f23c72aab6768680805a271b69761ed61a" + integrity sha512-qe9UWWpkeG5yzZ0tNYxDmd7vo58HDBc39mZ0xWWpolAGADdFOzkfamWLDxkOWcvHQKVmdTyQdLD4NOfjLWTKew== + dependencies: + available-typed-arrays "^1.0.5" + call-bind "^1.0.2" + for-each "^0.3.3" + gopd "^1.0.1" + has-tostringtag "^1.0.0" + which-typed-array@^1.1.2, which-typed-array@^1.1.9: version "1.1.10" resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.10.tgz#74baa2789991905c2076abb317103b866c64e69e" @@ -7263,6 +7902,15 @@ wrap-ansi@^7.0.0: string-width "^4.1.0" strip-ansi "^6.0.0" +wrap-ansi@^8.0.1, wrap-ansi@^8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" + integrity sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ== + dependencies: + ansi-styles "^6.1.0" + string-width "^5.0.1" + strip-ansi "^7.0.1" + wrappy@1: version "1.0.2" resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" @@ -7313,7 +7961,7 @@ yallist@^4.0.0: resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== -yaml@^2.2.2: +yaml@2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.1.tgz#02fe0975d23cd441242aa7204e09fc28ac2ac33b" integrity sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ== From cf3298cd52d9712f0aebdaeb2de973951c37c044 Mon Sep 17 00:00:00 2001 From: George Kudrayvtsev Date: Fri, 15 Sep 2023 12:55:10 -0700 Subject: [PATCH 3/3] Fixup changelog: duped entry --- CHANGELOG.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 88fa26ac0..3f1d1fd88 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,9 +21,6 @@ A breaking change will get clearly marked in this log. - New effects have been added to support Protocol 20 (Soroban) ([#842](https://github.com/stellar/js-stellar-sdk/pull/842)): * `ContractCredited` occurs when a Stellar asset moves **into** its corresponding Stellar Asset Contract instance * `ContractDebited` occurs when a Stellar asset moves **out of** its corresponding Stellar Asset Contract instance -- Asset stat records (`ServerApi.AssetRecord`) contain two new fields to support the Protocol 20 (Soroban) release ([#TODO](https://github.com/stellar/js-stellar-sdk/pulls/)): - * `num_contracts` - the integer quantity of contracts that hold this asset - * `contracts_amount` - the total units of that asset held by contracts - Asset stat records (`ServerApi.AssetRecord`) contain two new fields to support the Protocol 20 (Soroban) release ([#841](https://github.com/stellar/js-stellar-sdk/pull/841)): * `num_contracts` - the integer quantity of contracts that hold this asset * `contracts_amount` - the total units of that asset held by contracts