feat: update AJV version and add reference link in precompile script

This commit is contained in:
twwu 2025-03-27 11:05:07 +08:00
parent 9f7fd193ff
commit e5e9ab0adb
3 changed files with 7 additions and 0 deletions

View File

@ -13,6 +13,9 @@ const moduleCode = standaloneCode(ajv, {
validateDraft07: 'http://json-schema.org/draft-07/schema#',
})
/**
* @see {@link https://github.com/ajv-validator/ajv/issues/2209}
*/
const preamble = [
'"use strict";',
].join('')

View File

@ -56,6 +56,7 @@
"@tanstack/react-query": "^5.60.5",
"@tanstack/react-query-devtools": "^5.60.5",
"ahooks": "^3.8.4",
"ajv": "^8.17.1",
"class-variance-authority": "^0.7.0",
"classnames": "^2.5.1",
"copy-to-clipboard": "^3.3.3",

3
web/pnpm-lock.yaml generated
View File

@ -103,6 +103,9 @@ importers:
ahooks:
specifier: ^3.8.4
version: 3.8.4(react@19.0.0)
ajv:
specifier: ^8.17.1
version: 8.17.1
class-variance-authority:
specifier: ^0.7.0
version: 0.7.0