deps: bump arktype from 2.1.29 to 2.2.0 in the dev group across 1 directory
Type: Pull Request
State: Closed
Association: Unknown
Comments: 1
(13 days ago)
(13 days ago)
(13 days ago)
dependencies javascript pr-needs-issue
Bumps the dev group with 1 update in the / directory: arktype.
Updates arktype from 2.1.29 to 2.2.0
Changelog
Sourced from arktype's changelog.
2.2.0
Full announcement: https://arktype.io/docs/blog/2.2
type.fn- Validated functionsDefine functions with runtime-validated parameters and return types. Supports defaults, optionals, and variadics.
const len = type.fn("string | unknown[]", ":", "number")(s => s.length)len("foo") // 3 len([1, 2]) // 2
Type-safe regex via arkregex
Regex literals in definitions now carry full type inference.
x-prefix parses capture groups at runtime.const T = type({ birthday: "x/^(?<month>\\d{2})-(?<day>\\d{2})-(?<year>\\d{4})$/" })T.assert({ birthday: "05-21-1993" }).birthday.groups.month // "05"
@ark/json-schema- Bidirectional JSON SchemaParse JSON Schema into ArkType Types with the new
@ark/json-schemapackage, complementingtoJsonSchema(). Thanks to@TizzySaurus.Configurable
toJsonSchemaHandle incompatibilities between ArkType and JSON Schema with granular fallback codes. Supports
draft-07/draft-2020-12targets and cyclic types.Standard Schema as definitions
Any Standard Schema compliant validator (Zod, Valibot, etc.) can be embedded directly in ArkType definitions.
select- Deep reference introspectionQuery the internal structure of a type by node kind and predicate. Use selectors to configure specific references.
Improved
type.declareNow supports morph-aware declarations via a
sidecontext, and optionality via property values.N-ary operators
type.or,type.and,type.merge, andtype.pipeaccept variadic definitions.
... (truncated)
Commits
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions
Package Dependencies
arktype
npm
2.1.29 → 2.2.0
Minor
the dev group across 1 directory
Technical Details
| ID: | 15670402 |
| UUID: | 4388283352 |
| Node ID: | PR_kwDOSQZqc87Ym29S |
| Host: | GitHub |
| Repository: | wranngle/gtm_ops |