@architect/utils
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -5,2 +5,10 @@ # Architect Utils changelog | ||
## [2.1.1] 2021-06-14 | ||
### Fixed | ||
- Fixed `updater` truncated color escape sequence, return correct log data in `updater.start()` | ||
--- | ||
## [2.1.0] 2021-05-13 | ||
@@ -7,0 +15,0 @@ |
{ | ||
"name": "@architect/utils", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Common utility functions", | ||
@@ -13,3 +13,3 @@ "main": "index.js", | ||
"test:unit": "cross-env tape 'test/**/*-test.js' | tap-spec", | ||
"test:unit:updater": "cross-env tape test/updater/test.js", | ||
"test:unit:updater": "cross-env tape test/updater/test.js | tap-spec", | ||
"lint": "npx eslint . --fix", | ||
@@ -24,4 +24,4 @@ "rc": "npm version prerelease --preid RC" | ||
"dependencies": { | ||
"chalk": "~4.1.0", | ||
"glob": "~7.1.6", | ||
"chalk": "~4.1.1", | ||
"glob": "~7.1.7", | ||
"path-sort": "~0.1.0", | ||
@@ -35,12 +35,12 @@ "restore-cursor": "~3.1.0", | ||
"@architect/eslint-config": "1.0.0", | ||
"@architect/inventory": "1.2.1", | ||
"@architect/inventory": "1.3.3", | ||
"aws-sdk": "2.712.0", | ||
"cross-env": "7.0.3", | ||
"eslint": "7.26.0", | ||
"eslint": "7.28.0", | ||
"husky": "^6.0.0", | ||
"proxyquire": "^2.1.3", | ||
"sinon": "^10.0.0", | ||
"sinon": "^11.1.1", | ||
"tap-spec": "^5.0.0", | ||
"tape": "^5.0.1", | ||
"temp-write": "^4.0.0" | ||
"tape": "^5.2.2", | ||
"temp-write": "4.0.0" | ||
}, | ||
@@ -47,0 +47,0 @@ "husky": { |
@@ -25,3 +25,4 @@ let chalk = require('chalk') | ||
params.running = setInterval(function () { | ||
printer.write(`${chalk.cyan(frames[i = ++i % frames.length])} ${output.substr(2)}`) | ||
let out = output.replace(chars.start + ' ', '') // Don't strip via substr, which might truncate escape sequences | ||
printer.write(`${chalk.cyan(frames[i = ++i % frames.length])} ${out}`) | ||
printer.reset() | ||
@@ -60,3 +61,3 @@ }, timing) | ||
log(args, params, info, { animate: !isCI }) | ||
return `${chars.start} ${info}` | ||
return info | ||
} | ||
@@ -63,0 +64,0 @@ |
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
45634
616
Updatedchalk@~4.1.1
Updatedglob@~7.1.7