danwrong / restler

REST client library for node.js
MIT License
1.99k stars 389 forks source link

Upgrade qs library #248

Open j-norwood-young opened 7 years ago

j-norwood-young commented 7 years ago

I was getting the following error:

TypeError: obj.hasOwnProperty is not a function
    at Object.module.exports [as stringify] (/xxx/node_modules/restler/node_modules/qs/lib/stringify.js:49:17

Upgrading the qs library to the latest version solves this issue, as it uses Object.hasOwnProperty.call().