@shopify/cli 3.82.1 → 3.83.1

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 (101) hide show
  1. package/dist/{chokidar-TTCYG5AA.js → chokidar-KCZH6DIC.js} +5 -5
  2. package/dist/{chokidar-XUA2BN3J.js → chokidar-XPSJ2FUJ.js} +5 -5
  3. package/dist/{chunk-QDLC5TZP.js → chunk-2ZA3MHM5.js} +3 -3
  4. package/dist/{chunk-LPU2VGJR.js → chunk-3FBDJEGD.js} +6153 -11319
  5. package/dist/{chunk-IHFQ3F23.js → chunk-4BPSIIGV.js} +3 -3
  6. package/dist/{chunk-EE5FOU6D.js → chunk-57SXE5DE.js} +2 -2
  7. package/dist/{chunk-TRPRYAWB.js → chunk-5BJYF6FG.js} +4 -4
  8. package/dist/{chunk-7E5ELMEP.js → chunk-5QFLNCVR.js} +6 -6
  9. package/dist/{chunk-F7J5CUMZ.js → chunk-66VZYBID.js} +4 -4
  10. package/dist/{chunk-JFCQDJFN.js → chunk-7EV36FNO.js} +12 -12
  11. package/dist/{chunk-MOIB2YST.js → chunk-7KLV4YSY.js} +2 -2
  12. package/dist/{chunk-TOYQ6OGF.js → chunk-A6DFWCO7.js} +4 -4
  13. package/dist/{chunk-YPVB6B34.js → chunk-ARXCCKJT.js} +9 -9
  14. package/dist/{chunk-LHLR2V5J.js → chunk-ASWHWSRF.js} +2 -2
  15. package/dist/{chunk-B2IEJ5WW.js → chunk-BZBO3V3A.js} +4 -4
  16. package/dist/{chunk-YN4HBUI3.js → chunk-BZFP2O66.js} +7 -7
  17. package/dist/{chunk-API6SOPE.js → chunk-DDU22ZPL.js} +3 -3
  18. package/dist/{chunk-YJPCY2LS.js → chunk-DFABOPSU.js} +4 -4
  19. package/dist/{chunk-UENXYFT3.js → chunk-DVGCJLCA.js} +12 -10
  20. package/dist/{chunk-CLFWIHUG.js → chunk-FEMALH67.js} +4 -4
  21. package/dist/{chunk-SFDHLWEI.js → chunk-FNYLJESL.js} +4 -4
  22. package/dist/{chunk-MPCIJZRR.js → chunk-JEW6HZHJ.js} +3 -3
  23. package/dist/{chunk-5NCPSAFZ.js → chunk-K5GF4S7D.js} +2 -2
  24. package/dist/{chunk-AE3MLJMV.js → chunk-KPFBSWRK.js} +779 -24
  25. package/dist/{chunk-W7ISQU7I.js → chunk-KSLA767C.js} +2 -2
  26. package/dist/{chunk-HPTCTDPD.js → chunk-NJN55E4K.js} +4 -4
  27. package/dist/{chunk-OSWJJWB4.js → chunk-PPDGMVCL.js} +5 -5
  28. package/dist/{chunk-VOPDBKMR.js → chunk-QNMWKLS4.js} +3 -3
  29. package/dist/{chunk-IXOKLO2J.js → chunk-RDAZS4FZ.js} +8 -8
  30. package/dist/{chunk-MBYV3HFV.js → chunk-SJYNVNUB.js} +3 -3
  31. package/dist/{chunk-2UOPOSAQ.js → chunk-SUA462JY.js} +5 -5
  32. package/dist/{chunk-6HSVIAHC.js → chunk-TB443RFG.js} +14 -12
  33. package/dist/{chunk-M4TCGXII.js → chunk-TLYRIQK7.js} +7 -7
  34. package/dist/chunk-UV5N2VL7.js +39 -0
  35. package/dist/{chunk-7AGM22KG.js → chunk-UZIJLLPI.js} +3 -3
  36. package/dist/{chunk-SRBYTZSG.js → chunk-XI6AXLZO.js} +4 -4
  37. package/dist/{chunk-RBHXB7LY.js → chunk-XOIMWH77.js} +2 -2
  38. package/dist/{chunk-GCPVC7EU.js → chunk-XVZQHSFP.js} +5 -5
  39. package/dist/{chunk-EG6MBBEN.js → chunk-Y2JP6WFP.js} +2 -2
  40. package/dist/{chunk-N4LQOIDN.js → chunk-ZQMRVJXG.js} +3 -3
  41. package/dist/cli/commands/auth/logout.js +16 -18
  42. package/dist/cli/commands/auth/logout.test.js +17 -19
  43. package/dist/cli/commands/cache/clear.js +15 -17
  44. package/dist/cli/commands/debug/command-flags.d.ts +1 -1
  45. package/dist/cli/commands/debug/command-flags.js +15 -17
  46. package/dist/cli/commands/docs/generate.js +15 -17
  47. package/dist/cli/commands/docs/generate.test.js +15 -17
  48. package/dist/cli/commands/help.d.ts +2 -2
  49. package/dist/cli/commands/help.js +15 -17
  50. package/dist/cli/commands/kitchen-sink/async.js +16 -18
  51. package/dist/cli/commands/kitchen-sink/async.test.js +16 -18
  52. package/dist/cli/commands/kitchen-sink/index.js +18 -20
  53. package/dist/cli/commands/kitchen-sink/index.test.js +18 -20
  54. package/dist/cli/commands/kitchen-sink/prompts.js +16 -18
  55. package/dist/cli/commands/kitchen-sink/prompts.test.js +16 -18
  56. package/dist/cli/commands/kitchen-sink/static.js +16 -18
  57. package/dist/cli/commands/kitchen-sink/static.test.js +16 -18
  58. package/dist/cli/commands/notifications/generate.js +16 -18
  59. package/dist/cli/commands/notifications/list.d.ts +1 -1
  60. package/dist/cli/commands/notifications/list.js +16 -18
  61. package/dist/cli/commands/search.d.ts +1 -1
  62. package/dist/cli/commands/search.js +16 -18
  63. package/dist/cli/commands/upgrade.js +16 -18
  64. package/dist/cli/commands/version.js +16 -18
  65. package/dist/cli/commands/version.test.js +16 -18
  66. package/dist/cli/services/commands/notifications.js +11 -13
  67. package/dist/cli/services/commands/search.js +7 -9
  68. package/dist/cli/services/commands/search.test.js +7 -9
  69. package/dist/cli/services/commands/version.js +8 -10
  70. package/dist/cli/services/commands/version.test.js +9 -11
  71. package/dist/cli/services/kitchen-sink/async.js +7 -9
  72. package/dist/cli/services/kitchen-sink/prompts.js +7 -9
  73. package/dist/cli/services/kitchen-sink/static.js +7 -9
  74. package/dist/cli/services/upgrade.js +8 -10
  75. package/dist/cli/services/upgrade.test.js +9 -11
  76. package/dist/configs/all.yml +9 -0
  77. package/dist/configs/recommended.yml +9 -0
  78. package/dist/{custom-oclif-loader-SQEUSZSS.js → custom-oclif-loader-XASCYJ7O.js} +7 -9
  79. package/dist/data/filters.json +40 -0
  80. package/dist/data/latest.json +1 -1
  81. package/dist/data/objects.json +28 -16
  82. package/dist/data/tags.json +7 -7
  83. package/dist/data/translations.json +9 -2
  84. package/dist/{chunk-FAITFLRX.js → del-SAZHGAZZ.js} +372 -42
  85. package/dist/{error-handler-EUTRPJGF.js → error-handler-HQBVO3GI.js} +13 -15
  86. package/dist/hooks/postrun.js +11 -13
  87. package/dist/hooks/prerun.js +12 -14
  88. package/dist/{http-proxy-LHSVRGJ5.js → http-proxy-node16-T623PGD4.js} +37 -29
  89. package/dist/index.js +20782 -20289
  90. package/dist/{lib-2ZBT3UR2.js → lib-OSXFX3I2.js} +4 -5
  91. package/dist/{local-DTWKQE2A.js → local-PI2REOYY.js} +7 -9
  92. package/dist/{morph-DFRO3NRL.js → morph-5LWJDWYB.js} +5 -5
  93. package/dist/{node-MZOMVUI6.js → node-NAYZANSZ.js} +17 -19
  94. package/dist/{node-package-manager-NJGCZMAX.js → node-package-manager-RVDETLBX.js} +8 -10
  95. package/dist/{path-GB4VIEM6.js → path-COZT77T2.js} +2 -2
  96. package/dist/tsconfig.tsbuildinfo +1 -1
  97. package/dist/{ui-OUT2NXBE.js → ui-RDFVKEJS.js} +7 -9
  98. package/dist/{workerd-JR3RQRVU.js → workerd-XLT4ZWI5.js} +17 -19
  99. package/oclif.manifest.json +212 -1
  100. package/package.json +14 -12
  101. package/dist/del-4JSTEFDW.js +0 -375
