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

Commit

Permalink
chore: update dependencies (#396)
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart authored May 2, 2023
1 parent d802f0a commit 2d4f39d
Show file tree
Hide file tree
Showing 6 changed files with 502 additions and 435 deletions.
6 changes: 6 additions & 0 deletions .changeset/smart-masks-care.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@effect/printer-ansi": minor
"@effect/printer": minor
---

update dependencies
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
"version": "changeset version && pnpm install --no-frozen-lockfile"
},
"devDependencies": {
"@babel/cli": "^7.21.0",
"@babel/core": "^7.21.4",
"@babel/plugin-transform-modules-commonjs": "^7.21.2",
"@babel/cli": "^7.21.5",
"@babel/core": "^7.21.5",
"@babel/plugin-transform-modules-commonjs": "^7.21.5",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.1",
"@effect-ts/build-utils": "0.40.7",
Expand All @@ -37,39 +37,39 @@
"@repo-tooling/eslint-plugin-dprint": "^0.0.4",
"@rollup/pluginutils": "^5.0.2",
"@types/benchmark": "^2.1.2",
"@types/chai": "^4.3.4",
"@types/chai": "^4.3.5",
"@types/glob": "^8.1.0",
"@types/jest": "^29.5.0",
"@types/node": "^18.15.11",
"@types/jest": "^29.5.1",
"@types/node": "^18.16.3",
"@types/prettier": "2.7.2",
"@typescript-eslint/eslint-plugin": "^5.58.0",
"@typescript-eslint/parser": "^5.58.0",
"@vitejs/plugin-react": "^3.1.0",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"@vitejs/plugin-react": "^4.0.0",
"@vitest/coverage-c8": "^0.30.1",
"babel-plugin-annotate-pure-calls": "^0.4.0",
"concurrently": "^8.0.1",
"cpx": "^1.5.0",
"docs-ts": "0.6.10",
"error-stack-parser": "^2.1.4",
"eslint": "^8.38.0",
"eslint": "^8.39.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-codegen": "0.17.0",
"eslint-plugin-deprecation": "^1.4.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-sort-destructure-keys": "^1.5.0",
"fast-check": "^3.8.0",
"glob": "^10.0.0",
"fast-check": "^3.8.1",
"glob": "^10.2.2",
"madge": "^6.0.0",
"picocolors": "^1.0.0",
"prettier": "^2.8.7",
"prettier": "^2.8.8",
"rimraf": "^5.0.0",
"stackframe": "^1.3.4",
"ts-codemod": "^4.0.4",
"ts-node": "^10.9.1",
"typescript": "^5.0.4",
"ultra-runner": "^3.10.5",
"vite": "^4.2.1",
"vite": "^4.3.3",
"vitest": "0.30.1"
}
}
2 changes: 1 addition & 1 deletion packages/printer-ansi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
},
"dependencies": {
"@effect/data": "^0.12.2",
"@effect/io": "^0.20.0",
"@effect/io": "^0.25.8",
"@effect/printer": "*"
},
"config": {
Expand Down
2 changes: 1 addition & 1 deletion packages/printer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
},
"dependencies": {
"@effect/data": "^0.12.2",
"@effect/io": "^0.20.0"
"@effect/io": "^0.25.8"
},
"config": {
"side": [],
Expand Down
10 changes: 6 additions & 4 deletions packages/printer/src/internal_effect_untraced/docTree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,10 @@ const alterAnnotationsSafe = <A, B>(
)
}
case "ConcatTree": {
return Effect.map(
return pipe(
Effect.forEach(self.trees, (tree) => alterAnnotationsSafe(tree, f)),
concat
Effect.map(Chunk.unsafeFromArray),
Effect.map(concat)
)
}
}
Expand Down Expand Up @@ -259,8 +260,9 @@ const foldMapSafe = <A, M>(
return Effect.map(
Effect.forEach(self.trees, (tree) => foldMapSafe(tree, M, f)),
(trees) => {
const head = Chunk.unsafeHead(trees)
const tail = Chunk.drop(trees, 1)
const chunk = Chunk.unsafeFromArray(trees)
const head = Chunk.unsafeHead(chunk)
const tail = Chunk.drop(chunk, 1)
return Chunk.reduce(tail, head, (acc, a) => M.combine(acc, a))
}
)
Expand Down
Loading

0 comments on commit 2d4f39d

Please sign in to comment.