Comparing version 0.2.0 to 0.3.0
@@ -44,8 +44,10 @@ #!/usr/bin/env node | ||
nfzf( list, function ( val, ind ) { | ||
console.log( val ) | ||
nfzf( list, function ( r ) { | ||
if ( !r.selected ) return console.log( 'nothing selected' ) | ||
console.log( r.selected.value ) | ||
var url = ( | ||
'https://www.youtube.com' + | ||
videos[ ind ].url | ||
videos[ r.selected.index ].url | ||
) | ||
@@ -52,0 +54,0 @@ console.log( url ) |
{ | ||
"name": "yt-search", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "search youtube", | ||
@@ -39,3 +39,3 @@ "main": "dist/yt-search.min.js", | ||
"minimist": "~1.2.0", | ||
"node-fzf": "0.0.5" | ||
"node-fzf": "~0.1.2" | ||
}, | ||
@@ -42,0 +42,0 @@ "devDependencies": { |
@@ -1,3 +0,4 @@ | ||
[![npm](https://img.shields.io/npm/v/yt-search.svg?maxAge=3600&style=flat-square)](https://www.npmjs.com/package/yt-search) | ||
[![npm](https://img.shields.io/npm/l/yt-search.svg?maxAge=3600&style=flat-square)](https://github.com/talmobi/yt-search/blob/master/LICENSE) | ||
[![npm](https://img.shields.io/npm/v/yt-search.svg?maxAge=3600)](https://www.npmjs.com/package/yt-search) | ||
[![npm](https://img.shields.io/npm/dm/yt-search.svg?maxAge=3600)](https://www.npmjs.com/package/yt-search) | ||
[![npm](https://img.shields.io/npm/l/yt-search.svg?maxAge=3600)](https://www.npmjs.com/package/yt-search) | ||
@@ -4,0 +5,0 @@ # yt-search |
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
7434
41
101
+ Addednode-fzf@0.1.2(transitive)
- Removednode-fzf@0.0.5(transitive)
Updatednode-fzf@~0.1.2