@ctrl/deluge 7.2.0 → 7.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/src/deluge.js +0 -1
  2. package/package.json +12 -12
@@ -98,7 +98,6 @@ export class Deluge {
98
98
  async checkSession() {
99
99
  // cookie is missing or expires in x seconds
100
100
  if (this.state.auth.cookie) {
101
- // eslint-disable-next-line new-cap
102
101
  if (this.state.auth.cookie.TTL() < 5000) {
103
102
  this.resetSession();
104
103
  return false;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ctrl/deluge",
3
- "version": "7.2.0",
4
- "description": "TypeScript api wrapper for deluge using got",
3
+ "version": "7.4.0",
4
+ "description": "TypeScript api wrapper for deluge using ofetch",
5
5
  "author": "Scott Cooper <scttcper@gmail.com>",
6
6
  "license": "MIT",
7
7
  "repository": "scttcper/deluge",
@@ -28,26 +28,26 @@
28
28
  "test:ci": "vitest run --coverage --reporter=default --reporter=junit --outputFile=./junit.xml"
29
29
  },
30
30
  "dependencies": {
31
- "@ctrl/magnet-link": "^4.0.2",
32
- "@ctrl/shared-torrent": "^6.3.0",
31
+ "@ctrl/magnet-link": "^4.2.0",
32
+ "@ctrl/shared-torrent": "^6.5.0",
33
33
  "node-fetch-native": "^1.6.7",
34
34
  "ofetch": "^1.4.1",
35
35
  "tough-cookie": "^6.0.0",
36
- "type-fest": "^4.41.0",
36
+ "type-fest": "^5.0.1",
37
37
  "ufo": "^1.6.1",
38
38
  "uint8array-extras": "^1.5.0"
39
39
  },
40
40
  "devDependencies": {
41
- "@ctrl/oxlint-config": "1.2.3",
41
+ "@ctrl/oxlint-config": "1.2.6",
42
42
  "@sindresorhus/tsconfig": "8.0.1",
43
43
  "@trivago/prettier-plugin-sort-imports": "5.2.2",
44
- "@types/node": "24.3.0",
44
+ "@types/node": "24.6.1",
45
45
  "@vitest/coverage-v8": "3.2.4",
46
- "oxlint": "1.14.0",
47
- "p-wait-for": "5.0.2",
46
+ "oxlint": "1.19.0",
47
+ "p-wait-for": "6.0.0",
48
48
  "prettier": "3.6.2",
49
- "typedoc": "0.28.11",
50
- "typescript": "5.9.2",
49
+ "typedoc": "0.28.13",
50
+ "typescript": "5.9.3",
51
51
  "vitest": "3.2.4"
52
52
  },
53
53
  "publishConfig": {
@@ -62,7 +62,7 @@
62
62
  "engines": {
63
63
  "node": ">=18"
64
64
  },
65
- "packageManager": "pnpm@10.15.0",
65
+ "packageManager": "pnpm@10.17.1",
66
66
  "prettier": {
67
67
  "singleQuote": true,
68
68
  "trailingComma": "all",