Skip to content

chore(deps): bump arktype from 2.2.5 to 2.2.7 - #5783

Merged
dreamorosi merged 2 commits into
mainfrom
dependabot/npm_and_yarn/main/arktype-2.2.7
Oct 5, 2026
Merged

dreamorosi merged 2 commits into
mainfrom
dependabot/npm_and_yarn/main/arktype-2.2.7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 5, 2026

Copy link
Copy Markdown
Contributor

Bumps arktype from 2.2.5 to 2.2.7.

Changelog

Sourced from arktype's changelog.

2.2.7

Fix this[] in self-referential object types

Referencing an array of the enclosing type threw a spurious shallow resolution cycle error:

// previously threw, now parses
const Node = type({
	name: "string",
	"children?": "this[]"
})

Thanks to @​yharaskrik.

Parse string.date.epoch.parse input as milliseconds

The validated integer string was passed directly to new Date(), which runs the date string parser rather than reading it as a timestamp:

const parseEpoch = type("string.date.epoch.parse")
// previously 2000-01-01 local time, now 1970-01-01T00:00:00.000Z
parseEpoch("0")
// previously Invalid Date, now 2023-11-14T22:13:20.000Z
parseEpoch("1700000000000")

Thanks to @​breken-ai.

Keep uppercase UUIDs valid in string.uuid JSON Schema

string.uuid accepted uppercase hex digits via the i flag, which JSON Schema pattern cannot carry, so the exported schema rejected uppercase UUIDs the runtime check accepted. The patterns now list both cases explicitly. Thanks to @​breken-ai.

Render nested bigints correctly in error messages

Bigints inside arrays or objects were printed as quoted strings, e.g. (was ["1n","0n","1n"]). They now print as (was [1n,0n,1n]). Thanks to @​chatman-media.

Release unused ids from the global registry

Repeatedly creating an equivalent type (e.g. type("string") or T.pick("a") in a loop) registered a new id for each parse that nothing could reference, so memory grew without limit. Unused ids are now removed. Thanks to @​isaacwasserman.

Fix crashes on Hermes and Turbopack

  • Unions of objects disjoint at a key no longer throw undefined is not a function on Hermes (Expo, React Native), which doesn't preserve Array subclasses through map.
  • scope.module no longer references this from a static arrow function, which Turbopack could compile to undefined.

2.2.6

... (truncated)

Commits
  • 1ee4923 release: arktype 2.2.7 + dependents (#1675)
  • 0f88b51 fix(type): keep uppercase UUIDs valid in string.uuid JSON Schema (#1670)
  • 066f4f2 fix: Hermes withPrefixKey crash and Turbopack static this in scope.module (...
  • 14ef64c fix(type): parse string.date.epoch.parse input as milliseconds (#1669)
  • 254328c fix(schema): release unused parse context ids from the global registry (#1673)
  • ca8ec6c test: partial/required on tuple sequences (#1480) (#1590)
  • e83417a fix this[] shallow resolution cycle in self-referential types (#1618)
  • 89ee4c2 fix(util): render bigints correctly in printable error messages (#1626)
  • 6082e51 release: arktype 2.2.6 + dependents (#1672)
  • e6a8b3f fix(schema): give predicate errors an explicit expected default (#1668)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for arktype 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 [arktype](https://github.com/arktypeio/arktype/tree/HEAD/ark/type) from 2.2.5 to 2.2.7.
- [Release notes](https://github.com/arktypeio/arktype/releases)
- [Changelog](https://github.com/arktypeio/arktype/blob/main/ark/type/CHANGELOG.md)
- [Commits](https://github.com/arktypeio/arktype/commits/arktype@2.2.7/ark/type)

---
updated-dependencies:
- dependency-name: arktype
  dependency-version: 2.2.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Changes that touch dependencies, e.g. Dependabot, etc. javascript Pull requests that update Javascript code labels Oct 5, 2026
@powertools-for-aws-oss-automation powertools-for-aws-oss-automation Bot added the size/XS PR between 0-9 LOC label Oct 5, 2026
@dreamorosi
dreamorosi merged commit 307c883 into main Oct 5, 2026
43 checks passed
@dreamorosi
dreamorosi deleted the dependabot/npm_and_yarn/main/arktype-2.2.7 branch October 5, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Changes that touch dependencies, e.g. Dependabot, etc. javascript Pull requests that update Javascript code size/XS PR between 0-9 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant