@automattic/vip 2.16.0 → 2.18.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/vip",
3
- "version": "2.16.0",
3
+ "version": "2.18.0",
4
4
  "description": "The VIP Javascript library & CLI",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -18,6 +18,7 @@
18
18
  "vip-config-envvar-set": "dist/bin/vip-config-envvar-set.js",
19
19
  "vip-config-software": "dist/bin/vip-config-software.js",
20
20
  "vip-config-software-get": "dist/bin/vip-config-software-get.js",
21
+ "vip-config-software-update": "dist/bin/vip-config-software-update.js",
21
22
  "vip-dev-env": "dist/bin/vip-dev-env.js",
22
23
  "vip-dev-env-create": "dist/bin/vip-dev-env-create.js",
23
24
  "vip-dev-env-update": "dist/bin/vip-dev-env-update.js",
@@ -121,12 +122,11 @@
121
122
  "enquirer": "2.3.6",
122
123
  "graphql": "15.5.1",
123
124
  "graphql-tag": "2.12.5",
124
- "http-proxy-agent": "^5.0.0",
125
125
  "https-proxy-agent": "^5.0.1",
126
126
  "ini": "2.0.0",
127
127
  "json2csv": "5.0.6",
128
128
  "jwt-decode": "2.2.0",
129
- "lando": "git+https://github.com/Automattic/lando-cli.git#v3.5.2-patch2022_08_11",
129
+ "lando": "git+https://github.com/Automattic/lando-cli.git#v3.5.2-patch2022_09_05",
130
130
  "node-fetch": "^2.6.1",
131
131
  "opn": "5.5.0",
132
132
  "proxy-from-env": "^1.1.0",
@@ -1,52 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = pager;
7
- exports.end = end;
8
-
9
- var _child_process = require("child_process");
10
-
11
- var _stream = require("stream");
12
-
13
- /**
14
- * External dependencies
15
- */
16
- let proc;
17
-
18
- function pager() {
19
- let less;
20
-
21
- switch (process.platform) {
22
- case 'win32':
23
- // PROGRA~1 is the short name for Program Files
24
- // we're using it here to avoid the space which is broken by .split( ' ' )
25
- less = 'C:\\PROGRA~1\\Git\\usr\\bin\\less.exe -FRX';
26
- break;
27
-
28
- default:
29
- less = 'less -FRX';
30
- }
31
-
32
- const args = (process.env.PAGER || less).split(' ');
33
- const bin = args.shift(); // passthrough pipe so we can change the output pipe if necessary
34
-
35
- const pipe = new _stream.PassThrough();
36
- proc = (0, _child_process.spawn)(bin, args, {
37
- stdio: ['pipe', process.stdout, process.stderr]
38
- });
39
- proc.on('exit', () => {
40
- proc.stdin.emit('done');
41
- }); // If we can't spawn less, pipe directly to stdout
42
-
43
- pipe.pipe(proc.stdin);
44
- proc.on('error', () => {
45
- pipe.pipe(process.stdout);
46
- });
47
- return pipe;
48
- }
49
-
50
- function end() {
51
- proc.end();
52
- }