[PR #2422] [CLOSED] chore(deps-dev): bump rollup-plugin-ts from 2.0.7 to 3.0.2 #3803

Closed
opened 2026-03-17 01:23:09 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/2422
Author: @dependabot[bot]
Created: 6/13/2022
Status: Closed

Base: mainHead: dependabot/npm_and_yarn/rollup-plugin-ts-3.0.2


📝 Commits (1)

  • 87b24e2 chore(deps-dev): bump rollup-plugin-ts from 2.0.7 to 3.0.2

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 packages/codemirror-lang-graphql/package.json (+1 -1)

📄 Description

Bumps rollup-plugin-ts from 2.0.7 to 3.0.2.

Release notes

Sourced from rollup-plugin-ts's releases.

v3.0.2

  • chore: bump deps 6c96c17
  • feat: add support for ESM-based Babel configs. Closes #167 15e8edd
  • feat: add support for multiple swc configs. Closes #177. Don't enforce importHelpers: true to avoid a potential tslib error when babel or swc is used for all types of syntax 5ba4c9c
  • fix: don't call addWatchFile outside of allowed Rollup phase 8b3e7e8

https://github.com/wessberg/rollup-plugin-ts/compare/v3.0.1...v3.0.2

v3.0.1

  • fix: use ansi-colors instead of Chalk for better CJS fallback support eac318e
  • docs: add note about different declaration formats 2b34a70

https://github.com/wessberg/rollup-plugin-ts/compare/v3.0.0...v3.0.1

v3.0.0

New Features

rollup-plugin-ts is now based on ESM and requires Node v14.19.0 (BREAKING CHANGE)

Now that TypeScript v4.7 is out, it has finally received great support for ES modules in a Node.js environment that aligns with how it has been implemented across Node.js and browsers.

Because of this, now is a good time to make this plugin a type: "module" package. However, it still provides a CommonJS fallback. If your codebase is still based on CommonJS, you should be fine. Please know however, that rollup-plugin-ts requires an environment running Node v14.19.0 or newer going forward.

TypeScript v4.7 support

rollup-plugin-ts now fully supports TypeScript v4.7 and its new features. This also means that you can now use .mjs, .mts, .cjs, and .mts files. Additionally, the extension of your declaration files will depend on the extensions of your output files as controlled by your Rollup config:

  • .js output files will produce .d.ts and optionally .d.ts.map files
  • .mjs output files will produce .d.mts and optionally .d.mts.map files
  • .cjs output files will produce .d.cts and optionally .d.cts.map files

Transpilers are now used for the entire syntax transformation (BREAKING CHANGE)

Before, when you selected a transpiler such as babel or swc, these wouldn't actually be used for stripping away TypeScript-specific features such as types, enums, and decorators. Instead, the TypeScript compiler APIs would still be used for performing the initial syntax transformation, and then babel or swc would "take over from there". However, there are times when you may want to use babel or swc even for the initial transformation.

Going forward, a transpiler will be used for the entire syntax transformation. However, this can be easily customized by mixing transpilers, which is an easy way to get the old behavior back.

Transpilers can be mixed

Now, the transpiler plugin option also accepts an options object if you want to mix them:

ts({
    transpiler: {
        typescriptSyntax: "typescript",
        otherSyntax: "babel"
    }
})
</tr></table> 

... (truncated)

Changelog

Sourced from rollup-plugin-ts's changelog.

3.0.2 (2022-06-07)

Bug Fixes

  • don't call addWatchFile outside of allowed Rollup phase (8b3e7e8)

Features

  • add support for ESM-based Babel configs. Closes #167 (15e8edd)
  • add support for multiple swc configs. Closes #177. Don't enforce importHelpers: true to avoid a potential tslib error when babel or swc is used for all types of syntax (5ba4c9c)

3.0.1 (2022-05-31)

Bug Fixes

  • use ansi-colors instead of Chalk for better CJS fallback support (eac318e)

3.0.0 (2022-05-30)

Bug Fixes

  • use correct import binding (e693665)

Features

  • add TypeScript v4.7 support (aae4588)
Commits
  • fc11cfa 3.0.2
  • 84e1b72 docs: add sponsor: Joel
  • 6c96c17 chore: bump deps
  • 15e8edd feat: add support for ESM-based Babel configs. Closes #167
  • 5ba4c9c feat: add support for multiple swc configs. Closes #177. Don't enforce import...
  • 8b3e7e8 fix: don't call addWatchFile outside of allowed Rollup phase
  • f81209d 3.0.1
  • eac318e fix: use ansi-colors instead of Chalk for better CJS fallback support
  • 2b34a70 docs: add note about different declaration formats
  • 2fce040 3.0.0
  • Additional commits viewable in compare view

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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/2422 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 6/13/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dependabot/npm_and_yarn/rollup-plugin-ts-3.0.2` --- ### 📝 Commits (1) - [`87b24e2`](https://github.com/hoppscotch/hoppscotch/commit/87b24e220779fe1813e704d55c8892ce6fb9ae36) chore(deps-dev): bump rollup-plugin-ts from 2.0.7 to 3.0.2 ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/codemirror-lang-graphql/package.json` (+1 -1) </details> ### 📄 Description Bumps [rollup-plugin-ts](https://github.com/wessberg/rollup-plugin-ts) from 2.0.7 to 3.0.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/wessberg/rollup-plugin-ts/releases">rollup-plugin-ts's releases</a>.</em></p> <blockquote> <h2>v3.0.2</h2> <ul> <li>chore: bump deps 6c96c17</li> <li>feat: add support for ESM-based Babel configs. Closes <a href="https://github-redirect.dependabot.com/wessberg/rollup-plugin-ts/issues/167">#167</a> 15e8edd</li> <li>feat: add support for multiple swc configs. Closes <a href="https://github-redirect.dependabot.com/wessberg/rollup-plugin-ts/issues/177">#177</a>. Don&amp;<a href="https://github-redirect.dependabot.com/wessberg/rollup-plugin-ts/issues/39">#39</a>;t enforce importHelpers: true to avoid a potential tslib error when babel or swc is used for all types of syntax 5ba4c9c</li> <li>fix: don&amp;<a href="https://github-redirect.dependabot.com/wessberg/rollup-plugin-ts/issues/39">#39</a>;t call addWatchFile outside of allowed Rollup phase 8b3e7e8</li> </ul> <p><a href="https://github.com/wessberg/rollup-plugin-ts/compare/v3.0.1...v3.0.2">https://github.com/wessberg/rollup-plugin-ts/compare/v3.0.1...v3.0.2</a></p> <h2>v3.0.1</h2> <ul> <li>fix: use ansi-colors instead of Chalk for better CJS fallback support eac318e</li> <li>docs: add note about different declaration formats 2b34a70</li> </ul> <p><a href="https://github.com/wessberg/rollup-plugin-ts/compare/v3.0.0...v3.0.1">https://github.com/wessberg/rollup-plugin-ts/compare/v3.0.0...v3.0.1</a></p> <h2>v3.0.0</h2> <h1>New Features</h1> <h2><code>rollup-plugin-ts</code> is now based on ESM and requires Node v14.19.0 (<strong>BREAKING CHANGE</strong>)</h2> <p>Now that TypeScript v4.7 is out, it has finally received great support for ES modules in a Node.js environment that aligns with how it has been implemented across Node.js and browsers.</p> <p>Because of this, now is a good time to make this plugin a <code>type: &quot;module&quot;</code> package. However, it still provides a CommonJS fallback. If your codebase is still based on CommonJS, you should be fine. Please know however, that <code>rollup-plugin-ts</code> requires an environment running Node v14.19.0 or newer going forward.</p> <h2>TypeScript v4.7 support</h2> <p><code>rollup-plugin-ts</code> now fully supports TypeScript v4.7 and its new features. This also means that you can now use <code>.mjs</code>, <code>.mts</code>, <code>.cjs</code>, and <code>.mts</code> files. Additionally, the extension of your declaration files will depend on the extensions of your output files as controlled by your Rollup config:</p> <ul> <li><code>.js</code> output files will produce <code>.d.ts</code> and optionally <code>.d.ts.map</code> files</li> <li><code>.mjs</code> output files will produce <code>.d.mts</code> and optionally <code>.d.mts.map</code> files</li> <li><code>.cjs</code> output files will produce <code>.d.cts</code> and optionally <code>.d.cts.map</code> files</li> </ul> <h2>Transpilers are now used for the entire syntax transformation (<strong>BREAKING CHANGE</strong>)</h2> <p>Before, when you selected a transpiler such as <code>babel</code> or <code>swc</code>, these <em>wouldn't</em> actually be used for stripping away TypeScript-specific features such as types, enums, and decorators. Instead, the TypeScript compiler APIs would still be used for performing the initial syntax transformation, and then babel or swc would &quot;take over from there&quot;. However, there are times when you may want to use babel or swc even for the initial transformation.</p> <p>Going forward, a transpiler will be used for the entire syntax transformation. However, this can be easily customized by mixing transpilers, which is an easy way to get the old behavior back.</p> <h2>Transpilers can be mixed</h2> <p>Now, the <code>transpiler</code> plugin option also accepts an options object if you want to mix them:</p> <pre lang="js"><code>ts({ transpiler: { typescriptSyntax: &quot;typescript&quot;, otherSyntax: &quot;babel&quot; } }) &lt;/tr&gt;&lt;/table&gt; </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/wessberg/rollup-plugin-ts/blob/master/CHANGELOG.md">rollup-plugin-ts's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/wessberg/rollup-plugin-ts/compare/v3.0.1...v3.0.2">3.0.2</a> (2022-06-07)</h2> <h3>Bug Fixes</h3> <ul> <li>don't call addWatchFile outside of allowed Rollup phase (<a href="https://github.com/wessberg/rollup-plugin-ts/commit/8b3e7e8fa0a4f0cd5ecd5edf0da4d76749f55193">8b3e7e8</a>)</li> </ul> <h3>Features</h3> <ul> <li>add support for ESM-based Babel configs. Closes <a href="https://github-redirect.dependabot.com/wessberg/rollup-plugin-ts/issues/167">#167</a> (<a href="https://github.com/wessberg/rollup-plugin-ts/commit/15e8edd828972cad274caab88ac91081414e82c5">15e8edd</a>)</li> <li>add support for multiple swc configs. Closes <a href="https://github-redirect.dependabot.com/wessberg/rollup-plugin-ts/issues/177">#177</a>. Don't enforce importHelpers: true to avoid a potential tslib error when babel or swc is used for all types of syntax (<a href="https://github.com/wessberg/rollup-plugin-ts/commit/5ba4c9c75c0b1f5fdd34d06a0729a3af0182344a">5ba4c9c</a>)</li> </ul> <h2><a href="https://github.com/wessberg/rollup-plugin-ts/compare/v3.0.0...v3.0.1">3.0.1</a> (2022-05-31)</h2> <h3>Bug Fixes</h3> <ul> <li>use ansi-colors instead of Chalk for better CJS fallback support (<a href="https://github.com/wessberg/rollup-plugin-ts/commit/eac318e6253089d1e6c94e6593dc1685cd68c9e9">eac318e</a>)</li> </ul> <h1><a href="https://github.com/wessberg/rollup-plugin-ts/compare/v2.0.7...v3.0.0">3.0.0</a> (2022-05-30)</h1> <h3>Bug Fixes</h3> <ul> <li>use correct import binding (<a href="https://github.com/wessberg/rollup-plugin-ts/commit/e69366553f192fc5d5104b9643d6d6fcb5d6bdcd">e693665</a>)</li> </ul> <h3>Features</h3> <ul> <li>add TypeScript v4.7 support (<a href="https://github.com/wessberg/rollup-plugin-ts/commit/aae4588ecb6b2dabe025c353830b23a4e6ee9c2a">aae4588</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/wessberg/rollup-plugin-ts/commit/fc11cfad8de409cc10a102c9f2921c7ea994fc6d"><code>fc11cfa</code></a> 3.0.2</li> <li><a href="https://github.com/wessberg/rollup-plugin-ts/commit/84e1b7289f052221e383ec55abc636d7278e20eb"><code>84e1b72</code></a> docs: add sponsor: Joel</li> <li><a href="https://github.com/wessberg/rollup-plugin-ts/commit/6c96c17180eb954436ea4bc4337070ad7aab5eb1"><code>6c96c17</code></a> chore: bump deps</li> <li><a href="https://github.com/wessberg/rollup-plugin-ts/commit/15e8edd828972cad274caab88ac91081414e82c5"><code>15e8edd</code></a> feat: add support for ESM-based Babel configs. Closes <a href="https://github-redirect.dependabot.com/wessberg/rollup-plugin-ts/issues/167">#167</a></li> <li><a href="https://github.com/wessberg/rollup-plugin-ts/commit/5ba4c9c75c0b1f5fdd34d06a0729a3af0182344a"><code>5ba4c9c</code></a> feat: add support for multiple swc configs. Closes <a href="https://github-redirect.dependabot.com/wessberg/rollup-plugin-ts/issues/177">#177</a>. Don't enforce import...</li> <li><a href="https://github.com/wessberg/rollup-plugin-ts/commit/8b3e7e8fa0a4f0cd5ecd5edf0da4d76749f55193"><code>8b3e7e8</code></a> fix: don't call addWatchFile outside of allowed Rollup phase</li> <li><a href="https://github.com/wessberg/rollup-plugin-ts/commit/f81209d30ea39ee4bd486a39fdfc26dc45483ffb"><code>f81209d</code></a> 3.0.1</li> <li><a href="https://github.com/wessberg/rollup-plugin-ts/commit/eac318e6253089d1e6c94e6593dc1685cd68c9e9"><code>eac318e</code></a> fix: use ansi-colors instead of Chalk for better CJS fallback support</li> <li><a href="https://github.com/wessberg/rollup-plugin-ts/commit/2b34a70ba7b25e2fc46ef5198cec03daeca0984e"><code>2b34a70</code></a> docs: add note about different declaration formats</li> <li><a href="https://github.com/wessberg/rollup-plugin-ts/commit/2fce04019338f0bbef728c92a6f15fb2e61db17e"><code>2fce040</code></a> 3.0.0</li> <li>Additional commits viewable in <a href="https://github.com/wessberg/rollup-plugin-ts/compare/v2.0.7...v3.0.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rollup-plugin-ts&package-manager=npm_and_yarn&previous-version=2.0.7&new-version=3.0.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <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> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:23:09 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#3803
No description provided.