rockchalkwushock / how-to-open-source

A repository for learning how to publish NPM packages as well as contribute to open source projects.
https://www.npmjs.com/package/how-to-open-source
MIT License
8 stars 1 forks source link

Update rollup-plugin-cleanup to the latest version 🚀 #109

Open greenkeeper[bot] opened 6 years ago

greenkeeper[bot] commented 6 years ago

Version 3.0.0 of rollup-plugin-cleanup was just published.

Dependency rollup-plugin-cleanup
Current Version 2.0.1
Type devDependency

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.0
  • Add an example of using Acorn plugin the README.
  • New option acornOptions, 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 and sourceType options.
  • The mimimum node version is now 6.14, for compatibility with ESLint 5.
  • Updated devDependencies.
Commits

The new version differs by 11 commits.

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:

codecov[bot] commented 6 years ago

Codecov Report

Merging #109 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #109   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           2      2           
  Lines           2      2           
=====================================
  Hits            2      2

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1eda10c...90f25b4. Read the comment docs.

greenkeeper[bot] commented 5 years ago

Update to this version instead 🚀

Release Notes for v3.1.0

[3.1.0] - 2018-12-27

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).

Added

  • compactComment option to control the compaction of multiline comments, useful to preserve the format of JSDoc blocks.
  • The flow filter for Facebook Flow comments and directives.
  • The ts filter for MS TypeScript directives.
  • TypeScript definitions.
  • Link to kofi.

Changed

  • The options ecmaVersion, sourceType, and acornOptions are ignored, acorn was removed in this version.
  • The normalizeEols option is deprecated in favor of lineEndings, which have the same behavior.
  • The some filter no longer includes @cc_on, but adds comments that begin with '!'.
  • The jscs filter is deprecated, jscs no longer exists.
  • Updated AppVeyor and Travis settings.
  • Updated format of the Changelog.
  • Updated devDependencies.
  • Replaced Jest with mocha, due to issues with coverage.

Fixed

  • Closes #13, acorn was removed in this version.
  • Coverage generation and badge.

Removed

  • Dependency on Jest, due to incompatibilities.
  • Dependency on the acorn parser.
Commits

The new version differs by 3 commits.

See the full diff