@sourcegraph/amp 0.0.1748851339-g31df22 → 0.0.1748877319-g69d2be

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 (52) hide show
  1. package/dist/amp.js +3 -2
  2. package/dist/amp.js.map +1 -1
  3. package/dist/client-CEMYqypS.js +35 -0
  4. package/dist/client-CEMYqypS.js.map +1 -0
  5. package/dist/{console-k3nh7b4U.js → console-Dz8kjLXq.js} +38668 -17361
  6. package/dist/console-Dz8kjLXq.js.map +1 -0
  7. package/dist/{create_file.node-Dxp9NAiW.js → create_file.node-Dkg9a9qS.js} +2 -2
  8. package/dist/{create_file.node-Dxp9NAiW.js.map → create_file.node-Dkg9a9qS.js.map} +1 -1
  9. package/dist/{edit_file.node-BlCpGVR-.js → edit_file.node-BzmJeIBM.js} +10 -10
  10. package/dist/{edit_file.node-BlCpGVR-.js.map → edit_file.node-BzmJeIBM.js.map} +1 -1
  11. package/dist/{executable-DTI1_xm7.js → executable-BfvtWYTF.js} +2 -2
  12. package/dist/{executable-DTI1_xm7.js.map → executable-BfvtWYTF.js.map} +1 -1
  13. package/dist/{files-DdjDm_B8.js → files-DLJqtzT7.js} +3 -3
  14. package/dist/{files-DdjDm_B8.js.map → files-DLJqtzT7.js.map} +1 -1
  15. package/dist/glob.node-D18uhtO0.js +137 -0
  16. package/dist/glob.node-D18uhtO0.js.map +1 -0
  17. package/dist/index-DDEnF9L5.js +922 -0
  18. package/dist/index-DDEnF9L5.js.map +1 -0
  19. package/dist/{list_directory.node-DDhJZGvT.js → list_directory.node-ldHqnCmb.js} +2 -2
  20. package/dist/{list_directory.node-DDhJZGvT.js.map → list_directory.node-ldHqnCmb.js.map} +1 -1
  21. package/dist/{load-profile-CWDhvBXX.js → load-profile-2hKEWJfV.js} +2 -2
  22. package/dist/{load-profile-CWDhvBXX.js.map → load-profile-2hKEWJfV.js.map} +1 -1
  23. package/dist/main-BnHTihL6.js +19700 -0
  24. package/dist/main-BnHTihL6.js.map +1 -0
  25. package/dist/{node-B1RLuGfG.js → node-BHe5RJPs.js} +41 -41
  26. package/dist/{node-B1RLuGfG.js.map → node-BHe5RJPs.js.map} +1 -1
  27. package/dist/{node-w5kFgl6-.js → node-BMzC1GPN.js} +47 -47
  28. package/dist/{node-w5kFgl6-.js.map → node-BMzC1GPN.js.map} +1 -1
  29. package/dist/node-BRxAOe2b.js +85 -0
  30. package/dist/node-BRxAOe2b.js.map +1 -0
  31. package/dist/{node-DGc3Eu0F.js → node-CUTKGt9Y.js} +3 -3
  32. package/dist/{node-DGc3Eu0F.js.map → node-CUTKGt9Y.js.map} +1 -1
  33. package/dist/{node-BZlRkYQw.js → node-CzSXw-Xz.js} +2 -2
  34. package/dist/{node-BZlRkYQw.js.map → node-CzSXw-Xz.js.map} +1 -1
  35. package/dist/{node-DuhaU87r.js → node-DcXu8fEU.js} +1090 -833
  36. package/dist/node-DcXu8fEU.js.map +1 -0
  37. package/dist/{read_file.node-CsATnmUF.js → read_file.node-6DnwIJAn.js} +2 -2
  38. package/dist/{read_file.node-CsATnmUF.js.map → read_file.node-6DnwIJAn.js.map} +1 -1
  39. package/dist/{stdio-Egb8ZIIg.js → stdio-B_076PGB.js} +29 -29
  40. package/dist/{stdio-Egb8ZIIg.js.map → stdio-B_076PGB.js.map} +1 -1
  41. package/dist/storybook.js +1 -1
  42. package/dist/{undo_edit.node-CHrrMPkn.js → undo_edit.node-WsSsWWo7.js} +10 -10
  43. package/dist/{undo_edit.node-CHrrMPkn.js.map → undo_edit.node-WsSsWWo7.js.map} +1 -1
  44. package/package.json +1 -1
  45. package/dist/console-k3nh7b4U.js.map +0 -1
  46. package/dist/glob.node-BnKeKl9M.js +0 -1051
  47. package/dist/glob.node-BnKeKl9M.js.map +0 -1
  48. package/dist/main-DuPQOPga.js +0 -40843
  49. package/dist/main-DuPQOPga.js.map +0 -1
  50. package/dist/node-3m0J6gBv.js +0 -72
  51. package/dist/node-3m0J6gBv.js.map +0 -1
  52. package/dist/node-DuhaU87r.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { Y as Pe, X as st, p as lt } from "./console-k3nh7b4U.js";
