Skip to content

Commit

Permalink
chore: update all dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
0x706b committed Jul 21, 2024
1 parent 4cd3d9e commit e736d58
Show file tree
Hide file tree
Showing 19 changed files with 1,215 additions and 2,145 deletions.
22 changes: 22 additions & 0 deletions .changeset/gorgeous-owls-double.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
"@fncts/eslint-config": patch
"@fncts/transformers": patch
"@fncts/codegen": patch
"@fncts/express": patch
"@fncts/pattern": patch
"@fncts/scripts": patch
"@fncts/react": patch
"@fncts/base": patch
"@fncts/http": patch
"@fncts/node": patch
"@fncts/test": patch
"@fncts/cache": patch
"@fncts/config": patch
"@fncts/io": patch
"@fncts/observable": patch
"@fncts/query": patch
"@fncts/schema": patch
"@fncts/typelevel": patch
---

chore: update all dependencies
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,36 +36,36 @@
"@0x706b/eslint-plugin-align-assignments": "^0.1.2",
"@0x706b/eslint-plugin-module-specifier-extensions": "^0.1.10",
"@0x706b/prettier-eslint-8": "^0.0.3",
"@babel/cli": "^7.23.9",
"@babel/core": "7.24.0",
"@babel/cli": "^7.24.8",
"@babel/core": "7.24.9",
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
"@babel/plugin-transform-modules-commonjs": "^7.23.3",
"@babel/plugin-transform-modules-commonjs": "^7.24.8",
"@changesets/changelog-git": "^0.2.0",
"@changesets/cli": "^2.27.1",
"@eslint/compat": "^1.1.0",
"@changesets/cli": "^2.27.7",
"@eslint/compat": "^1.1.1",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "9.6.0",
"@eslint/js": "9.7.0",
"@fncts/scripts": "workspace:*",
"@tsplus/installer": "0.0.185",
"@types/benchmark": "^2.1.5",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/experimental-utils": "^5.62.0",
"@typescript-eslint/parser": "^7.14.1",
"@typescript-eslint/parser": "^7.16.1",
"@vitest/coverage-c8": "^0.33.0",
"babel-plugin-annotate-pure-calls": "^0.4.0",
"babel-plugin-replace-import-extension": "^1.1.4",
"benchmark": "^2.1.4",
"concurrently": "^8.2.2",
"eslint": "9.6.0",
"eslint": "9.7.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-simple-import-sort": "^12.1.0",
"madge": "^6.1.0",
"prettier": "^3.3.2",
"eslint-plugin-simple-import-sort": "^12.1.1",
"madge": "^7.0.0",
"prettier": "^3.3.3",
"prettier-eslint": "^16.3.0",
"prettier-eslint-cli": "^8.0.1",
"typescript": "5.5.3",
"typescript-eslint": "^7.14.1",
"vitest": "^1.3.1"
"typescript-eslint": "^7.16.1",
"vitest": "^2.0.3"
}
}
4 changes: 2 additions & 2 deletions packages/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@
},
"dependencies": {
"@fncts/typelevel": "workspace:*",
"uuid": "^9.0.1"
"uuid": "^10.0.0"
},
"devDependencies": {
"@fncts/config": "workspace:*",
"@fncts/eslint-config": "workspace:*",
"@fncts/scripts": "workspace:*",
"@types/uuid": "^9.0.8"
"@types/uuid": "^10.0.0"
}
}
11 changes: 11 additions & 0 deletions packages/base/src/collection/compat/Array/api.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
import type { Eq } from "@fncts/base/typeclass";

/**
* @tsplus static fncts.ArrayOps fromValue
*/
export function fromValue<A>(value: A): A extends Array<any> ? A : A extends ReadonlyArray<any> ? A : ReadonlyArray<A> {
if (Array.isArray(value)) {
return value as ReturnType<typeof fromValue<A>>;
} else {
return [value] as ReturnType<typeof fromValue<A>>;
}
}

