From 967906997074b859c15dbc97beb3a22d4d760d89 Mon Sep 17 00:00:00 2001 From: Miki Date: Mon, 18 Nov 2024 13:11:46 -0800 Subject: [PATCH] Update postinstall.js Signed-off-by: Miki --- scripts/postinstall.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/postinstall.js b/scripts/postinstall.js index fc5599410f9e..a26a9cfd075e 100644 --- a/scripts/postinstall.js +++ b/scripts/postinstall.js @@ -86,7 +86,7 @@ const run = async () => { ); //ToDo: Remove when opensearch-js is released to include https://github.com/opensearch-project/opensearch-js/pull/889 promises.push( - patchFile('node_modules/@opensearch-project/opensearch/lib/Serializer.js', [ + patchFile('node_modules/@opensearch-project/opensearch-next/lib/Serializer.js', [ { from: 'val < Number.MAX_SAFE_INTEGER', to: 'val < Number.MIN_SAFE_INTEGER',