@automattic/vip 2.17.0 → 2.19.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.17.0",
3
+ "version": "2.19.0",
4
4
  "description": "The VIP Javascript library & CLI",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -82,12 +82,12 @@
82
82
  },
83
83
  "homepage": "https://github.com/Automattic/vip#readme",
84
84
  "devDependencies": {
85
- "@babel/cli": "7.15.7",
86
- "@babel/core": "7.14.0",
87
- "@babel/eslint-parser": "7.13.14",
88
- "@babel/plugin-transform-modules-commonjs": "7.14.0",
89
- "@babel/preset-env": "7.14.1",
90
- "@babel/preset-flow": "7.13.13",
85
+ "@babel/cli": "7.17.10",
86
+ "@babel/core": "7.18.5",
87
+ "@babel/eslint-parser": "7.18.2",
88
+ "@babel/plugin-transform-modules-commonjs": "7.18.2",
89
+ "@babel/preset-env": "7.18.2",
90
+ "@babel/preset-flow": "7.17.12",
91
91
  "babel-core": "7.0.0-bridge.0",
92
92
  "babel-jest": "26.6.3",
93
93
  "babel-plugin-module-resolver": "4.1.0",
@@ -95,46 +95,45 @@
95
95
  "eslint": "7.32.0",
96
96
  "eslint-config-wpvip": "github:automattic/eslint-config-wpvip#c6605d1",
97
97
  "eslint-plugin-flowtype": "5.7.2",
98
- "eslint-plugin-import": "2.22.1",
99
- "eslint-plugin-jest": "24.3.6",
100
- "eslint-plugin-json": "3.0.0",
101
- "eslint-plugin-jsx-a11y": "6.4.1",
98
+ "eslint-plugin-import": "2.26.0",
99
+ "eslint-plugin-jest": "24.4.0",
100
+ "eslint-plugin-json": "3.1.0",
101
+ "eslint-plugin-jsx-a11y": "6.5.1",
102
102
  "eslint-plugin-no-async-foreach": "0.1.1",
103
- "eslint-plugin-react": "7.26.0",
104
- "eslint-plugin-wpcalypso": "5.0.0",
105
- "flow-bin": "0.172.0",
103
+ "eslint-plugin-react": "7.30.0",
104
+ "eslint-plugin-wpcalypso": "4.1.0",
105
+ "flow-bin": "0.180.0",
106
106
  "jest": "27.2.1",
107
- "nock": "13.0.11",
107
+ "nock": "13.2.7",
108
108
  "prettier": "npm:wp-prettier@2.0.5",
109
109
  "publish-please": "5.5.2",
110
110
  "rimraf": "3.0.2"
111
111
  },
112
112
  "dependencies": {
113
- "@apollo/client": "^3.3.6",
114
- "@automattic/vip-search-replace": "^1.0.15",
115
- "args": "5.0.1",
113
+ "@apollo/client": "^3.6.8",
114
+ "@automattic/vip-search-replace": "^1.0.20",
115
+ "args": "5.0.3",
116
116
  "chalk": "4.1.2",
117
117
  "cli-columns": "^4.0.0",
118
118
  "cli-table": "github:automattic/cli-table#7b14232",
119
119
  "configstore": "5.0.1",
120
- "debug": "4.3.3",
120
+ "debug": "4.3.4",
121
121
  "ejs": "^3.1.6",
122
122
  "enquirer": "2.3.6",
123
123
  "graphql": "15.5.1",
124
- "graphql-tag": "2.12.5",
125
- "http-proxy-agent": "^5.0.0",
124
+ "graphql-tag": "2.12.6",
126
125
  "https-proxy-agent": "^5.0.1",
127
126
  "ini": "2.0.0",
128
- "json2csv": "5.0.6",
127
+ "json2csv": "5.0.7",
129
128
  "jwt-decode": "2.2.0",
130
129
  "lando": "git+https://github.com/Automattic/lando-cli.git#v3.5.2-patch2022_09_05",
131
130
  "node-fetch": "^2.6.1",
132
131
  "opn": "5.5.0",
133
132
  "proxy-from-env": "^1.1.0",
134
- "rollbar": "2.22.0",
135
- "semver": "7.3.5",
133
+ "rollbar": "2.25.0",
134
+ "semver": "7.3.7",
136
135
  "single-line-log": "1.1.2",
137
- "socket.io-client": "4.4.1",
136
+ "socket.io-client": "4.5.1",
138
137
  "socket.io-stream": "0.9.1",
139
138
  "socks-proxy-agent": "^5.0.1",
140
139
  "update-notifier": "4.1.3",
@@ -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
- }