Socket
Socket
Sign inDemoInstall

any-downloader-vue

Package Overview
Dependencies
31
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.1 to 0.1.2

2

build/any-downloader.min.js

@@ -7,3 +7,3 @@ var AnyDownloader = (function (exports) {

var ResourcePreview = {
render: function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"mt-12 flex items-center justify-center flex-wrap any-downloader-resource-preview-wrapper"},[_c('div',{staticClass:"any-downloader-resource-preview-heading any-downloader-resource-preview-heading",style:({backgroundImage: 'url(' + _vm.previewImage.url + ')'})},[(_vm.previewVideo && _vm.previewVideo.url)?_c('video',{staticClass:"rounded m-auto max-h-3/5-screen",attrs:{"poster":(_vm.previewImage && _vm.previewImage.url) ? _vm.previewImage.url : false,"controls":"true"}},[_c('source',{attrs:{"src":_vm.previewVideo.url}})]):_vm._e(),_vm._v(" "),((!_vm.previewVideo || !_vm.previewVideo.url) && _vm.previewImage && _vm.previewImage.url)?_c('img',{staticClass:"rounded-t",attrs:{"src":_vm.previewImage.url}}):_vm._e()]),_vm._v(" "),_c('div',{staticClass:"bg-white text-black rounded-b p-6 w-full any-downloader-resource-preview-body-wrapper"},[(_vm.attributes.author)?_c('p',{staticClass:"text-sm text-center pb-2 any-downloader-resource-preview-author"},[(_vm.attributes.author.avatar && _vm.attributes.author.avatar.url)?_c('img',{staticClass:"rounded-full w-12 h-12 inline any-downloader-resource-preview-author-avatar",attrs:{"alt":_vm.attributes.author.nickname,"src":_vm.attributes.author.avatar.url}}):_vm._e(),_vm._v("\n "+_vm._s(_vm.attributes.author.full_name)+"\n ")]):_vm._e(),_vm._v(" "),(_vm.attributes.title)?_c('p',{staticClass:"text-lg pb-2 any-downloader-resource-preview-title"},[_vm._v("\n "+_vm._s(_vm.attributes.title)+"\n ")]):_vm._e(),_vm._v(" "),(_vm.attributes.text)?_c('p',[_vm._v("\n "+_vm._s(_vm.attributes.text)+"\n ")]):_vm._e(),_vm._v(" "),(_vm.attributes.hashtags && _vm.attributes.hashtags.length)?_c('p',[_vm._v("\n "+_vm._s(_vm.attributes.hashtags.map( function (v) { return '#' + v; }).join(', '))+"\n ")]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"flex mt-6 justify-center flex-wrap any-downloader-resource-preview-resources-list"},[(_vm.items.video && _vm.items.video.length)?_c('div',{staticClass:"mx-0.5 mb-3"},[_c('h4',{staticClass:"bg-gray-700 rounded-t text-gray-100 py-2"},[_vm._v("Videos")]),_vm._v(" "),_vm._l((_vm.items.video),function(item){return _c('a',{staticClass:"my-1.5 rounded bg-gradient-to-r from-pink-500 via-pink-600 to-pink-700 shadow block font-extrabold px-2 py-2 text-gray-100 hover:from-red-500 hover:to-purple-400",attrs:{"target":"_blank","href":item.url}},[_vm._v("Download "+_vm._s(item.title)+"."+_vm._s(item.format))])})],2):_vm._e(),_vm._v(" "),(_vm.items.image && _vm.items.image.length)?_c('div',{staticClass:"mx-0.5 mb-3"},[_c('h4',{staticClass:"bg-gray-700 rounded-t text-gray-100 py-2"},[_vm._v("Images")]),_vm._v(" "),_vm._l((_vm.items.image),function(item){return _c('a',{staticClass:"my-1.5 rounded bg-gradient-to-r from-pink-500 via-pink-600 to-pink-700 shadow block font-extrabold px-2 py-2 text-gray-100 hover:from-red-500 hover:to-purple-400",attrs:{"target":"_blank","href":item.url}},[_vm._v("Download "+_vm._s(item.title)+"."+_vm._s(item.format))])})],2):_vm._e(),_vm._v(" "),(_vm.items.audio && _vm.items.audio.length)?_c('div',{staticClass:"mx-0.5 mb-3"},[_c('h4',{staticClass:"bg-gray-700 rounded-t text-gray-100 py-2"},[_vm._v("Audio")]),_vm._v(" "),_vm._l((_vm.items.audio),function(item){return _c('a',{staticClass:"my-1.5 rounded bg-gradient-to-r from-pink-500 via-pink-600 to-pink-700 shadow block font-extrabold px-2 py-2 text-gray-100 hover:from-red-500 hover:to-purple-400",attrs:{"target":"_blank","href":item.url}},[_vm._v("Download "+_vm._s(item.title)+"."+_vm._s(item.format))])})],2):_vm._e(),_vm._v(" "),(_vm.items.text && _vm.items.text.length)?_c('div',{staticClass:"mx-0.5 mb-3"},[_c('h4',{staticClass:"bg-gray-700 rounded-t text-gray-100 py-2"},[_vm._v("Text/Subtitles")]),_vm._v(" "),_vm._l((_vm.items.text),function(item){return _c('a',{staticClass:"my-1.5 rounded bg-gradient-to-r from-pink-500 via-pink-600 to-pink-700 shadow block font-extrabold px-2 py-2 text-gray-100 hover:from-red-500 hover:to-purple-400",attrs:{"target":"_blank","href":item.url}},[_vm._v("Download "+_vm._s(item.title)+"."+_vm._s(item.format))])})],2):_vm._e()])])])},
render: function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"mt-12 flex items-center justify-center flex-wrap any-downloader-resource-preview-wrapper"},[_c('div',{staticClass:"rounded-t bg-gray-700 w-full bg-cover bg-blend-soft-light any-downloader-resource-preview-heading",style:({backgroundImage: 'url(' + _vm.previewImage.url + ')'})},[(_vm.previewVideo && _vm.previewVideo.url)?_c('video',{staticClass:"rounded m-auto max-h-3/5-screen",attrs:{"poster":(_vm.previewImage && _vm.previewImage.url) ? _vm.previewImage.url : false,"controls":"true"}},[_c('source',{attrs:{"src":_vm.previewVideo.url}})]):_vm._e(),_vm._v(" "),((!_vm.previewVideo || !_vm.previewVideo.url) && _vm.previewImage && _vm.previewImage.url)?_c('img',{staticClass:"rounded-t",attrs:{"src":_vm.previewImage.url}}):_vm._e()]),_vm._v(" "),_c('div',{staticClass:"bg-white text-black rounded-b p-6 w-full any-downloader-resource-preview-body-wrapper"},[(_vm.attributes.author)?_c('p',{staticClass:"text-sm text-center pb-2 any-downloader-resource-preview-author"},[(_vm.attributes.author.avatar && _vm.attributes.author.avatar.url)?_c('img',{staticClass:"rounded-full w-12 h-12 inline any-downloader-resource-preview-author-avatar",attrs:{"alt":_vm.attributes.author.nickname,"src":_vm.attributes.author.avatar.url}}):_vm._e(),_vm._v("\n "+_vm._s(_vm.attributes.author.full_name)+"\n ")]):_vm._e(),_vm._v(" "),(_vm.attributes.title)?_c('p',{staticClass:"text-lg pb-2 any-downloader-resource-preview-title"},[_vm._v("\n "+_vm._s(_vm.attributes.title)+"\n ")]):_vm._e(),_vm._v(" "),(_vm.attributes.text)?_c('p',[_vm._v("\n "+_vm._s(_vm.attributes.text)+"\n ")]):_vm._e(),_vm._v(" "),(_vm.attributes.hashtags && _vm.attributes.hashtags.length)?_c('p',[_vm._v("\n "+_vm._s(_vm.attributes.hashtags.map( function (v) { return '#' + v; }).join(', '))+"\n ")]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"flex mt-6 justify-center flex-wrap any-downloader-resource-preview-resources-list"},[(_vm.items.video && _vm.items.video.length)?_c('div',{staticClass:"mx-0.5 mb-3"},[_c('h4',{staticClass:"bg-gray-700 rounded-t text-gray-100 py-2"},[_vm._v("Videos")]),_vm._v(" "),_vm._l((_vm.items.video),function(item){return _c('a',{staticClass:"my-1.5 rounded bg-gradient-to-r from-pink-500 via-pink-600 to-pink-700 shadow block font-extrabold px-2 py-2 text-gray-100 hover:from-red-500 hover:to-purple-400",attrs:{"target":"_blank","href":item.url}},[_vm._v("Download "+_vm._s(item.title)+"."+_vm._s(item.format))])})],2):_vm._e(),_vm._v(" "),(_vm.items.image && _vm.items.image.length)?_c('div',{staticClass:"mx-0.5 mb-3"},[_c('h4',{staticClass:"bg-gray-700 rounded-t text-gray-100 py-2"},[_vm._v("Images")]),_vm._v(" "),_vm._l((_vm.items.image),function(item){return _c('a',{staticClass:"my-1.5 rounded bg-gradient-to-r from-pink-500 via-pink-600 to-pink-700 shadow block font-extrabold px-2 py-2 text-gray-100 hover:from-red-500 hover:to-purple-400",attrs:{"target":"_blank","href":item.url}},[_vm._v("Download "+_vm._s(item.title)+"."+_vm._s(item.format))])})],2):_vm._e(),_vm._v(" "),(_vm.items.audio && _vm.items.audio.length)?_c('div',{staticClass:"mx-0.5 mb-3"},[_c('h4',{staticClass:"bg-gray-700 rounded-t text-gray-100 py-2"},[_vm._v("Audio")]),_vm._v(" "),_vm._l((_vm.items.audio),function(item){return _c('a',{staticClass:"my-1.5 rounded bg-gradient-to-r from-pink-500 via-pink-600 to-pink-700 shadow block font-extrabold px-2 py-2 text-gray-100 hover:from-red-500 hover:to-purple-400",attrs:{"target":"_blank","href":item.url}},[_vm._v("Download "+_vm._s(item.title)+"."+_vm._s(item.format))])})],2):_vm._e(),_vm._v(" "),(_vm.items.text && _vm.items.text.length)?_c('div',{staticClass:"mx-0.5 mb-3"},[_c('h4',{staticClass:"bg-gray-700 rounded-t text-gray-100 py-2"},[_vm._v("Text/Subtitles")]),_vm._v(" "),_vm._l((_vm.items.text),function(item){return _c('a',{staticClass:"my-1.5 rounded bg-gradient-to-r from-pink-500 via-pink-600 to-pink-700 shadow block font-extrabold px-2 py-2 text-gray-100 hover:from-red-500 hover:to-purple-400",attrs:{"target":"_blank","href":item.url}},[_vm._v("Download "+_vm._s(item.title)+"."+_vm._s(item.format))])})],2):_vm._e()])])])},
staticRenderFns: [],

