Skip to content
This repository was archived by the owner on Dec 14, 2025. It is now read-only.

Commit 45a23db

Browse files
committed
4.3.11
1 parent f295cbc commit 45a23db

File tree

7 files changed

+22
-1364
lines changed

7 files changed

+22
-1364
lines changed

bun.lockb

68.5 KB
Binary file not shown.

examples/getVideo.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { YouTube } from "../dist/mod.mjs";
22

3-
const url = "https://www.youtube.com/watch?v=Sv6dMFF_yts";
3+
const url = "https://www.youtube.com/watch?v=dQw4w9WgXcQ";
44

55
YouTube.getVideo(url)
66
.then(console.log) // Video info

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
"types": "dist/mod.d.ts",
1010
"module": "dist/mod.mjs",
1111
"scripts": {
12-
"build": "npm run build:node && npm run build:deno",
13-
"prepublishOnly": "npm run build",
12+
"build": "bun run build:node && bun run build:deno",
13+
"prepublishOnly": "bun run build",
1414
"build:node": "tsup",
1515
"build:deno": "node scripts/deno.js",
16-
"format": "prettier --write **/*.{js,ts}"
16+
"format": "prettier --write \"**/*.{js,ts}\""
1717
},
1818
"repository": {
1919
"type": "git",
@@ -53,16 +53,16 @@
5353
},
5454
"homepage": "https://github.com/twlite/youtube-sr#readme",
5555
"devDependencies": {
56-
"@types/node": "^16.11.12",
57-
"chalk": "^5.0.1",
58-
"cross-fetch": "^3.1.5",
59-
"fs-extra": "^10.0.0",
60-
"prettier": "^2.3.0",
56+
"@types/node": "^20.12.7",
57+
"chalk": "^5.3.0",
58+
"cross-fetch": "^4.0.0",
59+
"fs-extra": "^11.2.0",
60+
"prettier": "^3.2.5",
6161
"readdirp": "^3.6.0",
62-
"rimraf": "^3.0.2",
63-
"ts-node": "^10.0.0",
64-
"tsup": "^5.11.11",
65-
"tsx": "^3.14.0",
66-
"typescript": "^4.3.2"
62+
"rimraf": "^5.0.5",
63+
"ts-node": "^10.9.2",
64+
"tsup": "^8.0.2",
65+
"tsx": "^4.7.2",
66+
"typescript": "^5.4.5"
6767
}
68-
}
68+
}

0 commit comments

Comments
 (0)