drapcode-utility 2.5.3 → 2.5.4

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.
@@ -232,7 +232,7 @@ const removeFile = (filePath) => {
232
232
  const removeFolder = (folderPath) => {
233
233
  try {
234
234
  if ((0, fs_1.existsSync)(folderPath)) {
235
- (0, fs_1.rmdirSync)(folderPath, { recursive: true });
235
+ (0, fs_1.rmSync)(folderPath, { recursive: true });
236
236
  }
237
237
  }
238
238
  catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drapcode-utility",
3
- "version": "2.5.3",
3
+ "version": "2.5.4",
4
4
  "description": "DrapCode Utility",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -42,9 +42,9 @@
42
42
  "axios": "^1.1.2",
43
43
  "date-fns": "^4.1.0",
44
44
  "dompurify": "^3.1.7",
45
- "drapcode-constant": "^2.0.3",
45
+ "drapcode-constant": "^2.0.4",
46
46
  "drapcode-logger": "^1.3.5",
47
- "drapcode-redis": "^1.5.0",
47
+ "drapcode-redis": "^1.5.1",
48
48
  "exiftool-vendored": "^28.2.1",
49
49
  "express": "^4.17.1",
50
50
  "gm": "^1.25.0",