Skip to content

Commit

Permalink
update ytdl
Browse files Browse the repository at this point in the history
  • Loading branch information
arielscarpinelli committed Mar 24, 2021
1 parent 860d04f commit 16f1c77
Show file tree
Hide file tree
Showing 6 changed files with 67 additions and 46 deletions.
88 changes: 51 additions & 37 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,21 @@
"dependencies": {
"classnames": "^2.2.6",
"core-js": "^3.6.5",
"es5-shim": "^4.5.14",
"es6-shim": "^0.35.5",
"object.values": "^1.1.1",
"react": "^15.6.2",
"react-dom": "^15.6.2",
"regenerator-runtime": "^0.13.7",
"superagent": "^6.1.0",
"ytdl-core": "^3.2.2"
"ytdl-core": "^4.5.0"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"babel-loader": "^8.1.0",
"babel-loader-exclude-node-modules-except": "^1.0.3",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-syntax-bigint": "^7.8.3",
"@babel/preset-env": "^7.9.0",
"@babel/preset-react": "^7.9.4",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"babel-loader": "^8.1.0",
"babel-loader-exclude-node-modules-except": "^1.0.3",
"file-loader": "^6.0.0",
"webpack": "^4.42.1",
"webpack-cli": "^3.3.11"
Expand Down
3 changes: 1 addition & 2 deletions src/js/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import es5shim from 'es5-shim'
import es6shim from 'es6-shim'
import 'core-js';
import values from 'object.values';
import React from 'react';
import ReactDOM from 'react-dom';
Expand Down
2 changes: 2 additions & 0 deletions src/js/url-polyfill.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
module.exports = require('url/url.js')
module.exports.URL = window.URL;
4 changes: 3 additions & 1 deletion util/samsung/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Emulator
Download from [http://sdf.samsungcloudcdn.com/Public/UwBWAEMAMAAwADAAMAAyAA==/OAA0AHMAZABrAG0AYQBuAGEAZwBlAHIA/2013_Smart_TV_Emulator_4_5.zip] and install the VM in your VirtualBox

Newer version from [http://sdf.samsungcloudcdn.com/Public/UwBWAEMAMAAwADAAMAAyAA==/releases/2014_Smart_TV_Emulator_5_1.ova]

Config an `Apps` shared folder to the your workspace root (the directory containing the oldtube repo directory)
Config an `Apps` shared folder pointing to your workspace root (the directory containing the oldtube repo directory)
5 changes: 5 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,10 @@ module.exports = {
},
{ test: /\.css$/, loader: "file-loader?name=[name].[ext]" }
]
},
resolve: {
alias: {
'url$': path.resolve(__dirname, 'src/js/url-polyfill.js'),
}
}
};

0 comments on commit 16f1c77

Please sign in to comment.