Socket
Socket
Sign inDemoInstall

edit-google-spreadsheet

Package Overview
Dependencies
69
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.14 to 0.2.15

6

lib/index.js

@@ -106,2 +106,8 @@ "use strict";

if (response.statusCode == 302) {
_this.log('Redirected, following new URL...'.grey);
opts.url = response.headers.location;
return _this.request(opts, callback);
}
//body is error

@@ -108,0 +114,0 @@ if (response.statusCode !== 200)

12

lib/metadata.js

@@ -15,6 +15,6 @@ var request = require("request");

return {
updated: new Date(result.entry.updated.$t),
title: result.entry.title.$t,
rowCount: parseInt(result.entry.gs$rowCount.$t, 10),
colCount: parseInt(result.entry.gs$colCount.$t, 10)
updated: new Date(result.entry.updated),
title: result.entry.title,
rowCount: result.entry['gs:rowCount'],
colCount: result.entry['gs:colCount']
};

@@ -26,3 +26,3 @@ };

this.spreadsheet.request({
url: this.url()+'?alt=json'
url: this.url()
}, function(err, result) {

@@ -58,3 +58,3 @@ if(err) return callback(err);

method: 'PUT',
url: this.url()+'?alt=json',
url: this.url(),
body: entry

@@ -61,0 +61,0 @@ }, function(err, result) {

{
"name": "edit-google-spreadsheet",
"version": "0.2.14",
"version": "0.2.15",
"dependencies": {

@@ -5,0 +5,0 @@ "async": "^0.9.0",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc