@socketsecurity/lib 3.2.5 → 3.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/constants/node.js +1 -1
  3. package/dist/constants/packages.js +4 -4
  4. package/dist/external/@inquirer/confirm.js +3199 -18
  5. package/dist/external/@inquirer/input.js +3223 -18
  6. package/dist/external/@inquirer/password.js +3331 -18
  7. package/dist/external/@inquirer/search.js +3328 -21
  8. package/dist/external/@inquirer/select.js +3445 -21
  9. package/dist/external/@npmcli/package-json/lib/read-package.js +149 -2
  10. package/dist/external/@npmcli/package-json/lib/sort.js +96 -1
  11. package/dist/external/@npmcli/package-json.js +16758 -13
  12. package/dist/external/@npmcli/promise-spawn.js +480 -1
  13. package/dist/external/@socketregistry/is-unicode-supported.js +42 -1
  14. package/dist/external/@socketregistry/packageurl-js.js +6493 -2
  15. package/dist/external/@socketregistry/yocto-spinner.js +460 -4
  16. package/dist/external/@yarnpkg/extensions.js +1025 -1
  17. package/dist/external/cacache.js +13016 -12
  18. package/dist/external/debug.js +27 -1
  19. package/dist/external/del.js +7088 -2
  20. package/dist/external/fast-glob.js +5721 -2
  21. package/dist/external/fast-sort.js +140 -1
  22. package/dist/external/get-east-asian-width.js +90 -1
  23. package/dist/external/libnpmexec.js +33 -1
  24. package/dist/external/libnpmpack.js +67595 -129
  25. package/dist/external/make-fetch-happen.js +22595 -21
  26. package/dist/external/normalize-package-data.js +4474 -2
  27. package/dist/external/npm-package-arg.js +4511 -2
  28. package/dist/external/pacote.js +50270 -57
  29. package/dist/external/picomatch.js +1520 -1
  30. package/dist/external/semver.js +1930 -1
  31. package/dist/external/spdx-correct.js +1380 -1
  32. package/dist/external/spdx-expression-parse.js +1043 -1
  33. package/dist/external/streaming-iterables.js +1056 -1
  34. package/dist/external/validate-npm-package-name.js +100 -1
  35. package/dist/external/which.js +258 -1
  36. package/dist/external/yargs-parser.js +1075 -1
  37. package/dist/external/yoctocolors-cjs.js +88 -1
  38. package/dist/external/zod.js +15207 -13
  39. package/dist/lifecycle-script-names.js +3 -4
  40. package/dist/logger.js +2 -1
  41. package/dist/maintained-node-versions.js +3 -4
  42. package/dist/package-default-node-range.js +4 -5
  43. package/dist/package-default-socket-categories.js +3 -4
  44. package/dist/package-extensions.js +3 -4
  45. package/dist/stdio/prompts.js +2 -1
  46. package/dist/utils/get-ipc.js +3 -5
  47. package/package.json +1 -1
@@ -3,4 +3,143 @@
3
3
  * Bundled from fast-sort
4
4
  * This is a zero-dependency bundle created by esbuild.
5
5
  */
