Feature: Migrate to Typescript7 & AdonisJs7

This commit is contained in:
Igor Martyniuk
2026-07-17 08:05:15 +00:00
parent e98a1e85f0
commit bbdf4a3312
22 changed files with 3182 additions and 2324 deletions
@@ -1,4 +1,4 @@
import { cuid } from '@adonisjs/core/helpers'
import { randomUUID } from 'node:crypto'
import { posix } from 'node:path'
export interface FileNameMeta {
@@ -74,7 +74,7 @@ export default class PathService {
counter++
if (counter > 5) {
newName = `${cuid()}${ext}`
newName = `${randomUUID()}${ext}`
break
}
}