New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vot.js/node

Package Overview
Dependencies
Maintainers
0
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vot.js/node - npm Package Compare versions

Comparing version 2.1.6 to 2.1.7

8

dist/helpers/base.d.ts
import { FetchFunction } from "@vot.js/core/types/client";
import { BaseHelperOpts } from "@vot.js/core/types/helpers/base";
import { ResponseLang } from "@vot.js/shared/types/data";
import type { MinimalVideoData } from "../types/client.js";
import { ServiceConf } from "../types/service.js";
import type { ServiceConf } from "../types/service.js";
export declare class VideoHelperError extends Error {

@@ -14,4 +15,5 @@ constructor(message: string);

origin: string;
service: ServiceConf | undefined;
constructor({ fetchFn, extraInfo, referer, origin, service, }?: BaseHelperOpts<ServiceConf>);
service?: ServiceConf;
language: ResponseLang;
constructor({ fetchFn, extraInfo, referer, origin, service, language, }?: BaseHelperOpts<ServiceConf>);
getVideoData(videoId: string): Promise<MinimalVideoData | undefined>;

@@ -18,0 +20,0 @@ getVideoId(url: URL): Promise<string | undefined>;

@@ -16,3 +16,4 @@ import { fetchWithTimeout } from "@vot.js/shared/utils/utils";

service;
constructor({ fetchFn = fetchWithTimeout, extraInfo = true, referer = "", origin = "", service, } = {}) {
language;
constructor({ fetchFn = fetchWithTimeout, extraInfo = true, referer = "", origin = "", service, language = "en", } = {}) {
this.fetch = fetchFn;

@@ -23,2 +24,3 @@ this.extraInfo = extraInfo;

this.service = service;
this.language = language;
}

@@ -25,0 +27,0 @@ async getVideoData(videoId) {

{
"name": "@vot.js/node",
"description": "package for runtimes",
"version": "2.1.6",
"version": "2.1.7",
"author": "Toil",

@@ -85,4 +85,4 @@ "license": "MIT",

"dependencies": {
"@vot.js/shared": "^2.1.6",
"@vot.js/core": "^2.1.6",
"@vot.js/shared": "^2.1.7",
"@vot.js/core": "^2.1.7",
"dom-parser": "^1.1.5"

@@ -89,0 +89,0 @@ },

Sorry, the diff of this file is not supported yet

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