@itentialopensource/adapter-utils 6.1.15 → 6.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/propertyUtil.js +5 -0
- package/package.json +2 -2
package/lib/propertyUtil.js
CHANGED
|
@@ -1159,6 +1159,11 @@ class AdapterPropertyUtil {
|
|
|
1159
1159
|
return inData;
|
|
1160
1160
|
}
|
|
1161
1161
|
|
|
1162
|
+
// string of null blows up parse in a way that the exception is not caught?
|
|
1163
|
+
if (inData === 'null') {
|
|
1164
|
+
return inData;
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1162
1167
|
// This is the array of sensitive keys
|
|
1163
1168
|
let sensList = ['authorization', 'x-auth-token', 'x-csrf-token', 'x-amz-security-token', 'x-aws-ec2-metadata-token', 'cookie', 'set-cookie', 'token', 'tokenp2', 'user', 'username', 'passwd', 'password', 'api-key', 'client-id', 'client-secret', 'client_id', 'client_secret', 'session', 'session-id', 'jsessionid', 'sessionToken', 'accessKeyId', 'secretAccessKey', 'private-token', 'ca'].map((item) => item.toLowerCase());
|
|
1164
1169
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itentialopensource/adapter-utils",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.17",
|
|
4
4
|
"description": "Itential Adapter Utility Libraries",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"postinstall": "node utils/setup.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"cookie": "^0.7.1",
|
|
32
32
|
"crypto-js": "^4.2.0",
|
|
33
33
|
"form-data": "^4.0.4",
|
|
34
|
-
"fs-extra": "^11.
|
|
34
|
+
"fs-extra": "^11.3.4",
|
|
35
35
|
"https-proxy-agent": "^7.0.0",
|
|
36
36
|
"json-query": "^2.2.2",
|
|
37
37
|
"jsontoxml": "^1.0.1",
|