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

Bump eslint from 4.19.1 to 7.22.0 in /webrtc/tools #4

Closed

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Mar 15, 2021

Bumps eslint from 4.19.1 to 7.22.0.

Release notes

Sourced from eslint's releases.

v7.22.0

  • 3a432d8 Docs: Improve documentation for indent rule (#14168) (Serkan Özel)
  • f62ec8d Update: throw error when fix range is invalid (#14142) (Jacob Bandes-Storch)
  • 0eecad2 Upgrade: Update lodash in package.json to V 4.17.21 (#14159) (Basem Al-Nabulsi)
  • 5ad91aa Update: report es2021 globals in no-extend-native (refs #13602) (#14177) (Milos Djermanovic)
  • c295581 Chore: remove leftover JSDoc from lint-result-cache (#14176) (Milos Djermanovic)
  • 0d541f9 Chore: Reduce lodash usage (#14178) (Stephen Wade)
  • 27a67d7 Sponsors: Sync README with website (ESLint Jenkins)
  • 459d821 Chore: upgrade dependencies of browser test (#14127) (Pig Fang)
  • ebfb63a Sponsors: Sync README with website (ESLint Jenkins)
  • 3ba029f Docs: Remove Extraneous Dash (#14164) (Danny Hurlburt)
  • 6f4540e Sponsors: Sync README with website (ESLint Jenkins)
  • ddf361c Docs: Fix Formatting (#14154) (Danny Hurlburt)
  • c0d2ac1 Sponsors: Sync README with website (ESLint Jenkins)
  • a8df03e Docs: Clarify triage process (#14117) (Nicholas C. Zakas)

v7.21.0

  • 3cd5440 Upgrade: @eslint/eslintrc to 0.4.0 (#14147) (Brandon Mills)
  • c0b8c71 Upgrade: Puppeteer to 7.1.0 (#14122) (Tim van der Lippe)
  • 08ae31e New: Implement cacheStrategy (refs eslint/rfcs#63) (#14119) (Manu Chambon)
  • 5e51fd2 Update: do not ignore symbolic links (fixes #13551, fixes #13615) (#14126) (Pig Fang)
  • 87c43a5 Chore: improve a few comments and fix typos (#14125) (Tobias Nießen)
  • e19c51e Sponsors: Sync README with website (ESLint Jenkins)
  • b8aea99 Fix: pluralize 'line' to 'lines' in max-lines-per-function description (#14115) (Trevin Hofmann)
  • f5b53e2 Sponsors: Sync README with website (ESLint Jenkins)
  • eee1213 Sponsors: Sync README with website (ESLint Jenkins)
  • 5c4d7ea Sponsors: Sync README with website (ESLint Jenkins)

v7.20.0

  • f4ac3b0 Docs: fix sibling selector descriptions (#14099) (Milos Djermanovic)
  • 9d6063a Fix: Crash with esquery when using JSX (fixes #13639) (#14072) (Yosuke Ota)
  • a0871f1 Docs: Triage process (#14014) (Nicholas C. Zakas)
  • ad90761 Update: add enforceForJSX option to no-unused-expressions rule (#14012) (Duncan Beevers)
  • d6c84af Fix: --init autoconfig shouldn't add deprecated rules (fixes #14017) (#14060) (Milos Djermanovic)
  • 9b277a1 Fix: Support ENOTDIR error code in the folder existence checking utility (#13973) (Constantine Genchevsky)
  • 7aeb127 Upgrade: pin @babel/code-frame@7.12.11 (#14067) (Milos Djermanovic)
  • b4e2af5 Docs: Add more fields to bug report template (#14039) (Nicholas C. Zakas)
  • 96f1d49 Sponsors: Sync README with website (ESLint Jenkins)
  • cb27b0a Build: package.json update for eslint-config-eslint release (ESLint Jenkins)
  • 4cab165 Sponsors: Sync README with website (ESLint Jenkins)

v7.19.0

  • ce7f061 Update: add shadowed variable loc to message in no-shadow (fixes #13646) (#13841) (t-mangoe)
  • c60e23f Update: fix let logic in for-in and for-of loops in no-extra-parens (#14011) (Milos Djermanovic)
  • d76e8f6 Fix: no-useless-rename invalid autofix with parenthesized identifiers (#14032) (Milos Djermanovic)
  • 5800d92 Docs: Clarify stylistic rule update policy (#14052) (Brandon Mills)
  • 0ccf6d2 Docs: remove configuring.md (#14036) (Milos Djermanovic)
  • 65bb0ab Chore: Clean up new issue workflow (#14040) (Nicholas C. Zakas)
  • e1da90f Fix: nested indenting for offsetTernaryExpressions: true (fixes #13971) (#13972) (Chris Brody)
  • 1a078b9 Update: check ternary : even if ? was reported in space-infix-ops (#13963) (Milos Djermanovic)

... (truncated)

Changelog

Sourced from eslint's changelog.

v7.22.0 - March 12, 2021

  • 3a432d8 Docs: Improve documentation for indent rule (#14168) (Serkan Özel)
  • f62ec8d Update: throw error when fix range is invalid (#14142) (Jacob Bandes-Storch)
  • 0eecad2 Upgrade: Update lodash in package.json to V 4.17.21 (#14159) (Basem Al-Nabulsi)
  • 5ad91aa Update: report es2021 globals in no-extend-native (refs #13602) (#14177) (Milos Djermanovic)
  • c295581 Chore: remove leftover JSDoc from lint-result-cache (#14176) (Milos Djermanovic)
  • 0d541f9 Chore: Reduce lodash usage (#14178) (Stephen Wade)
  • 27a67d7 Sponsors: Sync README with website (ESLint Jenkins)
  • 459d821 Chore: upgrade dependencies of browser test (#14127) (Pig Fang)
  • ebfb63a Sponsors: Sync README with website (ESLint Jenkins)
  • 3ba029f Docs: Remove Extraneous Dash (#14164) (Danny Hurlburt)
  • 6f4540e Sponsors: Sync README with website (ESLint Jenkins)
  • ddf361c Docs: Fix Formatting (#14154) (Danny Hurlburt)
  • c0d2ac1 Sponsors: Sync README with website (ESLint Jenkins)
  • a8df03e Docs: Clarify triage process (#14117) (Nicholas C. Zakas)

v7.21.0 - February 27, 2021

  • 3cd5440 Upgrade: @eslint/eslintrc to 0.4.0 (#14147) (Brandon Mills)
  • c0b8c71 Upgrade: Puppeteer to 7.1.0 (#14122) (Tim van der Lippe)
  • 08ae31e New: Implement cacheStrategy (refs eslint/rfcs#63) (#14119) (Manu Chambon)
  • 5e51fd2 Update: do not ignore symbolic links (fixes #13551, fixes #13615) (#14126) (Pig Fang)
  • 87c43a5 Chore: improve a few comments and fix typos (#14125) (Tobias Nießen)
  • e19c51e Sponsors: Sync README with website (ESLint Jenkins)
  • b8aea99 Fix: pluralize 'line' to 'lines' in max-lines-per-function description (#14115) (Trevin Hofmann)
  • f5b53e2 Sponsors: Sync README with website (ESLint Jenkins)
  • eee1213 Sponsors: Sync README with website (ESLint Jenkins)
  • 5c4d7ea Sponsors: Sync README with website (ESLint Jenkins)

v7.20.0 - February 12, 2021

  • f4ac3b0 Docs: fix sibling selector descriptions (#14099) (Milos Djermanovic)
  • 9d6063a Fix: Crash with esquery when using JSX (fixes #13639) (#14072) (Yosuke Ota)
  • a0871f1 Docs: Triage process (#14014) (Nicholas C. Zakas)
  • ad90761 Update: add enforceForJSX option to no-unused-expressions rule (#14012) (Duncan Beevers)
  • d6c84af Fix: --init autoconfig shouldn't add deprecated rules (fixes #14017) (#14060) (Milos Djermanovic)
  • 9b277a1 Fix: Support ENOTDIR error code in the folder existence checking utility (#13973) (Constantine Genchevsky)
  • 7aeb127 Upgrade: pin @babel/code-frame@7.12.11 (#14067) (Milos Djermanovic)
  • b4e2af5 Docs: Add more fields to bug report template (#14039) (Nicholas C. Zakas)
  • 96f1d49 Sponsors: Sync README with website (ESLint Jenkins)
  • cb27b0a Build: package.json update for eslint-config-eslint release (ESLint Jenkins)
  • 4cab165 Sponsors: Sync README with website (ESLint Jenkins)

v7.19.0 - January 30, 2021

  • ce7f061 Update: add shadowed variable loc to message in no-shadow (fixes #13646) (#13841) (t-mangoe)
  • c60e23f Update: fix let logic in for-in and for-of loops in no-extra-parens (#14011) (Milos Djermanovic)
  • d76e8f6 Fix: no-useless-rename invalid autofix with parenthesized identifiers (#14032) (Milos Djermanovic)
  • 5800d92 Docs: Clarify stylistic rule update policy (#14052) (Brandon Mills)

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by eslintbot, a new releaser for eslint since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [eslint](https://github.com/eslint/eslint) from 4.19.1 to 7.22.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](eslint/eslint@v4.19.1...v7.22.0)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 15, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Mar 16, 2021

OK, I won't notify you again about this release, but will get in touch when a new version is available.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/webrtc/tools/eslint-7.22.0 branch March 16, 2021 00:11
MattiasBuelens pushed a commit that referenced this pull request Nov 24, 2021
…eVisibilityKeeper::PrepareToSplitBlockElement()` before splitting a text node

It does the following things when caret is collapsed in a text node in a `<p>`
or `<div>` element.

1. Split the text node containing caret to insert `<br>` element
2. Insert `<br>` element after it
3. Split ancestor elements which inclusive descendants of the `<p>` or `<div>`
4. Delete the `<br>` element if unnecessary from the left paragraph

#3 and #4 are performed by `HTMLEditor::SplitParagraph()` and it calls
`WhiteSpaceVisibilityKeeper::PrepareToSplitBlockElement()` correctly before
splitting the block.  However, in the case (caret is at middle of a text node),
the text has already been split to 2 nodes because of #1.  Therefore, it fails
to handle to keep the white-space visibility.

So that I believe that the root cause of this bug is, the method does much
complicated things which are required, and doing the redundant things will
eat memory space due to undo transactions.  However, for now, I'd like to fix
this with a simple patch which just call the preparation method before splitting
the text node because I'd like to uplift this if it'd be approved (Note that
this is not a recent regression, the root cause was created by bug 92686 which
was fixed in 17 years ago:
<https://searchfox.org/mozilla-central/commit/2e66280faef73e9be218e00758d4eb738395ac83>,
but must be annoying bug for users who see this frequently).

The new WPTs are pass in Chrome.

Differential Revision: https://phabricator.services.mozilla.com/D130950

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1740416
gecko-commit: 73567f6c2bcfa078836a36760498bb11747561dd
gecko-reviewers: m_kato, smaug
MattiasBuelens pushed a commit that referenced this pull request Sep 30, 2023
This CL improves the testing of template cloning with Parts, testing
these four cases:

  1. Main document parsing
  2. Template (content fragment) parsing
  3. Template/fragment cloning
  4. Declarative Shadow DOM parsing and cloning

This CL fixes the behavior for #3 above, but leaves #4 broken. The
following changes in behavior are made:

1. Part::MoveToRoot() can be used to change the root(), including
   to set it to nullptr. This happens when a Node tree is removed
   from the DOM, and it contains Parts that refer to the old root.
2. IsDocumentPartRoot() is now virtual, because during a tree move,
   the root() for a Part can be made nullptr even when it's a
   ChildNodePart.
3. Part::disconnected_ is added to keep track of whether the
   Part has been disconnected, since root() can now be nullptr.
4. (This is a bug fix) When using ChildNodePart::setNextSibling(),
   the new sibling node wasn't having its Part registered with
   NodeRareData, which caused a CHECK failure when trying to
   subsequently clone that Part. This is caught in the new test
   which clones declaratively-built templates containing Parts.

Bug: 1453291
Change-Id: Ic1c1475431cf6bd658f191db78003204412ef78f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4713668
Reviewed-by: David Baron <dbaron@chromium.org>
Auto-Submit: Mason Freed <masonf@chromium.org>
Commit-Queue: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1175782}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
1 participant