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.2 to 0.2.3

10

dist/index.d.ts

@@ -655,2 +655,10 @@ type RpcVersion = '1.0' | '2.0';

type TrimStart<T, U extends string> = T extends `${U}${infer P}` ? P : T;
declare const WebSocket: {
new (url: string | URL, protocols?: string | string[] | undefined): WebSocket;
prototype: WebSocket;
readonly CONNECTING: 0;
readonly OPEN: 1;
readonly CLOSING: 2;
readonly CLOSED: 3;
};

@@ -705,3 +713,3 @@ interface Socket {

type Aria2RpcHTTPUrl = `${'http' | 'https'}://${string}:${number}/jsonrpc` | `${'http' | 'https'}://${string}/jsonrpc`;
declare const createWebSocket: (url: Aria2RpcWebSocketUrl) => Socket;
declare const createWebSocket: (url: Aria2RpcWebSocketUrl, ws: () => WebSocket) => Socket;
declare const createHTTP: (url: Aria2RpcHTTPUrl) => Socket;

@@ -708,0 +716,0 @@

4

package.json
{
"name": "maria2",
"version": "0.2.2",
"version": "0.2.3",
"description": "Simple RPC Library for aria2",

@@ -46,2 +46,3 @@ "keywords": [

"bumpp": "^9.1.1",
"cross-fetch": "*",
"prettier": "^3.0.0",

@@ -55,2 +56,3 @@ "typescript": "^5.1.6",

"peerDependencies": {
"cross-fetch": "*",
"ws": "*"

@@ -57,0 +59,0 @@ },

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