mirror of
https://github.com/System-End/slack-end.git
synced 2026-04-19 22:05:10 +00:00
feat: watch tz
This commit is contained in:
parent
1767e667f5
commit
6c9c534c58
3 changed files with 220 additions and 14 deletions
|
|
@ -18,6 +18,7 @@
|
|||
"dotenv": "^16.4.5",
|
||||
"eventsource": "latest",
|
||||
"form-data": "^4.0.1",
|
||||
"geo-tz": "^8.1.2",
|
||||
"ms": "^2.1.3",
|
||||
"node-cron": "^3.0.3",
|
||||
"node-ical": "^0.20.1",
|
||||
|
|
|
|||
|
|
@ -1,24 +1,59 @@
|
|||
import { ModifiedApp } from "./slackapp";
|
||||
import cron from "node-cron";
|
||||
import {find as findTz} from "geo-tz"
|
||||
export default function watchLocation() {
|
||||
const location = null;
|
||||
// todo
|
||||
}
|
||||
export interface ShortcutUpdate {
|
||||
battery: number;
|
||||
clipboard: string;
|
||||
focus: string
|
||||
'weather ': string;
|
||||
location: {
|
||||
lat: number;
|
||||
long: number;
|
||||
city: string;
|
||||
addr: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export async function watchBattery(app: ModifiedApp) {
|
||||
const data = await fetch(
|
||||
process.env.ZEON_DISCORD_INSTANCE + "/irl/shortcut_updates",
|
||||
{
|
||||
headers: {
|
||||
Authorization: process.env.IRL_AUTH,
|
||||
},
|
||||
},
|
||||
).then((r) => r.json());
|
||||
}
|
||||
export interface IrlData {
|
||||
latest_entry: ShortcutUpdate
|
||||
}
|
||||
const mainTimezone = "America/New_York";
|
||||
// ontimezoneswitch;
|
||||
export async function watchTimezone(app: ModifiedApp, data: IrlData) {
|
||||
const tz = findTz(data.latest_entry.location.lat, data.latest_entry.location.long)[0]
|
||||
if(tz !== mainTimezone) {
|
||||
const m = await app.client.chat.postMessage({
|
||||
text: `Hello yall! Neon's tz has changed to *${tz}*\n_replies from neon may now differ..._`,
|
||||
channel: `C07R8DYAZMM`
|
||||
})
|
||||
app.db.set(`tz`, {
|
||||
tz: tz,
|
||||
m: m.ts
|
||||
})
|
||||
} else {
|
||||
if(app.db.get(`tz`)) {
|
||||
await app.client.chat.postMessage({
|
||||
thread_ts: app.db.get(`tz`).m,
|
||||
text: `Neon is back to his normal tz`,
|
||||
channel: `C07R8DYAZMM`,
|
||||
reply_broadcast: true
|
||||
})
|
||||
app.db.delete(`tz`)
|
||||
}
|
||||
}
|
||||
}
|
||||
export async function watchBattery(app: ModifiedApp, data: IrlData) {
|
||||
|
||||
const newBattery = data.latest_entry.battery;
|
||||
const lastEntry = app.db.get(`phone_battery`);
|
||||
if (newBattery != lastEntry && Math.abs(newBattery - lastEntry) > 50) {
|
||||
app.client.chat.postMessage({
|
||||
channel: `C07UNAHD9C3`,
|
||||
channel: `C07R8DYAZMM`,
|
||||
text: `Battery: *${newBattery}%* (changed more then 50%)`,
|
||||
});
|
||||
}
|
||||
|
|
@ -27,7 +62,7 @@ export async function watchBattery(app: ModifiedApp) {
|
|||
(app.db.get(`phone_bat_noti`) || 0) - Date.now() > 1000 * 60 * 10
|
||||
) {
|
||||
app.client.chat.postMessage({
|
||||
channel: `C07UNAHD9C3`,
|
||||
channel: `C07R8DYAZMM`,
|
||||
text: `Hey your at %${newBattery}% battery, please charge your phone you idiot.`,
|
||||
});
|
||||
app.db.set(`phone_bat_noti`, Date.now());
|
||||
|
|
@ -37,6 +72,15 @@ export async function watchBattery(app: ModifiedApp) {
|
|||
|
||||
export function setupCronForIrl(app: ModifiedApp) {
|
||||
cron.schedule("*/5 * * * *", async () => {
|
||||
watchBattery(app);
|
||||
const data = await fetch(
|
||||
process.env.ZEON_DISCORD_INSTANCE + "/irl/shortcut_updates",
|
||||
{
|
||||
headers: {
|
||||
Authorization: process.env.IRL_AUTH,
|
||||
},
|
||||
},
|
||||
).then((r) => r.json()) as IrlData;
|
||||
watchBattery(app, data);
|
||||
watchTimezone(app, data);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
165
yarn.lock
165
yarn.lock
|
|
@ -556,6 +556,34 @@
|
|||
resolved "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz"
|
||||
integrity sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==
|
||||
|
||||
"@turf/boolean-point-in-polygon@^7.1.0":
|
||||
version "7.1.0"
|
||||
resolved "https://registry.yarnpkg.com/@turf/boolean-point-in-polygon/-/boolean-point-in-polygon-7.1.0.tgz#dec07b467d74b4409eb03acc60b874958f71b49a"
|
||||
integrity sha512-mprVsyIQ+ijWTZwbnO4Jhxu94ZW2M2CheqLiRTsGJy0Ooay9v6Av5/Nl3/Gst7ZVXxPqMeMaFYkSzcTc87AKew==
|
||||
dependencies:
|
||||
"@turf/helpers" "^7.1.0"
|
||||
"@turf/invariant" "^7.1.0"
|
||||
"@types/geojson" "^7946.0.10"
|
||||
point-in-polygon-hao "^1.1.0"
|
||||
tslib "^2.6.2"
|
||||
|
||||
"@turf/helpers@^7.1.0":
|
||||
version "7.1.0"
|
||||
resolved "https://registry.yarnpkg.com/@turf/helpers/-/helpers-7.1.0.tgz#eb734e291c9c205822acdd289fe20e91c3cb1641"
|
||||
integrity sha512-dTeILEUVeNbaEeoZUOhxH5auv7WWlOShbx7QSd4s0T4Z0/iz90z9yaVCtZOLbU89umKotwKaJQltBNO9CzVgaQ==
|
||||
dependencies:
|
||||
"@types/geojson" "^7946.0.10"
|
||||
tslib "^2.6.2"
|
||||
|
||||
"@turf/invariant@^7.1.0":
|
||||
version "7.1.0"
|
||||
resolved "https://registry.yarnpkg.com/@turf/invariant/-/invariant-7.1.0.tgz#c90cffa093291316b597212396d68bf9e465cf2e"
|
||||
integrity sha512-OCLNqkItBYIP1nE9lJGuIUatWGtQ4rhBKAyTfFu0z8npVzGEYzvguEeof8/6LkKmTTEHW53tCjoEhSSzdRh08Q==
|
||||
dependencies:
|
||||
"@turf/helpers" "^7.1.0"
|
||||
"@types/geojson" "^7946.0.10"
|
||||
tslib "^2.6.2"
|
||||
|
||||
"@types/body-parser@*":
|
||||
version "1.19.5"
|
||||
resolved "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.5.tgz"
|
||||
|
|
@ -610,6 +638,11 @@
|
|||
"@types/qs" "*"
|
||||
"@types/serve-static" "*"
|
||||
|
||||
"@types/geojson@^7946.0.10":
|
||||
version "7946.0.15"
|
||||
resolved "https://registry.yarnpkg.com/@types/geojson/-/geojson-7946.0.15.tgz#f9d55fd5a0aa2de9dc80b1b04e437538b7298868"
|
||||
integrity sha512-9oSxFzDCT2Rj6DfcHF8G++jxBKS7mBqXl5xrRW+Kbvjry6Uduya2iiwqHPhVXpasAVMBYKkEPGgKhd3+/HZ6xA==
|
||||
|
||||
"@types/http-errors@*":
|
||||
version "2.0.4"
|
||||
resolved "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.4.tgz"
|
||||
|
|
@ -881,6 +914,11 @@ array-flatten@1.1.1:
|
|||
resolved "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz"
|
||||
integrity sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==
|
||||
|
||||
array-source@0.0:
|
||||
version "0.0.4"
|
||||
resolved "https://registry.yarnpkg.com/array-source/-/array-source-0.0.4.tgz#a525df4a84b1376d27c677cd426a97c3882f8aca"
|
||||
integrity sha512-frNdc+zBn80vipY+GdcJkLEbMWj3xmzArYApmUGxoiV8uAu/ygcs9icPdsGdA26h0MkHUMW6EN2piIvVx+M5Mw==
|
||||
|
||||
array.prototype.map@^1.0.5:
|
||||
version "1.0.7"
|
||||
resolved "https://registry.npmjs.org/array.prototype.map/-/array.prototype.map-1.0.7.tgz"
|
||||
|
|
@ -1080,6 +1118,11 @@ buffer-equal-constant-time@1.0.1:
|
|||
resolved "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz"
|
||||
integrity sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==
|
||||
|
||||
buffer-from@^1.0.0:
|
||||
version "1.1.2"
|
||||
resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5"
|
||||
integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==
|
||||
|
||||
buffer-xor@^1.0.3:
|
||||
version "1.0.3"
|
||||
resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9"
|
||||
|
|
@ -1245,6 +1288,11 @@ combined-stream@^1.0.6, combined-stream@^1.0.8:
|
|||
dependencies:
|
||||
delayed-stream "~1.0.0"
|
||||
|
||||
commander@2:
|
||||
version "2.20.3"
|
||||
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
|
||||
integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==
|
||||
|
||||
commander@^12.0.0:
|
||||
version "12.1.0"
|
||||
resolved "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz"
|
||||
|
|
@ -1260,6 +1308,16 @@ concat-map@0.0.1:
|
|||
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
|
||||
integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==
|
||||
|
||||
concat-stream@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-2.0.0.tgz#414cf5af790a48c60ab9be4527d56d5e41133cb1"
|
||||
integrity sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==
|
||||
dependencies:
|
||||
buffer-from "^1.0.0"
|
||||
inherits "^2.0.3"
|
||||
readable-stream "^3.0.2"
|
||||
typedarray "^0.0.6"
|
||||
|
||||
console-control-strings@^1.0.0, console-control-strings@^1.1.0:
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e"
|
||||
|
|
@ -1840,6 +1898,13 @@ figures@^3.0.0:
|
|||
dependencies:
|
||||
escape-string-regexp "^1.0.5"
|
||||
|
||||
file-source@0.6:
|
||||
version "0.6.1"
|
||||
resolved "https://registry.yarnpkg.com/file-source/-/file-source-0.6.1.tgz#ae189d4993766b865a77f83adcf9b9a504cd37dc"
|
||||
integrity sha512-1R1KneL7eTXmXfKxC10V/9NeGOdbsAXJ+lQ//fvvcHUgtaZcZDWNJNblxAoVOyV1cj45pOtUrR3vZTBwqcW8XA==
|
||||
dependencies:
|
||||
stream-source "0.3"
|
||||
|
||||
finalhandler@1.2.0:
|
||||
version "1.2.0"
|
||||
resolved "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz"
|
||||
|
|
@ -1967,6 +2032,25 @@ gauge@^3.0.0:
|
|||
strip-ansi "^6.0.1"
|
||||
wide-align "^1.1.2"
|
||||
|
||||
geo-tz@^8.1.2:
|
||||
version "8.1.2"
|
||||
resolved "https://registry.yarnpkg.com/geo-tz/-/geo-tz-8.1.2.tgz#2c3087758acf6ff67630ce096ebc9ac4df681ff1"
|
||||
integrity sha512-S1udoP7MZ+CVu+7Iy/VayVNmEHTWgfJ52TjpfC2/4f+j0SB/ZXMjGrwZTqPMo6/O2m5lrGLCFCY0bkxUqiLN+g==
|
||||
dependencies:
|
||||
"@turf/boolean-point-in-polygon" "^7.1.0"
|
||||
"@turf/helpers" "^7.1.0"
|
||||
geobuf "^3.0.2"
|
||||
pbf "^3.2.1"
|
||||
|
||||
geobuf@^3.0.2:
|
||||
version "3.0.2"
|
||||
resolved "https://registry.yarnpkg.com/geobuf/-/geobuf-3.0.2.tgz#9b4debb57ce72ca2bef027223f3098c4f3975cd3"
|
||||
integrity sha512-ASgKwEAQQRnyNFHNvpd5uAwstbVYmiTW0Caw3fBb509tNTqXyAAPMyFs5NNihsLZhLxU1j/kjFhkhLWA9djuVg==
|
||||
dependencies:
|
||||
concat-stream "^2.0.0"
|
||||
pbf "^3.2.1"
|
||||
shapefile "~0.6.6"
|
||||
|
||||
get-intrinsic@^1.1.3, get-intrinsic@^1.2.1, get-intrinsic@^1.2.3, get-intrinsic@^1.2.4:
|
||||
version "1.2.4"
|
||||
resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz"
|
||||
|
|
@ -2161,6 +2245,11 @@ iconv-lite@0.6.3, iconv-lite@^0.6.3:
|
|||
dependencies:
|
||||
safer-buffer ">= 2.1.2 < 3.0.0"
|
||||
|
||||
ieee754@^1.1.12:
|
||||
version "1.2.1"
|
||||
resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352"
|
||||
integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==
|
||||
|
||||
import-in-the-middle@^1.11.2, import-in-the-middle@^1.8.1:
|
||||
version "1.11.2"
|
||||
resolved "https://registry.yarnpkg.com/import-in-the-middle/-/import-in-the-middle-1.11.2.tgz#dd848e72b63ca6cd7c34df8b8d97fc9baee6174f"
|
||||
|
|
@ -2882,6 +2971,14 @@ path-parse@^1.0.7:
|
|||
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735"
|
||||
integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==
|
||||
|
||||
path-source@0.1:
|
||||
version "0.1.3"
|
||||
resolved "https://registry.yarnpkg.com/path-source/-/path-source-0.1.3.tgz#03907c595480aa2596a15a901c44f745736e7a73"
|
||||
integrity sha512-dWRHm5mIw5kw0cs3QZLNmpUWty48f5+5v9nWD2dw3Y0Hf+s01Ag8iJEWV0Sm0kocE8kK27DrIowha03e1YR+Qw==
|
||||
dependencies:
|
||||
array-source "0.0"
|
||||
file-source "0.6"
|
||||
|
||||
path-to-regexp@0.1.7:
|
||||
version "0.1.7"
|
||||
resolved "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz"
|
||||
|
|
@ -2892,6 +2989,14 @@ path-to-regexp@^6.2.1:
|
|||
resolved "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.2.2.tgz"
|
||||
integrity sha512-GQX3SSMokngb36+whdpRXE+3f9V8UzyAorlYvOGx87ufGHehNTn5lCxrKtLyZ4Yl/wEKnNnr98ZzOwwDZV5ogw==
|
||||
|
||||
pbf@^3.2.1:
|
||||
version "3.3.0"
|
||||
resolved "https://registry.yarnpkg.com/pbf/-/pbf-3.3.0.tgz#1790f3d99118333cc7f498de816028a346ef367f"
|
||||
integrity sha512-XDF38WCH3z5OV/OVa8GKUNtLAyneuzbCisx7QUCF8Q6Nutx0WnJrQe5O+kOtBlLfRNUws98Y58Lblp+NJG5T4Q==
|
||||
dependencies:
|
||||
ieee754 "^1.1.12"
|
||||
resolve-protobuf-schema "^2.1.0"
|
||||
|
||||
pbkdf2@^3.0.17, pbkdf2@^3.1.2:
|
||||
version "3.1.2"
|
||||
resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075"
|
||||
|
|
@ -2942,6 +3047,13 @@ pg-types@^4.0.1:
|
|||
postgres-interval "^3.0.0"
|
||||
postgres-range "^1.1.1"
|
||||
|
||||
point-in-polygon-hao@^1.1.0:
|
||||
version "1.2.3"
|
||||
resolved "https://registry.yarnpkg.com/point-in-polygon-hao/-/point-in-polygon-hao-1.2.3.tgz#e702b597e9015e0054441f01ca43aab2a2b78261"
|
||||
integrity sha512-uZsWylGd8nthIYS8F7aSyM7Pot+4L/bgXheJcCNdRr4eLpsM/rMb3hIi5SqNxAVjUoDDao3QzCtdaVDzmeF9Cw==
|
||||
dependencies:
|
||||
robust-predicates "^3.0.2"
|
||||
|
||||
possible-typed-array-names@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz"
|
||||
|
|
@ -3013,6 +3125,11 @@ promise.allsettled@^1.0.2:
|
|||
get-intrinsic "^1.2.1"
|
||||
iterate-value "^1.0.2"
|
||||
|
||||
protocol-buffers-schema@^3.3.1:
|
||||
version "3.6.0"
|
||||
resolved "https://registry.yarnpkg.com/protocol-buffers-schema/-/protocol-buffers-schema-3.6.0.tgz#77bc75a48b2ff142c1ad5b5b90c94cd0fa2efd03"
|
||||
integrity sha512-TdDRD+/QNdrCGCE7v8340QyuXd4kIWIgapsE2+n/SaGiSSbomYl4TjHlvIoCWRpE7wFt02EpB35VVA2ImcBVqw==
|
||||
|
||||
proxy-addr@~2.0.7:
|
||||
version "2.0.7"
|
||||
resolved "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz"
|
||||
|
|
@ -3108,7 +3225,7 @@ readable-stream@^2.3.8:
|
|||
string_decoder "~1.1.1"
|
||||
util-deprecate "~1.0.1"
|
||||
|
||||
readable-stream@^3.6.0:
|
||||
readable-stream@^3.0.2, readable-stream@^3.6.0:
|
||||
version "3.6.2"
|
||||
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967"
|
||||
integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==
|
||||
|
|
@ -3136,6 +3253,13 @@ require-in-the-middle@^7.1.1:
|
|||
module-details-from-path "^1.0.3"
|
||||
resolve "^1.22.8"
|
||||
|
||||
resolve-protobuf-schema@^2.1.0:
|
||||
version "2.1.0"
|
||||
resolved "https://registry.yarnpkg.com/resolve-protobuf-schema/-/resolve-protobuf-schema-2.1.0.tgz#9ca9a9e69cf192bbdaf1006ec1973948aa4a3758"
|
||||
integrity sha512-kI5ffTiZWmJaS/huM8wZfEMer1eRd7oJQhDuxeCLe3t7N7mX3z94CN0xPxBQxFYQTSNz9T0i+v6inKqSdK8xrQ==
|
||||
dependencies:
|
||||
protocol-buffers-schema "^3.3.1"
|
||||
|
||||
resolve@^1.22.8:
|
||||
version "1.22.8"
|
||||
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.8.tgz#b6c87a9f2aa06dfab52e3d70ac8cde321fa5a48d"
|
||||
|
|
@ -3173,6 +3297,11 @@ ripemd160@^2.0.0, ripemd160@^2.0.1:
|
|||
hash-base "^3.0.0"
|
||||
inherits "^2.0.1"
|
||||
|
||||
robust-predicates@^3.0.2:
|
||||
version "3.0.2"
|
||||
resolved "https://registry.yarnpkg.com/robust-predicates/-/robust-predicates-3.0.2.tgz#d5b28528c4824d20fc48df1928d41d9efa1ad771"
|
||||
integrity sha512-IXgzBWvWQwE6PrDI05OvmXUIruQTcoMDzRsOd5CDvHCVLcLHMTSYvOK5Cm46kWqlV3yAbuSpBZdJ5oP5OUoStg==
|
||||
|
||||
rrule@2.8.1:
|
||||
version "2.8.1"
|
||||
resolved "https://registry.yarnpkg.com/rrule/-/rrule-2.8.1.tgz#e8341a9ce3e68ce5b8da4d502e893cd9f286805e"
|
||||
|
|
@ -3310,6 +3439,18 @@ sha.js@^2.4.0, sha.js@^2.4.8:
|
|||
inherits "^2.0.1"
|
||||
safe-buffer "^5.0.1"
|
||||
|
||||
shapefile@~0.6.6:
|
||||
version "0.6.6"
|
||||
resolved "https://registry.yarnpkg.com/shapefile/-/shapefile-0.6.6.tgz#6fee152b9fb2b1c85f690285b692fb68c95a5f4f"
|
||||
integrity sha512-rLGSWeK2ufzCVx05wYd+xrWnOOdSV7xNUW5/XFgx3Bc02hBkpMlrd2F1dDII7/jhWzv0MSyBFh5uJIy9hLdfuw==
|
||||
dependencies:
|
||||
array-source "0.0"
|
||||
commander "2"
|
||||
path-source "0.1"
|
||||
slice-source "0.4"
|
||||
stream-source "0.3"
|
||||
text-encoding "^0.6.4"
|
||||
|
||||
shebang-command@^1.2.0:
|
||||
version "1.2.0"
|
||||
resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea"
|
||||
|
|
@ -3347,6 +3488,11 @@ simple-json-db@^2.0.0:
|
|||
resolved "https://registry.yarnpkg.com/simple-json-db/-/simple-json-db-2.0.0.tgz#5ed27b0ed16f909506a72953f17eda49e278601d"
|
||||
integrity sha512-oTh7gFQzqAe0E8RN3EkisPo0CojkzcKCKibTcJncg0yt47hWTaNwwjX/FsxfXSTDxfMjBFXFVnZe/EskAlJr7w==
|
||||
|
||||
slice-source@0.4:
|
||||
version "0.4.1"
|
||||
resolved "https://registry.yarnpkg.com/slice-source/-/slice-source-0.4.1.tgz#40a57ac03c6668b5da200e05378e000bf2a61d79"
|
||||
integrity sha512-YiuPbxpCj4hD9Qs06hGAz/OZhQ0eDuALN0lRWJez0eD/RevzKqGdUx1IOMUnXgpr+sXZLq3g8ERwbAH0bCb8vg==
|
||||
|
||||
smee-client@^2.0.3:
|
||||
version "2.0.3"
|
||||
resolved "https://registry.npmjs.org/smee-client/-/smee-client-2.0.3.tgz"
|
||||
|
|
@ -3418,6 +3564,11 @@ stop-iteration-iterator@^1.0.0:
|
|||
dependencies:
|
||||
internal-slot "^1.0.4"
|
||||
|
||||
stream-source@0.3:
|
||||
version "0.3.5"
|
||||
resolved "https://registry.yarnpkg.com/stream-source/-/stream-source-0.3.5.tgz#b97f52d0f8ea566db071db679b985403a31e0340"
|
||||
integrity sha512-ZuEDP9sgjiAwUVoDModftG0JtYiLUV8K4ljYD1VyUMRWtbVf92474o4kuuul43iZ8t/hRuiDAx1dIJSvirrK/g==
|
||||
|
||||
"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.3:
|
||||
version "4.2.3"
|
||||
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
|
||||
|
|
@ -3512,6 +3663,11 @@ tar@^6.1.11:
|
|||
mkdirp "^1.0.3"
|
||||
yallist "^4.0.0"
|
||||
|
||||
text-encoding@^0.6.4:
|
||||
version "0.6.4"
|
||||
resolved "https://registry.yarnpkg.com/text-encoding/-/text-encoding-0.6.4.tgz#e399a982257a276dae428bb92845cb71bdc26d19"
|
||||
integrity sha512-hJnc6Qg3dWoOMkqP53F0dzRIgtmsAge09kxUIqGrEUS4qr5rWLckGYaQAVr+opBrIMRErGgy6f5aPnyPpyGRfg==
|
||||
|
||||
through@^2.3.6:
|
||||
version "2.3.8"
|
||||
resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5"
|
||||
|
|
@ -3563,7 +3719,7 @@ tslib@^1.9.0:
|
|||
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
|
||||
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==
|
||||
|
||||
tslib@^2.4.0:
|
||||
tslib@^2.4.0, tslib@^2.6.2:
|
||||
version "2.8.1"
|
||||
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f"
|
||||
integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==
|
||||
|
|
@ -3630,6 +3786,11 @@ typed-array-length@^1.0.6:
|
|||
is-typed-array "^1.1.13"
|
||||
possible-typed-array-names "^1.0.0"
|
||||
|
||||
typedarray@^0.0.6:
|
||||
version "0.0.6"
|
||||
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
|
||||
integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==
|
||||
|
||||
typescript@^5.5.4:
|
||||
version "5.5.4"
|
||||
resolved "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue