Socket
Socket
Sign inDemoInstall

node-xlsx

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-xlsx - npm Package Compare versions

Comparing version 0.21.1 to 0.21.2

8

lib/index.d.ts
/// <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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc