@itentialopensource/adapter-utils 5.7.0 → 5.7.1

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/CHANGELOG.md CHANGED
@@ -1,4 +1,12 @@
1
1
 
2
+ ## 5.7.1 [09-06-2024]
3
+
4
+ * Update zlib library to node native
5
+
6
+ See merge request itentialopensource/adapter-utils!299
7
+
8
+ ---
9
+
2
10
  ## 5.7.0 [08-21-2024]
3
11
 
4
12
  * Update gzip logic
@@ -1153,7 +1153,7 @@ class AdapterPropertyUtil {
1153
1153
  }
1154
1154
 
1155
1155
  // This is the array of sensitive keys
1156
- 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', 'session', 'session-id', 'jsessionid'];
1156
+ 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'];
1157
1157
 
1158
1158
  // add any additional items to scrub
1159
1159
  if (addItems && Array.isArray(addItems) && addItems.length > 0) {
@@ -8,7 +8,7 @@ const querystring = require('querystring');
8
8
  const jsonQuery = require('json-query');
9
9
  const jsonxml = require('jsontoxml');
10
10
  const xml2js = require('xml2js');
11
- const zlib = require('zlib');
11
+ const zlib = require('node:zlib');
12
12
 
13
13
  const globalSchema = JSON.parse(require('fs').readFileSync(require('path').join(__dirname, '/../schemas/globalSchema.json')));
14
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-utils",
3
- "version": "5.7.0",
3
+ "version": "5.7.1",
4
4
  "description": "Itential Adapter Utility Libraries",
5
5
  "scripts": {
6
6
  "postinstall": "node utils/setup.js",
@@ -43,8 +43,7 @@
43
43
  "readline-sync": "^1.4.10",
44
44
  "socks-proxy-agent": "^8.0.1",
45
45
  "uuid": "^9.0.0",
46
- "xml2js": "^0.6.0",
47
- "zlib": "^1.0.5"
46
+ "xml2js": "^0.6.0"
48
47
  },
49
48
  "devDependencies": {
50
49
  "chai": "^4.3.7",
Binary file