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

@vot.js/shared

Package Overview
Dependencies
Maintainers
0
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vot.js/shared - npm Package Compare versions

Comparing version 2.1.3 to 2.1.4

2

dist/data/config.js

@@ -12,3 +12,3 @@ export default {

loggerLevel: 1,
version: "2.1.3",
version: "2.1.4",
};

@@ -55,20 +55,21 @@ export type Config = {

};
export type ResourceModelMeta = {
mimetype: "video/mp4";
drweb: number;
uid: string;
sizes: ResourceModelDataSize[];
short_url: string;
resource_id: string;
mediatype: "video";
video_info: VideoInfo;
public_hash: string;
views_counter: number;
file_id: string;
versioning_status: "versionable";
public: number;
size: number;
};
export type ResourceModelData = {
ctime: 1713525624;
meta: {
mimetype: "video/mp4";
drweb: number;
uid: string;
sizes: ResourceModelDataSize[];
short_url: string;
resource_id: string;
mediatype: "video";
video_info: VideoInfo;
public_hash: string;
views_counter: number;
file_id: string;
versioning_status: "versionable";
public: number;
size: number;
};
meta: ResourceModelMeta;
mtime: number;

@@ -104,2 +105,110 @@ path: string;

};
export type ListingType = "tile" | "icons" | "list";
export type ResourceFullVideoMeta = {
defaultPreview: string;
download_counter: number;
drweb: number;
ext: string;
file_id: string;
hasPreview: boolean;
lPreview: string;
mediatype: "video";
mimetype: "video/mp4";
page_blocked_items_num: number;
short_url?: string;
size: number;
videoDuration: number;
views_counter: number;
xxxlPreview: string;
};
export type ResourceFullDirMeta = {
download_counter: number;
file_id: string;
hasPreview: boolean;
rights: string[];
short_url: string;
views_counter: number;
};
export type ResourceType = "dir" | "file";
export type ResourceFullBaseData = {
children: string[];
completed: boolean;
hash: string;
id: string;
isAvailableForVideoPlayer: boolean;
modified: number;
name: string;
parent: string | null;
path: string;
timestamp: number;
virus: boolean;
};
export type ResourceFullDirData = ResourceFullBaseData & {
type: "dir";
containsOnlyImageAndVideo: boolean;
countBlockedItems: number;
isFirstPortionLoaded: boolean;
loading: boolean;
meta: ResourceFullDirData;
publicSavedLink: Record<"is_saved", boolean>;
uid: string;
};
export type ResourceFullVideoData = ResourceFullBaseData & {
type: "file";
meta: ResourceFullVideoMeta;
};
export type Environment = {
authSk: string;
availableLangs: string[];
avatarsOrigin: string;
countryIsoName: string;
currentLang: string;
env: "production";
experiments: unknown;
externalSk: string;
fullTld: string;
geoTimezone: unknown;
iosAppMetrikaParams: unknown;
isYangoPhoto: boolean;
nda: boolean;
nonce: string;
servicesTld: string;
sk: string;
version: string;
videoPlayerIframeApiUrl: string;
yandexuid: string;
yapicOrigin: string;
};
export type PrefetchData = {
appPromo: unknown;
currentResourceId: string;
environment: Environment;
listingType: ListingType;
notifications: unknown;
operations: unknown;
overlays: unknown;
photoGrid: unknown;
promozavr: unknown;
resources: Record<string, ResourceFullVideoData | ResourceFullDirData>;
rootResourceId: string;
selectedResources: unknown[];
services: Record<string, string>;
settings: unknown;
ua: unknown;
url: unknown;
user: unknown;
users: Record<string, unknown>;
waitingAuthActions: unknown;
wowListingTypes: ListingType;
};
export type FetchListResponse = {
completed: boolean;
resources: (ResourceFullVideoData | ResourceFullDirData)[];
};
export type DownloadUrlResponse = {
error: boolean;
statusCode: number;
code: string;
data: Record<"url", string>;
};
//# sourceMappingURL=yandexdisk.d.ts.map

@@ -20,2 +20,3 @@ export * as DataType from "./data.js";

export * as CourseraType from "./helpers/coursera.js";
export * as YandexDiskType from "./helpers/yandexdisk.js";
//# sourceMappingURL=index.d.ts.map

@@ -20,1 +20,2 @@ export * as DataType from "./data.js";

export * as CourseraType from "./helpers/coursera.js";
export * as YandexDiskType from "./helpers/yandexdisk.js";

@@ -149,3 +149,3 @@ import config from "../data/config.js";

}
return `${generalUrl}&url=${btoa(encodeURIComponent(url.href))}&origin=${url.origin}&referer=${url.origin}`;
return `${generalUrl}&url=${btoa(url.href)}&origin=${url.origin}&referer=${url.origin}`;
}
{
"name": "@vot.js/shared",
"description": "shared for all @vot.js package",
"version": "2.1.3",
"version": "2.1.4",
"author": "Toil",

@@ -6,0 +6,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

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