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

[Snyk] Upgrade rollup-plugin-typescript2 from 0.32.1 to 0.34.1 #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

snyk-bot
Copy link

Snyk has created this PR to upgrade rollup-plugin-typescript2 from 0.32.1 to 0.34.1.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 3 versions ahead of your current version.
  • The recommended version was released 4 months ago, on 2022-10-03.
Release notes
Package name: rollup-plugin-typescript2
  • 0.34.1 - 2022-10-03

    Bugfixes

    • fix: don't error out while catching a buildStart error by @ agilgur5 in #422
      • This fixes an initialization regression in 0.34.0 where users saw TypeError: Cannot read property 'done' of undefined instead of their actual initialization error, such as a tsconfig issue (such as with #421)
    • fix: add compatibility checks w/ semver by @ agilgur5 in #424
      • 0.34.0 introduced a type-only fix that relied on Rollup 2.60.0+ and would (accidentally) error out on older versions of Rollup. This fix handles it gracefully with a clear warning message instead and skips that check when using an older version of Rollup (i.e. partly backward-compatible).
      • This also adds an error if peerDependencies minimum versions have not been met
    • fix: don't resolve filtered files by @ agilgur5 in #428
      • This fixes a regression from 0.33.0 that could cause rpt2 to (accidentally) resolve files that should have been filtered out by the plugin include/exclude (such as with #427)

    Internal (testing, refactors)

    • clean(deps): remove unused @ types/resolve by @ agilgur5 in #423
    • test: increase no-errors integration timeout to 20s by @ agilgur5 in #425

    Full Changelog: 0.34.0...0.34.1

  • 0.34.0 - 2022-09-12

    Bugfixes

    • fix: handle all type-only imports by piping TS imports by @ agilgur5 in #406
      • If you have ever had issues with some files not being type-checked or not generating declarations, this should conclusively fix all such issues. This type of issue used to occur if you had a type-only / interface-only / emit-less file, i.e. a file with only TS types and interfaces that would produce no JS.
      • NOTE: This requires Rollup version 2.60.0+ as it requires the use of this.load
        • 0.34.0 will (accidentally) error out on older versions of Rollup. 0.34.1 patched this to instead give a warning and skip this check on older versions of Rollup.
    More Fixes ...
    • fix(dx): remove extra quote in emitDeclarationOnly log statement by @ agilgur5 in #412

    Docs

    • docs: add a simple CHANGELOG.md that references GH releases by @ agilgur5 in #419
      • i.e. it references this page

    Internal (testing, refactors)

    More Internal ...
    • refactor(test): heavily simplify the context helper by @ agilgur5 in #404
    • refactor: combine check-tsconfig with parse-tsconfig by @ agilgur5 in #413
    • clean: remove ConsoleContext entirely by using buildStart by @ agilgur5 in #414
    • refactor(cache): simplify creating / using the cache var by @ agilgur5 in #415
    • refactor: consolidate diagnostics funcs into single file by @ agilgur5 in #415

    Full Changelog: 0.33.0.1...0.34.0

  • 0.33.0 - 2022-08-19
    • similar to the other safety checks in clean, this won't be hit during normal usage
  • 0.32.1 - 2022-06-06

    Bugfixes

    • deps: upgrade @ rollup/plugin-commonjs to v22 to fix try/catch requires by @ agilgur5 in #340
      • This fixes a regression in 0.32.0 that caused users with certain environments to experience ReferenceError: window is not defined when importing rpt2. See #339

    Full Changelog: 0.32.0...0.32.1

from rollup-plugin-typescript2 GitHub release notes
Commit messages
Package name: rollup-plugin-typescript2

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

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