Skip to content

Commit

Permalink
bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ssalbdivad committed Sep 18, 2024
1 parent 5c6da52 commit cec5948
Show file tree
Hide file tree
Showing 10 changed files with 53 additions and 105 deletions.
2 changes: 1 addition & 1 deletion ark/attest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ark/attest",
"version": "0.18.3",
"version": "0.18.4",
"author": {
"name": "David Blass",
"email": "[email protected]",
Expand Down
43 changes: 43 additions & 0 deletions ark/docs/src/components/BenchmarksGraph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,46 @@ export const RuntimeBenchmarksGraph = () => (
</div>
</div>
)

export const TypeBenchmarksGraph = () => (
<div style={{ fontSize: 14, fontWeight: 500 }}>
<div
style={{
display: "flex",
flexDirection: "row"
}}
>
<h6 style={{ fontSize: 15 }}>
Union Type Instantiations, TypeScript 5.5.3 (
<a
target="_blank"
href="https://github.com/arktypeio/arktype/blob/468da965d9a2bbb16fe38d37e82c3b35e5158334/ark/repo/scratch/discriminatedComparison.ts"
>
source
</a>
)
</h6>
</div>
<div
style={{
display: "flex",
alignItems: "center"
}}
>
<div style={{ ...arkBarStyles, width: "10.94%" }}></div>
ArkType Auto-Discriminated (7,801)
</div>
<div
style={{
display: "flex",
alignItems: "center"
}}
>
<div style={{ ...zodBarStyles, width: "34.98%" }}></div>
Zod Raw (24,944)
</div>
<div style={{ ...zodBarStyles, width: "100%", justifyContent: "end" }}>
Zod Discriminated (71,312)&nbsp;&nbsp;
</div>
</div>
)
2 changes: 1 addition & 1 deletion ark/fs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ark/fs",
"version": "0.12.0",
"version": "0.13.0",
"author": {
"name": "David Blass",
"email": "[email protected]",
Expand Down
95 changes: 0 additions & 95 deletions ark/repo/scratch/discriminatedComparison.ts

This file was deleted.

6 changes: 3 additions & 3 deletions ark/repo/scratch/realWorldComparison.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ bench("arktype", () => {
const out = verifyRegistrationResponseOptsSchema
.pick("id", "clientExtensionResults", "authenticatorAttachment")
.omit("clientExtensionResults")
}).types([16167, "instantiations"])
}).types([10451, "instantiations"])

bench("arktype scope", () => {
return scope({
Expand Down Expand Up @@ -103,7 +103,7 @@ bench("arktype scope", () => {
type: "'public-key'"
}
}).export()
}).types([26173, "instantiations"])
}).types([8513, "instantiations"])

bench("zod", () => {
const authenticatorTransportFutureSchema = z.array(
Expand Down Expand Up @@ -170,4 +170,4 @@ bench("zod", () => {
clientExtensionResults: true
})
.omit({ clientExtensionResults: true })
}).types([27703, "instantiations"])
}).types([16666, "instantiations"])
2 changes: 1 addition & 1 deletion ark/schema/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ark/schema",
"version": "0.12.0",
"version": "0.13.0",
"license": "MIT",
"author": {
"name": "David Blass",
Expand Down
2 changes: 1 addition & 1 deletion ark/type/keywords/ts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export declare namespace json {
}

export const object = arkModule({
root: intrinsic.unknown,
root: intrinsic.object,
json
})

Expand Down
2 changes: 1 addition & 1 deletion ark/type/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "arktype",
"description": "TypeScript's 1:1 validator, optimized from editor to runtime",
"version": "2.0.0-rc.10",
"version": "2.0.0-rc.11",
"license": "MIT",
"author": {
"name": "David Blass",
Expand Down
2 changes: 1 addition & 1 deletion ark/util/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ark/util",
"version": "0.12.0",
"version": "0.13.0",
"author": {
"name": "David Blass",
"email": "[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion ark/util/registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,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.12.0"
export const arkUtilVersion = "0.13.0"

export const initialRegistryContents = {
version: arkUtilVersion,
Expand Down

0 comments on commit cec5948

Please sign in to comment.