node-simctl
Advanced tools
Comparing version 7.4.5 to 7.5.0
@@ -7,7 +7,7 @@ "use strict"; | ||
exports.LOG_PREFIX = void 0; | ||
const npmlog_1 = __importDefault(require("npmlog")); | ||
const logger_1 = __importDefault(require("@appium/logger")); | ||
const LOG_PREFIX = 'simctl'; | ||
exports.LOG_PREFIX = LOG_PREFIX; | ||
function getLogger() { | ||
const logger = global._global_npmlog || npmlog_1.default; | ||
const logger = global._global_npmlog || logger_1.default; | ||
if (!logger.debug) { | ||
@@ -14,0 +14,0 @@ logger.addLevel('debug', 1000, { fg: 'blue', bg: 'black' }, 'dbug'); |
@@ -0,1 +1,7 @@ | ||
## [7.5.0](https://github.com/appium/node-simctl/compare/v7.4.5...v7.5.0) (2024-06-07) | ||
### Features | ||
* Replace the deprecated npmlog with @appium/logger fork ([#246](https://github.com/appium/node-simctl/issues/246)) ([059afe8](https://github.com/appium/node-simctl/commit/059afe8e3e2e97ec61c1bd0b28e4b159d3d31004)) | ||
## [7.4.5](https://github.com/appium/node-simctl/compare/v7.4.4...v7.4.5) (2024-06-04) | ||
@@ -2,0 +8,0 @@ |
@@ -1,8 +0,7 @@ | ||
import npmlog from 'npmlog'; | ||
import appiumLogger from '@appium/logger'; | ||
const LOG_PREFIX = 'simctl'; | ||
function getLogger () { | ||
const logger = global._global_npmlog || npmlog; | ||
const logger = global._global_npmlog || appiumLogger; | ||
if (!logger.debug) { | ||
@@ -9,0 +8,0 @@ logger.addLevel('debug', 1000, { fg: 'blue', bg: 'black' }, 'dbug'); |
@@ -9,3 +9,3 @@ { | ||
], | ||
"version": "7.4.5", | ||
"version": "7.5.0", | ||
"author": "Appium Contributors", | ||
@@ -37,6 +37,6 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@appium/logger": "^1.3.0", | ||
"asyncbox": "^3.0.0", | ||
"bluebird": "^3.5.1", | ||
"lodash": "^4.2.1", | ||
"npmlog": "^7.0.1", | ||
"rimraf": "^5.0.0", | ||
@@ -43,0 +43,0 @@ "semver": "^7.0.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
240281
+ Added@appium/logger@^1.3.0
+ Added@appium/logger@1.6.1(transitive)
- Removednpmlog@^7.0.1
- Removedaproba@2.0.0(transitive)
- Removedare-we-there-yet@4.0.2(transitive)
- Removedcolor-support@1.1.3(transitive)
- Removedgauge@5.0.2(transitive)
- Removedhas-unicode@2.0.1(transitive)
- Removednpmlog@7.0.1(transitive)
- Removedwide-align@1.1.5(transitive)