youtube-transcript-plus 1.1.1 → 1.1.2

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.
@@ -117,7 +117,7 @@ class FsCache {
117
117
  }
118
118
  yield fs.unlink(filePath);
119
119
  }
120
- catch (error) { }
120
+ catch (_error) { }
121
121
  return null;
122
122
  });
123
123
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "youtube-transcript-plus",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Fetch transcript from a YouTube video",
5
5
  "type": "module",
6
6
  "main": "dist/youtube-transcript-plus.js",
@@ -9,8 +9,10 @@
9
9
  "scripts": {
10
10
  "build": "rollup -c",
11
11
  "format": "prettier --write 'src/**/*.ts'",
12
+ "lint": "eslint .",
12
13
  "test": "jest",
13
14
  "test:watch": "jest --watch",
15
+ "typecheck": "tsc --noEmit",
14
16
  "prepare": "husky"
15
17
  },
16
18
  "author": "ericmmartin",
@@ -29,18 +31,24 @@
29
31
  ]
30
32
  },
31
33
  "devDependencies": {
34
+ "@eslint/js": "^9.39.2",
32
35
  "@types/jest": "^30.0.0",
36
+ "eslint": "^9.39.2",
37
+ "eslint-config-prettier": "^10.1.8",
38
+ "globals": "^16.5.0",
33
39
  "https-proxy-agent": "^7.0.6",
34
40
  "husky": "^9.1.7",
35
41
  "jest": "^30.0.5",
36
42
  "lint-staged": "^16.1.5",
43
+ "nock": "^14.0.10",
37
44
  "prettier": "^3.6.2",
38
45
  "rollup": "^4.46.4",
39
46
  "rollup-plugin-typescript": "^1.0.1",
40
47
  "rollup-plugin-typescript2": "^0.36.0",
41
48
  "ts-jest": "^29.4.1",
42
49
  "tslib": "^2.8.1",
43
- "typescript": "^5.9.2"
50
+ "typescript": "^5.9.2",
51
+ "typescript-eslint": "^8.50.0"
44
52
  },
45
53
  "files": [
46
54
  "dist/*"