From 64f7800bed3ac72f1742f96e94e72334fcb65283 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 16 Jan 2024 16:35:08 -0600 Subject: [PATCH] Patch `@lingui/core` to fix `unraw` import resolution error (#2548) --- patches/@lingui+core+4.5.0.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 patches/@lingui+core+4.5.0.patch diff --git a/patches/@lingui+core+4.5.0.patch b/patches/@lingui+core+4.5.0.patch new file mode 100644 index 00000000..8ace93a7 --- /dev/null +++ b/patches/@lingui+core+4.5.0.patch @@ -0,0 +1,10 @@ +diff --git a/node_modules/@lingui/core/dist/index.mjs b/node_modules/@lingui/core/dist/index.mjs +index 9759736..881f67b 100644 +--- a/node_modules/@lingui/core/dist/index.mjs ++++ b/node_modules/@lingui/core/dist/index.mjs +@@ -1,4 +1,4 @@ +-import unraw from 'unraw'; ++import { unraw } from 'unraw'; + import { compileMessage } from '@lingui/message-utils/compileMessage'; + + const isString = (s) => typeof s === "string";