Snyk has created this PR to upgrade @poppinss/utils from 2.5.9 to 3.0.4.
:information_source: 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.
Warning: This is a major version upgrade, and may be a breaking change.
The recommended version is 6 versions ahead of your current version.
The recommended version was released a month ago, on 2021-02-22.
The version 3.0 re-format the exports to expose an "helpers" subpath to be used within the AdonisJS apps as well.
The idea is to separate helpers that we need to share with AdonisJS core inside its own module, accessible as @ poppinss/utils/build/helpers.
Inside helpers subpath
Following modules are now moved to a subpath.
MessageBuilder
base64
compose
fsReadAll
interpolate
requireAll
resolveDir
resolveFrom
// Earlierimport{MessageBuilder,base64,compose,fsReadAll,interpolate,requireAll,resolveDir,resolveFrom,safeEqual}from'@ poppinss/utils'// After version 3.0import{MessageBuilder,base64,compose,fsReadAll,interpolate,requireAll,resolveDir,resolveFrom,safeEqual}from'@ poppinss/utils/build/helpers'
randomString
The randomString is now part of the string helpers.
// Earlierimport{randomString}from'@ poppinss/utils'randomString(32)// After version 3.0import{string}from'@ poppinss/utils/build/helpers'string.generateRandom(32)
lodash
The following lodash functions have been removed with new alternatives.
snakeCase
camelCase
startCase
// Earlierimport{lodash}from'@ poppinss/utils'lodash.snakeCase()lodash.camelCase()lodash.startCase()// After version 3.0import{string}from'@ poppinss/utils/build/helpers'string.snakeCase()string.camelCase()string.titleCase()
Commits
chore: generate lodash builder before typescript build 0c2575b
Snyk has created this PR to upgrade @poppinss/utils from 2.5.9 to 3.0.4.
:information_source: 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.
Warning: This is a major version upgrade, and may be a breaking change.
Release notes
Package name: @poppinss/utils
v3.0.3...v3.0.4
v3.0.2...v3.0.3
v3.0.1...v3.0.2
v3.0.0...v3.0.1
Breaking Changes
The version 3.0 re-format the exports to expose an "helpers" subpath to be used within the AdonisJS apps as well.
The idea is to separate helpers that we need to share with AdonisJS core inside its own module, accessible as
@ poppinss/utils/build/helpers
.Inside helpers subpath
Following modules are now moved to a subpath.
MessageBuilder
base64
compose
fsReadAll
interpolate
requireAll
resolveDir
resolveFrom
randomString
The
randomString
is now part of thestring
helpers.lodash
The following lodash functions have been removed with new alternatives.
snakeCase
camelCase
startCase
Commits
v2.5.10...v3.0.0
v2.5.9...v2.5.10
v2.5.8...v2.5.9
Commit messages
Package name: @poppinss/utils
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