Comparing version 2.0.2 to 2.0.3
@@ -31,4 +31,4 @@ "use strict"; | ||
this.value = !!opts.initial; | ||
this.active = opts.active; | ||
this.inactive = opts.inactive; | ||
this.active = opts.active || 'on'; | ||
this.inactive = opts.inactive || 'off'; | ||
this.initialValue = this.value; | ||
@@ -35,0 +35,0 @@ this.render(); |
@@ -21,4 +21,4 @@ const color = require('kleur'); | ||
this.value = !!opts.initial; | ||
this.active = opts.active; | ||
this.inactive = opts.inactive; | ||
this.active = opts.active || 'on'; | ||
this.inactive = opts.inactive || 'off'; | ||
this.initialValue = this.value; | ||
@@ -25,0 +25,0 @@ this.render(); |
{ | ||
"name": "prompts", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Lightweight, beautiful and user-friendly prompts", | ||
@@ -44,3 +44,3 @@ "license": "MIT", | ||
"@babel/cli": "^7.2.3", | ||
"@babel/core": "^7.2.2", | ||
"@babel/core": "^7.3.3", | ||
"@babel/plugin-proposal-object-rest-spread": "^7.3.2", | ||
@@ -47,0 +47,0 @@ "@babel/preset-env": "^7.3.1", |
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
117925