jscrambler 8.10.1 → 8.10.3

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,5 +1,17 @@
1
1
  # jscrambler
2
2
 
3
+ ## 8.10.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [fb77892]: Remove maxBodyLength flag from all axios requests
8
+
9
+ ## 8.10.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [9a93455]: Clean up the generate alias in invalid api versions
14
+
3
15
  ## 8.10.1
4
16
 
5
17
  ### Patch Changes
@@ -193,14 +193,8 @@ if (_commander.default.saveSrc) {
193
193
  } else {
194
194
  config.saveSrc = config.saveSrc !== false;
195
195
  }
196
-
197
- // ensure generateAlias is only sent on v8.5 and above
198
- if (Number(config.jscramblerVersion) >= 8.5) {
199
- if (_commander.default.generateAlias) {
200
- config.generateAlias = _commander.default.generateAlias !== 'false';
201
- } else {
202
- config.generateAlias = config.generateAlias !== false;
203
- }
196
+ if (_commander.default.generateAlias) {
197
+ config.generateAlias = _commander.default.generateAlias !== 'false';
204
198
  }
205
199
  globSrc = config.filesSrc;
206
200
  // If src paths have been provided
@@ -19,6 +19,6 @@ function cleanupInputFields(args, fragments) {
19
19
  console.warn("This API Version does not support the ".concat(field, " argument."));
20
20
  }
21
21
  }
22
- ['tolerateMinification', 'useProfilingData', 'useAppClassification', 'inputSymbolTable', 'entryPoint', 'ensureCodeAnnotation'].forEach(fieldCleanUp);
22
+ ['tolerateMinification', 'useProfilingData', 'useAppClassification', 'inputSymbolTable', 'entryPoint', 'ensureCodeAnnotation', 'generateAlias'].forEach(fieldCleanUp);
23
23
  return [options, cleanedUpFragments];
24
24
  }
package/dist/client.js CHANGED
@@ -74,8 +74,7 @@ function JScramblerClient(options) {
74
74
  }
75
75
  }
76
76
  return data;
77
- }),
78
- maxBodyLength: 100 * 1000 * 1000 // 100 MB
77
+ })
79
78
  });
80
79
  }
81
80
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jscrambler",
3
3
  "description": "Jscrambler Code Integrity API client.",
4
- "version": "8.10.1",
4
+ "version": "8.10.3",
5
5
  "homepage": "https://github.com/jscrambler/jscrambler",
6
6
  "author": "Jscrambler <support@jscrambler.com>",
7
7
  "repository": {