Skip to content

Commit

Permalink
Merge pull request #74 from faramos/main
Browse files Browse the repository at this point in the history
Update Zod to 3.21.4 #73
  • Loading branch information
gustavoguichard authored May 16, 2023
2 parents 8bc25bb + 8338fc8 commit 2f483d3
Show file tree
Hide file tree
Showing 20 changed files with 39 additions and 39 deletions.
26 changes: 13 additions & 13 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions examples/remix/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/remix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"react-dom": "^18.2.0",
"remix": "^1.8.2",
"tinycolor2": "^1.4.2",
"zod": "^3.19.1"
"zod": "^3.21.4"
},
"devDependencies": {
"@remix-run/dev": "^1.8.2",
Expand Down
4 changes: 2 additions & 2 deletions scripts/build-npm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ await build({
undici: true,
},
mappings: {
'https://deno.land/x/zod@v3.19.1/mod.ts': {
'https://deno.land/x/zod@v3.21.4/mod.ts': {
name: 'zod',
version: '^3.19.1',
version: '^3.21.4',
peerDependency: true,
},
'https://deno.land/x/[email protected]/mod.ts': {
Expand Down
2 changes: 1 addition & 1 deletion src/all.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
assertEquals,
assertObjectMatch,
} from 'https://deno.land/[email protected]/testing/asserts.ts'
import { z } from 'https://deno.land/x/zod@v3.19.1/mod.ts'
import { z } from 'https://deno.land/x/zod@v3.21.4/mod.ts'

import { makeDomainFunction } from './constructor.ts'
import { all } from './domain-functions.ts'
Expand Down
2 changes: 1 addition & 1 deletion src/collect.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
assertEquals,
assertObjectMatch,
} from 'https://deno.land/[email protected]/testing/asserts.ts'
import { z } from 'https://deno.land/x/zod@v3.19.1/mod.ts'
import { z } from 'https://deno.land/x/zod@v3.21.4/mod.ts'

import { makeDomainFunction } from './constructor.ts'
import { collect } from './domain-functions.ts'
Expand Down
2 changes: 1 addition & 1 deletion src/constructor.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
assertEquals,
assertObjectMatch,
} from 'https://deno.land/[email protected]/testing/asserts.ts'
import { z } from 'https://deno.land/x/zod@v3.19.1/mod.ts'
import { z } from 'https://deno.land/x/zod@v3.21.4/mod.ts'

import { makeDomainFunction } from './constructor.ts'
import {
Expand Down
2 changes: 1 addition & 1 deletion src/constructor.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { z } from 'https://deno.land/x/zod@v3.19.1/mod.ts'
import { z } from 'https://deno.land/x/zod@v3.21.4/mod.ts'

import {
EnvironmentError,
Expand Down
2 changes: 1 addition & 1 deletion src/domain-functions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { z } from 'https://deno.land/x/zod@v3.19.1/mod.ts'
import { z } from 'https://deno.land/x/zod@v3.21.4/mod.ts'

import { ResultError } from './errors.ts'
import { toErrorWithMessage } from './errors.ts'
Expand Down
2 changes: 1 addition & 1 deletion src/errors.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { describe, it } from 'https://deno.land/[email protected]/testing/bdd.ts'
import { assertEquals } from 'https://deno.land/[email protected]/testing/asserts.ts'
import { z } from 'https://deno.land/x/zod@v3.19.1/mod.ts'
import { z } from 'https://deno.land/x/zod@v3.21.4/mod.ts'

import { makeDomainFunction } from './constructor.ts'

Expand Down
2 changes: 1 addition & 1 deletion src/errors.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { z } from 'https://deno.land/x/zod@v3.19.1/mod.ts'
import { z } from 'https://deno.land/x/zod@v3.21.4/mod.ts'
import type {
ErrorWithMessage,
SchemaError,
Expand Down
2 changes: 1 addition & 1 deletion src/first.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { describe, it } from 'https://deno.land/[email protected]/testing/bdd.ts'
import { assertEquals } from 'https://deno.land/[email protected]/testing/asserts.ts'
import { z } from 'https://deno.land/x/zod@v3.19.1/mod.ts'
import { z } from 'https://deno.land/x/zod@v3.21.4/mod.ts'

import { makeDomainFunction } from './constructor.ts'
import { first } from './domain-functions.ts'
Expand Down
2 changes: 1 addition & 1 deletion src/from-success.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
assertEquals,
assertRejects,
} from 'https://deno.land/[email protected]/testing/asserts.ts'
import { z } from 'https://deno.land/x/zod@v3.19.1/mod.ts'
import { z } from 'https://deno.land/x/zod@v3.21.4/mod.ts'

import { makeDomainFunction } from './constructor.ts'
import { fromSuccess } from './domain-functions.ts'
Expand Down
2 changes: 1 addition & 1 deletion src/map-error.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { describe, it } from 'https://deno.land/[email protected]/testing/bdd.ts'
import { assertEquals } from 'https://deno.land/[email protected]/testing/asserts.ts'
import { z } from 'https://deno.land/x/zod@v3.19.1/mod.ts'
import { z } from 'https://deno.land/x/zod@v3.21.4/mod.ts'

import { makeDomainFunction } from './constructor.ts'
import { mapError } from './domain-functions.ts'
Expand Down
2 changes: 1 addition & 1 deletion src/map.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { describe, it } from 'https://deno.land/[email protected]/testing/bdd.ts'
import { assertEquals } from 'https://deno.land/[email protected]/testing/asserts.ts'
import { z } from 'https://deno.land/x/zod@v3.19.1/mod.ts'
import { z } from 'https://deno.land/x/zod@v3.21.4/mod.ts'

import { makeDomainFunction } from './constructor.ts'
import { map } from './domain-functions.ts'
Expand Down
2 changes: 1 addition & 1 deletion src/merge.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
assertEquals,
assertObjectMatch,
} from 'https://deno.land/[email protected]/testing/asserts.ts'
import { z } from 'https://deno.land/x/zod@v3.19.1/mod.ts'
import { z } from 'https://deno.land/x/zod@v3.21.4/mod.ts'

import { makeDomainFunction } from './constructor.ts'
import { merge } from './domain-functions.ts'
Expand Down
2 changes: 1 addition & 1 deletion src/pipe.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { describe, it } from 'https://deno.land/[email protected]/testing/bdd.ts'
import { assertEquals } from 'https://deno.land/[email protected]/testing/asserts.ts'
import { z } from 'https://deno.land/x/zod@v3.19.1/mod.ts'
import { z } from 'https://deno.land/x/zod@v3.21.4/mod.ts'

import { makeDomainFunction } from './constructor.ts'
import { pipe } from './domain-functions.ts'
Expand Down
2 changes: 1 addition & 1 deletion src/sequence.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { describe, it } from 'https://deno.land/[email protected]/testing/bdd.ts'
import { assertEquals } from 'https://deno.land/[email protected]/testing/asserts.ts'
import { z } from 'https://deno.land/x/zod@v3.19.1/mod.ts'
import { z } from 'https://deno.land/x/zod@v3.21.4/mod.ts'

import { makeDomainFunction } from './constructor.ts'
import { sequence } from './domain-functions.ts'
Expand Down
2 changes: 1 addition & 1 deletion src/trace.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { describe, it } from 'https://deno.land/[email protected]/testing/bdd.ts'
import { assertEquals } from 'https://deno.land/[email protected]/testing/asserts.ts'
import { z } from 'https://deno.land/x/zod@v3.19.1/mod.ts'
import { z } from 'https://deno.land/x/zod@v3.21.4/mod.ts'

import { makeDomainFunction } from './constructor.ts'
import { fromSuccess, trace } from './domain-functions.ts'
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { z } from 'https://deno.land/x/zod@v3.19.1/mod.ts'
import { z } from 'https://deno.land/x/zod@v3.21.4/mod.ts'

import type { MergeObjs, Result, SchemaError, SuccessResult } from './types.ts'

Expand Down

0 comments on commit 2f483d3

Please sign in to comment.