Socket
Socket
Sign inDemoInstall

js-downloadexcel

Package Overview
Dependencies
15
Maintainers
1
Versions
15
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

7

index.js

@@ -25,6 +25,9 @@ let XLSX = _interopRequireWildcard(require('js-xlsxstyle'))

} else if (window.navigator.userAgent.includes("Firefox")) {
var a = document.createElement("a");
var a = document.createElement("a")
a.style = 'visibility:hidden';
a.href = URL.createObjectURL(obj);
a.download = fileName;
document.body.append(a)
a.click();
document.body.removeChild(a);
} else {

@@ -98,3 +101,3 @@ tmpa.href = URL.createObjectURL(obj);

tmpdata, //内容
{ "!ref": outputPos[0] + ":" + outputPos[outputPos.length - 1] }//设置填充区域
outputPos.length > 0 ? { "!ref": outputPos[0] + ":" + outputPos[outputPos.length - 1] }: {}//设置填充区域
)

@@ -101,0 +104,0 @@ }

{
"name": "js-downloadexcel",
"version": "0.1.1",
"version": "0.1.2",
"description": "下载excel",

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

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