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
39
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.0.6 to 2.0.7

4

dist/helpers/vimeo.js

@@ -9,3 +9,3 @@ import { parseFromString } from "dom-parser";

SITE_ORIGIN = this.isPrivatePlayer()
? this.service?.url?.slice(0, -1) ?? this.DEFAULT_SITE_ORIGIN
? (this.service?.url?.slice(0, -1) ?? this.DEFAULT_SITE_ORIGIN)
: this.DEFAULT_SITE_ORIGIN;

@@ -228,4 +228,4 @@ isErrorData(data) {

? embedId.replace("video/", "")
: embedId ?? /[^/]+$/.exec(url.pathname)?.[0];
: (embedId ?? /[^/]+$/.exec(url.pathname)?.[0]);
}
}

@@ -8,2 +8,6 @@ import { BaseHelper } from "./base.js";

}
const idInsidePlaylist = /\/playlist\/[^/]+\/(video-\d{8,9}_\d{9})/.exec(url.pathname);
if (idInsidePlaylist) {
return idInsidePlaylist[1];
}
const paramZ = url.searchParams.get("z");

@@ -10,0 +14,0 @@ if (paramZ) {

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

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

"dependencies": {
"@vot.js/shared": "^2.0.6",
"@vot.js/core": "^2.0.6",
"@vot.js/shared": "^2.0.7",
"@vot.js/core": "^2.0.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