@contentstack/cli-cm-import 1.32.2 → 1.32.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/README.md CHANGED
@@ -47,7 +47,7 @@ $ npm install -g @contentstack/cli-cm-import
47
47
  $ csdx COMMAND
48
48
  running command...
49
49
  $ csdx (--version)
50
- @contentstack/cli-cm-import/1.32.2 linux-x64 node-v22.22.2
50
+ @contentstack/cli-cm-import/1.32.3 linux-x64 node-v22.22.2
51
51
  $ csdx --help [COMMAND]
52
52
  USAGE
53
53
  $ csdx COMMAND
@@ -10,7 +10,6 @@ const isEmpty_1 = tslib_1.__importDefault(require("lodash/isEmpty"));
10
10
  const uniq_1 = tslib_1.__importDefault(require("lodash/uniq"));
11
11
  const node_fs_1 = require("node:fs");
12
12
  const includes_1 = tslib_1.__importDefault(require("lodash/includes"));
13
- const uuid_1 = require("uuid");
14
13
  const node_path_1 = require("node:path");
15
14
  const cli_utilities_1 = require("@contentstack/cli-utilities");
16
15
  const config_1 = tslib_1.__importDefault(require("../../config"));
@@ -339,7 +338,7 @@ class ImportAssets extends base_class_1.default {
339
338
  // 2. if there are multiple assets fetched with same query, then check the parent uid against mapper created while importing folders
340
339
  // 3. Replace matched assets
341
340
  this.rootFolder = {
342
- uid: (0, uuid_1.v4)(),
341
+ uid: (0, cli_utilities_1.generateUid)(),
343
342
  name: `Import-${(0, utils_1.formatDate)()}`,
344
343
  parent_uid: null,
345
344
  created_at: null,
@@ -212,5 +212,5 @@
212
212
  ]
213
213
  }
214
214
  },
215
- "version": "1.32.2"
215
+ "version": "1.32.3"
216
216
  }
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@contentstack/cli-cm-import",
3
3
  "description": "Contentstack CLI plugin to import content into stack",
4
- "version": "1.32.2",
4
+ "version": "1.32.3",
5
5
  "author": "Contentstack",
6
6
  "bugs": "https://github.com/contentstack/cli/issues",
7
7
  "dependencies": {
8
- "@contentstack/cli-audit": "~1.19.2",
9
- "@contentstack/cli-command": "~1.8.1",
10
- "@contentstack/cli-utilities": "~1.18.2",
11
- "@contentstack/cli-variants": "~1.4.2",
8
+ "@contentstack/cli-audit": "~1.19.3",
9
+ "@contentstack/cli-command": "~1.8.2",
10
+ "@contentstack/cli-utilities": "~1.18.3",
11
+ "@contentstack/cli-variants": "~1.4.3",
12
12
  "@oclif/core": "^4.10.5",
13
13
  "big-json": "^3.2.0",
14
14
  "bluebird": "^3.7.2",
@@ -20,7 +20,6 @@
20
20
  "merge": "^2.1.1",
21
21
  "mkdirp": "^1.0.4",
22
22
  "promise-limit": "^2.7.0",
23
- "uuid": "^9.0.1",
24
23
  "winston": "^3.19.0"
25
24
  },
26
25
  "devDependencies": {
@@ -31,16 +30,12 @@
31
30
  "@types/mkdirp": "^1.0.2",
32
31
  "@types/mocha": "^8.2.3",
33
32
  "@types/node": "^14.18.63",
34
- "@types/rewire": "^2.5.30",
35
- "@types/tar": "^6.1.13",
36
- "@types/uuid": "^9.0.8",
37
33
  "@typescript-eslint/eslint-plugin": "^5.62.0",
38
- "eslint": "^8.57.1",
34
+ "eslint": "^9.26.0",
39
35
  "eslint-config-oclif": "^6.0.89",
40
36
  "mocha": "^10.8.2",
41
37
  "nyc": "^15.1.0",
42
38
  "oclif": "^4.17.46",
43
- "rewire": "^9.0.1",
44
39
  "ts-node": "^10.9.2",
45
40
  "typescript": "^4.9.5"
46
41
  },
@@ -94,4 +89,4 @@
94
89
  }
95
90
  },
96
91
  "repository": "https://github.com/contentstack/cli"
97
- }
92
+ }