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

feat(core): add partial support for ES6 computed property names #293

Merged
merged 7 commits into from
May 18, 2021
Merged

feat(core): add partial support for ES6 computed property names #293

merged 7 commits into from
May 18, 2021

Conversation

micalevisk
Copy link
Contributor

@micalevisk micalevisk commented May 11, 2021

Closes #289

"Partial" in a sense that few computed property name usage are not supported (see them in get-member-path.spec.ts file)

I'm not sure if I need to update the minor version on package.json in this PR. Let me know if I should.

Computed property names were introduced in ES6.

"Partial" in a sense that few computed property name usage are not
supported. As well for when using with ES5 functions, not arrow
functions.

Closes #289
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Owner

@nartc nartc left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you for the PR.

@nartc nartc merged commit 93d3f66 into nartc:main May 18, 2021
@micalevisk micalevisk deleted the fix-issue-289 branch May 18, 2021 16:18
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.

Why did using a simple computed property name doesn't map properly?
2 participants