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

@qodestack/dl-yt-playlist

Package Overview
Dependencies
Maintainers
0
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qodestack/dl-yt-playlist - npm Package Compare versions

Comparing version 7.1.0 to 7.2.0

3

build.ts
import dts from 'bun-plugin-dts'
import pkgJson from './package.json'

@@ -9,3 +10,3 @@ const start = performance.now()

target: 'bun',
external: ['@googleapis/youtube'],
external: Object.keys(pkgJson.dependencies),
plugins: [dts()],

@@ -12,0 +13,0 @@ })

@@ -1,5 +0,63 @@

// Generated by dts-bundle-generator v8.1.2
// Generated by dts-bundle-generator v9.5.1
import { SchemaIssues } from 'valibot';
import { InferIssue } from 'valibot';
declare const PlaylistItemSchema: import("valibot").ObjectSchema<{
readonly id: import("valibot").StringSchema<undefined>;
readonly snippet: import("valibot").ObjectSchema<{
readonly resourceId: import("valibot").ObjectSchema<{
readonly videoId: import("valibot").StringSchema<undefined>;
}, undefined>;
readonly title: import("valibot").StringSchema<undefined>;
readonly description: import("valibot").StringSchema<undefined>;
readonly videoOwnerChannelId: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, "">;
readonly videoOwnerChannelTitle: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, "">;
readonly publishedAt: import("valibot").StringSchema<undefined>;
readonly thumbnails: import("valibot").ObjectSchema<{
readonly maxres: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
readonly url: import("valibot").StringSchema<undefined>;
}, undefined>, never>;
readonly standard: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
readonly url: import("valibot").StringSchema<undefined>;
}, undefined>, never>;
readonly high: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
readonly url: import("valibot").StringSchema<undefined>;
}, undefined>, never>;
readonly medium: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
readonly url: import("valibot").StringSchema<undefined>;
}, undefined>, never>;
readonly default: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
readonly url: import("valibot").StringSchema<undefined>;
}, undefined>, never>;
}, undefined>;
}, undefined>;
readonly contentDetails: import("valibot").ObjectSchema<{
readonly videoPublishedAt: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, "">;
}, undefined>;
}, undefined>;
declare const VideosListItemSchema: import("valibot").ObjectSchema<{
readonly id: import("valibot").StringSchema<undefined>;
readonly contentDetails: import("valibot").ObjectSchema<{
readonly duration: import("valibot").StringSchema<undefined>;
}, undefined>;
}, undefined>;
declare const YtDlpJsonSchema: import("valibot").ObjectSchema<{
readonly id: import("valibot").StringSchema<undefined>;
readonly title: import("valibot").StringSchema<undefined>;
readonly description: import("valibot").StringSchema<undefined>;
readonly duration: import("valibot").NumberSchema<undefined>;
readonly channel_url: import("valibot").StringSchema<undefined>;
readonly channel_id: import("valibot").StringSchema<undefined>;
readonly upload_date: import("valibot").StringSchema<undefined>;
readonly channel: import("valibot").StringSchema<undefined>;
readonly ext: import("valibot").StringSchema<undefined>;
readonly requested_downloads: import("valibot").SchemaWithPipe<[
import("valibot").ArraySchema<import("valibot").ObjectSchema<{
readonly ext: import("valibot").StringSchema<undefined>;
}, undefined>, undefined>,
import("valibot").MinLengthAction<{
ext: string;
}[], 1, undefined>
]>;
}, undefined>;
export type Video = {

@@ -46,5 +104,13 @@ /** listApi.snippet.resourceId.videoId */

type: "schemaParse";
schemaName: "PlaylistItemSchema" | "VideosListItemSchema" | "YtDlpJsonSchema";
issues: SchemaIssues;
schemaName: "PlaylistItemSchema";
issues: InferIssue<typeof PlaylistItemSchema>[];
} | {
type: "schemaParse";
schemaName: "VideosListItemSchema";
issues: InferIssue<typeof VideosListItemSchema>[];
} | {
type: "schemaParse";
schemaName: "YtDlpJsonSchema";
issues: InferIssue<typeof YtDlpJsonSchema>[];
} | {
type: "videosListApi";

@@ -51,0 +117,0 @@ error: Record<string, unknown>;

@@ -7,3 +7,3 @@ {

"types": "./dist/main.d.ts",
"version": "7.1.0",
"version": "7.2.0",
"publishConfig": {

@@ -34,12 +34,12 @@ "access": "public"

"dependencies": {
"@googleapis/youtube": "^14.0.0",
"@googleapis/youtube": "^19.0.0",
"@qodestack/utils": "^2.3.1",
"cli-progress": "^3.12.0",
"valibot": "^0.30.0"
"valibot": "^0.36.0"
},
"devDependencies": {
"@types/cli-progress": "^3.11.5",
"bun-plugin-dts": "^0.2.1",
"@types/cli-progress": "^3.11.6",
"bun-plugin-dts": "^0.2.3",
"bun-types": "latest"
}
}

@@ -8,3 +8,3 @@ import {$} from 'bun'

import cliProgress from 'cli-progress'
import {safeParse, parse, SchemaIssues} from 'valibot'
import {safeParse, parse, InferIssue} from 'valibot'
import {

@@ -75,9 +75,16 @@ PlaylistItemSchema,

type: 'schemaParse'
schemaName:
| 'PlaylistItemSchema'
| 'VideosListItemSchema'
| 'YtDlpJsonSchema'
issues: SchemaIssues
schemaName: 'PlaylistItemSchema'
issues: InferIssue<typeof PlaylistItemSchema>[]
}
| {
type: 'schemaParse'
schemaName: 'VideosListItemSchema'
issues: InferIssue<typeof VideosListItemSchema>[]
}
| {
type: 'schemaParse'
schemaName: 'YtDlpJsonSchema'
issues: InferIssue<typeof YtDlpJsonSchema>[]
}
| {
type: 'videosListApi'

@@ -84,0 +91,0 @@ error: Record<string, unknown>

@@ -1,2 +0,2 @@

import {object, string, number, optional, array, minLength} from 'valibot'
import {object, string, number, optional, array, minLength, pipe} from 'valibot'

@@ -62,8 +62,10 @@ /**

ext: string(), // Video file extension.
requested_downloads: array(
object({
ext: string(), // Audio file extension.
}),
[minLength(1)]
requested_downloads: pipe(
array(
object({
ext: string(), // Audio file extension.
})
),
minLength(1)
),
})

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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