Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

newsquery

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

newsquery - npm Package Compare versions

Comparing version 0.3.4 to 0.3.5

4

lib/newsquery.js

@@ -112,4 +112,4 @@ var Q = require('q');

// Always request for one more concept than has been asked for, as we will ignore the first result (which is the concept that has been asked for!)
var url = this.semanticNewsApiHost+'/concepts/co-occurrences/?uri='+encodeURIComponent(conceptUri)+'&limit='+encodeURIComponent(limit + 1)+'&apikey='+encodeURIComponent(this.apiKey);
// Always request 2 more concepts than has been asked for, as we will ignore the first result (which is the concept that has been asked for!) *and* sometimes the API returns one less than requested.
var url = this.semanticNewsApiHost+'/concepts/co-occurrences/?uri='+encodeURIComponent(conceptUri)+'&limit='+encodeURIComponent(limit + 2)+'&apikey='+encodeURIComponent(this.apiKey);

@@ -116,0 +116,0 @@ if (conceptTypeUris instanceof Array) {

@@ -9,3 +9,3 @@ {

"description": "The newsQuery NPM package provides a simple interface to BBC News Labs APIs",
"version": "0.3.4",
"version": "0.3.5",
"main": "./lib/newsquery.js",

@@ -30,6 +30,8 @@ "keywords": [

"devDependencies" : {
"mocha" : "1.19.0"
"mocha": "1.19.0",
"parallel-mocha": "*"
},
"scripts" : {
"test" : "mocha test/*.js"
"test": "mocha test/*.js",
"test-parallel": "parallel-mocha test/*.js"
},

@@ -36,0 +38,0 @@ "engines": {

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