distube 4.1.1 → 4.2.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "distube",
3
- "version": "4.1.1",
3
+ "version": "4.2.1",
4
4
  "description": "A Discord.js module to simplify your music commands and play songs with audio filters on Discord without any API key.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -12,21 +12,6 @@
12
12
  "files": [
13
13
  "dist"
14
14
  ],
15
- "scripts": {
16
- "test": "jest",
17
- "docs": "docgen -s src/**/*.ts -o docs.json -c pages/index.yml -g -j jsdoc.config.json",
18
- "lint": "prettier --check . && eslint .",
19
- "lint:fix": "eslint . --fix",
20
- "prettier": "prettier --write \"**/*.{ts,json,yml,yaml,md}\"",
21
- "build": "tsup",
22
- "build:check": "tsc --noEmit",
23
- "update": "ncu -u && yarn up '**' -R",
24
- "_postinstall": "husky install",
25
- "prepublishOnly": "yarn lint && yarn test",
26
- "prepack": "yarn build && pinst --disable",
27
- "postpack": "pinst --enable",
28
- "dev:add-docs-to-worktree": "git worktree add --track -b docs docs origin/docs"
29
- },
30
15
  "repository": {
31
16
  "type": "git",
32
17
  "url": "git+https://github.com/skick1234/DisTube.git"
@@ -49,70 +34,50 @@
49
34
  "bugs": {
50
35
  "url": "https://github.com/skick1234/DisTube/issues"
51
36
  },
52
- "funding": [
53
- {
54
- "type": "individual",
55
- "url": "https://paypal.me/Skickkk"
56
- },
57
- {
58
- "type": "patreon",
59
- "url": "https://patreon.com/DisTube"
60
- }
61
- ],
37
+ "funding": "https://github.com/skick1234/DisTube?sponsor=1",
62
38
  "homepage": "https://distube.js.org/",
63
39
  "dependencies": {
64
- "@distube/ytdl-core": "^4.13.2",
40
+ "@distube/ytdl-core": "^4.13.3",
65
41
  "@distube/ytpl": "^1.2.1",
66
- "@distube/ytsr": "^1.2.0",
67
- "prism-media": "npm:@distube/prism-media@latest",
42
+ "@distube/ytsr": "^2.0.0",
68
43
  "tiny-typed-emitter": "^2.1.0",
69
44
  "tough-cookie": "^4.1.3",
70
45
  "tslib": "^2.6.2",
71
- "undici": "^5.27.2"
46
+ "undici": "^6.13.0"
72
47
  },
73
48
  "devDependencies": {
74
- "@babel/core": "^7.23.2",
75
- "@babel/plugin-proposal-class-properties": "^7.18.6",
76
- "@babel/plugin-proposal-object-rest-spread": "^7.20.7",
77
- "@babel/plugin-transform-private-methods": "^7.22.5",
78
- "@babel/preset-env": "^7.23.2",
79
- "@babel/preset-typescript": "^7.23.2",
80
- "@commitlint/cli": "^18.2.0",
81
- "@commitlint/config-conventional": "^18.1.0",
82
- "@discordjs/voice": "^0.16.0",
83
- "@distubejs/docgen": "distubejs/docgen",
84
- "@types/jest": "^29.5.8",
85
- "@types/node": "^20.9.0",
49
+ "@babel/core": "^7.24.4",
50
+ "@babel/plugin-transform-class-properties": "^7.24.1",
51
+ "@babel/plugin-transform-object-rest-spread": "^7.24.1",
52
+ "@babel/plugin-transform-private-methods": "^7.24.1",
53
+ "@babel/preset-env": "^7.24.4",
54
+ "@babel/preset-typescript": "^7.24.1",
55
+ "@commitlint/cli": "^19.2.2",
56
+ "@commitlint/config-conventional": "^19.2.2",
57
+ "@discordjs/voice": "^0.16.1",
58
+ "@types/jest": "^29.5.12",
59
+ "@types/node": "^20.12.7",
86
60
  "@types/tough-cookie": "^4.0.5",
87
- "@typescript-eslint/eslint-plugin": "^6.10.0",
88
- "@typescript-eslint/parser": "^6.10.0",
61
+ "@typescript-eslint/eslint-plugin": "^7.7.0",
62
+ "@typescript-eslint/parser": "^7.7.0",
89
63
  "babel-jest": "^29.7.0",
90
- "discord.js": "^14.13.0",
91
- "eslint": "^8.53.0",
92
- "eslint-config-distube": "^1.6.4",
93
- "eslint-config-prettier": "^9.0.0",
94
- "eslint-plugin-deprecation": "^2.0.0",
95
- "eslint-plugin-jsdoc": "^46.8.2",
96
- "husky": "^8.0.3",
64
+ "discord.js": "^14.14.1",
65
+ "eslint": "^8.57.0",
66
+ "eslint-config-distube": "^1.7.0",
67
+ "husky": "^9.0.11",
97
68
  "jest": "^29.7.0",
98
- "jsdoc-babel": "^0.5.0",
99
69
  "nano-staged": "^0.8.0",
100
- "npm-check-updates": "^16.14.6",
101
70
  "pinst": "^3.0.0",
102
- "prettier": "^3.0.3",
103
- "tsup": "^7.2.0",
104
- "typescript": "^5.2.2"
71
+ "prettier": "^3.2.5",
72
+ "tsup": "^8.0.2",
73
+ "typedoc": "^0.25.13",
74
+ "typedoc-material-theme": "^1.0.2",
75
+ "typescript": "^5.4.5"
105
76
  },
106
77
  "peerDependencies": {
107
- "@discordjs/opus": "*",
108
78
  "@discordjs/voice": "*",
109
79
  "discord.js": "14"
110
80
  },
111
- "peerDependenciesMeta": {
112
- "@discordjs/opus": {
113
- "optional": true
114
- }
115
- },
116
81
  "nano-staged": {
117
82
  "*.ts": [
118
83
  "prettier --write",
@@ -123,7 +88,18 @@
123
88
  ]
124
89
  },
125
90
  "engines": {
126
- "node": ">=16.9.0"
91
+ "node": ">=18.17"
127
92
  },
128
- "packageManager": "yarn@3.6.1"
93
+ "scripts": {
94
+ "test": "jest",
95
+ "docs": "typedoc",
96
+ "lint": "prettier --check . && eslint .",
97
+ "lint:fix": "eslint . --fix",
98
+ "prettier": "prettier --write \"**/*.{ts,json,yml,yaml,md}\"",
99
+ "build": "tsup",
100
+ "build:check": "tsc --noEmit",
101
+ "update": "pnpm up -L",
102
+ "_postinstall": "husky",
103
+ "dev:add-docs-to-worktree": "git worktree add --track -b docs docs origin/docs"
104
+ }
129
105
  }