xlsx-write-stream
Advanced tools
Comparing version 1.0.2 to 1.0.3-beta.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = default_1; | ||
const utils_1 = require("../utils"); | ||
@@ -30,3 +31,2 @@ // 25569 = Days between 1970/01/01 and 1900/01/01 (min date in Windows Excel) | ||
} | ||
exports.default = default_1; | ||
//# sourceMappingURL=cell.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Workbook = exports.WorkbookRels = exports.Styles = exports.SheetHeader = exports.SheetFooter = exports.Rels = exports.ContentTypes = exports.Row = exports.Cell = void 0; | ||
const tslib_1 = require("tslib"); | ||
var cell_1 = require("./cell"); | ||
Object.defineProperty(exports, "Cell", { enumerable: true, get: function () { return __importDefault(cell_1).default; } }); | ||
Object.defineProperty(exports, "Cell", { enumerable: true, get: function () { return tslib_1.__importDefault(cell_1).default; } }); | ||
var row_1 = require("./row"); | ||
Object.defineProperty(exports, "Row", { enumerable: true, get: function () { return __importDefault(row_1).default; } }); | ||
Object.defineProperty(exports, "Row", { enumerable: true, get: function () { return tslib_1.__importDefault(row_1).default; } }); | ||
var content_types_1 = require("./content-types"); | ||
Object.defineProperty(exports, "ContentTypes", { enumerable: true, get: function () { return __importDefault(content_types_1).default; } }); | ||
Object.defineProperty(exports, "ContentTypes", { enumerable: true, get: function () { return tslib_1.__importDefault(content_types_1).default; } }); | ||
var rels_1 = require("./rels"); | ||
Object.defineProperty(exports, "Rels", { enumerable: true, get: function () { return __importDefault(rels_1).default; } }); | ||
Object.defineProperty(exports, "Rels", { enumerable: true, get: function () { return tslib_1.__importDefault(rels_1).default; } }); | ||
var sheet_footer_1 = require("./sheet-footer"); | ||
Object.defineProperty(exports, "SheetFooter", { enumerable: true, get: function () { return __importDefault(sheet_footer_1).default; } }); | ||
Object.defineProperty(exports, "SheetFooter", { enumerable: true, get: function () { return tslib_1.__importDefault(sheet_footer_1).default; } }); | ||
var sheet_header_1 = require("./sheet-header"); | ||
Object.defineProperty(exports, "SheetHeader", { enumerable: true, get: function () { return __importDefault(sheet_header_1).default; } }); | ||
Object.defineProperty(exports, "SheetHeader", { enumerable: true, get: function () { return tslib_1.__importDefault(sheet_header_1).default; } }); | ||
var styles_1 = require("./styles"); | ||
Object.defineProperty(exports, "Styles", { enumerable: true, get: function () { return __importDefault(styles_1).default; } }); | ||
Object.defineProperty(exports, "Styles", { enumerable: true, get: function () { return tslib_1.__importDefault(styles_1).default; } }); | ||
var workbook_rels_1 = require("./workbook-rels"); | ||
Object.defineProperty(exports, "WorkbookRels", { enumerable: true, get: function () { return __importDefault(workbook_rels_1).default; } }); | ||
Object.defineProperty(exports, "WorkbookRels", { enumerable: true, get: function () { return tslib_1.__importDefault(workbook_rels_1).default; } }); | ||
var workbook_1 = require("./workbook"); | ||
Object.defineProperty(exports, "Workbook", { enumerable: true, get: function () { return __importDefault(workbook_1).default; } }); | ||
Object.defineProperty(exports, "Workbook", { enumerable: true, get: function () { return tslib_1.__importDefault(workbook_1).default; } }); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = row; | ||
const tslib_1 = require("tslib"); | ||
@@ -13,3 +14,2 @@ /* eslint quotes: 0 */ | ||
} | ||
exports.default = row; | ||
//# sourceMappingURL=row.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getDateFormat = exports.getNumberFormat = exports.timeoutPromised = exports.sanitize = exports.getCellId = void 0; | ||
exports.getCellId = getCellId; | ||
exports.sanitize = sanitize; | ||
exports.timeoutPromised = timeoutPromised; | ||
exports.getNumberFormat = getNumberFormat; | ||
exports.getDateFormat = getDateFormat; | ||
const baseString = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'; | ||
@@ -16,3 +20,2 @@ function getCellId(rowIndex, cellIndex) { | ||
} | ||
exports.getCellId = getCellId; | ||
function sanitize(text) { | ||
@@ -36,3 +39,2 @@ const escaped = text.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>'); | ||
} | ||
exports.sanitize = sanitize; | ||
function timeoutPromised(timeout) { | ||
@@ -43,3 +45,2 @@ return new Promise((resolve) => { | ||
} | ||
exports.timeoutPromised = timeoutPromised; | ||
function getNumberFormat(n) { | ||
@@ -55,7 +56,5 @@ const number = Math.abs(n); | ||
} | ||
exports.getNumberFormat = getNumberFormat; | ||
function getDateFormat() { | ||
return 6; | ||
} | ||
exports.getDateFormat = getDateFormat; | ||
//# sourceMappingURL=utils.js.map |
137
package.json
{ | ||
"name": "xlsx-write-stream", | ||
"version": "1.0.2", | ||
"description": "XLSX stream writer", | ||
"main": "dist/index.js", | ||
"typings": "dist/index.d.ts", | ||
"keywords": [ | ||
"apify", | ||
"apifier", | ||
"xlsx", | ||
"stream" | ||
], | ||
"author": { | ||
"name": "Apify", | ||
"email": "support@apify.com", | ||
"url": "https://www.apify.com" | ||
}, | ||
"contributors": [ | ||
"Jaroslav Hejlek <jaroslav@apify.com>" | ||
], | ||
"license": "Apache-2.0", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/apify/xlsx-stream" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/apify/xlsx-stream" | ||
}, | ||
"homepage": "https://github.com/apify/xlsx-stream", | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"start": "npm run build && node dist/index.js", | ||
"build": "npm run clean && tsc", | ||
"test": "npm run build && mocha --require babel-core/register --recursive", | ||
"test-cov": "npm run build && babel-node node_modules/isparta/bin/isparta cover --report html --report text node_modules/.bin/_mocha", | ||
"prepare": "npm run build", | ||
"clean": "rimraf dist", | ||
"lint": "eslint src test" | ||
}, | ||
"dependencies": { | ||
"archiver": "^5.3.0" | ||
}, | ||
"devDependencies": { | ||
"@apify/tsconfig": "^0.1.0", | ||
"@types/node": "^18.15.3", | ||
"apify-jsdoc-template": "github:apify/apify-jsdoc-template", | ||
"babel-cli": "^6.18.0", | ||
"babel-core": "^6.26.0", | ||
"babel-eslint": "^8.0.1", | ||
"babel-preset-node8": "^1.2.0", | ||
"chai": "^4.1.2", | ||
"eslint": "^4.9.0", | ||
"eslint-config-airbnb-base": "^12.1.0", | ||
"eslint-plugin-import": "^2.8.0", | ||
"eslint-plugin-jsx-a11y": "6.0.2", | ||
"eslint-plugin-mocha": "^4.11.0", | ||
"eslint-plugin-promise": "^3.6.0", | ||
"eslint-plugin-react": "7.4.0", | ||
"glob": "^7.2.0", | ||
"isparta": "^4.0.0", | ||
"mocha": "^8.3.2", | ||
"rimraf": "^3.0.2", | ||
"sinon": "^4.0.1", | ||
"sinon-stub-promise": "^4.0.0", | ||
"typescript": "^5.4.5", | ||
"unzipper": "^0.10.11" | ||
} | ||
"name": "xlsx-write-stream", | ||
"version": "1.0.3-beta.0", | ||
"description": "XLSX stream writer", | ||
"main": "dist/index.js", | ||
"typings": "dist/index.d.ts", | ||
"keywords": [ | ||
"apify", | ||
"apifier", | ||
"xlsx", | ||
"stream" | ||
], | ||
"author": { | ||
"name": "Apify", | ||
"email": "support@apify.com", | ||
"url": "https://www.apify.com" | ||
}, | ||
"contributors": [ | ||
"Jaroslav Hejlek <jaroslav@apify.com>" | ||
], | ||
"license": "Apache-2.0", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/apify/xlsx-stream" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/apify/xlsx-stream" | ||
}, | ||
"homepage": "https://github.com/apify/xlsx-stream", | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"start": "npm run build && node dist/index.js", | ||
"build": "npm run clean && tsc", | ||
"test": "npm run build && mocha --require babel-core/register --recursive", | ||
"test-cov": "npm run build && babel-node node_modules/isparta/bin/isparta cover --report html --report text node_modules/.bin/_mocha", | ||
"prepare": "npm run build", | ||
"clean": "rimraf dist", | ||
"lint": "eslint src test" | ||
}, | ||
"dependencies": { | ||
"archiver": "^5.3.0", | ||
"tslib": "^2.6.3" | ||
}, | ||
"devDependencies": { | ||
"@apify/tsconfig": "^0.1.0", | ||
"@types/node": "^18.15.3", | ||
"apify-jsdoc-template": "github:apify/apify-jsdoc-template", | ||
"babel-cli": "^6.18.0", | ||
"babel-core": "^6.26.0", | ||
"babel-eslint": "^8.0.1", | ||
"babel-preset-node8": "^1.2.0", | ||
"chai": "^4.1.2", | ||
"eslint": "^4.9.0", | ||
"eslint-config-airbnb-base": "^12.1.0", | ||
"eslint-plugin-import": "^2.8.0", | ||
"eslint-plugin-jsx-a11y": "6.0.2", | ||
"eslint-plugin-mocha": "^4.11.0", | ||
"eslint-plugin-promise": "^3.6.0", | ||
"eslint-plugin-react": "7.4.0", | ||
"glob": "^7.2.0", | ||
"isparta": "^4.0.0", | ||
"mocha": "^8.3.2", | ||
"rimraf": "^3.0.2", | ||
"sinon": "^4.0.1", | ||
"sinon-stub-promise": "^4.0.0", | ||
"typescript": "^5.4.5", | ||
"unzipper": "^0.10.11" | ||
} | ||
} |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
75590
2
1
+ Addedtslib@^2.6.3
+ Addedtslib@2.8.1(transitive)