jscrambler 8.9.1 → 8.9.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,11 @@
1
1
  # jscrambler
2
2
 
3
+ ## 8.9.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [b10a097]: When downloading the symbol table it should create the directory if it does not exists
8
+
3
9
  ## 8.9.1
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -779,6 +779,9 @@ var _default = exports.default = {
779
779
  if (typeof destCallback === 'function') {
780
780
  destCallback(download, filesDest);
781
781
  } else {
782
+ await _fs.default.promises.mkdir(filesDest, {
783
+ recursive: true
784
+ });
782
785
  await _fs.default.promises.writeFile(_path.default.join(filesDest, "".concat(protectionId, "_symbolTable.json")), download);
783
786
  }
784
787
  },
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.9.1",
4
+ "version": "8.9.2",
5
5
  "homepage": "https://github.com/jscrambler/jscrambler",
6
6
  "author": "Jscrambler <support@jscrambler.com>",
7
7
  "repository": {