@automattic/vip 2.39.0 → 2.39.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.
@@ -24,7 +24,7 @@ const examples = [{
24
24
  }).option('slug', 'Custom name of the dev environment', undefined, _devEnvironmentCli.processSlug).option('force', 'Disable validations before task execution', undefined, _devEnvironmentCli.processBooleanOption).option('quiet', 'Suppress output', undefined, _devEnvironmentCli.processBooleanOption).examples(examples).argv(process.argv, async (unmatchedArgs, opt) => {
25
25
  const slug = await (0, _devEnvironmentCli.getEnvironmentName)(opt);
26
26
  const lando = await (0, _devEnvironmentLando.bootstrapLando)();
27
- await (0, _devEnvironmentCli.validateDependencies)(lando, slug, opt.quiet);
27
+ await (0, _devEnvironmentCli.validateDependencies)(lando, slug);
28
28
  const trackingInfo = (0, _devEnvironmentCli.getEnvTrackingInfo)(slug);
29
29
  await (0, _tracker.trackEvent)('dev_env_exec_command_execute', trackingInfo);
30
30
  try {
@@ -26,7 +26,7 @@ class DevEnvImportSQLCommand {
26
26
  }
27
27
  async run() {
28
28
  const lando = await (0, _devEnvironmentLando.bootstrapLando)();
29
- await (0, _devEnvironmentCli.validateDependencies)(lando, this.slug, this.options.quiet);
29
+ await (0, _devEnvironmentCli.validateDependencies)(lando, this.slug);
30
30
  (0, _sql.validateImportFileExtension)(this.fileName);
31
31
 
32
32
  // Check if file is compressed and if so, extract the
@@ -315,7 +315,7 @@ class ExportSQLCommand {
315
315
  let noticeMessage = `\n${_chalk.default.yellow('NOTICE: ')}`;
316
316
  noticeMessage += 'If a recent database backup does not exist, a new one will be generated for this environment. ';
317
317
  noticeMessage += 'Learn more about this: https://docs.wpvip.com/databases/backups/download-a-full-database-backup/ \n';
318
- this.log(noticeMessage);
318
+ console.log(noticeMessage);
319
319
  await cmd.run(false);
320
320
  }
321
321
  async confirmEnoughStorage(job) {
@@ -41,7 +41,6 @@ var _shelljs = require("shelljs");
41
41
  var _devEnvironmentConfigurationFile = require("./dev-environment-configuration-file");
42
42
  var _devEnvironmentCore = require("./dev-environment-core");
43
43
  var _devEnvironmentLando = require("./dev-environment-lando");
44
- var _progress = require("../../lib/cli/progress");
45
44
  var _devEnvironment = require("../constants/dev-environment");
46
45
  var _tracker = require("../tracker");
47
46
  var _userError = _interopRequireDefault(require("../user-error"));
@@ -102,63 +101,35 @@ async function handleCLIException(exception, trackKey, trackBaseInfo = {}) {
102
101
  const verifyDNSResolution = async slug => {
103
102
  const expectedIP = '127.0.0.1';
104
103
  const testDomain = `${slug}.vipdev.lndo.site`;
105
- const advice = `Please add following line to hosts file on your system:\n${expectedIP} ${testDomain}`;
104
+ const advice = `Please add following line to hosts file on your system:\n\n${expectedIP} ${testDomain}\n\nLearn more: https://docs.wpvip.com/vip-local-development-environment/troubleshooting-dev-env/#h-resolve-networking-configuration-issues\n`;
106
105
  debug(`Verifying DNS resolution for ${testDomain}`);
107
- let address;
108
106
  try {
109
- address = await (0, _promises.lookup)(testDomain, 4);
110
- debug(`Got DNS response ${address.address}`);
107
+ let address;
108
+ try {
109
+ address = await (0, _promises.lookup)(testDomain, 4);
110
+ debug(`Got DNS response ${address.address}`);
111
+ } catch (error) {
112
+ throw new _userError.default(`DNS resolution for ${testDomain} failed.`, {
113
+ cause: error
114
+ });
115
+ }
116
+ if (address.address !== expectedIP) {
117
+ throw new _userError.default(`DNS resolution for ${testDomain} returned unexpected IP ${address.address}. Expected value is ${expectedIP}.`);
118
+ }
111
119
  } catch (error) {
112
- throw new _userError.default(`DNS resolution for ${testDomain} failed. ${advice}`, {
113
- cause: error
114
- });
115
- }
116
- if (address.address !== expectedIP) {
117
- throw new _userError.default(`DNS resolution for ${testDomain} returned unexpected IP ${address.address}. Expected value is ${expectedIP}. ${advice}`);
120
+ if (error instanceof _userError.default) {
121
+ console.warn(_chalk.default.yellow.bold('Warning:'), `${error.message}\n\n${advice}`);
122
+ } else {
123
+ throw error;
124
+ }
118
125
  }
119
126
  };
120
- const VALIDATION_STEPS = [{
121
- id: 'docker',
122
- name: 'Check for Docker installation'
123
- }, {
124
- id: 'compose',
125
- name: 'Check for docker-compose installation'
126
- }, {
127
- id: 'access',
128
- name: 'Check Docker connectivity'
129
- }, {
130
- id: 'dns',
131
- name: 'Check DNS resolution'
132
- }];
133
- const validateDependencies = async (lando, slug, quiet) => {
127
+ const validateDependencies = async (lando, slug) => {
134
128
  const now = new Date();
135
- const steps = slug ? VALIDATION_STEPS : VALIDATION_STEPS.filter(step => step.id !== 'dns');
136
- const progressTracker = new _progress.ProgressTracker(steps);
137
- if (!quiet) {
138
- console.log('Running validation steps...');
139
- progressTracker.startPrinting();
140
- progressTracker.stepRunning('docker');
141
- }
142
129
  (0, _devEnvironmentLando.validateDockerInstalled)(lando);
143
- if (!quiet) {
144
- progressTracker.stepSuccess('docker');
145
- progressTracker.stepSuccess('compose');
146
- progressTracker.print();
147
- }
148
130
  await (0, _devEnvironmentLando.validateDockerAccess)(lando);
149
- if (!quiet) {
150
- progressTracker.stepSuccess('access');
151
- progressTracker.print();
152
- }
153
131
  if (slug) {
154
132
  await verifyDNSResolution(slug);
155
- if (!quiet) {
156
- progressTracker.stepSuccess('dns');
157
- progressTracker.print();
158
- }
159
- }
160
- if (!quiet) {
161
- progressTracker.stopPrinting();
162
133
  }
163
134
  const duration = new Date().getTime() - now.getTime();
164
135
  debug('Validation checks completed in %d ms', duration);
package/docs/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  ## Changelog
2
2
 
3
+ ### 2.39.1
4
+
5
+ - Fix a crash due to an undefined function when running `export sql` with the `--generate-backup` flag by @noahtallen in https://github.com/Automattic/vip-cli/pull/1769
6
+ - refactor(dev-env): reduce noise from preflight checks by @sjinks in https://github.com/Automattic/vip-cli/pull/1758
7
+
3
8
  ### 2.39.0
4
9
 
5
10
  * Updated Docs URLs to current permalinks by @yolih in https://github.com/Automattic/vip-cli/pull/1742
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@automattic/vip",
3
- "version": "2.39.0",
3
+ "version": "2.39.1",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@automattic/vip",
9
- "version": "2.39.0",
9
+ "version": "2.39.1",
10
10
  "hasInstallScript": true,
11
11
  "license": "MIT",
12
12
  "dependencies": {
@@ -107,8 +107,8 @@
107
107
  "devDependencies": {
108
108
  "@automattic/eslint-plugin-wpvip": "0.9.1",
109
109
  "@babel/cli": "7.24.1",
110
- "@babel/core": "7.24.3",
111
- "@babel/preset-env": "7.24.3",
110
+ "@babel/core": "7.24.4",
111
+ "@babel/preset-env": "7.24.4",
112
112
  "@babel/preset-typescript": "7.24.1",
113
113
  "@jest/globals": "^29.7.0",
114
114
  "@jest/test-sequencer": "^29.7.0",
@@ -452,27 +452,27 @@
452
452
  }
453
453
  },
454
454
  "node_modules/@babel/compat-data": {
455
- "version": "7.24.1",
456
- "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.1.tgz",
457
- "integrity": "sha512-Pc65opHDliVpRHuKfzI+gSA4zcgr65O4cl64fFJIWEEh8JoHIHh0Oez1Eo8Arz8zq/JhgKodQaxEwUPRtZylVA==",
455
+ "version": "7.24.4",
456
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.4.tgz",
457
+ "integrity": "sha512-vg8Gih2MLK+kOkHJp4gBEIkyaIi00jgWot2D9QOmmfLC8jINSOzmCLta6Bvz/JSBCqnegV0L80jhxkol5GWNfQ==",
458
458
  "dev": true,
459
459
  "engines": {
460
460
  "node": ">=6.9.0"
461
461
  }
462
462
  },
463
463
  "node_modules/@babel/core": {
464
- "version": "7.24.3",
465
- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.3.tgz",
466
- "integrity": "sha512-5FcvN1JHw2sHJChotgx8Ek0lyuh4kCKelgMTTqhYJJtloNvUfpAFMeNQUtdlIaktwrSV9LtCdqwk48wL2wBacQ==",
464
+ "version": "7.24.4",
465
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.4.tgz",
466
+ "integrity": "sha512-MBVlMXP+kkl5394RBLSxxk/iLTeVGuXTV3cIDXavPpMMqnSnt6apKgan/U8O3USWZCWZT/TbgfEpKa4uMgN4Dg==",
467
467
  "dev": true,
468
468
  "dependencies": {
469
469
  "@ampproject/remapping": "^2.2.0",
470
470
  "@babel/code-frame": "^7.24.2",
471
- "@babel/generator": "^7.24.1",
471
+ "@babel/generator": "^7.24.4",
472
472
  "@babel/helper-compilation-targets": "^7.23.6",
473
473
  "@babel/helper-module-transforms": "^7.23.3",
474
- "@babel/helpers": "^7.24.1",
475
- "@babel/parser": "^7.24.1",
474
+ "@babel/helpers": "^7.24.4",
475
+ "@babel/parser": "^7.24.4",
476
476
  "@babel/template": "^7.24.0",
477
477
  "@babel/traverse": "^7.24.1",
478
478
  "@babel/types": "^7.24.0",
@@ -542,9 +542,9 @@
542
542
  }
543
543
  },
544
544
  "node_modules/@babel/generator": {
545
- "version": "7.24.1",
546
- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.1.tgz",
547
- "integrity": "sha512-DfCRfZsBcrPEHUfuBMgbJ1Ut01Y/itOs+hY2nFLgqsqXd52/iSiVq5TITtUasIUgm+IIKdY2/1I7auiQOEeC9A==",
545
+ "version": "7.24.4",
546
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.4.tgz",
547
+ "integrity": "sha512-Xd6+v6SnjWVx/nus+y0l1sxMOTOMBkyL4+BIdbALyatQnAe/SRVjANeDPSCYaX+i1iJmuGSKf3Z+E+V/va1Hvw==",
548
548
  "dev": true,
549
549
  "dependencies": {
550
550
  "@babel/types": "^7.24.0",
@@ -620,9 +620,9 @@
620
620
  }
621
621
  },
622
622
  "node_modules/@babel/helper-create-class-features-plugin": {
623
- "version": "7.24.1",
624
- "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.24.1.tgz",
625
- "integrity": "sha512-1yJa9dX9g//V6fDebXoEfEsxkZHk3Hcbm+zLhyu6qVgYFLvmTALTeV+jNU9e5RnYtioBrGEOdoI2joMSNQ/+aA==",
623
+ "version": "7.24.4",
624
+ "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.24.4.tgz",
625
+ "integrity": "sha512-lG75yeuUSVu0pIcbhiYMXBXANHrpUPaOfu7ryAzskCgKUHuAxRQI5ssrtmF0X9UXldPlvT0XM/A4F44OXRt6iQ==",
626
626
  "dev": true,
627
627
  "dependencies": {
628
628
  "@babel/helper-annotate-as-pure": "^7.22.5",
@@ -903,9 +903,9 @@
903
903
  }
904
904
  },
905
905
  "node_modules/@babel/helpers": {
906
- "version": "7.24.1",
907
- "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.1.tgz",
908
- "integrity": "sha512-BpU09QqEe6ZCHuIHFphEFgvNSrubve1FtyMton26ekZ85gRGi6LrTF7zArARp2YvyFxloeiRmtSCq5sjh1WqIg==",
906
+ "version": "7.24.4",
907
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.4.tgz",
908
+ "integrity": "sha512-FewdlZbSiwaVGlgT1DPANDuCHaDMiOo+D/IDYRFYjHOuv66xMSJ7fQwwODwRNAPkADIO/z1EoF/l2BCWlWABDw==",
909
909
  "dev": true,
910
910
  "dependencies": {
911
911
  "@babel/template": "^7.24.0",
@@ -946,9 +946,9 @@
946
946
  }
947
947
  },
948
948
  "node_modules/@babel/parser": {
949
- "version": "7.24.1",
950
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.1.tgz",
951
- "integrity": "sha512-Zo9c7N3xdOIQrNip7Lc9wvRPzlRtovHVE4lkz8WEDr7uYh/GMQhSiIgFxGIArRHYdJE5kxtZjAf8rT0xhdLCzg==",
949
+ "version": "7.24.4",
950
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.4.tgz",
951
+ "integrity": "sha512-zTvEBcghmeBma9QIGunWevvBAp4/Qu9Bdq+2k0Ot4fVMD6v3dsC9WOcRSKk7tRRyBM/53yKMJko9xOatGQAwSg==",
952
952
  "dev": true,
953
953
  "bin": {
954
954
  "parser": "bin/babel-parser.js"
@@ -957,6 +957,22 @@
957
957
  "node": ">=6.0.0"
958
958
  }
959
959
  },
960
+ "node_modules/@babel/plugin-bugfix-firefox-class-in-computed-class-key": {
961
+ "version": "7.24.4",
962
+ "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.24.4.tgz",
963
+ "integrity": "sha512-qpl6vOOEEzTLLcsuqYYo8yDtrTocmu2xkGvgNebvPjT9DTtfFYGmgDqY+rBYXNlqL4s9qLDn6xkrJv4RxAPiTA==",
964
+ "dev": true,
965
+ "dependencies": {
966
+ "@babel/helper-environment-visitor": "^7.22.20",
967
+ "@babel/helper-plugin-utils": "^7.24.0"
968
+ },
969
+ "engines": {
970
+ "node": ">=6.9.0"
971
+ },
972
+ "peerDependencies": {
973
+ "@babel/core": "^7.0.0"
974
+ }
975
+ },
960
976
  "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": {
961
977
  "version": "7.24.1",
962
978
  "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.24.1.tgz",
@@ -1360,9 +1376,9 @@
1360
1376
  }
1361
1377
  },
1362
1378
  "node_modules/@babel/plugin-transform-block-scoping": {
1363
- "version": "7.24.1",
1364
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.24.1.tgz",
1365
- "integrity": "sha512-h71T2QQvDgM2SmT29UYU6ozjMlAt7s7CSs5Hvy8f8cf/GM/Z4a2zMfN+fjVGaieeCrXR3EdQl6C4gQG+OgmbKw==",
1379
+ "version": "7.24.4",
1380
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.24.4.tgz",
1381
+ "integrity": "sha512-nIFUZIpGKDf9O9ttyRXpHFpKC+X3Y5mtshZONuEUYBomAKoM4y029Jr+uB1bHGPhNmK8YXHevDtKDOLmtRrp6g==",
1366
1382
  "dev": true,
1367
1383
  "dependencies": {
1368
1384
  "@babel/helper-plugin-utils": "^7.24.0"
@@ -1391,12 +1407,12 @@
1391
1407
  }
1392
1408
  },
1393
1409
  "node_modules/@babel/plugin-transform-class-static-block": {
1394
- "version": "7.24.1",
1395
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.24.1.tgz",
1396
- "integrity": "sha512-FUHlKCn6J3ERiu8Dv+4eoz7w8+kFLSyeVG4vDAikwADGjUCoHw/JHokyGtr8OR4UjpwPVivyF+h8Q5iv/JmrtA==",
1410
+ "version": "7.24.4",
1411
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.24.4.tgz",
1412
+ "integrity": "sha512-B8q7Pz870Hz/q9UgP8InNpY01CSLDSCyqX7zcRuv3FcPl87A2G17lASroHWaCtbdIcbYzOZ7kWmXFKbijMSmFg==",
1397
1413
  "dev": true,
1398
1414
  "dependencies": {
1399
- "@babel/helper-create-class-features-plugin": "^7.24.1",
1415
+ "@babel/helper-create-class-features-plugin": "^7.24.4",
1400
1416
  "@babel/helper-plugin-utils": "^7.24.0",
1401
1417
  "@babel/plugin-syntax-class-static-block": "^7.14.5"
1402
1418
  },
@@ -2084,15 +2100,16 @@
2084
2100
  }
2085
2101
  },
2086
2102
  "node_modules/@babel/preset-env": {
2087
- "version": "7.24.3",
2088
- "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.24.3.tgz",
2089
- "integrity": "sha512-fSk430k5c2ff8536JcPvPWK4tZDwehWLGlBp0wrsBUjZVdeQV6lePbwKWZaZfK2vnh/1kQX1PzAJWsnBmVgGJA==",
2103
+ "version": "7.24.4",
2104
+ "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.24.4.tgz",
2105
+ "integrity": "sha512-7Kl6cSmYkak0FK/FXjSEnLJ1N9T/WA2RkMhu17gZ/dsxKJUuTYNIylahPTzqpLyJN4WhDif8X0XK1R8Wsguo/A==",
2090
2106
  "dev": true,
2091
2107
  "dependencies": {
2092
- "@babel/compat-data": "^7.24.1",
2108
+ "@babel/compat-data": "^7.24.4",
2093
2109
  "@babel/helper-compilation-targets": "^7.23.6",
2094
2110
  "@babel/helper-plugin-utils": "^7.24.0",
2095
2111
  "@babel/helper-validator-option": "^7.23.5",
2112
+ "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.24.4",
2096
2113
  "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.24.1",
2097
2114
  "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.24.1",
2098
2115
  "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.24.1",
@@ -2119,9 +2136,9 @@
2119
2136
  "@babel/plugin-transform-async-generator-functions": "^7.24.3",
2120
2137
  "@babel/plugin-transform-async-to-generator": "^7.24.1",
2121
2138
  "@babel/plugin-transform-block-scoped-functions": "^7.24.1",
2122
- "@babel/plugin-transform-block-scoping": "^7.24.1",
2139
+ "@babel/plugin-transform-block-scoping": "^7.24.4",
2123
2140
  "@babel/plugin-transform-class-properties": "^7.24.1",
2124
- "@babel/plugin-transform-class-static-block": "^7.24.1",
2141
+ "@babel/plugin-transform-class-static-block": "^7.24.4",
2125
2142
  "@babel/plugin-transform-classes": "^7.24.1",
2126
2143
  "@babel/plugin-transform-computed-properties": "^7.24.1",
2127
2144
  "@babel/plugin-transform-destructuring": "^7.24.1",
@@ -3737,13 +3754,14 @@
3737
3754
  }
3738
3755
  },
3739
3756
  "node_modules/@types/dockerode": {
3740
- "version": "3.3.26",
3741
- "resolved": "https://registry.npmjs.org/@types/dockerode/-/dockerode-3.3.26.tgz",
3742
- "integrity": "sha512-/K+I9bGhRO2SvyIHisGeOsy/ypxnWLz8+Rde9S2tNNEKa3r91e0XMYIEq2D+kb7srm7xrmpAR0CDKfXoZOr4OA==",
3757
+ "version": "3.3.28",
3758
+ "resolved": "https://registry.npmjs.org/@types/dockerode/-/dockerode-3.3.28.tgz",
3759
+ "integrity": "sha512-RjY96chW88t2QvSebCsec+mQYo3/nyOr+/tVcE+0ynlOg2m/i9wPE52DhptzF75QDlhv2uDYVPqKfHKeGTn6Fg==",
3743
3760
  "dev": true,
3744
3761
  "dependencies": {
3745
3762
  "@types/docker-modem": "*",
3746
- "@types/node": "*"
3763
+ "@types/node": "*",
3764
+ "@types/ssh2": "*"
3747
3765
  }
3748
3766
  },
3749
3767
  "node_modules/@types/ejs": {
@@ -3839,9 +3857,9 @@
3839
3857
  "dev": true
3840
3858
  },
3841
3859
  "node_modules/@types/node": {
3842
- "version": "18.19.28",
3843
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.28.tgz",
3844
- "integrity": "sha512-J5cOGD9n4x3YGgVuaND6khm5x07MMdAKkRyXnjVR6KFhLMNh2yONGiP7Z+4+tBOt5mK+GvDTiacTOVGGpqiecw==",
3860
+ "version": "18.19.31",
3861
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.31.tgz",
3862
+ "integrity": "sha512-ArgCD39YpyyrtFKIqMDvjz79jto5fcI/SVUs2HwB+f0dAzq68yqOdyaSivLiLugSziTpNXLQrVb7RZFmdZzbhA==",
3845
3863
  "dependencies": {
3846
3864
  "undici-types": "~5.26.4"
3847
3865
  }
@@ -12645,9 +12663,9 @@
12645
12663
  }
12646
12664
  },
12647
12665
  "node_modules/typescript": {
12648
- "version": "5.4.3",
12649
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.3.tgz",
12650
- "integrity": "sha512-KrPd3PKaCLr78MalgiwJnA25Nm8HAmdwN3mYUYZgG/wizIo9EainNVQI9/yDavtVFRN2h3k8uf3GLHuhDMgEHg==",
12666
+ "version": "5.4.4",
12667
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.4.tgz",
12668
+ "integrity": "sha512-dGE2Vv8cpVvw28v8HCPqyb08EzbBURxDpuhJvTrusShUfGnhHBafDsLdS1EhhxyL6BJQE+2cT3dDPAv+MQ6oLw==",
12651
12669
  "dev": true,
12652
12670
  "bin": {
12653
12671
  "tsc": "bin/tsc",
@@ -13753,24 +13771,24 @@
13753
13771
  }
13754
13772
  },
13755
13773
  "@babel/compat-data": {
13756
- "version": "7.24.1",
13757
- "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.1.tgz",
13758
- "integrity": "sha512-Pc65opHDliVpRHuKfzI+gSA4zcgr65O4cl64fFJIWEEh8JoHIHh0Oez1Eo8Arz8zq/JhgKodQaxEwUPRtZylVA==",
13774
+ "version": "7.24.4",
13775
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.4.tgz",
13776
+ "integrity": "sha512-vg8Gih2MLK+kOkHJp4gBEIkyaIi00jgWot2D9QOmmfLC8jINSOzmCLta6Bvz/JSBCqnegV0L80jhxkol5GWNfQ==",
13759
13777
  "dev": true
13760
13778
  },
13761
13779
  "@babel/core": {
13762
- "version": "7.24.3",
13763
- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.3.tgz",
13764
- "integrity": "sha512-5FcvN1JHw2sHJChotgx8Ek0lyuh4kCKelgMTTqhYJJtloNvUfpAFMeNQUtdlIaktwrSV9LtCdqwk48wL2wBacQ==",
13780
+ "version": "7.24.4",
13781
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.4.tgz",
13782
+ "integrity": "sha512-MBVlMXP+kkl5394RBLSxxk/iLTeVGuXTV3cIDXavPpMMqnSnt6apKgan/U8O3USWZCWZT/TbgfEpKa4uMgN4Dg==",
13765
13783
  "dev": true,
13766
13784
  "requires": {
13767
13785
  "@ampproject/remapping": "^2.2.0",
13768
13786
  "@babel/code-frame": "^7.24.2",
13769
- "@babel/generator": "^7.24.1",
13787
+ "@babel/generator": "^7.24.4",
13770
13788
  "@babel/helper-compilation-targets": "^7.23.6",
13771
13789
  "@babel/helper-module-transforms": "^7.23.3",
13772
- "@babel/helpers": "^7.24.1",
13773
- "@babel/parser": "^7.24.1",
13790
+ "@babel/helpers": "^7.24.4",
13791
+ "@babel/parser": "^7.24.4",
13774
13792
  "@babel/template": "^7.24.0",
13775
13793
  "@babel/traverse": "^7.24.1",
13776
13794
  "@babel/types": "^7.24.0",
@@ -13821,9 +13839,9 @@
13821
13839
  }
13822
13840
  },
13823
13841
  "@babel/generator": {
13824
- "version": "7.24.1",
13825
- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.1.tgz",
13826
- "integrity": "sha512-DfCRfZsBcrPEHUfuBMgbJ1Ut01Y/itOs+hY2nFLgqsqXd52/iSiVq5TITtUasIUgm+IIKdY2/1I7auiQOEeC9A==",
13842
+ "version": "7.24.4",
13843
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.4.tgz",
13844
+ "integrity": "sha512-Xd6+v6SnjWVx/nus+y0l1sxMOTOMBkyL4+BIdbALyatQnAe/SRVjANeDPSCYaX+i1iJmuGSKf3Z+E+V/va1Hvw==",
13827
13845
  "dev": true,
13828
13846
  "requires": {
13829
13847
  "@babel/types": "^7.24.0",
@@ -13885,9 +13903,9 @@
13885
13903
  }
13886
13904
  },
13887
13905
  "@babel/helper-create-class-features-plugin": {
13888
- "version": "7.24.1",
13889
- "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.24.1.tgz",
13890
- "integrity": "sha512-1yJa9dX9g//V6fDebXoEfEsxkZHk3Hcbm+zLhyu6qVgYFLvmTALTeV+jNU9e5RnYtioBrGEOdoI2joMSNQ/+aA==",
13906
+ "version": "7.24.4",
13907
+ "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.24.4.tgz",
13908
+ "integrity": "sha512-lG75yeuUSVu0pIcbhiYMXBXANHrpUPaOfu7ryAzskCgKUHuAxRQI5ssrtmF0X9UXldPlvT0XM/A4F44OXRt6iQ==",
13891
13909
  "dev": true,
13892
13910
  "requires": {
13893
13911
  "@babel/helper-annotate-as-pure": "^7.22.5",
@@ -14091,9 +14109,9 @@
14091
14109
  }
14092
14110
  },
14093
14111
  "@babel/helpers": {
14094
- "version": "7.24.1",
14095
- "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.1.tgz",
14096
- "integrity": "sha512-BpU09QqEe6ZCHuIHFphEFgvNSrubve1FtyMton26ekZ85gRGi6LrTF7zArARp2YvyFxloeiRmtSCq5sjh1WqIg==",
14112
+ "version": "7.24.4",
14113
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.4.tgz",
14114
+ "integrity": "sha512-FewdlZbSiwaVGlgT1DPANDuCHaDMiOo+D/IDYRFYjHOuv66xMSJ7fQwwODwRNAPkADIO/z1EoF/l2BCWlWABDw==",
14097
14115
  "dev": true,
14098
14116
  "requires": {
14099
14117
  "@babel/template": "^7.24.0",
@@ -14127,11 +14145,21 @@
14127
14145
  }
14128
14146
  },
14129
14147
  "@babel/parser": {
14130
- "version": "7.24.1",
14131
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.1.tgz",
14132
- "integrity": "sha512-Zo9c7N3xdOIQrNip7Lc9wvRPzlRtovHVE4lkz8WEDr7uYh/GMQhSiIgFxGIArRHYdJE5kxtZjAf8rT0xhdLCzg==",
14148
+ "version": "7.24.4",
14149
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.4.tgz",
14150
+ "integrity": "sha512-zTvEBcghmeBma9QIGunWevvBAp4/Qu9Bdq+2k0Ot4fVMD6v3dsC9WOcRSKk7tRRyBM/53yKMJko9xOatGQAwSg==",
14133
14151
  "dev": true
14134
14152
  },
14153
+ "@babel/plugin-bugfix-firefox-class-in-computed-class-key": {
14154
+ "version": "7.24.4",
14155
+ "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.24.4.tgz",
14156
+ "integrity": "sha512-qpl6vOOEEzTLLcsuqYYo8yDtrTocmu2xkGvgNebvPjT9DTtfFYGmgDqY+rBYXNlqL4s9qLDn6xkrJv4RxAPiTA==",
14157
+ "dev": true,
14158
+ "requires": {
14159
+ "@babel/helper-environment-visitor": "^7.22.20",
14160
+ "@babel/helper-plugin-utils": "^7.24.0"
14161
+ }
14162
+ },
14135
14163
  "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": {
14136
14164
  "version": "7.24.1",
14137
14165
  "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.24.1.tgz",
@@ -14401,9 +14429,9 @@
14401
14429
  }
14402
14430
  },
14403
14431
  "@babel/plugin-transform-block-scoping": {
14404
- "version": "7.24.1",
14405
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.24.1.tgz",
14406
- "integrity": "sha512-h71T2QQvDgM2SmT29UYU6ozjMlAt7s7CSs5Hvy8f8cf/GM/Z4a2zMfN+fjVGaieeCrXR3EdQl6C4gQG+OgmbKw==",
14432
+ "version": "7.24.4",
14433
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.24.4.tgz",
14434
+ "integrity": "sha512-nIFUZIpGKDf9O9ttyRXpHFpKC+X3Y5mtshZONuEUYBomAKoM4y029Jr+uB1bHGPhNmK8YXHevDtKDOLmtRrp6g==",
14407
14435
  "dev": true,
14408
14436
  "requires": {
14409
14437
  "@babel/helper-plugin-utils": "^7.24.0"
@@ -14420,12 +14448,12 @@
14420
14448
  }
14421
14449
  },
14422
14450
  "@babel/plugin-transform-class-static-block": {
14423
- "version": "7.24.1",
14424
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.24.1.tgz",
14425
- "integrity": "sha512-FUHlKCn6J3ERiu8Dv+4eoz7w8+kFLSyeVG4vDAikwADGjUCoHw/JHokyGtr8OR4UjpwPVivyF+h8Q5iv/JmrtA==",
14451
+ "version": "7.24.4",
14452
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.24.4.tgz",
14453
+ "integrity": "sha512-B8q7Pz870Hz/q9UgP8InNpY01CSLDSCyqX7zcRuv3FcPl87A2G17lASroHWaCtbdIcbYzOZ7kWmXFKbijMSmFg==",
14426
14454
  "dev": true,
14427
14455
  "requires": {
14428
- "@babel/helper-create-class-features-plugin": "^7.24.1",
14456
+ "@babel/helper-create-class-features-plugin": "^7.24.4",
14429
14457
  "@babel/helper-plugin-utils": "^7.24.0",
14430
14458
  "@babel/plugin-syntax-class-static-block": "^7.14.5"
14431
14459
  }
@@ -14855,15 +14883,16 @@
14855
14883
  }
14856
14884
  },
14857
14885
  "@babel/preset-env": {
14858
- "version": "7.24.3",
14859
- "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.24.3.tgz",
14860
- "integrity": "sha512-fSk430k5c2ff8536JcPvPWK4tZDwehWLGlBp0wrsBUjZVdeQV6lePbwKWZaZfK2vnh/1kQX1PzAJWsnBmVgGJA==",
14886
+ "version": "7.24.4",
14887
+ "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.24.4.tgz",
14888
+ "integrity": "sha512-7Kl6cSmYkak0FK/FXjSEnLJ1N9T/WA2RkMhu17gZ/dsxKJUuTYNIylahPTzqpLyJN4WhDif8X0XK1R8Wsguo/A==",
14861
14889
  "dev": true,
14862
14890
  "requires": {
14863
- "@babel/compat-data": "^7.24.1",
14891
+ "@babel/compat-data": "^7.24.4",
14864
14892
  "@babel/helper-compilation-targets": "^7.23.6",
14865
14893
  "@babel/helper-plugin-utils": "^7.24.0",
14866
14894
  "@babel/helper-validator-option": "^7.23.5",
14895
+ "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.24.4",
14867
14896
  "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.24.1",
14868
14897
  "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.24.1",
14869
14898
  "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.24.1",
@@ -14890,9 +14919,9 @@
14890
14919
  "@babel/plugin-transform-async-generator-functions": "^7.24.3",
14891
14920
  "@babel/plugin-transform-async-to-generator": "^7.24.1",
14892
14921
  "@babel/plugin-transform-block-scoped-functions": "^7.24.1",
14893
- "@babel/plugin-transform-block-scoping": "^7.24.1",
14922
+ "@babel/plugin-transform-block-scoping": "^7.24.4",
14894
14923
  "@babel/plugin-transform-class-properties": "^7.24.1",
14895
- "@babel/plugin-transform-class-static-block": "^7.24.1",
14924
+ "@babel/plugin-transform-class-static-block": "^7.24.4",
14896
14925
  "@babel/plugin-transform-classes": "^7.24.1",
14897
14926
  "@babel/plugin-transform-computed-properties": "^7.24.1",
14898
14927
  "@babel/plugin-transform-destructuring": "^7.24.1",
@@ -16157,13 +16186,14 @@
16157
16186
  }
16158
16187
  },
16159
16188
  "@types/dockerode": {
16160
- "version": "3.3.26",
16161
- "resolved": "https://registry.npmjs.org/@types/dockerode/-/dockerode-3.3.26.tgz",
16162
- "integrity": "sha512-/K+I9bGhRO2SvyIHisGeOsy/ypxnWLz8+Rde9S2tNNEKa3r91e0XMYIEq2D+kb7srm7xrmpAR0CDKfXoZOr4OA==",
16189
+ "version": "3.3.28",
16190
+ "resolved": "https://registry.npmjs.org/@types/dockerode/-/dockerode-3.3.28.tgz",
16191
+ "integrity": "sha512-RjY96chW88t2QvSebCsec+mQYo3/nyOr+/tVcE+0ynlOg2m/i9wPE52DhptzF75QDlhv2uDYVPqKfHKeGTn6Fg==",
16163
16192
  "dev": true,
16164
16193
  "requires": {
16165
16194
  "@types/docker-modem": "*",
16166
- "@types/node": "*"
16195
+ "@types/node": "*",
16196
+ "@types/ssh2": "*"
16167
16197
  }
16168
16198
  },
16169
16199
  "@types/ejs": {
@@ -16259,9 +16289,9 @@
16259
16289
  "dev": true
16260
16290
  },
16261
16291
  "@types/node": {
16262
- "version": "18.19.28",
16263
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.28.tgz",
16264
- "integrity": "sha512-J5cOGD9n4x3YGgVuaND6khm5x07MMdAKkRyXnjVR6KFhLMNh2yONGiP7Z+4+tBOt5mK+GvDTiacTOVGGpqiecw==",
16292
+ "version": "18.19.31",
16293
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.31.tgz",
16294
+ "integrity": "sha512-ArgCD39YpyyrtFKIqMDvjz79jto5fcI/SVUs2HwB+f0dAzq68yqOdyaSivLiLugSziTpNXLQrVb7RZFmdZzbhA==",
16265
16295
  "requires": {
16266
16296
  "undici-types": "~5.26.4"
16267
16297
  }
@@ -22654,9 +22684,9 @@
22654
22684
  }
22655
22685
  },
22656
22686
  "typescript": {
22657
- "version": "5.4.3",
22658
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.3.tgz",
22659
- "integrity": "sha512-KrPd3PKaCLr78MalgiwJnA25Nm8HAmdwN3mYUYZgG/wizIo9EainNVQI9/yDavtVFRN2h3k8uf3GLHuhDMgEHg==",
22687
+ "version": "5.4.4",
22688
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.4.tgz",
22689
+ "integrity": "sha512-dGE2Vv8cpVvw28v8HCPqyb08EzbBURxDpuhJvTrusShUfGnhHBafDsLdS1EhhxyL6BJQE+2cT3dDPAv+MQ6oLw==",
22660
22690
  "dev": true
22661
22691
  },
22662
22692
  "typical": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/vip",
3
- "version": "2.39.0",
3
+ "version": "2.39.1",
4
4
  "description": "The VIP Javascript library & CLI",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -108,8 +108,8 @@
108
108
  "devDependencies": {
109
109
  "@automattic/eslint-plugin-wpvip": "0.9.1",
110
110
  "@babel/cli": "7.24.1",
111
- "@babel/core": "7.24.3",
112
- "@babel/preset-env": "7.24.3",
111
+ "@babel/core": "7.24.4",
112
+ "@babel/preset-env": "7.24.4",
113
113
  "@babel/preset-typescript": "7.24.1",
114
114
  "@jest/globals": "^29.7.0",
115
115
  "@jest/test-sequencer": "^29.7.0",