mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-09 11:11:28 +03:00
Fixed build warnings
This commit is contained in:
@@ -38,7 +38,11 @@
|
|||||||
"buildOptimizer": false,
|
"buildOptimizer": false,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"optimization": false,
|
"optimization": false,
|
||||||
"namedChunks": true
|
"namedChunks": true,
|
||||||
|
"allowedCommonJsDependencies": [
|
||||||
|
"rxjs",
|
||||||
|
"crypto-js"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"production": {
|
"production": {
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
/* Coolors Exported Palette - coolors.co/e8aeb7-b8e1ff-a9fff7-94fbab-82aba1 */
|
/* Coolors Exported Palette - coolors.co/e8aeb7-b8e1ff-a9fff7-94fbab-82aba1 */
|
||||||
|
|
||||||
/* HSL */
|
/* HSL */
|
||||||
$color1: hsla(351%, 56%, 80%, 1);
|
$color1: hsla(351, 56%, 80%, 1);
|
||||||
$softblue: hsla(205%, 100%, 86%, 1);
|
$softblue: hsla(205, 100%, 86%, 1);
|
||||||
$color3: hsla(174%, 100%, 83%, 1);
|
$color3: hsla(174, 100%, 83%, 1);
|
||||||
$color4: hsla(133%, 93%, 78%, 1);
|
$color4: hsla(133, 93%, 78%, 1);
|
||||||
$color5: hsla(165%, 20%, 59%, 1);
|
$color5: hsla(165, 20%, 59%, 1);
|
||||||
|
|
||||||
/* RGB */
|
/* RGB */
|
||||||
$color1: rgba(232, 174, 183, 1);
|
$color1: rgba(232, 174, 183, 1);
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ export class SkipAdButtonComponent implements OnInit {
|
|||||||
|
|
||||||
getVideoIDHashFromURL(video_id) {
|
getVideoIDHashFromURL(video_id) {
|
||||||
if (!video_id) return null;
|
if (!video_id) return null;
|
||||||
return CryptoJS.SHA256(video_id).toString(CryptoJS.enc.Hex);;
|
return CryptoJS.SHA256(video_id).toString(CryptoJS.enc.Hex);
|
||||||
}
|
}
|
||||||
|
|
||||||
getVideoIDFromURL(url) {
|
getVideoIDFromURL(url) {
|
||||||
|
|||||||
Reference in New Issue
Block a user