[Snyk] Upgrade yup from 0.32.11 to 1.0.2 #8
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.
Snyk has created this PR to upgrade yup from 0.32.11 to 1.0.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.
Warning: This is a major version upgrade, and may be a breaking change.
The recommended version fixes:
SNYK-JS-JSON5-3182856
Why? Proof of Concept exploit, CVSS 6.4
SNYK-JS-JSON5-3182856
Why? Proof of Concept exploit, CVSS 6.4
(*) Note that the real score may have changed since the PR was raised.
Release notes
Package name: yup
#1906
v1.0.0-beta.8
Fixes published artifacts for the
main
fieldRead more
What's Changed
Full Changelog: v1.0.0-beta.3...v1.0.0-beta.4
This release fixes a bug with
object().partial
whererequired()
schema we're still failing validation. Now they will no longer do that. To enable this fix we made a breaking change to the way thatrequired
is implemented.schema.required
no longer adds a test named 'required', this state can be determined via the schemaspec
ordescribe()
metadatarequired
directly to add their length check (this test is calledrequired
for some ease of back compat)Beta.2 adds core
tuple
type support, see the docs for more: https://github.com/jquense/yup#tuple1.0.0-beta.1 (2022-01-03)
Features
Schema
.BREAKING CHANGES
import string from 'yup/lib/string'
this will no longer work. This pattern has not been supported for a long time and could cause larger than necessary bundles.1.0.0-beta.0 (2021-12-29)
Features
BREAKING CHANGES
ArraySchema
initial generic is the array type not the type of the array element.array<T>()
is still the inner type.null
for invalid casts.to mimic the previous behavior
Commit messages
Package name: yup
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