@automattic/vip 3.23.0 → 3.23.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.
@@ -42,14 +42,6 @@ const appQuery = `
42
42
  primaryDomain { name }
43
43
  uniqueLabel
44
44
  isMultisite
45
- wpSitesSDS(first:500) {
46
- total
47
- nodes {
48
- id
49
- blogId
50
- homeUrl
51
- }
52
- }
53
45
  }
54
46
  `;
55
47
  (0, _command.default)({
@@ -188,11 +188,11 @@ class DevEnvSyncSQLCommand {
188
188
  await (0, _promises.pipeline)(streams);
189
189
  _fs.default.renameSync(outputFile, this.sqlFile);
190
190
  }
191
- async getSiteUrlsFromSDS() {
192
- if (this.env.isMultisite && (!this.env.wpSitesSDS?.nodes || !this.env.wpSitesSDS?.total || this.env.wpSitesSDS.nodes.length < this.env.wpSitesSDS.total)) {
191
+ getSiteUrlsFromSDS() {
192
+ if (this.env.isMultisite) {
193
193
  return this.fetchAllSites(Number(this.app.id), Number(this.env.id));
194
194
  }
195
- return this.env.wpSitesSDS?.nodes?.filter(node => Boolean(node)) ?? [];
195
+ return Promise.resolve([]);
196
196
  }
197
197
  fetchSitesPage(api, appId, environmentId, after) {
198
198
  return api.query({
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@automattic/vip",
3
- "version": "3.23.0",
3
+ "version": "3.23.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@automattic/vip",
9
- "version": "3.23.0",
9
+ "version": "3.23.1",
10
10
  "hasInstallScript": true,
11
11
  "license": "MIT",
12
12
  "dependencies": {
@@ -13386,13 +13386,13 @@
13386
13386
  }
13387
13387
  },
13388
13388
  "node_modules/socket.io-client": {
13389
- "version": "4.8.1",
13390
- "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-4.8.1.tgz",
13391
- "integrity": "sha512-hJVXfu3E28NmzGk8o1sHhN3om52tRvwYeidbj7xKy2eIIse5IoKX3USlS6Tqt3BHAtflLIkCQBkzVrEEfWUyYQ==",
13389
+ "version": "4.8.3",
13390
+ "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-4.8.3.tgz",
13391
+ "integrity": "sha512-uP0bpjWrjQmUt5DTHq9RuoCBdFJF10cdX9X+a368j/Ft0wmaVgxlrjvK3kjvgCODOMMOz9lcaRzxmso0bTWZ/g==",
13392
13392
  "license": "MIT",
13393
13393
  "dependencies": {
13394
13394
  "@socket.io/component-emitter": "~3.1.0",
13395
- "debug": "~4.3.2",
13395
+ "debug": "~4.4.1",
13396
13396
  "engine.io-client": "~6.6.1",
13397
13397
  "socket.io-parser": "~4.2.4"
13398
13398
  },
@@ -13400,23 +13400,6 @@
13400
13400
  "node": ">=10.0.0"
13401
13401
  }
13402
13402
  },
13403
- "node_modules/socket.io-client/node_modules/debug": {
13404
- "version": "4.3.7",
13405
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz",
13406
- "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==",
13407
- "license": "MIT",
13408
- "dependencies": {
13409
- "ms": "^2.1.3"
13410
- },
13411
- "engines": {
13412
- "node": ">=6.0"
13413
- },
13414
- "peerDependenciesMeta": {
13415
- "supports-color": {
13416
- "optional": true
13417
- }
13418
- }
13419
- },
13420
13403
  "node_modules/socket.io-parser": {
13421
13404
  "version": "4.2.4",
13422
13405
  "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.4.tgz",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/vip",
3
- "version": "3.23.0",
3
+ "version": "3.23.1",
4
4
  "description": "The VIP Javascript library & CLI",
5
5
  "main": "index.js",
6
6
  "bin": {