Comparing version 0.21.1 to 0.21.2
/// <reference types="node" /> | ||
import { AOA2SheetOpts, AutoFilterInfo, ColInfo, ParsingOptions, ProtectInfo, Range, RowInfo, Sheet2JSONOpts, WritingOptions } from 'xlsx'; | ||
export declare const parse: (mixed: unknown, options?: Sheet2JSONOpts & ParsingOptions) => { | ||
export declare const parse: <T = any[]>(mixed: unknown, options?: Sheet2JSONOpts & ParsingOptions) => { | ||
name: string; | ||
data: unknown[]; | ||
data: T[]; | ||
}[]; | ||
@@ -35,5 +35,5 @@ export declare const parseMetadata: (mixed: unknown, options?: ParsingOptions) => { | ||
declare const _default: { | ||
parse: (mixed: unknown, options?: Sheet2JSONOpts & ParsingOptions) => { | ||
parse: <T = any[]>(mixed: unknown, options?: Sheet2JSONOpts & ParsingOptions) => { | ||
name: string; | ||
data: unknown[]; | ||
data: T[]; | ||
}[]; | ||
@@ -40,0 +40,0 @@ parseMetadata: (mixed: unknown, options?: ParsingOptions) => { |
@@ -7,2 +7,3 @@ "use strict"; | ||
const workbook_1 = require("./workbook"); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
const parse = (mixed, options = {}) => { | ||
@@ -9,0 +10,0 @@ const { dateNF, header = 1, range, blankrows, defval, raw = true, rawNumbers, ...otherOptions } = options; |
{ | ||
"name": "node-xlsx", | ||
"author": "Olivier Louvignes <olivier@mg-crea.com>", | ||
"version": "0.21.1", | ||
"version": "0.21.2", | ||
"description": "NodeJS Excel files parser & builder", | ||
@@ -19,3 +19,3 @@ "main": "lib/index.js", | ||
"test": "npm run lint && npm run prettycheck && npm run typecheck && npm run spec", | ||
"prepublish": "npm run build" | ||
"prepublishOnly": "npm run build" | ||
}, | ||
@@ -22,0 +22,0 @@ "repository": "github:mgcrea/node-xlsx", |
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
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
14600
161