@contentstack/cli-utilities 1.3.1 → 1.3.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.
@@ -8,7 +8,7 @@ const config_handler_1 = tslib_1.__importDefault(require("./config-handler"));
8
8
  const ContentstackManagementSDK = tslib_1.__importStar(require("@contentstack/management"));
9
9
  const http = require('http');
10
10
  const url = require('url');
11
- const open = require('open');
11
+ const open_1 = tslib_1.__importDefault(require("open"));
12
12
  const crypto = require('crypto');
13
13
  /**
14
14
  * @class
@@ -147,7 +147,7 @@ class AuthHandler {
147
147
  }
148
148
  cli_ux_1.default.print('This will automatically start the browser and open the below URL, if it does not, you can copy and paste the below URL in the browser without terminating this command.', { color: 'yellow' });
149
149
  cli_ux_1.default.print(url, { color: 'green' });
150
- resolve(open(url));
150
+ resolve((0, open_1.default)(url));
151
151
  }
152
152
  catch (error) {
153
153
  reject(error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentstack/cli-utilities",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Utilities for contentstack projects",
5
5
  "main": "lib/index.js",
6
6
  "types": "./types/index.d.ts",
@@ -41,6 +41,7 @@
41
41
  "inquirer-search-checkbox": "^1.0.0",
42
42
  "inquirer-search-list": "^1.2.6",
43
43
  "lodash": "^4.17.15",
44
+ "open": "^8.4.2",
44
45
  "ora": "^5.4.0",
45
46
  "unique-string": "^2.0.0",
46
47
  "uuid": "^9.0.0",
@@ -68,7 +69,7 @@
68
69
  "sinon": "^15.0.1",
69
70
  "tmp": "^0.2.1",
70
71
  "ts-node": "^10.9.1",
71
- "typescript": "^4.9.3",
72
- "tslib": "^1.13.0"
72
+ "tslib": "^1.13.0",
73
+ "typescript": "^4.9.3"
73
74
  }
74
- }
75
+ }