From 9231e0e09da148f4950ed1d06c4f185c72140405 Mon Sep 17 00:00:00 2001 From: Jason Norwood-Young Date: Tue, 7 Mar 2017 12:16:33 +0200 Subject: [PATCH] Upgrade qs library 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()`. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d4957fc..f4d885e 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "test": "node test/all.js" }, "dependencies": { - "qs": "1.2.0", + "qs": "6.4.0", "xml2js": "0.4.0", "yaml": "0.2.3", "iconv-lite": "0.2.11"