From 2c603618ab7a949179964a6deb26c16127e312f5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Jun 2024 07:59:04 +0000 Subject: [PATCH 1/3] build(deps): bump twitter-api-v2 from 1.17.0 to 1.17.1 Bumps [twitter-api-v2](https://github.com/plhery/node-twitter-api-v2) from 1.17.0 to 1.17.1. - [Release notes](https://github.com/plhery/node-twitter-api-v2/releases) - [Changelog](https://github.com/PLhery/node-twitter-api-v2/blob/master/changelog.md) - [Commits](https://github.com/plhery/node-twitter-api-v2/compare/1.17.0...1.17.1) --- updated-dependencies: - dependency-name: twitter-api-v2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- bun.lockb | Bin 4852 -> 4852 bytes package-lock.json | 8 ++++---- package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bun.lockb b/bun.lockb index 82e8a4afa095891d31e9432d14de69a813dfc933..d0c292d1021595cc629bc673b483a63beda98c60 100755 GIT binary patch delta 139 zcmV;60CfNKCG;hbE+E*$Xi{TtxOTlMq_qJA{{@A$4;}=?{UF1vEVqBAb`!BqiUE^A z0VuKp#REWiwO+MDhKQ!6$NtTfUp|H7CbUJtgyzrEWW7XK9D+D`DK%>CBbI1`2zyd1 tumBbGF+z>rj_vaP6v}$CCeUKD1qS&C0Wq`x4I%;oF_VxGAG1LavjUSpJ_i5* delta 139 zcmV;60CfNKCG;hbE+7je)%@`y6cwqJ@pq Date: Mon, 17 Jun 2024 08:05:40 +0000 Subject: [PATCH 2/3] build(deps-dev): bump @types/bun from 1.1.3 to 1.1.4 Bumps [@types/bun](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/bun) from 1.1.3 to 1.1.4. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/bun) --- updated-dependencies: - dependency-name: "@types/bun" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index b7db2f5..d947b78 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,19 +11,19 @@ "zod": "^3.23.8" }, "devDependencies": { - "@types/bun": "*" + "@types/bun": "latest" }, "peerDependencies": { "typescript": "^5.0.0" } }, "node_modules/@types/bun": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@types/bun/-/bun-1.1.3.tgz", - "integrity": "sha512-i+mVz8C/lx+RprDR6Mr402iE1kmajgJPnmSfJ/NvU85sGGXSylYZ/6yc+XhVLr2E/t8o6HmjwV0evtnUOR0CFA==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/@types/bun/-/bun-1.1.4.tgz", + "integrity": "sha512-ejSuv/3s0hTHj/nkkLzBlHxm4JxOPygbLNi0kzM6ooq8rOiQvIUCv7RRErTaWSfb+QVnKz6x7qlp8N86bGDiIg==", "dev": true, "dependencies": { - "bun-types": "1.1.9" + "bun-types": "1.1.13" } }, "node_modules/@types/luxon": { @@ -31,9 +31,9 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "20.12.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.13.tgz", - "integrity": "sha512-gBGeanV41c1L171rR7wjbMiEpEI/l5XFQdLLfhr/REwpgDy/4U8y89+i8kRiLzDyZdOkXh+cRaTetUnCYutoXA==", + "version": "20.12.14", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.14.tgz", + "integrity": "sha512-scnD59RpYD91xngrQQLGkE+6UrHUPzeKZWhhjBSa3HSkwjbQc38+q3RoIVEwxQGRw3M+j5hpNAM+lgV3cVormg==", "dev": true, "dependencies": { "undici-types": "~5.26.4" @@ -49,9 +49,9 @@ } }, "node_modules/bun-types": { - "version": "1.1.9", - "resolved": "https://registry.npmjs.org/bun-types/-/bun-types-1.1.9.tgz", - "integrity": "sha512-3YuLiH4Ne/ghk7K6mHiaqCqKOMrtB0Z5p1WAskHSVgi0iMZgsARV4yGkbfi565YsStvUq6GXTWB3ga7M8cznkA==", + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/bun-types/-/bun-types-1.1.13.tgz", + "integrity": "sha512-G/TqF0SsMQGLr4g7K3B2BK8BrPEA1EqCNwxZbyRdj5M4t54zvwyaqvRJOW34kuPqc2IvNNalRU3swc8B4oc4FA==", "dev": true, "dependencies": { "@types/node": "~20.12.8", From 991452371173218aa274eec73bdc9a457417286d Mon Sep 17 00:00:00 2001 From: GalvinPython <77013913+GalvinPython@users.noreply.github.com> Date: Fri, 21 Jun 2024 15:41:42 +0100 Subject: [PATCH 3/3] removed pointless logging hopefully this'll fix the RAM issue --- src/utils/getSubs.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/utils/getSubs.ts b/src/utils/getSubs.ts index 17feb5f..896a9af 100644 --- a/src/utils/getSubs.ts +++ b/src/utils/getSubs.ts @@ -25,9 +25,7 @@ export async function getSubsTask(): Promise { for (let i = 0; i < subscriberCounts.length; i++) { const subsciberCount = subscriberCounts[i]; const channelId = channels[i]; - console.log('\n', channelId, subsciberCount) const currentSubCount = await getChannelSubs(channelId) as any - console.log(currentSubCount) if (currentSubCount[0] < subsciberCount) { console.log('An update has been detected from', currentSubCount[0], '->', subsciberCount) await updateSubsTask(channelId, subsciberCount)