Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Commit

Permalink
update effect (#561)
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart authored Nov 14, 2023
1 parent c383d42 commit ec63224
Show file tree
Hide file tree
Showing 5 changed files with 229 additions and 169 deletions.
5 changes: 5 additions & 0 deletions .changeset/lazy-books-smash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@effect/schema": minor
---

update effect
9 changes: 6 additions & 3 deletions docs/modules/Schema.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -996,8 +996,8 @@ Clamps a bigint between a minimum and a maximum value.
```ts
export declare const clampBigint: (
min: bigint,
max: bigint
minimum: bigint,
maximum: bigint
) => <I, A extends bigint>(self: Schema<I, A>) => Schema<I, A>
```
Expand Down Expand Up @@ -2102,7 +2102,10 @@ Clamps a number between a minimum and a maximum value.
**Signature**

```ts
export declare const clamp: (min: number, max: number) => <I, A extends number>(self: Schema<I, A>) => Schema<I, A>
export declare const clamp: (
minimum: number,
maximum: number
) => <I, A extends number>(self: Schema<I, A>) => Schema<I, A>
```

Added in v1.0.0
Expand Down
26 changes: 16 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,30 +48,30 @@
"coverage": "vitest run --coverage"
},
"peerDependencies": {
"effect": "2.0.0-next.54",
"effect": "2.0.0-next.55",
"fast-check": "^3.13.2"
},
"devDependencies": {
"@babel/cli": "^7.23.0",
"@babel/core": "^7.23.0",
"@babel/plugin-transform-export-namespace-from": "^7.22.11",
"@babel/plugin-transform-modules-commonjs": "^7.23.0",
"@babel/core": "^7.23.3",
"@babel/plugin-transform-export-namespace-from": "^7.23.3",
"@babel/plugin-transform-modules-commonjs": "^7.23.3",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.2",
"@effect/build-utils": "^0.3.0",
"@effect/build-utils": "^0.4.1",
"@effect/docgen": "^0.3.2",
"@effect/dtslint": "^0.0.3",
"@effect/eslint-plugin": "^0.1.2",
"@effect/language-service": "^0.0.21",
"@types/benchmark": "^2.1.5",
"@types/node": "^20.9.0",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"@vitest/coverage-v8": "^0.34.6",
"ajv": "^8.12.0",
"babel-plugin-annotate-pure-calls": "^0.4.0",
"benchmark": "^2.1.4",
"effect": "2.0.0-next.54",
"effect": "2.0.0-next.55",
"eslint": "^8.53.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-codegen": "^0.18.1",
Expand All @@ -81,11 +81,17 @@
"eslint-plugin-sort-destructure-keys": "^1.5.0",
"fast-check": "^3.13.2",
"madge": "^6.1.0",
"prettier": "^3.0.3",
"tsx": "^4.1.1",
"prettier": "^3.1.0",
"rimraf": "^5.0.5",
"tsx": "^4.1.2",
"typescript": "^5.2.2",
"vite": "^4.5.0",
"vitest": "^0.34.6",
"zod": "^3.22.4"
},
"pnpm": {
"overrides": {
"effect": "2.0.0-next.55"
}
}
}
Loading

0 comments on commit ec63224

Please sign in to comment.