diff --git a/ark/attest/CHANGELOG.md b/ark/attest/CHANGELOG.md index 5fa69886c9..8aad9acc42 100644 --- a/ark/attest/CHANGELOG.md +++ b/ark/attest/CHANGELOG.md @@ -2,6 +2,20 @@ NOTE: This changelog is incomplete, but will include notable attest-specific changes (many updates consist almost entirely of bumped `arktype` versions for assertions). +## 0.57.1 + +### Support TypeScript 7.1 beta + +TypeScript 7.1 moved its native API from `typescript/unstable/*` to `typescript/*`, starting with `7.1.0-dev.20261009.1`. Attest now imports the new paths, so it works with `typescript@7.1.0-beta` and later rather than failing with `Package subpath './unstable/ast' is not defined by "exports"`. 7.1 nightlies from before `20261009` are no longer supported. + +### Add `onlyNamedTestFiles` + +With `onlyNamedTestFiles`, attest only analyzes the `*.test.*` files named on the command line rather than every file in your project, so type checking a single file takes seconds instead of minutes. Pair it with a runner invocation that only runs those files, like mocha's `--no-package`. Otherwise, the tests from files that weren't analyzed fail with "Found no assertion data". + +```sh +mocha --onlyNamedTestFiles --no-package ./src/__tests__/user.test.ts +``` + ## 0.57.0 ### Breaking changes diff --git a/ark/attest/package.json b/ark/attest/package.json index 6f24c9c185..5360872756 100644 --- a/ark/attest/package.json +++ b/ark/attest/package.json @@ -1,6 +1,6 @@ { "name": "@ark/attest", - "version": "0.57.0", + "version": "0.57.1", "license": "MIT", "author": { "name": "David Blass", @@ -52,7 +52,7 @@ "devDependencies": { "typescript": "catalog:", "typescript-6": "npm:typescript@6.0.3", - "typescript-7": "npm:typescript@7.1.0-dev.20261006.1" + "typescript-7": "npm:typescript@7.1.0-beta" }, "peerDependencies": { "typescript": "*" diff --git a/ark/attest/ts7/server.ts b/ark/attest/ts7/server.ts index 0c511c5547..c7f2018785 100644 --- a/ark/attest/ts7/server.ts +++ b/ark/attest/ts7/server.ts @@ -5,9 +5,9 @@ import { createRequire } from "node:module" import { dirname, join, resolve } from "node:path" import { threadId } from "node:worker_threads" import ts from "typescript" -import type * as tsgoAst from "typescript/unstable/ast" -import type * as tsgoFs from "typescript/unstable/fs" -import type * as tsgoApi from "typescript/unstable/sync" +import type * as tsgoAst from "typescript/ast" +import type * as tsgoFs from "typescript/fs" +import type * as tsgoApi from "typescript/sync" import type { LinePositionRange } from "../cache/getCachedAssertions.ts" import { getConfig } from "../config.ts" import { isTs7, narrowToNamedTestFiles } from "../utils.ts" @@ -17,13 +17,13 @@ const requireTypeScript = createRequire(import.meta.url) // only loaded for TS 7+ so this module can be imported unconditionally export const ast: typeof tsgoAst = - isTs7 ? requireTypeScript("typescript/unstable/ast") : (undefined as never) + isTs7 ? requireTypeScript("typescript/ast") : (undefined as never) const { API, TypeFormatFlags }: typeof tsgoApi = - isTs7 ? requireTypeScript("typescript/unstable/sync") : ({} as never) + isTs7 ? requireTypeScript("typescript/sync") : ({} as never) const { createFileSystemLayer }: typeof tsgoFs = - isTs7 ? requireTypeScript("typescript/unstable/fs") : ({} as never) + isTs7 ? requireTypeScript("typescript/fs") : ({} as never) export const noTruncation: number = isTs7 ? TypeFormatFlags.NoTruncation : 0 diff --git a/ark/fast-check/package.json b/ark/fast-check/package.json index 5c73ae218e..18a7a47162 100644 --- a/ark/fast-check/package.json +++ b/ark/fast-check/package.json @@ -1,6 +1,6 @@ { "name": "@ark/fast-check", - "version": "0.0.19", + "version": "0.0.20", "license": "MIT", "author": { "name": "David Blass", diff --git a/ark/fs/package.json b/ark/fs/package.json index 6529fc063b..dde093ead6 100644 --- a/ark/fs/package.json +++ b/ark/fs/package.json @@ -1,6 +1,6 @@ { "name": "@ark/fs", - "version": "0.56.7", + "version": "0.56.8", "license": "MIT", "author": { "name": "David Blass", diff --git a/ark/json-schema/package.json b/ark/json-schema/package.json index 5dbf23840d..fcb9f76cae 100644 --- a/ark/json-schema/package.json +++ b/ark/json-schema/package.json @@ -1,6 +1,6 @@ { "name": "@ark/json-schema", - "version": "0.0.12", + "version": "0.0.13", "license": "MIT", "authors": [ { diff --git a/ark/regex/CHANGELOG.md b/ark/regex/CHANGELOG.md index a73a78083f..11f98c620a 100644 --- a/ark/regex/CHANGELOG.md +++ b/ark/regex/CHANGELOG.md @@ -1,5 +1,19 @@ # arkregex +## 0.0.14 + +### allow `}` to be escaped + +`\}` was a type error as an unnecessary escape, though the `u` and `v` flags require it to match `}` literally (#1691). + +```ts +// was: type error +// now: Regex<"a{b}", { flags: "u" }> +regex("^a\\{b\\}$", "u") +``` + +Thanks to @cpruijsen. + ## 0.0.6 ### include the empty string when a zero-min quantifier applies to a number pattern diff --git a/ark/regex/package.json b/ark/regex/package.json index cbea8e0cf9..8245f4adb6 100644 --- a/ark/regex/package.json +++ b/ark/regex/package.json @@ -1,7 +1,7 @@ { "name": "arkregex", "description": "A drop-in replacement for new RegExp() with types", - "version": "0.0.13", + "version": "0.0.14", "license": "MIT", "repository": { "type": "git", diff --git a/ark/schema/package.json b/ark/schema/package.json index 315cd4cdd7..7ec5f05b4d 100644 --- a/ark/schema/package.json +++ b/ark/schema/package.json @@ -1,6 +1,6 @@ { "name": "@ark/schema", - "version": "0.56.7", + "version": "0.56.8", "license": "MIT", "author": { "name": "David Blass", diff --git a/ark/type/CHANGELOG.md b/ark/type/CHANGELOG.md index 94df9f353c..1ea9aa7d32 100644 --- a/ark/type/CHANGELOG.md +++ b/ark/type/CHANGELOG.md @@ -1,5 +1,102 @@ # arktype +## 2.2.9 + +### Keep tuple elements around defaults in `.in` and `.out` + +Combining a tuple's defaultable elements with its other elements dropped some of them, depending on key order: + +```ts +const T = type(["string", "number = 5", "boolean?"]) + +// was: [string, boolean?] +// now: [string, number?, boolean?] +T.in.expression + +// was: number[] +// now: [number, string, ...number[]] +type(["number", "string = 'foo'", "...", "number[]"]).out.expression +``` + +A bound that narrows two existing length constraints at once also no longer throws "multiple distinct intersection results": + +```ts +// was: throws +// now: string == 2 +type("1 <= string <= 2").and("string >= 2") +``` + +Thanks to @ybai08 (#1696). + +### Reject `NaN` in unions discriminated by `typeof` + +`number` rejects `NaN`, but compiled unions like `number | null` dropped that check when they discriminated by `typeof`, so `NaN` was only rejected with `jitless` (#1702). + +```ts +const T = type("number | null") + +// was: NaN +// now: ArkErrors: must be a number (was NaN) +T(NaN) +``` + +Thanks to @thecotne. + +### Don't treat `Object.prototype` keys as declared + +Inherited names like `toString` or `constructor`, and an own `__proto__` key like the one `JSON.parse` creates, were treated as declared keys, so `"+": "delete"` kept them and `"+": "reject"` accepted them (#1701). + +```ts +const T = type({ a: "string", "+": "reject" }) + +// was: { a: "x", constructor: 1 } +// now: ArkErrors: constructor must be removed +T({ a: "x", constructor: 1 }) +``` + +Thanks to @thecotne. + +### Only emit referenced `$defs` in `toJsonSchema` + +With `useRefs`, or for a cyclic type, every node a type referenced was written to `$defs`, including discriminated union cases that never appear in the output. Some of those couldn't be converted, so `toJsonSchema()` threw `Unexpected JSON Schema input for structure: {}` (#1689, fixes #1612, #1511 and #1546). + +```ts +const T = type.or( + { a: type.enumerated("a", "b", "c"), b: "1" }, + { a: type.enumerated("a", "e", "f"), b: "2" } +) + +// was: throws +// now: only the $defs that a $ref points to +T.toJsonSchema({ useRefs: true }) +``` + +Thanks to @giaBaoJS. + +### Convert unrepresentable types in `~standard.jsonSchema` instead of throwing + +`~standard.jsonSchema.input` and `.output` now throw only for an unsupported `target`, i.e. one other than `draft-2020-12` or `draft-07`. Parts of a type that JSON Schema can't represent are converted instead (#1694): + +- a predicate, a second pattern, a `Date` bound or an array's non-index props is dropped from the schema it constrains +- `bigint`, `symbol`, a non-JSON unit like `undefined` and any prototype other than `Array` become `{}` +- a variadic tuple with postfix elements keeps its prefix and `minItems`, but not its `items` +- a default that isn't JSON is omitted + +```ts +const T = type({ + big: "bigint", + even: type("number").narrow(n => n % 2 === 0) +}) + +// was: throws +// now: { type: "object", properties: { big: {}, even: { type: "number" } }, ... } +T["~standard"].jsonSchema.input({ target: "draft-2020-12" }) +``` + +Fallbacks from a scope's `toJsonSchema` config or from `libraryOptions` still take precedence, and `toJsonSchema()` itself still throws by default. + +A `defaultValue` fallback can now return `undefined` to omit the default rather than writing `default: undefined`. + ## 2.2.8 ### Add `string.base58` diff --git a/ark/type/package.json b/ark/type/package.json index 7b4c9dd211..126d26a6b9 100644 --- a/ark/type/package.json +++ b/ark/type/package.json @@ -1,7 +1,7 @@ { "name": "arktype", "description": "TypeScript's 1:1 validator, optimized from editor to runtime", - "version": "2.2.8", + "version": "2.2.9", "license": "MIT", "repository": { "type": "git", diff --git a/ark/util/package.json b/ark/util/package.json index f1d5c5e000..fa9a7b7d09 100644 --- a/ark/util/package.json +++ b/ark/util/package.json @@ -1,6 +1,6 @@ { "name": "@ark/util", - "version": "0.56.7", + "version": "0.56.8", "license": "MIT", "repository": { "type": "git", diff --git a/ark/util/registry.ts b/ark/util/registry.ts index d7429becdd..a7eac0351f 100644 --- a/ark/util/registry.ts +++ b/ark/util/registry.ts @@ -8,7 +8,7 @@ import { FileConstructor, objectKindOf } from "./objectKinds.ts" // recent node versions (https://nodejs.org/api/esm.html#json-modules). // For now, we assert this matches the package.json version via a unit test. -export const arkUtilVersion = "0.56.7" +export const arkUtilVersion = "0.56.8" export const initialRegistryContents = { version: arkUtilVersion, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c0fbee6615..b6eb3fbaee 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -7,8 +7,8 @@ settings: catalogs: default: typescript: - specifier: 7.1.0-dev.20261006.1 - version: 7.1.0-dev.20261006.1 + specifier: 7.1.0-beta + version: 7.1.0-beta ts6: typescript: specifier: 6.0.3 @@ -85,7 +85,7 @@ importers: version: 8.5.0(jiti@2.6.1)(postcss@8.5.6)(tsx@4.20.6) typescript: specifier: 'catalog:' - version: 7.1.0-dev.20261006.1 + version: 7.1.0-beta typescript-eslint: specifier: 8.46.1 version: 8.46.1(eslint@9.37.0(jiti@2.6.1)) @@ -109,7 +109,7 @@ importers: version: 0.10.1 '@typescript/vfs': specifier: 1.6.1 - version: 1.6.1(typescript@7.1.0-dev.20261006.1) + version: 1.6.1(typescript@7.1.0-beta) arktype: specifier: workspace:* version: link:../type @@ -119,13 +119,13 @@ importers: devDependencies: typescript: specifier: 'catalog:' - version: 7.1.0-dev.20261006.1 + version: 7.1.0-beta typescript-6: specifier: npm:typescript@6.0.3 version: typescript@6.0.3 typescript-7: - specifier: npm:typescript@7.1.0-dev.20261006.1 - version: typescript@7.1.0-dev.20261006.1 + specifier: npm:typescript@7.1.0-beta + version: typescript@7.1.0-beta ark/docs: dependencies: @@ -338,10 +338,10 @@ importers: version: 5.1.0 typescript: specifier: 'catalog:' - version: 7.1.0-dev.20261006.1 + version: 7.1.0-beta valibot: specifier: 1.1.0 - version: 1.1.0(typescript@7.1.0-dev.20261006.1) + version: 1.1.0(typescript@7.1.0-beta) zod: specifier: 4.1.12 version: 4.1.12 @@ -1978,44 +1978,128 @@ packages: resolution: {integrity: sha512-RnlSOPh14QbopGCApgkSx5UBgGda5MX1cHqp2fsqfiDyCwGL/m1jaeB9fzu7didVS81LQqGZZuxFBcg8YU8EVw==} hasBin: true - '@typescript/typescript-darwin-arm64@7.1.0-dev.20261006.1': - resolution: {integrity: sha512-DCs8Fg6AKoWcl2QWauwNaKz6DkoF+p1D5RIgrjGeEllakWOIE0GKS7SW9VT7RL5O3LgSPSoDNKCq1+Y1j6+nvA==} + '@typescript/typescript-aix-ppc64@7.1.0-beta': + resolution: {integrity: sha512-DXDG+jIWxBHGdoO70tcHON33rCnSzsEZj9P13oyf/r/KEGIo6awsdSNVNjAw0uMwEpqRu75IrgCcW58YcVkZHg==} + engines: {node: '>=16.20.0'} + cpu: [ppc64] + os: [aix] + + '@typescript/typescript-android-arm64@7.1.0-beta': + resolution: {integrity: sha512-UZx6PxoQavuvaVTrSf3aw0Oy/J/uJpRylipA0kzc038jMvZXh0UtE8vnQp20FqtdgD5bhXZ0aJrRJyoTSUO58Q==} + engines: {node: '>=16.20.0'} + cpu: [arm64] + os: [android] + + '@typescript/typescript-darwin-arm64@7.1.0-beta': + resolution: {integrity: sha512-q7mxblcyX0E7hXsY4k+Q6KWKK5mGmfVq+BDesdTgRVgjodk27aIxER77Zyj9+TgSTlCje8F7+JM6f6hl2BuNdw==} engines: {node: '>=16.20.0'} cpu: [arm64] os: [darwin] - '@typescript/typescript-darwin-x64@7.1.0-dev.20261006.1': - resolution: {integrity: sha512-Lorx+aumX6AjZXNQrMh1K5MWzKZM1VQ306ER+igUHN6XbORpHa+XGkWncajkQq6XAc5XFMUCIKBNHORpeRM7lw==} + '@typescript/typescript-darwin-x64@7.1.0-beta': + resolution: {integrity: sha512-D5EYqG5Wm/guw9+0j8+Mn1Jbr/gfS/VtFTuoH8PJtFbcqeDaQGMulc7SW8q51QG6Y3wGOGX3nbsTOw6fIKWWAA==} engines: {node: '>=16.20.0'} cpu: [x64] os: [darwin] - '@typescript/typescript-linux-arm64@7.1.0-dev.20261006.1': - resolution: {integrity: sha512-I3PR3I8ppAP1KBejp976Vuh0Wjn1ca7AIEll1d7Fn2ruNeC6fQ6xSjzECkrNoR0Y3ykGn0xV67RmEnsKvPbNVg==} + '@typescript/typescript-freebsd-arm64@7.1.0-beta': + resolution: {integrity: sha512-9A0XX0tcnH9qPdolSKKzSjTb93dlB0UEcAJbHYEsrFX2fkFNSum9+dvkQQJ9vLc+7vxHetDPujq9Qe6wx+Xhow==} + engines: {node: '>=16.20.0'} + cpu: [arm64] + os: [freebsd] + + '@typescript/typescript-freebsd-x64@7.1.0-beta': + resolution: {integrity: sha512-EDf/dBHfY0TxX3NmUTek0hbffeyZlh3+ls6WQW3ICB8vYxwYLFnzg7wkgEUvl9eRlpiJ/nmc2S8arPMzINJ7rg==} + engines: {node: '>=16.20.0'} + cpu: [x64] + os: [freebsd] + + '@typescript/typescript-linux-arm64@7.1.0-beta': + resolution: {integrity: sha512-hNqQBgQ5b5oGqN76QqbAU6CwYhJZ6iOcWc2kPTUs2OentgpxZktETziH6KIyRFJPaiBncognwn2ZLu3DNhHiWw==} engines: {node: '>=16.20.0'} cpu: [arm64] os: [linux] - '@typescript/typescript-linux-arm@7.1.0-dev.20261006.1': - resolution: {integrity: sha512-BWOw9Z9uS4gX5dZgDg/ZMf6tbz3unmOssv6UH9Rur3CeEBFEa5muPSghbTpq6ZEF64bwBXbHbNWoKzu/3dAQ8A==} + '@typescript/typescript-linux-arm@7.1.0-beta': + resolution: {integrity: sha512-AvN9HmzOQh46G4312ooSgMHhbB7DtnLwg8D9mo324X49B7weMwtJrBG1MxT9IyI8kzDd7YRtW+1hWGun7WG7Qw==} engines: {node: '>=16.20.0'} cpu: [arm] os: [linux] - '@typescript/typescript-linux-x64@7.1.0-dev.20261006.1': - resolution: {integrity: sha512-PzhL1dYXgqjF65/ZRFZcolPrWnrs05PcL4gvzMokHbxjzBzoFQN6mQkyYBcgnIsyapxgMPans64WikNstvsZjQ==} + '@typescript/typescript-linux-loong64@7.1.0-beta': + resolution: {integrity: sha512-xbUustlBrFflt2pNEyG5ye+d4WGPc/rfr2xK29MXeobPSw297JqwuKRrvbKM5o3fE/eUM/c+urVm6jQ3IaMVTw==} + engines: {node: '>=16.20.0'} + cpu: [loong64] + os: [linux] + + '@typescript/typescript-linux-mips64el@7.1.0-beta': + resolution: {integrity: sha512-fS4/G7/0bXZ3NSq3nBMAXyg65I3tO4S7j08VNQ2g1aNC/qq79gE7Qne1BNjVsjMFfHBVBFjQYoTQCjmVU2iFlg==} + engines: {node: '>=16.20.0'} + cpu: [mips64el] + os: [linux] + + '@typescript/typescript-linux-ppc64@7.1.0-beta': + resolution: {integrity: sha512-0upCCxYPX8X6gOwkvfv+Ee7/ufyy7k97mTrGE0e5BxLlnUEa+w+rtgnv2dsKcxFdwdeZYVlZKCqgN/xCBV08+A==} + engines: {node: '>=16.20.0'} + cpu: [ppc64] + os: [linux] + + '@typescript/typescript-linux-riscv64@7.1.0-beta': + resolution: {integrity: sha512-0jKU9YRgOPRgiy5V/UWv37kB53PaTpIbwGCbbOMUPPAkrjVRNOIAJaz7Wa7s3H7mdDebX1LopUEPEJR+7Xa7zg==} + engines: {node: '>=16.20.0'} + cpu: [riscv64] + os: [linux] + + '@typescript/typescript-linux-s390x@7.1.0-beta': + resolution: {integrity: sha512-j+d04s2kxaPQh6DLPb01sknAQfzsrdSZy15jBRHyLEZoaaQ19dVjbFRlkNVvYwUG7ZdP8+y5b/7RmPxdtHUKdQ==} + engines: {node: '>=16.20.0'} + cpu: [s390x] + os: [linux] + + '@typescript/typescript-linux-x64@7.1.0-beta': + resolution: {integrity: sha512-kcD51ihf+pnI5KT4uQQYG04OpwznaZYBlIQhDhl8fflFd27NktxXsUeguxZyvUMyWfum7IF2bBS6Jv7ox0AgFQ==} engines: {node: '>=16.20.0'} cpu: [x64] os: [linux] - '@typescript/typescript-win32-arm64@7.1.0-dev.20261006.1': - resolution: {integrity: sha512-fC1wXosVIca31GmtkkPF84Mf4VvjxBhZ89momw6JSEOcRaSu0ziLzxRRnx8SiclaoCSk8CSzfTAHewPSd/hyMA==} + '@typescript/typescript-netbsd-arm64@7.1.0-beta': + resolution: {integrity: sha512-8W85YyoGK+rgGoSU9jJQUpELbrKcZcbdJk2jPNQ6UKDKI7ryPlPFTrV2jCE5RQuv4Tt96hMDTc33s4YfRrLFBA==} + engines: {node: '>=16.20.0'} + cpu: [arm64] + os: [netbsd] + + '@typescript/typescript-netbsd-x64@7.1.0-beta': + resolution: {integrity: sha512-iGsTE0ve2PG0AcyZinwAR0LnGEZhu/y4dceS0hZsYCaKdYETvQtvtlNWlmYKempsBr6C7Il7dMXHVk+VFm9u0g==} + engines: {node: '>=16.20.0'} + cpu: [x64] + os: [netbsd] + + '@typescript/typescript-openbsd-arm64@7.1.0-beta': + resolution: {integrity: sha512-Z2FERdHB9fAKI+KGqdWn04O7uNlnB+VYiEm6INE1aZuzzLNd3KBqQ6IpKUJF2ny4GigGU6nVu75XD9tAUODPng==} + engines: {node: '>=16.20.0'} + cpu: [arm64] + os: [openbsd] + + '@typescript/typescript-openbsd-x64@7.1.0-beta': + resolution: {integrity: sha512-NVG3qeyCq/rJEOhaRjR3LsWgjrjo5vJW25omVLeHAVnpKIG4pE4cenwwKGR06DiJ1s0QTOymcJeKXMEpsiNBVg==} + engines: {node: '>=16.20.0'} + cpu: [x64] + os: [openbsd] + + '@typescript/typescript-sunos-x64@7.1.0-beta': + resolution: {integrity: sha512-ovAdoWXEn2B5/fyWG69pLU3FWmQwPWOjQV5TFbcxtpnOv+R3g8ySGHl1NYRq7Lb/GYdFDvaGcZ+SiU7iKuiMsA==} + engines: {node: '>=16.20.0'} + cpu: [x64] + os: [sunos] + + '@typescript/typescript-win32-arm64@7.1.0-beta': + resolution: {integrity: sha512-lJbo71IEOfL7ZZIZnArRaOLqjn9BAfoSzyUQn0aSjfSpDZL4ru0afUsdBfo6PQEjD6ssdmi0n/RwaPADX6bsvQ==} engines: {node: '>=16.20.0'} cpu: [arm64] os: [win32] - '@typescript/typescript-win32-x64@7.1.0-dev.20261006.1': - resolution: {integrity: sha512-njuXYq2fifRJ/jrp5QCA0cKYUNJq/PcICDLhZiYptVkuPzxNjbvubtW0rOAGRj6SLyGSryWYRotPjgjYQ2SUgQ==} + '@typescript/typescript-win32-x64@7.1.0-beta': + resolution: {integrity: sha512-UKcHvbybY2tDTvFW2b1vwiAvDlIRooo69lh8CXWVhOQejcvpM5+IgbiFW9EIwR5Wi5X/v+BdN7gdWbigBuJ3rw==} engines: {node: '>=16.20.0'} cpu: [x64] os: [win32] @@ -5137,8 +5221,8 @@ packages: engines: {node: '>=14.17'} hasBin: true - typescript@7.1.0-dev.20261006.1: - resolution: {integrity: sha512-A7SL1hEIoSrx4erElyjmIt9q4YovEvpGdFij9Hf67gdrcW2I+F/5+DtbfRG8MzGyDtm0NW0C0N29+hENOssS5Q==} + typescript@7.1.0-beta: + resolution: {integrity: sha512-cjWjZAJDsmZzsNC5GwHNlW0YPM65jZa5oR0KyQcYX3KSVIfTvtBq//vewISyatKk4OLi5grZjHhIVE9fdrw1UQ==} engines: {node: '>=16.20.0'} hasBin: true @@ -6980,25 +7064,67 @@ snapshots: treeify: 1.1.0 yargs: 16.2.0 - '@typescript/typescript-darwin-arm64@7.1.0-dev.20261006.1': + '@typescript/typescript-aix-ppc64@7.1.0-beta': + optional: true + + '@typescript/typescript-android-arm64@7.1.0-beta': + optional: true + + '@typescript/typescript-darwin-arm64@7.1.0-beta': + optional: true + + '@typescript/typescript-darwin-x64@7.1.0-beta': + optional: true + + '@typescript/typescript-freebsd-arm64@7.1.0-beta': + optional: true + + '@typescript/typescript-freebsd-x64@7.1.0-beta': + optional: true + + '@typescript/typescript-linux-arm64@7.1.0-beta': + optional: true + + '@typescript/typescript-linux-arm@7.1.0-beta': + optional: true + + '@typescript/typescript-linux-loong64@7.1.0-beta': + optional: true + + '@typescript/typescript-linux-mips64el@7.1.0-beta': + optional: true + + '@typescript/typescript-linux-ppc64@7.1.0-beta': + optional: true + + '@typescript/typescript-linux-riscv64@7.1.0-beta': + optional: true + + '@typescript/typescript-linux-s390x@7.1.0-beta': + optional: true + + '@typescript/typescript-linux-x64@7.1.0-beta': + optional: true + + '@typescript/typescript-netbsd-arm64@7.1.0-beta': optional: true - '@typescript/typescript-darwin-x64@7.1.0-dev.20261006.1': + '@typescript/typescript-netbsd-x64@7.1.0-beta': optional: true - '@typescript/typescript-linux-arm64@7.1.0-dev.20261006.1': + '@typescript/typescript-openbsd-arm64@7.1.0-beta': optional: true - '@typescript/typescript-linux-arm@7.1.0-dev.20261006.1': + '@typescript/typescript-openbsd-x64@7.1.0-beta': optional: true - '@typescript/typescript-linux-x64@7.1.0-dev.20261006.1': + '@typescript/typescript-sunos-x64@7.1.0-beta': optional: true - '@typescript/typescript-win32-arm64@7.1.0-dev.20261006.1': + '@typescript/typescript-win32-arm64@7.1.0-beta': optional: true - '@typescript/typescript-win32-x64@7.1.0-dev.20261006.1': + '@typescript/typescript-win32-x64@7.1.0-beta': optional: true '@typescript/vfs@1.6.1(typescript@6.0.3)': @@ -7008,10 +7134,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript/vfs@1.6.1(typescript@7.1.0-dev.20261006.1)': + '@typescript/vfs@1.6.1(typescript@7.1.0-beta)': dependencies: debug: 4.4.3(supports-color@8.1.1) - typescript: 7.1.0-dev.20261006.1 + typescript: 7.1.0-beta transitivePeerDependencies: - supports-color @@ -10818,15 +10944,29 @@ snapshots: typescript@6.0.3: {} - typescript@7.1.0-dev.20261006.1: + typescript@7.1.0-beta: optionalDependencies: - '@typescript/typescript-darwin-arm64': 7.1.0-dev.20261006.1 - '@typescript/typescript-darwin-x64': 7.1.0-dev.20261006.1 - '@typescript/typescript-linux-arm': 7.1.0-dev.20261006.1 - '@typescript/typescript-linux-arm64': 7.1.0-dev.20261006.1 - '@typescript/typescript-linux-x64': 7.1.0-dev.20261006.1 - '@typescript/typescript-win32-arm64': 7.1.0-dev.20261006.1 - '@typescript/typescript-win32-x64': 7.1.0-dev.20261006.1 + '@typescript/typescript-aix-ppc64': 7.1.0-beta + '@typescript/typescript-android-arm64': 7.1.0-beta + '@typescript/typescript-darwin-arm64': 7.1.0-beta + '@typescript/typescript-darwin-x64': 7.1.0-beta + '@typescript/typescript-freebsd-arm64': 7.1.0-beta + '@typescript/typescript-freebsd-x64': 7.1.0-beta + '@typescript/typescript-linux-arm': 7.1.0-beta + '@typescript/typescript-linux-arm64': 7.1.0-beta + '@typescript/typescript-linux-loong64': 7.1.0-beta + '@typescript/typescript-linux-mips64el': 7.1.0-beta + '@typescript/typescript-linux-ppc64': 7.1.0-beta + '@typescript/typescript-linux-riscv64': 7.1.0-beta + '@typescript/typescript-linux-s390x': 7.1.0-beta + '@typescript/typescript-linux-x64': 7.1.0-beta + '@typescript/typescript-netbsd-arm64': 7.1.0-beta + '@typescript/typescript-netbsd-x64': 7.1.0-beta + '@typescript/typescript-openbsd-arm64': 7.1.0-beta + '@typescript/typescript-openbsd-x64': 7.1.0-beta + '@typescript/typescript-sunos-x64': 7.1.0-beta + '@typescript/typescript-win32-arm64': 7.1.0-beta + '@typescript/typescript-win32-x64': 7.1.0-beta uc.micro@2.1.0: {} @@ -10932,9 +11072,9 @@ snapshots: '@types/istanbul-lib-coverage': 2.0.6 convert-source-map: 2.0.0 - valibot@1.1.0(typescript@7.1.0-dev.20261006.1): + valibot@1.1.0(typescript@7.1.0-beta): optionalDependencies: - typescript: 7.1.0-dev.20261006.1 + typescript: 7.1.0-beta validate-npm-package-license@3.0.4: dependencies: diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index cc42337d0e..3d52c835a0 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -5,7 +5,7 @@ packages: pnpmfile: pnpmfile.ts catalog: - typescript: 7.1.0-dev.20261006.1 + typescript: 7.1.0-beta catalogs: # for packages that need TypeScript's JS API (keep in sync with pnpmfile.ts diff --git a/tsconfig.json b/tsconfig.json index ead3f069e9..6310cd15f3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,13 +10,13 @@ "typescript": [ "./ark/attest/node_modules/typescript-6/lib/typescript.d.ts" ], - "typescript/unstable/ast": [ + "typescript/ast": [ "./ark/attest/node_modules/typescript-7/dist/ast/index.d.ts" ], - "typescript/unstable/fs": [ + "typescript/fs": [ "./ark/attest/node_modules/typescript-7/dist/api/fs.d.ts" ], - "typescript/unstable/sync": [ + "typescript/sync": [ "./ark/attest/node_modules/typescript-7/dist/api/sync/api.d.ts" ] },