6
- "use strict";var C=Object.defineProperty;var a=(r,e)=>C(r,"name",{value:e,configurable:!0});var E=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports);var _=E(f=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0});var P=a(function(r){return function(e,n,u){return r(e,n,u)*u}},"castComparer"),g=a(function(r,e){if(r)throw Error("Invalid sort config: "+e)},"throwInvalidConfigErrorIfTrue"),w=a(function(r){var e=r||{},n=e.asc,u=e.desc,t=n?1:-1,i=n||u;g(!i,"Expected `asc` or `desc` property"),g(n&&u,"Ambiguous object with `asc` and `desc` config properties");var c=r.comparer&&P(r.comparer);return{order:t,sortBy:i,comparer:c}},"unpackObjectSorter"),N=a(function(r){return a(function e(n,u,t,i,c,o,l){var v,p;if(typeof n=="string")v=o[n],p=l[n];else if(typeof n=="function")v=n(o),p=n(l);else{var s=w(n);return e(s.sortBy,u,t,s.order,s.comparer||r,o,l)}var A=c(v,p,i);return(A===0||v==null&&p==null)&&u.length>t?e(u[t],u,t+1,i,c,o,l):A},"multiPropertySorter")},"multiPropertySorterProvider");function I(r,e,n){if(r===void 0||r===!0)return function(i,c){return e(i,c,n)};if(typeof r=="string")return g(r.includes("."),"String syntax not allowed for nested properties."),function(i,c){return e(i[r],c[r],n)};if(typeof r=="function")return function(i,c){return e(r(i),r(c),n)};if(Array.isArray(r)){var u=N(e);return function(i,c){return u(r[0],r,1,n,e,i,c)}}var t=w(r);return I(t.sortBy,t.comparer||e,t.order)}a(I,"getSortStrategy");var d=a(function(r,e,n,u){var t;return Array.isArray(e)?(Array.isArray(n)&&n.length<2&&(t=n,n=t[0]),e.sort(I(n,u,r))):e},"sortArray");function m(r){var e=P(r.comparer);return function(n){var u=Array.isArray(n)&&!r.inPlaceSorting?n.slice():n;return{asc:a(function(t){return d(1,u,t,e)},"asc"),desc:a(function(t){return d(-1,u,t,e)},"desc"),by:a(function(t){return d(1,u,t,e)},"by")}}}a(m,"createNewSortInstance");var S=a(function(r,e,n){return r==null?n:e==null?-n:typeof r!=typeof e?typeof r<typeof e?-1:1:r<e?-1:r>e?1:0},"defaultComparer"),h=m({comparer:S}),q=m({comparer:S,inPlaceSorting:!0});f.createNewSortInstance=m;f.defaultComparer=S;f.inPlaceSort=q;f.sort=h});var{createNewSortInstance:x}=_();module.exports={createNewSortInstance:x};
6
+ "use strict";
7
+ var __defProp = Object.defineProperty;
8
+ var __getOwnPropNames = Object.getOwnPropertyNames;
9
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
10
+ var __commonJS = (cb, mod) => function __require() {
11
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
12
+ };
13
+
14
+ // node_modules/.pnpm/fast-sort@3.4.1/node_modules/fast-sort/dist/sort.cjs.js
15
+ var require_sort_cjs = __commonJS({
16
+ "node_modules/.pnpm/fast-sort@3.4.1/node_modules/fast-sort/dist/sort.cjs.js"(exports2) {
17
+ "use strict";
18
+ Object.defineProperty(exports2, "__esModule", { value: true });
19
+ var castComparer = /* @__PURE__ */ __name(function(comparer) {
20
+ return function(a, b, order) {
21
+ return comparer(a, b, order) * order;
22
+ };
23
+ }, "castComparer");
24
+ var throwInvalidConfigErrorIfTrue = /* @__PURE__ */ __name(function(condition, context) {
25
+ if (condition)
26
+ throw Error("Invalid sort config: " + context);
27
+ }, "throwInvalidConfigErrorIfTrue");
28
+ var unpackObjectSorter = /* @__PURE__ */ __name(function(sortByObj) {
29
+ var _a = sortByObj || {}, asc = _a.asc, desc = _a.desc;
30
+ var order = asc ? 1 : -1;
31
+ var sortBy = asc || desc;
32
+ throwInvalidConfigErrorIfTrue(!sortBy, "Expected `asc` or `desc` property");
33
+ throwInvalidConfigErrorIfTrue(asc && desc, "Ambiguous object with `asc` and `desc` config properties");
34
+ var comparer = sortByObj.comparer && castComparer(sortByObj.comparer);
35
+ return { order, sortBy, comparer };
36
+ }, "unpackObjectSorter");
37
+ var multiPropertySorterProvider = /* @__PURE__ */ __name(function(defaultComparer2) {
38
+ return /* @__PURE__ */ __name(function multiPropertySorter(sortBy, sortByArr, depth, order, comparer, a, b) {
39
+ var valA;
40
+ var valB;
41
+ if (typeof sortBy === "string") {
42
+ valA = a[sortBy];
43
+ valB = b[sortBy];
44
+ } else if (typeof sortBy === "function") {
45
+ valA = sortBy(a);
46
+ valB = sortBy(b);
47
+ } else {
48
+ var objectSorterConfig = unpackObjectSorter(sortBy);
49
+ return multiPropertySorter(objectSorterConfig.sortBy, sortByArr, depth, objectSorterConfig.order, objectSorterConfig.comparer || defaultComparer2, a, b);
50
+ }
51
+ var equality = comparer(valA, valB, order);
52
+ if ((equality === 0 || valA == null && valB == null) && sortByArr.length > depth) {
53
+ return multiPropertySorter(sortByArr[depth], sortByArr, depth + 1, order, comparer, a, b);
54
+ }
55
+ return equality;
56
+ }, "multiPropertySorter");
57
+ }, "multiPropertySorterProvider");
58
+ function getSortStrategy(sortBy, comparer, order) {
59
+ if (sortBy === void 0 || sortBy === true) {
60
+ return function(a, b) {
61
+ return comparer(a, b, order);
62
+ };
63
+ }
64
+ if (typeof sortBy === "string") {
65
+ throwInvalidConfigErrorIfTrue(sortBy.includes("."), "String syntax not allowed for nested properties.");
66
+ return function(a, b) {
67
+ return comparer(a[sortBy], b[sortBy], order);
68
+ };
69
+ }
70
+ if (typeof sortBy === "function") {
71
+ return function(a, b) {
72
+ return comparer(sortBy(a), sortBy(b), order);
73
+ };
74
+ }
75
+ if (Array.isArray(sortBy)) {
76
+ var multiPropSorter_1 = multiPropertySorterProvider(comparer);
77
+ return function(a, b) {
78
+ return multiPropSorter_1(sortBy[0], sortBy, 1, order, comparer, a, b);
79
+ };
80
+ }
81
+ var objectSorterConfig = unpackObjectSorter(sortBy);
82
+ return getSortStrategy(objectSorterConfig.sortBy, objectSorterConfig.comparer || comparer, objectSorterConfig.order);
83
+ }
84
+ __name(getSortStrategy, "getSortStrategy");
85
+ var sortArray = /* @__PURE__ */ __name(function(order, ctx, sortBy, comparer) {
86
+ var _a;
87
+ if (!Array.isArray(ctx)) {
88
+ return ctx;
89
+ }
90
+ if (Array.isArray(sortBy) && sortBy.length < 2) {
91
+ _a = sortBy, sortBy = _a[0];
92
+ }
93
+ return ctx.sort(getSortStrategy(sortBy, comparer, order));
94
+ }, "sortArray");
95
+ function createNewSortInstance2(opts) {
96
+ var comparer = castComparer(opts.comparer);
97
+ return function(arrayToSort) {
98
+ var ctx = Array.isArray(arrayToSort) && !opts.inPlaceSorting ? arrayToSort.slice() : arrayToSort;
99
+ return {
100
+ asc: /* @__PURE__ */ __name(function(sortBy) {
101
+ return sortArray(1, ctx, sortBy, comparer);
102
+ }, "asc"),
103
+ desc: /* @__PURE__ */ __name(function(sortBy) {
104
+ return sortArray(-1, ctx, sortBy, comparer);
105
+ }, "desc"),
106
+ by: /* @__PURE__ */ __name(function(sortBy) {
107
+ return sortArray(1, ctx, sortBy, comparer);
108
+ }, "by")
109
+ };
110
+ };
111
+ }
112
+ __name(createNewSortInstance2, "createNewSortInstance");
113
+ var defaultComparer = /* @__PURE__ */ __name(function(a, b, order) {
114
+ if (a == null)
115
+ return order;
116
+ if (b == null)
117
+ return -order;
118
+ if (typeof a !== typeof b) {
119
+ return typeof a < typeof b ? -1 : 1;
120
+ }
121
+ if (a < b)
122
+ return -1;
123
+ if (a > b)
124
+ return 1;
125
+ return 0;
126
+ }, "defaultComparer");
127
+ var sort = createNewSortInstance2({
128
+ comparer: defaultComparer
129
+ });
130
+ var inPlaceSort = createNewSortInstance2({
131
+ comparer: defaultComparer,
132
+ inPlaceSorting: true
133
+ });
134
+ exports2.createNewSortInstance = createNewSortInstance2;
135
+ exports2.defaultComparer = defaultComparer;
136
+ exports2.inPlaceSort = inPlaceSort;
137
+ exports2.sort = sort;
138
+ }
139
+ });
140
+
141
+ // src/external/fast-sort.js
142
+ var { createNewSortInstance } = require_sort_cjs();
143
+ module.exports = {
144
+ createNewSortInstance
145
+ };
@@ -3,4 +3,93 @@
3
3
  * Bundled from get-east-asian-width
