diff --git a/package-lock.json b/package-lock.json index 07f84b0..d62cac5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@patch-technology/patch", - "version": "2.2.0", + "version": "2.3.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@patch-technology/patch", - "version": "2.2.0", + "version": "2.3.0", "license": "MIT", "dependencies": { "query-string": "^7.0.1", @@ -38,7 +38,7 @@ "lint-staged": "^10.5.4", "mocha": "^10.4.0", "prettier": "^3.2.5", - "sinon": "^18.0.0" + "sinon": "^17.0.1" }, "engines": { "node": ">=18.0.0" @@ -4180,16 +4180,16 @@ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "node_modules/nise": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/nise/-/nise-6.0.1.tgz", - "integrity": "sha512-DAyWGPQEuJVlL2eqKw6gdZKT+E/jo/ZrjEUDAslJLluCz81nWy+KSYybNp3KFm887Yvp7hv12jSM82ld8BmLxg==", + "version": "5.1.9", + "resolved": "https://registry.npmjs.org/nise/-/nise-5.1.9.tgz", + "integrity": "sha512-qOnoujW4SV6e40dYxJOb3uvuoPHtmLzIk4TFo+j0jPJoC+5Z9xja5qH5JZobEPsa8+YYphMrOSwnrshEhG2qww==", "dev": true, "dependencies": { "@sinonjs/commons": "^3.0.0", "@sinonjs/fake-timers": "^11.2.2", "@sinonjs/text-encoding": "^0.7.2", "just-extend": "^6.2.0", - "path-to-regexp": "^8.1.0" + "path-to-regexp": "^6.2.1" } }, "node_modules/node-releases": { @@ -4377,13 +4377,10 @@ "dev": true }, "node_modules/path-to-regexp": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.1.0.tgz", - "integrity": "sha512-Bqn3vc8CMHty6zuD+tG23s6v2kwxslHEhTj4eYaVKGIEB+YX/2wd0/rgXLFD9G9id9KCtbVy/3ZgmvZjpa0UdQ==", - "dev": true, - "engines": { - "node": ">=16" - } + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz", + "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==", + "dev": true }, "node_modules/path-type": { "version": "4.0.0", @@ -4827,17 +4824,17 @@ "dev": true }, "node_modules/sinon": { - "version": "18.0.0", - "resolved": "https://registry.npmjs.org/sinon/-/sinon-18.0.0.tgz", - "integrity": "sha512-+dXDXzD1sBO6HlmZDd7mXZCR/y5ECiEiGCBSGuFD/kZ0bDTofPYc6JaeGmPSF+1j1MejGUWkORbYOLDyvqCWpA==", + "version": "17.0.1", + "resolved": "https://registry.npmjs.org/sinon/-/sinon-17.0.1.tgz", + "integrity": "sha512-wmwE19Lie0MLT+ZYNpDymasPHUKTaZHUH/pKEubRXIzySv9Atnlw+BUMGCzWgV7b7wO+Hw6f1TEOr0IUnmU8/g==", "dev": true, "dependencies": { - "@sinonjs/commons": "^3.0.1", + "@sinonjs/commons": "^3.0.0", "@sinonjs/fake-timers": "^11.2.2", "@sinonjs/samsam": "^8.0.0", - "diff": "^5.2.0", - "nise": "^6.0.0", - "supports-color": "^7" + "diff": "^5.1.0", + "nise": "^5.1.5", + "supports-color": "^7.2.0" }, "funding": { "type": "opencollective", @@ -8292,16 +8289,16 @@ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "nise": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/nise/-/nise-6.0.1.tgz", - "integrity": "sha512-DAyWGPQEuJVlL2eqKw6gdZKT+E/jo/ZrjEUDAslJLluCz81nWy+KSYybNp3KFm887Yvp7hv12jSM82ld8BmLxg==", + "version": "5.1.9", + "resolved": "https://registry.npmjs.org/nise/-/nise-5.1.9.tgz", + "integrity": "sha512-qOnoujW4SV6e40dYxJOb3uvuoPHtmLzIk4TFo+j0jPJoC+5Z9xja5qH5JZobEPsa8+YYphMrOSwnrshEhG2qww==", "dev": true, "requires": { "@sinonjs/commons": "^3.0.0", "@sinonjs/fake-timers": "^11.2.2", "@sinonjs/text-encoding": "^0.7.2", "just-extend": "^6.2.0", - "path-to-regexp": "^8.1.0" + "path-to-regexp": "^6.2.1" } }, "node-releases": { @@ -8432,9 +8429,9 @@ "dev": true }, "path-to-regexp": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.1.0.tgz", - "integrity": "sha512-Bqn3vc8CMHty6zuD+tG23s6v2kwxslHEhTj4eYaVKGIEB+YX/2wd0/rgXLFD9G9id9KCtbVy/3ZgmvZjpa0UdQ==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz", + "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==", "dev": true }, "path-type": { @@ -8772,17 +8769,17 @@ "dev": true }, "sinon": { - "version": "18.0.0", - "resolved": "https://registry.npmjs.org/sinon/-/sinon-18.0.0.tgz", - "integrity": "sha512-+dXDXzD1sBO6HlmZDd7mXZCR/y5ECiEiGCBSGuFD/kZ0bDTofPYc6JaeGmPSF+1j1MejGUWkORbYOLDyvqCWpA==", + "version": "17.0.1", + "resolved": "https://registry.npmjs.org/sinon/-/sinon-17.0.1.tgz", + "integrity": "sha512-wmwE19Lie0MLT+ZYNpDymasPHUKTaZHUH/pKEubRXIzySv9Atnlw+BUMGCzWgV7b7wO+Hw6f1TEOr0IUnmU8/g==", "dev": true, "requires": { - "@sinonjs/commons": "^3.0.1", + "@sinonjs/commons": "^3.0.0", "@sinonjs/fake-timers": "^11.2.2", "@sinonjs/samsam": "^8.0.0", - "diff": "^5.2.0", - "nise": "^6.0.0", - "supports-color": "^7" + "diff": "^5.1.0", + "nise": "^5.1.5", + "supports-color": "^7.2.0" }, "dependencies": { "diff": { diff --git a/package.json b/package.json index 2875934..a916204 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@patch-technology/patch", - "version": "2.2.0", + "version": "2.3.0", "description": "Node.js wrapper for the Patch API", "license": "MIT", "repository": { @@ -48,7 +48,7 @@ "husky": "^4.2.5", "lint-staged": "^10.5.4", "mocha": "^10.4.0", - "sinon": "^18.0.0", + "sinon": "^17.0.1", "prettier": "^3.2.5" }, "files": [ diff --git a/src/ApiClient.js b/src/ApiClient.js index d870ec0..f18f10d 100644 --- a/src/ApiClient.js +++ b/src/ApiClient.js @@ -16,7 +16,7 @@ class ApiClient { }; this.defaultHeaders = { - 'User-Agent': 'patch-node/2.2.0', + 'User-Agent': 'patch-node/2.3.0', 'Patch-Version': 2 }; diff --git a/src/api/EstimatesApi.js b/src/api/EstimatesApi.js index a6bc643..fc96228 100644 --- a/src/api/EstimatesApi.js +++ b/src/api/EstimatesApi.js @@ -9,15 +9,12 @@ import ApiClient from '../ApiClient'; import CreateAirShippingEstimateRequest from '../model/CreateAirShippingEstimateRequest'; import CreateBitcoinEstimateRequest from '../model/CreateBitcoinEstimateRequest'; import CreateEcommerceEstimateRequest from '../model/CreateEcommerceEstimateRequest'; -import CreateEthereumEstimateRequest from '../model/CreateEthereumEstimateRequest'; import CreateFlightEstimateRequest from '../model/CreateFlightEstimateRequest'; import CreateHotelEstimateRequest from '../model/CreateHotelEstimateRequest'; import CreateMassEstimateRequest from '../model/CreateMassEstimateRequest'; import CreateRailShippingEstimateRequest from '../model/CreateRailShippingEstimateRequest'; import CreateRoadShippingEstimateRequest from '../model/CreateRoadShippingEstimateRequest'; import CreateSeaShippingEstimateRequest from '../model/CreateSeaShippingEstimateRequest'; -import CreateShippingEstimateRequest from '../model/CreateShippingEstimateRequest'; -import CreateVehicleEstimateRequest from '../model/CreateVehicleEstimateRequest'; import ErrorResponse from '../model/ErrorResponse'; import EstimateListResponse from '../model/EstimateListResponse'; import EstimateResponse from '../model/EstimateResponse'; @@ -192,60 +189,6 @@ export default class EstimatesApi { ); } - createEthereumEstimateWithHttpInfo(createEthereumEstimateRequest, opts) { - opts = opts || {}; - - const _createEthereumEstimateRequest = - CreateEthereumEstimateRequest.constructFromObject( - createEthereumEstimateRequest, - new CreateEthereumEstimateRequest() - ); - - // verify the required parameter 'createEthereumEstimateRequest' is set - if ( - _createEthereumEstimateRequest === undefined || - _createEthereumEstimateRequest === null - ) { - throw new Error( - "Missing the required parameter 'createEthereumEstimateRequest' when calling createEthereumEstimate" - ); - } - - let postBody = _createEthereumEstimateRequest; - let pathParams = {}; - let queryParams = {}; - let headerParams = { - 'Patch-Version': opts['patchVersion'] - }; - let formParams = {}; - - let authNames = ['bearer_auth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = EstimateResponse; - - return this.apiClient.callApi( - '/v1/estimates/crypto/eth', - 'POST', - pathParams, - queryParams, - headerParams, - formParams, - postBody, - authNames, - contentTypes, - accepts, - returnType - ); - } - - createEthereumEstimate(createEthereumEstimateRequest, opts) { - return this.createEthereumEstimateWithHttpInfo( - createEthereumEstimateRequest, - opts - ); - } - createFlightEstimateWithHttpInfo(createFlightEstimateRequest, opts) { opts = opts || {}; @@ -576,114 +519,6 @@ export default class EstimatesApi { ); } - createShippingEstimateWithHttpInfo(createShippingEstimateRequest, opts) { - opts = opts || {}; - - const _createShippingEstimateRequest = - CreateShippingEstimateRequest.constructFromObject( - createShippingEstimateRequest, - new CreateShippingEstimateRequest() - ); - - // verify the required parameter 'createShippingEstimateRequest' is set - if ( - _createShippingEstimateRequest === undefined || - _createShippingEstimateRequest === null - ) { - throw new Error( - "Missing the required parameter 'createShippingEstimateRequest' when calling createShippingEstimate" - ); - } - - let postBody = _createShippingEstimateRequest; - let pathParams = {}; - let queryParams = {}; - let headerParams = { - 'Patch-Version': opts['patchVersion'] - }; - let formParams = {}; - - let authNames = ['bearer_auth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = EstimateResponse; - - return this.apiClient.callApi( - '/v1/estimates/shipping', - 'POST', - pathParams, - queryParams, - headerParams, - formParams, - postBody, - authNames, - contentTypes, - accepts, - returnType - ); - } - - createShippingEstimate(createShippingEstimateRequest, opts) { - return this.createShippingEstimateWithHttpInfo( - createShippingEstimateRequest, - opts - ); - } - - createVehicleEstimateWithHttpInfo(createVehicleEstimateRequest, opts) { - opts = opts || {}; - - const _createVehicleEstimateRequest = - CreateVehicleEstimateRequest.constructFromObject( - createVehicleEstimateRequest, - new CreateVehicleEstimateRequest() - ); - - // verify the required parameter 'createVehicleEstimateRequest' is set - if ( - _createVehicleEstimateRequest === undefined || - _createVehicleEstimateRequest === null - ) { - throw new Error( - "Missing the required parameter 'createVehicleEstimateRequest' when calling createVehicleEstimate" - ); - } - - let postBody = _createVehicleEstimateRequest; - let pathParams = {}; - let queryParams = {}; - let headerParams = { - 'Patch-Version': opts['patchVersion'] - }; - let formParams = {}; - - let authNames = ['bearer_auth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = EstimateResponse; - - return this.apiClient.callApi( - '/v1/estimates/vehicle', - 'POST', - pathParams, - queryParams, - headerParams, - formParams, - postBody, - authNames, - contentTypes, - accepts, - returnType - ); - } - - createVehicleEstimate(createVehicleEstimateRequest, opts) { - return this.createVehicleEstimateWithHttpInfo( - createVehicleEstimateRequest, - opts - ); - } - retrieveEstimateWithHttpInfo(id, opts) { opts = opts || {}; diff --git a/src/model/CreateEthereumEstimateRequest.js b/src/model/CreateEthereumEstimateRequest.js deleted file mode 100644 index ba7f2b4..0000000 --- a/src/model/CreateEthereumEstimateRequest.js +++ /dev/null @@ -1,75 +0,0 @@ -/** - * Patch API V2 - * The core API used to integrate with Patch's service - * - * Contact: engineering@usepatch.com - */ - -import ApiClient from '../ApiClient'; - -class CreateEthereumEstimateRequest { - constructor() { - CreateEthereumEstimateRequest.initialize(this); - } - - static initialize(obj) {} - - static constructFromObject(data, obj) { - if (data) { - obj = obj || new CreateEthereumEstimateRequest(); - - if (data.hasOwnProperty('timestamp')) { - obj['timestamp'] = ApiClient.convertToType(data['timestamp'], 'String'); - } - - if (data.hasOwnProperty('gas_used')) { - obj['gas_used'] = ApiClient.convertToType(data['gas_used'], 'Number'); - } - - if (data.hasOwnProperty('transaction_value_eth_gwei')) { - obj['transaction_value_eth_gwei'] = ApiClient.convertToType( - data['transaction_value_eth_gwei'], - 'Number' - ); - } - - if (data.hasOwnProperty('average_daily_balance_eth_gwei')) { - obj['average_daily_balance_eth_gwei'] = ApiClient.convertToType( - data['average_daily_balance_eth_gwei'], - 'Number' - ); - } - - if (data.hasOwnProperty('project_id')) { - obj['project_id'] = ApiClient.convertToType( - data['project_id'], - 'String' - ); - } - - if (data.hasOwnProperty('create_order')) { - obj['create_order'] = ApiClient.convertToType( - data['create_order'], - 'Boolean' - ); - } - } - return obj; - } -} - -CreateEthereumEstimateRequest.prototype['timestamp'] = undefined; - -CreateEthereumEstimateRequest.prototype['gas_used'] = undefined; - -CreateEthereumEstimateRequest.prototype['transaction_value_eth_gwei'] = - undefined; - -CreateEthereumEstimateRequest.prototype['average_daily_balance_eth_gwei'] = - undefined; - -CreateEthereumEstimateRequest.prototype['project_id'] = undefined; - -CreateEthereumEstimateRequest.prototype['create_order'] = false; - -export default CreateEthereumEstimateRequest; diff --git a/src/model/CreateShippingEstimateRequest.js b/src/model/CreateShippingEstimateRequest.js deleted file mode 100644 index 9008c0b..0000000 --- a/src/model/CreateShippingEstimateRequest.js +++ /dev/null @@ -1,79 +0,0 @@ -/** - * Patch API V2 - * The core API used to integrate with Patch's service - * - * Contact: engineering@usepatch.com - */ - -import ApiClient from '../ApiClient'; - -class CreateShippingEstimateRequest { - constructor(distanceM, packageMassG, transportationMethod) { - CreateShippingEstimateRequest.initialize( - this, - distanceM, - packageMassG, - transportationMethod - ); - } - - static initialize(obj, distanceM, packageMassG, transportationMethod) { - obj['distance_m'] = distanceM; - obj['package_mass_g'] = packageMassG; - obj['transportation_method'] = transportationMethod; - } - - static constructFromObject(data, obj) { - if (data) { - obj = obj || new CreateShippingEstimateRequest(); - - if (data.hasOwnProperty('distance_m')) { - obj['distance_m'] = ApiClient.convertToType( - data['distance_m'], - 'Number' - ); - } - - if (data.hasOwnProperty('package_mass_g')) { - obj['package_mass_g'] = ApiClient.convertToType( - data['package_mass_g'], - 'Number' - ); - } - - if (data.hasOwnProperty('transportation_method')) { - obj['transportation_method'] = ApiClient.convertToType( - data['transportation_method'], - 'String' - ); - } - - if (data.hasOwnProperty('project_id')) { - obj['project_id'] = ApiClient.convertToType( - data['project_id'], - 'String' - ); - } - - if (data.hasOwnProperty('create_order')) { - obj['create_order'] = ApiClient.convertToType( - data['create_order'], - 'Boolean' - ); - } - } - return obj; - } -} - -CreateShippingEstimateRequest.prototype['distance_m'] = undefined; - -CreateShippingEstimateRequest.prototype['package_mass_g'] = undefined; - -CreateShippingEstimateRequest.prototype['transportation_method'] = undefined; - -CreateShippingEstimateRequest.prototype['project_id'] = undefined; - -CreateShippingEstimateRequest.prototype['create_order'] = false; - -export default CreateShippingEstimateRequest; diff --git a/src/model/CreateVehicleEstimateRequest.js b/src/model/CreateVehicleEstimateRequest.js deleted file mode 100644 index 3676ad6..0000000 --- a/src/model/CreateVehicleEstimateRequest.js +++ /dev/null @@ -1,72 +0,0 @@ -/** - * Patch API V2 - * The core API used to integrate with Patch's service - * - * Contact: engineering@usepatch.com - */ - -import ApiClient from '../ApiClient'; - -class CreateVehicleEstimateRequest { - constructor(distanceM) { - CreateVehicleEstimateRequest.initialize(this, distanceM); - } - - static initialize(obj, distanceM) { - obj['distance_m'] = distanceM; - } - - static constructFromObject(data, obj) { - if (data) { - obj = obj || new CreateVehicleEstimateRequest(); - - if (data.hasOwnProperty('distance_m')) { - obj['distance_m'] = ApiClient.convertToType( - data['distance_m'], - 'Number' - ); - } - - if (data.hasOwnProperty('make')) { - obj['make'] = ApiClient.convertToType(data['make'], 'String'); - } - - if (data.hasOwnProperty('model')) { - obj['model'] = ApiClient.convertToType(data['model'], 'String'); - } - - if (data.hasOwnProperty('year')) { - obj['year'] = ApiClient.convertToType(data['year'], 'Number'); - } - - if (data.hasOwnProperty('project_id')) { - obj['project_id'] = ApiClient.convertToType( - data['project_id'], - 'String' - ); - } - - if (data.hasOwnProperty('create_order')) { - obj['create_order'] = ApiClient.convertToType( - data['create_order'], - 'Boolean' - ); - } - } - return obj; - } -} - -CreateVehicleEstimateRequest.prototype['distance_m'] = undefined; - -CreateVehicleEstimateRequest.prototype['make'] = undefined; - -CreateVehicleEstimateRequest.prototype['model'] = undefined; - -CreateVehicleEstimateRequest.prototype['year'] = undefined; - -CreateVehicleEstimateRequest.prototype['project_id'] = undefined; - -CreateVehicleEstimateRequest.prototype['create_order'] = false; - -export default CreateVehicleEstimateRequest; diff --git a/test/integration/estimates.test.js b/test/integration/estimates.test.js index 5de1b9f..a488c67 100644 --- a/test/integration/estimates.test.js +++ b/test/integration/estimates.test.js @@ -34,23 +34,6 @@ describe('Estimates Integration', function () { expect(estimate2.mass_g).to.be.greaterThan(estimate1.mass_g); }); - it('supports creating shipping estimates', async function () { - const createEstimateResponse = await patch.estimates.createShippingEstimate( - { - distance_m: 100000, - transportation_method: 'rail', - package_mass_g: 50000, - create_order: false - } - ); - const estimate = createEstimateResponse.data; - - expect(estimate.type).to.be.eq('ecommerce'); - expect(estimate.mass_g).to.be.above(0); - expect(estimate.production).to.be.eq(false); - expect(estimate.order).to.be.eq(null); - }); - it('supports creating ecommerce estimates', async function () { const createEstimateResponse = await patch.estimates.createEcommerceEstimate({ @@ -67,22 +50,6 @@ describe('Estimates Integration', function () { expect(estimate.order).to.be.eq(null); }); - it('supports creating vehicle estimates without an order', async function () { - const createEstimateResponse = await patch.estimates.createVehicleEstimate({ - distance_m: 100000, - make: 'Toyota', - model: 'Corolla', - year: 2005, - create_order: false - }); - const estimate = createEstimateResponse.data; - - expect(estimate.type).to.be.eq('vehicle'); - expect(estimate.mass_g).to.be.above(0); - expect(estimate.production).to.be.eq(false); - expect(estimate.order).to.be.eq(null); - }); - it('supports creating bitcoin estimates without parameters', async function () { const { data: estimate } = await patch.estimates.createBitcoinEstimate(); @@ -124,20 +91,6 @@ describe('Estimates Integration', function () { expect(estimate1.mass_g).to.be.below(estimate2.mass_g); }); - it('supports creating ethereum estimates with a gas value', async function () { - const createEstimateResponse = await patch.estimates.createEthereumEstimate( - { - gas_used: 1000 - } - ); - - const estimate = createEstimateResponse.data; - - expect(estimate.type).to.be.eq('ethereum'); - expect(estimate.mass_g).to.be.above(0); - expect(estimate.production).to.be.eq(false); - }); - it('supports creating hotel estimates', async function () { const createEstimateResponse = await patch.estimates.createHotelEstimate({ country_code: 'US', diff --git a/yarn.lock b/yarn.lock index 8b788f7..49ba064 100644 --- a/yarn.lock +++ b/yarn.lock @@ -39,7 +39,7 @@ resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.4.tgz" integrity sha512-vg8Gih2MLK+kOkHJp4gBEIkyaIi00jgWot2D9QOmmfLC8jINSOzmCLta6Bvz/JSBCqnegV0L80jhxkol5GWNfQ== -"@babel/core@^7.24.0": +"@babel/core@^7.0.0", "@babel/core@^7.0.0-0", "@babel/core@^7.0.0-0 || ^8.0.0-0 <8.0.0", "@babel/core@^7.12.0", "@babel/core@^7.13.0", "@babel/core@^7.24.0", "@babel/core@^7.4.0 || ^8.0.0-0 <8.0.0": version "7.24.5" resolved "https://registry.npmjs.org/@babel/core/-/core-7.24.5.tgz" integrity sha512-tVQRucExLQ02Boi4vdPp49svNGcfL2GhdTCT9aldhXgCJVAI21EtRfBettiuLUwce/7r6bFdgs6JFkcdTiFttA== @@ -1194,11 +1194,11 @@ type-detect "4.0.8" "@sinonjs/fake-timers@^11.2.2": - version "11.2.2" - resolved "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-11.2.2.tgz" - integrity sha512-G2piCSxQ7oWOxwGSAyFHfPIsyeJGXYtc6mFbnFA+kRXkiEnTl8c/8jul2S329iFBnDI9HGoeWWAZvuvOkZccgw== + version "11.3.1" + resolved "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-11.3.1.tgz" + integrity sha512-EVJO7nW5M/F5Tur0Rf2z/QoMo+1Ia963RiMtapiQrEWvY0iBUvADo8Beegwjpnle5BHkyHuoxSTW3jF43H1XRA== dependencies: - "@sinonjs/commons" "^3.0.0" + "@sinonjs/commons" "^3.0.1" "@sinonjs/samsam@^8.0.0": version "8.0.0" @@ -1210,9 +1210,9 @@ type-detect "^4.0.8" "@sinonjs/text-encoding@^0.7.2": - version "0.7.2" - resolved "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.2.tgz" - integrity sha512-sXXKG+uL9IrKqViTtao2Ws6dy0znu9sOaP1di/jKGW1M6VssO8vlpXCQcpZ+jisQ1tTFAC5Jo/EOzFbggBagFQ== + version "0.7.3" + resolved "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.3.tgz" + integrity sha512-DE427ROAphMQzU4ENbliGYrBSYPXF+TtLg9S8vzeA+OF4ZKzoDdzfL8sxuMUGS/lgRhM6j1URSk9ghf7Xo1tyA== "@types/parse-json@^4.0.0": version "4.0.2" @@ -1227,7 +1227,7 @@ aggregate-error@^3.0.0: clean-stack "^2.0.0" indent-string "^4.0.0" -ansi-colors@4.1.1, ansi-colors@^4.1.1: +ansi-colors@^4.1.1, ansi-colors@4.1.1: version "4.1.1" resolved "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz" integrity sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA== @@ -1251,7 +1251,14 @@ ansi-styles@^3.2.1: dependencies: color-convert "^1.9.0" -ansi-styles@^4.0.0, ansi-styles@^4.1.0: +ansi-styles@^4.0.0: + version "4.3.0" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz" + integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== + dependencies: + color-convert "^2.0.1" + +ansi-styles@^4.1.0: version "4.3.0" resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz" integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== @@ -1342,7 +1349,7 @@ brace-expansion@^2.0.1: braces@^3.0.3, braces@~3.0.2: version "3.0.3" - resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789" + resolved "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz" integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA== dependencies: fill-range "^7.1.1" @@ -1352,7 +1359,7 @@ browser-stdout@1.3.1: resolved "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz" integrity sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw== -browserslist@^4.22.2, browserslist@^4.23.0: +browserslist@^4.22.2, browserslist@^4.23.0, "browserslist@>= 4.21.0": version "4.23.0" resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.23.0.tgz" integrity sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ== @@ -1412,7 +1419,15 @@ chalk@^2.4.2: escape-string-regexp "^1.0.5" supports-color "^5.3.0" -chalk@^4.0.0, chalk@^4.1.0: +chalk@^4.0.0: + version "4.1.2" + resolved "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz" + integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + +chalk@^4.1.0: version "4.1.2" resolved "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz" integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== @@ -1427,7 +1442,7 @@ check-error@^1.0.3: dependencies: get-func-name "^2.0.2" -chokidar@3.5.3, chokidar@^3.4.0: +chokidar@^3.4.0, chokidar@3.5.3: version "3.5.3" resolved "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz" integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== @@ -1499,16 +1514,16 @@ color-convert@^2.0.1: dependencies: color-name "~1.1.4" -color-name@1.1.3: - version "1.1.3" - resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz" - integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== - color-name@~1.1.4: version "1.1.4" resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== +color-name@1.1.3: + version "1.1.3" + resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz" + integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== + colorette@^2.0.16: version "2.0.20" resolved "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz" @@ -1581,14 +1596,14 @@ cosmiconfig@^7.0.0: cross-spawn@^7.0.0: version "7.0.6" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f" + resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz" integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA== dependencies: path-key "^3.1.0" shebang-command "^2.0.0" which "^2.0.1" -debug@4.3.4, debug@^4.1.0, debug@^4.1.1, debug@^4.2.0, debug@^4.3.1, debug@^4.3.4: +debug@^4.1.0, debug@^4.1.1, debug@^4.2.0, debug@^4.3.1, debug@^4.3.4, debug@4.3.4: version "4.3.4" resolved "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz" integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== @@ -1630,16 +1645,16 @@ dezalgo@^1.0.4: asap "^2.0.0" wrappy "1" +diff@^5.1.0: + version "5.2.0" + resolved "https://registry.npmjs.org/diff/-/diff-5.2.0.tgz" + integrity sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A== + diff@5.0.0: version "5.0.0" resolved "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz" integrity sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w== -diff@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/diff/-/diff-5.2.0.tgz#26ded047cd1179b78b9537d5ef725503ce1ae531" - integrity sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A== - electron-to-chromium@^1.4.668: version "1.4.757" resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.757.tgz" @@ -1657,7 +1672,7 @@ end-of-stream@^1.1.0: dependencies: once "^1.4.0" -enquirer@^2.3.6: +enquirer@^2.3.6, "enquirer@>= 2.3.0 < 3": version "2.4.1" resolved "https://registry.npmjs.org/enquirer/-/enquirer-2.4.1.tgz" integrity sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ== @@ -1677,16 +1692,16 @@ escalade@^3.1.1, escalade@^3.1.2: resolved "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz" integrity sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA== -escape-string-regexp@4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz" - integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== - escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz" integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== +escape-string-regexp@4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz" + integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== + esutils@^2.0.2: version "2.0.3" resolved "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz" @@ -1714,7 +1729,7 @@ fast-safe-stringify@^2.1.1: fill-range@^7.1.1: version "7.1.1" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292" + resolved "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz" integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg== dependencies: to-regex-range "^5.0.1" @@ -1733,14 +1748,6 @@ find-cache-dir@^2.0.0: make-dir "^2.0.0" pkg-dir "^3.0.0" -find-up@5.0.0, find-up@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz" - integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== - dependencies: - locate-path "^6.0.0" - path-exists "^4.0.0" - find-up@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz" @@ -1748,6 +1755,14 @@ find-up@^3.0.0: dependencies: locate-path "^3.0.0" +find-up@^5.0.0, find-up@5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz" + integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== + dependencies: + locate-path "^6.0.0" + path-exists "^4.0.0" + find-versions@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/find-versions/-/find-versions-4.0.0.tgz" @@ -1841,17 +1856,6 @@ glob-parent@~5.1.2: dependencies: is-glob "^4.0.1" -glob@8.1.0: - version "8.1.0" - resolved "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz" - integrity sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^5.0.1" - once "^1.3.0" - glob@^7.2.0: version "7.2.0" resolved "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz" @@ -1864,6 +1868,17 @@ glob@^7.2.0: once "^1.3.0" path-is-absolute "^1.0.0" +glob@8.1.0: + version "8.1.0" + resolved "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz" + integrity sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^5.0.1" + once "^1.3.0" + globals@^11.1.0: version "11.12.0" resolved "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz" @@ -2145,7 +2160,7 @@ lodash.get@^4.4.2: resolved "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz" integrity sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ== -log-symbols@4.1.0, log-symbols@^4.0.0: +log-symbols@^4.0.0, log-symbols@4.1.0: version "4.1.0" resolved "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz" integrity sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg== @@ -2197,7 +2212,7 @@ methods@^1.1.2: micromatch@^4.0.2: version "4.0.8" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.8.tgz#d66fa18f3a47076789320b9b1af32bd86d9fa202" + resolved "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz" integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA== dependencies: braces "^3.0.3" @@ -2225,13 +2240,6 @@ mimic-fn@^2.1.0: resolved "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz" integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== -minimatch@5.0.1, minimatch@^5.0.1: - version "5.0.1" - resolved "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz" - integrity sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g== - dependencies: - brace-expansion "^2.0.1" - minimatch@^3.0.4: version "3.1.2" resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz" @@ -2239,6 +2247,13 @@ minimatch@^3.0.4: dependencies: brace-expansion "^1.1.7" +minimatch@^5.0.1, minimatch@5.0.1: + version "5.0.1" + resolved "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz" + integrity sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g== + dependencies: + brace-expansion "^2.0.1" + mocha@^10.4.0: version "10.4.0" resolved "https://registry.npmjs.org/mocha/-/mocha-10.4.0.tgz" @@ -2275,16 +2290,16 @@ ms@2.1.3: resolved "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== -nise@^6.0.0: - version "6.0.1" - resolved "https://registry.yarnpkg.com/nise/-/nise-6.0.1.tgz#582a347929828924d9e4e9c93f7549800cd0912c" - integrity sha512-DAyWGPQEuJVlL2eqKw6gdZKT+E/jo/ZrjEUDAslJLluCz81nWy+KSYybNp3KFm887Yvp7hv12jSM82ld8BmLxg== +nise@^5.1.5: + version "5.1.9" + resolved "https://registry.npmjs.org/nise/-/nise-5.1.9.tgz" + integrity sha512-qOnoujW4SV6e40dYxJOb3uvuoPHtmLzIk4TFo+j0jPJoC+5Z9xja5qH5JZobEPsa8+YYphMrOSwnrshEhG2qww== dependencies: "@sinonjs/commons" "^3.0.0" "@sinonjs/fake-timers" "^11.2.2" "@sinonjs/text-encoding" "^0.7.2" just-extend "^6.2.0" - path-to-regexp "^8.1.0" + path-to-regexp "^6.2.1" node-releases@^2.0.14: version "2.0.14" @@ -2409,10 +2424,10 @@ path-parse@^1.0.7: resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== -path-to-regexp@^8.1.0: - version "8.1.0" - resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-8.1.0.tgz#4d687606ed0be8ed512ba802eb94d620cb1a86f0" - integrity sha512-Bqn3vc8CMHty6zuD+tG23s6v2kwxslHEhTj4eYaVKGIEB+YX/2wd0/rgXLFD9G9id9KCtbVy/3ZgmvZjpa0UdQ== +path-to-regexp@^6.2.1: + version "6.3.0" + resolved "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz" + integrity sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ== path-type@^4.0.0: version "4.0.0" @@ -2656,17 +2671,17 @@ signal-exit@^3.0.2: resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz" integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== -sinon@^18.0.0: - version "18.0.0" - resolved "https://registry.yarnpkg.com/sinon/-/sinon-18.0.0.tgz#69ca293dbc3e82590a8b0d46c97f63ebc1e5fc01" - integrity sha512-+dXDXzD1sBO6HlmZDd7mXZCR/y5ECiEiGCBSGuFD/kZ0bDTofPYc6JaeGmPSF+1j1MejGUWkORbYOLDyvqCWpA== +sinon@^17.0.1: + version "17.0.1" + resolved "https://registry.npmjs.org/sinon/-/sinon-17.0.1.tgz" + integrity sha512-wmwE19Lie0MLT+ZYNpDymasPHUKTaZHUH/pKEubRXIzySv9Atnlw+BUMGCzWgV7b7wO+Hw6f1TEOr0IUnmU8/g== dependencies: - "@sinonjs/commons" "^3.0.1" + "@sinonjs/commons" "^3.0.0" "@sinonjs/fake-timers" "^11.2.2" "@sinonjs/samsam" "^8.0.0" - diff "^5.2.0" - nise "^6.0.0" - supports-color "^7" + diff "^5.1.0" + nise "^5.1.5" + supports-color "^7.2.0" slash@^2.0.0: version "2.0.0" @@ -2774,13 +2789,6 @@ superagent@^9.0.2: mime "2.6.0" qs "^6.11.0" -supports-color@8.1.1: - version "8.1.1" - resolved "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz" - integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== - dependencies: - has-flag "^4.0.0" - supports-color@^5.3.0: version "5.5.0" resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz" @@ -2788,13 +2796,27 @@ supports-color@^5.3.0: dependencies: has-flag "^3.0.0" -supports-color@^7, supports-color@^7.1.0: +supports-color@^7.1.0: + version "7.2.0" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz" + integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== + dependencies: + has-flag "^4.0.0" + +supports-color@^7.2.0: version "7.2.0" resolved "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz" integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== dependencies: has-flag "^4.0.0" +supports-color@8.1.1: + version "8.1.1" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz" + integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== + dependencies: + has-flag "^4.0.0" + supports-preserve-symlinks-flag@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz" @@ -2822,7 +2844,7 @@ tslib@^2.1.0: resolved "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz" integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== -type-detect@4.0.8, type-detect@^4.0.0, type-detect@^4.0.8: +type-detect@^4.0.0, type-detect@^4.0.8, type-detect@4.0.8: version "4.0.8" resolved "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz" integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== @@ -2918,7 +2940,7 @@ yaml@^1.10.0: resolved "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz" integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== -yargs-parser@20.2.4, yargs-parser@^20.2.2: +yargs-parser@^20.2.2, yargs-parser@20.2.4: version "20.2.4" resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz" integrity sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==