adminforth 2.17.0-next.46 → 2.17.0-next.48

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.
@@ -21,7 +21,6 @@
21
21
  "pinia": "^2.1.7",
22
22
  "sanitize-html": "^2.13.0",
23
23
  "unhead": "^1.9.12",
24
- "uuid": "^10.0.0",
25
24
  "vue": "^3.5.12",
26
25
  "vue-diff": "^1.2.4",
27
26
  "vue-i18n": "^10.0.5",
@@ -4633,18 +4632,6 @@
4633
4632
  "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
4634
4633
  "dev": true
4635
4634
  },
4636
- "node_modules/uuid": {
4637
- "version": "10.0.0",
4638
- "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz",
4639
- "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==",
4640
- "funding": [
4641
- "https://github.com/sponsors/broofa",
4642
- "https://github.com/sponsors/ctavan"
4643
- ],
4644
- "bin": {
4645
- "uuid": "dist/bin/uuid"
4646
- }
4647
- },
4648
4635
  "node_modules/vite": {
4649
4636
  "version": "5.2.13",
4650
4637
  "resolved": "https://registry.npmjs.org/vite/-/vite-5.2.13.tgz",
@@ -26,7 +26,6 @@
26
26
  "pinia": "^2.1.7",
27
27
  "sanitize-html": "^2.13.0",
28
28
  "unhead": "^1.9.12",
29
- "uuid": "^10.0.0",
30
29
  "vue": "^3.5.12",
31
30
  "vue-diff": "^1.2.4",
32
31
  "vue-i18n": "^10.0.5",
@@ -1,6 +1,6 @@
1
1
  import { ref, watch, type Ref } from 'vue'
2
2
  import { defineStore } from 'pinia'
3
- import { v1 as uuid } from 'uuid';
3
+ import { randomUUID } from 'crypto';
4
4
  import { useRoute } from 'vue-router';
5
5
 
6
6
 
@@ -23,7 +23,7 @@ export const useToastStore = defineStore('toast', () => {
23
23
  buttons?: { value: any; label: string }[];
24
24
  onResolve?: (value?: any) => void;
25
25
  }): string => {
26
- const toastId = uuid();
26
+ const toastId = randomUUID();
27
27
  toasts.value.push({
28
28
  ...toast,
29
29
  id: toastId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "2.17.0-next.46",
3
+ "version": "2.17.0-next.48",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",