From 35f1c874905920f18877ea76e44a1cdc37a2f01f Mon Sep 17 00:00:00 2001 From: Dustin Popp Date: Fri, 15 Mar 2019 17:14:00 -0500 Subject: [PATCH] fix: upgrade to watson-developer-cloud 3.18.2, fix bug using iam --- package-lock.json | 70 +++++++++++++++++++++++++++++++++++------------ package.json | 2 +- 2 files changed, 53 insertions(+), 19 deletions(-) diff --git a/package-lock.json b/package-lock.json index a9373f74..2fbc01bc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -51,7 +51,7 @@ "@types/form-data": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/@types/form-data/-/form-data-2.2.1.tgz", - "integrity": "sha1-7is7jqoRwJOCiZU2BrdFtzjFSx4=", + "integrity": "sha512-JAMFhOaHIciYVh8fb5/83nmuO/AHwmto+Hq7a9y8FzLDcC1KCU344XDOMEmahnrTFlHjgh4L0WJFczNIX2GxnQ==", "requires": { "@types/node": "*" } @@ -59,7 +59,7 @@ "@types/is-stream": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@types/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-uE17sgeiEPKvm+1DHcD76cQUO+E=", + "integrity": "sha512-jkZatu4QVbR60mpIzjINmtS1ZF4a/FqdTUTBeQDVOQ2PYyidtwFKr0B5G6ERukKwliq+7mIXvxyppwzG5EgRYg==", "requires": { "@types/node": "*" } @@ -67,12 +67,12 @@ "@types/node": { "version": "10.3.6", "resolved": "https://registry.npmjs.org/@types/node/-/node-10.3.6.tgz", - "integrity": "sha1-6oqrlDm1n0DRnsXxO0RkI0SHKxE=" + "integrity": "sha512-h7VDRFL8IhdPw1JjiNVvhr+WynfKW09q2BOflIOA0yeuXNeXBP1bIRuBrysSryH4keaJ5bYUNp63aIyQL9YpDQ==" }, "@types/request": { "version": "2.47.1", "resolved": "https://registry.npmjs.org/@types/request/-/request-2.47.1.tgz", - "integrity": "sha1-JUENOvvawEyRqUrZ78mCQQBzWCQ=", + "integrity": "sha512-TV3XLvDjQbIeVxJ1Z3oCTDk/KuYwwcNKVwz2YaT0F5u86Prgc4syDAp6P96rkTQQ4bIdh+VswQIC9zS6NjY7/g==", "requires": { "@types/caseless": "*", "@types/form-data": "*", @@ -310,7 +310,7 @@ "asn1": { "version": "0.2.4", "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", - "integrity": "sha1-jSR136tVO7M+d7VOWeiAu4ziMTY=", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", "requires": { "safer-buffer": "~2.1.0" } @@ -396,7 +396,7 @@ "aws4": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", - "integrity": "sha1-8OAD2cqef1nHpQiUXXsu+aBKVC8=" + "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==" }, "babel-code-frame": { "version": "6.26.0", @@ -1173,7 +1173,7 @@ "combined-stream": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.7.tgz", - "integrity": "sha1-LR0kMXr7ir6V1tLAsHtXgTU52Cg=", + "integrity": "sha512-brWl9y6vOB1xYPZcpZde3N9zDByXTosAeMDo4p1wzo6UMOX4vumB+TP1RZ76sfE6Md68Q0NJSrE/gbezd4Ul+w==", "requires": { "delayed-stream": "~1.0.0" } @@ -2365,7 +2365,7 @@ "file-type": { "version": "7.7.1", "resolved": "https://registry.npmjs.org/file-type/-/file-type-7.7.1.tgz", - "integrity": "sha1-kcL17bjOcGiLm2ipDZMbu2yyH2U=" + "integrity": "sha512-bTrKkzzZI6wH+NXhyD3SOXtb2zXTw2SbwI2RxUlRcXVsnN7jNL5hJzVQLYv7FOQhxFkK4XWdAflEaWFpaLLWpQ==" }, "filename-regex": { "version": "2.0.1", @@ -2490,7 +2490,7 @@ "form-data": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", - "integrity": "sha1-3M5SwF9kTymManq5Nr1yTO/786Y=", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", "requires": { "asynckit": "^0.4.0", "combined-stream": "^1.0.6", @@ -3485,6 +3485,39 @@ "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=", "dev": true }, + "ibm-cloud-sdk-core": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/ibm-cloud-sdk-core/-/ibm-cloud-sdk-core-0.0.1.tgz", + "integrity": "sha512-C8NyKBIVh892VG+7WU/+hd/c9zvHBZ19ZgjlRcTUMLh/lRCIORqehg2k4qqADLxxZipAcnP+ofX6rUKdbTuP+Q==", + "requires": { + "@types/extend": "~3.0.0", + "@types/file-type": "~5.2.1", + "@types/is-stream": "~1.1.0", + "@types/node": "~10.3.5", + "@types/request": "~2.47.1", + "buffer-from": "~1.1.0", + "dotenv": "^6.2.0", + "extend": "~3.0.2", + "file-type": "^7.7.1", + "isstream": "~0.1.2", + "mime-types": "~2.1.18", + "request": "~2.87.0", + "semver": "^5.6.0", + "vcap_services": "~0.3.4" + }, + "dependencies": { + "buffer-from": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==" + }, + "dotenv": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-6.2.0.tgz", + "integrity": "sha512-HygQCKUBSFl8wKQZBSemMywRWcEDNidvNbjGVyZu3nbZ8qq9ubiPoGLMdRDpfSrpkkm9BXYFkpKxxFX38o/76w==" + } + } + }, "iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", @@ -5866,7 +5899,7 @@ "request": { "version": "2.87.0", "resolved": "https://registry.npmjs.org/request/-/request-2.87.0.tgz", - "integrity": "sha1-MvACNc0I1IK00NaNuTqCnA7VdW4=", + "integrity": "sha512-fcogkm7Az5bsS6Sl0sibkbhcKsnyon/jV1kF3ajGmF0c8HrttdKTPRT9hieOaQHA5HEq6r8OyWOo/o781C1tNw==", "requires": { "aws-sign2": "~0.7.0", "aws4": "^1.6.0", @@ -6850,7 +6883,7 @@ "tough-cookie": { "version": "2.3.4", "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.4.tgz", - "integrity": "sha1-7GDO44rGdQY//JelwYlwV47oNlU=", + "integrity": "sha512-TZ6TTfI5NtZnuyy/Kecv+CnoROnyXn2DN97LontgQpCwsX2XyLYCC0ENhYkehSOwAp8rTQKc/NUIF7BkQ5rKLA==", "requires": { "punycode": "^1.4.1" } @@ -7193,7 +7226,7 @@ "uuid": { "version": "3.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", - "integrity": "sha1-G0r0lV6zB3xQHCOHL8ZROBFYcTE=" + "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==" }, "validate-npm-package-license": { "version": "3.0.4", @@ -7715,9 +7748,9 @@ } }, "watson-developer-cloud": { - "version": "3.18.1", - "resolved": "https://registry.npmjs.org/watson-developer-cloud/-/watson-developer-cloud-3.18.1.tgz", - "integrity": "sha512-9OfgjOFjQfeh2dpAcrYLf8QHyU5P93+rGexEwdmv7kkTq3UKUBGoqL0u5jfNrz3TL9Vpv4ZWeJ3HhZWDE7LUuQ==", + "version": "3.18.2", + "resolved": "https://registry.npmjs.org/watson-developer-cloud/-/watson-developer-cloud-3.18.2.tgz", + "integrity": "sha512-lUkCptpI0+F2x/C2r2PcodJfjbtvbIPcTYfnz+mAYwdY291AknKiSDPwz/5L2w46SG2yEpWbBaWUqWftr36Mqg==", "requires": { "@types/csv-stringify": "~1.4.2", "@types/extend": "~3.0.0", @@ -7731,6 +7764,7 @@ "dotenv": "^2.0.0", "extend": "~3.0.2", "file-type": "^7.7.1", + "ibm-cloud-sdk-core": "0.0.1", "isstream": "~0.1.2", "mime-types": "~2.1.18", "object.omit": "~3.0.0", @@ -7744,12 +7778,12 @@ "buffer-from": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha1-MnE7wCj3XAL9txDXx7zsHyxgcO8=" + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==" }, "is-extendable": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha1-p0cPnkJnM9gb2B4RVSZOOjUHyrQ=", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", "requires": { "is-plain-object": "^2.0.4" } @@ -7757,7 +7791,7 @@ "object.omit": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-3.0.0.tgz", - "integrity": "sha1-Dj7cL84rpU31V3/1KfbZe9ilIq8=", + "integrity": "sha512-EO+BCv6LJfu+gBIF3ggLicFebFLN5zqzz/WWJlMFfkMyGth+oBkhxzDl0wx2W4GkLzuQs/FsSkXZb2IMWQqmBQ==", "requires": { "is-extendable": "^1.0.0" } diff --git a/package.json b/package.json index 2133025b..e993fe85 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "object.assign": "^4.1.0", "object.pick": "^1.3.0", "readable-blob-stream": "^1.1.0", - "watson-developer-cloud": "3.18.1", + "watson-developer-cloud": "^3.18.2", "websocket": "^1.0.26", "whatwg-fetch": "^2.0.4" },