chore(deps): bump uuid from 11.1.0 to 12.0.0 (#20003)

* chore(deps): bump uuid from 11.1.0 to 12.0.0

Bumps [uuid](https://github.com/uuidjs/uuid) from 11.1.0 to 12.0.0.
- [Release notes](https://github.com/uuidjs/uuid/releases)
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v11.1.0...v12.0.0)

---
updated-dependencies:
- dependency-name: uuid
  dependency-version: 12.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(util): replace uuid import with crypto.randomUUID for UUID generation

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2025-09-08 21:30:21 +08:00 committed by GitHub
parent 20571c1479
commit ad1bfc539c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 7 deletions

View File

@ -1,7 +1,6 @@
import crypto from 'node:crypto';
import { Buffer } from 'node:buffer';
import ofetch from '@/utils/ofetch';
import { v4 as uuidv4 } from 'uuid';
import { SearchResponse, ItemDetail, ShopItemDetail } from './types';
import { parseDate } from '@/utils/parse-date';
import { art } from '@/utils/render';
@ -14,6 +13,7 @@ const rootShopProductURL = 'https://jp.mercari.com/shops/product/';
const searchURL = `${rootURL}v2/entities:search`;
const itemInfoURL = `${rootURL}items/get`;
const shopItemInfoURL = `${rootURL}v1/marketplaces/shops/products/`;
const uuidv4 = () => crypto.randomUUID();
const MercariStatus = {
default: '',

View File

@ -131,7 +131,7 @@
"twitter-api-v2": "1.27.0",
"ufo": "1.6.1",
"undici": "6.21.3",
"uuid": "11.1.0",
"uuid": "12.0.0",
"winston": "3.17.0",
"xxhash-wasm": "1.1.0",
"youtube-caption-extractor": "1.9.1",

View File

@ -276,8 +276,8 @@ importers:
specifier: 6.21.3
version: 6.21.3
uuid:
specifier: 11.1.0
version: 11.1.0
specifier: 12.0.0
version: 12.0.0
winston:
specifier: 3.17.0
version: 3.17.0
@ -5887,8 +5887,8 @@ packages:
resolution: {integrity: sha512-6Z7Ma2aVEWisaL6TvBCy7P8rm2LQoPv6dJ7ecIaIixHcwfbJ0x7mWdbcwlIM5IGQxPZSFYeqRCqlOOeKoJYMkw==}
engines: {node: '>= 4'}
uuid@11.1.0:
resolution: {integrity: sha512-0/A9rDy9P7cJ+8w1c9WD9V//9Wj15Ce2MPz8Ri6032usz+NfePxx5AcN3bN+r6ZL6jEo066/yNYB3tn4pQEx+A==}
uuid@12.0.0:
resolution: {integrity: sha512-USe1zesMYh4fjCA8ZH5+X5WIVD0J4V1Jksm1bFTVBX2F/cwSXt0RO5w/3UXbdLKmZX65MiWV+hwhSS8p6oBTGA==}
hasBin: true
uuid@3.4.0:
@ -12113,7 +12113,7 @@ snapshots:
utility-types@3.11.0: {}
uuid@11.1.0: {}
uuid@12.0.0: {}
uuid@3.4.0: {}