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

abstract-sheet

Package Overview
Dependencies
Maintainers
0
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abstract-sheet - npm Package Compare versions

Comparing version 0.0.15 to 0.0.16

5

lib/abstract-sheet-exporters/_style.js

@@ -1,5 +0,2 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createStyle = createStyle;
function createStyle(style) {
export function createStyle(style) {
let s = {};

@@ -6,0 +3,0 @@ if (style.vertical || style.horizontal || style.wrapText !== undefined || style.textRotation !== undefined) {

40

lib/abstract-sheet-exporters/_xlsx-sheet.js

@@ -1,39 +0,3 @@

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);
return result;
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.xlsxWorkSheet = xlsxWorkSheet;
const XLSX = __importStar(require("xlsx-js-style"));
function xlsxWorkSheet(sheet, styles) {
import * as XLSX from "xlsx-js-style";
export function xlsxWorkSheet(sheet, styles) {
let colMax = -1;

@@ -40,0 +4,0 @@ const cells = {};

@@ -1,42 +0,6 @@

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);
return result;
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.toCsv = toCsv;
const XLSX = __importStar(require("xlsx-js-style"));
const _xlsx_sheet_js_1 = require("./_xlsx-sheet.js");
const _style_js_1 = require("./_style.js");
function toCsv(as, options) {
const styles = Object.fromEntries(as.styles?.map((s) => [s.name, (0, _style_js_1.createStyle)(s)]) ?? []);
import * as XLSX from "xlsx-js-style";
import { xlsxWorkSheet } from "./_xlsx-sheet.js";
import { createStyle } from "./_style.js";
export function toCsv(as, options) {
const styles = Object.fromEntries(as.styles?.map((s) => [s.name, createStyle(s)]) ?? []);
const mappedOptions = options

@@ -54,4 +18,4 @@ ? {

: undefined;
return as.sheets.map((s) => ({ name: s.name, csv: XLSX.utils.sheet_to_csv((0, _xlsx_sheet_js_1.xlsxWorkSheet)(s, styles), mappedOptions) }));
return as.sheets.map((s) => ({ name: s.name, csv: XLSX.utils.sheet_to_csv(xlsxWorkSheet(s, styles), mappedOptions) }));
}
//# sourceMappingURL=csv.js.map

@@ -1,20 +0,4 @@

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./csv.js"), exports);
__exportStar(require("./xlsx.js"), exports);
__exportStar(require("./react.js"), exports);
export * from "./csv.js";
export * from "./xlsx.js";
export * from "./react.js";
//# sourceMappingURL=index.js.map

@@ -1,14 +0,8 @@

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.toReact = toReact;
const react_1 = __importDefault(require("react"));
function toReact({ abstractSheet }) {
const styles = react_1.default.useMemo(() => Object.fromEntries(abstractSheet.styles?.map((s) => [s.name, s]) ?? []), [abstractSheet.styles]);
return (react_1.default.createElement("div", { className: "abstract-sheet", style: { display: "flex", flexDirection: "column", gap: "0.2rem" } }, abstractSheet.sheets.map((s, si) => {
import React from "react";
export function toReact({ abstractSheet }) {
const styles = React.useMemo(() => Object.fromEntries(abstractSheet.styles?.map((s) => [s.name, s]) ?? []), [abstractSheet.styles]);
return (React.createElement("div", { className: "abstract-sheet", style: { display: "flex", flexDirection: "column", gap: "0.2rem" } }, abstractSheet.sheets.map((s, si) => {
const maxCols = s.cells.reduce((a, c) => Math.max(a, c.length), 0);
const colArray = Array.from({ length: maxCols }, (_, i) => i);
return (react_1.default.createElement("div", { className: `sheet sheet-${si} sheet-${s.name}`, key: s.name, style: {
return (React.createElement("div", { className: `sheet sheet-${si} sheet-${s.name}`, key: s.name, style: {
display: "grid",

@@ -38,3 +32,3 @@ width: "max-content",

.join(" ")}`,
} }, s.cells.map((cells, cellsIdx) => (react_1.default.createElement("div", { key: cellsIdx, className: `cells cells-${cellsIdx}`, style: {
} }, s.cells.map((cells, cellsIdx) => (React.createElement("div", { key: cellsIdx, className: `cells cells-${cellsIdx}`, style: {
display: "grid",

@@ -52,3 +46,3 @@ ...(s.direction === "col"

}
return (react_1.default.createElement("div", { className: `cell cell-${ci} cell-${c?.type}`, key: ci, style: {
return (React.createElement("div", { className: `cell cell-${ci} cell-${c?.type}`, key: ci, style: {
padding: "1px",

@@ -80,3 +74,3 @@ background: s.foreground,

} },
react_1.default.createElement("div", { className: `value value-${ci} value-${c?.type}`, style: {
React.createElement("div", { className: `value value-${ci} value-${c?.type}`, style: {
fontFamily: "calibri",

@@ -83,0 +77,0 @@ textDecoration: [s.strike ? "line-through" : "", s.underline ? "underline" : ""].join(" "),

@@ -1,47 +0,11 @@

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);
return result;
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.toXlsx = toXlsx;
const XLSX = __importStar(require("xlsx-js-style"));
const _xlsx_sheet_js_1 = require("./_xlsx-sheet.js");
const _style_js_1 = require("./_style.js");
function toXlsx(as) {
import * as XLSX from "xlsx-js-style";
import { xlsxWorkSheet } from "./_xlsx-sheet.js";
import { createStyle } from "./_style.js";
export function toXlsx(as) {
const sheets = {};
const sheetNames = Array();
const styles = Object.fromEntries(as.styles?.map((s) => [s.name, (0, _style_js_1.createStyle)(s)]) ?? []);
const styles = Object.fromEntries(as.styles?.map((s) => [s.name, createStyle(s)]) ?? []);
for (const s of as.sheets) {
sheetNames.push(s.name);
sheets[s.name] = (0, _xlsx_sheet_js_1.xlsxWorkSheet)(s, styles);
sheets[s.name] = xlsxWorkSheet(s, styles);
}

@@ -48,0 +12,0 @@ const wb = { Sheets: sheets, SheetNames: Object.keys(sheets) };

@@ -1,11 +0,6 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parsedXsd = exports.abstractSheetXml = void 0;
exports.abstractSheetOfXml = abstractSheetOfXml;
const abstract_sheet_js_1 = require("../abstract-sheet/abstract-sheet.js");
const abstract_sheet_xsd_js_1 = require("../abstract-sheet/abstract-sheet-xsd.js");
const index_js_1 = require("./mustache-xml/index.js");
const abstractSheetXml = (template, data, partials) => abstractSheetOfXml((0, index_js_1.parseMustacheXml)(template, data, partials)[0]);
exports.abstractSheetXml = abstractSheetXml;
function abstractSheetOfXml(el) {
import { borderStyleRecord, } from "../abstract-sheet/abstract-sheet.js";
import { xsd } from "../abstract-sheet/abstract-sheet-xsd.js";
import { parseMustacheXml, parseXsd } from "./mustache-xml/index.js";
export const abstractSheetXml = (template, data, partials) => abstractSheetOfXml(parseMustacheXml(template, data, partials)[0]);
export function abstractSheetOfXml(el) {
const children = Array();

@@ -86,6 +81,6 @@ const childElements = Array();

const border = attributes.borderStyle.toString().split(" ");
const s0 = abstract_sheet_js_1.borderStyleRecord[border[0] ?? ""];
const s1 = abstract_sheet_js_1.borderStyleRecord[border[1] ?? ""];
const s2 = abstract_sheet_js_1.borderStyleRecord[border[2] ?? ""];
const s3 = abstract_sheet_js_1.borderStyleRecord[border[3] ?? ""];
const s0 = borderStyleRecord[border[0] ?? ""];
const s1 = borderStyleRecord[border[1] ?? ""];
const s2 = borderStyleRecord[border[2] ?? ""];
const s3 = borderStyleRecord[border[3] ?? ""];
switch (border.length) {

@@ -132,3 +127,3 @@ default:

}
exports.parsedXsd = (0, index_js_1.parseXsd)(abstract_sheet_xsd_js_1.xsd);
export const parsedXsd = parseXsd(xsd);
//# sourceMappingURL=abstract-sheet-xml.js.map

@@ -1,19 +0,3 @@

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./abstract-sheet-xml.js"), exports);
__exportStar(require("./mustache-xml/index.js"), exports);
export * from "./abstract-sheet-xml.js";
export * from "./mustache-xml/index.js";
//# sourceMappingURL=index.js.map

@@ -1,19 +0,3 @@

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./validate-mustache-xml.js"), exports);
__exportStar(require("./parse-mustache-xml.js"), exports);
export * from "./validate-mustache-xml.js";
export * from "./parse-mustache-xml.js";
//# sourceMappingURL=index.js.map

@@ -1,49 +0,6 @@

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);
return result;
};
})();
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.parseXsd = exports.parseXml = exports.render = exports.parseMustacheXml = void 0;
exports.parseXmlCustom = parseXmlCustom;
exports.findElement = findElement;
exports.getChildren = getChildren;
const FXmlP = __importStar(require("fast-xml-parser"));
const mustache_1 = __importDefault(require("mustache"));
const parseMustacheXml = (template, data, partials) => (0, exports.parseXml)(mustache_1.default.render(template, data, partials));
exports.parseMustacheXml = parseMustacheXml;
exports.render = mustache_1.default.render;
function parseXmlCustom(text, options) {
import * as FXmlP from "fast-xml-parser";
import Mustache from "mustache";
export const parseMustacheXml = (template, data, partials) => parseXml(Mustache.render(template, data, partials));
export const render = Mustache.render;
export function parseXmlCustom(text, options) {
const parser = new FXmlP.XMLParser(options);

@@ -54,6 +11,4 @@ parser.addEntity("#x2F", "/");

}
const parseXml = (text) => transformFXP(xmlParser.parse(text));
exports.parseXml = parseXml;
const parseXsd = (text) => transformFXP(xsdParser.parse(text.replace(/xs:/g, "")));
exports.parseXsd = parseXsd;
export const parseXml = (text) => transformFXP(xmlParser.parse(text));
export const parseXsd = (text) => transformFXP(xsdParser.parse(text.replace(/xs:/g, "")));
// Transforms fast-xml-parser format to a format that is much easier to work with

@@ -86,3 +41,3 @@ function transformFXP(parsedXml) {

}
function findElement(elements, elementName) {
export function findElement(elements, elementName) {
if (!elementName) {

@@ -109,3 +64,3 @@ return undefined;

}
function getChildren(elements) {
export function getChildren(elements) {
for (const elem of elements) {

@@ -112,0 +67,0 @@ if (elem.tagName === "annotation" || elem.tagName === "attribute") {

@@ -1,40 +0,3 @@

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);
return result;
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.validateXml = validateXml;
exports.errorToReadableText = errorToReadableText;
const FXmlP = __importStar(require("fast-xml-parser"));
const parse_mustache_xml_js_1 = require("./parse-mustache-xml.js");
import * as FXmlP from "fast-xml-parser";
import { parseXml, findElement } from "./parse-mustache-xml.js";
var ErrorType;

@@ -46,3 +9,3 @@ (function (ErrorType) {

// eslint-disable-next-line functional/prefer-readonly-type
function validateXml(fullXml, xsdSchema) {
export function validateXml(fullXml, xsdSchema) {
const errors = [];

@@ -68,3 +31,3 @@ // ignore all mustache brackets

}
const entryPointXml = (0, parse_mustache_xml_js_1.parseXml)(xml)[0];
const entryPointXml = parseXml(xml)[0];
const entryPointSchema = xsdSchema[0];

@@ -104,3 +67,3 @@ let pos = 0;

const schemaName = schemaElement?.attributes.type || tagName;
const foundSchemaElement = (0, parse_mustache_xml_js_1.findElement)(validElements, schemaName);
const foundSchemaElement = findElement(validElements, schemaName);
if (!foundSchemaElement) {

@@ -137,3 +100,3 @@ return [createError(`"${tagName}" is not a valid element`, ErrorType.error, range)];

}
const foundChild = (0, parse_mustache_xml_js_1.findElement)(schemaChildren, childName);
const foundChild = findElement(schemaChildren, childName);
if (!foundChild) {

@@ -213,3 +176,3 @@ const childRange = getRangeOfElement(childName, false);

});
function errorToReadableText(errors, templateName = "") {
export function errorToReadableText(errors, templateName = "") {
const errorLines = [];

@@ -216,0 +179,0 @@ if (templateName) {

@@ -1,5 +0,2 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.xsd = void 0;
exports.xsd = `<?xml version="1.1" encoding="UTF-8"?>
export const xsd = `<?xml version="1.1" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

@@ -6,0 +3,0 @@

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

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.borderStyleRecord = void 0;
const borderStyles = [

@@ -18,4 +15,4 @@ "dashDotDot",

];
exports.borderStyleRecord = Object.fromEntries(borderStyles.map((s) => [s, s]));
export const borderStyleRecord = Object.fromEntries(borderStyles.map((s) => [s, s]));
//dummy
//# sourceMappingURL=abstract-sheet.js.map

@@ -1,19 +0,3 @@

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./abstract-sheet.js"), exports);
__exportStar(require("./abstract-sheet-xsd.xml"), exports);
export * from "./abstract-sheet.js";
export * from "./abstract-sheet-xsd.xml";
//# sourceMappingURL=index.js.map

@@ -1,21 +0,5 @@

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./abstract-sheet-exporters/index.js"), exports);
__exportStar(require("./abstract-sheet/abstract-sheet.js"), exports);
__exportStar(require("./abstract-sheet-xml/index.js"), exports);
export * from "./abstract-sheet-exporters/index.js";
export * from "./abstract-sheet/abstract-sheet.js";
export * from "./abstract-sheet-xml/index.js";
//dummy
//# sourceMappingURL=index.js.map
{
"name": "abstract-sheet",
"version": "0.0.15",
"version": "0.0.16",
"description": "Abstract sheet",

@@ -10,2 +10,6 @@ "author": "Divid AB <info@divid.se>",

"types": "lib/index",
"type": "module",
"exports": {
".": "./lib/index.js"
},
"files": [

@@ -33,3 +37,3 @@ "/lib",

},
"gitHead": "44392cdca5d3899ec402c289ca9ee530d8bec259"
"gitHead": "da8e694d392829cb309ec55e2372c418e24ceb95"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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