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

ab-file-preview-assembly

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ab-file-preview-assembly - npm Package Compare versions

Comparing version 0.0.12 to 0.0.13

2

es/components/utils/index.js

@@ -10,3 +10,3 @@ const getPlatform = () => {

});
const VideoTypeList = ["mp4", "webm", "ogg"];
const VideoTypeList = ["mp4"];
const MediaTypeList = [...ImageTypeList, ...VideoTypeList];

@@ -13,0 +13,0 @@ const OfficeTypeList = ["zip", "txt", "text", "pdf", "pptx", "docx", "xlsx"];

@@ -1,1 +0,1 @@

"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=()=>{const e=window.navigator.userAgent.toLowerCase();return/iphone|ipad|ipod|mac os/i.test(e)?"ios":"android"},t=["jpg","jpeg","png","gif","webp","heic"].filter((t=>"ios"===e()||"heic"!==t)),o=["mp4","webm","ogg"],r=[...t,...o],p=["zip","txt","text","pdf","pptx","docx","xlsx"],i=[...t,...o,...p],s={path:{type:String,default:""}},n={name:{type:String,default:""},extension:{type:String,default:""},fileContent:{type:Object,default:()=>new Blob},size:{type:Number,default:0},isFolder:{type:Boolean,default:!1},children:{type:Array,default:()=>[]},parentFolderName:{type:String,default:""}};exports.AllTypeList=i,exports.ImageTypeList=t,exports.MediaTypeList=r,exports.OfficeTypeList=p,exports.VideoTypeList=o,exports.commonFileProps=n,exports.commonViewerEmits=["rendered","error"],exports.commonViewerProps=s,exports.getFileExtension=e=>{const t=e.match(/\.([^.]+)$/);return t?t[1].toLowerCase():""},exports.getFileName=(e,t)=>t?e:e.slice(0,e.lastIndexOf(".")),exports.getPlatform=e,exports.isEmpty=e=>null==e||""===e;
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=()=>{const e=window.navigator.userAgent.toLowerCase();return/iphone|ipad|ipod|mac os/i.test(e)?"ios":"android"},t=["jpg","jpeg","png","gif","webp","heic"].filter((t=>"ios"===e()||"heic"!==t)),o=["mp4"],r=[...t,...o],p=["zip","txt","text","pdf","pptx","docx","xlsx"],i=[...t,...o,...p],s={path:{type:String,default:""}},n={name:{type:String,default:""},extension:{type:String,default:""},fileContent:{type:Object,default:()=>new Blob},size:{type:Number,default:0},isFolder:{type:Boolean,default:!1},children:{type:Array,default:()=>[]},parentFolderName:{type:String,default:""}};exports.AllTypeList=i,exports.ImageTypeList=t,exports.MediaTypeList=r,exports.OfficeTypeList=p,exports.VideoTypeList=o,exports.commonFileProps=n,exports.commonViewerEmits=["rendered","error"],exports.commonViewerProps=s,exports.getFileExtension=e=>{const t=e.match(/\.([^.]+)$/);return t?t[1].toLowerCase():""},exports.getFileName=(e,t)=>t?e:e.slice(0,e.lastIndexOf(".")),exports.getPlatform=e,exports.isEmpty=e=>null==e||""===e;
{
"name": "ab-file-preview-assembly",
"version": "0.0.12",
"version": "0.0.13",
"author": "zhangyibin",

@@ -54,3 +54,9 @@ "private": false,

"vue-tsc": "^1.8.27"
}
},
"directories": {
"lib": "lib"
},
"keywords": [],
"license": "ISC",
"description": ""
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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