diff --git a/package.json b/package.json index a4f5ee4..f33a423 100644 --- a/package.json +++ b/package.json @@ -26,9 +26,9 @@ "@vue/compiler-sfc": "^3.0.5", "autoprefixer": "^10.2.5", "cross-env": "^7.0.3", - "electron": "^13.5.2", + "electron": "13.5.2", "electron-builder": "^22.10.5", - "electron-rebuild": "^2.3.4", + "electron-rebuild": "2.3.5", "postcss": "^8.2.10", "rimraf": "^3.0.2", "tailwindcss": "^2.1.1", diff --git a/src/render/api/util.js b/src/render/api/util.js index edd9b65..c2f9300 100644 --- a/src/render/api/util.js +++ b/src/render/api/util.js @@ -43,6 +43,7 @@ export function getNMEAObj(nmeaStr) { export function getGSAGSV (nmeaStr) { const nmeaObj = getNMEAObj(nmeaStr) + console.log(nmeaObj, '================') if (!nmeaObj || !nmeaObj.GSV || !nmeaObj.GSA) return null const { GSV, GSA } = nmeaObj diff --git a/src/render/components/ScrollBoardTable.vue b/src/render/components/ScrollBoardTable.vue index 82bedcd..745f921 100644 --- a/src/render/components/ScrollBoardTable.vue +++ b/src/render/components/ScrollBoardTable.vue @@ -63,7 +63,7 @@ const update = (GSVArr: Array) => { GSVArr.forEach((GSV) => { satellites = satellites.concat(GSV.satellites) }) - console.log(satellites, '===================='); + // console.log(satellites, '===================='); data.satellites = satellites } diff --git a/yarn.lock b/yarn.lock index 06bae79..dd353b1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -256,13 +256,13 @@ integrity sha1-MbfKZAcSij0rvCf+LSGzRTl/YZc= "@types/node@*": - version "16.11.9" - resolved "https://registry.npmmirror.com/@types/node/download/@types/node-16.11.9.tgz?cache=0&sync_timestamp=1637310817584&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2F%40types%2Fnode%2Fdownload%2F%40types%2Fnode-16.11.9.tgz#879be3ad7af29f4c1a5c433421bf99fab7047185" - integrity sha512-MKmdASMf3LtPzwLyRrFjtFFZ48cMf8jmX5VRYrDQiJa8Ybu5VAmkqBWqKU8fdCwD8ysw4mQ9nrEHvzg6gunR7A== + version "16.11.10" + resolved "https://registry.npmmirror.com/@types/node/download/@types/node-16.11.10.tgz#2e3ad0a680d96367103d3e670d41c2fed3da61ae" + integrity sha512-3aRnHa1KlOEEhJ6+CvyHKK5vE9BcLGjtUpwvqYLRvYNQKMfabu3BwfJaA/SLW8dxe28LsNDjtHwePTuzn3gmOA== "@types/node@^14.6.2": version "14.17.34" - resolved "https://registry.npmmirror.com/@types/node/download/@types/node-14.17.34.tgz?cache=0&sync_timestamp=1637310817584&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2F%40types%2Fnode%2Fdownload%2F%40types%2Fnode-14.17.34.tgz#fe4b38b3f07617c0fa31ae923fca9249641038f0" + resolved "https://registry.npmmirror.com/@types/node/download/@types/node-14.17.34.tgz#fe4b38b3f07617c0fa31ae923fca9249641038f0" integrity sha512-USUftMYpmuMzeWobskoPfzDi+vkpe0dvcOBRNOscFrGxVp4jomnRxWuVohgqBow2xyIPC0S3gjxV/5079jhmDg== "@types/parse-json@^4.0.0": @@ -303,9 +303,9 @@ "@types/yargs-parser" "*" "@vitejs/plugin-vue@^1.1.5": - version "1.9.4" - resolved "https://registry.npmmirror.com/@vitejs/plugin-vue/download/@vitejs/plugin-vue-1.9.4.tgz#4f48485432cbb986a9fb9d254dc33ce30ddccbfa" - integrity sha1-T0hIVDLLuYap+50lTcM84w3cy/o= + version "1.10.0" + resolved "https://registry.npmmirror.com/@vitejs/plugin-vue/download/@vitejs/plugin-vue-1.10.0.tgz#d015c12d905bb7f76274c2bb272c3662151bf3c0" + integrity sha512-XkSN7lduhQ3z/WMXv2spqt9TCS0znCjnvIGmbud2bxViWWWR4JWXE+x/cQZ/klR0Ug4Ts9eubL7LXAysON5Uvg== "@vue/compiler-core@3.2.22": version "3.2.22" @@ -438,12 +438,12 @@ ajv-formats@^2.1.1: ajv-keywords@^3.4.1: version "3.5.2" - resolved "https://registry.nlark.com/ajv-keywords/download/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d" + resolved "https://registry.npmmirror.com/ajv-keywords/download/ajv-keywords-3.5.2.tgz?cache=0&sync_timestamp=1637523772179&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fajv-keywords%2Fdownload%2Fajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d" integrity sha1-MfKdpatuANHC0yms97WSlhTVAU0= ajv@^6.10.0, ajv@^6.12.0, ajv@^6.12.3: version "6.12.6" - resolved "https://registry.npmmirror.com/ajv/download/ajv-6.12.6.tgz?cache=0&sync_timestamp=1637094066870&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fajv%2Fdownload%2Fajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" + resolved "https://registry.npmmirror.com/ajv/download/ajv-6.12.6.tgz?cache=0&sync_timestamp=1637522318370&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fajv%2Fdownload%2Fajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" integrity sha1-uvWmLoArB9l3A0WG+MO69a3ybfQ= dependencies: fast-deep-equal "^3.1.1" @@ -452,9 +452,9 @@ ajv@^6.10.0, ajv@^6.12.0, ajv@^6.12.3: uri-js "^4.2.2" ajv@^8.0.0, ajv@^8.6.3: - version "8.8.1" - resolved "https://registry.npmmirror.com/ajv/download/ajv-8.8.1.tgz?cache=0&sync_timestamp=1637094066870&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fajv%2Fdownload%2Fajv-8.8.1.tgz#e73dd88eeb4b10bbcd82bee136e6fbe801664d18" - integrity sha512-6CiMNDrzv0ZR916u2T+iRunnD60uWmNn8SkdB44/6stVORUg0aAkWO7PkOhpCmjmW8f2I/G/xnowD66fxGyQJg== + version "8.8.2" + resolved "https://registry.npmmirror.com/ajv/download/ajv-8.8.2.tgz?cache=0&sync_timestamp=1637522318370&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fajv%2Fdownload%2Fajv-8.8.2.tgz#01b4fef2007a28bf75f0b7fc009f62679de4abbb" + integrity sha512-x9VuX+R/jcFj1DHo/fCp99esgGDWiHENrKxaCENuCxpoMCmAt/COCGVDwA7kleEpEzJjDnvh3yGoOuLu0Dtllw== dependencies: fast-deep-equal "^3.1.1" json-schema-traverse "^1.0.0" @@ -915,13 +915,13 @@ chromium-pickle-js@^0.2.0: ci-info@^2.0.0: version "2.0.0" - resolved "https://registry.nlark.com/ci-info/download/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" + resolved "https://registry.npmmirror.com/ci-info/download/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" integrity sha1-Z6npZL4xpR4V5QENWObxKDQAL0Y= ci-info@^3.2.0: - version "3.2.0" - resolved "https://registry.nlark.com/ci-info/download/ci-info-3.2.0.tgz#2876cb948a498797b5236f0095bc057d0dca38b6" - integrity sha1-KHbLlIpJh5e1I28AlbwFfQ3KOLY= + version "3.3.0" + resolved "https://registry.npmmirror.com/ci-info/download/ci-info-3.3.0.tgz#b4ed1fb6818dea4803a55c623041f9165d2066b2" + integrity sha512-riT/3vI5YpVH6/qomlDnJow6TBee2PBKSEpx3O32EGPYbWGIRsIlGRms3Sm74wYE1JMo8RnO04Hb12+v1J5ICw== claygl@^1.2.1: version "1.3.0" @@ -1099,7 +1099,7 @@ config-chain@^1.1.11: configstore@^5.0.1: version "5.0.1" - resolved "https://registry.nlark.com/configstore/download/configstore-5.0.1.tgz#d365021b5df4b98cdd187d6a3b0e3f6a7cc5ed96" + resolved "https://registry.npm.taobao.org/configstore/download/configstore-5.0.1.tgz#d365021b5df4b98cdd187d6a3b0e3f6a7cc5ed96" integrity sha1-02UCG130uYzdGH1qOw4/anzF7ZY= dependencies: dot-prop "^5.2.0" @@ -1469,7 +1469,7 @@ electron-publish@22.14.5: lazy-val "^1.0.5" mime "^2.5.2" -electron-rebuild@^2.3.4: +electron-rebuild@2.3.5: version "2.3.5" resolved "https://registry.npmmirror.com/electron-rebuild/download/electron-rebuild-2.3.5.tgz#10dc38d1ffe1515ba2eef8b8be8e973ad1e1d597" integrity sha1-ENw40f/hUVui7vi4vo6XOtHh1Zc= @@ -1496,14 +1496,14 @@ electron-store@^8.0.1: type-fest "^1.0.2" electron-to-chromium@^1.3.896: - version "1.3.904" - resolved "https://registry.npmmirror.com/electron-to-chromium/download/electron-to-chromium-1.3.904.tgz?cache=0&sync_timestamp=1637391807108&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Felectron-to-chromium%2Fdownload%2Felectron-to-chromium-1.3.904.tgz#52a353994faeb0f2a9fab3606b4e0614d1af7b58" - integrity sha512-x5uZWXcVNYkTh4JubD7KSC1VMKz0vZwJUqVwY3ihsW0bst1BXDe494Uqbg3Y0fDGVjJqA8vEeGuvO5foyH2+qw== + version "1.4.0" + resolved "https://registry.npmmirror.com/electron-to-chromium/download/electron-to-chromium-1.4.0.tgz#7456192519838f881e35e4038bf4ad2c36353e63" + integrity sha512-+oXCt6SaIu8EmFTPx8wNGSB0tHQ5biDscnlf6Uxuz17e9CjzMRtGk9B8705aMPnj0iWr3iC74WuIkngCsLElmA== -electron@^13.5.2: - version "13.6.2" - resolved "https://registry.npmmirror.com/electron/download/electron-13.6.2.tgz#878e01d78cd442a8ec28340b271608ba5b7c7ebd" - integrity sha512-ZXx9t68yXftvNZVnQ7v2XHcnH+MPUF6LNStoz4MMXuWpkF9gq3qwjcYSqnbM4wiVkvWVHIyYvt1yemmStza9dQ== +electron@13.5.2: + version "13.5.2" + resolved "https://registry.npmmirror.com/electron/download/electron-13.5.2.tgz#5c5826e58a5e12bb5ca8047b789d07b45260ecbc" + integrity sha1-XFgm5YpeErtcqAR7eJ0HtFJg7Lw= dependencies: "@electron/get" "^1.0.1" "@types/node" "^14.6.2" @@ -2478,7 +2478,7 @@ lilconfig@^2.0.3: lines-and-columns@^1.1.6: version "1.2.4" - resolved "https://registry.npmmirror.com/lines-and-columns/download/lines-and-columns-1.2.4.tgz?cache=0&sync_timestamp=1637465481769&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Flines-and-columns%2Fdownload%2Flines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" + resolved "https://registry.npmmirror.com/lines-and-columns/download/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== locate-path@^3.0.0: @@ -2720,7 +2720,7 @@ needle@^2.2.1: "nmea@git+https://e.coding.net/hwasmart/beidou-satellite-data-monitor/node-nmea.git": version "0.1.2" - resolved "git+https://e.coding.net/hwasmart/beidou-satellite-data-monitor/node-nmea.git#91bd9c80f6cb29f9eaeb93e842696a888bfc1f41" + resolved "git+https://e.coding.net/hwasmart/beidou-satellite-data-monitor/node-nmea.git#51e75417822935c676166638d0e99d7a19fc5c4c" dependencies: JSONStream "0.7" through ">=2.2.7 <3" @@ -2746,7 +2746,7 @@ node-emoji@^1.11.0: node-gyp@^7.1.0: version "7.1.2" - resolved "https://registry.npmmirror.com/node-gyp/download/node-gyp-7.1.2.tgz?cache=0&sync_timestamp=1636105138448&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fnode-gyp%2Fdownload%2Fnode-gyp-7.1.2.tgz#21a810aebb187120251c3bcec979af1587b188ae" + resolved "https://registry.npmmirror.com/node-gyp/download/node-gyp-7.1.2.tgz?cache=0&sync_timestamp=1637570066245&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fnode-gyp%2Fdownload%2Fnode-gyp-7.1.2.tgz#21a810aebb187120251c3bcec979af1587b188ae" integrity sha1-IagQrrsYcSAlHDvOyXmvFYexiK4= dependencies: env-paths "^2.2.0" @@ -3091,13 +3091,13 @@ postcss-value-parser@^4.1.0: integrity sha1-RD9qIM7WSBor2k+oUypuVdeJoss= postcss@^8.1.10, postcss@^8.1.6, postcss@^8.2.1, postcss@^8.2.10, postcss@^8.3.8: - version "8.3.11" - resolved "https://registry.npmmirror.com/postcss/download/postcss-8.3.11.tgz#c3beca7ea811cd5e1c4a3ec6d2e7599ef1f8f858" - integrity sha1-w77KfqgRzV4cSj7G0udZnvH4+Fg= + version "8.4.0" + resolved "https://registry.npmmirror.com/postcss/download/postcss-8.4.0.tgz#cd4c33af00a00ba93ccf6ae1219f57c5e5ab5234" + integrity sha512-BRMNx3Wy7UI89jN8H4ZVS5lQMPM2OSMkOkvDCSjwXa7PWTs24k7Lm55NXLbMbs070LvraXaxN5l1npSOS6wMVw== dependencies: nanoid "^3.1.30" picocolors "^1.0.0" - source-map-js "^0.6.2" + source-map-js "^1.0.1" prebuild-install@^6.1.4: version "6.1.4" @@ -3393,9 +3393,9 @@ roarr@^2.15.3: sprintf-js "^1.1.2" rollup@^2.57.0: - version "2.60.0" - resolved "https://registry.npmmirror.com/rollup/download/rollup-2.60.0.tgz?cache=0&sync_timestamp=1636694225026&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Frollup%2Fdownload%2Frollup-2.60.0.tgz#4ee60ab7bdd0356763f87d7099f413e5460fc193" - integrity sha512-cHdv9GWd58v58rdseC8e8XIaPUo8a9cgZpnCMMDGZFDZKEODOiPPEQFXLriWr/TjXzhPPmG5bkAztPsOARIcGQ== + version "2.60.1" + resolved "https://registry.npmmirror.com/rollup/download/rollup-2.60.1.tgz?cache=0&sync_timestamp=1637567576726&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Frollup%2Fdownload%2Frollup-2.60.1.tgz#4b34cd247f09b421f10a3c9286eda2ecf9972079" + integrity sha512-akwfnpjY0rXEDSn1UTVfKXJhPsEBu+imi1gqBA1ZkHGydUnkV/fWCC90P7rDaLEW8KTwBcS1G3N4893Ndz+jwg== optionalDependencies: fsevents "~2.3.2" @@ -3541,10 +3541,10 @@ smart-buffer@^4.0.2: resolved "https://registry.nlark.com/smart-buffer/download/smart-buffer-4.2.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fsmart-buffer%2Fdownload%2Fsmart-buffer-4.2.0.tgz#6e1d71fa4f18c05f7d0ff216dd16a481d0e8d9ae" integrity sha1-bh1x+k8YwF99D/IW3RakgdDo2a4= -source-map-js@^0.6.2: - version "0.6.2" - resolved "https://registry.npmmirror.com/source-map-js/download/source-map-js-0.6.2.tgz?cache=0&sync_timestamp=1636400772640&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fsource-map-js%2Fdownload%2Fsource-map-js-0.6.2.tgz#0bb5de631b41cfbda6cfba8bd05a80efdfd2385e" - integrity sha1-C7XeYxtBz72mz7qL0FqA79/SOF4= +source-map-js@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/source-map-js/download/source-map-js-1.0.1.tgz?cache=0&sync_timestamp=1636400772640&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fsource-map-js%2Fdownload%2Fsource-map-js-1.0.1.tgz#a1741c131e3c77d048252adfa24e23b908670caf" + integrity sha512-4+TN2b3tqOCd/kaGRJ/sTYA0tR0mdXx26ipdolxcwtJVqEnqNYvlCAt1q3ypy4QMlYus+Zh34RNtYLoq2oQ4IA== source-map-support@^0.5.17, source-map-support@^0.5.19: version "0.5.21"