@webiny/telemetry 0.0.0-unstable.df7a8bb475 → 0.0.0-unstable.e2758ee1cf

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.
Files changed (2) hide show
  1. package/cli.js +2 -2
  2. package/package.json +4 -4
package/cli.js CHANGED
@@ -2,7 +2,7 @@ import { globalConfig } from "@webiny/global-config";
2
2
  import { isCI } from "ci-info";
3
3
  import { WTS } from "wts-client/node.js";
4
4
  import baseSendEvent from "./sendEvent.js";
5
- import readJson from "load-json-file";
5
+ import { loadJsonFileSync } from "load-json-file";
6
6
  import path from "path";
7
7
 
8
8
  export const sendEvent = async ({ event, user, version, properties }) => {
@@ -21,7 +21,7 @@ export const sendEvent = async ({ event, user, version, properties }) => {
21
21
  }
22
22
 
23
23
  const packageJsonPath = path.join(import.meta.dirname, "package.json");
24
- const packageJson = await readJson(packageJsonPath);
24
+ const packageJson = loadJsonFileSync(packageJsonPath);
25
25
 
26
26
  return baseSendEvent({
27
27
  event,
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@webiny/telemetry",
3
- "version": "0.0.0-unstable.df7a8bb475",
3
+ "version": "0.0.0-unstable.e2758ee1cf",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "dependencies": {
7
- "@webiny/global-config": "0.0.0-unstable.df7a8bb475",
7
+ "@webiny/global-config": "0.0.0-unstable.e2758ee1cf",
8
8
  "ci-info": "4.4.0",
9
9
  "jsesc": "3.1.0",
10
- "load-json-file": "6.2.0",
10
+ "load-json-file": "7.0.1",
11
11
  "strip-ansi": "6.0.1",
12
12
  "wts-client": "2.0.0"
13
13
  },
@@ -15,5 +15,5 @@
15
15
  "access": "public",
16
16
  "directory": "."
17
17
  },
18
- "gitHead": "df7a8bb4755a1da047f0af8c56bdb649cc81bf7d"
18
+ "gitHead": "e2758ee1cfa3b9a7152e9bb995a90ccabd33266f"
19
19
  }