Skip to content

Bump jscodeshift from 0.5.1 to 0.12.0 in /webrtc/tools#3

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/webrtc/tools/jscodeshift-0.12.0
Closed

Bump jscodeshift from 0.5.1 to 0.12.0 in /webrtc/tools#3
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/webrtc/tools/jscodeshift-0.12.0

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot bot commented on behalf of github Apr 26, 2021

Bumps jscodeshift from 0.5.1 to 0.12.0.

Release notes

Sourced from jscodeshift's releases.

v0.7.0

Added

Changed

  • Moved from BSD to MIT license

Fixed

v0.6.4

Changed

  • Allow writing tests in TypeScript (#308)
  • Better handling of .gitingore files: Ignore comments and support \r\n line breaks (#306)

v0.6.3

Fixed

  • Don't throw an error when jscodeshift processes an empty set of files (#295, @​skovhus).
  • renameTo should not rename class properties (#296, @​henryqdineen).
  • Custom/unknown CLI parameters are parsed as JSON, just like nomnom used to do.

v0.6.2

Changed

  • @babel/register/@babel/preset-env is configured to not transpile any language features that the running Node process supports. That means if you use features in your transform code supported by the Node version you are running, they will be left as is. Most of ES2015 is actually supported since Node v6.
  • Do not transpile object rest/spread in transform code if supported by running Node version.

Fixed

  • Presets and plugins passed to @babel/register are now properly named and loaded.

v0.6.1

Added

  • Tranform files can be written in Typescript. If the file extension of the transform file is .ts or .tsx, @babel/preset-typescript is used to convert them. This requires the --babel option to be set (which it is by default). ( #287 , @​brieb )

Changed

  • The preset and plugins for converting the transform file itself via babeljs have been updated to work with babel v7. This included removing babel-preset-es2015 and babel-preset-stage-1 in favor of @babel/preset-env. Only @babel/proposal-class-properties and @babel/proposal-object-rest-spread are enabled as experimental features. If

... (truncated)

Changelog

Sourced from jscodeshift's changelog.

[0.12.0] 2021-04-21

Changed

[0.11.0] 2020-09-01

Changed

  • Updated recast to latest

[0.10.0] 2020-06-01

Changed

  • Updated flow-parser to latest, and enabled Flow Enums parsing by default when using Flow parser

[0.8.0] 2020-05-03

Changed

  • Dropped support for Node versions 6 and 8

[0.7.0] 2019-12-11

Added

Changed

  • Moved from BSD to MIT license

Fixed

[0.6.4] 2019-04-30

Changed

[0.6.3] 2019-01-18

Fixed

  • Don't throw an error when jscodeshift processes an empty set of files (#295, @​skovhus).
  • renameTo should not rename class properties (#296, @​henryqdineen).
  • Custom/unknown CLI parameters are parsed as JSON, just like nomnom used to do.

[0.6.2] 2018-12-05

Changed

  • @babel/register/@babel/preset-env is configured to not transpile any language features that the running Node process supports. That means if you use features in your transform code supported by the Node version you are running, they will be left as is. Most of ES2015 is actually supported since Node v6.
  • Do not transpile object rest/spread in transform code if supported by running

... (truncated)

Commits
  • 711a2eb 0.12.0
  • 788d6e1 Support newer TypeScript syntax (#410)
  • d8fb5ec Allow transform to be a promise. Resolves #210.
  • 5910a4d Merge pull request #388 from facebook/dependabot/npm_and_yarn/handlebars-4.7.6
  • ae306e8 Merge pull request #404 from facebook/dependabot/npm_and_yarn/ini-1.3.7
  • 62089ff Merge pull request #407 from lpoulter/bump-recast
  • ecb9350 chore: update recast to allow ChainExpression types
  • d2835fe Bump ini from 1.3.5 to 1.3.7
  • 99eee8d Bump handlebars from 4.5.1 to 4.7.6
  • 48f5d6d Merge pull request #385 from martinsuchan/fix-license
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by daniel15, a new releaser for jscodeshift 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Apr 26, 2021
@dependabot @github
Copy link
Copy Markdown
Author

dependabot bot commented on behalf of github Jun 28, 2021

Superseded by #8.

@dependabot dependabot bot closed this Jun 28, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/webrtc/tools/jscodeshift-0.12.0 branch June 28, 2021 04:09
rniwa pushed a commit that referenced this pull request Jul 31, 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 <[email protected]>
Auto-Submit: Mason Freed <[email protected]>
Commit-Queue: Mason Freed <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1175782}
rniwa pushed a commit that referenced this pull request Sep 15, 2023
Following the discussion on issue #3 [1], this CL adds support to soft
navigations triggered by keyboard shortcuts, by adding unfocused keydown
events to the events that can trigger the soft navigation heuristic.

[1] WICG/soft-navigations#3

Bug: 1478772
Change-Id: Ib423a3cfc09eaf4dd9a2221b3494ab1016fa8668
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4839506
Commit-Queue: Yoav Weiss <[email protected]>
Reviewed-by: Ian Clelland <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1193004}
rniwa pushed a commit that referenced this pull request Sep 15, 2023
…on triggers"

This reverts commit 6efe71286a014d3d3872bc990e3ea2d08dd46dba.

Reason for revert: One check added in this CL causes crash. see
crbug.com/1480047

Original change's description:
> [soft navigations] Enable keyboard shortcuts as soft navigation triggers
>
> Following the discussion on issue #3 [1], this CL adds support to soft
> navigations triggered by keyboard shortcuts, by adding unfocused keydown
> events to the events that can trigger the soft navigation heuristic.
>
> [1] WICG/soft-navigations#3
>
> Bug: 1478772
> Change-Id: Ib423a3cfc09eaf4dd9a2221b3494ab1016fa8668
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4839506
> Commit-Queue: Yoav Weiss <[email protected]>
> Reviewed-by: Ian Clelland <[email protected]>
> Cr-Commit-Position: refs/heads/main@{#1193004}

Bug: 1478772
Change-Id: I3a518c165e6b19239a6bf7900e94c1ef9c3e5a5a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4859802
Reviewed-by: Ian Clelland <[email protected]>
Commit-Queue: Hao Liu <[email protected]>
Owners-Override: Daniel Cheng <[email protected]>
Bot-Commit: Rubber Stamper <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1196100}
rniwa pushed a commit that referenced this pull request Apr 25, 2024
…attempt #3

This converts IDL-exposed promises in ReadableStream,
ReadableStreamBYOBReader, ReadableStreamDefaultReader, and
ReadableStreamGenericReader to use typed ScriptPromiseResolver
instead of StreamPromiseResolver and to return typed
ScriptPromises.

Bug: 329702363
Change-Id: I8ad1af1a7c9c909d711881ce7621c6c9fac58931
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5429731
Reviewed-by: Adam Rice <[email protected]>
Reviewed-by: Nidhi Jaju <[email protected]>
Commit-Queue: Nate Chapin <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1289397}
rniwa pushed a commit that referenced this pull request Nov 19, 2025
Fixing these tests involved the following updates:
1. Update all grid id refs to masonry.

2. In the row test, update the item.style.expectedRows to
item.style.gridRow. I suspect this was a bad AI suggestion I didn't
catch originally.

3. The min-content/max-content contribution in the block direction
(i.e. row direction) is always the same (which is the block content
contribution). This means that the row test expectations needed to
be updated for all min-content entries to match that of max-content.

The reason the grid test for #3 is different is that test sets both
column and row constraints, which impacts what the rows are sized to.
In this case, we are only constraining the row sizes, so we can end
up with different expectations as a result.

Bug: 343257585
Change-Id: I81f19a30d332eab5e18b7638d98467fbb81cde02
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7038202
Commit-Queue: Alison Maher <[email protected]>
Reviewed-by: Kurt Catti-Schmidt <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1532680}
rniwa added a commit that referenced this pull request Mar 16, 2026
To "prepare the script element" [1] exits early when the element is disconnected.
In this test, the script element represented by frag_script_2 which logs "inline script #3"
is disconnected in the preceeding script (frag_script_1 / "inline script #2").
Since post-connection steps [2] are executed in the tree order, by the time we are to
"prepare the script element" on frag_script_2 / "inline script #3", the script element is
already disconnected and the script will not be executed.

This test failing in Chrome and Safari but passing in Firefox. After the change, the test
passes in Chrome and Safari and fails in Firefox.

[1] https://html.spec.whatwg.org/multipage/scripting.html#prepare-the-script-element
[2] https://dom.spec.whatwg.org/#concept-node-post-connection-ext
rniwa added a commit that referenced this pull request Mar 16, 2026
…s#58514)

To "prepare the script element" [1] exits early when the element is disconnected.
In this test, the script element represented by frag_script_2 which logs "inline script #3"
is disconnected in the preceeding script (frag_script_1 / "inline script #2").
Since post-connection steps [2] are executed in the tree order, by the time we are to
"prepare the script element" on frag_script_2 / "inline script #3", the script element is
already disconnected and the script will not be executed.

This test failing in Chrome and Safari but passing in Firefox. After the change, the test
passes in Chrome and Safari and fails in Firefox.

[1] https://html.spec.whatwg.org/multipage/scripting.html#prepare-the-script-element
[2] https://dom.spec.whatwg.org/#concept-node-post-connection-ext
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

Development

Successfully merging this pull request may close these issues.

0 participants