Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new buffer() is deprecated #10

Open
waeting opened this issue May 7, 2021 · 1 comment
Open

new buffer() is deprecated #10

waeting opened this issue May 7, 2021 · 1 comment

Comments

@waeting
Copy link

waeting commented May 7, 2021

new buffer() is deprecated.
Any plan to fix it??
thank you!!!

emn178 added a commit that referenced this issue Jan 24, 2024
- TypeScript interfaces. #6, #9
- HMAC feature.
- support for web worker. #14

### Fixed
- deprecated `new Buffer`, replace with `Buffer.from`. #10
- dependencies and security issues.
- refactor: simplify formatMessage internal logic.
- Generates incorrect hash in some cases.

### Changed
- remove `eval` and use `require` directly. #8
- throw error by Error oject.
- throw error if update after finalize
- use unsigned right shift.
@emn178
Copy link
Owner

emn178 commented Jan 24, 2024

updated in v0.7.0

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

No branches or pull requests

2 participants