jscrambler 8.4.0 → 8.4.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,5 +1,11 @@
1
1
  # jscrambler
2
2
 
3
+ ## 8.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [4db3431]: Fix folder creation bug
8
+
3
9
  ## 8.4.0
4
10
 
5
11
  ### Minor Changes
package/dist/zip.js CHANGED
@@ -140,10 +140,10 @@ async function unzip(zipFile, dest) {
140
140
  if (isWinAbsolutePath(_file)) {
141
141
  _file = parseWinAbsolutePath(_file).path;
142
142
  }
143
- await fs.mkdir(dest, {
143
+ destPath = (0, _path2.join)(dest, _file);
144
+ await fs.mkdir((0, _path2.dirname)(destPath), {
144
145
  recursive: true
145
146
  });
146
- destPath = (0, _path2.join)(dest, _file);
147
147
  }
148
148
  await fs.writeFile(destPath, buffer);
149
149
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jscrambler",
3
3
  "description": "Jscrambler API client.",
4
- "version": "8.4.0",
4
+ "version": "8.4.1",
5
5
  "homepage": "https://github.com/jscrambler/jscrambler",
6
6
  "author": "Jscrambler <support@jscrambler.com>",
7
7
  "repository": {