From ba3bf79bc4abfca893255ac999807e09659b04e9 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 27 Mar 2020 22:29:12 +0000 Subject: [PATCH 01/40] Update babel monorepo --- package.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index e2d06a47..a0723392 100644 --- a/package.json +++ b/package.json @@ -36,13 +36,13 @@ "postbump": "yarn build:packages" }, "devDependencies": { - "@babel/core": "7.8.6", + "@babel/core": "7.9.0", "@babel/plugin-proposal-class-properties": "7.8.3", - "@babel/plugin-proposal-object-rest-spread": "7.8.3", - "@babel/plugin-transform-runtime": "7.8.3", - "@babel/preset-env": "7.8.7", - "@babel/preset-react": "7.8.3", - "@babel/preset-typescript": "7.8.3", + "@babel/plugin-proposal-object-rest-spread": "7.9.0", + "@babel/plugin-transform-runtime": "7.9.0", + "@babel/preset-env": "7.9.0", + "@babel/preset-react": "7.9.4", + "@babel/preset-typescript": "7.9.0", "@pika/pack": "0.5.0", "@pika/plugin-build-node": "0.9.2", "@pika/plugin-build-types": "0.9.2", @@ -58,7 +58,7 @@ "@typescript-eslint/parser": "2.22.0", "babel-eslint": "10.1.0", "babel-jest": "24.9.0", - "babel-loader": "8.0.6", + "babel-loader": "8.1.0", "copyfiles": "2.2.0", "eslint": "6.8.0", "eslint-config-prettier": "6.10.0", From 024b866530d85918b57214b79c2f6a7cc7654f87 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 27 Mar 2020 23:41:50 +0000 Subject: [PATCH 02/40] Update dependency @storybook/react to v5.3.17 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a0723392..7a0ee49c 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@pika/plugin-bundle-types": "0.9.2", "@pika/plugin-standard-pkg": "0.9.2", "@pika/plugin-ts-standard-pkg": "0.9.2", - "@storybook/react": "5.3.14", + "@storybook/react": "5.3.17", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.1", "@typescript-eslint/eslint-plugin": "2.22.0", From 9227af38739b8481eb6ea4676a8cd3965e025be0 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 28 Mar 2020 00:50:49 +0000 Subject: [PATCH 03/40] Update dependency @testing-library/react to v9.5.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7a0ee49c..9e1f0c66 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "@pika/plugin-ts-standard-pkg": "0.9.2", "@storybook/react": "5.3.17", "@testing-library/jest-dom": "4.2.4", - "@testing-library/react": "9.4.1", + "@testing-library/react": "9.5.0", "@typescript-eslint/eslint-plugin": "2.22.0", "@typescript-eslint/parser": "2.22.0", "babel-eslint": "10.1.0", From 1906e5756d665d7c868780505c342fa419c9de86 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 28 Mar 2020 01:31:08 +0000 Subject: [PATCH 04/40] Update dependency eslint-config-prettier to v6.10.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9e1f0c66..79871ade 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "babel-loader": "8.1.0", "copyfiles": "2.2.0", "eslint": "6.8.0", - "eslint-config-prettier": "6.10.0", + "eslint-config-prettier": "6.10.1", "eslint-plugin-jest": "23.8.1", "eslint-plugin-prettier": "3.1.2", "eslint-plugin-promise": "4.2.1", From 35bf1e603a7664bfbca0d4532642426b6c944f6b Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 28 Mar 2020 01:58:20 +0000 Subject: [PATCH 05/40] Update dependency eslint-plugin-jest to v23.8.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 79871ade..8087bc0e 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "copyfiles": "2.2.0", "eslint": "6.8.0", "eslint-config-prettier": "6.10.1", - "eslint-plugin-jest": "23.8.1", + "eslint-plugin-jest": "23.8.2", "eslint-plugin-prettier": "3.1.2", "eslint-plugin-promise": "4.2.1", "eslint-plugin-react": "7.18.3", From 7a67598734d709974e86dd09b68a7e2ca0d3b1fc Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 28 Mar 2020 02:48:01 +0000 Subject: [PATCH 06/40] Update dependency eslint-plugin-react to v7.19.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8087bc0e..157ce0e9 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "eslint-plugin-jest": "23.8.2", "eslint-plugin-prettier": "3.1.2", "eslint-plugin-promise": "4.2.1", - "eslint-plugin-react": "7.18.3", + "eslint-plugin-react": "7.19.0", "eslint-plugin-react-hooks": "2.5.0", "jest": "24.9.0", "lerna": "3.20.2", From 4d2e4dfbb143e5f38a67f6781c4467bc104c0264 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 28 Mar 2020 03:32:25 +0000 Subject: [PATCH 07/40] Update react monorepo --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 157ce0e9..ed441ae9 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "eslint-plugin-prettier": "3.1.2", "eslint-plugin-promise": "4.2.1", "eslint-plugin-react": "7.19.0", - "eslint-plugin-react-hooks": "2.5.0", + "eslint-plugin-react-hooks": "2.5.1", "jest": "24.9.0", "lerna": "3.20.2", "node-jq": "1.11.0", @@ -74,9 +74,9 @@ "npm-run-all": "4.1.5", "prettier": "1.19.1", "prop-types": "15.7.2", - "react": "16.13.0", + "react": "16.13.1", "react-async": "10.0.0-alpha.0", - "react-dom": "16.13.0", + "react-dom": "16.13.1", "storybook-chromatic": "3.5.2", "typescript": "3.8.3" }, From fae95e09d1938464c0034f4447b964015e69d4a4 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 28 Mar 2020 06:00:39 +0000 Subject: [PATCH 08/40] Update typescript-eslint monorepo to v2.25.0 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ed441ae9..855cae2d 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,8 @@ "@storybook/react": "5.3.17", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.5.0", - "@typescript-eslint/eslint-plugin": "2.22.0", - "@typescript-eslint/parser": "2.22.0", + "@typescript-eslint/eslint-plugin": "2.25.0", + "@typescript-eslint/parser": "2.25.0", "babel-eslint": "10.1.0", "babel-jest": "24.9.0", "babel-loader": "8.1.0", From 5573b7f47236ccf7e124d512a6acc9e42d245d62 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 30 Mar 2020 17:47:06 +0000 Subject: [PATCH 09/40] Update typescript-eslint monorepo to v2.26.0 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 855cae2d..a975843c 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,8 @@ "@storybook/react": "5.3.17", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.5.0", - "@typescript-eslint/eslint-plugin": "2.25.0", - "@typescript-eslint/parser": "2.25.0", + "@typescript-eslint/eslint-plugin": "2.26.0", + "@typescript-eslint/parser": "2.26.0", "babel-eslint": "10.1.0", "babel-jest": "24.9.0", "babel-loader": "8.1.0", From 6877c7e748b5fffd1f8a16ee89cd49153fac4911 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 31 Mar 2020 13:51:49 +0000 Subject: [PATCH 10/40] Update dependency @storybook/react to v5.3.18 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a975843c..ca33551a 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@pika/plugin-bundle-types": "0.9.2", "@pika/plugin-standard-pkg": "0.9.2", "@pika/plugin-ts-standard-pkg": "0.9.2", - "@storybook/react": "5.3.17", + "@storybook/react": "5.3.18", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.5.0", "@typescript-eslint/eslint-plugin": "2.26.0", From 3f312b6b6bc675d197d9e8cc95bccf7b857015a0 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 6 Apr 2020 17:15:16 +0000 Subject: [PATCH 11/40] Update typescript-eslint monorepo to v2.27.0 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ca33551a..e5d2206f 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,8 @@ "@storybook/react": "5.3.18", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.5.0", - "@typescript-eslint/eslint-plugin": "2.26.0", - "@typescript-eslint/parser": "2.26.0", + "@typescript-eslint/eslint-plugin": "2.27.0", + "@typescript-eslint/parser": "2.27.0", "babel-eslint": "10.1.0", "babel-jest": "24.9.0", "babel-loader": "8.1.0", From d46018a3052e752aae7abd6c6b29ed7261f9f67f Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 7 Apr 2020 19:41:19 +0000 Subject: [PATCH 12/40] Update babel monorepo to v7.9.5 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e5d2206f..2616163d 100644 --- a/package.json +++ b/package.json @@ -38,9 +38,9 @@ "devDependencies": { "@babel/core": "7.9.0", "@babel/plugin-proposal-class-properties": "7.8.3", - "@babel/plugin-proposal-object-rest-spread": "7.9.0", + "@babel/plugin-proposal-object-rest-spread": "7.9.5", "@babel/plugin-transform-runtime": "7.9.0", - "@babel/preset-env": "7.9.0", + "@babel/preset-env": "7.9.5", "@babel/preset-react": "7.9.4", "@babel/preset-typescript": "7.9.0", "@pika/pack": "0.5.0", From 1f59f243ecdb052cc1cd157614d72ae2716e699d Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 13 Apr 2020 01:33:59 +0000 Subject: [PATCH 13/40] Update dependency eslint-plugin-prettier to v3.1.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2616163d..4056c067 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "eslint": "6.8.0", "eslint-config-prettier": "6.10.1", "eslint-plugin-jest": "23.8.2", - "eslint-plugin-prettier": "3.1.2", + "eslint-plugin-prettier": "3.1.3", "eslint-plugin-promise": "4.2.1", "eslint-plugin-react": "7.19.0", "eslint-plugin-react-hooks": "2.5.1", From 0654544ba83d3afea0d18ed52cda16b3a685cda8 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 13 Apr 2020 17:14:58 +0000 Subject: [PATCH 14/40] Update typescript-eslint monorepo to v2.28.0 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 4056c067..f6d34870 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,8 @@ "@storybook/react": "5.3.18", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.5.0", - "@typescript-eslint/eslint-plugin": "2.27.0", - "@typescript-eslint/parser": "2.27.0", + "@typescript-eslint/eslint-plugin": "2.28.0", + "@typescript-eslint/parser": "2.28.0", "babel-eslint": "10.1.0", "babel-jest": "24.9.0", "babel-loader": "8.1.0", From d00b61b92fc17d94c358f2e8e26201919b89cdc3 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 14 Apr 2020 01:46:42 +0000 Subject: [PATCH 15/40] Update dependency storybook-chromatic to v3.5.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f6d34870..1e9724fd 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "react": "16.13.1", "react-async": "10.0.0-alpha.0", "react-dom": "16.13.1", - "storybook-chromatic": "3.5.2", + "storybook-chromatic": "3.5.3", "typescript": "3.8.3" }, "resolutions": { From c0cf450eadfcf66989b272ed8b720c1999c920df Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 20 Apr 2020 17:18:03 +0000 Subject: [PATCH 16/40] Update typescript-eslint monorepo to v2.29.0 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1e9724fd..b43cfcea 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,8 @@ "@storybook/react": "5.3.18", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.5.0", - "@typescript-eslint/eslint-plugin": "2.28.0", - "@typescript-eslint/parser": "2.28.0", + "@typescript-eslint/eslint-plugin": "2.29.0", + "@typescript-eslint/parser": "2.29.0", "babel-eslint": "10.1.0", "babel-jest": "24.9.0", "babel-loader": "8.1.0", From 2b9f48b4f5052249db139a8445035a0bfaea4522 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 21 Apr 2020 19:29:33 +0000 Subject: [PATCH 17/40] Update dependency eslint-config-prettier to v6.11.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b43cfcea..864abe4e 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "babel-loader": "8.1.0", "copyfiles": "2.2.0", "eslint": "6.8.0", - "eslint-config-prettier": "6.10.1", + "eslint-config-prettier": "6.11.0", "eslint-plugin-jest": "23.8.2", "eslint-plugin-prettier": "3.1.3", "eslint-plugin-promise": "4.2.1", From 4b1a0dd02e46640c21292b135eed9bd8b282a58d Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 24 Apr 2020 15:24:09 +0000 Subject: [PATCH 18/40] Update dependency storybook-chromatic to v3.5.5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 864abe4e..1a66b2d0 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "react": "16.13.1", "react-async": "10.0.0-alpha.0", "react-dom": "16.13.1", - "storybook-chromatic": "3.5.3", + "storybook-chromatic": "3.5.5", "typescript": "3.8.3" }, "resolutions": { From cfd192363e89c1bb7af5b7217008a24f8c8bb364 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 27 Apr 2020 17:27:41 +0000 Subject: [PATCH 19/40] Update typescript-eslint monorepo to v2.30.0 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1a66b2d0..a0ca7554 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,8 @@ "@storybook/react": "5.3.18", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.5.0", - "@typescript-eslint/eslint-plugin": "2.29.0", - "@typescript-eslint/parser": "2.29.0", + "@typescript-eslint/eslint-plugin": "2.30.0", + "@typescript-eslint/parser": "2.30.0", "babel-eslint": "10.1.0", "babel-jest": "24.9.0", "babel-loader": "8.1.0", From 5653a0825fe71b472cf209017b32ad88f0620014 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 29 Apr 2020 18:45:33 +0000 Subject: [PATCH 20/40] Update babel monorepo to v7.9.6 --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index a0ca7554..2eb4eced 100644 --- a/package.json +++ b/package.json @@ -36,11 +36,11 @@ "postbump": "yarn build:packages" }, "devDependencies": { - "@babel/core": "7.9.0", + "@babel/core": "7.9.6", "@babel/plugin-proposal-class-properties": "7.8.3", - "@babel/plugin-proposal-object-rest-spread": "7.9.5", - "@babel/plugin-transform-runtime": "7.9.0", - "@babel/preset-env": "7.9.5", + "@babel/plugin-proposal-object-rest-spread": "7.9.6", + "@babel/plugin-transform-runtime": "7.9.6", + "@babel/preset-env": "7.9.6", "@babel/preset-react": "7.9.4", "@babel/preset-typescript": "7.9.0", "@pika/pack": "0.5.0", From 009fd3ae2050bd2fec2cc517a48238ddbd42aaa0 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 4 May 2020 07:58:01 +0000 Subject: [PATCH 21/40] Update dependency eslint-plugin-jest to v23.9.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2eb4eced..599ae9cb 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "copyfiles": "2.2.0", "eslint": "6.8.0", "eslint-config-prettier": "6.11.0", - "eslint-plugin-jest": "23.8.2", + "eslint-plugin-jest": "23.9.0", "eslint-plugin-prettier": "3.1.3", "eslint-plugin-promise": "4.2.1", "eslint-plugin-react": "7.19.0", From eead3e2062278211b7ec1f05fc6fd0175f0d4aa3 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 4 May 2020 17:27:37 +0000 Subject: [PATCH 22/40] Update typescript-eslint monorepo to v2.31.0 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 599ae9cb..1220d7ca 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,8 @@ "@storybook/react": "5.3.18", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.5.0", - "@typescript-eslint/eslint-plugin": "2.30.0", - "@typescript-eslint/parser": "2.30.0", + "@typescript-eslint/eslint-plugin": "2.31.0", + "@typescript-eslint/parser": "2.31.0", "babel-eslint": "10.1.0", "babel-jest": "24.9.0", "babel-loader": "8.1.0", From 9412a5c6c2c69810d7abf5a3dcf337a24085b77a Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 9 May 2020 00:59:53 +0000 Subject: [PATCH 23/40] Update dependency eslint-plugin-jest to v23.10.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1220d7ca..346b2ddc 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "copyfiles": "2.2.0", "eslint": "6.8.0", "eslint-config-prettier": "6.11.0", - "eslint-plugin-jest": "23.9.0", + "eslint-plugin-jest": "23.10.0", "eslint-plugin-prettier": "3.1.3", "eslint-plugin-promise": "4.2.1", "eslint-plugin-react": "7.19.0", From c58f3666605dd056da3379e0223cdbc0d841139c Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 11 May 2020 14:19:17 +0000 Subject: [PATCH 24/40] Update dependency node-jq to v1.11.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 346b2ddc..db28f06b 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "eslint-plugin-react-hooks": "2.5.1", "jest": "24.9.0", "lerna": "3.20.2", - "node-jq": "1.11.0", + "node-jq": "1.11.1", "now": "16.7.3", "npm-run-all": "4.1.5", "prettier": "1.19.1", From ba4d13db132e56b5d34e7898edea5eb02b2aa0d7 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 11 May 2020 17:55:43 +0000 Subject: [PATCH 25/40] Update typescript-eslint monorepo to v2.32.0 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index db28f06b..e68c7e1b 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,8 @@ "@storybook/react": "5.3.18", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.5.0", - "@typescript-eslint/eslint-plugin": "2.31.0", - "@typescript-eslint/parser": "2.31.0", + "@typescript-eslint/eslint-plugin": "2.32.0", + "@typescript-eslint/parser": "2.32.0", "babel-eslint": "10.1.0", "babel-jest": "24.9.0", "babel-loader": "8.1.0", From 28baf5e5401b14a7f2366892be4a7d6ca58675f7 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 12 May 2020 20:57:10 +0000 Subject: [PATCH 26/40] Update dependency eslint-plugin-jest to v23.11.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e68c7e1b..96e1d484 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "copyfiles": "2.2.0", "eslint": "6.8.0", "eslint-config-prettier": "6.11.0", - "eslint-plugin-jest": "23.10.0", + "eslint-plugin-jest": "23.11.0", "eslint-plugin-prettier": "3.1.3", "eslint-plugin-promise": "4.2.1", "eslint-plugin-react": "7.19.0", From 3a9319c257c0e324a2b2e8f8be25013d04bfd476 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 12 May 2020 22:51:29 +0000 Subject: [PATCH 27/40] Update typescript-eslint monorepo to v2.33.0 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 96e1d484..b82ff1e4 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,8 @@ "@storybook/react": "5.3.18", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.5.0", - "@typescript-eslint/eslint-plugin": "2.32.0", - "@typescript-eslint/parser": "2.32.0", + "@typescript-eslint/eslint-plugin": "2.33.0", + "@typescript-eslint/parser": "2.33.0", "babel-eslint": "10.1.0", "babel-jest": "24.9.0", "babel-loader": "8.1.0", From ff605ca673600f4ab689f43b529d4beba0f18362 Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Tue, 30 Jun 2020 10:24:01 +0200 Subject: [PATCH 28/40] Clarify arguments to deferFn. --- docs/api/options.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/options.md b/docs/api/options.md index 6ca6ac61..dce7f074 100644 --- a/docs/api/options.md +++ b/docs/api/options.md @@ -41,7 +41,7 @@ A function that returns a promise. It is automatically invoked in `componentDidM > `function(args: any[], props: Object, controller: AbortController): Promise` -A function that returns a promise. This is invoked only by manually calling `run(...args)`. Receives the same arguments as `promiseFn`, as well as any arguments to `run` which are passed through as an array. The `deferFn` is commonly used to send data to the server following a user action, such as submitting a form. You can use this in conjunction with `promiseFn` to fill the form with existing data, then updating it on submit with `deferFn`. +A function that returns a promise. This is invoked only by manually calling `run(...args)`. Any arguments to `run` are passed-through as an array via `args`, so you can pass data through either `args` or `props`, as needed. The `deferFn` is commonly used to send data to the server following a user action, such as submitting a form. You can use this in conjunction with `promiseFn` to fill the form with existing data, then updating it on submit with `deferFn`. > Be aware that when using both `promiseFn` and `deferFn`, the shape of their fulfilled value should match, because they both update the same `data`. From c312b3636ae26c1b5bbf099b7e0790cff01ded66 Mon Sep 17 00:00:00 2001 From: Rob Gilson Date: Thu, 9 Jul 2020 14:16:03 -0400 Subject: [PATCH 29/40] Added an explicit browserlist for Parcel builds Added a browserlist to indicate support for modern ES. When Parcel detects a library's browserlist is different then the application browser list it will transpile the library to the version of ES required by the application. This allows developers to specify older browsers (eg. ie 11) and have react-async transparently transpiled. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index b82ff1e4..2f1334d1 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "author": "Gert Hengeveld ", "license": "ISC", "homepage": "https://async-library.com", + "browserslist": "last 2 Firefox versions", "repository": "git+https://github.com/async-library/react-async.git", "workspaces": [ "examples/*", From 9e122b0407afc6cd10723f5dfe9489459c5b3c96 Mon Sep 17 00:00:00 2001 From: Ghazouane Date: Tue, 15 Sep 2020 17:03:55 +0200 Subject: [PATCH 30/40] docs: Fixed broken link: 'internal reducer' Updated the link about 'internal reducers' as the provided was broken --- docs/api/options.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/options.md b/docs/api/options.md index dce7f074..64d353e9 100644 --- a/docs/api/options.md +++ b/docs/api/options.md @@ -87,7 +87,7 @@ Callback function invoked when a promise is cancelled, either manually using `ca > `function(state: any, action: Object, internalReducer: function(state: any, action: Object))` -State reducer to take full control over state updates by wrapping the [internal reducer](https://github.com/async-library/react-async/blob/master/src/reducer.js). It receives the current state, the dispatched action and the internal reducer. You probably want to invoke the internal reducer at some point. +State reducer to take full control over state updates by wrapping the [internal reducer](https://github.com/async-library/react-async/blob/master/packages/react-async/src/reducer.ts). It receives the current state, the dispatched action and the internal reducer. You probably want to invoke the internal reducer at some point. > This is a power feature which loosely follows the [state reducer pattern](https://kentcdodds.com/blog/the-state-reducer-pattern). It allows you to control state changes by intercepting actions before they are handled, or by overriding or enhancing the reducer itself. From 94e929dfd2c4a1220dba6f6554fea5acea2ddb3a Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Tue, 14 Jul 2020 13:36:38 +0200 Subject: [PATCH 31/40] Upgrade Chromatic to latest version. --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2f1334d1..eca34a75 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "test:latest": "yarn add -D -W react@latest react-dom@latest && yarn resolutions:fix-react && yarn test", "test:compat": "yarn test:backwards && yarn test:forwards && yarn test:latest", "test:examples": "CI=1 lerna run --scope '*-example' test -- --passWithNoTests --watchAll=false", - "test:chromatic": "chromatic --app-code iiua39bmt0j --build-script-name build:storybook --exit-zero-on-changes", + "test:chromatic": "chromatic -t iiua39bmt0j -b build:storybook --exit-zero-on-changes", "resolutions:fix-react": "jq '.resolutions.react = .devDependencies.react|.resolutions.\"react-dom\"=.devDependencies.react' package.json > package.json.new && mv package.json.new package.json && yarn install", "ci": "yarn lint && yarn test:compat && yarn test:examples", "build:packages": "lerna run --scope 'react-async*' build", @@ -60,6 +60,7 @@ "babel-eslint": "10.1.0", "babel-jest": "24.9.0", "babel-loader": "8.1.0", + "chromatic": "5.2.0", "copyfiles": "2.2.0", "eslint": "6.8.0", "eslint-config-prettier": "6.11.0", @@ -78,7 +79,6 @@ "react": "16.13.1", "react-async": "10.0.0-alpha.0", "react-dom": "16.13.1", - "storybook-chromatic": "3.5.5", "typescript": "3.8.3" }, "resolutions": { From 28753c5034aa931e42e56c5f60d995470d1a6ab3 Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Mon, 19 Oct 2020 12:13:10 +0200 Subject: [PATCH 32/40] Upgrade now to vercel. --- .gitignore | 2 ++ package.json | 6 +++--- now.json => vercel.json | 0 3 files changed, 5 insertions(+), 3 deletions(-) rename now.json => vercel.json (100%) diff --git a/.gitignore b/.gitignore index 7bca893d..67a1d7cb 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,5 @@ lerna-debug.log* # when working with contributors package-lock.json yarn.lock + +.vercel diff --git a/package.json b/package.json index eca34a75..535a4881 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "bootstrap": "yarn build:packages && yarn workspaces run bootstrap", "clean": "lerna clean", "start": "run-p start:*", - "start:examples": "now dev", + "start:examples": "vercel dev", "start:storybook": "start-storybook -p 6006", "lint": "eslint packages/*/src/*.{js,ts,tsx}", "test": "jest packages/*/src/*.spec.js", @@ -32,7 +32,7 @@ "build:packages": "lerna run --scope 'react-async*' build", "build:examples": "lerna run --scope '*-example' build", "build:storybook": "build-storybook -o storybook", - "deploy:examples": "now --prod --scope async-library --token $NOW_API_TOKEN", + "deploy:examples": "vercel --prod --scope async-library --token $NOW_API_TOKEN", "bump": "lerna version -m 'Bump' --no-git-tag-version --no-push", "postbump": "yarn build:packages" }, @@ -72,7 +72,7 @@ "jest": "24.9.0", "lerna": "3.20.2", "node-jq": "1.11.1", - "now": "16.7.3", + "vercel": "20.1.2", "npm-run-all": "4.1.5", "prettier": "1.19.1", "prop-types": "15.7.2", diff --git a/now.json b/vercel.json similarity index 100% rename from now.json rename to vercel.json From 558a2c3f303c2ba8ab911e5512fc4c8e512736e1 Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Mon, 19 Oct 2020 12:13:26 +0200 Subject: [PATCH 33/40] Update TS compile target. --- packages/react-async/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-async/tsconfig.json b/packages/react-async/tsconfig.json index f261ce40..89209d65 100644 --- a/packages/react-async/tsconfig.json +++ b/packages/react-async/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "es2019", + "target": "es2020", "module": "esnext", "allowJs": false, "checkJs": false, From d9857b9480bfa0f2d9768404360dab74339282b2 Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Mon, 19 Oct 2020 12:26:51 +0200 Subject: [PATCH 34/40] Property does not exist according to TS. --- packages/react-async/src/globalScope.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-async/src/globalScope.ts b/packages/react-async/src/globalScope.ts index 8fd3ffbd..798b4d78 100644 --- a/packages/react-async/src/globalScope.ts +++ b/packages/react-async/src/globalScope.ts @@ -13,7 +13,7 @@ declare type GlobalScope = { const globalScope = (() => { if (typeof self === "object" && self.self === self) return self if (typeof global === "object" && global.global === global) return global - if (typeof global === "object" && global.GLOBAL === global) return global + if (typeof global === "object" && global["GLOBAL"] === global) return global return {} // fallback that relies on imported modules to be singletons })() as GlobalScope From 24062757bb7570434ef1022b1f0aa07a33552377 Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Mon, 19 Oct 2020 12:32:13 +0200 Subject: [PATCH 35/40] Ignore type completely. --- packages/react-async/src/globalScope.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/react-async/src/globalScope.ts b/packages/react-async/src/globalScope.ts index 798b4d78..91a0067e 100644 --- a/packages/react-async/src/globalScope.ts +++ b/packages/react-async/src/globalScope.ts @@ -11,9 +11,10 @@ declare type GlobalScope = { * This file is excluded from coverage reporting because these globals are environment-specific so we can't test them all. */ const globalScope = (() => { + const glbl = global as any if (typeof self === "object" && self.self === self) return self - if (typeof global === "object" && global.global === global) return global - if (typeof global === "object" && global["GLOBAL"] === global) return global + if (typeof glbl === "object" && glbl.global === glbl) return glbl + if (typeof glbl === "object" && glbl.GLOBAL === glbl) return glbl return {} // fallback that relies on imported modules to be singletons })() as GlobalScope From af52ec3491b9648ead9ec1dce66a75a2bf44cbc2 Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Wed, 9 Dec 2020 00:19:23 +0100 Subject: [PATCH 36/40] Fix broken link --- docs/introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/introduction.md b/docs/introduction.md index 7b3e2879..2eb4c3e9 100644 --- a/docs/introduction.md +++ b/docs/introduction.md @@ -29,4 +29,4 @@ impact on performance and usability. When Suspense lands, React Async will make you can already **start using React Async right now**, and in a later update, you'll **get Suspense features for free**. In fact, React Async already has experimental support for Suspense, by passing the `suspense` option. -[concurrent react]: https://github.com/sw-yx/fresh-concurrent-react/blob/master/Intro.md#introduction-what-is-concurrent-react +[concurrent react]: https://reactjs.org/docs/concurrent-mode-intro.html From b6ded77a9a1b4037ed37958945c36515fe03afe6 Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Sun, 28 Mar 2021 17:28:19 +0200 Subject: [PATCH 37/40] Less strict test --- packages/react-async/src/specs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-async/src/specs.js b/packages/react-async/src/specs.js index 14054789..3517f903 100644 --- a/packages/react-async/src/specs.js +++ b/packages/react-async/src/specs.js @@ -283,7 +283,7 @@ export const withPromiseFn = (Async, abortCtrl) => () => { expect(promiseFn).toHaveBeenCalledTimes(1) fireEvent.click(getByText("reload")) expect(promiseFn).toHaveBeenCalledTimes(2) - expect(abortCtrl.abort).toHaveBeenCalledTimes(1) + expect(abortCtrl.abort).toHaveBeenCalled() }) test("re-runs the promise with new props when the value of `watch` changes", () => { @@ -404,7 +404,7 @@ export const withPromiseFn = (Async, abortCtrl) => () => { rerender() await sleep(10) expect(onResolve).not.toHaveBeenCalled() - expect(abortCtrl.abort).toHaveBeenCalledTimes(1) + expect(abortCtrl.abort).toHaveBeenCalled() }) test("does not run `promiseFn` on mount when `initialValue` is provided", async () => { From 8ebeb980d1866ce40625ad6ca6be0f88e91ef8a6 Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Sun, 28 Mar 2021 17:28:47 +0200 Subject: [PATCH 38/40] Remove resolutions --- package.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/package.json b/package.json index 535a4881..9a6e812e 100644 --- a/package.json +++ b/package.json @@ -80,8 +80,5 @@ "react-async": "10.0.0-alpha.0", "react-dom": "16.13.1", "typescript": "3.8.3" - }, - "resolutions": { - "@types/react": "16.9.13" } } From 30e9171f9dded55f14b64b58fc73105cc3b3a658 Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Sun, 28 Mar 2021 17:39:20 +0200 Subject: [PATCH 39/40] Keep TS happy --- packages/react-async/src/useAsync.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/react-async/src/useAsync.tsx b/packages/react-async/src/useAsync.tsx index b3eb22d9..291e3709 100644 --- a/packages/react-async/src/useAsync.tsx +++ b/packages/react-async/src/useAsync.tsx @@ -10,6 +10,7 @@ import { } from "./reducer" import { + AsyncAction, AsyncOptions, AsyncState, AbstractState, @@ -60,7 +61,9 @@ function useAsync(arg1: AsyncOptions | PromiseFn, arg2?: AsyncOptions reducer(state, action, asyncReducer) : asyncReducer, + reducer + ? (state: AsyncState, action: AsyncAction) => reducer(state, action, asyncReducer) + : asyncReducer, options, init ) @@ -336,5 +339,7 @@ const unsupported = () => { ) } +// @ts-ignore export default useEffect ? useAsync : unsupported +// @ts-ignore export const useFetch = useEffect ? useAsyncFetch : unsupported From b55964d266b66354be9d10ee9d64a41f8c10415e Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Sun, 28 Mar 2021 19:22:56 +0200 Subject: [PATCH 40/40] Upgrade React --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 9a6e812e..2c69cc71 100644 --- a/package.json +++ b/package.json @@ -76,9 +76,9 @@ "npm-run-all": "4.1.5", "prettier": "1.19.1", "prop-types": "15.7.2", - "react": "16.13.1", + "react": "17.0.2", "react-async": "10.0.0-alpha.0", - "react-dom": "16.13.1", + "react-dom": "17.0.2", "typescript": "3.8.3" } }