Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"@sinclair/typebox": "catalog:",
"@socketregistry/packageurl-js": "1.7.0",
"@socketregistry/packageurl-js-stable": "catalog:",
"@socketsecurity/lib": "7.2.0",
"@socketsecurity/lib": "catalog:",
"@socketsecurity/lib-stable": "catalog:",
"@socketsecurity/registry-stable": "catalog:",
"@socketsecurity/sdk": "catalog:",
Expand Down
17 changes: 17 additions & 0 deletions patches/@socketsecurity__lib@7.1.0.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff --git a/dist/strings/width.js b/dist/strings/width.js
index 51bb7e4297747bbe7755de2f58b81c4c4cf2e2ff..70e73295c742a437b14d5bf431215923d779511a 100644
--- a/dist/strings/width.js
+++ b/dist/strings/width.js
@@ -34,9 +34,9 @@ let zeroWidthClusterRegex;
let leadingNonPrintingRegex;
let emojiRegex;
try {
- zeroWidthClusterRegex = /^(?:\p{Control}|\p{Default_Ignorable_Code_Point}|\p{Mark}|\p{Surrogate})+$/v;
- leadingNonPrintingRegex = /^[\p{Default_Ignorable_Code_Point}\p{Control}\p{Format}\p{Mark}\p{Surrogate}]+/v;
- emojiRegex = /^\p{RGI_Emoji}$/v;
+ zeroWidthClusterRegex = new RegExp('^(?:\\p{Control}|\\p{Default_Ignorable_Code_Point}|\\p{Mark}|\\p{Surrogate})+$', 'v');
+ leadingNonPrintingRegex = new RegExp('^[\\p{Default_Ignorable_Code_Point}\\p{Control}\\p{Format}\\p{Mark}\\p{Surrogate}]+', 'v');
+ emojiRegex = new RegExp('^\\p{RGI_Emoji}$', 'v');
} catch {
zeroWidthClusterRegex = /^(?:\p{Control}|\p{Default_Ignorable_Code_Point}|\p{Mark})+$/u;
leadingNonPrintingRegex = /^[\p{Default_Ignorable_Code_Point}\p{Control}\p{Format}\p{Mark}]+/u;
7 changes: 4 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,7 @@ patchedDependencies:
# The patch preserves both contracts under the single dependency override.
# Regenerate the patch with its catalog version when updating the pin.
'@polka/url@1.0.0-next.29': patches/fleet/@polka__url@1.0.0-next.29.patch
'@socketsecurity/lib@7.1.0': patches/@socketsecurity__lib@7.1.0.patch
# default-export interop (repo-pinned; do not edit):
# v10's ESM build ships named exports only, so `import minimatch from
# 'minimatch'` throws "does not provide an export named default". That is
Expand Down