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

duck-duck-scrape

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

duck-duck-scrape - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

.mergify.yml

6

CHANGELOG.md

@@ -8,2 +8,5 @@ # Changelog

## [Unreleased]
## [2.1.1] - 2021-08-07
### Fixed:
- Fixed `noResults` being incorrect in images/news/videos
## [2.1.0] - 2021-06-03

@@ -27,3 +30,3 @@ ### Added:

[Unreleased]: https://github.com/Snazzah/duck-duck-scrape/compare/v2.1.0...HEAD
[Unreleased]: https://github.com/Snazzah/duck-duck-scrape/compare/v2.1.1...HEAD
[1.0.3]: https://github.com/Snazzah/duck-duck-scrape/releases/tag/v1.0.3

@@ -33,1 +36,2 @@ [2.0.0]: https://github.com/Snazzah/duck-duck-scrape/compare/v1.0.3...v2.0.0

[2.1.0]: https://github.com/Snazzah/duck-duck-scrape/compare/v2.0.0...v2.1.0
[2.1.1]: https://github.com/Snazzah/duck-duck-scrape/compare/v2.1.0...v2.1.1

2

lib/search/images.d.ts

@@ -25,3 +25,3 @@ import { NeedleOptions } from 'needle';

CLIPART = "clipart",
/** Adnimated GIFs. */
/** Animated GIFs. */
GIF = "gif",

@@ -28,0 +28,0 @@ /** Transparent photos. */

@@ -34,3 +34,3 @@ "use strict";

ImageType["CLIPART"] = "clipart";
/** Adnimated GIFs. */
/** Animated GIFs. */
ImageType["GIF"] = "gif";

@@ -147,3 +147,3 @@ /** Transparent photos. */

return {
noResults: !!imagesResult.results.length,
noResults: !imagesResult.results.length,
vqd,

@@ -150,0 +150,0 @@ results: imagesResult.results.map((image) => ({

@@ -49,3 +49,3 @@ "use strict";

return {
noResults: !!newsResult.results.length,
noResults: !newsResult.results.length,
vqd,

@@ -52,0 +52,0 @@ results: newsResult.results.map((article) => ({

@@ -86,3 +86,3 @@ "use strict";

return {
noResults: !!videosResult.results.length,
noResults: !videosResult.results.length,
vqd,

@@ -89,0 +89,0 @@ results: videosResult.results.map((video) => ({

{
"name": "duck-duck-scrape",
"version": "2.1.0",
"version": "2.1.1",
"description": "Search from DuckDuckGo and use it's spice APIs.",

@@ -47,3 +47,3 @@ "main": "./lib/index.js",

"@types/needle": "^2.5.1",
"@types/node": "^14.14.22",
"@types/node": "^16.0.0",
"@typescript-eslint/eslint-plugin": "^4.14.1",

@@ -54,10 +54,10 @@ "@typescript-eslint/parser": "^4.14.1",

"eslint-plugin-prettier": "^3.3.1",
"husky": "^6.0.0",
"husky": "^7.0.0",
"lint-staged": "^11.0.0",
"prettier": "^2.2.1",
"ts-node": "^10.0.0",
"typedoc": "^0.20.35",
"typescript": "^4.1.3",
"typedoc": "^0.21.0",
"typescript": "4.3",
"yarn": "^1.22.10"
}
}

@@ -29,3 +29,3 @@ import { decode } from 'html-entities';

CLIPART = 'clipart',
/** Adnimated GIFs. */
/** Animated GIFs. */
GIF = 'gif',

@@ -189,3 +189,3 @@ /** Transparent photos. */

return {
noResults: !!imagesResult.results.length,
noResults: !imagesResult.results.length,
vqd,

@@ -192,0 +192,0 @@ results: imagesResult.results.map((image) => ({

@@ -102,3 +102,3 @@ import { decode } from 'html-entities';

return {
noResults: !!newsResult.results.length,
noResults: !newsResult.results.length,
vqd,

@@ -105,0 +105,0 @@ results: newsResult.results.map((article) => ({

@@ -145,3 +145,3 @@ import { decode } from 'html-entities';

return {
noResults: !!videosResult.results.length,
noResults: !videosResult.results.length,
vqd,

@@ -148,0 +148,0 @@ results: videosResult.results.map((video) => ({

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