Socket
Socket
Sign inDemoInstall

voc-cli

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

voc-cli - npm Package Compare versions

Comparing version 1.7.0 to 1.7.1

7

bin/dic/webster.js

@@ -7,2 +7,3 @@ 'use strict';

var cheerio = require('cheerio');
var resolve = require('url').resolve;

@@ -58,5 +59,5 @@ module.exports = function () {

if (item.label.toLowerCase() === word) {
// show_cat: false, link: "/dictionary/sherry"
// show_cat: true, link: "http://www.spanishcentral.com/translate/sherry"
var link = (item.show_cat ? '' : HOST) + item.link;
// link: "/dictionary/sherry"
// link: "http://www.spanishcentral.com/translate/sherry"
var link = resolve(HOST, item.link);
arr.push(link);

@@ -63,0 +64,0 @@ }

@@ -0,1 +1,6 @@

## 1.7.1 (June 10, 2016)
### Webster
- fix the issue resloving incorrect URL link ([#5](https://github.com/zlargon/voc/issues/5))
## 1.7.0 (June 2, 2016)

@@ -8,3 +13,3 @@

- search and check the words before download the audio
- generate incorrect url in particular case
- fix issue generating incorrect url in particular case

@@ -11,0 +16,0 @@ ### Collins

{
"name": "voc-cli",
"version": "1.7.0",
"version": "1.7.1",
"description": "download and play English vocabularies' audio via command line",

@@ -5,0 +5,0 @@ "main": "bin/getAudio.js",

@@ -28,5 +28,5 @@ # voc

## Changed History
## Change Log
[see CHANGELOG](https://github.com/zlargon/voc/blob/master/CHANGELOG.md)
Please see [CHANGELOG](https://github.com/zlargon/voc/blob/master/CHANGELOG.md).

@@ -33,0 +33,0 @@ ## Installation

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc