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.2.3 to 1.2.4

20210127

2

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

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

@@ -6,6 +6,14 @@ const https = require('https')

const req = https.request(url, (res) => {
res.on('data', (data) => {
if (!String(data).startsWith('/*O_o*/')) return resolve(null)
const body = []
let isStarted = false
const response = { ok: true, text: () => String(data) }
res.on('data', (chunk) => {
if (!isStarted && !String(chunk).startsWith('/*O_o*/')) return resolve(null)
isStarted = true
body.push(chunk)
})
res.on('end', () => {
const response = { ok: true, text: () => Buffer.concat(body).toString() }
resolve(response)

@@ -12,0 +20,0 @@ })

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