@rsdoctor/cli 0.4.6 → 0.4.8

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.
@@ -1 +1 @@
1
- {"version":3,"file":"bundle-diff.d.ts","sourceRoot":"","sources":["../../src/commands/bundle-diff.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAMnC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAoC,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAIxE,UAAU,OAAO;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,eAAO,MAAM,UAAU,EAAE,OAAO,CAC9B,QAAQ,CAAC,UAAU,EACnB,OAAO,EACP,GAAG,CAAC,mBAAmB,CAuJtB,CAAC"}
1
+ {"version":3,"file":"bundle-diff.d.ts","sourceRoot":"","sources":["../../src/commands/bundle-diff.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAMnC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAoC,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAIxE,UAAU,OAAO;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,eAAO,MAAM,UAAU,EAAE,OAAO,CAC9B,QAAQ,CAAC,UAAU,EACnB,OAAO,EACP,GAAG,CAAC,mBAAmB,CAyJtB,CAAC"}
@@ -121,14 +121,16 @@ example: ${bin} ${import_constants.Commands.BundleDiff} --baseline="x.json" --cu
121
121
  const baselineManifestsBuffer = Buffer.from(
122
122
  JSON.stringify({
123
123
  __LOCAL__SERVER__: true,
124
- __SOCKET__URL__: baselineSdk.server.socketUrl,
124
+ __SOCKET__URL__: baselineSdk.server.socketUrl.socketUrl,
125
+ __SOCKET__PORT__: baselineSdk.server.socketUrl.port,
125
126
  ...baselineData
126
127
  })
127
128
  );
128
129
  const currentManifestsBuffer = Buffer.from(
129
130
  JSON.stringify({
130
131
  __LOCAL__SERVER__: true,
131
- __SOCKET__URL__: currentSdk.server.socketUrl,
132
+ __SOCKET__PORT__: currentSdk.server.socketUrl.port,
133
+ __SOCKET__URL__: currentSdk.server.socketUrl.socketUrl,
132
134
  ...currentData
133
135
  })
134
136
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsdoctor/cli",
3
- "version": "0.4.6",
3
+ "version": "0.4.8",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/web-infra-dev/rsdoctor",
@@ -27,10 +27,10 @@
27
27
  "ora": "^5.4.1",
28
28
  "tslib": "2.7.0",
29
29
  "yargs": "17.7.2",
30
- "@rsdoctor/client": "0.4.6",
31
- "@rsdoctor/sdk": "0.4.6",
32
- "@rsdoctor/types": "0.4.6",
33
- "@rsdoctor/utils": "0.4.6"
30
+ "@rsdoctor/client": "0.4.8",
31
+ "@rsdoctor/sdk": "0.4.8",
32
+ "@rsdoctor/types": "0.4.8",
33
+ "@rsdoctor/utils": "0.4.8"
34
34
  },
35
35
  "publishConfig": {
36
36
  "access": "public",