Skip to content

build(deps): bump schema-dts from 1.1.5 to 2.1.0 - #1115

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/schema-dts-2.1.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/schema-dts-2.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 30, 2026

Copy link
Copy Markdown
Contributor

Bumps schema-dts from 1.1.5 to 2.1.0.

Release notes

Sourced from schema-dts's releases.

v2.1.0

Changes in schema-dts v2.1.0

Changes in schema-dts-gen v2.0.1

  • Address security issue if using the generator directly with untrusted ontologies

New Contributors

Full Changelog: google/schema-dts@v2.0.0...v2.1.0

schema-dts & schema-dts-gen v2.0.0

Changes in schema-dts

  • Supports the latest Schema.org release from Schema.org v30 -- See https://schema.org/docs/releases.html#v30.0

  • Input and Output constraints are now supported, for example:

    import type {SearchAction, WebSite, WithActionConstraints} from 'schema-dts';
    const potentialAction: WithActionConstraints<SearchAction> = {
    '@​type': 'SearchAction',
    'query-input': 'required name=search_term_string',
    // ...
    };
    const website: WebSite = {
    '@​type': 'WebSite',
    potentialAction: {
    '@​type': 'SearchAction',
    'query-input': 'required name=search_term_string',
    } as WithActionConstraints<SearchAction>,
    };

  • Breaking change: Update typings for Roles so that they are not recursive, see #205 for more details

  • Breaking change: Quantity is now a core DataType, this is a change done in schema.org v30.0 and will technically make certain formerly-legal (but likely invalid) assignments no longer work

  • "Leaf" types are now exported. While objects like Thing or Organization require a type union that includes the object itself, it can also include any of its children. Now, if you want type something as a Thing exactly, you can import ThingLeaf which can only be a Thing and does not allow sub-types.

  • Support MergeLeafTypes, which fixes a long-running user request (#179 #189 #203), allowing a multi-typed schema object to be declared. Shout out to @​mjy9088 and @​cochinescu for the work to get this working. This allows declarations like this to be made:

    import type { MergeLeafTypes,ProductLeaf, SoftwareApplicationLeaf,  WithContext } from 'schema-dts';
    const app: WithContext<MergeLeafTypes<[ProductLeaf, SoftwareApplicationLeaf]>> =
    {
    '@​context': 'https://schema.org',

... (truncated)

Commits
  • 60f345c Bump schema-dts to pickup Schema.org v30.1
  • aeda6ce docs: document implementing schema types from a class via leaf types
  • a848f5b Bump schema-dts version to 2.0.0
  • c993c36 Fix import clause overload and apply prettier
  • 7767d82 Add MergeLeafTypes helper and export leaf types
  • 6df4f89 Factor out common types that don't depend on the exact schema into schema-dts...
  • 8263488 Update installation commands in README files to use --save-dev flag
  • 0d91fcc Update withcontext.ts (comment typo)
  • 32c2b2d feat: add WithActionConstraints helper
  • See full diff in compare view

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 [schema-dts](https://github.com/google/schema-dts/tree/HEAD/packages/schema-dts) from 1.1.5 to 2.1.0.
- [Release notes](https://github.com/google/schema-dts/releases)
- [Commits](https://github.com/google/schema-dts/commits/v2.1.0/packages/schema-dts)

---
updated-dependencies:
- dependency-name: schema-dts
  dependency-version: 2.1.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 Nov 30, 2026
@vercel

vercel Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
magicui Ready Ready Preview Nov 30, 2026 3:17pm UTC

This branch was successfully deployed

1 active deployment
Preview — b0402f4b Deployed Nov 30, 2026 by vercel[bot]
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