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

Remove non-existent keys polyfill #375

Merged
merged 1 commit into from Jul 30, 2023

Conversation

stevensona
Copy link

@stevensona stevensona commented Jul 29, 2023

@ember/polyfills has never included a polyfill for Object.keys, to my knowledge. import fails.

https://github.com/emberjs/ember.js/blob/v4.4.0/packages/%40ember/polyfills/index.ts

@ember/polyfills has never exported keys
@fsmanuel
Copy link
Member

@stevensona thanks for the PR!

Interesting that it became an error now. Which version of ember are you using?
The changes came in via a codemod: 0d412bd but surely we should use Object.keys.

@fsmanuel fsmanuel changed the title Remove non-existent polyfill Remove non-existent keys polyfill Jul 29, 2023
@fsmanuel fsmanuel added the bug label Jul 29, 2023
@stevensona
Copy link
Author

@stevensona thanks for the PR!

Interesting that it became an error now. Which version of ember are you using? The changes came in via a codemod: 0d412bd but surely we should use Object.keys.

Error on latest ember (5.1) when importing the adapter.

@fsmanuel fsmanuel merged commit bb677f4 into funkensturm:master Jul 30, 2023
13 of 14 checks passed
@fsmanuel
Copy link
Member

@stevensona thanks again. I released v2.0.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants