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

@ctrl/shared-torrent

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ctrl/shared-torrent - npm Package Compare versions

Comparing version 5.0.0 to 6.0.0

5

dist/index.d.ts
/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
import type { Agent } from 'http';

@@ -13,4 +12,4 @@ export interface TorrentClient {

queueDown: (id: any) => Promise<any>;
addTorrent: (torrent: string | Buffer, options?: any) => Promise<any>;
normalizedAddTorrent: (torrent: string | Buffer, options?: Partial<AddTorrentOptions>) => Promise<NormalizedTorrent>;
addTorrent: (torrent: string | Uint8Array, options?: any) => Promise<any>;
normalizedAddTorrent: (torrent: string | Uint8Array, options?: Partial<AddTorrentOptions>) => Promise<NormalizedTorrent>;
}

@@ -17,0 +16,0 @@ export interface TorrentSettings {

21

package.json
{
"name": "@ctrl/shared-torrent",
"version": "5.0.0",
"version": "6.0.0",
"description": "shared types and interfaces between torrent clients",

@@ -17,4 +17,8 @@ "author": "Scott Cooper <scttcper@gmail.com>",

"scripts": {
"lint": "eslint --ext .ts .",
"lint:fix": "eslint --fix --ext .ts .",
"lint": "pnpm run '/^(lint:biome|lint:eslint)$/'",
"lint:biome": "biome check .",
"lint:eslint": "eslint --ext .ts,.tsx .",
"lint:fix": "pnpm run '/^(lint:biome|lint:eslint):fix$/'",
"lint:eslint:fix": "eslint --ext .ts,.tsx . --fix",
"lint:biome:fix": "biome check . --apply",
"prepare": "npm run build",

@@ -25,6 +29,7 @@ "build": "tsc"

"devDependencies": {
"@ctrl/eslint-config": "4.0.6",
"@sindresorhus/tsconfig": "4.0.0",
"@types/node": "20.6.0",
"typescript": "5.2.2"
"@biomejs/biome": "1.5.3",
"@ctrl/eslint-config-biome": "2.0.9",
"@sindresorhus/tsconfig": "5.0.0",
"@types/node": "20.11.24",
"typescript": "5.3.3"
},

@@ -41,4 +46,4 @@ "publishConfig": {

"engines": {
"node": ">=16"
"node": ">=18"
}
}
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