Closed dct-adam closed 10 years ago
/lib/util.js
if(typeof obj === 'string') { var res = parseFloat(obj, 10); if(isNaN(res)) return obj; return res; }
This code makes an IP address such as '192.168.1.1' be interpreted as a float 192.168, making the returned data unusable.
Will put this https://github.com/jpillora/node-edit-google-spreadsheet/issues/22 fix in release
/lib/util.js
if(typeof obj === 'string') { var res = parseFloat(obj, 10); if(isNaN(res)) return obj; return res; }
This code makes an IP address such as '192.168.1.1' be interpreted as a float 192.168, making the returned data unusable.