/**
* @tsplus getter fncts.Array elem
* @tsplus getter fncts.ReadonlyArray elem
Expand Down
2 changes: 1 addition & 1 deletion packages/base/test/conc.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
suite.concurrent("Conc", () => {
suite.concurrent("Conc", { timeout: (20).seconds.milliseconds }, () => {
suite.concurrent("length", () => {
test("concatenated size must match length", () => {
const conc = Conc.empty<number>()
Expand Down
20 changes: 10 additions & 10 deletions packages/codegen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,27 +26,27 @@
},
"devDependencies": {
"@0x706b/eslint-plugin-align-assignments": "^0.1.2",
"@babel/generator": "^7.23.6",
"@babel/parser": "^7.24.0",
"@babel/generator": "^7.24.10",
"@babel/parser": "^7.24.8",
"@fncts/scripts": "workspace:*",
"@types/babel__generator": "^7.6.8",
"@types/benchmark": "^2.1.5",
"@types/glob": "^8.1.0",
"@types/js-yaml": "^4",
"@types/lodash": "^4.14.202",
"@types/js-yaml": "^4.0.9",
"@types/lodash": "^4.17.7",
"@types/prettier": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/experimental-utils": "^5.62.0",
"@typescript-eslint/parser": "^7.14.1",
"@typescript-eslint/parser": "^7.16.1",
"benchmark": "^2.1.4",
"eslint": "^9.6.0",
"eslint": "^9.7.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-simple-import-sort": "^12.1.0",
"prettier": "^3.3.2"
"eslint-plugin-simple-import-sort": "^12.1.1",
"prettier": "^3.3.3"
},
"dependencies": {
"glob": "^10.3.10",
"glob": "^11.0.0",
"io-ts-extra": "^0.11.6",
"js-yaml": "^4.1.0",
"lodash": "^4.17.21"
Expand Down
12 changes: 6 additions & 6 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@
"@0x706b/eslint-plugin-align-assignments": "^0.1.2",
"@0x706b/eslint-plugin-module-specifier-extensions": "^0.1.10",
"@fncts/codegen": "workspace:*",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/experimental-utils": "^5.62.0",
"@typescript-eslint/parser": "^7.14.1",
"@typescript-eslint/parser": "^7.16.1",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-simple-import-sort": "^12.1.0"
"eslint-plugin-simple-import-sort": "^12.1.1"
},
"peerDependencies": {
"eslint": "^9.6.0"
},
"devDependencies": {
"@eslint/compat": "^1.1.0",
"@eslint/compat": "^1.1.1",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.6.0",
"@eslint/js": "^9.7.0",
"@fncts/config": "workspace:*",
"@types/eslint__js": "^8.42.3",
"typescript-eslint": "^7.14.1"
"typescript-eslint": "^7.16.1"
},
"exports": {
".": {
Expand Down
4 changes: 2 additions & 2 deletions packages/express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@fncts/eslint-config": "workspace:*",
"@fncts/scripts": "workspace:*",
"@types/express": "^4.17.21",
"@types/node": "^20.11.25",
"express": "^4.18.3"
"@types/node": "^20.14.11",
"express": "^4.19.2"
}
}
10 changes: 5 additions & 5 deletions packages/http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@
"@fncts/io": "workspace:*",
"@fncts/schema": "workspace:*",
"@fncts/typelevel": "workspace:*",
"find-my-way": "^8.1.0",
"find-my-way-ts": "^0.1.1",
"find-my-way": "^8.2.0",
"find-my-way-ts": "^0.1.5",
"isows": "^1.0.4",
"uuid": "^9.0.1"
"uuid": "^10.0.0"
},
"devDependencies": {
"@fncts/config": "workspace:*",
"@fncts/eslint-config": "workspace:*",
"@fncts/scripts": "workspace:*",
"@types/react": "^18.2.64",
"@types/uuid": "^9.0.8"
"@types/react": "^18.3.3",
"@types/uuid": "^10.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/http/src/Route/definition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export abstract class RouteContext {
readonly [RouteContextTypeId]: RouteContextTypeId = RouteContextTypeId;
abstract readonly route: Route<unknown, unknown>;
abstract readonly params: Readonly<Record<string, string | undefined>>;
abstract readonly searchParams: Readonly<Record<string, string>>;
abstract readonly searchParams: Readonly<Record<string, string | ReadonlyArray<string>>>;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/http/src/Route/internal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class RouteContextImpl extends RouteContext {
constructor(
readonly route: Route<unknown, unknown>,
readonly params: Readonly<Record<string, string | undefined>>,
readonly searchParams: Readonly<Record<string, string>>,
readonly searchParams: Readonly<Record<string, string | ReadonlyArray<string>>>,
) {
super();
}
Expand Down
4 changes: 2 additions & 2 deletions packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
},
"dependencies": {
"@fncts/io": "workspace:*",
"ws": "^8.17.0"
"ws": "^8.18.0"
},
"devDependencies": {
"@fncts/config": "workspace:*",
"@fncts/eslint-config": "workspace:*",
"@fncts/scripts": "workspace:*",
"@types/ws": "^8"
"@types/ws": "^8.5.11"
}
}
2 changes: 1 addition & 1 deletion packages/pattern/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"clean": "rm -rf ./build ./dist"
},
"dependencies": {
"ts-pattern": "^5.0.8"
"ts-pattern": "^5.2.0"
},
"devDependencies": {
"@fncts/config": "workspace:*",
Expand Down
10 changes: 5 additions & 5 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@fncts/base": "workspace:*",
"@fncts/io": "workspace:*",
"@fncts/typelevel": "workspace:*",
"uuid": "^9.0.1"
"uuid": "^10.0.0"
},
"peerDependencies": {
"@types/react": "^18.0.26",
Expand All @@ -42,9 +42,9 @@
"@fncts/config": "workspace:*",
"@fncts/eslint-config": "workspace:*",
"@fncts/scripts": "workspace:*",
"@types/react": "^18.2.64",
"@types/uuid": "^9.0.8",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"@types/react": "^18.3.3",
"@types/uuid": "^10.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
}
10 changes: 5 additions & 5 deletions packages/scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
},
"devDependencies": {
"@babel/plugin-syntax-class-properties": "^7.12.13",
"@babel/plugin-syntax-typescript": "^7.23.3",
"@babel/types": "^7.24.0",
"@babel/plugin-syntax-typescript": "^7.24.7",
"@babel/types": "^7.24.9",
"@types/babel__core": "^7.20.5",
"@yarnpkg/cli": "4.1.1",
"@yarnpkg/core": "4.0.3",
"recast": "^0.23.6"
"@yarnpkg/cli": "4.3.1",
"@yarnpkg/core": "4.1.1",
"recast": "^0.23.9"
}
}
4 changes: 0 additions & 4 deletions packages/scripts/src/pack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ async function getPackageJson() {
return JSON.parse(content);
}

const DEPENDENCY_TYPE = ["dependencies", "peerDependencies"];

const WORKSPACE_PROTOCOL = "workspace:";

async function writePackageJson(project: Project, workspace: Workspace, mode: "cjs" | "mjs" | "both" = "both") {
const originalManifest = await getPackageJson();
const rawManifest: any = {};
Expand Down
2 changes: 1 addition & 1 deletion packages/test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@fncts/config": "workspace:*",
"@fncts/eslint-config": "workspace:*",
"@fncts/scripts": "workspace:*",
"vitest": "^1.3.1"
"vitest": "^2.0.3"
},
"peerDependencies": {
"vitest": "^0.30.1"
Expand Down
4 changes: 2 additions & 2 deletions packages/transformers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
"clean": "rm -rf ./build ./dist"
},
"dependencies": {
"uuid": "^9.0.1"
"uuid": "^10.0.0"
},
"devDependencies": {
"@fncts/config": "workspace:*",
"@fncts/eslint-config": "workspace:*",
"@fncts/scripts": "workspace:*",
"@types/uuid": "^9.0.8"
"@types/uuid": "^10.0.0"
}
}
Loading

0 comments on commit e736d58

Please sign in to comment.