Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
update dependencies (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart authored Dec 21, 2023
1 parent 49fb154 commit 15784c9
Show file tree
Hide file tree
Showing 11 changed files with 211 additions and 202 deletions.
8 changes: 8 additions & 0 deletions .changeset/small-jars-wink.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@effect/platform-browser": minor
"@effect/platform-node": minor
"@effect/platform-bun": minor
"@effect/platform": minor
---

update dependencies
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
"@effect/docgen": "^0.3.8",
"@effect/eslint-plugin": "^0.1.2",
"@effect/language-service": "^0.1.0",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@vitest/coverage-v8": "^1.0.4",
"@vitest/web-worker": "^1.0.4",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"@vitest/coverage-v8": "^1.1.0",
"@vitest/web-worker": "^1.1.0",
"babel-plugin-annotate-pure-calls": "^0.4.0",
"eslint": "^8.56.0",
"eslint-import-resolver-typescript": "^3.6.1",
Expand All @@ -43,10 +43,10 @@
"glob": "^10.3.10",
"madge": "^6.1.0",
"prettier": "^3.1.1",
"tsx": "^4.6.2",
"tsx": "^4.7.0",
"typescript": "^5.3.3",
"vite": "^5.0.10",
"vitest": "^1.0.4"
"vitest": "^1.1.0"
},
"pnpm": {
"patchedDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"devDependencies": {
"@effect/platform": "workspace:^",
"@effect/schema": "^0.54.0",
"@effect/schema": "^0.55.0",
"effect": "2.0.0-next.61",
"happy-dom": "^12.10.3"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-bun/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"devDependencies": {
"@effect/platform": "workspace:^",
"@effect/platform-node": "workspace:^",
"@effect/schema": "^0.54.0",
"@effect/schema": "^0.55.0",
"bun-types": "^1.0.18",
"effect": "2.0.0-next.61"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
},
"devDependencies": {
"@effect/platform": "workspace:^",
"@effect/schema": "^0.54.0",
"@effect/schema": "^0.55.0",
"@types/mime": "^3.0.4",
"@types/node": "^20.10.5",
"@types/tar": "^6.1.10",
Expand Down
6 changes: 3 additions & 3 deletions packages/platform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@
"build-annotate": "babel build --plugins annotate-pure-calls --out-dir build --source-maps"
},
"dependencies": {
"find-my-way-ts": "^0.1.0",
"find-my-way-ts": "^0.1.1",
"multipasta": "^0.1.21",
"path-browserify": "^1.0.1"
},
"peerDependencies": {
"@effect/schema": "^0.54.0",
"@effect/schema": "^0.55.0",
"effect": "2.0.0-next.61"
},
"devDependencies": {
"@effect/schema": "^0.54.0",
"@effect/schema": "^0.55.0",
"@types/path-browserify": "^1.0.2",
"effect": "2.0.0-next.61"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/platform/src/Http/IncomingMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export const schemaExternalSpan = flow(
"x-b3-traceid": Schema.NonEmpty,
"x-b3-spanid": Schema.NonEmpty,
"x-b3-parentspanid": Schema.optional(Schema.NonEmpty),
"x-b3-sampled": Schema.optional(Schema.NonEmpty).withDefault(() => "1")
"x-b3-sampled": Schema.optional(Schema.NonEmpty, { default: () => "1" })
}),
SpanSchema,
(_) => ({
Expand Down
2 changes: 1 addition & 1 deletion packages/platform/src/Http/UrlParams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export const schemaJson = <I, A>(schema: Schema.Schema<I, A>): {
field: string
): Effect.Effect<never, ParseResult.ParseError, A>
} => {
const parse = Schema.parse(Schema.fromJson(schema))
const parse = Schema.parse(Schema.parseJson(schema))
return dual<
(field: string) => (self: UrlParams) => Effect.Effect<never, ParseResult.ParseError, A>,
(self: UrlParams, field: string) => Effect.Effect<never, ParseResult.ParseError, A>
Expand Down
2 changes: 1 addition & 1 deletion packages/platform/src/internal/http/multipart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const schemaJson = <I, A>(schema: Schema.Schema<I, A>): {
field: string
): Effect.Effect<never, ParseResult.ParseError, A>
} => {
const fromJson = Schema.fromJson(schema)
const fromJson = Schema.parseJson(schema)
return dual<
(
field: string
Expand Down
2 changes: 1 addition & 1 deletion packages/platform/src/internal/keyValueStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const makeSchemaStore = <I, A>(
store: KeyValueStore.KeyValueStore,
schema: Schema.Schema<I, A>
): KeyValueStore.SchemaStore<A> => {
const jsonSchema = Schema.compose(Schema.ParseJson, schema)
const jsonSchema = Schema.parseJson(schema)
const parse = Schema.parse(jsonSchema)
const encode = Schema.encode(jsonSchema)

Expand Down
Loading

0 comments on commit 15784c9

Please sign in to comment.