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

refactor: fix usage of deprecated APIs #94

Closed
wants to merge 1 commit into from

Conversation

johnhooks
Copy link

This commit fixes the usage of deprecated APIs in the codebase. Specifically, usages of the following:

  • Buffer.slice has been replaced with Buffer.subarray
  • substr has been replaced with substring

This commit also does the following:

  • Fixes a few typos in the JSDoc comments.
  • Replaces PO parsing regex matches for quotes and comments with conditional string matching.

This commit fixes the usage of deprecated APIs in the codebase.
Specifically, usages of the following:

- `Buffer.slice` has been replaced with `Buffer.subarray`
- `substr` has been replaced with `substring`

This commit also does the following:

- Fixes a few typos in the JSDoc comments.
- Replaces PO parsing regex matches for quotes and comments with
  conditional string matching.
@johnhooks johnhooks marked this pull request as draft May 11, 2024 12:00
@johnhooks johnhooks closed this May 11, 2024
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.

1 participant