diff --git a/.npmignore b/.npmignore index f507bcb..3a55e1e 100644 --- a/.npmignore +++ b/.npmignore @@ -9,6 +9,7 @@ test .eslintrc.json .npmignore .npmrc +.raiseverrc .travis.yml copyright-template.txt rollup.* diff --git a/.raiseverrc b/.raiseverrc new file mode 100644 index 0000000..ed140f3 --- /dev/null +++ b/.raiseverrc @@ -0,0 +1,20 @@ +{ + "changelog": { + "enabled": true, + "path": "CHANGELOG.md", + "encoding": "utf-8", + "prefix": "##", + "bullet": "-" + }, + "git": { + "enabled": true, + "release": "master", + "development": "develop", + "remote": "origin", + "commit": true, + "merge": true, + "all": false, + "tag": true, + "push": false + } +} diff --git a/CHANGELOG.md b/CHANGELOG.md index edaca14..2b07680 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,53 +1,57 @@ -## Changelog +# Changelog -### 4.1.2 (2020-10-13) +## 4.1.3 (2020-12-18) + +- Fixed calculation of Doppler effect (`dopplerFactor`). + +## 4.1.2 (2020-10-13) - Expose `error` in TypeScript definition of `SatRec`. - Fix TypeScript definition for `PositionAndVelocity` to allow error handling. -### 4.1.1 (2020-09-15) +## 4.1.1 (2020-09-15) - Fix TypeScript definition for `gstime` (#73). - Fix documentation and TypeScript definition for `degreesLong` and `degreesLat` (#74). -### 4.1.0 (2020-09-14) +## 4.1.0 (2020-09-14) - TypeScript support is added via new TypeScript definitions file (#71). - Rollup and some other dependencies are upgraded. -### 4.0.0 (2020-01-21) +## 4.0.0 (2020-01-21) - Node.js 12 support is added. Node.js 6 and Node.js 8 support is dropped (breaking change). - Mocha, Chai and Istanbul are replaced by [Jest](https://jestjs.io/). - Dependencies are upgraded. -### 3.0.1 (2019-03-14) +## 3.0.1 (2019-03-14) - Unnecessary calculations in `sgp4` function are reduced (#47). - `vkmpersec` calculation is moved to constants (#50). - `degreesToRadians` function is used in docs instead of `deg2rad` constant (#53). - Typos' fixes (#54). -### 3.0.0 (2018-11-26) +## 3.0.0 (2018-11-26) - Node.js 4 support is dropped (breaking change). - Deprecated functions `gstimeFromJday` and `gstimeFromDate` are removed (breaking change). - New transformation functions are added: `radiansToDegrees`, `degreesToRadians`, `radiansLat`, `radiansLong`. -### 2.0.3 (2018-09-15) +## 2.0.3 (2018-09-15) - `satrec` object is not cloned in `sgp4` and `sgp4init` functions due to [performance reasons](https://github.com/shashwatak/satellite-js/issues/45). -### 2.0.2 (2018-04-16) +## 2.0.2 (2018-04-16) - [Wrong predictions for Molniya 3-47 orbits](https://github.com/shashwatak/satellite-js/issues/43) are fixed. Special thanks to [@nhamer](https://github.com/nhamer). -### 2.0.1 (2018-03-01) +## 2.0.1 (2018-03-01) - `sgp4` function's call result is used in `sgp4init`. - Longitude of `eciToGeodetic` result is in [-PI; PI] range now. -### 2.0.0 (2017-12-23) +## 2.0.0 (2017-12-23) - Library became ES and Common.js compatible. - Source code is reorganized to match [original Python library](https://pypi.python.org/pypi/sgp4/). diff --git a/README.md b/README.md index f53085e..fa54b1e 100644 --- a/README.md +++ b/README.md @@ -28,10 +28,11 @@ Special thanks to all contributors for improving usability and bug fixes :) - [dangodev (Drew Powers)](https://github.com/dangodev) - [thkruz (Theodore Kruczek)](https://github.com/thkruz) - [bakercp (Christopher Baker)](https://github.com/bakercp) -- [Kyle G. Maxwell](https://github.com/kylegmaxwell) -- [Chad Johnston](https://github.com/iamthechad) +- [kylegmaxwell (Kyle G. Maxwell)](https://github.com/kylegmaxwell) +- [iamthechad (Chad Johnston)](https://github.com/iamthechad) - [drom (Aliaksei Chapyzhenka)](https://github.com/drom) - [PeterDaveHello (Peter Dave Hello)](https://github.com/PeterDaveHello) +- [Alesha72003](https://github.com/Alesha72003) - [nhamer](https://github.com/nhamer) - [owntheweb](https://github.com/owntheweb) - [Zigone](https://github.com/Zigone) @@ -221,8 +222,26 @@ npm run lint npm run lint:test ``` -Implementing new functions or features, please, if possible, provide tests to cover them and mention your works -in [Changelog](CHANGELOG.md). +Implementing new functions or features, please, if possible, provide tests to cover them and mention your works in +[Changelog](CHANGELOG.md). Please don't change version number in `package.json` and don't add it to `CHANGELOG.md`. +All these things should be done later with [raise-version](https://github.com/ezze/node-raise-version) when +merging to `master`: + +```bash +npm run raise major +``` + +or + +```bash +npm run raise minor +``` + +or + +```bash +npm run raise patch +``` In order to get test code coverage run the following: diff --git a/package.json b/package.json index 5d8c79c..e0f84cc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "satellite.js", - "version": "4.1.2", + "version": "4.1.3", "description": "SGP4/SDP4 calculation library", "main": "lib/index.js", "jsnext:main": "dist/satellite.es.js", @@ -21,6 +21,7 @@ "test": "jest", "test:coverage": "jest --coverage", "test:coveralls": "npm run test:coverage && cat coverage/lcov.info | coveralls", + "raise": "raise-version", "prepublishOnly": "npm run lint && npm run lint:test && npm test && npm run build" }, "repository": { @@ -60,6 +61,7 @@ "glob": "^7.1.6", "jest": "^26.4.2", "prepend-file": "^2.0.0", + "raise-version": "^0.4.0", "rimraf": "^3.0.2", "rollup": "^2.26.11", "rollup-plugin-terser": "^7.0.2" diff --git a/src/dopplerFactor.js b/src/dopplerFactor.js index 2dbd42c..3d5a9c4 100644 --- a/src/dopplerFactor.js +++ b/src/dopplerFactor.js @@ -1,27 +1,25 @@ export default function dopplerFactor(location, position, velocity) { - const currentRange = Math.sqrt( - ((position.x - location.x) ** 2) - + ((position.y - location.y) ** 2) - + ((position.z - location.z) ** 2)); + const mfactor = 7.292115E-5; + const c = 299792.458; // Speed of light in km/s - const nextPos = { - x: position.x + velocity.x, - y: position.y + velocity.y, - z: position.z + velocity.z, + const range = { + x: position.x - location.x, + y: position.y - location.y, + z: position.z - location.z, }; + range.w = Math.sqrt(range.x ** 2 + range.y ** 2 + range.z ** 2); - const nextRange = Math.sqrt( - ((nextPos.x - location.x) ** 2) - + ((nextPos.y - location.y) ** 2) - + ((nextPos.z - location.z) ** 2)); - - let rangeRate = nextRange - currentRange; + const rangeVel = { + x: velocity.x + mfactor * location.y, + y: velocity.y - mfactor * location.x, + z: velocity.z, + }; function sign(value) { return value >= 0 ? 1 : -1; } - rangeRate *= sign(rangeRate); - const c = 299792.458; // Speed of light in km/s - return (1 + (rangeRate / c)); + const rangeRate = (range.x * rangeVel.x + range.y * rangeVel.y + range.z * rangeVel.z) / range.w; + + return (1 + (rangeRate / c) * sign(rangeRate)); } diff --git a/test/dopplerFactor.test.js b/test/dopplerFactor.test.js index ba83bfe..6b575f7 100644 --- a/test/dopplerFactor.test.js +++ b/test/dopplerFactor.test.js @@ -1,7 +1,70 @@ import dopplerFactor from '../src/dopplerFactor'; // eslint-disable-line +const numDigits = 8; + +const earthRadius = 6378.137; +const sincos45deg = Math.sqrt(2) / 2; + describe('Doppler factor', () => { - it('doppler factor', () => { - // TODO: + it('without observer movement', () => { + // North Pole + const observerEcf = { + x: 0, + y: 0, + z: earthRadius, + }; + const positionEcf = { + x: 0, + y: 0, + z: earthRadius + 500, + }; + // Escape velocity + const velocityEcf = { + x: 7.91, + y: 0, + z: 0, + }; + const dopFactor = dopplerFactor(observerEcf, positionEcf, velocityEcf); + expect(dopFactor).toBeCloseTo(1, numDigits); + }); + + it('movement of observer is not affected', () => { + const observerEcf = { + x: earthRadius, + y: 0, + z: 0, + }; + const positionEcf = { + x: earthRadius + 500, + y: 0, + z: 0, + }; + const velocityEcf = { + x: 0, + y: 7.91, + z: 0, + }; + const dopFactor = dopplerFactor(observerEcf, positionEcf, velocityEcf); + expect(dopFactor).toBeCloseTo(1, numDigits); + }); + + it('special case', () => { + const observerEcf = { + x: earthRadius, + y: 0, + z: 0, + }; + const positionEcf = { + x: (earthRadius + 500) * sincos45deg, // z*sin(45) + y: (earthRadius + 500) * sincos45deg, // z*cos(45) + z: 0, + }; + const velocityEcf = { + x: 7.91 * sincos45deg, + y: 7.91 * sincos45deg, + z: 0, + }; + const dopFactor = dopplerFactor(observerEcf, positionEcf, velocityEcf); + expect(dopFactor).toBeCloseTo(1.0000107847789212, numDigits); }); }); diff --git a/yarn.lock b/yarn.lock index 941e35a..d5622ab 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1389,6 +1389,11 @@ asynckit@^0.4.0: resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" integrity sha1-x57Zf380y48robyXkLzDZkdLS3k= +at-least-node@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2" + integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== + atob@^2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" @@ -1698,6 +1703,15 @@ cliui@^6.0.0: strip-ansi "^6.0.0" wrap-ansi "^6.2.0" +cliui@^7.0.2: + version "7.0.4" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" + integrity sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ== + dependencies: + string-width "^4.2.0" + strip-ansi "^6.0.0" + wrap-ansi "^7.0.0" + co@^4.6.0: version "4.6.0" resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" @@ -1848,7 +1862,7 @@ cross-spawn@^6.0.0: shebang-command "^1.2.0" which "^1.2.9" -cross-spawn@^7.0.0, cross-spawn@^7.0.1, cross-spawn@^7.0.2: +cross-spawn@^7.0.0, cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== @@ -2093,6 +2107,11 @@ escalade@^3.0.2: resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.0.2.tgz#6a580d70edb87880f22b4c91d0d56078df6962c4" integrity sha512-gPYAU37hYCUhW5euPeR+Y74F7BL+IBsV93j5cvGriSaD1aG6MGsqsV1yamRdrWrb2j3aiZvb0X+UBOWpx3JWtQ== +escalade@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" + integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== + escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" @@ -2303,6 +2322,21 @@ execa@^4.0.0: signal-exit "^3.0.2" strip-final-newline "^2.0.0" +execa@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/execa/-/execa-5.0.0.tgz#4029b0007998a841fbd1032e5f4de86a3c1e3376" + integrity sha512-ov6w/2LCiuyO4RLYGdpFGjkcs0wMTgGE8PrkTHikeUy5iJekXyPIKUjifk5CsE0pt7sMCrMZ3YNqoCj6idQOnQ== + 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" + exit@^0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" @@ -2499,6 +2533,16 @@ fragment-cache@^0.2.1: dependencies: map-cache "^0.2.2" +fs-extra@^9.0.1: + version "9.0.1" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.0.1.tgz#910da0062437ba4c39fedd863f1675ccfefcb9fc" + integrity sha512-h2iAoN838FqAFJY2/qVpzFXy+EBxfVE220PalAqQLDVsFOHLJrZvut5puAbCdNv6WJk+B8ihI+k0c7JK5erwqQ== + dependencies: + at-least-node "^1.0.0" + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^1.0.0" + fs-readdir-recursive@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz#e32fc030a2ccee44a6b5371308da54be0b397d27" @@ -2537,7 +2581,7 @@ gensync@^1.0.0-beta.1: resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.1.tgz#58f4361ff987e5ff6e1e7a210827aa371eaac269" integrity sha512-r8EC6NO1sngH/zdD9fiRDLdcgnbayXah+mLgManTaIZJqEC1MZstmnox8KpnI2/fxQwrp5OpCOYWLp4rBl4Jcg== -get-caller-file@^2.0.1: +get-caller-file@^2.0.1, get-caller-file@^2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== @@ -2561,6 +2605,11 @@ get-stream@^5.0.0: dependencies: pump "^3.0.0" +get-stream@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.0.tgz#3e0012cb6827319da2706e601a1583e8629a6718" + integrity sha512-A1B3Bh1UmL0bidM/YX2NsCOTnGJePL9rO/M+Mw3m9f2gUpfokS0hi5Eah0WSUEWZdZhIZtMjkIYS7mDfOqNHbg== + get-value@^2.0.3, get-value@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" @@ -2612,7 +2661,7 @@ globals@^12.1.0: dependencies: type-fest "^0.8.1" -graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.2.4: +graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.4: version "4.2.4" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.4.tgz#2256bde14d3632958c465ebc96dc467ca07a29fb" integrity sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw== @@ -2719,6 +2768,11 @@ human-signals@^1.1.1: resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3" integrity sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw== +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== + iconv-lite@0.4.24: version "0.4.24" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" @@ -3532,6 +3586,15 @@ json5@^2.1.2: dependencies: minimist "^1.2.5" +jsonfile@^6.0.1: + version "6.1.0" + resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae" + integrity sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ== + dependencies: + universalify "^2.0.0" + optionalDependencies: + graceful-fs "^4.1.6" + jsprim@^1.2.2: version "1.4.1" resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2" @@ -3664,6 +3727,13 @@ loose-envify@^1.0.0: dependencies: js-tokens "^3.0.0 || ^4.0.0" +lru-cache@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" + integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== + dependencies: + yallist "^4.0.0" + make-dir@^2.0.0, make-dir@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" @@ -3779,6 +3849,11 @@ mkdirp@^1.0.4: resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== +moment@^2.29.1: + version "2.29.1" + resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.1.tgz#b2be769fa31940be9eeea6469c075e35006fa3d3" + integrity sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ== + ms@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" @@ -3885,7 +3960,7 @@ npm-run-path@^2.0.0: dependencies: path-key "^2.0.0" -npm-run-path@^4.0.0: +npm-run-path@^4.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== @@ -3971,7 +4046,7 @@ once@^1.3.0, once@^1.3.1, 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== @@ -4255,6 +4330,17 @@ qs@~6.5.2: resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA== +raise-version@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/raise-version/-/raise-version-0.4.0.tgz#75880ed45f5d8fda68c667e27576a98b7f03b7b6" + integrity sha512-Cf1Tr84DercNx/yIdffAGzeRFxT46lLEjM71h2qCByfkKQzCV+k4TlKMfWM/m5JtBfO2Px1yWwOrl0Q0o854bQ== + dependencies: + execa "^5.0.0" + fs-extra "^9.0.1" + moment "^2.29.1" + semver "^7.3.4" + yargs "^16.2.0" + randombytes@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" @@ -4604,6 +4690,13 @@ semver@^7.2.1, semver@^7.3.2: resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.2.tgz#604962b052b81ed0786aae84389ffba70ffd3938" integrity sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ== +semver@^7.3.4: + version "7.3.4" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.4.tgz#27aaa7d2e4ca76452f98d3add093a72c943edc97" + integrity sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw== + dependencies: + lru-cache "^6.0.0" + serialize-javascript@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-4.0.0.tgz#b525e1238489a5ecfc42afacc3fe99e666f4b1aa" @@ -4655,7 +4748,7 @@ shellwords@^0.1.1: resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b" integrity sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww== -signal-exit@^3.0.0, signal-exit@^3.0.2: +signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c" integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA== @@ -5178,6 +5271,16 @@ union-value@^1.0.0: is-extendable "^0.1.1" set-value "^2.0.1" +universalify@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/universalify/-/universalify-1.0.0.tgz#b61a1da173e8435b2fe3c67d29b9adf8594bd16d" + integrity sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug== + +universalify@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717" + integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ== + unset-value@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559" @@ -5339,6 +5442,15 @@ wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrappy@1: version "1.0.2" resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" @@ -5386,6 +5498,16 @@ y18n@^4.0.0: resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b" integrity sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w== +y18n@^5.0.5: + version "5.0.5" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.5.tgz#8769ec08d03b1ea2df2500acef561743bbb9ab18" + integrity sha512-hsRUr4FFrvhhRH12wOdfs38Gy7k2FFzB9qgN9v3aLykRq0dRcdcpz5C9FxdS2NuhOrI/628b/KSTJ3rwHysYSg== + +yallist@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" + integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + yargs-parser@^18.1.2: version "18.1.3" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0" @@ -5394,6 +5516,11 @@ yargs-parser@^18.1.2: camelcase "^5.0.0" decamelize "^1.2.0" +yargs-parser@^20.2.2: + version "20.2.4" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.4.tgz#b42890f14566796f85ae8e3a25290d205f154a54" + integrity sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA== + yargs@^15.3.1: version "15.4.1" resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.4.1.tgz#0d87a16de01aee9d8bec2bfbf74f67851730f4f8" @@ -5410,3 +5537,16 @@ yargs@^15.3.1: which-module "^2.0.0" y18n "^4.0.0" yargs-parser "^18.1.2" + +yargs@^16.2.0: + version "16.2.0" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" + integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== + dependencies: + cliui "^7.0.2" + escalade "^3.1.1" + get-caller-file "^2.0.5" + require-directory "^2.1.1" + string-width "^4.2.0" + y18n "^5.0.5" + yargs-parser "^20.2.2"