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

fix(javascript): node 14 compatibility #3897

Merged
merged 4 commits into from
Oct 7, 2024

Conversation

shortcuts
Copy link
Member

@shortcuts shortcuts commented Oct 7, 2024

🧭 What and Why

🎟 JIRA Ticket: https://algolia.atlassian.net/browse/DI-3024

Changes included:

closes algolia/algoliasearch-client-javascript#1559

replaceAll is only available in node 15, we support node 14 so this should do it

@shortcuts shortcuts self-assigned this Oct 7, 2024
@algolia-bot
Copy link
Collaborator

algolia-bot commented Oct 7, 2024

✔️ Code generated!

Name Link
🪓 Triggered by b4b7e630e5fffb030597ff70de1f6941d4f3de72
🍃 Generated commit dbbcccd026b29ce5d661b3460c995f508207c51b
🌲 Generated branch generated/fix/javascript-node14-compatibility
📊 Benchmark results

Benchmarks performed on the method using a mock server, the results might not reflect the real-world performance.

Language Req/s
javascript 1652

@shortcuts shortcuts marked this pull request as ready for review October 7, 2024 11:03
@shortcuts shortcuts requested a review from a team as a code owner October 7, 2024 11:03
Copy link
Collaborator

@millotp millotp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch

@shortcuts shortcuts enabled auto-merge (squash) October 7, 2024 14:31
@shortcuts shortcuts merged commit 3d5828d into main Oct 7, 2024
12 checks passed
@shortcuts shortcuts deleted the fix/javascript-node14-compatibility branch October 7, 2024 15:37
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.

[bug]: NodeJs - Property 'replaceAll' does not exist on type 'string'.
3 participants