Skip to content

Conversation

@kaicataldo
Copy link

@kaicataldo kaicataldo commented Feb 11, 2020

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

If adding a new feature, the PR's description includes:

  • A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

I'm a maintainer of ESLint and am working on getting our regression build for ESLint updated to ESLint v6. I figured I could make a quick PR to get the Vue codebase updated. This is my first PR, so please let me know if I missed something!

@@ -1,5 +1,4 @@
/* @flow */
/* globals MutationObserver */
Copy link
Author

Choose a reason for hiding this comment

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

This is now included the in this env globals by default.

)
}
if (el.attrsMap.hasOwnProperty('v-for')) {
if (Object.prototype.hasOwnProperty.call(el.attrsMap, 'v-for')) {
Copy link
Author

@kaicataldo kaicataldo Feb 11, 2020

Choose a reason for hiding this comment

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

const style = stylesheet[name]
for (const key in style) {
if (!result.hasOwnProperty(key)) {
if (!Object.prototype.hasOwnProperty.call(result, key)) {
Copy link
Author

Choose a reason for hiding this comment

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

Vue.set(vm.data, 'bar', 123)
expect(vm.data.bar).toBe(123)
expect(vm.data.hasOwnProperty('bar')).toBe(false)
expect(Object.prototype.hasOwnProperty.call(vm.data, 'bar')).toBe(false)
Copy link
Author

Choose a reason for hiding this comment

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

@kaicataldo
Copy link
Author

Anything else I can do here to help land this? :)

@kaicataldo
Copy link
Author

One more friendly ping

@kaicataldo
Copy link
Author

One last friendly ping. Happy to close this if this isn't something the core team would like to do right now!

@kaicataldo kaicataldo closed this Jul 26, 2021
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