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 deprecation warnings #5044

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nwmac
Copy link
Member

@nwmac nwmac commented Jun 27, 2023

As part of working to update to Ember 3.28, this PR updates lint rule so string prototype extensions fail the lint.

Addresses string prototype extension uses and uses @ember\string functions.

This addresses a first set of deprecation warnings that you would see in the browser console.

@nwmac nwmac self-assigned this Dec 1, 2023
@nwmac nwmac added this to the v2.8.next1 milestone Dec 1, 2023
@@ -125,7 +125,7 @@ export default Resource.extend({

this.registerDynamicComputedProperty('displaySize', computedKeys, size.getDisplayProperty);
} else {
set(this, 'displaySize', get(this, 'config.size') || 'N/A');
// set(this, 'displaySize', get(this, 'config.size') || 'N/A');
Copy link
Member

Choose a reason for hiding this comment

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

Was this included intentionally? Seems unrelated

Copy link
Member

Choose a reason for hiding this comment

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

This component is still referenced in another component. Pipelines have been deprecated since 2.5, can we remove all pipeline code now?? Probably deserves its own PR though

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