New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

public-google-sheets-parser

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

public-google-sheets-parser - npm Package Compare versions

Comparing version 1.5.3 to 1.5.4

35

@types/index.d.ts

@@ -1,17 +0,23 @@

type SheetName = string
type GID = string
type SheetInfo = SheetName | {
sheetName?: SheetName
sheetId?: GID
interface ISheetOption {
sheetName?: TSheetName
sheetId?: TGID
useFormat?: boolean
useFormattedDate?: boolean
}
type TSpreadSheetId = string
type TSheetName = string
type TGID = string
type TOption = TSheetName | ISheetOption
declare class PublicGoogleSheetsParser {
private id?: string
private sheetName?: SheetName
private sheetId?: GID
private id?: TSpreadSheetId
private sheetName?: TSheetName
private sheetId?: TGID
private useFormat: boolean = false
private useFormattedDate: boolean = false
constructor(spreadsheetId?: string, sheetInfo?: SheetInfo)
constructor(spreadsheetId?: TSpreadSheetId, option?: TOption)
private parseSheetInfo(sheetInfo: SheetInfo): void
private isDate(date: string): boolean
private getSpreadsheetDataUsingFetch(): Promise<string | null>

@@ -21,6 +27,7 @@ private normalizeRow(rows: any[]): any[]

private getItems(spreadsheetResponse: string): any[]
parse(spreadsheetId?: string, sheetInfo?: SheetInfo): Promise<any[]>
setOption(option?: TOption): void
parse(spreadsheetId?: TSpreadSheetId, option?: TOption): Promise<any[]>
}
export default PublicGoogleSheetsParser
export default PublicGoogleSheetsParser

2

package.json
{
"name": "public-google-sheets-parser",
"version": "1.5.3",
"version": "1.5.4",
"description": "Get JSONArray from public google sheets with using only spreadsheetId",

@@ -5,0 +5,0 @@ "scripts": {

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