From bf9420c9dc80138fa511e76bc9ede3be33f44ce0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Fri, 29 Apr 2022 10:15:13 +0200 Subject: [PATCH 1/2] fix(giphy,privacy) disable pingback --- patches/@giphy+js-analytics+4.0.7.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 patches/@giphy+js-analytics+4.0.7.patch diff --git a/patches/@giphy+js-analytics+4.0.7.patch b/patches/@giphy+js-analytics+4.0.7.patch new file mode 100644 index 000000000000..27e87ac2a414 --- /dev/null +++ b/patches/@giphy+js-analytics+4.0.7.patch @@ -0,0 +1,14 @@ +diff --git a/node_modules/@giphy/js-analytics/dist/send-pingback.js b/node_modules/@giphy/js-analytics/dist/send-pingback.js +index 001345a..f303443 100644 +--- a/node_modules/@giphy/js-analytics/dist/send-pingback.js ++++ b/node_modules/@giphy/js-analytics/dist/send-pingback.js +@@ -10,6 +10,9 @@ var global_1 = __importDefault(require("./global")); + var environment = (global_1.default === null || global_1.default === void 0 ? void 0 : global_1.default.GIPHY_PINGBACK_URL) || 'https://pingback.giphy.com'; + var pingBackUrl = environment + "/v2/pingback?apikey=l0HlIwPWyBBUDAUgM"; + var sendPingback = function (events) { ++ // Disabled. ++ return Promise.resolve(); ++ + var headers = js_util_1.getGiphySDKRequestHeaders(); + /* istanbul ignore next */ + headers === null || headers === void 0 ? void 0 : headers.set('Content-Type', 'application/json'); From 94fdaee1f8d33b2bf6fec5ffe2087ba2a6d9654e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Fri, 29 Apr 2022 10:15:43 +0200 Subject: [PATCH 2/2] fix(giphy,privacy) remove custom dynamic fonts --- patches/@giphy+js-brand+2.0.4.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 patches/@giphy+js-brand+2.0.4.patch diff --git a/patches/@giphy+js-brand+2.0.4.patch b/patches/@giphy+js-brand+2.0.4.patch new file mode 100644 index 000000000000..b746c57c56ec --- /dev/null +++ b/patches/@giphy+js-brand+2.0.4.patch @@ -0,0 +1,12 @@ +diff --git a/node_modules/@giphy/js-brand/dist/typography.js b/node_modules/@giphy/js-brand/dist/typography.js +index af796bc..585fa00 100644 +--- a/node_modules/@giphy/js-brand/dist/typography.js ++++ b/node_modules/@giphy/js-brand/dist/typography.js +@@ -7,7 +7,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); + exports.css = exports.fontSize = exports.fontFamily = void 0; + var emotion_1 = require("emotion"); + // eslint-disable-next-line +-emotion_1.injectGlobal(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n@font-face {\n font-family: 'interface';\n font-style: normal;\n font-weight: normal;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_Rg.woff2') format('woff2'),\n url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_Rg.woff') format('woff');\n}\n\n@font-face {\n font-family: 'interface';\n font-style: normal;\n font-weight: bold;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_Bd.woff2') format('woff2'),\n url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_Bd.woff') format('woff');\n}\n@font-face {\n font-family: 'interface';\n font-style: normal;\n font-weight: 900;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_XBd.woff') format('woff');\n}\n@font-face {\n font-family: 'nexablack'; \n font-style: normal;\n font-weight: normal;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/nexa_black-webfont.woff2') format('woff2'),\n url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/nexa_black-webfont.woff') format('woff');\n}\n@font-face {\n font-family: 'SSStandard'; \n font-style: normal;\n font-weight: normal;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/ss-standard.woff') format('woff');\n}\n@font-face {\n font-family: 'SSSocial'; \n font-style: normal;\n font-weight: normal;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/ss-social.woff') format('woff');\n}\n"], ["\n@font-face {\n font-family: 'interface';\n font-style: normal;\n font-weight: normal;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_Rg.woff2') format('woff2'),\n url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_Rg.woff') format('woff');\n}\n\n@font-face {\n font-family: 'interface';\n font-style: normal;\n font-weight: bold;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_Bd.woff2') format('woff2'),\n url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_Bd.woff') format('woff');\n}\n@font-face {\n font-family: 'interface';\n font-style: normal;\n font-weight: 900;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_XBd.woff') format('woff');\n}\n@font-face {\n font-family: 'nexablack'; \n font-style: normal;\n font-weight: normal;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/nexa_black-webfont.woff2') format('woff2'),\n url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/nexa_black-webfont.woff') format('woff');\n}\n@font-face {\n font-family: 'SSStandard'; \n font-style: normal;\n font-weight: normal;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/ss-standard.woff') format('woff');\n}\n@font-face {\n font-family: 'SSSocial'; \n font-style: normal;\n font-weight: normal;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/ss-social.woff') format('woff');\n}\n"]))); + exports.fontFamily = { + title: "'nexablack', sans-serif", + body: 'interface, Helvetica Neue, helvetica, sans-serif;',