2
+ import { a9 as Pe, a8 as st, p as lt } from "./console-Dz8kjLXq.js";
3
3
  var pe = {}, Pu = {}, be = {}, Me;
4
4
  function ne() {
5
5
  return Me || (Me = 1, function(u) {
@@ -60,7 +60,7 @@ function ne() {
60
60
  u.createTranslatorContext = l;
61
61
  }(be)), be;
62
62
  }
63
- var he = {}, G = {}, J = {}, hu = {}, Yu = {}, Iu = { exports: {} };
63
+ var he = {}, G = {}, J = {}, hu = {}, Zu = {}, Iu = { exports: {} };
64
64
  /*! https://mths.be/he v1.2.0 by @mathias | MIT license */
65
65
  var dt = Iu.exports, je;
66
66
  function Be() {
@@ -123,7 +123,7 @@ function Be() {
123
123
  })), y = y.replace(/>\u20D2/g, ">⃒").replace(/<\u20D2/g, "<⃒"), y = y.replace(e, function($) {
124
124
  return "&" + c[$] + ";";
125
125
  })) : j || (y = y.replace(d, W)), y.replace(a, function($) {
126
- var I = $.charCodeAt(0), Y = $.charCodeAt(1), eu = (I - 55296) * 1024 + Y - 56320 + 65536;
126
+ var I = $.charCodeAt(0), Z = $.charCodeAt(1), eu = (I - 55296) * 1024 + Z - 56320 + 65536;
127
127
  return X(eu);
128
128
  }).replace(t, W);
129
129
  };
@@ -137,11 +137,11 @@ function Be() {
137
137
  var F = function(y, N) {
138
138
  N = M(N, F.options);
139
139
  var _ = N.strict;
140
- return _ && p.test(y) && S("malformed character reference"), y.replace(g, function(P, k, j, X, W, $, I, Y, eu) {
140
+ return _ && p.test(y) && S("malformed character reference"), y.replace(g, function(P, k, j, X, W, $, I, Z, eu) {
141
141
  var cu, ru, Su, zu, Bu, vu;
142
142
  return k ? (Bu = k, v[Bu]) : j ? (Bu = j, vu = X, vu && N.isAttributeValue ? (_ && vu == "=" && S("`&` did not start a character reference"), P) : (_ && S(
143
143
  "named character reference was not terminated by a semicolon"
144
- ), q[Bu] + (vu || ""))) : W ? (Su = W, ru = $, _ && !ru && S("character reference was not terminated by a semicolon"), cu = parseInt(Su, 10), U(cu, _)) : I ? (zu = I, ru = Y, _ && !ru && S("character reference was not terminated by a semicolon"), cu = parseInt(zu, 16), U(cu, _)) : (_ && S(
144
+ ), q[Bu] + (vu || ""))) : W ? (Su = W, ru = $, _ && !ru && S("character reference was not terminated by a semicolon"), cu = parseInt(Su, 10), U(cu, _)) : I ? (zu = I, ru = Z, _ && !ru && S("character reference was not terminated by a semicolon"), cu = parseInt(zu, 16), U(cu, _)) : (_ && S(
145
145
  "named character reference was not terminated by a semicolon"
146
146
  ), P);
147
147
  });
@@ -174,8 +174,8 @@ function Be() {
174
174
  }
175
175
  var He;
176
176
  function ie() {
177
- if (He) return Yu;
178
- He = 1, Object.defineProperty(Yu, "__esModule", { value: !0 });
177
+ if (He) return Zu;
178
+ He = 1, Object.defineProperty(Zu, "__esModule", { value: !0 });
179
179
  var u = Be(), o = (
180
180
  /** @class */
181
181
  function() {
@@ -214,16 +214,16 @@ function ie() {
214
214
  }), s;
215
215
  }()
216
216
  );
217
- return Yu.default = o, Yu;
217
+ return Zu.default = o, Zu;
218
218
  }
219
- var Zu = {}, Ue;
219
+ var Yu = {}, Ue;
220
220
  function Gu() {
221
- if (Ue) return Zu;
222
- Ue = 1, Object.defineProperty(Zu, "__esModule", { value: !0 });
221
+ if (Ue) return Yu;
222
+ Ue = 1, Object.defineProperty(Yu, "__esModule", { value: !0 });
223
223
  var u;
224
224
  return function(o) {
225
225
  o[o.ELEMENT_NODE = 1] = "ELEMENT_NODE", o[o.TEXT_NODE = 3] = "TEXT_NODE", o[o.COMMENT_NODE = 8] = "COMMENT_NODE";
226
- }(u || (u = {})), Zu.default = u, Zu;
226
+ }(u || (u = {})), Yu.default = u, Yu;
227
227
  }
228
228
  var Ve;
229
229
  function $r() {
@@ -746,7 +746,7 @@ function pt() {
746
746
  )), Qu;
747
747
  }
