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

aria2

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aria2 - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

LICENSE.md

4

bundle.js

@@ -103,3 +103,3 @@ ;(function (global) {

Aria2.prototype.send = function (method /* [,param] [,param] [,...] [, fn]*/) {
Aria2.prototype.send = function (method /* [,param] [,param] [,...] [, fn] */) {
var params = Array.prototype.slice.call(arguments, 1)

@@ -327,3 +327,3 @@ var cb = typeof params[params.length - 1] === 'function' ? params.pop() : null

var sufix = method.indexOf('.') > -1 ? method.split('.')[1] : method
Aria2.prototype[sufix] = function (/* [param] [,param] [,...]*/) {
Aria2.prototype[sufix] = function (/* [param] [,param] [,...] */) {
return this.send.apply(this, [method].concat(Array.prototype.slice.call(arguments)))

@@ -330,0 +330,0 @@ }

@@ -75,3 +75,3 @@ ;(function (global) {

Aria2.prototype.send = function (method /* [,param] [,param] [,...] [, fn]*/) {
Aria2.prototype.send = function (method /* [,param] [,param] [,...] [, fn] */) {
var params = Array.prototype.slice.call(arguments, 1)

@@ -299,3 +299,3 @@ var cb = typeof params[params.length - 1] === 'function' ? params.pop() : null

var sufix = method.indexOf('.') > -1 ? method.split('.')[1] : method
Aria2.prototype[sufix] = function (/* [param] [,param] [,...]*/) {
Aria2.prototype[sufix] = function (/* [param] [,param] [,...] */) {
return this.send.apply(this, [method].concat(Array.prototype.slice.call(arguments)))

@@ -302,0 +302,0 @@ }

{
"name": "aria2",
"version": "2.0.0",
"version": "2.0.1",
"description": "Library and cli for aria2, \"The next generation download utility.\"",

@@ -36,4 +36,4 @@ "homepage": "https://github.com/sonnyp/aria2.js",

"httpclient": "0.1.0",
"polygoat": "^1.1.2",
"ws": "^1.0.1"
"polygoat": "^1.1.4",
"ws": "^1.1.1"
},

@@ -40,0 +40,0 @@ "devDependencies": {

@@ -132,2 +132,4 @@ aria2.js

If the WebSocket is open (via the [open method](#open)) aria2.js will use the WebSocket transport, otherwise the HTTP transport.
`jsonp: true` will make aria2.js uses [JSONP](https://en.wikipedia.org/wiki/JSONP) for non WebSocket requests, useful if you cannot make aria2c allow your origin. It has no effect on Node.js.

@@ -190,4 +192,2 @@

When sending a request to aria2, if the WebSocket is closed, aria2.js will use the HTTP transport.
For every aria2 methods you can use

@@ -194,0 +194,0 @@

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