Skip to content

[Snyk] Upgrade @metarhia/common from 2.1.0 to 2.2.0 #3

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

Closed

Conversation

snyk-bot
Copy link

@snyk-bot snyk-bot commented Jan 3, 2021

Snyk has created this PR to upgrade @metarhia/common from 2.1.0 to 2.2.0.

:sparkles: Snyk has automatically assigned this pull request, [set who gets assigned](https://app.snyk.io/org/tshemsedinov/project/6a860c30-1764-48c2-825c-31290a09ba22/settings/integration?utm_source=github&utm_medium=upgrade-pr/settings/integration).

ℹ️ 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 1 version ahead of your current version.
  • The recommended version was released 6 months ago, on 2020-07-10.
Release notes
Package name: @metarhia/common
  • 2.2.0 - 2020-07-10

    Release summary:

    Applied fixes and improvements to the API, added multiple utility methods to
    the Iterator API and several utility functions, added table of contents to the
    documentation.

    Changelog:

    Added

    • A way to limit the internal buffer size of MemoryWritable stream.
    • common.mkdirpPromise() function.
    • Iterator#apply() and Iterator#chainApply() to improve iterator
      interaction with chained calls.
    • captureMaxStack() utility to get maximum available stack trace.
    • Table of contents to documentation.
    • Get random element from array: sample(array).
    • ECMAScript Modules named exports support.
    • Iterator#min(), Iterator#max(), and Iterator#findCompare() to
      simplify consumption of iterator in common use-cases
      (finding minimum, maximum, or using a custom condition appropriately).
    • Iterator#partition() to allow splitting iterator values into
      multiple arrays.
    • Iterator.zip() - static method for zipping iterators.
    • Iterator#groupBy() to group iterator value into Map by
      specific keys.

    Changed

    • cryptoPrefetcher() to throw when bufSize is not a multiple of
      valueSize.
    • MemoryWritable internal buffer size is now limited to 8 MB by default.
    • Signature of callerFilepath() to allow passing RegExp as depth to be used
      for filtering of stack frames.
    • Return value of cryptoPrefetcher() now implements the Iterable interface.

    Fixed

    • common.subst() behavior for @.value@ variables.
    • common.callerFilepath() working incorrectly on paths with colon in them.
  • 2.1.0 - 2019-06-19

    Release summary:

    Fixed documentation, added utility methods for Iterator class and
    filesystem, implemented MemoryWritable stream.

    Changelog:

    Added:

    • rmRecursive() and rmRecursivePromise() functions.
    • Iterator#filterMap() to enable more efficient filter+map. It will
      only return values from mapper function that do not match the passed
      filterValue (undefined by default).
    • Iterator#skipWhile() to enable skipping elements while predicate
      holds.
    • MemoryWritable stream implementation.

    Fixed:

    • Documentation by marking some methods as private and regenerating with
      a newer version of @ metarhia/doc.

    PR-URL: #296

from @metarhia/common GitHub release notes
Commit messages
Package name: @metarhia/common
  • 6f1fade Version 2.2.0
  • cec1c79 Implement Iterator#groupBy allowing to group values by keys
  • dcf69d2 Implement Iterator.zip() - static method for zipping iterators
  • 11beabd Simplify CJS import in generated common.mjs file
  • ee44c25 Better ESM integration with conditional exports
  • 58456fa Implement Iterator#partition() to partition it into arrays
  • e83fc7e Implement iterator#min, iterator#max, iterator#findCompare
  • 2b4ddbf Update prettier to 1.19.x
  • d2547b9 Make CryptoRandomPrefetcher implement Iterator protocol
  • a651c12 Update most dependencies
  • 61df3c4 Add Node.js 14 to .travis.yml
  • f124e95 Update LICENSE copyright header
  • 94df329 Add ESModules import support
  • 5d7a40c Fix test: undefined data in fs.writeFile
  • 63fed46 Use operator assignment
  • 3ea2191 Implement get random element: array/sample
  • 9330e0e Update @ metarhia/doc and regenerate documentation
  • 258f900 Add, refactor, and fix tests
  • 4497e63 Allow passing filtering regex in callerFilepath()
  • 6e54d17 Add captureMaxStack utility to get maximum stack trace
  • 8e755c3 Update Travis CI config
  • cb48d6c Fix callerFilepath()/callerFilename() tests
  • 2cfbd51 Fix and refactor tests for fs.js module
  • d087667 Update devDependencies

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

👩‍💻 Set who automatically gets assigned

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

2 participants