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

@ctrl/qbittorrent

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ctrl/qbittorrent - npm Package Compare versions

Comparing version 4.0.2 to 4.1.0

4

dist/src/qbittorrent.d.ts

@@ -164,2 +164,6 @@ /// <reference types="node" resolution-mode="require"/>

/**
* {@link https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#rename-folder}
*/
renameFolder(hash: string, oldPath: string, newPath: string): Promise<boolean>;
/**
* @param urls URLs separated with newlines

@@ -166,0 +170,0 @@ * @param options

@@ -453,2 +453,13 @@ /* eslint-disable @typescript-eslint/no-redundant-type-constituents */

/**
* {@link https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#rename-folder}
*/
async renameFolder(hash, oldPath, newPath) {
const form = new FormData();
form.append('hash', hash);
form.append('oldPath', oldPath);
form.append('newPath', newPath);
await this.request('/torrents/renameFolder', 'POST', undefined, form, undefined, false);
return true;
}
/**
* @param urls URLs separated with newlines

@@ -455,0 +466,0 @@ * @param options

8

package.json
{
"name": "@ctrl/qbittorrent",
"version": "4.0.2",
"version": "4.1.0",
"description": "TypeScript api wrapper for qbittorrent using got",

@@ -45,9 +45,9 @@ "author": "Scott Cooper <scttcper@gmail.com>",

"@sindresorhus/tsconfig": "3.0.1",
"@types/node": "18.0.0",
"@types/node": "18.0.3",
"@types/tough-cookie": "4.0.2",
"c8": "7.11.3",
"p-wait-for": "4.1.0",
"typedoc": "0.23.2",
"typedoc": "0.23.7",
"typescript": "4.7.4",
"vitest": "0.16.0"
"vitest": "0.18.0"
},

@@ -54,0 +54,0 @@ "release": {

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

# qBittorrent [![npm](https://badgen.net/npm/v/@ctrl/qbittorrent)](https://www.npmjs.com/package/@ctrl/qbittorrent) [![CircleCI](https://badgen.net/circleci/github/scttcper/qbittorrent)](https://circleci.com/gh/scttcper/qbittorrent) [![coverage](https://badgen.net/codecov/c/github/scttcper/qbittorrent)](https://codecov.io/gh/scttcper/qbittorrent) [![bundlesize](https://badgen.net/bundlephobia/min/@ctrl/qbittorrent)](https://bundlephobia.com/result?p=@ctrl/qbittorrent)
# qBittorrent [![npm](https://badgen.net/npm/v/@ctrl/qbittorrent)](https://www.npmjs.com/package/@ctrl/qbittorrent) [![CircleCI](https://badgen.net/circleci/github/scttcper/qbittorrent)](https://circleci.com/gh/scttcper/qbittorrent) [![coverage](https://badgen.net/codecov/c/github/scttcper/qbittorrent)](https://codecov.io/gh/scttcper/qbittorrent)

@@ -3,0 +3,0 @@ > TypeScript api wrapper for [qBittorrent](https://www.qbittorrent.org/) using [got](https://github.com/sindresorhus/got)

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