4
4
  * This is a zero-dependency bundle created by esbuild.
5
5
  */
6
- "use strict";var D=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var A=(F,E)=>D(F,"name",{value:E,configurable:!0});var u=(F,E)=>()=>(F&&(E=F(F=0)),E);var h=(F,E)=>{for(var B in E)D(F,B,{get:E[B],enumerable:!0})},d=(F,E,B,i)=>{if(E&&typeof E=="object"||typeof E=="function")for(let C of l(E))!g.call(F,C)&&C!==B&&D(F,C,{get:()=>E[C],enumerable:!(i=p(E,C))||i.enumerable});return F};var w=F=>d(D({},"__esModule",{value:!0}),F);function e(F){return F===161||F===164||F===167||F===168||F===170||F===173||F===174||F>=176&&F<=180||F>=182&&F<=186||F>=188&&F<=191||F===198||F===208||F===215||F===216||F>=222&&F<=225||F===230||F>=232&&F<=234||F===236||F===237||F===240||F===242||F===243||F>=247&&F<=250||F===252||F===254||F===257||F===273||F===275||F===283||F===294||F===295||F===299||F>=305&&F<=307||F===312||F>=319&&F<=322||F===324||F>=328&&F<=331||F===333||F===338||F===339||F===358||F===359||F===363||F===462||F===464||F===466||F===468||F===470||F===472||F===474||F===476||F===593||F===609||F===708||F===711||F>=713&&F<=715||F===717||F===720||F>=728&&F<=731||F===733||F===735||F>=768&&F<=879||F>=913&&F<=929||F>=931&&F<=937||F>=945&&F<=961||F>=963&&F<=969||F===1025||F>=1040&&F<=1103||F===1105||F===8208||F>=8211&&F<=8214||F===8216||F===8217||F===8220||F===8221||F>=8224&&F<=8226||F>=8228&&F<=8231||F===8240||F===8242||F===8243||F===8245||F===8251||F===8254||F===8308||F===8319||F>=8321&&F<=8324||F===8364||F===8451||F===8453||F===8457||F===8467||F===8470||F===8481||F===8482||F===8486||F===8491||F===8531||F===8532||F>=8539&&F<=8542||F>=8544&&F<=8555||F>=8560&&F<=8569||F===8585||F>=8592&&F<=8601||F===8632||F===8633||F===8658||F===8660||F===8679||F===8704||F===8706||F===8707||F===8711||F===8712||F===8715||F===8719||F===8721||F===8725||F===8730||F>=8733&&F<=8736||F===8739||F===8741||F>=8743&&F<=8748||F===8750||F>=8756&&F<=8759||F===8764||F===8765||F===8776||F===8780||F===8786||F===8800||F===8801||F>=8804&&F<=8807||F===8810||F===8811||F===8814||F===8815||F===8834||F===8835||F===8838||F===8839||F===8853||F===8857||F===8869||F===8895||F===8978||F>=9312&&F<=9449||F>=9451&&F<=9547||F>=9552&&F<=9587||F>=9600&&F<=9615||F>=9618&&F<=9621||F===9632||F===9633||F>=9635&&F<=9641||F===9650||F===9651||F===9654||F===9655||F===9660||F===9661||F===9664||F===9665||F>=9670&&F<=9672||F===9675||F>=9678&&F<=9681||F>=9698&&F<=9701||F===9711||F===9733||F===9734||F===9737||F===9742||F===9743||F===9756||F===9758||F===9792||F===9794||F===9824||F===9825||F>=9827&&F<=9829||F>=9831&&F<=9834||F===9836||F===9837||F===9839||F===9886||F===9887||F===9919||F>=9926&&F<=9933||F>=9935&&F<=9939||F>=9941&&F<=9953||F===9955||F===9960||F===9961||F>=9963&&F<=9969||F===9972||F>=9974&&F<=9977||F===9979||F===9980||F===9982||F===9983||F===10045||F>=10102&&F<=10111||F>=11094&&F<=11097||F>=12872&&F<=12879||F>=57344&&F<=63743||F>=65024&&F<=65039||F===65533||F>=127232&&F<=127242||F>=127248&&F<=127277||F>=127280&&F<=127337||F>=127344&&F<=127373||F===127375||F===127376||F>=127387&&F<=127404||F>=917760&&F<=917999||F>=983040&&F<=1048573||F>=1048576&&F<=1114109}function r(F){return F===12288||F>=65281&&F<=65376||F>=65504&&F<=65510}function t(F){return F>=4352&&F<=4447||F===8986||F===8987||F===9001||F===9002||F>=9193&&F<=9196||F===9200||F===9203||F===9725||F===9726||F===9748||F===9749||F>=9776&&F<=9783||F>=9800&&F<=9811||F===9855||F>=9866&&F<=9871||F===9875||F===9889||F===9898||F===9899||F===9917||F===9918||F===9924||F===9925||F===9934||F===9940||F===9962||F===9970||F===9971||F===9973||F===9978||F===9981||F===9989||F===9994||F===9995||F===10024||F===10060||F===10062||F>=10067&&F<=10069||F===10071||F>=10133&&F<=10135||F===10160||F===10175||F===11035||F===11036||F===11088||F===11093||F>=11904&&F<=11929||F>=11931&&F<=12019||F>=12032&&F<=12245||F>=12272&&F<=12287||F>=12289&&F<=12350||F>=12353&&F<=12438||F>=12441&&F<=12543||F>=12549&&F<=12591||F>=12593&&F<=12686||F>=12688&&F<=12773||F>=12783&&F<=12830||F>=12832&&F<=12871||F>=12880&&F<=42124||F>=42128&&F<=42182||F>=43360&&F<=43388||F>=44032&&F<=55203||F>=63744&&F<=64255||F>=65040&&F<=65049||F>=65072&&F<=65106||F>=65108&&F<=65126||F>=65128&&F<=65131||F>=94176&&F<=94180||F===94192||F===94193||F>=94208&&F<=100343||F>=100352&&F<=101589||F>=101631&&F<=101640||F>=110576&&F<=110579||F>=110581&&F<=110587||F===110589||F===110590||F>=110592&&F<=110882||F===110898||F>=110928&&F<=110930||F===110933||F>=110948&&F<=110951||F>=110960&&F<=111355||F>=119552&&F<=119638||F>=119648&&F<=119670||F===126980||F===127183||F===127374||F>=127377&&F<=127386||F>=127488&&F<=127490||F>=127504&&F<=127547||F>=127552&&F<=127560||F===127568||F===127569||F>=127584&&F<=127589||F>=127744&&F<=127776||F>=127789&&F<=127797||F>=127799&&F<=127868||F>=127870&&F<=127891||F>=127904&&F<=127946||F>=127951&&F<=127955||F>=127968&&F<=127984||F===127988||F>=127992&&F<=128062||F===128064||F>=128066&&F<=128252||F>=128255&&F<=128317||F>=128331&&F<=128334||F>=128336&&F<=128359||F===128378||F===128405||F===128406||F===128420||F>=128507&&F<=128591||F>=128640&&F<=128709||F===128716||F>=128720&&F<=128722||F>=128725&&F<=128727||F>=128732&&F<=128735||F===128747||F===128748||F>=128756&&F<=128764||F>=128992&&F<=129003||F===129008||F>=129292&&F<=129338||F>=129340&&F<=129349||F>=129351&&F<=129535||F>=129648&&F<=129660||F>=129664&&F<=129673||F>=129679&&F<=129734||F>=129742&&F<=129756||F>=129759&&F<=129769||F>=129776&&F<=129784||F>=131072&&F<=196605||F>=196608&&F<=262141}function n(F){return e(F)?"ambiguous":r(F)?"fullwidth":F===8361||F>=65377&&F<=65470||F>=65474&&F<=65479||F>=65482&&F<=65487||F>=65490&&F<=65495||F>=65498&&F<=65500||F>=65512&&F<=65518?"halfwidth":F>=32&&F<=126||F===162||F===163||F===165||F===166||F===172||F===175||F>=10214&&F<=10221||F===10629||F===10630?"narrow":t(F)?"wide":"neutral"}var f=u(()=>{A(e,"isAmbiguous");A(r,"isFullWidth");A(t,"isWide");A(n,"getCategory")});var a={};h(a,{_isNarrowWidth:()=>m,eastAsianWidth:()=>W,eastAsianWidthType:()=>x});function s(F){if(!Number.isSafeInteger(F))throw new TypeError(`Expected a code point, got \`${typeof F}\`.`)}function x(F){return s(F),n(F)}function W(F,{ambiguousAsWide:E=!1}={}){return s(F),r(F)||t(F)||E&&e(F)?2:1}var m,o=u(()=>{f();A(s,"validate");A(x,"eastAsianWidthType");A(W,"eastAsianWidth");m=A(F=>!(r(F)||t(F)),"_isNarrowWidth")});module.exports=(o(),w(a));
6
+ "use strict";
7
+ var __defProp = Object.defineProperty;
8
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
9
+ var __getOwnPropNames = Object.getOwnPropertyNames;
10
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
11
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
12
+ var __esm = (fn, res) => function __init() {
13
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
14
+ };
15
+ var __export = (target, all) => {
16
+ for (var name in all)
17
+ __defProp(target, name, { get: all[name], enumerable: true });
18
+ };
19
+ var __copyProps = (to, from, except, desc) => {
20
+ if (from && typeof from === "object" || typeof from === "function") {
21
+ for (let key of __getOwnPropNames(from))
22
+ if (!__hasOwnProp.call(to, key) && key !== except)
23
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
24
+ }
25
+ return to;
26
+ };
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // node_modules/.pnpm/get-east-asian-width@1.3.0/node_modules/get-east-asian-width/lookup.js
30
+ function isAmbiguous(x) {
31
+ return x === 161 || x === 164 || x === 167 || x === 168 || x === 170 || x === 173 || x === 174 || x >= 176 && x <= 180 || x >= 182 && x <= 186 || x >= 188 && x <= 191 || x === 198 || x === 208 || x === 215 || x === 216 || x >= 222 && x <= 225 || x === 230 || x >= 232 && x <= 234 || x === 236 || x === 237 || x === 240 || x === 242 || x === 243 || x >= 247 && x <= 250 || x === 252 || x === 254 || x === 257 || x === 273 || x === 275 || x === 283 || x === 294 || x === 295 || x === 299 || x >= 305 && x <= 307 || x === 312 || x >= 319 && x <= 322 || x === 324 || x >= 328 && x <= 331 || x === 333 || x === 338 || x === 339 || x === 358 || x === 359 || x === 363 || x === 462 || x === 464 || x === 466 || x === 468 || x === 470 || x === 472 || x === 474 || x === 476 || x === 593 || x === 609 || x === 708 || x === 711 || x >= 713 && x <= 715 || x === 717 || x === 720 || x >= 728 && x <= 731 || x === 733 || x === 735 || x >= 768 && x <= 879 || x >= 913 && x <= 929 || x >= 931 && x <= 937 || x >= 945 && x <= 961 || x >= 963 && x <= 969 || x === 1025 || x >= 1040 && x <= 1103 || x === 1105 || x === 8208 || x >= 8211 && x <= 8214 || x === 8216 || x === 8217 || x === 8220 || x === 8221 || x >= 8224 && x <= 8226 || x >= 8228 && x <= 8231 || x === 8240 || x === 8242 || x === 8243 || x === 8245 || x === 8251 || x === 8254 || x === 8308 || x === 8319 || x >= 8321 && x <= 8324 || x === 8364 || x === 8451 || x === 8453 || x === 8457 || x === 8467 || x === 8470 || x === 8481 || x === 8482 || x === 8486 || x === 8491 || x === 8531 || x === 8532 || x >= 8539 && x <= 8542 || x >= 8544 && x <= 8555 || x >= 8560 && x <= 8569 || x === 8585 || x >= 8592 && x <= 8601 || x === 8632 || x === 8633 || x === 8658 || x === 8660 || x === 8679 || x === 8704 || x === 8706 || x === 8707 || x === 8711 || x === 8712 || x === 8715 || x === 8719 || x === 8721 || x === 8725 || x === 8730 || x >= 8733 && x <= 8736 || x === 8739 || x === 8741 || x >= 8743 && x <= 8748 || x === 8750 || x >= 8756 && x <= 8759 || x === 8764 || x === 8765 || x === 8776 || x === 8780 || x === 8786 || x === 8800 || x === 8801 || x >= 8804 && x <= 8807 || x === 8810 || x === 8811 || x === 8814 || x === 8815 || x === 8834 || x === 8835 || x === 8838 || x === 8839 || x === 8853 || x === 8857 || x === 8869 || x === 8895 || x === 8978 || x >= 9312 && x <= 9449 || x >= 9451 && x <= 9547 || x >= 9552 && x <= 9587 || x >= 9600 && x <= 9615 || x >= 9618 && x <= 9621 || x === 9632 || x === 9633 || x >= 9635 && x <= 9641 || x === 9650 || x === 9651 || x === 9654 || x === 9655 || x === 9660 || x === 9661 || x === 9664 || x === 9665 || x >= 9670 && x <= 9672 || x === 9675 || x >= 9678 && x <= 9681 || x >= 9698 && x <= 9701 || x === 9711 || x === 9733 || x === 9734 || x === 9737 || x === 9742 || x === 9743 || x === 9756 || x === 9758 || x === 9792 || x === 9794 || x === 9824 || x === 9825 || x >= 9827 && x <= 9829 || x >= 9831 && x <= 9834 || x === 9836 || x === 9837 || x === 9839 || x === 9886 || x === 9887 || x === 9919 || x >= 9926 && x <= 9933 || x >= 9935 && x <= 9939 || x >= 9941 && x <= 9953 || x === 9955 || x === 9960 || x === 9961 || x >= 9963 && x <= 9969 || x === 9972 || x >= 9974 && x <= 9977 || x === 9979 || x === 9980 || x === 9982 || x === 9983 || x === 10045 || x >= 10102 && x <= 10111 || x >= 11094 && x <= 11097 || x >= 12872 && x <= 12879 || x >= 57344 && x <= 63743 || x >= 65024 && x <= 65039 || x === 65533 || x >= 127232 && x <= 127242 || x >= 127248 && x <= 127277 || x >= 127280 && x <= 127337 || x >= 127344 && x <= 127373 || x === 127375 || x === 127376 || x >= 127387 && x <= 127404 || x >= 917760 && x <= 917999 || x >= 983040 && x <= 1048573 || x >= 1048576 && x <= 1114109;
32
+ }
33
+ function isFullWidth(x) {
34
+ return x === 12288 || x >= 65281 && x <= 65376 || x >= 65504 && x <= 65510;
35
+ }
36
+ function isWide(x) {
37
+ return x >= 4352 && x <= 4447 || x === 8986 || x === 8987 || x === 9001 || x === 9002 || x >= 9193 && x <= 9196 || x === 9200 || x === 9203 || x === 9725 || x === 9726 || x === 9748 || x === 9749 || x >= 9776 && x <= 9783 || x >= 9800 && x <= 9811 || x === 9855 || x >= 9866 && x <= 9871 || x === 9875 || x === 9889 || x === 9898 || x === 9899 || x === 9917 || x === 9918 || x === 9924 || x === 9925 || x === 9934 || x === 9940 || x === 9962 || x === 9970 || x === 9971 || x === 9973 || x === 9978 || x === 9981 || x === 9989 || x === 9994 || x === 9995 || x === 10024 || x === 10060 || x === 10062 || x >= 10067 && x <= 10069 || x === 10071 || x >= 10133 && x <= 10135 || x === 10160 || x === 10175 || x === 11035 || x === 11036 || x === 11088 || x === 11093 || x >= 11904 && x <= 11929 || x >= 11931 && x <= 12019 || x >= 12032 && x <= 12245 || x >= 12272 && x <= 12287 || x >= 12289 && x <= 12350 || x >= 12353 && x <= 12438 || x >= 12441 && x <= 12543 || x >= 12549 && x <= 12591 || x >= 12593 && x <= 12686 || x >= 12688 && x <= 12773 || x >= 12783 && x <= 12830 || x >= 12832 && x <= 12871 || x >= 12880 && x <= 42124 || x >= 42128 && x <= 42182 || x >= 43360 && x <= 43388 || x >= 44032 && x <= 55203 || x >= 63744 && x <= 64255 || x >= 65040 && x <= 65049 || x >= 65072 && x <= 65106 || x >= 65108 && x <= 65126 || x >= 65128 && x <= 65131 || x >= 94176 && x <= 94180 || x === 94192 || x === 94193 || x >= 94208 && x <= 100343 || x >= 100352 && x <= 101589 || x >= 101631 && x <= 101640 || x >= 110576 && x <= 110579 || x >= 110581 && x <= 110587 || x === 110589 || x === 110590 || x >= 110592 && x <= 110882 || x === 110898 || x >= 110928 && x <= 110930 || x === 110933 || x >= 110948 && x <= 110951 || x >= 110960 && x <= 111355 || x >= 119552 && x <= 119638 || x >= 119648 && x <= 119670 || x === 126980 || x === 127183 || x === 127374 || x >= 127377 && x <= 127386 || x >= 127488 && x <= 127490 || x >= 127504 && x <= 127547 || x >= 127552 && x <= 127560 || x === 127568 || x === 127569 || x >= 127584 && x <= 127589 || x >= 127744 && x <= 127776 || x >= 127789 && x <= 127797 || x >= 127799 && x <= 127868 || x >= 127870 && x <= 127891 || x >= 127904 && x <= 127946 || x >= 127951 && x <= 127955 || x >= 127968 && x <= 127984 || x === 127988 || x >= 127992 && x <= 128062 || x === 128064 || x >= 128066 && x <= 128252 || x >= 128255 && x <= 128317 || x >= 128331 && x <= 128334 || x >= 128336 && x <= 128359 || x === 128378 || x === 128405 || x === 128406 || x === 128420 || x >= 128507 && x <= 128591 || x >= 128640 && x <= 128709 || x === 128716 || x >= 128720 && x <= 128722 || x >= 128725 && x <= 128727 || x >= 128732 && x <= 128735 || x === 128747 || x === 128748 || x >= 128756 && x <= 128764 || x >= 128992 && x <= 129003 || x === 129008 || x >= 129292 && x <= 129338 || x >= 129340 && x <= 129349 || x >= 129351 && x <= 129535 || x >= 129648 && x <= 129660 || x >= 129664 && x <= 129673 || x >= 129679 && x <= 129734 || x >= 129742 && x <= 129756 || x >= 129759 && x <= 129769 || x >= 129776 && x <= 129784 || x >= 131072 && x <= 196605 || x >= 196608 && x <= 262141;
38
+ }
39
+ function getCategory(x) {
40
+ if (isAmbiguous(x)) return "ambiguous";
41
+ if (isFullWidth(x)) return "fullwidth";
42
+ if (x === 8361 || x >= 65377 && x <= 65470 || x >= 65474 && x <= 65479 || x >= 65482 && x <= 65487 || x >= 65490 && x <= 65495 || x >= 65498 && x <= 65500 || x >= 65512 && x <= 65518) {
43
+ return "halfwidth";
44
+ }
45
+ if (x >= 32 && x <= 126 || x === 162 || x === 163 || x === 165 || x === 166 || x === 172 || x === 175 || x >= 10214 && x <= 10221 || x === 10629 || x === 10630) {
46
+ return "narrow";
47
+ }
48
+ if (isWide(x)) return "wide";
49
+ return "neutral";
50
+ }
51
+ var init_lookup = __esm({
52
+ "node_modules/.pnpm/get-east-asian-width@1.3.0/node_modules/get-east-asian-width/lookup.js"() {
53
+ __name(isAmbiguous, "isAmbiguous");
54
+ __name(isFullWidth, "isFullWidth");
55
+ __name(isWide, "isWide");
56
+ __name(getCategory, "getCategory");
57
+ }
58
+ });
59
+
60
+ // node_modules/.pnpm/get-east-asian-width@1.3.0/node_modules/get-east-asian-width/index.js
61
+ var get_east_asian_width_exports = {};
62
+ __export(get_east_asian_width_exports, {
63
+ _isNarrowWidth: () => _isNarrowWidth,
64
+ eastAsianWidth: () => eastAsianWidth,
65
+ eastAsianWidthType: () => eastAsianWidthType
66
+ });
67
+ function validate(codePoint) {
68
+ if (!Number.isSafeInteger(codePoint)) {
69
+ throw new TypeError(`Expected a code point, got \`${typeof codePoint}\`.`);
70
+ }
71
+ }
72
+ function eastAsianWidthType(codePoint) {
73
+ validate(codePoint);
74
+ return getCategory(codePoint);
75
+ }
76
+ function eastAsianWidth(codePoint, { ambiguousAsWide = false } = {}) {
77
+ validate(codePoint);
78
+ if (isFullWidth(codePoint) || isWide(codePoint) || ambiguousAsWide && isAmbiguous(codePoint)) {
79
+ return 2;
80
+ }
81
+ return 1;
82
+ }
83
+ var _isNarrowWidth;
84
+ var init_get_east_asian_width = __esm({
85
+ "node_modules/.pnpm/get-east-asian-width@1.3.0/node_modules/get-east-asian-width/index.js"() {
86
+ init_lookup();
87
+ __name(validate, "validate");
88
+ __name(eastAsianWidthType, "eastAsianWidthType");
89
+ __name(eastAsianWidth, "eastAsianWidth");
90
+ _isNarrowWidth = /* @__PURE__ */ __name((codePoint) => !(isFullWidth(codePoint) || isWide(codePoint)), "_isNarrowWidth");
91
+ }
92
+ });
93
+
94
+ // src/external/get-east-asian-width.js
95
+ module.exports = (init_get_east_asian_width(), __toCommonJS(get_east_asian_width_exports));
@@ -3,4 +3,36 @@
3
3
  * Bundled from libnpmexec
