Skip to content

Bump @vinejs/vine from 2.1.0 to 4.3.0#52

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/vinejs/vine-4.3.0
Open

Bump @vinejs/vine from 2.1.0 to 4.3.0#52
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/vinejs/vine-4.3.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Feb 9, 2026

Bumps @vinejs/vine from 2.1.0 to 4.3.0.

Release notes

Sourced from @​vinejs/vine's releases.

JSON Schema Support

4.3.0 (2026-02-06)

VineJS now supports converting validation schemas to JSON Schema Draft 7 format, enabling interoperability with standard JSON Schema validators and tools.

Converting to JSON Schema

Use the .toJSONSchema() method to convert any VineJS validator to JSON Schema:

import vine from '@vinejs/vine'
const validator = vine.create({
name: vine.string(),
email: vine.string().email(),
age: vine.number().min(18),
})
const jsonSchema = validator.toJSONSchema()
console.log(jsonSchema)

Output:

{
  "type": "object",
  "properties": {
    "name": { "type": "string" },
    "email": { "type": "string", "format": "email" },
    "age": { "type": "number", "minimum": 18 }
  },
  "required": ["name", "email", "age"],
  "additionalProperties": false
}

Using with Standard Validators

The generated JSON Schema works seamlessly with validators like AJV:

import { Ajv } from 'ajv'
import addFormats from 'ajv-formats'
import vine from '@vinejs/vine'
const ajv = new Ajv()
addFormats.default(ajv)
const validator = vine.create({
username: vine.string().minLength(3),
</tr></table>

... (truncated)

Commits
  • a087703 chore(release): 4.3.0
  • 2ec2056 doc: update docblocks
  • 571bc3e fix: handling of optional properties
  • 5a99348 fix: Handle use-case when convertEmptyStringsToNull flag is applied on a stri...
  • af754fd test: add json schema validator tests
  • f92883f chore: update dependencies
  • 7b158fc doc: update docblocks
  • ceabdcd feat: add StandardJSONSchema support (#139)
  • 4036a5b feat: implement json-schema support
  • aef9b2f docs: update testmu logo
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for @​vinejs/vine since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@vinejs/vine](https://github.com/vinejs/vine) from 2.1.0 to 4.3.0.
- [Release notes](https://github.com/vinejs/vine/releases)
- [Commits](vinejs/vine@v2.1.0...v4.3.0)

---
updated-dependencies:
- dependency-name: "@vinejs/vine"
  dependency-version: 4.3.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants