Skip to content

update depencies + all typescript#1278

Closed
el-j wants to merge 10 commits intoyagop:masterfrom
el-j:master
Closed

update depencies + all typescript#1278
el-j wants to merge 10 commits intoyagop:masterfrom
el-j:master

Conversation

@el-j
Copy link
Copy Markdown

@el-j el-j commented Oct 3, 2025

image

this pr moves to typescript, works with node20+ and has no vulnerabilities in build dependencies.

el-j added 3 commits October 3, 2025 23:18
- Added TelegramBot class to handle Telegram Bot API interactions.
- Implemented message processing, event emitting, and regex matching for text messages.
- Introduced methods for starting/stopping polling and opening/closing webhooks.
- Added support for file uploads with proper formatting and handling.
- Included error handling for API requests and response parsing.

chore: add TypeScript configuration files

- Created tsconfig.json for TypeScript compiler options.
- Added tsconfig.build.json for build-specific configurations.
- Moved TelegramBot and related utilities to src directory.
- Updated import paths in examples and tests accordingly.
- Added TypeScript definitions and source maps for examples and tests.
- Replaced deprecated request-promise with node-fetch in tests and examples.
- Enhanced test coverage for TelegramBot methods.
- Updated build scripts to accommodate new directory structure.
- Added utility functions for testing purposes.
el-j and others added 6 commits October 12, 2025 12:22
- Deleted test files: telegram.test.d.ts, telegram.test.d.ts.map, telegram.test.js, test.format-send-data.js, utils.d.ts, and utils.js.
- Updated tsconfig.build.json to exclude test files from the build process.
Co-authored-by: el-j <2795534+el-j@users.noreply.github.com>
Co-authored-by: el-j <2795534+el-j@users.noreply.github.com>
* Remove TODO comments and implement missing functionality

Co-authored-by: el-j <2795534+el-j@users.noreply.github.com>
@RecklessWave
Copy link
Copy Markdown

This PR appears to remove @cypress/request and @cypress/request-promise -- it would be excellent if it's possible to merge. It would resolve a vulnerable dependency for me.

@california444
Copy link
Copy Markdown

+1, please merge

@el-j el-j closed this Feb 26, 2026
@el-j
Copy link
Copy Markdown
Author

el-j commented Feb 26, 2026

now new following mr here:
#1294
fix merge conflics and updated docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants