@emulsify/cli 1.11.0 → 1.11.2

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 (86) hide show
  1. package/dist/handlers/systemInstall.js +3 -4
  2. package/dist/node_modules/.package-lock.json +18 -18
  3. package/dist/node_modules/@types/node/README.md +1 -1
  4. package/dist/node_modules/@types/node/assert.d.ts +2 -2
  5. package/dist/node_modules/@types/node/buffer.buffer.d.ts +385 -0
  6. package/dist/node_modules/@types/node/buffer.d.ts +30 -390
  7. package/dist/node_modules/@types/node/child_process.d.ts +32 -28
  8. package/dist/node_modules/@types/node/cluster.d.ts +1 -1
  9. package/dist/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
  10. package/dist/node_modules/@types/node/compatibility/index.d.ts +9 -0
  11. package/dist/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
  12. package/dist/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
  13. package/dist/node_modules/@types/node/console.d.ts +2 -2
  14. package/dist/node_modules/@types/node/crypto.d.ts +3 -3
  15. package/dist/node_modules/@types/node/dns/promises.d.ts +6 -5
  16. package/dist/node_modules/@types/node/dns.d.ts +5 -5
  17. package/dist/node_modules/@types/node/domain.d.ts +2 -2
  18. package/dist/node_modules/@types/node/events.d.ts +3 -3
  19. package/dist/node_modules/@types/node/fs/promises.d.ts +2 -2
  20. package/dist/node_modules/@types/node/fs.d.ts +2 -2
  21. package/dist/node_modules/@types/node/globals.d.ts +124 -68
  22. package/dist/node_modules/@types/node/globals.typedarray.d.ts +21 -0
  23. package/dist/node_modules/@types/node/http.d.ts +43 -7
  24. package/dist/node_modules/@types/node/http2.d.ts +238 -101
  25. package/dist/node_modules/@types/node/https.d.ts +17 -23
  26. package/dist/node_modules/@types/node/index.d.ts +11 -9
  27. package/dist/node_modules/@types/node/module.d.ts +3 -3
  28. package/dist/node_modules/@types/node/net.d.ts +8 -2
  29. package/dist/node_modules/@types/node/os.d.ts +1 -1
  30. package/dist/node_modules/@types/node/package.json +10 -2
  31. package/dist/node_modules/@types/node/path.d.ts +10 -1
  32. package/dist/node_modules/@types/node/perf_hooks.d.ts +19 -19
  33. package/dist/node_modules/@types/node/punycode.d.ts +1 -1
  34. package/dist/node_modules/@types/node/querystring.d.ts +1 -1
  35. package/dist/node_modules/@types/node/readline/promises.d.ts +1 -1
  36. package/dist/node_modules/@types/node/readline.d.ts +10 -10
  37. package/dist/node_modules/@types/node/repl.d.ts +4 -4
  38. package/dist/node_modules/@types/node/stream/promises.d.ts +8 -1
  39. package/dist/node_modules/@types/node/stream/web.d.ts +182 -25
  40. package/dist/node_modules/@types/node/stream.d.ts +36 -17
  41. package/dist/node_modules/@types/node/string_decoder.d.ts +3 -3
  42. package/dist/node_modules/@types/node/test.d.ts +85 -12
  43. package/dist/node_modules/@types/node/timers/promises.d.ts +1 -1
  44. package/dist/node_modules/@types/node/timers.d.ts +1 -1
  45. package/dist/node_modules/@types/node/tls.d.ts +5 -5
  46. package/dist/node_modules/@types/node/trace_events.d.ts +4 -4
  47. package/dist/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +385 -0
  48. package/dist/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +19 -0
  49. package/dist/node_modules/@types/node/ts5.6/index.d.ts +91 -0
  50. package/dist/node_modules/@types/node/tty.d.ts +1 -1
  51. package/dist/node_modules/@types/node/url.d.ts +14 -11
  52. package/dist/node_modules/@types/node/util.d.ts +49 -49
  53. package/dist/node_modules/@types/node/v8.d.ts +12 -12
  54. package/dist/node_modules/@types/node/vm.d.ts +11 -12
  55. package/dist/node_modules/@types/node/worker_threads.d.ts +22 -22
  56. package/dist/node_modules/@types/node/zlib.d.ts +8 -8
  57. package/dist/node_modules/debug/README.md +1 -1
  58. package/dist/node_modules/debug/package.json +2 -2
  59. package/dist/node_modules/fast-uri/.github/workflows/ci.yml +2 -2
  60. package/dist/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +1 -1
  61. package/dist/node_modules/fast-uri/index.js +3 -9
  62. package/dist/node_modules/fast-uri/package.json +4 -4
  63. package/dist/node_modules/fast-uri/test/ajv.test.js +1 -1
  64. package/dist/node_modules/fast-uri/test/compatibility.test.js +3 -2
  65. package/dist/node_modules/fast-uri/test/equal.test.js +1 -2
  66. package/dist/node_modules/fast-uri/test/parse.test.js +1 -2
  67. package/dist/node_modules/fast-uri/test/resolve.test.js +1 -2
  68. package/dist/node_modules/fast-uri/test/serialize.test.js +1 -2
  69. package/dist/node_modules/fast-uri/test/uri-js.test.js +539 -567
  70. package/dist/node_modules/fast-uri/test/util.test.js +2 -3
  71. package/dist/node_modules/ms/index.js +1 -1
  72. package/dist/node_modules/ms/license.md +1 -1
  73. package/dist/node_modules/ms/package.json +5 -4
  74. package/dist/node_modules/ms/readme.md +1 -2
  75. package/dist/node_modules/simple-git/dist/cjs/index.js +14 -15
  76. package/dist/node_modules/simple-git/dist/cjs/index.js.map +2 -2
  77. package/dist/node_modules/simple-git/dist/esm/index.js +14 -15
  78. package/dist/node_modules/simple-git/dist/esm/index.js.map +2 -2
  79. package/dist/node_modules/simple-git/dist/typings/response.d.ts +7 -6
  80. package/dist/node_modules/simple-git/package.json +5 -5
  81. package/dist/package-lock.json +720 -643
  82. package/dist/package.json +2 -2
  83. package/dist/util/cache/copyItemFromCache.js +9 -1
  84. package/package.json +2 -2
  85. package/dist/node_modules/@types/node/globals.global.d.ts +0 -1
  86. package/dist/node_modules/fast-uri/.taprc +0 -3
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emulsify/cli",
3
- "version": "1.10.2",
3
+ "version": "1.11.1",
4
4
  "description": "Command line interface for Emulsify",
5
5
  "repository": "git@github.com:emulsify-ds/emulsify-cli.git",
6
6
  "author": "Patrick Coffey <patrickcoffey48@gmail.com>",
@@ -52,7 +52,7 @@
52
52
  "eslint-config-prettier": "^9.1.0",
53
53
  "eslint-plugin-prettier": "^5.1.3",
54
54
  "eslint-plugin-security": "^3.0.0",
55
- "husky": "^9.0.11",
55
+ "husky": "^9.1.6",
56
56
  "jest": "^29.7.0",
57
57
  "json-schema-to-typescript": "^14.0.0",
58
58
  "lint-staged": "^15.2.2",
@@ -5,8 +5,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const fs_extra_1 = require("fs-extra");
7
7
  const getCachedItemPath_1 = __importDefault(require("./getCachedItemPath"));
8
+ const getEmulsifyConfig_1 = __importDefault(require("../project/getEmulsifyConfig"));
8
9
  async function copyFileFromCache(bucket, itemPath, destination, force = false) {
9
- const source = (0, getCachedItemPath_1.default)(bucket, itemPath);
10
+ const emulsifyConfig = await (0, getEmulsifyConfig_1.default)();
11
+ let checkout = '';
12
+ if (emulsifyConfig != undefined &&
13
+ emulsifyConfig.system &&
14
+ emulsifyConfig.system.checkout) {
15
+ checkout = emulsifyConfig.system.checkout;
16
+ }
17
+ const source = (0, getCachedItemPath_1.default)(bucket, itemPath, checkout);
10
18
  if (force) {
11
19
  await (0, fs_extra_1.remove)(destination);
12
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emulsify/cli",
3
- "version": "1.11.0",
3
+ "version": "1.11.2",
4
4
  "description": "Command line interface for Emulsify",
5
5
  "repository": "git@github.com:emulsify-ds/emulsify-cli.git",
6
6
  "author": "Patrick Coffey <patrickcoffey48@gmail.com>",
@@ -52,7 +52,7 @@
52
52
  "eslint-config-prettier": "^9.1.0",
53
53
  "eslint-plugin-prettier": "^5.1.3",
54
54
  "eslint-plugin-security": "^3.0.0",
55
- "husky": "^9.0.11",
55
+ "husky": "^9.1.6",
56
56
  "jest": "^29.7.0",
57
57
  "json-schema-to-typescript": "^14.0.0",
58
58
  "lint-staged": "^15.2.2",
@@ -1 +0,0 @@
1
- declare var global: typeof globalThis;
@@ -1,3 +0,0 @@
1
- disable-coverage: true
2
- files:
3
- - test/**/*.test.js