select-shell
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -173,3 +173,5 @@ 'use strict'; | ||
Select.prototype.option = function (text, value) { | ||
this.options.push({ text: text, value: value || text }); | ||
value = value !== undefined ? value : text; | ||
this.options.push({ text: text, value: value }); | ||
this.optionsLength = this.options.length; | ||
@@ -176,0 +178,0 @@ return this; |
{ | ||
"name": "select-shell", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "list of select for nodejs on terminal.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
8523
251
0