jscrambler 8.6.0 → 8.6.2

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,18 @@
1
1
  # jscrambler
2
2
 
3
+ ## 8.6.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [ab4eb68]: added core-js dependency as it was wrongfully removed previously
8
+
9
+ ## 8.6.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [bf31071]: bump glob dependency version as 8.1.0 is no longer supported
14
+ - [dadea38]: remove unused dependencies, and bump others, specially due to vulnerabilites
15
+
3
16
  ## 8.6.0
4
17
 
5
18
  ### Minor Changes
package/dist/utils.js CHANGED
@@ -8,7 +8,7 @@ exports.concatenate = concatenate;
8
8
  exports.getMatchedFiles = getMatchedFiles;
9
9
  exports.isJavascriptFile = isJavascriptFile;
10
10
  exports.validateNProtections = validateNProtections;
11
- var _glob = _interopRequireDefault(require("glob"));
11
+ var _glob = require("glob");
12
12
  var _fs = _interopRequireDefault(require("fs"));
13
13
  var _path = require("path");
14
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -18,7 +18,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
18
18
  * @returns {string[]}
19
19
  */
20
20
  function getMatchedFiles(pattern) {
21
- let matchedFiles = _glob.default.sync(pattern, {
21
+ let matchedFiles = _glob.glob.sync(pattern, {
22
22
  dot: true
23
23
  });
24
24
 
@@ -43,7 +43,7 @@ const APPEND_JS_TYPE = exports.APPEND_JS_TYPE = 'append-js';
43
43
  const PREPEND_JS_TYPE = exports.PREPEND_JS_TYPE = 'prepend-js';
44
44
 
45
45
  /**
46
- *
46
+ *
47
47
  * @param {*} firstFile if prepending: script file; if appending: target file.
48
48
  * @param {*} secondFile if prepending: target file; if appending: script file.
49
49
  * @returns first and second files concatenated
@@ -56,7 +56,7 @@ function handleScriptConcatenation(firstFile, secondFile) {
56
56
  }
57
57
 
58
58
  /**
59
- *
59
+ *
60
60
  * @param {*} scriptObject the object with the script content: { target: '/path/to/target/file', source: '/path/to/script/file', type: 'append-js' | 'prepend-js' }. Its used for both appending and prepending.
61
61
  * @param {*} cwd current working directory, passed by argument
62
62
  * @param {*} path file path (file being parsed)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jscrambler",
3
3
  "description": "Jscrambler API client.",
4
- "version": "8.6.0",
4
+ "version": "8.6.2",
5
5
  "homepage": "https://github.com/jscrambler/jscrambler",
6
6
  "author": "Jscrambler <support@jscrambler.com>",
7
7
  "repository": {
@@ -21,23 +21,20 @@
21
21
  "node": ">= 12.17.0"
22
22
  },
23
23
  "dependencies": {
24
- "axios": "^1.4.0",
24
+ "axios": "^1.7.2",
25
25
  "commander": "^2.8.1",
26
- "core-js": "^3.16.4",
26
+ "core-js": "3.38.1",
27
27
  "filesize-parser": "1.5.0",
28
- "glob": "^8.1.0",
28
+ "glob": "10.4.5",
29
29
  "http-proxy-agent": "7.0.2",
30
30
  "https-proxy-agent": "7.0.4",
31
- "jszip": "^3.7.1",
31
+ "jszip": "^3.8.0",
32
32
  "lodash.clone": "^4.0.3",
33
33
  "lodash.clonedeep": "^4.5.0",
34
34
  "lodash.defaults": "^4.0.1",
35
35
  "lodash.keys": "^4.0.1",
36
36
  "lodash.size": "^4.0.1",
37
- "q": "^1.4.1",
38
- "rc": "^1.1.0",
39
- "snake-case": "^2.1.0",
40
- "temp": "^0.8.3"
37
+ "rc": "^1.1.0"
41
38
  },
42
39
  "devDependencies": {
43
40
  "@babel/cli": "^7.23.4",