@contentstack/cli-cm-export 1.5.6 → 1.5.8

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/README.md CHANGED
@@ -48,7 +48,7 @@ $ npm install -g @contentstack/cli-cm-export
48
48
  $ csdx COMMAND
49
49
  running command...
50
50
  $ csdx (--version)
51
- @contentstack/cli-cm-export/1.5.6 linux-x64 node-v16.20.0
51
+ @contentstack/cli-cm-export/1.5.8 linux-x64 node-v16.20.0
52
52
  $ csdx --help [COMMAND]
53
53
  USAGE
54
54
  $ csdx COMMAND
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.5.6",
2
+ "version": "1.5.8",
3
3
  "commands": {
4
4
  "cm:stacks:export": {
5
5
  "id": "cm:stacks:export",
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@contentstack/cli-cm-export",
3
3
  "description": "Contentstack CLI plugin to export content from stack",
4
- "version": "1.5.6",
4
+ "version": "1.5.8",
5
5
  "author": "Contentstack",
6
6
  "bugs": "https://github.com/contentstack/cli/issues",
7
7
  "dependencies": {
8
- "@contentstack/cli-command": "^1.2.6",
9
- "@contentstack/cli-utilities": "^1.4.2",
8
+ "@contentstack/cli-command": "^1.2.8",
9
+ "@contentstack/cli-utilities": "^1.4.4",
10
10
  "@oclif/command": "^1.8.16",
11
11
  "@oclif/config": "^1.18.3",
12
12
  "async": "^3.2.4",
@@ -15,7 +15,7 @@
15
15
  "chalk": "^4.1.2",
16
16
  "is-valid-path": "^0.1.1",
17
17
  "lodash": "^4.17.20",
18
- "mkdirp": "^1.0.4",
18
+ "mkdirp": "^2.1.3",
19
19
  "path": "^0.12.7",
20
20
  "progress-stream": "^2.0.0",
21
21
  "promise-limit": "^2.7.0",
@@ -23,9 +23,9 @@
23
23
  "winston": "^3.7.2"
24
24
  },
25
25
  "devDependencies": {
26
- "@contentstack/cli-auth": "^1.3.6",
27
- "@contentstack/cli-config": "^1.4.4",
28
- "@contentstack/cli-dev-dependencies": "^1.2.2",
26
+ "@contentstack/cli-auth": "^1.3.8",
27
+ "@contentstack/cli-config": "^1.4.6",
28
+ "@contentstack/cli-dev-dependencies": "^1.2.3",
29
29
  "@oclif/plugin-help": "^5.1.19",
30
30
  "@oclif/test": "^1.2.6",
31
31
  "assert": "^2.0.0",
@@ -84,4 +84,4 @@
84
84
  },
85
85
  "main": "./src/commands/cm/stacks/export.js",
86
86
  "repository": "https://github.com/contentstack/cli"
87
- }
87
+ }
@@ -354,7 +354,7 @@ module.exports = class ExportAssets {
354
354
  : asset.url,
355
355
  };
356
356
 
357
- await helper.makeDirectory(assetFolderPath);
357
+ mkdirp.sync(assetFolderPath);
358
358
  const assetFileStream = fs.createWriteStream(assetFilePath);
359
359
  self.assetStream.url = encodeURI(self.assetStream.url);
360
360
  self.httpClient