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

xlsx-style-ts

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xlsx-style-ts - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

20

dist/ods.js
/* ods.js (C) 2014 SheetJS -- http://sheetjs.com */
/* vim: set ts=2: */
/*jshint -W041 */
import __xlsx from "./xlsx";
import __jszip from "./jszip";
var ODS = {};

@@ -9,15 +11,4 @@ (function make_ods(ODS) {

if (typeof XLSX !== 'undefined') return XLSX.utils;
if (typeof module !== "undefined" && typeof require !== 'undefined') try {
return require('../' + 'xlsx').utils;
} catch (e) {
try { return require('./' + 'xlsx').utils; }
catch (ee) {
try {
return require('xl' + 'sx').utils;
} catch (eee) {
return {};
}
}
}
throw new Error("Cannot find XLSX utils");
return __xlsx.utils;
};

@@ -63,4 +54,3 @@ var has_buf = (typeof Buffer !== 'undefined');

if (typeof module !== 'undefined' && module.exports) {
if (has_buf && typeof jszip === 'undefined') jszip = require('js' + 'zip');
if (typeof jszip === 'undefined') jszip = require('./js' + 'zip').JSZip;
jszip = __jszip.JSZip;
_fs = require('f' + 's');

@@ -67,0 +57,0 @@ }

/* ods.js (C) 2014 SheetJS -- http://sheetjs.com */
/* vim: set ts=2: */
/*jshint -W041 */
import __xlsx from "./xlsx";
import __jszip from "./jszip";
var ODS = {};

@@ -9,15 +11,4 @@ (function make_ods(ODS) {

if (typeof XLSX !== 'undefined') return XLSX.utils;
if (typeof module !== "undefined" && typeof require !== 'undefined') try {
return require('../' + 'xlsx').utils;
} catch (e) {
try { return require('./' + 'xlsx').utils; }
catch (ee) {
try {
return require('xl' + 'sx').utils;
} catch (eee) {
return {};
}
}
}
throw new Error("Cannot find XLSX utils");
return __xlsx.utils;
};

@@ -63,4 +54,3 @@ var has_buf = (typeof Buffer !== 'undefined');

if (typeof module !== 'undefined' && module.exports) {
if (has_buf && typeof jszip === 'undefined') jszip = require('js' + 'zip');
if (typeof jszip === 'undefined') jszip = require('./js' + 'zip').JSZip;
jszip = __jszip.JSZip;
_fs = require('f' + 's');

@@ -67,0 +57,0 @@ }

{
"name": "xlsx-style-ts",
"version": "1.0.2",
"version": "1.0.3",
"author": "sheetjs",

@@ -5,0 +5,0 @@ "description": "Excel (XLSB/XLSX/XLSM/XLS/XML) and ODS spreadsheet parser and writer (extended to enable read/write of cell formats with xlsx files)",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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