conductor-node 11.5.1 → 11.5.2

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/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-node",
3
- "version": "11.5.1",
3
+ "version": "11.5.2",
4
4
  "description": "QuickBooks Desktop API for Node.js and TypeScript",
5
5
  "keywords": [
6
6
  "QuickBooks",
@@ -16,9 +16,12 @@ function checkForUpdates() {
16
16
  if ((0, env_1.isEnvironmentVariableTruthy)("CONDUCTOR_HIDE_UPDATE_MESSAGE")) {
17
17
  return;
18
18
  }
19
- // Exit early if npm is not installed.
19
+ // Exit early if `npm` is not installed.
20
20
  try {
21
- node_child_process_1.default.execSync("which npm");
21
+ node_child_process_1.default.execSync("npm --version", {
22
+ // Prevent the shell from internally logging the error message.
23
+ stdio: "ignore",
24
+ });
22
25
  }
23
26
  catch {
24
27
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-node",
3
- "version": "11.5.1",
3
+ "version": "11.5.2",
4
4
  "description": "QuickBooks Desktop API for Node.js and TypeScript",
5
5
  "keywords": [
6
6
  "QuickBooks",