statebus 6.1.6 → 6.1.7

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/package.json +1 -1
  2. package/statebus.js +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "statebus",
3
- "version": "6.1.6",
3
+ "version": "6.1.7",
4
4
  "description": "Synchronize state.",
5
5
  "main": "statebus.js",
6
6
  "scripts": {
package/statebus.js CHANGED
@@ -2205,6 +2205,8 @@
2205
2205
  console.log.apply(console, arguments)
2206
2206
  }
2207
2207
  function statelog (key, color, icon, message) {
2208
+ if (bus.colored_honk === false)
2209
+ color = ''
2208
2210
  if (honking_at(key))
2209
2211
  indented_log(color + icon + ' ' + message + normal)
2210
2212
  }