@@ -10,0 +10,0 @@ props: ['sourceUrl', 'previewImage', 'previewVideo', 'attributes', 'items']

@@ -10,3 +10,3 @@ (function (global, factory) {

var ResourcePreview = {
render: function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"mt-12 flex items-center justify-center flex-wrap any-downloader-resource-preview-wrapper"},[_c('div',{staticClass:"any-downloader-resource-preview-heading any-downloader-resource-preview-heading",style:({backgroundImage: 'url(' + _vm.previewImage.url + ')'})},[(_vm.previewVideo && _vm.previewVideo.url)?_c('video',{staticClass:"rounded m-auto max-h-3/5-screen",attrs:{"poster":(_vm.previewImage && _vm.previewImage.url) ? _vm.previewImage.url : false,"controls":"true"}},[_c('source',{attrs:{"src":_vm.previewVideo.url}})]):_vm._e(),_vm._v(" "),((!_vm.previewVideo || !_vm.previewVideo.url) && _vm.previewImage && _vm.previewImage.url)?_c('img',{staticClass:"rounded-t",attrs:{"src":_vm.previewImage.url}}):_vm._e()]),_vm._v(" "),_c('div',{staticClass:"bg-white text-black rounded-b p-6 w-full any-downloader-resource-preview-body-wrapper"},[(_vm.attributes.author)?_c('p',{staticClass:"text-sm text-center pb-2 any-downloader-resource-preview-author"},[(_vm.attributes.author.avatar && _vm.attributes.author.avatar.url)?_c('img',{staticClass:"rounded-full w-12 h-12 inline any-downloader-resource-preview-author-avatar",attrs:{"alt":_vm.attributes.author.nickname,"src":_vm.attributes.author.avatar.url}}):_vm._e(),_vm._v("\n "+_vm._s(_vm.attributes.author.full_name)+"\n ")]):_vm._e(),_vm._v(" "),(_vm.attributes.title)?_c('p',{staticClass:"text-lg pb-2 any-downloader-resource-preview-title"},[_vm._v("\n "+_vm._s(_vm.attributes.title)+"\n ")]):_vm._e(),_vm._v(" "),(_vm.attributes.text)?_c('p',[_vm._v("\n "+_vm._s(_vm.attributes.text)+"\n ")]):_vm._e(),_vm._v(" "),(_vm.attributes.hashtags && _vm.attributes.hashtags.length)?_c('p',[_vm._v("\n "+_vm._s(_vm.attributes.hashtags.map( function (v) { return '#' + v; }).join(', '))+"\n ")]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"flex mt-6 justify-center flex-wrap any-downloader-resource-preview-resources-list"},[(_vm.items.video && _vm.items.video.length)?_c('div',{staticClass:"mx-0.5 mb-3"},[_c('h4',{staticClass:"bg-gray-700 rounded-t text-gray-100 py-2"},[_vm._v("Videos")]),_vm._v(" "),_vm._l((_vm.items.video),function(item){return _c('a',{staticClass:"my-1.5 rounded bg-gradient-to-r from-pink-500 via-pink-600 to-pink-700 shadow block font-extrabold px-2 py-2 text-gray-100 hover:from-red-500 hover:to-purple-400",attrs:{"target":"_blank","href":item.url}},[_vm._v("Download "+_vm._s(item.title)+"."+_vm._s(item.format))])})],2):_vm._e(),_vm._v(" "),(_vm.items.image && _vm.items.image.length)?_c('div',{staticClass:"mx-0.5 mb-3"},[_c('h4',{staticClass:"bg-gray-700 rounded-t text-gray-100 py-2"},[_vm._v("Images")]),_vm._v(" "),_vm._l((_vm.items.image),function(item){return _c('a',{staticClass:"my-1.5 rounded bg-gradient-to-r from-pink-500 via-pink-600 to-pink-700 shadow block font-extrabold px-2 py-2 text-gray-100 hover:from-red-500 hover:to-purple-400",attrs:{"target":"_blank","href":item.url}},[_vm._v("Download "+_vm._s(item.title)+"."+_vm._s(item.format))])})],2):_vm._e(),_vm._v(" "),(_vm.items.audio && _vm.items.audio.length)?_c('div',{staticClass:"mx-0.5 mb-3"},[_c('h4',{staticClass:"bg-gray-700 rounded-t text-gray-100 py-2"},[_vm._v("Audio")]),_vm._v(" "),_vm._l((_vm.items.audio),function(item){return _c('a',{staticClass:"my-1.5 rounded bg-gradient-to-r from-pink-500 via-pink-600 to-pink-700 shadow block font-extrabold px-2 py-2 text-gray-100 hover:from-red-500 hover:to-purple-400",attrs:{"target":"_blank","href":item.url}},[_vm._v("Download "+_vm._s(item.title)+"."+_vm._s(item.format))])})],2):_vm._e(),_vm._v(" "),(_vm.items.text && _vm.items.text.length)?_c('div',{staticClass:"mx-0.5 mb-3"},[_c('h4',{staticClass:"bg-gray-700 rounded-t text-gray-100 py-2"},[_vm._v("Text/Subtitles")]),_vm._v(" "),_vm._l((_vm.items.text),function(item){return _c('a',{staticClass:"my-1.5 rounded bg-gradient-to-r from-pink-500 via-pink-600 to-pink-700 shadow block font-extrabold px-2 py-2 text-gray-100 hover:from-red-500 hover:to-purple-400",attrs:{"target":"_blank","href":item.url}},[_vm._v("Download "+_vm._s(item.title)+"."+_vm._s(item.format))])})],2):_vm._e()])])])},
render: function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"mt-12 flex items-center justify-center flex-wrap any-downloader-resource-preview-wrapper"},[_c('div',{staticClass:"rounded-t bg-gray-700 w-full bg-cover bg-blend-soft-light any-downloader-resource-preview-heading",style:({backgroundImage: 'url(' + _vm.previewImage.url + ')'})},[(_vm.previewVideo && _vm.previewVideo.url)?_c('video',{staticClass:"rounded m-auto max-h-3/5-screen",attrs:{"poster":(_vm.previewImage && _vm.previewImage.url) ? _vm.previewImage.url : false,"controls":"true"}},[_c('source',{attrs:{"src":_vm.previewVideo.url}})]):_vm._e(),_vm._v(" "),((!_vm.previewVideo || !_vm.previewVideo.url) && _vm.previewImage && _vm.previewImage.url)?_c('img',{staticClass:"rounded-t",attrs:{"src":_vm.previewImage.url}}):_vm._e()]),_vm._v(" "),_c('div',{staticClass:"bg-white text-black rounded-b p-6 w-full any-downloader-resource-preview-body-wrapper"},[(_vm.attributes.author)?_c('p',{staticClass:"text-sm text-center pb-2 any-downloader-resource-preview-author"},[(_vm.attributes.author.avatar && _vm.attributes.author.avatar.url)?_c('img',{staticClass:"rounded-full w-12 h-12 inline any-downloader-resource-preview-author-avatar",attrs:{"alt":_vm.attributes.author.nickname,"src":_vm.attributes.author.avatar.url}}):_vm._e(),_vm._v("\n "+_vm._s(_vm.attributes.author.full_name)+"\n ")]):_vm._e(),_vm._v(" "),(_vm.attributes.title)?_c('p',{staticClass:"text-lg pb-2 any-downloader-resource-preview-title"},[_vm._v("\n "+_vm._s(_vm.attributes.title)+"\n ")]):_vm._e(),_vm._v(" "),(_vm.attributes.text)?_c('p',[_vm._v("\n "+_vm._s(_vm.attributes.text)+"\n ")]):_vm._e(),_vm._v(" "),(_vm.attributes.hashtags && _vm.attributes.hashtags.length)?_c('p',[_vm._v("\n "+_vm._s(_vm.attributes.hashtags.map( function (v) { return '#' + v; }).join(', '))+"\n ")]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"flex mt-6 justify-center flex-wrap any-downloader-resource-preview-resources-list"},[(_vm.items.video && _vm.items.video.length)?_c('div',{staticClass:"mx-0.5 mb-3"},[_c('h4',{staticClass:"bg-gray-700 rounded-t text-gray-100 py-2"},[_vm._v("Videos")]),_vm._v(" "),_vm._l((_vm.items.video),function(item){return _c('a',{staticClass:"my-1.5 rounded bg-gradient-to-r from-pink-500 via-pink-600 to-pink-700 shadow block font-extrabold px-2 py-2 text-gray-100 hover:from-red-500 hover:to-purple-400",attrs:{"target":"_blank","href":item.url}},[_vm._v("Download "+_vm._s(item.title)+"."+_vm._s(item.format))])})],2):_vm._e(),_vm._v(" "),(_vm.items.image && _vm.items.image.length)?_c('div',{staticClass:"mx-0.5 mb-3"},[_c('h4',{staticClass:"bg-gray-700 rounded-t text-gray-100 py-2"},[_vm._v("Images")]),_vm._v(" "),_vm._l((_vm.items.image),function(item){return _c('a',{staticClass:"my-1.5 rounded bg-gradient-to-r from-pink-500 via-pink-600 to-pink-700 shadow block font-extrabold px-2 py-2 text-gray-100 hover:from-red-500 hover:to-purple-400",attrs:{"target":"_blank","href":item.url}},[_vm._v("Download "+_vm._s(item.title)+"."+_vm._s(item.format))])})],2):_vm._e(),_vm._v(" "),(_vm.items.audio && _vm.items.audio.length)?_c('div',{staticClass:"mx-0.5 mb-3"},[_c('h4',{staticClass:"bg-gray-700 rounded-t text-gray-100 py-2"},[_vm._v("Audio")]),_vm._v(" "),_vm._l((_vm.items.audio),function(item){return _c('a',{staticClass:"my-1.5 rounded bg-gradient-to-r from-pink-500 via-pink-600 to-pink-700 shadow block font-extrabold px-2 py-2 text-gray-100 hover:from-red-500 hover:to-purple-400",attrs:{"target":"_blank","href":item.url}},[_vm._v("Download "+_vm._s(item.title)+"."+_vm._s(item.format))])})],2):_vm._e(),_vm._v(" "),(_vm.items.text && _vm.items.text.length)?_c('div',{staticClass:"mx-0.5 mb-3"},[_c('h4',{staticClass:"bg-gray-700 rounded-t text-gray-100 py-2"},[_vm._v("Text/Subtitles")]),_vm._v(" "),_vm._l((_vm.items.text),function(item){return _c('a',{staticClass:"my-1.5 rounded bg-gradient-to-r from-pink-500 via-pink-600 to-pink-700 shadow block font-extrabold px-2 py-2 text-gray-100 hover:from-red-500 hover:to-purple-400",attrs:{"target":"_blank","href":item.url}},[_vm._v("Download "+_vm._s(item.title)+"."+_vm._s(item.format))])})],2):_vm._e()])])])},
staticRenderFns: [],

@@ -13,0 +13,0 @@ props: ['sourceUrl', 'previewImage', 'previewVideo', 'attributes', 'items']

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "0.1.1",
"version": "0.1.2",
"keywords": [

@@ -8,0 +8,0 @@ "downloader",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc