Skip to content

Commit 8a48f91

Browse files
author
Colin McDonnell
committed
Fix output target
1 parent 67c8ad0 commit 8a48f91

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

coverage.svg

Lines changed: 1 addition & 1 deletion
Loading

deno/lib/helpers/parseUtil.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ export class ParseStatus {
207207
static async mergeObjectAsync(
208208
status: ParseStatus,
209209
pairs: { key: ParseReturnType<any>; value: ParseReturnType<any> }[]
210-
): AsyncParseReturnType<any> {
210+
): Promise<SyncParseReturnType<any>> {
211211
const syncPairs: ObjectPair[] = [];
212212
for (const pair of pairs) {
213213
syncPairs.push({

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "zod",
3-
"version": "3.10.2",
3+
"version": "3.10.3",
44
"description": "TypeScript-first schema declaration and validation library with static type inference",
55
"main": "./lib/index.js",
66
"types": "./lib/index.d.ts",
@@ -86,7 +86,7 @@
8686
"rollup-plugin-uglify": "^6.0.4",
8787
"ts-jest": "^26.4.4",
8888
"ts-node": "^9.1.0",
89-
"tslib": "^2.1.0",
89+
"tslib": "^2.3.1",
9090
"typescript": "^4.4.4"
9191
},
9292
"husky": {

src/helpers/parseUtil.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ export class ParseStatus {
207207
static async mergeObjectAsync(
208208
status: ParseStatus,
209209
pairs: { key: ParseReturnType<any>; value: ParseReturnType<any> }[]
210-
): AsyncParseReturnType<any> {
210+
): Promise<SyncParseReturnType<any>> {
211211
const syncPairs: ObjectPair[] = [];
212212
for (const pair of pairs) {
213213
syncPairs.push({

tsconfig.base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"esnext",
88
"dom"
99
],
10-
"target": "es2020",
10+
"target": "es5",
1111
"removeComments": false,
1212
"esModuleInterop": true,
1313
"moduleResolution": "node",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5327,10 +5327,10 @@ tslib@^1.8.1, tslib@^1.9.0:
53275327
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
53285328
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==
53295329

5330-
tslib@^2.1.0:
5331-
version "2.1.0"
5332-
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.1.0.tgz#da60860f1c2ecaa5703ab7d39bc05b6bf988b97a"
5333-
integrity sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==
5330+
tslib@^2.3.1:
5331+
version "2.3.1"
5332+
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01"
5333+
integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==
53345334

53355335
tsutils@^3.17.1:
53365336
version "3.17.1"

0 commit comments

Comments
 (0)