@automattic/vip 2.36.2 → 2.36.3
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/assets/dev-env.lando.template.yml.ejs +1 -1
- package/dist/bin/vip-import-sql.js +0 -1
- package/dist/lib/cli/command.js +0 -1
- package/dist/lib/client-file-uploader.js +0 -3
- package/dist/lib/constants/dev-environment.js +1 -1
- package/dist/lib/dev-environment/dev-environment-cli.js +0 -2
- package/dist/lib/site-import/status.js +0 -1
- package/docs/CHANGELOG.md +13 -0
- package/npm-shrinkwrap.json +290 -302
- package/package.json +7 -8
|
@@ -415,7 +415,6 @@ Processing the SQL import for your environment...
|
|
|
415
415
|
`;
|
|
416
416
|
progressTracker.suffix = `\n${(0, _format.getGlyphForStatus)(status, progressTracker.runningSprite)} ${status === 'running' ? 'Loading remaining steps' : ''}`; // TODO: maybe use progress tracker status
|
|
417
417
|
};
|
|
418
|
-
|
|
419
418
|
const failWithError = failureError => {
|
|
420
419
|
status = 'failed';
|
|
421
420
|
setProgressTrackerPrefixAndSuffix();
|
package/dist/lib/cli/command.js
CHANGED
|
@@ -88,7 +88,6 @@ _args.default.argv = async function (argv, cb) {
|
|
|
88
88
|
options.app = parsedAlias.app;
|
|
89
89
|
options.env = parsedAlias.env; // Can be undefined
|
|
90
90
|
}
|
|
91
|
-
|
|
92
91
|
const validationError = validateOpts(options);
|
|
93
92
|
if (validationError) {
|
|
94
93
|
const error = validationError.toString();
|
|
@@ -38,7 +38,6 @@ require('fetch-retry')(_nodeFetch.default, {
|
|
|
38
38
|
return Math.pow(2, attempt) * 1000; // 1000, 2000, 4000
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
|
-
|
|
42
41
|
const debug = (0, _debug.default)('vip:lib/client-file-uploader');
|
|
43
42
|
|
|
44
43
|
// Files smaller than COMPRESS_THRESHOLD will not be compressed before upload
|
|
@@ -198,7 +197,6 @@ async function uploadUsingPutObject({
|
|
|
198
197
|
...fetchOptions.headers,
|
|
199
198
|
'Content-Length': `${fileSize}` // This has to be a string
|
|
200
199
|
};
|
|
201
|
-
|
|
202
200
|
let readBytes = 0;
|
|
203
201
|
const progressPassThrough = new _stream.PassThrough();
|
|
204
202
|
progressPassThrough.on('data', data => {
|
|
@@ -484,7 +482,6 @@ async function uploadPart({
|
|
|
484
482
|
* ...so it may not be feasible to include with presigned requests.
|
|
485
483
|
*/
|
|
486
484
|
};
|
|
487
|
-
|
|
488
485
|
fetchOptions.body = (0, _fs.createReadStream)(fileName, {
|
|
489
486
|
start,
|
|
490
487
|
end
|
|
@@ -40,4 +40,4 @@ const DEV_ENVIRONMENT_PHP_VERSIONS = exports.DEV_ENVIRONMENT_PHP_VERSIONS = {
|
|
|
40
40
|
label: '7.4 (EOL; not supported)'
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
|
-
const DEV_ENVIRONMENT_VERSION = exports.DEV_ENVIRONMENT_VERSION = '2.0.
|
|
43
|
+
const DEV_ENVIRONMENT_VERSION = exports.DEV_ENVIRONMENT_VERSION = '2.0.1';
|
|
@@ -189,7 +189,6 @@ async function getEnvironmentName(options) {
|
|
|
189
189
|
}
|
|
190
190
|
return DEFAULT_SLUG; // Fall back to the default slug if we don't have any, e.g. during the env creation purpose
|
|
191
191
|
}
|
|
192
|
-
|
|
193
192
|
function getEnvironmentStartCommand(slug, configurationFileOptions) {
|
|
194
193
|
const isUsingConfigurationFileSlug = Object.keys(configurationFileOptions).length > 0 && configurationFileOptions.slug === slug;
|
|
195
194
|
if (!slug || isUsingConfigurationFileSlug) {
|
|
@@ -606,7 +605,6 @@ function processBooleanOption(value) {
|
|
|
606
605
|
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
607
606
|
return !FALSE_OPTIONS.includes(value.toString().toLowerCase()); // NOSONAR
|
|
608
607
|
}
|
|
609
|
-
|
|
610
608
|
function processStringOrBooleanOption(value) {
|
|
611
609
|
if (typeof value === 'boolean') {
|
|
612
610
|
return value;
|
package/docs/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
## Changelog
|
|
2
2
|
|
|
3
|
+
### 2.36.3
|
|
4
|
+
|
|
5
|
+
- build(deps): bump @json2csv/plainjs from 7.0.3 to 7.0.4
|
|
6
|
+
- build(deps-dev): bump nock from 13.3.8 to 13.4.0
|
|
7
|
+
- build(deps-dev): bump the babel group with 2 updates
|
|
8
|
+
- build(deps-dev): bump @automattic/eslint-plugin-wpvip from 0.9.0 to 0.9.1
|
|
9
|
+
- fix(dev-env): `/lando-entrypoint.sh: exec: line 83: exit: not found`
|
|
10
|
+
- build(deps-dev): bump eslint from 8.54.0 to 8.55.0
|
|
11
|
+
- build(deps-dev): bump typescript from 5.3.2 to 5.3.3
|
|
12
|
+
- build(deps-dev): bump the testing group with 1 update
|
|
13
|
+
- chore(deps): update lando to 25fcd83
|
|
14
|
+
- build(deps): bump Automattic/vip-actions from 0.1.2 to 0.2.0
|
|
15
|
+
|
|
3
16
|
### 2.36.2
|
|
4
17
|
|
|
5
18
|
- #1558 fix(dev-env): Fix typo on suggested start command after updating env
|