4
4
  * This is a zero-dependency bundle created by esbuild.
5
5
  */
6
- "use strict";var o=Object.defineProperty;var r=(t,e)=>o(t,"name",{value:e,configurable:!0});var c=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var i=c((d,s)=>{var u=r(t=>{let e=t.bin||{};if(new Set(Object.values(e)).size===1)return Object.keys(e)[0];let n=t.name.replace(/^@[^/]+\//,"");if(e[n])return n;throw Object.assign(new Error("could not determine executable to run"),{pkgid:t._id})},"getBinFromManifest");s.exports=u});var a=i();module.exports={getBinFromManifest:a};
6
+ "use strict";
7
+ var __defProp = Object.defineProperty;
8
+ var __getOwnPropNames = Object.getOwnPropertyNames;
9
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
10
+ var __commonJS = (cb, mod) => function __require() {
11
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
12
+ };
13
+
14
+ // node_modules/.pnpm/libnpmexec@10.1.8/node_modules/libnpmexec/lib/get-bin-from-manifest.js
15
+ var require_get_bin_from_manifest = __commonJS({
16
+ "node_modules/.pnpm/libnpmexec@10.1.8/node_modules/libnpmexec/lib/get-bin-from-manifest.js"(exports2, module2) {
17
+ var getBinFromManifest2 = /* @__PURE__ */ __name((mani) => {
18
+ const bin = mani.bin || {};
19
+ if (new Set(Object.values(bin)).size === 1) {
20
+ return Object.keys(bin)[0];
21
+ }
22
+ const name = mani.name.replace(/^@[^/]+\//, "");
23
+ if (bin[name]) {
24
+ return name;
25
+ }
26
+ throw Object.assign(new Error("could not determine executable to run"), {
27
+ pkgid: mani._id
28
+ });
29
+ }, "getBinFromManifest");
30
+ module2.exports = getBinFromManifest2;
31
+ }
32
+ });
33
+
34
+ // src/external/libnpmexec.js
35
+ var getBinFromManifest = require_get_bin_from_manifest();
36
+ module.exports = {
37
+ getBinFromManifest
38
+ };