748
748
  var ve = {}, Xe;
749
- function Ye() {
749
+ function Ze() {
750
750
  return Xe || (Xe = 1, function(u) {
751
751
  var o;
752
752
  Object.defineProperty(u, "__esModule", { value: !0 }), u.replaceCodePoint = u.fromCodePoint = void 0;
@@ -797,9 +797,9 @@ function Ye() {
797
797
  u.default = b;
798
798
  }(ve)), ve;
799
799
  }
800
- var Ze;
800
+ var Ye;
801
801
  function Ke() {
802
- return Ze || (Ze = 1, function(u) {
802
+ return Ye || (Ye = 1, function(u) {
803
803
  var o = nu && nu.__createBinding || (Object.create ? function(x, L, S, R) {
804
804
  R === void 0 && (R = S);
805
805
  var F = Object.getOwnPropertyDescriptor(L, S);
@@ -825,9 +825,9 @@ function Ke() {
825
825
  u.htmlDecodeTree = i.default;
826
826
  var a = b(/* @__PURE__ */ pt());
827
827
  u.xmlDecodeTree = a.default;
828
- var r = l(/* @__PURE__ */ Ye());
828
+ var r = l(/* @__PURE__ */ Ze());
829
829
  u.decodeCodePoint = r.default;
830
- var t = /* @__PURE__ */ Ye();
830
+ var t = /* @__PURE__ */ Ze();
831
831
  Object.defineProperty(u, "replaceCodePoint", { enumerable: !0, get: function() {
832
832
  return t.replaceCodePoint;
833
833
  } }), Object.defineProperty(u, "fromCodePoint", { enumerable: !0, get: function() {
@@ -1880,7 +1880,7 @@ function Lu() {
1880
1880
  }
1881
1881
  }), Ae;
1882
1882
  }
1883
- var Z = {}, V;
1883
+ var Y = {}, V;
1884
1884
  (function(u) {
1885
1885
  u.Attribute = "attribute", u.Pseudo = "pseudo", u.PseudoElement = "pseudo-element", u.Tag = "tag", u.Universal = "universal", u.Adjacent = "adjacent", u.Child = "child", u.Descendant = "descendant", u.Parent = "parent", u.Sibling = "sibling", u.ColumnCombinator = "column-combinator";
1886
1886
  })(V || (V = {}));
@@ -1910,7 +1910,7 @@ const hr = /^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/, xt = /\\(
1910
1910
  "host",
1911
1911
  "host-context"
1912
1912
  ]);
1913
- function Yr(u) {
1913
+ function Zr(u) {
1914
1914
  switch (u.type) {
1915
1915
  case V.Adjacent:
1916
1916
  case V.Child:
@@ -1944,12 +1944,12 @@ function gr(u) {
1944
1944
  return u === 32 || u === 9 || u === 10 || u === 12 || u === 13;
1945
1945
  }
1946
1946
  function Nt(u) {
1947
- const o = [], s = Zr(o, `${u}`, 0);
1947
+ const o = [], s = Yr(o, `${u}`, 0);
1948
1948
  if (s < u.length)
1949
1949
  throw new Error(`Unmatched selector: ${u.slice(s)}`);
1950
1950
  return o;
1951
1951
  }
1952
- function Zr(u, o, s) {
1952
+ function Yr(u, o, s) {
1953
1953
  let l = [];
1954
1954
  function b(f) {
1955
1955
  const p = o.slice(s + f).match(hr);
@@ -1979,7 +1979,7 @@ function Zr(u, o, s) {
1979
1979
  return (p & 1) === 1;
1980
1980
  }
1981
1981
  function t() {
1982
- if (l.length > 0 && Yr(l[l.length - 1]))
1982
+ if (l.length > 0 && Zr(l[l.length - 1]))
1983
1983
  throw new Error("Did not expect successive traversals.");
1984
1984
  }
1985
1985
  function e(f) {
@@ -2104,7 +2104,7 @@ function Zr(u, o, s) {
2104
2104
  if (Tt.has(p)) {
2105
2105
  if (ye(o.charCodeAt(s + 1)))
2106
2106
  throw new Error(`Pseudo-selector ${p} cannot be quoted`);
2107
- if (n = [], s = Zr(n, o, s + 1), o.charCodeAt(s) !== 41)
2107
+ if (n = [], s = Yr(n, o, s + 1), o.charCodeAt(s) !== 41)
2108
2108
  throw new Error(`Missing closing parenthesis in :${p} (${o})`);
2109
2109
  s += 1;
2110
2110
  } else {
@@ -2239,7 +2239,7 @@ const St = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2239
2239
  get SelectorType() {
2240
2240
  return V;
2241
2241
  },
2242
- isTraversal: Yr,
2242
+ isTraversal: Zr,
2243
2243
  parse: Nt,
2244
2244
  stringify: ut
2245
2245
  }, Symbol.toStringTag, { value: "Module" })), oe = /* @__PURE__ */ st(St);
@@ -2987,9 +2987,9 @@ function Ut() {
2987
2987
  }
2988
2988
  var Fr;
2989
2989
  function Vt() {
2990
- if (Fr) return Z;
2990
+ if (Fr) return Y;
2991
2991
  Fr = 1;
2992
- var u = Z && Z.__createBinding || (Object.create ? function(E, m, h, D) {
2992
+ var u = Y && Y.__createBinding || (Object.create ? function(E, m, h, D) {
2993
2993
  D === void 0 && (D = h);
2994
2994
  var C = Object.getOwnPropertyDescriptor(m, h);
2995
2995
  (!C || ("get" in C ? !m.__esModule : C.writable || C.configurable)) && (C = { enumerable: !0, get: function() {
@@ -2997,30 +2997,30 @@ function Vt() {
2997
2997
  } }), Object.defineProperty(E, D, C);
2998
2998
  } : function(E, m, h, D) {
2999
2999
  D === void 0 && (D = h), E[D] = m[h];
3000
- }), o = Z && Z.__setModuleDefault || (Object.create ? function(E, m) {
3000
+ }), o = Y && Y.__setModuleDefault || (Object.create ? function(E, m) {
3001
3001
  Object.defineProperty(E, "default", { enumerable: !0, value: m });
3002
3002
  } : function(E, m) {
3003
3003
  E.default = m;
3004
- }), s = Z && Z.__importStar || function(E) {
3004
+ }), s = Y && Y.__importStar || function(E) {
3005
3005
  if (E && E.__esModule) return E;
3006
3006
  var m = {};
3007
3007
  if (E != null) for (var h in E) h !== "default" && Object.prototype.hasOwnProperty.call(E, h) && u(m, E, h);
3008
3008
  return o(m, E), m;
3009
- }, l = Z && Z.__importDefault || function(E) {
3009
+ }, l = Y && Y.__importDefault || function(E) {
3010
3010
  return E && E.__esModule ? E : { default: E };
3011
3011
  };
3012
- Object.defineProperty(Z, "__esModule", { value: !0 }), Z.compileToken = Z.compileUnsafe = Z.compile = void 0;
3012
+ Object.defineProperty(Y, "__esModule", { value: !0 }), Y.compileToken = Y.compileUnsafe = Y.compile = void 0;
3013
3013
  var b = oe, i = l(Lu()), a = s(rt()), r = Ut(), t = qe();
3014
3014
  function e(E, m, h) {
3015
3015
  var D = c(E, m, h);
3016
3016
  return (0, t.ensureIsTag)(D, m.adapter);
3017
3017
  }
3018
- Z.compile = e;
3018
+ Y.compile = e;
3019
3019
  function c(E, m, h) {
3020
3020
  var D = typeof E == "string" ? (0, b.parse)(E) : E;
3021
3021
  return v(D, m, h);
3022
3022
  }
3023
- Z.compileUnsafe = c;
3023
+ Y.compileUnsafe = c;
3024
3024
  function d(E) {
3025
3025
  return E.type === b.SelectorType.Pseudo && (E.name === "scope" || Array.isArray(E.data) && E.data.some(function(m) {
3026
3026
  return m.some(d);
@@ -3065,7 +3065,7 @@ function Vt() {
3065
3065
  }).reduce(w, i.default.falseFunc);
3066
3066
  return U.shouldTestNextSiblings = M, U;
3067
3067
  }
3068
- Z.compileToken = v;
3068
+ Y.compileToken = v;
3069
3069
  function q(E, m, h) {
3070
3070
  var D;
3071
3071
  return E.reduce(function(C, O) {
@@ -3077,7 +3077,7 @@ function Vt() {
3077
3077
  return E(D) || m(D);
3078
3078
  };
3079
3079
  }
3080
- return Z;
3080
+ return Y;
3081
3081
  }
3082
3082
  var _r;
3083
3083
  function It() {
@@ -3725,8 +3725,8 @@ function Ne() {
3725
3725
  if (k(I))
3726
3726
  X = I;
3727
3727
  else {
3728
- var Y = B.get(I);
3729
- Y && (X = _(k, [Y]));
3728
+ var Z = B.get(I);
3729
+ Z && (X = _(k, [Z]));
3730
3730
  }
3731
3731
  }
3732
3732
  return X;
@@ -4008,7 +4008,7 @@ function Ne() {
4008
4008
  }
4009
4009
  var W = function(tu, ku) {
4010
4010
  return [tu - vu, ku - vu];
4011
- }, $ = new D(null, {}, "", null, [0, F.length], y, T), I = $, Y = [$], eu = -1, cu = void 0, ru;
4011
+ }, $ = new D(null, {}, "", null, [0, F.length], y, T), I = $, Z = [$], eu = -1, cu = void 0, ru;
4012
4012
  F = "<".concat(x, ">").concat(F, "</").concat(x, ">");
4013
4013
  for (var Su = T.lowerCaseTagName, zu = T.fixNestedATags, Bu = F.length - (x.length + 2), vu = x.length + 2; ru = C.exec(F); ) {
4014
4014
  var Le = ru[0], se = ru[1], Q = ru[2], Se = ru[3], Oe = ru[4], le = Le.length, $u = C.lastIndex - le, Wu = C.lastIndex;
@@ -4030,12 +4030,12 @@ function Ne() {
4030
4030
  Re[it.toLowerCase()] = ct ? Ou.slice(1, Ou.length - 1) : Ou;
4031
4031
  }
4032
4032
  var Ru = I.rawTagName;
4033
- !Oe && M[Ru] && M[Ru][Q] && (Y.pop(), I = (0, a.default)(Y)), zu && (Q === "a" || Q === "A") && (cu !== void 0 && (Y.splice(cu), I = (0, a.default)(Y)), cu = Y.length);
4033
+ !Oe && M[Ru] && M[Ru][Q] && (Z.pop(), I = (0, a.default)(Z)), zu && (Q === "a" || Q === "A") && (cu !== void 0 && (Z.splice(cu), I = (0, a.default)(Z)), cu = Z.length);
4034
4034
  var Ju = C.lastIndex, ot = Ju - le;
4035
4035
  if (I = I.appendChild(
4036
4036
  // Initialize range (end position updated later for closed tags)
4037
4037
  new D(Q, Re, Se.slice(1), null, W(ot, Ju), y, T)
4038
- ), Y.push(I), X(Q)) {
4038
+ ), Z.push(I), X(Q)) {
4039
4039
  var fe = "</".concat(Q, ">"), Xu = Su ? F.toLocaleLowerCase().indexOf(fe, C.lastIndex) : F.indexOf(fe, C.lastIndex), ke = Xu === -1 ? Bu : Xu;
4040
4040
  if (j(Q)) {
4041
4041
  var Du = F.substring(Ju, ke);
@@ -4047,19 +4047,19 @@ function Ne() {
4047
4047
  if (se || Oe || y.isVoidElement(Q))
4048
4048
  for (; ; )
4049
4049
  if (cu != null && (Q === "a" || Q === "A") && (cu = void 0), I.rawTagName === Q) {
4050
- I.range[1] = W(-1, Math.max(eu, Wu))[1], Y.pop(), I = (0, a.default)(Y);
4050
+ I.range[1] = W(-1, Math.max(eu, Wu))[1], Z.pop(), I = (0, a.default)(Z);
4051
4051
  break;
4052
4052
  } else {
4053
4053
  var Ru = I.tagName;
4054
4054
  if (U[Ru] && U[Ru][Q]) {
4055
- Y.pop(), I = (0, a.default)(Y);
4055
+ Z.pop(), I = (0, a.default)(Z);
4056
4056
  continue;
4057
4057
  }
4058
4058
  break;
4059
4059
  }
4060
4060
  }
4061
4061
  }
4062
- return Y;
4062
+ return Z;
4063
4063
  }
4064
4064
  K.base_parse = L;
4065
4065
  function S(F, T) {
@@ -4600,7 +4600,7 @@ function Xt() {
4600
4600
  }(we)), we;
4601
4601
  }
4602
4602
  var Ir;
4603
- function Yt() {
4603
+ function Zt() {
4604
4604
  if (Ir) return Tu;
4605
4605
  Ir = 1, Object.defineProperty(Tu, "__esModule", { value: !0 }), Tu.getMarkdownForHtmlNodes = Tu.Visitor = void 0;
4606
4606
  const u = Xt(), o = Fe(), s = ne(), l = _e();
@@ -4740,10 +4740,10 @@ function Yt() {
4740
4740
  return Tu.getMarkdownForHtmlNodes = i, Tu;
4741
4741
  }
4742
4742
  var Gr;
4743
- function Zt() {
4743
+ function Yt() {
4744
4744
  if (Gr) return Pu;
4745
4745
  Gr = 1, Object.defineProperty(Pu, "__esModule", { value: !0 }), Pu.NodeHtmlMarkdown = void 0;
4746
- const u = ne(), o = _e(), s = Fe(), l = Yt();
4746
+ const u = ne(), o = _e(), s = Fe(), l = Zt();
4747
4747
  class b {
4748
4748
  constructor(a, r, t) {
4749
4749
  var e, c, d, f;
@@ -4793,7 +4793,7 @@ var zr;
4793
4793
  function Kt() {
4794
4794
  return zr || (zr = 1, function(u) {
4795
4795
  Object.defineProperty(u, "__esModule", { value: !0 }), u.PostProcessResult = u.TranslatorCollection = u.NodeHtmlMarkdown = void 0;
4796
- var o = Zt();
4796
+ var o = Yt();
4797
4797
  Object.defineProperty(u, "NodeHtmlMarkdown", { enumerable: !0, get: function() {
4798
4798
  return o.NodeHtmlMarkdown;
4799
4799
  } });
@@ -4850,4 +4850,4 @@ ${a}`
4850
4850
  export {
4851
4851
  ea as nodeReadWebPageTool
4852
4852
  };
4853
- //# sourceMappingURL=node-w5kFgl6-.js.map
4853
+ //# sourceMappingURL=node-BMzC1GPN.js.map