Skip to content

Commit

Permalink
Patch @opensearch-project/opensearch to fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
AMoo-Miki committed Nov 10, 2024
1 parent c9c3798 commit 8a3e176
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scripts/postinstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,15 @@ 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', [
{
from: 'val < Number.MAX_SAFE_INTEGER',
to: 'val < Number.MIN_SAFE_INTEGER',
},
])
);

await Promise.all(promises);
};
Expand Down

0 comments on commit 8a3e176

Please sign in to comment.