Open greenkeeper[bot] opened 6 years ago
devDependency
rollup-plugin-cleanup was updated from 2.0.1
to 3.1.0
.Update to this version instead 🚀
Bye, acorn.
Although acorn is an excellent parser, its use in rollup-plugin-cleanup had caused several issues.
v3.1 removes this dependency and now is completely based on js-cleanup, which does not depend on acorn or another similar parser, with the advantage of a relative independency of the version and "dialect" of JavaScript and a little more efficiency, for being a specialized tool.
While js-cleanup is in its first version, I do not expect it to present major problems (the algorithm and the JS rules used for the replacement are fairly simple).
compactComment
option to control the compaction of multiline comments, useful to preserve the format of JSDoc blocks.flow
filter for Facebook Flow comments and directives.ts
filter for MS TypeScript directives.ecmaVersion
, sourceType
, and acornOptions
are ignored, acorn was removed in this version.normalizeEols
option is deprecated in favor of lineEndings
, which have the same behavior.some
filter no longer includes @cc_on
, but adds comments that begin with '!'
.jscs
filter is deprecated, jscs no longer exists.
Version 3.0.0 of rollup-plugin-cleanup was just published.
The version 3.0.0 is not covered by your current version range.
If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
It might be worth looking into these changes and trying to get this project onto the latest version of rollup-plugin-cleanup.
If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.
Release Notes
v3.0.0acornOptions
, for advanced usage.This is an optional, plain JS object with additional settings passed to the Acorn parser. Properties of this object are merged with, and take precedence over, the existing
ecmaVersion
andsourceType
options.Commits
The new version differs by 11 commits.
224b567
v3.0.0
98ece4e
v3.0.0
acbbce1
v3.0.0
e07ac01
v3.0.0 Fix test
3616475
v3.0.0
c8445f0
v3.0.0
46b8037
v3.0.0
6cd0fa2
v3.0.0
8b4a3ee
v3.0.0
ef262d9
v3.0.0
134f60d
v3.0.0-beta.1
See the full diff
FAQ and help
There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).Your Greenkeeper bot :palm_tree: