@warren-bank/browser-ytdl-core
Advanced tools
Comparing version 4.14.4-distubejs.4 to 6.0.5-ybd-project.1
{ | ||
"name": "@warren-bank/browser-ytdl-core", | ||
"version": "4.14.4-distubejs.4", | ||
"version": "6.0.5-ybd-project.1", | ||
"description": "Browser build for 'node-ytdl-core': YouTube video downloader in pure javascript", | ||
@@ -8,24 +8,7 @@ "license": "GPL-2.0", | ||
"files": [ | ||
"dist/es2020/*", | ||
"dist/es5/*" | ||
"dist/es2020/*" | ||
], | ||
"scripts": { | ||
"build:es2020": "webpack --config webpack.es2020.config.js", | ||
"build:es5": "webpack --config webpack.es5.config.js", | ||
"build": "npm run build:es2020 && npm run build:es5" | ||
"build": "node ./bin/build.js" | ||
}, | ||
"dependencies": { | ||
"@distube/ytdl-core": "4.14.4", | ||
"@warren-bank/vm-browserify": "1.1.3", | ||
"buffer": "6.0.3", | ||
"querystring-es3": "0.2.1", | ||
"stream-browserify": "3.0.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.23.0", | ||
"@babel/preset-env": "^7.22.20", | ||
"babel-loader": "^9.1.3", | ||
"webpack-cli": "^5.1.4", | ||
"webpack": "^5.88.2" | ||
}, | ||
"author": { | ||
@@ -40,3 +23,3 @@ "name": "Warren R. Bank", | ||
}, | ||
"homepage": "https://github.com/warren-bank/browser-ytdl-core/tree/distubejs", | ||
"homepage": "https://github.com/warren-bank/browser-ytdl-core/tree/ybd-project", | ||
"keywords": [ | ||
@@ -43,0 +26,0 @@ "youtube", |
@@ -1,4 +0,4 @@ | ||
### [_browser-ytdl-core_](https://github.com/warren-bank/browser-ytdl-core/tree/distubejs) | ||
### [_browser-ytdl-core_](https://github.com/warren-bank/browser-ytdl-core/tree/ybd-project) | ||
Browser build for [_node-ytdl-core_](https://github.com/distubejs/ytdl-core): YouTube video downloader in pure javascript | ||
Browser build for [_node-ytdl-core_](https://github.com/ybd-project-ver1/ytdl-core): YouTube video downloader in pure javascript | ||
@@ -8,4 +8,2 @@ #### Build | ||
```bash | ||
npm install | ||
npm run build | ||
@@ -17,3 +15,3 @@ ``` | ||
```html | ||
<script src="//cdn.jsdelivr.net/npm/@warren-bank/browser-ytdl-core@4.14.4-distubejs.4/dist/es2020/ytdl-core.js"></script> | ||
<script src="//cdn.jsdelivr.net/npm/@warren-bank/browser-ytdl-core@6.0.5-ybd-project.1/dist/es2020/ytdl-core.js"></script> | ||
``` | ||
@@ -30,8 +28,6 @@ | ||
* CORS is allowed | ||
2. [userscript with "cors-anywhere" proxy](./example/es2020/ytdl-core.with-proxy.user.js) | ||
2. [userscript with proxy](./example/es2020/ytdl-core.with-proxy.user.js) | ||
- domain: `example.com` | ||
- notes: | ||
* usage of the "cors-anywhere" [demo server](https://cors-anywhere.herokuapp.com/corsdemo) first requires user interaction | ||
- visit the site to click a button | ||
- this adds the requesting IP to a whitelist, and grants access for a limited period of time | ||
* uses the same proxy as the [official demo](https://ytdlcore.static.jp/) | ||
* this proxy injects HTTP response headers that allow CORS | ||
@@ -41,4 +37,5 @@ | ||
* license for [_node-ytdl-core_](https://github.com/distubejs/ytdl-core/releases/tag/4.14.4) is [MIT](https://github.com/distubejs/ytdl-core/blob/4.14.4/LICENSE) | ||
* license for [_browser-ytdl-core_](https://github.com/warren-bank/browser-ytdl-core/releases/tag/v4.14.4-distubejs.4) is [GPL-2.0](https://github.com/warren-bank/browser-ytdl-core/blob/v4.14.4-distubejs.4/LICENSE.txt) | ||
* license for [_node-ytdl-core_](https://github.com/ybd-project-ver1/ytdl-core) is [MIT](https://github.com/ybd-project-ver1/ytdl-core/blob/latest/LICENSE) | ||
* license for [_browser-ytdl-core_](https://github.com/warren-bank/browser-ytdl-core/releases/tag/v6.0.5-ybd-project.1) is [GPL-2.0](https://github.com/warren-bank/browser-ytdl-core/blob/v6.0.5-ybd-project.1/LICENSE.txt) | ||
- only covers the content of this repo, which contains primarily build scripts | ||
- excludes the content of the [`dist`](./dist/) directory, which contains code from _node-ytdl-core_ |
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 2 instances in 1 package
0
0
3
118947
4
376
38
- Removed@distube/ytdl-core@4.14.4
- Removed@warren-bank/vm-browserify@1.1.3
- Removedbuffer@6.0.3
- Removedquerystring-es3@0.2.1
- Removedstream-browserify@3.0.0
- Removed@distube/ytdl-core@4.14.4(transitive)
- Removed@fastify/busboy@2.1.1(transitive)
- Removed@warren-bank/vm-browserify@1.1.3(transitive)
- Removedagent-base@7.1.3(transitive)
- Removedbase64-js@1.5.1(transitive)
- Removedbuffer@6.0.3(transitive)
- Removedhttp-cookie-agent@6.0.8(transitive)
- Removedieee754@1.2.1(transitive)
- Removedinherits@2.0.4(transitive)
- Removedm3u8stream@0.8.6(transitive)
- Removedminiget@4.2.3(transitive)
- Removedpsl@1.15.0(transitive)
- Removedpunycode@2.3.1(transitive)
- Removedquerystring-es3@0.2.1(transitive)
- Removedquerystringify@2.2.0(transitive)
- Removedreadable-stream@3.6.2(transitive)
- Removedrequires-port@1.0.0(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedsax@1.4.1(transitive)
- Removedstream-browserify@3.0.0(transitive)
- Removedstring_decoder@1.3.0(transitive)
- Removedtough-cookie@4.1.4(transitive)
- Removedundici@5.28.5(transitive)
- Removeduniversalify@0.2.0(transitive)
- Removedurl-parse@1.5.10(transitive)
- Removedutil-deprecate@1.0.2(transitive)