fix(deps): update dependency vue-types to v4 #4277
Closed
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 contains the following updates:
^3.0.0->^4.0.0Release Notes
dwightjack/vue-types
v4.1.1Compare Source
Bugfix Release
oneOfTyperegression (#188)custom()validator functions are executed when used asshape()properties (https://github.com/dwightjack/vue-types/pull/177)v4.1.0Compare Source
Minor Changes
stringnumber/integeranyoneOfTypeThanks to @victorgarciaesgi for the great contribution.
v4.0.3Compare Source
Bugfix
customTypecannot be called multiple times because of redefine issue (#162 thanks @iamricogo)v4.0.2Compare Source
Bugfix
VueTypes.extend([... ])(https://github.com/dwightjack/vue-types/pull/158 thanks @iamricogo)v4.0.1Compare Source
Bugfix
v4.0.0Compare Source
Major Release
This release introduces two main changes that may be breaking depending on your application setup:
VueTypes as an ES Module
With the wide support for the ES Module format in Node.js, browsers and bundlers, VueTypes has switched to this format by default. CommonJS is still supported for older bundlers and Node.js versions, while UMD is available for direct usage in browsers.
This change will not affect most usage scenarios; anyway, if you are using the shim version or have configured your bundler to alias
vue-typesmodule, make sure to read the updated installation documentation.Vue 2 and Vue 3 compatibility
The following changes where introduced to support both versions of Vue.
prop.typecan betrueon Vue 2 componentsTypeScript definitions have changed between v2 and v3 of Vue. The most notable change is that
PropOptions.typecan now betrue. To support both version, VueTypes uses customized component prop's TS definitions. This change should not affect your application.Console logging setup
In VueTypes 2, the library used the global
Vue.config.silentproperty to manage its logging behavior. This property is no more available in Vue 3 and thus the behaviour has been changed.If you wan to replicate the old behavior in applications using VueTypes 4 and Vue 2, you can add the following line to your entry point (documentation):
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.