[Snyk] Upgrade svcorelib from 1.11.1 to 1.18.2 #35
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.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade svcorelib from 1.11.1 to 1.18.2.
ℹ️ 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 fixes:
SNYK-JS-MINIMATCH-3050818
Why? CVSS 5.3
(*) Note that the real score may have changed since the PR was raised.
Release notes
Package name: svcorelib
Fixes:
system.inDebugger()
no longer dependant on V8'sinspector
module which errored in environments likepkg
colors.fat
Fixes:
splitIntoParts()
function to split an array into n partssplitIntoPartsOfLength()
function to split an array into parts of n lengthallInstanceOf()
to check if all items in an array are an instance of a classisClass()
to check if a value is a reference to a classrandomItemIndex()
to get a random item and its index from an arraytakeRandomItem()
to delete a random item from an array and return itcolors.fgb
andcolors.bgb
for bright colorsdim
,underscore
,reverse
andhidden
fulfilled
toresolved
in StatePromisecolors.fg
andcolors.bg
colors.fat
tocolors.bright
allOfType()
performance
module anymoregenerateUUID
->uuid
filesystem
->files
seededRNG.generateRandomSeed()
->seededRNG.randomSeed()
seededRNG.generateRandomNumbers()
->seededRNG.generateNumbers()
pause()
->system.pause()
halves()
to get the two halves of an arrayparseDuration()
to parse out time units from a passed duration in millisecondsformatDuration()
to convert a duration in milliseconds to a string with custom formatfiles.existsSync()
as a synchronous counterpart tofiles.exists()
SelectionMenu
now supports EventEmitter's.on("submit")
methodreserialize()
now keeps the type of the passed object (#38)seededRNG.validateSeed()
now returns false when a seed starts with0
(#34)system.inDebugger()
(#37).d.ts
type declarations (#27)system.inDebugger()
not detecting debugger (#30)mysql
as a peer dependency (#29)Fixed bug where
filesystem.exists()
wasn't exported (see #25)StatePromise
that keeps track of the state of a promiserandRange()
generateUUID.custom()
, deprecated older overloadsoftShutdown()
now accepts a Promise for async code execution before shutdown.d.ts
) by a lotMigration warnings:
FolderDaemon
with the new syntax shown in the docsAdded functions:
filesystem.exists()
to provide a reimplementation tofs
' deprecatedexists()
function (#14)filesystem.ensureDirs()
to ensure a set of directories exists (#18)filesystem.ensureDirsSync()
as a synchronous counterpart toensureDirs()
(#18)system.usedHeap()
to get the current heap usage in percent (#19)Changes:
FolderDaemon
's configuration parameters with a single settings object (#13)SCLError
to all errors to implement thedate
property (#17)system
namespace:noShutdown()
- moved tosystem
yesShutdown()
- moved tosystem
softShutdown()
- moved tosystem
inDebugger()
- moved tosystem
setWindowTitle()
- moved tosystem
Fixed bugs:
isEmpty()
with valuenull
threw a TypeError (#15)mysql
isn't included in the dependencies (#21)system.softShutdown()
's callback function was wrong (#20)Commit messages
Package name: svcorelib
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
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs