Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

maria2

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

maria2 - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

4

dist/index.d.ts

@@ -587,4 +587,4 @@ type RpcVersion = '1.0' | '2.0';

type Aria2TellStatusResult = RpcResult<Partial<Aria2DownloadStatus>>;
type Aria2TellStatusParamsToResult<T extends Aria2TellStatusParams> = RpcResult<NonNullable<T[1]> extends [keyof Aria2DownloadStatus] | (keyof Aria2DownloadStatus)[] ? Pick<Aria2DownloadStatus, NonNullable<T[1]>[number]> : Aria2DownloadStatus>;
type Aria2TellStatusListParamsToResult<T extends [keyof Aria2DownloadStatus] | (keyof Aria2DownloadStatus)[] | undefined> = RpcResult<Array<NonNullable<T> extends [keyof Aria2DownloadStatus] | (keyof Aria2DownloadStatus)[] ? Pick<Aria2DownloadStatus, NonNullable<T>[number]> : Aria2DownloadStatus>>;
type Aria2TellStatusParamsToResult<T extends Aria2TellStatusParams> = RpcResult<T[1] extends void ? Aria2DownloadStatus : NonNullable<T[1]> extends [keyof Aria2DownloadStatus] | (keyof Aria2DownloadStatus)[] ? Pick<Aria2DownloadStatus, NonNullable<T[1]>[number]> : Aria2DownloadStatus>;
type Aria2TellStatusListParamsToResult<T extends [keyof Aria2DownloadStatus] | (keyof Aria2DownloadStatus)[] | undefined> = RpcResult<Array<T extends void ? Aria2DownloadStatus : NonNullable<T> extends [keyof Aria2DownloadStatus] | (keyof Aria2DownloadStatus)[] ? Pick<Aria2DownloadStatus, NonNullable<T>[number]> : Aria2DownloadStatus>>;
type Aria2TellStatusListParams = [

@@ -591,0 +591,0 @@ offset: number,

{
"name": "maria2",
"version": "0.2.1",
"version": "0.2.2",
"description": "Simple RPC Library for aria2",

@@ -5,0 +5,0 @@ "keywords": [

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