[Snyk] Upgrade rollup-plugin-typescript2 from 0.20.1 to 0.36.0 #167
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade rollup-plugin-typescript2 from 0.20.1 to 0.36.0.
ℹ️ 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 30 versions ahead of your current version.
The recommended version was released on a year ago.
Issues fixed by the recommended upgrade:
SNYK-JS-BRACES-6838727
SNYK-JS-DECODEURICOMPONENT-3149970
SNYK-JS-MICROMATCH-6838728
SNYK-JS-UNSETVALUE-2400660
SNYK-JS-KINDOF-537849
Release notes
Package name: rollup-plugin-typescript2
-
0.36.0 - 2023-09-27
- support newer
- fix: hardcode declaration extension check by @ agilgur5 in #456
- github: mark
- deps: auto-update
- switching from tslint (deprecated) to eslint by @ ezolenko in #463
-
0.35.0 - 2023-06-23
- Support
- Support cts/mts file types by @ ezolenko in #451
- Disable cache in watch mode by @ ezolenko in #452
-
0.34.1 - 2022-10-03
- fix: don't error out while catching a
- This fixes an initialization regression in
- fix: add compatibility checks w/
- This also adds an error if
- fix: don't resolve
- This fixes a regression from
- clean(deps): remove unused
- test: increase
-
0.34.0 - 2022-09-12
- 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
- For instance: #211, #298, #409, etc
- NOTE: This requires Rollup version
- fix(dx): remove extra quote in
- docs: add a simple
- i.e. it references this page
- test: ensure
- test: add
- refactor(test): heavily simplify the
- refactor: combine
- clean: remove
- refactor(cache): simplify creating / using the
- refactor: consolidate
-
0.33.0 - 2022-08-19
- similar to the other safety checks in
-
0.32.1 - 2022-06-06
- deps: upgrade
- This fixes a regression in
-
0.32.0 - 2022-06-01
- add
- fix: normalize paths in
- fix: add
- fix: use
- EDIT: Per #224 (comment), this issue and fix seem to have been made erroneously, as the Vue team now mandates
- fix: don't attempt to change declarationMap
- fix: force
- updating dependencies by @ ezolenko in f84afe9, 0df5362, 5a3e58b, and 08d2f5b
- EDIT: 08d2f5b caused a regression in certain environments per #339. If you're experiencing
- deps: remove unneeded
- deps: use
- deps: upgrade
- fix(docs):
- docs: clarify the TS option's defaults by @ agilgur5 in #316
- docs: split off a CONTRIBUTING.md and improve formatting, grammar, links by @ agilgur5 in #313
- cleaning up badges by @ ezolenko in 4e9f8ff
- docs: add link to NPM in monthly downloads badge by @ agilgur5 in #318
- docs: standardize how issues are referenced by @ agilgur5 in #317
- docs: update Compatibility section with new names and links by @ agilgur5 in #315
- fix(github): improve formatting of issue template spoilers by @ agilgur5 in #311
- test: add initial unit test suite by @ agilgur5 in #321
- test: 100% coverage in
- clean: remove
- optim(ci): use
- ci: add a lint check to ensure all PRs pass lint too by @ agilgur5 in #327
- refactor: prefer native methods to lodash where possible by @ agilgur5 in #328
- refactor: invert some conditionals for better readability by @ agilgur5 in #335
- refactor: sort all top-level imports by @ agilgur5 in #337
-
0.31.2 - 2022-02-01
- chore: should not lock deps version by @ bluelovers in #293
- Add
-
0.31.1 - 2021-11-23
-
0.31.0 - 2021-11-17
-
0.30.0 - 2021-02-18
-
0.29.0 - 2020-10-30
-
0.28.0 - 2020-10-16
-
0.27.3 - 2020-09-25
-
0.27.2 - 2020-08-07
-
0.27.1 - 2020-05-12
-
0.27.0 - 2020-03-27
-
0.26.0 - 2020-02-12
-
0.25.3 - 2019-12-03
-
0.25.2 - 2019-11-05
-
0.24.3 - 2019-09-26
-
0.24.2 - 2019-09-12
-
0.24.1 - 2019-09-09
-
0.24.0 - 2019-08-28
-
0.23.0 - 2019-08-23
-
0.22.1 - 2019-07-26
-
0.22.0 - 2019-07-11
-
0.21.2 - 2019-06-17
-
0.21.1 - 2019-05-17
-
0.21.0 - 2019-04-23
-
0.20.1 - 2019-03-13
from rollup-plugin-typescript2 GitHub release notesFeatures/bugfixes
moduleResolutionkinds, update build to TS 5.x by @ ezolenko in #453Internal (testing, refactors)
dist/*as generated code by @ agilgur5 in #457semvervianpm audit fixby @ agilgur5 in #459Full Changelog: 0.35.0...0.36.0
Features
module: "ES2022"by @ ezolenko in #450Bugfixes
Full Changelog: 0.34.1...0.35.0
Bugfixes
buildStarterror by @ agilgur5 in #4220.34.0where users sawTypeError: Cannot read property 'done' of undefinedinstead of their actual initialization error, such as atsconfigissue (such as with #421)semverby @ agilgur5 in #4240.34.0introduced 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).peerDependenciesminimum versions have not been metfiltered files by @ agilgur5 in #4280.33.0that could cause rpt2 to (accidentally) resolve files that should have been filtered out by the plugininclude/exclude(such as with #427)Internal (testing, refactors)
@ types/resolveby @ agilgur5 in #423no-errorsintegration timeout to 20s by @ agilgur5 in #425Full Changelog: 0.34.0...0.34.1
Bugfixes
types andinterfaces that would produce no JS.2.60.0+ as it requires the use ofthis.load0.34.0will (accidentally) error out on older versions of Rollup.0.34.1patched this to instead give a warning and skip this check on older versions of Rollup.More Fixes ...
emitDeclarationOnlylog statement by @ agilgur5 in #412Docs
CHANGELOG.mdthat references GH releases by @ agilgur5 in #419Internal (testing, refactors)
declarationMapsources are correct by @ agilgur5 in #403print-diagnosticsspec by @ agilgur5 in #405More Internal ...
contexthelper by @ agilgur5 in #404check-tsconfigwithparse-tsconfigby @ agilgur5 in #413ConsoleContextentirely by usingbuildStartby @ agilgur5 in #414cachevar by @ agilgur5 in #415diagnosticsfuncs into single file by @ agilgur5 in #415Full Changelog: 0.33.0.1...0.34.0
clean, this won't be hit during normal usageBugfixes
@ rollup/plugin-commonjsto v22 to fix try/catch requires by @ agilgur5 in #3400.32.0that caused users with certain environments to experienceReferenceError: window is not definedwhen importing rpt2. See #339Full Changelog: 0.32.0...0.32.1
Features
rpt2:prefix on more errors by @ ezolenko in ff88951Bugfixes
get-options-overridesby @ agilgur5 in #331realpathto host to properly resolve monorepos / symlinks by @ agilgur5 in #332.d.tsinstead of.vue.d.tsfor Vue declarations by @ agilgur5 in #336.vue.d.ts. As such, this has been reverted in0.33.0sourceswhen no output by @ agilgur5 in #334noEmitOnError: falseby @ agilgur5 in #338Dependencies
ReferenceError: window is not defined, please upgrade to0.32.1, which should fix this issue.@ types/colorspackage by @ agilgur5 in #319normalizePathfrom@ rollup/pluginutilsby @ agilgur5 in #320tslibto^2.4.0, remove@ yarn-tool/resolve-packageby @ agilgur5 in #326Docs
_.mergedoesn't concat arrays by @ agilgur5 in #314More Docs ...
GitHub
Internal (testing, refactors)
get-options-overrides(createFilter) by @ agilgur5 in #329More Internal ...
partial.tsas this is built into TS by @ agilgur5 in #322npm cifor install and cachenpmby @ agilgur5 in #323Full Changelog: 0.31.2...0.32.0
What's Changed
tracemethod to theLanguageServiceHostto enable usage withtraceResolutionby @ Andarist in #296Full Changelog: 0.31.1...0.31.2
Fix for #291
Full Changelog: 0.31.0...0.31.1
Important
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: