Skip to content

Commit

Permalink
fix(deps): updating a lot of deps
Browse files Browse the repository at this point in the history
  • Loading branch information
saiichihashimoto committed Nov 1, 2024
1 parent 044fb17 commit 980b408
Show file tree
Hide file tree
Showing 23 changed files with 1,761 additions and 1,342 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@
"unicorn/prefer-at": "error",
"unicorn/prefer-json-parse-buffer": "error",
"unicorn/prefer-node-protocol": "off",
"unicorn/prefer-string-raw": "off",
"unicorn/prefer-string-replace-all": "error",
"unicorn/prevent-abbreviations": "off",
"unicorn/require-array-join-separator": "off"
Expand Down
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged --shell --verbose
3 changes: 0 additions & 3 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

zero=$(git hash-object --stdin < /dev/null | tr '[0-9a-f]' '0')

while read local_ref local_oid remote_ref remote_oid; do
Expand Down
3 changes: 0 additions & 3 deletions .husky/pre-rebase
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

exit 1
2,947 changes: 1,687 additions & 1,260 deletions package-lock.json

Large diffs are not rendered by default.

44 changes: 22 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,51 +21,51 @@
"test": "jest --color --cache"
},
"dependencies": {
"@cspell/eslint-plugin": "8.3.2",
"@eslint-community/eslint-plugin-eslint-comments": "4.4.0",
"@cspell/eslint-plugin": "8.15.5",
"@eslint-community/eslint-plugin-eslint-comments": "4.4.1",
"@jest/types": "29.6.3",
"@standard-configs/prettier-plugin": "1.0.12",
"@total-typescript/ts-reset": "0.5.1",
"@total-typescript/ts-reset": "0.6.1",
"@trivago/prettier-plugin-sort-imports": "4.3.0",
"@types/jest": "29.5.11",
"@types/jest": "29.5.14",
"@types/lint-staged": "13.3.0",
"@types/lodash": "4.14.202",
"@types/react-dom": "18.2.18",
"@types/lodash": "4.17.13",
"@types/react-dom": "18.3.1",
"@typescript-eslint/eslint-plugin": "6.19.1",
"concurrently": "8.2.2",
"concurrently": "9.0.1",
"cross-env": "7.0.3",
"eslint": "8.56.0",
"eslint": "8.57.1",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-import-resolver-typescript": "3.6.3",
"eslint-plugin-fp": "2.3.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jest": "27.6.3",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jest": "28.8.3",
"eslint-plugin-jest-formatting": "3.1.0",
"eslint-plugin-lodash-fp": "2.2.0-a1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prefer-arrow": "1.2.3",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-typescript-sort-keys": "3.1.0",
"eslint-plugin-unicorn": "50.0.1",
"husky": "8.0.3",
"eslint-plugin-promise": "7.1.0",
"eslint-plugin-react": "7.37.2",
"eslint-plugin-react-hooks": "4.6.2",
"eslint-plugin-typescript-sort-keys": "3.3.0",
"eslint-plugin-unicorn": "56.0.0",
"husky": "9.1.6",
"imagemin-lint-staged": "0.5.1",
"is-ci": "3.0.1",
"jest": "29.7.0",
"lint-staged": "15.2.0",
"lint-staged": "15.2.10",
"multi-semantic-release": "3.0.2",
"prettier": "2.8.8",
"prettier-plugin-sh": "0.12.8",
"ts-jest": "29.1.2",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"tsup": "8.3.5",
"turbo": "2.2.0",
"type-fest": "4.10.1",
"turbo": "2.2.3",
"type-fest": "4.26.1",
"typescript": "5.6.3"
},
"packageManager": "npm@10.8.2",
"packageManager": "npm@10.9.0",
"engines": {
"node": "^18.17.0 || ^20.18.0"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/client-mock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
"dev": "npm run build -- --no-clean"
},
"dependencies": {
"@faker-js/faker": "8.4.0",
"@faker-js/faker": "9.1.0",
"@sanity-typed/client": "0.0.0-development",
"@sanity-typed/groq-js": "0.0.0-development",
"@sanity-typed/types": "0.0.0-development",
"@sanity/diff-match-patch": "3.1.1",
"lodash": "4.17.21",
"type-fest": "4.10.1"
"type-fest": "4.26.1"
},
"devDependencies": {
"@jest/globals": "29.7.0",
Expand Down
58 changes: 29 additions & 29 deletions packages/client-mock/src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,8 @@ describe("createClient", () => {
>();
expect(result).toStrictEqual({
_createdAt: "2023-10-05T06:14:01.293Z",
_id: "89bd9d8d-69a6-474e-80f4-67cc8796ed15",
_rev: "E1mPXM8RRYtNNswMG7IDA8",
_id: "8b986a7e-f6c8-49e1-910d-cdfc7c1a2f86",
_rev: "Msz1CBCWGmrH3FFd7jmzrZ",
_type: "foo",
_updatedAt: "2023-10-05T06:14:01.293Z",
foo: "foo",
Expand Down Expand Up @@ -422,7 +422,7 @@ describe("createClient", () => {
expect(result).toStrictEqual({
_createdAt: "2023-10-05T06:14:01.293Z",
_id: "id",
_rev: "yAIQBRxQqCEnriT3XgntNO",
_rev: "yIBxqErTXnNwzV451PMRYN",
_type: "foo",
_updatedAt: "2023-10-05T06:14:01.293Z",
foo: "foo",
Expand Down Expand Up @@ -577,7 +577,7 @@ describe("createClient", () => {
expect(result).toStrictEqual({
_createdAt: "_createdAt",
_id: "id",
_rev: "yAIQBRxQqCEnriT3XgntNO",
_rev: "yIBxqErTXnNwzV451PMRYN",
_type: "foo",
_updatedAt: "2023-10-05T06:14:01.293Z",
foo: "bar",
Expand Down Expand Up @@ -617,7 +617,7 @@ describe("createClient", () => {
expect(result).toStrictEqual({
_createdAt: "_createdAt",
_id: "id",
_rev: "yAIQBRxQqCEnriT3XgntNO",
_rev: "yIBxqErTXnNwzV451PMRYN",
_type: "foo",
_updatedAt: "2023-10-05T06:14:01.293Z",
foo: "bar",
Expand Down Expand Up @@ -660,7 +660,7 @@ describe("createClient", () => {
expect(result).toStrictEqual({
_createdAt: "_createdAt",
_id: "id",
_rev: "yAIQBRxQqCEnriT3XgntNO",
_rev: "yIBxqErTXnNwzV451PMRYN",
_type: "foo",
_updatedAt: "2023-10-05T06:14:01.293Z",
foo: "foo",
Expand Down Expand Up @@ -700,7 +700,7 @@ describe("createClient", () => {
expect(result).toStrictEqual({
_createdAt: "_createdAt",
_id: "id",
_rev: "yAIQBRxQqCEnriT3XgntNO",
_rev: "yIBxqErTXnNwzV451PMRYN",
_type: "foo",
_updatedAt: "2023-10-05T06:14:01.293Z",
foo: "foo",
Expand Down Expand Up @@ -743,7 +743,7 @@ describe("createClient", () => {
expect(result).toStrictEqual({
_createdAt: "_createdAt",
_id: "id",
_rev: "yAIQBRxQqCEnriT3XgntNO",
_rev: "yIBxqErTXnNwzV451PMRYN",
_type: "foo",
_updatedAt: "2023-10-05T06:14:01.293Z",
foo: "bar",
Expand Down Expand Up @@ -785,7 +785,7 @@ describe("createClient", () => {
expect(result).toStrictEqual({
_createdAt: "_createdAt",
_id: "id",
_rev: "yAIQBRxQqCEnriT3XgntNO",
_rev: "yIBxqErTXnNwzV451PMRYN",
_type: "foo",
_updatedAt: "2023-10-05T06:14:01.293Z",
foo: "bar",
Expand Down Expand Up @@ -828,7 +828,7 @@ describe("createClient", () => {
expect(result).toStrictEqual({
_createdAt: "_createdAt",
_id: "id",
_rev: "yAIQBRxQqCEnriT3XgntNO",
_rev: "yIBxqErTXnNwzV451PMRYN",
_type: "foo",
_updatedAt: "2023-10-05T06:14:01.293Z",
});
Expand Down Expand Up @@ -867,7 +867,7 @@ describe("createClient", () => {
expect(result).toStrictEqual({
_createdAt: "_createdAt",
_id: "id",
_rev: "yAIQBRxQqCEnriT3XgntNO",
_rev: "yIBxqErTXnNwzV451PMRYN",
_type: "foo",
_updatedAt: "2023-10-05T06:14:01.293Z",
});
Expand Down Expand Up @@ -909,7 +909,7 @@ describe("createClient", () => {
expect(result).toStrictEqual({
_createdAt: "_createdAt",
_id: "id",
_rev: "yAIQBRxQqCEnriT3XgntNO",
_rev: "yIBxqErTXnNwzV451PMRYN",
_type: "foo",
_updatedAt: "2023-10-05T06:14:01.293Z",
foo: 4,
Expand Down Expand Up @@ -949,7 +949,7 @@ describe("createClient", () => {
expect(result).toStrictEqual({
_createdAt: "_createdAt",
_id: "id",
_rev: "yAIQBRxQqCEnriT3XgntNO",
_rev: "yIBxqErTXnNwzV451PMRYN",
_type: "foo",
_updatedAt: "2023-10-05T06:14:01.293Z",
foo: 4,
Expand Down Expand Up @@ -992,7 +992,7 @@ describe("createClient", () => {
expect(result).toStrictEqual({
_createdAt: "_createdAt",
_id: "id",
_rev: "yAIQBRxQqCEnriT3XgntNO",
_rev: "yIBxqErTXnNwzV451PMRYN",
_type: "foo",
_updatedAt: "2023-10-05T06:14:01.293Z",
foo: 2,
Expand Down Expand Up @@ -1032,7 +1032,7 @@ describe("createClient", () => {
expect(result).toStrictEqual({
_createdAt: "_createdAt",
_id: "id",
_rev: "yAIQBRxQqCEnriT3XgntNO",
_rev: "yIBxqErTXnNwzV451PMRYN",
_type: "foo",
_updatedAt: "2023-10-05T06:14:01.293Z",
foo: 2,
Expand Down Expand Up @@ -1126,8 +1126,8 @@ describe("createClient", () => {
>();
expect(result).toStrictEqual({
_createdAt: "2023-10-05T06:14:01.293Z",
_id: "89bd9d8d-69a6-474e-80f4-67cc8796ed15",
_rev: "E1mPXM8RRYtNNswMG7IDA8",
_id: "8b986a7e-f6c8-49e1-910d-cdfc7c1a2f86",
_rev: "Msz1CBCWGmrH3FFd7jmzrZ",
_type: "foo",
_updatedAt: "2023-10-05T06:14:01.293Z",
foo: "foo",
Expand All @@ -1149,8 +1149,8 @@ describe("createClient", () => {
>();
expect(result).toStrictEqual({
_createdAt: "2023-10-05T06:14:01.293Z",
_id: "89bd9d8d-69a6-474e-80f4-67cc8796ed15",
_rev: "E1mPXM8RRYtNNswMG7IDA8",
_id: "8b986a7e-f6c8-49e1-910d-cdfc7c1a2f86",
_rev: "Msz1CBCWGmrH3FFd7jmzrZ",
_type: "foo",
_updatedAt: "2023-10-05T06:14:01.293Z",
foo: "foo",
Expand Down Expand Up @@ -1185,7 +1185,7 @@ describe("createClient", () => {
expect(result).toStrictEqual({
_createdAt: "2023-10-05T06:14:01.293Z",
_id: "id",
_rev: "yAIQBRxQqCEnriT3XgntNO",
_rev: "yIBxqErTXnNwzV451PMRYN",
_type: "foo",
_updatedAt: "2023-10-05T06:14:01.293Z",
foo: "foo",
Expand Down Expand Up @@ -1219,7 +1219,7 @@ describe("createClient", () => {
expect(result).toStrictEqual({
_createdAt: "2023-10-05T06:14:01.293Z",
_id: "id",
_rev: "yAIQBRxQqCEnriT3XgntNO",
_rev: "yIBxqErTXnNwzV451PMRYN",
_type: "foo",
_updatedAt: "2023-10-05T06:14:01.293Z",
foo: "foo",
Expand Down Expand Up @@ -1404,7 +1404,7 @@ describe("createClient", () => {
expect(result).toStrictEqual({
_createdAt: "_createdAt",
_id: "id",
_rev: "yAIQBRxQqCEnriT3XgntNO",
_rev: "yIBxqErTXnNwzV451PMRYN",
_type: "foo",
_updatedAt: "2023-10-05T06:14:01.293Z",
foo: "bar",
Expand Down Expand Up @@ -1445,7 +1445,7 @@ describe("createClient", () => {
expect(result).toStrictEqual({
_createdAt: "_createdAt",
_id: "id",
_rev: "yAIQBRxQqCEnriT3XgntNO",
_rev: "yIBxqErTXnNwzV451PMRYN",
_type: "foo",
_updatedAt: "2023-10-05T06:14:01.293Z",
foo: "bar",
Expand Down Expand Up @@ -1486,7 +1486,7 @@ describe("createClient", () => {
expect(result).toStrictEqual({
_createdAt: "_createdAt",
_id: "id",
_rev: "yAIQBRxQqCEnriT3XgntNO",
_rev: "yIBxqErTXnNwzV451PMRYN",
_type: "foo",
_updatedAt: "2023-10-05T06:14:01.293Z",
foo: "bar",
Expand Down Expand Up @@ -1549,8 +1549,8 @@ describe("createClient", () => {
>();
expect(result).toStrictEqual({
_createdAt: "2023-10-05T06:14:01.293Z",
_id: "89bd9d8d-69a6-474e-80f4-67cc8796ed15",
_rev: "E1mPXM8RRYtNNswMG7IDA8",
_id: "8b986a7e-f6c8-49e1-910d-cdfc7c1a2f86",
_rev: "Msz1CBCWGmrH3FFd7jmzrZ",
_type: "foo",
_updatedAt: "2023-10-05T06:14:01.293Z",
foo: "foo",
Expand Down Expand Up @@ -1588,7 +1588,7 @@ describe("createClient", () => {
expect(result).toStrictEqual({
_createdAt: "_createdAt",
_id: "id",
_rev: "yAIQBRxQqCEnriT3XgntNO",
_rev: "yIBxqErTXnNwzV451PMRYN",
_type: "foo",
_updatedAt: "2023-10-05T06:14:01.293Z",
foo: "bar",
Expand All @@ -1608,8 +1608,8 @@ describe("createClient", () => {
>();
expect(result).toStrictEqual({
_createdAt: "2023-10-05T06:14:01.293Z",
_id: "89bd9d8d-69a6-474e-80f4-67cc8796ed15",
_rev: "E1mPXM8RRYtNNswMG7IDA8",
_id: "8b986a7e-f6c8-49e1-910d-cdfc7c1a2f86",
_rev: "Msz1CBCWGmrH3FFd7jmzrZ",
_type: "foo",
_updatedAt: "2023-10-05T06:14:01.293Z",
foo: "foo",
Expand Down
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@sanity-typed/groq": "0.0.0-development",
"@sanity-typed/types": "0.0.0-development",
"lodash": "4.17.21",
"type-fest": "4.10.1"
"type-fest": "4.26.1"
},
"devDependencies": {
"@jest/globals": "29.7.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/example-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"dev": "next dev"
},
"dependencies": {
"@faker-js/faker": "8.4.0",
"@faker-js/faker": "9.1.0",
"@portabletext-typed/react": "0.0.0-development",
"@portabletext-typed/to-html": "0.0.0-development",
"@sanity-typed/client": "0.0.0-development",
Expand Down
4 changes: 2 additions & 2 deletions packages/faker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@
"fast-json-stable-stringify": "2.1.0",
"lodash": "4.17.21",
"randexp": "0.5.3",
"type-fest": "4.10.1"
"type-fest": "4.26.1"
},
"devDependencies": {
"@faker-js/faker": "8.4.0",
"@faker-js/faker": "9.1.0",
"@jest/globals": "29.7.0",
"@saiichihashimoto/test-utils": "1.1.0",
"@sanity-typed/traverse-validation": "0.0.0-development",
Expand Down
2 changes: 1 addition & 1 deletion packages/faker/src/internal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2450,7 +2450,7 @@ const assetFaker = (faker: Faker, mimeTypePrefix?: string) => {
const mimeType = !mimeTypePrefix
? faker.system.mimeType()
: faker.helpers.arrayElement(
Object.keys(faker.definitions.system.mimeTypes).filter((mimeType) =>
Object.keys(faker.definitions.system.mime_type).filter((mimeType) =>
mimeType.startsWith(mimeTypePrefix)
)
);
Expand Down
4 changes: 2 additions & 2 deletions packages/groq-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@
},
"dependencies": {
"@sanity-typed/groq": "0.0.0-development",
"type-fest": "4.10.1"
"type-fest": "4.26.1"
},
"devDependencies": {
"@jest/globals": "29.7.0",
"@saiichihashimoto/test-utils": "1.1.0",
"@sanity-typed/tsconfig": "0.0.0-development",
"groq-js": "1.4.1"
"groq-js": "1.13.0"
},
"peerDependencies": {
"groq-js": "^1.3.0",
Expand Down
Loading

0 comments on commit 980b408

Please sign in to comment.