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
25
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.2.3 to 2.2.4

6

CHANGELOG.md

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

## [Unreleased]
## [2.2.4] - 2023-05-11
### Fixed:
- Updated VQD fetching
## [2.2.3] - 2023-02-14

@@ -57,3 +60,3 @@ ### Fixed:

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

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

[2.2.3]: https://github.com/Snazzah/duck-duck-scrape/compare/v2.2.2...v2.2.3
[2.2.4]: https://github.com/Snazzah/duck-duck-scrape/compare/v2.2.3...v2.2.4

6

lib/index.js
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {

@@ -10,0 +6,0 @@ if (k2 === undefined) k2 = k;

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

}
export type AutocompleteResult = AutocompleteTerm | AutocompleteBang;
export declare type AutocompleteResult = AutocompleteTerm | AutocompleteBang;
/**

@@ -106,0 +106,0 @@ * Get auto-complete terms from a query.

import { NeedleOptions } from 'needle';
export type DictionaryDefinitionPartOfSpeech = 'noun' | 'adjective' | 'verb' | 'adverb' | 'interjection' | 'pronoun' | 'preposition' | 'abbreviation' | 'affix' | 'article' | 'auxiliary-verb' | 'conjunction' | 'definite-article' | 'family-name' | 'given-name' | 'idiom' | 'imperative' | 'noun-plural' | 'noun-posessive' | 'past-participle' | 'phrasal-prefix' | 'proper-noun' | 'proper-noun-plural' | 'proper-noun-posessive' | 'suffix' | 'verb-intransitive' | 'verb-transitive';
export declare type DictionaryDefinitionPartOfSpeech = 'noun' | 'adjective' | 'verb' | 'adverb' | 'interjection' | 'pronoun' | 'preposition' | 'abbreviation' | 'affix' | 'article' | 'auxiliary-verb' | 'conjunction' | 'definite-article' | 'family-name' | 'given-name' | 'idiom' | 'imperative' | 'noun-plural' | 'noun-posessive' | 'past-participle' | 'phrasal-prefix' | 'proper-noun' | 'proper-noun-plural' | 'proper-noun-posessive' | 'suffix' | 'verb-intransitive' | 'verb-transitive';
export interface DictionaryDefinitionExampleUse {

@@ -4,0 +4,0 @@ text: string;

import { NeedleOptions } from 'needle';
export type DictionaryHyphenationType = 'stress' | 'secondary stress';
export declare type DictionaryHyphenationType = 'stress' | 'secondary stress';
/**

@@ -4,0 +4,0 @@ * The result from the dictionary hyphenation spice.

import { NeedleOptions } from 'needle';
export type DictionaryPronunciationType = 'ahd-5' | 'arpabet' | 'gcide-diacritical' | 'IPA';
export declare type DictionaryPronunciationType = 'ahd-5' | 'arpabet' | 'gcide-diacritical' | 'IPA';
/**

@@ -4,0 +4,0 @@ * The result from the dictionary pronunciation spice.

import { NeedleOptions } from 'needle';
export type ForecastIcon = 'partly-cloudy-day' | 'partly-cloudy-night' | 'cloudy' | 'rain' | 'clear-day' | 'snow' | 'fog' | 'clear-night' | 'clear-day';
export type ForecastPrecipType = 'rain' | 'snow';
export type ForecastAlertSeverity = 'advisory';
export declare type ForecastIcon = 'partly-cloudy-day' | 'partly-cloudy-night' | 'cloudy' | 'rain' | 'clear-day' | 'snow' | 'fog' | 'clear-night' | 'clear-day';
export declare type ForecastPrecipType = 'rain' | 'snow';
export declare type ForecastAlertSeverity = 'advisory';
export interface ForecastMinutelyData {

@@ -6,0 +6,0 @@ /** The timestamp of the data point. */

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

/** @internal */
exports.VQD_REGEX = /vqd='(\d+-\d+(?:-\d+)?)'/;
exports.VQD_REGEX = /vqd=['"](\d+-\d+(?:-\d+)?)['"]/;
/** The safe search values when searching DuckDuckGo. */

@@ -14,0 +14,0 @@ var SafeSearchType;

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

@@ -50,5 +50,5 @@ "main": "./lib/index.js",

"shx": "^0.3.4",
"ts-node": "^10.9.1",
"typedoc": "~0.23.23",
"typescript": "~4.9.4",
"tsx": "^3.12.7",
"typedoc": "0.21.9",
"typescript": "4.4",
"yarn": "^1.22.19"

@@ -59,9 +59,9 @@ },

"build:prepare": "shx test -d ./lib || npm run build",
"changelog": "ts-node scripts/changelog",
"changelog": "tsx scripts/changelog",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "nyc mocha -r ts-node/register --extension ts 'test/**/*.ts'",
"gpr": "ts-node scripts/gpr",
"test": "nyc mocha -r tsx --extension ts 'test/**/*.ts'",
"gpr": "tsx scripts/gpr",
"docs": "typedoc"
}
}

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

/** @internal */
export const VQD_REGEX = /vqd='(\d+-\d+(?:-\d+)?)'/;
export const VQD_REGEX = /vqd=['"](\d+-\d+(?:-\d+)?)['"]/;

@@ -9,0 +9,0 @@ /** The safe search values when searching DuckDuckGo. */

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