mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 00:10:58 -05:00
Compare commits
No commits in common. "bca87ea425497a060f62a5d4505d4bf99d5f72aa" and "d4435a0d30e96b060cf81f21f464b3da82df7bc5" have entirely different histories.
bca87ea425
...
d4435a0d30
@ -25,3 +25,12 @@ This is a revision history of how far we come in development cycle;
|
|||||||
| V1 | JavaScript | Discord.JS v13 | Message commands |
|
| V1 | JavaScript | Discord.JS v13 | Message commands |
|
||||||
| V2-V3 | TypeScript | Discord.JS v14 | Slash/message commands |
|
| V2-V3 | TypeScript | Discord.JS v14 | Slash/message commands |
|
||||||
| V4 (Private) | Rust/Lua | Serenity v0.12 | Slash/context/message commands |
|
| V4 (Private) | Rust/Lua | Serenity v0.12 | Slash/context/message commands |
|
||||||
|
|
||||||
|
## CLI arguments (`process.argv[..]`)
|
||||||
|
`yarn dev` - Starts the development bot with predefined args.
|
||||||
|
The args in question is;
|
||||||
|
| Argument | Usage |
|
||||||
|
|----------|-------|
|
||||||
|
| `src/DB-Beta.config.json` | Location of config file - [2] |
|
||||||
|
| `daggerbotbeta` | Service name in TokenService to fetch tokens data from - [3] |
|
||||||
|
| `true` | Toggle debug mode in Discord.js library - [4] |
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
"engineStrict": true,
|
"engineStrict": true,
|
||||||
"packageManager": "yarn@4.5.0+sha512.837566d24eec14ec0f5f1411adb544e892b3454255e61fdef8fd05f3429480102806bac7446bc9daff3896b01ae4b62d00096c7e989f1596f2af10b927532f39",
|
"packageManager": "yarn@4.5.0+sha512.837566d24eec14ec0f5f1411adb544e892b3454255e61fdef8fd05f3429480102806bac7446bc9daff3896b01ae4b62d00096c7e989f1596f2af10b927532f39",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@napi-rs/canvas": "0.1.56",
|
"@napi-rs/canvas": "0.1.55",
|
||||||
"@octokit/rest": "21.0.2",
|
"@octokit/rest": "21.0.2",
|
||||||
"@sequelize/core": "7.0.0-alpha.42",
|
"@sequelize/core": "7.0.0-alpha.42",
|
||||||
"@sequelize/postgres": "7.0.0-alpha.42",
|
"@sequelize/postgres": "7.0.0-alpha.42",
|
||||||
@ -40,13 +40,13 @@
|
|||||||
"ms": "2.1.3",
|
"ms": "2.1.3",
|
||||||
"node-cron": "3.0.3",
|
"node-cron": "3.0.3",
|
||||||
"redis": "4.7.0",
|
"redis": "4.7.0",
|
||||||
"simple-git": "3.27.0",
|
"simple-git": "3.26.0",
|
||||||
"systeminformation": "5.23.5",
|
"systeminformation": "5.23.5",
|
||||||
"undici": "6.19.8"
|
"undici": "6.19.8"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/ms": "0.7.34",
|
"@types/ms": "0.7.34",
|
||||||
"@types/node": "22.7.0",
|
"@types/node": "22.5.5",
|
||||||
"@types/node-cron": "3.0.11",
|
"@types/node-cron": "3.0.11",
|
||||||
"typescript": "5.5.4"
|
"typescript": "5.5.4"
|
||||||
}
|
}
|
||||||
|
@ -8,51 +8,11 @@ import MessageTool from '../helpers/MessageTool.js';
|
|||||||
import {FSData} from 'src/interfaces';
|
import {FSData} from 'src/interfaces';
|
||||||
import {requestServerData, mpModuleDisabled, refreshTimerSecs, playtimeStat, MPChannels} from '../modules/MPModule.js';
|
import {requestServerData, mpModuleDisabled, refreshTimerSecs, playtimeStat, MPChannels} from '../modules/MPModule.js';
|
||||||
|
|
||||||
// I asked Copilot lol, yes I said "wtf is that" when it suggested it to me.
|
|
||||||
// Works wonders, I'm surprised.
|
|
||||||
function levenshtein(a: string, b: string): number {
|
|
||||||
const matrix = Array.from({length: a.length+1}, ()=>Array(b.length+1).fill(0));
|
|
||||||
|
|
||||||
for (let i = 0; i <= a.length; i++) matrix[i][0] = i;
|
|
||||||
for (let j = 0; j <= b.length; j++) matrix[0][j] = j;
|
|
||||||
|
|
||||||
for (let i = 1; i <= a.length; i++) {
|
|
||||||
for (let j = 1; j <= b.length; j++) {
|
|
||||||
const cost = a[i-1] === b[j-1] ? 0 : 1;
|
|
||||||
matrix[i][j] = Math.min(
|
|
||||||
matrix[i-1][j] + 1, // Deletion
|
|
||||||
matrix[i][j-1] + 1, // Insertion
|
|
||||||
matrix[i-1][j-1] + cost // Substitution
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return matrix[a.length][b.length];
|
|
||||||
}
|
|
||||||
|
|
||||||
function normalizeString(s: string): string {
|
|
||||||
return s.toLowerCase().replace(/[^a-z0-9]/g, '');
|
|
||||||
}
|
|
||||||
|
|
||||||
async function fetchData(client:TClient, interaction:Discord.ChatInputCommandInteraction, serverName:string):Promise<FSData|Discord.InteractionResponse> {
|
async function fetchData(client:TClient, interaction:Discord.ChatInputCommandInteraction, serverName:string):Promise<FSData|Discord.InteractionResponse> {
|
||||||
try {
|
try {
|
||||||
await interaction.deferReply();
|
await interaction.deferReply();
|
||||||
const db = await client.MPServer.findInCache();
|
const db = await client.MPServer.findInCache();
|
||||||
const server = db.find(x=>x.serverName === serverName);
|
const data = await requestServerData(client, db.find(x=>x.serverName === serverName));
|
||||||
if (!server) {
|
|
||||||
const normalizedServerName = normalizeString(serverName);
|
|
||||||
const servers = db.filter(x=>x.isActive).map(x=>x.serverName);
|
|
||||||
const closestMatch = servers.reduce((closest, current)=>{
|
|
||||||
const currentSimilarity = levenshtein(normalizeString(current), normalizedServerName);
|
|
||||||
const closestSimilarity = levenshtein(normalizeString(closest), normalizedServerName);
|
|
||||||
return currentSimilarity < closestSimilarity ? current : closest;
|
|
||||||
}, servers[0]);
|
|
||||||
|
|
||||||
await interaction.editReply(`**${serverName}** does not exist in database, closest server is **${closestMatch}**.`);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
const data = await requestServerData(client, server);
|
|
||||||
return data.dss as FSData;
|
return data.dss as FSData;
|
||||||
} catch {
|
} catch {
|
||||||
Logger.console('error', 'MPDB', 'Function failed - fetchData');
|
Logger.console('error', 'MPDB', 'Function failed - fetchData');
|
||||||
@ -61,7 +21,7 @@ async function fetchData(client:TClient, interaction:Discord.ChatInputCommandInt
|
|||||||
}
|
}
|
||||||
|
|
||||||
const logPrefix = 'MPDB';
|
const logPrefix = 'MPDB';
|
||||||
const CATEGORY_FILTER = ['PALLETS', 'BIGBAGS', 'BIGBAGPALLETS'];
|
const PALLET_FILTER = ['PALLETS', 'BIGBAGPALLETS'];
|
||||||
|
|
||||||
export default class MP {
|
export default class MP {
|
||||||
static async autocomplete(client:TClient, interaction:Discord.AutocompleteInteraction<'cached'>) {
|
static async autocomplete(client:TClient, interaction:Discord.AutocompleteInteraction<'cached'>) {
|
||||||
@ -142,7 +102,7 @@ export default class MP {
|
|||||||
pallets: async()=>{
|
pallets: async()=>{
|
||||||
const DSS = await fetchData(client, interaction, choiceSelector) as FSData;
|
const DSS = await fetchData(client, interaction, choiceSelector) as FSData;
|
||||||
if (!DSS) return console.log('Endpoint failed - pallets');
|
if (!DSS) return console.log('Endpoint failed - pallets');
|
||||||
const filter = DSS?.vehicles.filter(x=>CATEGORY_FILTER.includes(x.category));
|
const filter = DSS?.vehicles.filter(x=>PALLET_FILTER.includes(x.category));
|
||||||
const rules = {
|
const rules = {
|
||||||
one: 'single pallet',
|
one: 'single pallet',
|
||||||
two: 'pallets',
|
two: 'pallets',
|
||||||
@ -154,7 +114,7 @@ export default class MP {
|
|||||||
const getLongestName = Object.entries(this.getPalletCounts(DSS)).map(([name, _])=>name.length).sort((a,b)=>b-a)[0];
|
const getLongestName = Object.entries(this.getPalletCounts(DSS)).map(([name, _])=>name.length).sort((a,b)=>b-a)[0];
|
||||||
await interaction.editReply(MessageTool.concatMessage(
|
await interaction.editReply(MessageTool.concatMessage(
|
||||||
`There are currently **${filter.length}** ${rules} on the server. Here\'s the breakdown:\`\`\`ansi`,
|
`There are currently **${filter.length}** ${rules} on the server. Here\'s the breakdown:\`\`\`ansi`,
|
||||||
Object.entries(this.getPalletCounts(DSS)).map(([name, count])=>`${ansi.bold(ansi.blue(name.padEnd(getLongestName+3)))}${ansi.bold(ansi.yellow(count.toString()))}`).join('\n'),
|
Object.entries(this.getPalletCounts(DSS)).map(([name, count])=>`${ansi.blue(name.padEnd(getLongestName+3))}${ansi.yellow(count.toString())}`).join('\n'),
|
||||||
'```'
|
'```'
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
@ -284,7 +244,7 @@ export default class MP {
|
|||||||
await Promise.all(numbersArr.slice(0, length).map(emote=>message.react(emote)));
|
await Promise.all(numbersArr.slice(0, length).map(emote=>message.react(emote)));
|
||||||
}
|
}
|
||||||
private static getPalletCounts(data:FSData) {
|
private static getPalletCounts(data:FSData) {
|
||||||
const pallets = data.vehicles.filter(x=>CATEGORY_FILTER.includes(x.category));
|
const pallets = data.vehicles.filter(x=>PALLET_FILTER.includes(x.category));
|
||||||
const counts = pallets.reduce((acc, name)=>{
|
const counts = pallets.reduce((acc, name)=>{
|
||||||
acc[name.name] = (acc[name.name] ?? 0) + 1;
|
acc[name.name] = (acc[name.name] ?? 0) + 1;
|
||||||
return acc;
|
return acc;
|
||||||
@ -368,7 +328,7 @@ export default class MP {
|
|||||||
.setName('reason')
|
.setName('reason')
|
||||||
.setDescription('The message to send to the channel after toggling')
|
.setDescription('The message to send to the channel after toggling')
|
||||||
.setRequired(true)))
|
.setRequired(true)))
|
||||||
/* .addSubcommandGroup(x=>x
|
.addSubcommandGroup(x=>x
|
||||||
.setName('poll')
|
.setName('poll')
|
||||||
.setDescription('Create or end a map poll in #mp-announcements channel')
|
.setDescription('Create or end a map poll in #mp-announcements channel')
|
||||||
.addSubcommand(x=>x
|
.addSubcommand(x=>x
|
||||||
@ -387,5 +347,5 @@ export default class MP {
|
|||||||
.setRequired(true)))
|
.setRequired(true)))
|
||||||
.addSubcommand(x=>x
|
.addSubcommand(x=>x
|
||||||
.setName('maps')
|
.setName('maps')
|
||||||
.setDescription('Fetch the list of maps currently in the suggestion pool'))) */
|
.setDescription('Fetch the list of maps currently in the suggestion pool')))
|
||||||
}
|
}
|
||||||
|
53
src/interfaces.d.ts
vendored
53
src/interfaces.d.ts
vendored
@ -16,8 +16,13 @@ export interface Punishment {
|
|||||||
export interface FSData {
|
export interface FSData {
|
||||||
server: {
|
server: {
|
||||||
dayTime: number,
|
dayTime: number,
|
||||||
|
game: string,
|
||||||
mapName: string,
|
mapName: string,
|
||||||
|
mapSize: number,
|
||||||
|
mapOverviewFilename: string,
|
||||||
|
money: number,
|
||||||
name: string,
|
name: string,
|
||||||
|
server: string,
|
||||||
version: string
|
version: string
|
||||||
},
|
},
|
||||||
slots: {
|
slots: {
|
||||||
@ -29,7 +34,17 @@ export interface FSData {
|
|||||||
}
|
}
|
||||||
interface FSVehicle {
|
interface FSVehicle {
|
||||||
name: string,
|
name: string,
|
||||||
category: string
|
category: string,
|
||||||
|
type: string,
|
||||||
|
x: number,
|
||||||
|
y: number,
|
||||||
|
z: number,
|
||||||
|
fills: FSVehicleFill[],
|
||||||
|
controller: string
|
||||||
|
}
|
||||||
|
interface FSVehicleFill {
|
||||||
|
type: string,
|
||||||
|
level: number
|
||||||
}
|
}
|
||||||
export interface FSPlayer {
|
export interface FSPlayer {
|
||||||
isUsed?: boolean,
|
isUsed?: boolean,
|
||||||
@ -39,19 +54,55 @@ export interface FSPlayer {
|
|||||||
}
|
}
|
||||||
export interface FSCareerSavegame {
|
export interface FSCareerSavegame {
|
||||||
settings: {
|
settings: {
|
||||||
|
savegameName: string,
|
||||||
|
creationDate: string,
|
||||||
|
mapId: string,
|
||||||
mapTitle: string,
|
mapTitle: string,
|
||||||
|
saveDataFormatted: string,
|
||||||
|
saveDate: string,
|
||||||
|
resetVehicles: string,
|
||||||
|
trafficeEnabled: string,
|
||||||
|
stopAndGoBraking: string,
|
||||||
|
trailerFillLimit: string,
|
||||||
|
automaticMotorStartEnabled: string,
|
||||||
growthMode: string,
|
growthMode: string,
|
||||||
|
fixedSeasonalVisuals: string,
|
||||||
|
plannedDaysPerPeriod: string,
|
||||||
fruitDestruction: string,
|
fruitDestruction: string,
|
||||||
plowingRequiredEnabled: string,
|
plowingRequiredEnabled: string,
|
||||||
stonesEnabled: string,
|
stonesEnabled: string,
|
||||||
weedsEnabled: string,
|
weedsEnabled: string,
|
||||||
limeRequired: string,
|
limeRequired: string,
|
||||||
|
isSnowEnabled: string,
|
||||||
fuelUsage: string,
|
fuelUsage: string,
|
||||||
|
helperBuyFuel: string,
|
||||||
|
helperBuySeeds: string,
|
||||||
|
helperSlurrySource: string,
|
||||||
|
helperManureSource: string,
|
||||||
|
densityMapRevision: string,
|
||||||
|
terrainTextureRevision: string,
|
||||||
|
terrainLodTextureRevision: string,
|
||||||
|
splitShapesRevision: string,
|
||||||
|
tipCollisionRevision: string,
|
||||||
|
placementCollisionRevision: string,
|
||||||
|
navigationCollisionRevision: string,
|
||||||
|
mapDensityMapRevision: string,
|
||||||
|
mapTerrainTextureRevision: string,
|
||||||
|
mapTerrainLodTextureRevision: string,
|
||||||
|
mapSplitShapesRevision: string,
|
||||||
|
mapTipCollisionRevision: string,
|
||||||
|
mapPlacementCollisionRevision: string,
|
||||||
|
mapNavigationCollisionRevision: string,
|
||||||
|
difficulty: string,
|
||||||
economicDifficulty: string,
|
economicDifficulty: string,
|
||||||
dirtInterval: string,
|
dirtInterval: string,
|
||||||
timeScale: string,
|
timeScale: string,
|
||||||
autoSaveInterval: string
|
autoSaveInterval: string
|
||||||
},
|
},
|
||||||
|
statistics: {
|
||||||
|
money: string,
|
||||||
|
playTime: string
|
||||||
|
},
|
||||||
slotSystem: {
|
slotSystem: {
|
||||||
slotUsage: string
|
slotUsage: string
|
||||||
}
|
}
|
||||||
|
162
yarn.lock
162
yarn.lock
@ -109,82 +109,82 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@napi-rs/canvas-android-arm64@npm:0.1.56":
|
"@napi-rs/canvas-android-arm64@npm:0.1.55":
|
||||||
version: 0.1.56
|
version: 0.1.55
|
||||||
resolution: "@napi-rs/canvas-android-arm64@npm:0.1.56"
|
resolution: "@napi-rs/canvas-android-arm64@npm:0.1.55"
|
||||||
conditions: os=android & cpu=arm64
|
conditions: os=android & cpu=arm64
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@napi-rs/canvas-darwin-arm64@npm:0.1.56":
|
"@napi-rs/canvas-darwin-arm64@npm:0.1.55":
|
||||||
version: 0.1.56
|
version: 0.1.55
|
||||||
resolution: "@napi-rs/canvas-darwin-arm64@npm:0.1.56"
|
resolution: "@napi-rs/canvas-darwin-arm64@npm:0.1.55"
|
||||||
conditions: os=darwin & cpu=arm64
|
conditions: os=darwin & cpu=arm64
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@napi-rs/canvas-darwin-x64@npm:0.1.56":
|
"@napi-rs/canvas-darwin-x64@npm:0.1.55":
|
||||||
version: 0.1.56
|
version: 0.1.55
|
||||||
resolution: "@napi-rs/canvas-darwin-x64@npm:0.1.56"
|
resolution: "@napi-rs/canvas-darwin-x64@npm:0.1.55"
|
||||||
conditions: os=darwin & cpu=x64
|
conditions: os=darwin & cpu=x64
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@napi-rs/canvas-linux-arm-gnueabihf@npm:0.1.56":
|
"@napi-rs/canvas-linux-arm-gnueabihf@npm:0.1.55":
|
||||||
version: 0.1.56
|
version: 0.1.55
|
||||||
resolution: "@napi-rs/canvas-linux-arm-gnueabihf@npm:0.1.56"
|
resolution: "@napi-rs/canvas-linux-arm-gnueabihf@npm:0.1.55"
|
||||||
conditions: os=linux & cpu=arm
|
conditions: os=linux & cpu=arm
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@napi-rs/canvas-linux-arm64-gnu@npm:0.1.56":
|
"@napi-rs/canvas-linux-arm64-gnu@npm:0.1.55":
|
||||||
version: 0.1.56
|
version: 0.1.55
|
||||||
resolution: "@napi-rs/canvas-linux-arm64-gnu@npm:0.1.56"
|
resolution: "@napi-rs/canvas-linux-arm64-gnu@npm:0.1.55"
|
||||||
conditions: os=linux & cpu=arm64 & libc=glibc
|
conditions: os=linux & cpu=arm64 & libc=glibc
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@napi-rs/canvas-linux-arm64-musl@npm:0.1.56":
|
"@napi-rs/canvas-linux-arm64-musl@npm:0.1.55":
|
||||||
version: 0.1.56
|
version: 0.1.55
|
||||||
resolution: "@napi-rs/canvas-linux-arm64-musl@npm:0.1.56"
|
resolution: "@napi-rs/canvas-linux-arm64-musl@npm:0.1.55"
|
||||||
conditions: os=linux & cpu=arm64 & libc=musl
|
conditions: os=linux & cpu=arm64 & libc=musl
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@napi-rs/canvas-linux-x64-gnu@npm:0.1.56":
|
"@napi-rs/canvas-linux-x64-gnu@npm:0.1.55":
|
||||||
version: 0.1.56
|
version: 0.1.55
|
||||||
resolution: "@napi-rs/canvas-linux-x64-gnu@npm:0.1.56"
|
resolution: "@napi-rs/canvas-linux-x64-gnu@npm:0.1.55"
|
||||||
conditions: os=linux & cpu=x64 & libc=glibc
|
conditions: os=linux & cpu=x64 & libc=glibc
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@napi-rs/canvas-linux-x64-musl@npm:0.1.56":
|
"@napi-rs/canvas-linux-x64-musl@npm:0.1.55":
|
||||||
version: 0.1.56
|
version: 0.1.55
|
||||||
resolution: "@napi-rs/canvas-linux-x64-musl@npm:0.1.56"
|
resolution: "@napi-rs/canvas-linux-x64-musl@npm:0.1.55"
|
||||||
conditions: os=linux & cpu=x64 & libc=musl
|
conditions: os=linux & cpu=x64 & libc=musl
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@napi-rs/canvas-win32-x64-msvc@npm:0.1.56":
|
"@napi-rs/canvas-win32-x64-msvc@npm:0.1.55":
|
||||||
version: 0.1.56
|
version: 0.1.55
|
||||||
resolution: "@napi-rs/canvas-win32-x64-msvc@npm:0.1.56"
|
resolution: "@napi-rs/canvas-win32-x64-msvc@npm:0.1.55"
|
||||||
conditions: os=win32 & cpu=x64
|
conditions: os=win32 & cpu=x64
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@napi-rs/canvas@npm:0.1.56":
|
"@napi-rs/canvas@npm:0.1.55":
|
||||||
version: 0.1.56
|
version: 0.1.55
|
||||||
resolution: "@napi-rs/canvas@npm:0.1.56"
|
resolution: "@napi-rs/canvas@npm:0.1.55"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@napi-rs/canvas-android-arm64": "npm:0.1.56"
|
"@napi-rs/canvas-android-arm64": "npm:0.1.55"
|
||||||
"@napi-rs/canvas-darwin-arm64": "npm:0.1.56"
|
"@napi-rs/canvas-darwin-arm64": "npm:0.1.55"
|
||||||
"@napi-rs/canvas-darwin-x64": "npm:0.1.56"
|
"@napi-rs/canvas-darwin-x64": "npm:0.1.55"
|
||||||
"@napi-rs/canvas-linux-arm-gnueabihf": "npm:0.1.56"
|
"@napi-rs/canvas-linux-arm-gnueabihf": "npm:0.1.55"
|
||||||
"@napi-rs/canvas-linux-arm64-gnu": "npm:0.1.56"
|
"@napi-rs/canvas-linux-arm64-gnu": "npm:0.1.55"
|
||||||
"@napi-rs/canvas-linux-arm64-musl": "npm:0.1.56"
|
"@napi-rs/canvas-linux-arm64-musl": "npm:0.1.55"
|
||||||
"@napi-rs/canvas-linux-x64-gnu": "npm:0.1.56"
|
"@napi-rs/canvas-linux-x64-gnu": "npm:0.1.55"
|
||||||
"@napi-rs/canvas-linux-x64-musl": "npm:0.1.56"
|
"@napi-rs/canvas-linux-x64-musl": "npm:0.1.55"
|
||||||
"@napi-rs/canvas-win32-x64-msvc": "npm:0.1.56"
|
"@napi-rs/canvas-win32-x64-msvc": "npm:0.1.55"
|
||||||
dependenciesMeta:
|
dependenciesMeta:
|
||||||
"@napi-rs/canvas-android-arm64":
|
"@napi-rs/canvas-android-arm64":
|
||||||
optional: true
|
optional: true
|
||||||
@ -204,7 +204,7 @@ __metadata:
|
|||||||
optional: true
|
optional: true
|
||||||
"@napi-rs/canvas-win32-x64-msvc":
|
"@napi-rs/canvas-win32-x64-msvc":
|
||||||
optional: true
|
optional: true
|
||||||
checksum: 10/6dfb7bdcdabfee515635719c4366d83a1deb3dc8718de4cba7781f6ac87e4d8d7927973b9d1eae3636bb43d68b172ffc988165d9864d2f587dcecfb7e8ced296
|
checksum: 10/1a12e68bad9f9cad57ef305e39c75be2f389d352a165ce293c54f48e2aca352b34a2c3942ed6c9599ace7141c79758f024c498d8c24266cb35573a99fb5940fc
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -317,11 +317,11 @@ __metadata:
|
|||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@octokit/request-error@npm:^6.0.1":
|
"@octokit/request-error@npm:^6.0.1":
|
||||||
version: 6.1.5
|
version: 6.1.4
|
||||||
resolution: "@octokit/request-error@npm:6.1.5"
|
resolution: "@octokit/request-error@npm:6.1.4"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@octokit/types": "npm:^13.0.0"
|
"@octokit/types": "npm:^13.0.0"
|
||||||
checksum: 10/a0891df29957d9911ef34281fefffac4a98baa96ffffeb1a2b8f0c8e229911ca3da2be42e5bbe6a4b994a12fd100f4d0d86be095fada60384cd6728705eae859
|
checksum: 10/e4e475ec50cef8e271f39e69667d0f8eaccb2367aa56b81638c629b5bbfa2b697b40207301e5c797a63051a82d8698e7c792b4050b84e383c54300a49a01304a
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -350,11 +350,11 @@ __metadata:
|
|||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@octokit/types@npm:^13.0.0, @octokit/types@npm:^13.1.0, @octokit/types@npm:^13.5.0":
|
"@octokit/types@npm:^13.0.0, @octokit/types@npm:^13.1.0, @octokit/types@npm:^13.5.0":
|
||||||
version: 13.5.1
|
version: 13.5.0
|
||||||
resolution: "@octokit/types@npm:13.5.1"
|
resolution: "@octokit/types@npm:13.5.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@octokit/openapi-types": "npm:^22.2.0"
|
"@octokit/openapi-types": "npm:^22.2.0"
|
||||||
checksum: 10/a2c06856dec1780c4a5561bfda9e717016a3c2a3f3a6427385a5aec2e428593c550d640079891276757934a50caee57b78c272ffa208b55027d4d964e2d1abb6
|
checksum: 10/d2aeebc1d8684c4e950f054a52b484e898b72d9f5f8433bcf010161716eea20d1132820d922212f19557a8f147354f2674d1a27b22941308b7c298bdd2674ffa
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -511,9 +511,9 @@ __metadata:
|
|||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@types/lodash@npm:^4.17.0":
|
"@types/lodash@npm:^4.17.0":
|
||||||
version: 4.17.9
|
version: 4.17.7
|
||||||
resolution: "@types/lodash@npm:4.17.9"
|
resolution: "@types/lodash@npm:4.17.7"
|
||||||
checksum: 10/49e35caaf668686be0bad9e9bef88456903a21999d3fd8bf91c302e0d5328398fb59fee793d0afbaf6edeca1b46c3e8109899d85ff3a433075178f1ab693e597
|
checksum: 10/b8177f19cf962414a66989837481b13f546afc2e98e8d465bec59e6ac03a59c584eb7053ce511cde3a09c5f3096d22a5ae22cfb56b23f3b0da75b0743b6b1a44
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -531,12 +531,12 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@types/node@npm:*, @types/node@npm:22.7.0":
|
"@types/node@npm:*, @types/node@npm:22.5.5":
|
||||||
version: 22.7.0
|
version: 22.5.5
|
||||||
resolution: "@types/node@npm:22.7.0"
|
resolution: "@types/node@npm:22.5.5"
|
||||||
dependencies:
|
dependencies:
|
||||||
undici-types: "npm:~6.19.2"
|
undici-types: "npm:~6.19.2"
|
||||||
checksum: 10/6476d94a4c0fbf60df56634063e8aa26da1152e7096daf374f1eb010eab1c7ef4cdb75ab2508480e82c0b56538e0e7bdfc72af47e7a4e4ace37f2035eddfd3c2
|
checksum: 10/172d02c8e6d921699edcf559c28b3805616bd6481af1b3cb0299f89ad9a6f33b71050434c06ce7b503166054a26275344187c443f99f745d0b12601372452f19
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -552,9 +552,9 @@ __metadata:
|
|||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@types/validator@npm:^13.11.9":
|
"@types/validator@npm:^13.11.9":
|
||||||
version: 13.12.2
|
version: 13.12.1
|
||||||
resolution: "@types/validator@npm:13.12.2"
|
resolution: "@types/validator@npm:13.12.1"
|
||||||
checksum: 10/564f60cfe112b45e1d747245d1f80db999bbc372b2b6a1c5454441b02c3d6bffbfff4365a10c3cd7874197f14ca5779b435794c7600bdcb541da948405a3b21a
|
checksum: 10/965ed570598b17cbb4bef7a6e92ef2e27ed2bf3110e92c046cd651e0823997940953bb8d45c00de71844ddc4a6fb88470a9beb6dc7ce09dd15d80c169bb322d5
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -629,13 +629,13 @@ __metadata:
|
|||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "daggerbot-ts@workspace:."
|
resolution: "daggerbot-ts@workspace:."
|
||||||
dependencies:
|
dependencies:
|
||||||
"@napi-rs/canvas": "npm:0.1.56"
|
"@napi-rs/canvas": "npm:0.1.55"
|
||||||
"@octokit/rest": "npm:21.0.2"
|
"@octokit/rest": "npm:21.0.2"
|
||||||
"@sequelize/core": "npm:7.0.0-alpha.42"
|
"@sequelize/core": "npm:7.0.0-alpha.42"
|
||||||
"@sequelize/postgres": "npm:7.0.0-alpha.42"
|
"@sequelize/postgres": "npm:7.0.0-alpha.42"
|
||||||
"@toast/tokenservice-client": "npm:1.3.0"
|
"@toast/tokenservice-client": "npm:1.3.0"
|
||||||
"@types/ms": "npm:0.7.34"
|
"@types/ms": "npm:0.7.34"
|
||||||
"@types/node": "npm:22.7.0"
|
"@types/node": "npm:22.5.5"
|
||||||
"@types/node-cron": "npm:3.0.11"
|
"@types/node-cron": "npm:3.0.11"
|
||||||
ansi-colors: "npm:4.1.3"
|
ansi-colors: "npm:4.1.3"
|
||||||
dayjs: "npm:1.11.13"
|
dayjs: "npm:1.11.13"
|
||||||
@ -645,7 +645,7 @@ __metadata:
|
|||||||
ms: "npm:2.1.3"
|
ms: "npm:2.1.3"
|
||||||
node-cron: "npm:3.0.3"
|
node-cron: "npm:3.0.3"
|
||||||
redis: "npm:4.7.0"
|
redis: "npm:4.7.0"
|
||||||
simple-git: "npm:3.27.0"
|
simple-git: "npm:3.26.0"
|
||||||
systeminformation: "npm:5.23.5"
|
systeminformation: "npm:5.23.5"
|
||||||
typescript: "npm:5.5.4"
|
typescript: "npm:5.5.4"
|
||||||
undici: "npm:6.19.8"
|
undici: "npm:6.19.8"
|
||||||
@ -922,10 +922,10 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"pg-connection-string@npm:^2.7.0":
|
"pg-connection-string@npm:^2.6.4":
|
||||||
version: 2.7.0
|
version: 2.6.4
|
||||||
resolution: "pg-connection-string@npm:2.7.0"
|
resolution: "pg-connection-string@npm:2.6.4"
|
||||||
checksum: 10/68015a8874b7ca5dad456445e4114af3d2602bac2fdb8069315ecad0ff9660ec93259b9af7186606529ac4f6f72a06831e6f20897a689b16cc7fda7ca0e247fd
|
checksum: 10/2c1d2ac1add1f93076f1594d217a0980f79add05dc48de6363e1c550827c78a6ee3e3b5420da9c54858f6b678cdb348aed49732ee68158b6cdb70f1d1c748cf9
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -952,19 +952,19 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"pg-pool@npm:^3.7.0":
|
"pg-pool@npm:^3.6.2":
|
||||||
version: 3.7.0
|
version: 3.6.2
|
||||||
resolution: "pg-pool@npm:3.7.0"
|
resolution: "pg-pool@npm:3.6.2"
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
pg: ">=8.0"
|
pg: ">=8.0"
|
||||||
checksum: 10/a07a4f9e26eec9d7ac3597dc7b3469c62983edff9a321dbb7acbe1bbc7f5e9b2d33438e277d4cf8145071f3d63c7ebdc287a539fd69dfb8cdddb15b33eefe1a2
|
checksum: 10/d5ccefb9a4913c737e07106ada841c7d8f2b110b02ef6b4cee198e1e7e758bac43cb3b6df7646e25858b9fe300db00f2f349868296fbd4b3b4c99c15906d1596
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"pg-protocol@npm:*, pg-protocol@npm:^1.7.0":
|
"pg-protocol@npm:*, pg-protocol@npm:^1.6.1":
|
||||||
version: 1.7.0
|
version: 1.6.1
|
||||||
resolution: "pg-protocol@npm:1.7.0"
|
resolution: "pg-protocol@npm:1.6.1"
|
||||||
checksum: 10/ffffdf74426c9357b57050f1c191e84447c0e8b2a701b3ab302ac7dd0eb27b862d92e5e3b2d38876a1051de83547eb9165d6a58b3a8e90bb050dae97f9993d54
|
checksum: 10/9af672208adae8214f55f5b4597c4699ab9946205a99863d3e2bb8d024fdab16711457b539bc366cc29040218aa87508cf61294b76d288f48881b973d9117bd6
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -997,13 +997,13 @@ __metadata:
|
|||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"pg@npm:^8.11.3":
|
"pg@npm:^8.11.3":
|
||||||
version: 8.13.0
|
version: 8.12.0
|
||||||
resolution: "pg@npm:8.13.0"
|
resolution: "pg@npm:8.12.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
pg-cloudflare: "npm:^1.1.1"
|
pg-cloudflare: "npm:^1.1.1"
|
||||||
pg-connection-string: "npm:^2.7.0"
|
pg-connection-string: "npm:^2.6.4"
|
||||||
pg-pool: "npm:^3.7.0"
|
pg-pool: "npm:^3.6.2"
|
||||||
pg-protocol: "npm:^1.7.0"
|
pg-protocol: "npm:^1.6.1"
|
||||||
pg-types: "npm:^2.1.0"
|
pg-types: "npm:^2.1.0"
|
||||||
pgpass: "npm:1.x"
|
pgpass: "npm:1.x"
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@ -1014,7 +1014,7 @@ __metadata:
|
|||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
pg-native:
|
pg-native:
|
||||||
optional: true
|
optional: true
|
||||||
checksum: 10/6defa3254b121317014c6de0ce4c21a9a1ec9b7ef24651164596b813d951d6545542faab964131f11e81c64c5c166b14051f6808e0247af928e1773a9fd7e0af
|
checksum: 10/ce39af0e85d42bf5fc8dcc02c57b38d4cb203fea937688509a77c0b005a54d4821e5e5963a5663934d76994eab42381698f08a44e21544b4545fd9d142dcfd12
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -1175,14 +1175,14 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"simple-git@npm:3.27.0":
|
"simple-git@npm:3.26.0":
|
||||||
version: 3.27.0
|
version: 3.26.0
|
||||||
resolution: "simple-git@npm:3.27.0"
|
resolution: "simple-git@npm:3.26.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@kwsites/file-exists": "npm:^1.1.1"
|
"@kwsites/file-exists": "npm:^1.1.1"
|
||||||
"@kwsites/promise-deferred": "npm:^1.1.1"
|
"@kwsites/promise-deferred": "npm:^1.1.1"
|
||||||
debug: "npm:^4.3.5"
|
debug: "npm:^4.3.5"
|
||||||
checksum: 10/c56c88dd1b5f6ad45c6034eb44f25ee61929a2a5832bd015b8b1b71331071e43bf631edbcc4a8529fa692f9b17576595d95c89218bc5d67be66ed0c1aedc7a76
|
checksum: 10/b9019f834f2da4dae18e101656d95e322f80f2942ca41f8719e58e026846e01b24bca472dba224c9642b3deb4f1971e760b657b5346140fb31b9c4b55a14c019
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user