Closed Bug 1707512 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 28681 - Bump jscodeshift from 0.5.1 to 0.12.0 in /webrtc/tools

Categories

(Core :: WebRTC, task, P4)

task

Tracking

()

RESOLVED INVALID

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 28681 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/28681
Details from upstream follow.

b'dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>' wrote:

Bump jscodeshift from 0.5.1 to 0.12.0 in /webrtc/tools

Bumps jscodeshift from 0.5.1 to 0.12.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/jscodeshift/releases">jscodeshift's releases</a>.</em></p>
<blockquote>
<h2>v0.7.0</h2>
<h2>Added</h2>
<ul>
<li>Added jest snapshot utils (<a href="https://github-redirect.dependabot.com/facebook/jscodeshift/issues/297">#297</a>, <a href="https://github.com/dogoku"><code>@​dogoku</code></a>)</li>
</ul>
<h2>Changed</h2>
<ul>
<li>Moved from BSD to MIT license</li>
</ul>
<h2>Fixed</h2>
<ul>
<li>No longer throw an error when calling jscodeshift on a non-existent path (<a href="https://github-redirect.dependabot.com/facebook/jscodeshift/issues/334">#334</a>, <a href="https://github.com/threepointone"><code>@​threepointone</code></a>)</li>
<li>Preserve the original file extension in remote files (<a href="https://github-redirect.dependabot.com/facebook/jscodeshift/issues/317">#317</a>, <a href="https://github.com/samselikoff"><code>@​samselikoff</code></a>)</li>
</ul>
<h2>v0.6.4</h2>
<h3>Changed</h3>
<ul>
<li>Allow writing tests in TypeScript (<a href="https://github-redirect.dependabot.com/facebook/jscodeshift/issues/308">#308</a>)</li>
<li>Better handling of <code>.gitingore</code> files: Ignore comments and support <code>\r\n</code> line breaks (<a href="https://github-redirect.dependabot.com/facebook/jscodeshift/issues/306">#306</a>)</li>
</ul>
<h2>v0.6.3</h2>
<h3>Fixed</h3>
<ul>
<li>Don't throw an error when jscodeshift processes an empty set of files (<a href="https://github-redirect.dependabot.com/facebook/jscodeshift/issues/295">#295</a>, <a href="https://github.com/skovhus"><code>@​skovhus</code></a>).</li>
<li><code>renameTo</code> should not rename class properties (<a href="https://github-redirect.dependabot.com/facebook/jscodeshift/issues/296">#296</a>, <a href="https://github.com/henryqdineen"><code>@​henryqdineen</code></a>).</li>
<li>Custom/unknown CLI parameters are parsed as JSON, just like nomnom used to do.</li>
</ul>
<h2>v0.6.2</h2>
<h3>Changed</h3>
<ul>
<li><code>@babel/register</code>/<code>@babel/preset-env</code> 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.</li>
<li>Do not transpile object rest/spread in transform code if supported by running
Node version.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Presets and plugins passed to <code>@babel/register</code> are now properly named and
loaded.</li>
</ul>
<h2>v0.6.1</h2>
<h3>Added</h3>
<ul>
<li>Tranform files can be written in Typescript. If the file extension of the
transform file is <code>.ts</code> or <code>.tsx</code>, <code>@babel/preset-typescript</code> is used to
convert them. This requires the <code>--babel</code> option to be set (which it is by
default). ( <a href="https://github-redirect.dependabot.com/facebook/jscodeshift/issues/287">#287</a> , <a href="https://github.com/brieb"><code>@​brieb</code></a> )</li>
</ul>
<h3>Changed</h3>
<ul>
<li>The preset and plugins for converting the transform file itself via babeljs
have been updated to work with babel v7. This included removing
<code>babel-preset-es2015</code> and <code>babel-preset-stage-1</code> in favor of
<code>@babel/preset-env</code>. Only <code>@babel/proposal-class-properties</code> and
<code>@babel/proposal-object-rest-spread</code> are enabled as experimental features. If</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/facebook/jscodeshift/blob/master/CHANGELOG.md">jscodeshift's changelog</a>.</em></p>
<blockquote>
<h2>[0.12.0] 2021-04-21</h2>
<h3>Changed</h3>
<ul>
<li>Allow transform to be a Promise (<a href="https://github-redirect.dependabot.com/facebook/jscodeshift/issues/237">#237</a>, <a href="https://github.com/rektide"><code>@​rektide</code></a>)</li>
<li>Support newer TypeScript syntax by upgrading to newer Babel parser (<a href="https://github-redirect.dependabot.com/facebook/jscodeshift/issues/410">#410</a>, <a href="https://github.com/wdoug"><code>@​wdoug</code></a> and <a href="https://github.com/mfeckie"><code>@​mfeckie</code></a>)</li>
</ul>
<h2>[0.11.0] 2020-09-01</h2>
<h3>Changed</h3>
<ul>
<li>Updated <code>recast</code> to latest</li>
</ul>
<h2>[0.10.0] 2020-06-01</h2>
<h3>Changed</h3>
<ul>
<li>Updated <code>flow-parser</code> to latest, and enabled Flow Enums parsing by default when using Flow parser</li>
</ul>
<h2>[0.8.0] 2020-05-03</h2>
<h3>Changed</h3>
<ul>
<li>Dropped support for Node versions 6 and 8</li>
</ul>
<h2>[0.7.0] 2019-12-11</h2>
<h2>Added</h2>
<ul>
<li>Added jest snapshot utils (<a href="https://github-redirect.dependabot.com/facebook/jscodeshift/issues/297">#297</a>, <a href="https://github.com/dogoku"><code>@​dogoku</code></a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Moved from BSD to MIT license</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>No longer throw an error when calling jscodeshift on a non-existent path (<a href="https://github-redirect.dependabot.com/facebook/jscodeshift/issues/334">#334</a>, <a href="https://github.com/threepointone"><code>@​threepointone</code></a>)</li>
<li>Preserve the original file extension in remote files (<a href="https://github-redirect.dependabot.com/facebook/jscodeshift/issues/317">#317</a>, <a href="https://github.com/samselikoff"><code>@​samselikoff</code></a>)</li>
</ul>
<h2>[0.6.4] 2019-04-30</h2>
<h3>Changed</h3>
<ul>
<li>Allow writing tests in TypeScript ([PR <a href="https://github-redirect.dependabot.com/facebook/jscodeshift/issues/308">#308</a>](<a href="https://github-redirect.dependabot.com/facebook/jscodeshift/pull/308">facebook/jscodeshift#308</a>))</li>
<li>Better handling of <code>.gitingore</code> files: Ignore comments and support <code>\r\n</code> line breaks ([PR <a href="https://github-redirect.dependabot.com/facebook/jscodeshift/issues/306">#306</a>](<a href="https://github-redirect.dependabot.com/facebook/jscodeshift/pull/306">facebook/jscodeshift#306</a>))</li>
</ul>
<h2>[0.6.3] 2019-01-18</h2>
<h3>Fixed</h3>
<ul>
<li>Don't throw an error when jscodeshift processes an empty set of files (<a href="https://github-redirect.dependabot.com/facebook/jscodeshift/issues/295">#295</a>,
<a href="https://github.com/skovhus"><code>@​skovhus</code></a>).</li>
<li><code>renameTo</code> should not rename class properties (<a href="https://github-redirect.dependabot.com/facebook/jscodeshift/issues/296">#296</a>, <a href="https://github.com/henryqdineen"><code>@​henryqdineen</code></a>).</li>
<li>Custom/unknown CLI parameters are parsed as JSON, just like nomnom used to
do.</li>
</ul>
<h2>[0.6.2] 2018-12-05</h2>
<h3>Changed</h3>
<ul>
<li><code>@babel/register</code>/<code>@babel/preset-env</code> 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.</li>
<li>Do not transpile object rest/spread in transform code if supported by running</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/facebook/jscodeshift/commit/711a2eb15024d3bccd92a3e4eece44e652317d99"><code>711a2eb</code></a> 0.12.0</li>
<li><a href="https://github.com/facebook/jscodeshift/commit/788d6e1ff8df2662fecf6dc5c3a9b844202ac54f"><code>788d6e1</code></a> Support newer TypeScript syntax (<a href="https://github-redirect.dependabot.com/facebook/jscodeshift/issues/410">#410</a>)</li>
<li><a href="https://github.com/facebook/jscodeshift/commit/d8fb5ecc2b31658429cf47f9dc14147a342ebe93"><code>d8fb5ec</code></a> Allow transform to be a promise. Resolves <a href="https://github-redirect.dependabot.com/facebook/jscodeshift/issues/210">#210</a>.</li>
<li><a href="https://github.com/facebook/jscodeshift/commit/5910a4dcde431813c2e34a3a6f47e8800d275eb6"><code>5910a4d</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/facebook/jscodeshift/issues/388">#388</a> from facebook/dependabot/npm_and_yarn/handlebars-4.7.6</li>
<li><a href="https://github.com/facebook/jscodeshift/commit/ae306e82c344bdd368fa54bec9174f1d9aae11aa"><code>ae306e8</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/facebook/jscodeshift/issues/404">#404</a> from facebook/dependabot/npm_and_yarn/ini-1.3.7</li>
<li><a href="https://github.com/facebook/jscodeshift/commit/62089ffe789c42fc757d67116c7f1f3e397c885e"><code>62089ff</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/facebook/jscodeshift/issues/407">#407</a> from lpoulter/bump-recast</li>
<li><a href="https://github.com/facebook/jscodeshift/commit/ecb935045c3b909c14e99969e7e723cbf04c5f70"><code>ecb9350</code></a> chore: update recast to allow ChainExpression types</li>
<li><a href="https://github.com/facebook/jscodeshift/commit/d2835febcc57c784cd93020224100c196a8efe98"><code>d2835fe</code></a> Bump ini from 1.3.5 to 1.3.7</li>
<li><a href="https://github.com/facebook/jscodeshift/commit/99eee8d95cd9aafeb6dadafb96ea6c800609eae5"><code>99eee8d</code></a> Bump handlebars from 4.5.1 to 4.7.6</li>
<li><a href="https://github.com/facebook/jscodeshift/commit/48f5d6d6e5e769639b958f1a955c83c68157a5fa"><code>48f5d6d</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/facebook/jscodeshift/issues/385">#385</a> from martinsuchan/fix-license</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/jscodeshift/compare/v0.5.1...0.12.0">compare view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a href="https://www.npmjs.com/~daniel15">daniel15</a>, a new releaser for jscodeshift since your current version.</p>
</details>
<br />

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.


<details>
<summary>Dependabot commands and options</summary>
<br />

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)

</details>

Component: web-platform-tests → WebRTC
Product: Testing → Core
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.