Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ionic-youtube-search

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ionic-youtube-search - npm Package Compare versions

Comparing version 1.0.9 to 1.1.0

4

lib/lib/search.js

@@ -59,7 +59,6 @@ "use strict";

html = _a.sent();
navigator.clipboard.writeText(html);
// try to parse html
try {
data = html.split("ytInitialData = '")[1].split("';</script>")[0];
// let data = html.split("ytInitialData = JSON.parse('")[1].split("');</script>")[0];
// @ts-ignore
html = data.replace(/\\x([0-9A-F]{2})/ig, function () {

@@ -72,2 +71,3 @@ var items = [];

});
navigator.clipboard.writeText(html);
}

@@ -74,0 +74,0 @@ catch (e) { /* nothing */ }

{
"name": "ionic-youtube-search",
"version": "1.0.9",
"version": "1.1.0",
"description": "Search videos on YouTube without API key in ionic apps",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc