@shopify/cli-kit 0.33.3 → 0.33.5

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @shopify/cli-kit
2
2
 
3
+ ## 0.33.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Some fixes with external packages
8
+
3
9
  ## 0.33.3
4
10
 
5
11
  ### Patch Changes
@@ -16,7 +16,6 @@ import url$1, { fileURLToPath, format as format$5 } from 'node:url';
16
16
  import os$7, { arch, userInfo } from 'node:os';
17
17
  import require$$0$a from 'buffer';
18
18
  import require$$0$9, { promisify as promisify$6 } from 'util';
19
- import open from 'open';
20
19
  import fs$H, { promises } from 'node:fs';
21
20
  import require$$0$b from 'constants';
22
21
  import Stream$4, { PassThrough as PassThrough$6, pipeline as pipeline$2 } from 'node:stream';
@@ -34,7 +33,6 @@ import http$4 from 'node:http';
34
33
  import https$2 from 'node:https';
35
34
  import zlib$2 from 'node:zlib';
36
35
  import { isIP } from 'node:net';
37
- import keytar from 'keytar';
38
36
  import require$$0$f from 'punycode';
39
37
 
40
38
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
@@ -12912,6 +12910,10 @@ function execa(file, args, options) {
12912
12910
  return mergePromise(spawned, handlePromiseOnce);
12913
12911
  }
12914
12912
 
12913
+ const open = async (url) => {
12914
+ const externalOpen = await import('open');
12915
+ await externalOpen.default(url);
12916
+ };
12915
12917
  const captureOutput = async (command, args) => {
12916
12918
  const result = await execa(command, args);
12917
12919
  return result.stdout;
@@ -12931,9 +12933,9 @@ const exec = async (command, args, options) => {
12931
12933
 
12932
12934
  var system = /*#__PURE__*/Object.freeze({
12933
12935
  __proto__: null,
12936
+ open: open,
12934
12937
  captureOutput: captureOutput,
12935
- exec: exec,
12936
- open: open
12938
+ exec: exec
12937
12939
  });
12938
12940
 
12939
12941
  function normalizeWindowsPath(input = "") {
@@ -40594,7 +40596,7 @@ function isTruthy(variable) {
40594
40596
  }
40595
40597
 
40596
40598
  var name = "@shopify/cli-kit";
40597
- var version$1 = "0.33.3";
40599
+ var version$1 = "0.33.5";
40598
40600
  var description$1 = "A set of utilities, interfaces, and models that are common across all the platform features";
40599
40601
  var keywords = [
40600
40602
  "shopify",
@@ -40642,6 +40644,8 @@ var os$1 = [
40642
40644
  "win32"
40643
40645
  ];
40644
40646
  var dependencies$1 = {
40647
+ open: "^8.4.0",
40648
+ keytar: "^7.9.0"
40645
40649
  };
40646
40650
  var devDependencies = {
40647
40651
  "ansi-colors": "^4.1.1",
@@ -40656,8 +40660,6 @@ var devDependencies = {
40656
40660
  "fs-extra": "^10.0.0",
40657
40661
  graphql: "^16.3.0",
40658
40662
  "graphql-request": "^4.0.0",
40659
- keytar: "^7.9.0",
40660
- open: "^8.4.0",
40661
40663
  "latest-version": "^6.0.0",
40662
40664
  liquidjs: "^9.35.1",
40663
40665
  listr2: "^4.0.2",
@@ -45849,7 +45851,7 @@ class Body$1 {
45849
45851
  return formData;
45850
45852
  }
45851
45853
 
45852
- const {toFormData} = await import('./multipart-parser-9f3ad812.js');
45854
+ const {toFormData} = await import('./multipart-parser-3e0627f2.js');
45853
45855
  return toFormData(this.body, ct);
45854
45856
  }
45855
45857
 
@@ -47833,14 +47835,17 @@ const SessionSchema = external.object({}).catchall(external.object({
47833
47835
  }));
47834
47836
 
47835
47837
  async function fetch$2(identifier) {
47838
+ const keytar = await import('keytar');
47836
47839
  const content = await keytar.getPassword(constants.keychain.service, identifier);
47837
47840
  return content;
47838
47841
  }
47839
47842
  async function store$2(identifier, content) {
47840
- await keytar.setPassword(constants.keychain.service, identifier, content);
47843
+ const keytar = await import('keytar');
47844
+ await keytar.default.setPassword(constants.keychain.service, identifier, content);
47841
47845
  }
47842
47846
  async function remove$1(identifier) {
47843
- const result = await keytar.deletePassword(constants.keychain.service, identifier);
47847
+ const keytar = await import('keytar');
47848
+ const result = await keytar.default.deletePassword(constants.keychain.service, identifier);
47844
47849
  return result;
47845
47850
  }
47846
47851
 
@@ -154731,4 +154736,4 @@ var checksum = /*#__PURE__*/Object.freeze({
154731
154736
  });
154732
154737
 
154733
154738
  export { FormData$2 as F, File$1 as a, string as b, os$2 as c, dependency as d, error$k as e, file$1 as f, environment as g, session as h, schema$1 as i, toml as j, store as k, api as l, http$1 as m, checksum as n, output$1 as o, path$q as p, constants as q, system as s, template as t, ui as u, version$2 as v };
154734
- //# sourceMappingURL=index-382efd3c.js.map
154739
+ //# sourceMappingURL=index-a04aadf7.js.map