From 8027755210d2fc41128c45fab8b6fe7de399a62e Mon Sep 17 00:00:00 2001 From: Ritesh Kumar Date: Sat, 12 Dec 2020 15:24:51 +0530 Subject: [PATCH 1/4] fix(gql-ts): fixes an issue where process.hrtime was not defined in worker (#262) fixes #248 --- patches/relay-compiler+10.0.1.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/relay-compiler+10.0.1.patch diff --git a/patches/relay-compiler+10.0.1.patch b/patches/relay-compiler+10.0.1.patch new file mode 100644 index 0000000..68eae85 --- /dev/null +++ b/patches/relay-compiler+10.0.1.patch @@ -0,0 +1,13 @@ +diff --git a/node_modules/relay-compiler/lib/core/GraphQLCompilerProfiler.js b/node_modules/relay-compiler/lib/core/GraphQLCompilerProfiler.js +index 77a0cad..d842094 100644 +--- a/node_modules/relay-compiler/lib/core/GraphQLCompilerProfiler.js ++++ b/node_modules/relay-compiler/lib/core/GraphQLCompilerProfiler.js +@@ -189,6 +189,8 @@ function instrumentWait(fn, name) { + return instrumented; + } + ++process.hrtime = () => null ++ + var T_ZERO = process.hrtime(); // Return a Uint32 of microtime duration since program start. + + function microtime() { From 8332a65cbb36187be3457831d0533c06b0af1547 Mon Sep 17 00:00:00 2001 From: ritz078 Date: Sat, 12 Dec 2020 15:33:24 +0530 Subject: [PATCH 2/4] change bmac logo color --- components/Navigator.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Navigator.tsx b/components/Navigator.tsx index 3100831..81dbbd8 100644 --- a/components/Navigator.tsx +++ b/components/Navigator.tsx @@ -77,7 +77,7 @@ export default function() { Buy Me A Coffee Date: Sat, 12 Dec 2020 15:34:41 +0530 Subject: [PATCH 3/4] Update FUNDING.yml --- .github/FUNDING.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index cad9c92..dc3aac5 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,3 +1,4 @@ # These are supported funding model platforms custom: paypal.me/ritz078 +custom: https://www.buymeacoffee.com/ritz078 From 7c8a3ffdc81caa661b6ad2249a255f275f510ee8 Mon Sep 17 00:00:00 2001 From: Ritesh Kumar Date: Sat, 12 Dec 2020 15:35:34 +0530 Subject: [PATCH 4/4] Update FUNDING.yml --- .github/FUNDING.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index dc3aac5..463b0f1 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,4 +1,3 @@ # These are supported funding model platforms -custom: paypal.me/ritz078 custom: https://www.buymeacoffee.com/ritz078