@@ -155,11 +155,11 @@ var require_requires_port = __commonJS({
155
155
  }
156
156
  });
157
157
 
158
- // ../../node_modules/.pnpm/http-proxy@1.18.1/node_modules/http-proxy/lib/http-proxy/common.js
158
+ // ../../node_modules/.pnpm/http-proxy-node16@1.0.6/node_modules/http-proxy-node16/lib/http-proxy/common.js
159
159
  var require_common = __commonJS({
160
- "../../node_modules/.pnpm/http-proxy@1.18.1/node_modules/http-proxy/lib/http-proxy/common.js"(exports) {
160
+ "../../node_modules/.pnpm/http-proxy-node16@1.0.6/node_modules/http-proxy-node16/lib/http-proxy/common.js"(exports) {
161
161
  init_cjs_shims();
162
- var common = exports, url = __require("url"), extend = __require("util")._extend, required = require_requires_port(), upgradeHeader = /(^|,)\s*upgrade\s*($|,)/i, isSSL = /^https|wss/;
162
+ var common = exports, url = __require("url"), extend = Object.assign, required = require_requires_port(), upgradeHeader = /(^|,)\s*upgrade\s*($|,)/i, isSSL = /^https|wss/;
163
163
  common.isSSL = isSSL;
164
164
  common.setupOutgoing = function(outgoing, options, req, forward) {
165
165
  outgoing.port = options[forward || "target"].port || (isSSL.test(options[forward || "target"].protocol) ? 443 : 80), [
@@ -192,10 +192,11 @@ var require_common = __commonJS({
192
192
  return !!(req.connection.encrypted || req.connection.pair);
193
193
  };
194
194
  common.urlJoin = function() {
195
- var args = Array.prototype.slice.call(arguments), lastIndex = args.length - 1, last = args[lastIndex], lastSegs = last.split("?"), retSegs;
196
- return args[lastIndex] = lastSegs.shift(), retSegs = [
197
- args.filter(Boolean).join("/").replace(/\/+/g, "/").replace("http:/", "http://").replace("https:/", "https://")
198
- ], retSegs.push.apply(retSegs, lastSegs), retSegs.join("?");
195
+ var args = Array.prototype.slice.call(arguments), queryParams = [], queryParamRaw = "", retSegs;
196
+ return args.forEach((url2, index) => {
197
+ var qpStart = url2.indexOf("?");
198
+ qpStart !== -1 && (queryParams.push(url2.substring(qpStart + 1)), args[index] = url2.substring(0, qpStart));
199
+ }), queryParamRaw = queryParams.filter(Boolean).join("&"), retSegs = args.filter(Boolean).join("/").replace(/\/+/g, "/").replace("http:/", "http://").replace("https:/", "https://"), queryParamRaw ? retSegs + "?" + queryParamRaw : retSegs;
199
200
  };
200
201
  common.rewriteCookieProperty = function rewriteCookieProperty(header, config, property) {
201
202
  return Array.isArray(header) ? header.map(function(headerElement) {
@@ -217,9 +218,9 @@ var require_common = __commonJS({
217
218
  }
218
219
  });
219
220
 
220
- // ../../node_modules/.pnpm/http-proxy@1.18.1/node_modules/http-proxy/lib/http-proxy/passes/web-outgoing.js
221
+ // ../../node_modules/.pnpm/http-proxy-node16@1.0.6/node_modules/http-proxy-node16/lib/http-proxy/passes/web-outgoing.js
221
222
  var require_web_outgoing = __commonJS({
222
- "../../node_modules/.pnpm/http-proxy@1.18.1/node_modules/http-proxy/lib/http-proxy/passes/web-outgoing.js"(exports, module) {
223
+ "../../node_modules/.pnpm/http-proxy-node16@1.0.6/node_modules/http-proxy-node16/lib/http-proxy/passes/web-outgoing.js"(exports, module) {
223
224
  init_cjs_shims();
224
225
  var url = __require("url"), common = require_common(), redirectRegex = /^201|30(1|2|7|8)$/;
225
226
  module.exports = {
@@ -618,15 +619,19 @@ var require_follow_redirects = __commonJS({
618
619
  }
619
620
  });
620
621
 
621
- // ../../node_modules/.pnpm/http-proxy@1.18.1/node_modules/http-proxy/lib/http-proxy/passes/web-incoming.js
622
+ // ../../node_modules/.pnpm/http-proxy-node16@1.0.6/node_modules/http-proxy-node16/lib/http-proxy/passes/web-incoming.js
622
623
  var require_web_incoming = __commonJS({
623
- "../../node_modules/.pnpm/http-proxy@1.18.1/node_modules/http-proxy/lib/http-proxy/passes/web-incoming.js"(exports, module) {
624
+ "../../node_modules/.pnpm/http-proxy-node16@1.0.6/node_modules/http-proxy-node16/lib/http-proxy/passes/web-incoming.js"(exports, module) {
624
625
  init_cjs_shims();
625
626
  var httpNative = __require("http"), httpsNative = __require("https"), web_o = require_web_outgoing(), common = require_common(), followRedirects = require_follow_redirects();
626
627
  web_o = Object.keys(web_o).map(function(pass) {
627
628
  return web_o[pass];
628
629
  });
629
630
  var nativeAgents = { http: httpNative, https: httpsNative };
631
+ var supportsAbortedEvent = function() {
632
+ var ver = process.versions.node.split(".").map(Number);
633
+ return ver[0] <= 14 || ver[0] === 15 && ver[1] <= 4;
634
+ }();
630
635
  module.exports = {
631
636
  /**
632
637
  * Sets `content-length` to '0' if request is of DELETE type.
@@ -701,8 +706,11 @@ var require_web_incoming = __commonJS({
701
706
  server && !proxyReq.getHeader("expect") && server.emit("proxyReq", proxyReq, req, res, options);
702
707
  }), options.proxyTimeout && proxyReq.setTimeout(options.proxyTimeout, function() {
703
708
  proxyReq.abort();
704
- }), req.on("aborted", function() {
709
+ }), supportsAbortedEvent ? req.on("aborted", function() {
705
710
  proxyReq.abort();
711
+ }) : res.on("close", function() {
712
+ var aborted = !res.writableFinished;
713
+ aborted && proxyReq.abort();
706
714
  });
707
715
  var proxyError = createErrorHandler(proxyReq, options.target);
708
716
  req.on("error", proxyError), proxyReq.on("error", proxyError);
@@ -726,9 +734,9 @@ var require_web_incoming = __commonJS({
726
734
  }
727
735
  });
728
736
 
729
- // ../../node_modules/.pnpm/http-proxy@1.18.1/node_modules/http-proxy/lib/http-proxy/passes/ws-incoming.js
737
+ // ../../node_modules/.pnpm/http-proxy-node16@1.0.6/node_modules/http-proxy-node16/lib/http-proxy/passes/ws-incoming.js
730
738
  var require_ws_incoming = __commonJS({
731
- "../../node_modules/.pnpm/http-proxy@1.18.1/node_modules/http-proxy/lib/http-proxy/passes/ws-incoming.js"(exports, module) {
739
+ "../../node_modules/.pnpm/http-proxy-node16@1.0.6/node_modules/http-proxy-node16/lib/http-proxy/passes/ws-incoming.js"(exports, module) {
732
740
  init_cjs_shims();
733
741
  var http = __require("http"), https = __require("https"), common = require_common();
734
742
  module.exports = {
@@ -800,7 +808,7 @@ var require_ws_incoming = __commonJS({
800
808
  proxySocket.on("error", onOutgoingError), proxySocket.on("end", function() {
801
809
  server.emit("close", proxyRes, proxySocket, proxyHead);
802
810
  }), socket.on("error", function() {
803
- proxySocket.end();
811
+ proxySocket.destroy();
804
812
  }), common.setupSocket(proxySocket), proxyHead && proxyHead.length && proxySocket.unshift(proxyHead), socket.write(createHttpHeader("HTTP/1.1 101 Switching Protocols", proxyRes.headers)), proxySocket.pipe(socket).pipe(proxySocket), server.emit("open", proxySocket), server.emit("proxySocket", proxySocket);
805
813
  }), proxyReq.end();
806
814
  function onOutgoingError(err) {
@@ -811,11 +819,11 @@ var require_ws_incoming = __commonJS({
811
819
  }
812
820
  });
813
821
 
814
- // ../../node_modules/.pnpm/http-proxy@1.18.1/node_modules/http-proxy/lib/http-proxy/index.js
822
+ // ../../node_modules/.pnpm/http-proxy-node16@1.0.6/node_modules/http-proxy-node16/lib/http-proxy/index.js
815
823
  var require_http_proxy = __commonJS({
816
- "../../node_modules/.pnpm/http-proxy@1.18.1/node_modules/http-proxy/lib/http-proxy/index.js"(exports, module) {
824
+ "../../node_modules/.pnpm/http-proxy-node16@1.0.6/node_modules/http-proxy-node16/lib/http-proxy/index.js"(exports, module) {
817
825
  init_cjs_shims();
818
- var httpProxy = module.exports, extend = __require("util")._extend, parse_url = __require("url").parse, EE3 = require_eventemitter3(), http = __require("http"), https = __require("https"), web = require_web_incoming(), ws = require_ws_incoming();
826
+ var httpProxy = module.exports, extend = Object.assign, parse_url = __require("url").parse, EE3 = require_eventemitter3(), http = __require("http"), https = __require("https"), web = require_web_incoming(), ws = require_ws_incoming();
819
827
  httpProxy.Server = ProxyServer;
820
828
  function createRightProxy(type) {
821
829
  return function(options) {
@@ -881,9 +889,9 @@ var require_http_proxy = __commonJS({
881
889
  }
882
890
  });
883
891
 
884
- // ../../node_modules/.pnpm/http-proxy@1.18.1/node_modules/http-proxy/lib/http-proxy.js
892
+ // ../../node_modules/.pnpm/http-proxy-node16@1.0.6/node_modules/http-proxy-node16/lib/http-proxy.js
885
893
  var require_http_proxy2 = __commonJS({
886
- "../../node_modules/.pnpm/http-proxy@1.18.1/node_modules/http-proxy/lib/http-proxy.js"(exports, module) {
894
+ "../../node_modules/.pnpm/http-proxy-node16@1.0.6/node_modules/http-proxy-node16/lib/http-proxy.js"(exports, module) {
887
895
  init_cjs_shims();
888
896
  var ProxyServer = require_http_proxy().Server;
889
897
  function createProxyServer(options) {
@@ -896,18 +904,18 @@ var require_http_proxy2 = __commonJS({
896
904
  }
897
905
  });
898
906
 
899
- // ../../node_modules/.pnpm/http-proxy@1.18.1/node_modules/http-proxy/index.js
900
- var require_http_proxy3 = __commonJS({
901
- "../../node_modules/.pnpm/http-proxy@1.18.1/node_modules/http-proxy/index.js"(exports, module) {
907
+ // ../../node_modules/.pnpm/http-proxy-node16@1.0.6/node_modules/http-proxy-node16/index.js
908
+ var require_http_proxy_node16 = __commonJS({
909
+ "../../node_modules/.pnpm/http-proxy-node16@1.0.6/node_modules/http-proxy-node16/index.js"(exports, module) {
902
910
  init_cjs_shims();
903
911
  module.exports = require_http_proxy2();
904
912
  }
905
913
  });
906
- export default require_http_proxy3();
914
+ export default require_http_proxy_node16();
907
915
  /*! Bundled license information:
908
916
 
909
- http-proxy/lib/http-proxy/passes/web-outgoing.js:
910
- http-proxy/lib/http-proxy/passes/web-incoming.js:
917
+ http-proxy-node16/lib/http-proxy/passes/web-outgoing.js:
918
+ http-proxy-node16/lib/http-proxy/passes/web-incoming.js:
911
919
  (*!
912
920
  * Array of passes.
913
921
  *
@@ -916,7 +924,7 @@ http-proxy/lib/http-proxy/passes/web-incoming.js:
916
924
  * flexible.
917
925
  *)
918
926
 
919
- http-proxy/lib/http-proxy/passes/ws-incoming.js:
927
+ http-proxy-node16/lib/http-proxy/passes/ws-incoming.js:
920
928
  (*!
921
929
  * Array of passes.
922
930
  *
@@ -925,7 +933,7 @@ http-proxy/lib/http-proxy/passes/ws-incoming.js:
925
933
  * flexible.
926
934
  *)
927
935
 
928
- http-proxy/index.js:
936
+ http-proxy-node16/index.js:
929
937
  (*!
930
938
  * Caron dimonio, con occhi di bragia
931
939
  * loro accennando, tutte le raccoglie;
@@ -938,4 +946,4 @@ http-proxy/index.js:
938
946
  * Dante - The Divine Comedy (Canto III)
939
947
  *)
940
948
  */
941
- //# sourceMappingURL=http-proxy-LHSVRGJ5.js.map
949
+ //# sourceMappingURL=http-proxy-node16-T623PGD4.js.map