Skip to content

Commit 93cb501

Browse files
ssalbdivadclaude
andcommitted
release: arkregex 0.0.6 + dependents; publish @ark/fast-check
Bump arkregex to 0.0.6 for the zero-min quantifier number-pattern fix (#1628) and propagate to arktype 2.2.1. Bump downstream publishable packages @ark/json-schema, @ark/fast-check, and @ark/attest. Add fast-check to packageScopes so it is included in ci:publish. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent a0bce07 commit 93cb501

8 files changed

Lines changed: 30 additions & 5 deletions

File tree

ark/attest/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ark/attest",
3-
"version": "0.56.0",
3+
"version": "0.56.1",
44
"license": "MIT",
55
"author": {
66
"name": "David Blass",

ark/fast-check/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ark/fast-check",
3-
"version": "0.0.11",
3+
"version": "0.0.12",
44
"license": "MIT",
55
"author": {
66
"name": "David Blass",

ark/json-schema/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ark/json-schema",
3-
"version": "0.0.4",
3+
"version": "0.0.5",
44
"license": "MIT",
55
"authors": [
66
{

ark/regex/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# arkregex
22

3+
## 0.0.6
4+
5+
### include the empty string when a zero-min quantifier applies to a number pattern
6+
7+
A quantifier with a minimum of `0` permits zero repetitions, which produce `""` — a string that `${number}` does not include on its own.
8+
9+
```ts
10+
// was: Regex<`${number}`>
11+
// now: Regex<"" | `${number}`>
12+
regex("^\\d*$")
13+
```
14+
315
## 0.0.5
416

517
### represent \d as `${number}` instead of `${bigint}`

ark/regex/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "arkregex",
33
"description": "A drop-in replacement for new RegExp() with types",
4-
"version": "0.0.5",
4+
"version": "0.0.6",
55
"license": "MIT",
66
"author": {
77
"name": "David Blass",

ark/repo/shared.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export const repoDirs = {
3333

3434
export const packageScopes = [
3535
"attest",
36+
"fast-check",
3637
"fs",
3738
"json-schema",
3839
"regex",

ark/type/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# arktype
22

3+
## 2.2.1
4+
5+
### Improve regex inference for zero-min quantifiers on numeric patterns
6+
7+
```ts
8+
// was: Regex<`${number}`>
9+
// now: Regex<"" | `${number}`>
10+
regex("^\\d*$")
11+
```
12+
13+
See arkregex CHANGELOG for full notes.
14+
315
## 2.2.0
416

517
Full announcement: https://arktype.io/docs/blog/2.2

ark/type/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "arktype",
33
"description": "TypeScript's 1:1 validator, optimized from editor to runtime",
4-
"version": "2.2.0",
4+
"version": "2.2.1",
55
"license": "MIT",
66
"repository": {
77
"type": "git",

0 commit comments

Comments
 (0)