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).
i️ 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
Snyk has created this PR to upgrade @metarhia/common from 2.1.0 to 2.2.0.
i️ 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.
Release notes
Package name: @metarhia/common
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
MemoryWritable
stream.common.mkdirpPromise()
function.Iterator#apply()
andIterator#chainApply()
to improve iteratorinteraction with chained calls.
captureMaxStack()
utility to get maximum available stack trace.sample(array)
.Iterator#min()
,Iterator#max()
, andIterator#findCompare()
tosimplify consumption of iterator in common use-cases
(finding minimum, maximum, or using a custom condition appropriately).
Iterator#partition()
to allow splitting iterator values intomultiple arrays.
Iterator.zip()
- static method for zipping iterators.Iterator#groupBy()
to group iterator value into Map byspecific keys.
Changed
cryptoPrefetcher()
to throw whenbufSize
is not a multiple ofvalueSize
.MemoryWritable
internal buffer size is now limited to 8 MB by default.callerFilepath()
to allow passingRegExp
as depth to be usedfor filtering of stack frames.
cryptoPrefetcher()
now implements the Iterable interface.Fixed
common.subst()
behavior for @.value@ variables.common.callerFilepath()
working incorrectly on paths with colon in them.Release summary:
Fixed documentation, added utility methods for Iterator class and
filesystem, implemented
MemoryWritable
stream.Changelog:
Added:
rmRecursive()
andrmRecursivePromise()
functions.Iterator#filterMap()
to enable more efficient filter+map. It willonly return values from mapper function that do not match the passed
filterValue (
undefined
by default).Iterator#skipWhile()
to enable skipping elements while predicateholds.
MemoryWritable
stream implementation.Fixed:
a newer version of
@ metarhia/doc
.PR-URL: #296
Commit messages
Package name: @metarhia/common
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