更新代码

This commit is contained in:
duan
2024-09-10 16:51:39 +08:00
parent 4a6de0a22b
commit 842a5ce7ab
15 changed files with 1036 additions and 500 deletions

161
node_modules/ajv/package.json generated vendored
View File

@@ -1,68 +1,51 @@
{
"name": "ajv",
"version": "8.16.0",
"description": "Another JSON Schema Validator",
"main": "dist/ajv.js",
"types": "dist/ajv.d.ts",
"files": [
"lib/",
"dist/",
".runkit_example.js"
],
"scripts": {
"eslint": "eslint \"lib/**/*.ts\" \"spec/**/*.*s\" --ignore-pattern spec/JSON-Schema-Test-Suite",
"prettier:write": "prettier --write \"./**/*.{json,yaml,js,ts}\"",
"prettier:check": "prettier --list-different \"./**/*.{json,yaml,js,ts}\"",
"test-spec": "cross-env TS_NODE_PROJECT=spec/tsconfig.json mocha -r ts-node/register \"spec/**/*.spec.{ts,js}\" -R dot",
"test-codegen": "nyc cross-env TS_NODE_PROJECT=spec/tsconfig.json mocha -r ts-node/register 'spec/codegen.spec.ts' -R spec",
"test-debug": "npm run test-spec -- --inspect-brk",
"test-cov": "nyc npm run test-spec",
"rollup": "rm -rf bundle && rollup -c",
"bundle": "rm -rf bundle && node ./scripts/bundle.js ajv ajv7 ajv7 && node ./scripts/bundle.js 2019 ajv2019 ajv2019 && node ./scripts/bundle.js 2020 ajv2020 ajv2020 && node ./scripts/bundle.js jtd ajvJTD ajvJTD",
"build": "rm -rf dist && tsc && cp -r lib/refs dist && rm dist/refs/json-schema-2019-09/index.ts && rm dist/refs/json-schema-2020-12/index.ts && rm dist/refs/jtd-schema.ts",
"json-tests": "rm -rf spec/_json/*.js && node scripts/jsontests",
"test-karma": "karma start",
"test-browser": "rm -rf .browser && npm run bundle && scripts/prepare-tests && karma start",
"test-all": "npm run test-cov && if-node-version 12 npm run test-browser",
"test": "npm run json-tests && npm run prettier:check && npm run eslint && npm link && npm link --legacy-peer-deps ajv && npm run test-cov",
"test-ci": "AJV_FULL_TEST=true npm test",
"prepublish": "npm run build",
"benchmark": "npm i && npm run build && npm link && cd ./benchmark && npm link --legacy-peer-deps ajv && npm i && node ./jtd",
"docs:dev": "./scripts/prepare-site && vuepress dev docs",
"docs:build": "./scripts/prepare-site && vuepress build docs"
},
"nyc": {
"exclude": [
"**/spec/**",
"node_modules"
],
"reporter": [
"lcov",
"text-summary"
"_args": [
[
"ajv@8.16.0",
"C:\\Users\\asus\\Desktop\\cashier_admin_app"
]
},
"repository": "ajv-validator/ajv",
"keywords": [
"JSON",
"schema",
"validator",
"validation",
"jsonschema",
"json-schema",
"json-schema-validator",
"json-schema-validation"
],
"author": "Evgeny Poberezkin",
"license": "MIT",
"bugs": "https://github.com/ajv-validator/ajv/issues",
"homepage": "https://ajv.js.org",
"runkitExampleFilename": ".runkit_example.js",
"_development": true,
"_from": "ajv@8.16.0",
"_id": "ajv@8.16.0",
"_inBundle": false,
"_integrity": "sha512-F0twR8U1ZU67JIEtekUcLkXkoO5mMMmgGD8sK/xUFzJ805jxHQl92hImFAqqXMyMYjSPOyUPAwHYhB72g5sTXw==",
"_location": "/ajv",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "ajv@8.16.0",
"name": "ajv",
"escapedName": "ajv",
"rawSpec": "8.16.0",
"saveSpec": null,
"fetchSpec": "8.16.0"
},
"_requiredBy": [
"/ajv-formats",
"/schema-utils"
],
"_resolved": "https://registry.npmmirror.com/ajv/-/ajv-8.16.0.tgz",
"_spec": "8.16.0",
"_where": "C:\\Users\\asus\\Desktop\\cashier_admin_app",
"author": {
"name": "Evgeny Poberezkin"
},
"bugs": {
"url": "https://github.com/ajv-validator/ajv/issues"
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/ajv"
},
"dependencies": {
"fast-deep-equal": "^3.1.3",
"json-schema-traverse": "^1.0.0",
"require-from-string": "^2.0.2",
"uri-js": "^4.4.1"
},
"description": "Another JSON Schema Validator",
"devDependencies": {
"@ajv-validator/config": "^0.5.0",
"@rollup/plugin-commonjs": "^25.0.7",
@@ -106,21 +89,75 @@
"tsify": "^5.0.4",
"typescript": "5.3.3"
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/ajv"
},
"files": [
"lib/",
"dist/",
".runkit_example.js"
],
"funding": {
"type": "github",
"url": "https://github.com/sponsors/epoberezkin"
},
"prettier": "@ajv-validator/config/prettierrc.json",
"homepage": "https://ajv.js.org",
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm test"
}
},
"keywords": [
"JSON",
"schema",
"validator",
"validation",
"jsonschema",
"json-schema",
"json-schema-validator",
"json-schema-validation"
],
"license": "MIT",
"lint-staged": {
"*.{json,yaml,js,ts}": "prettier --write"
}
},
"main": "dist/ajv.js",
"name": "ajv",
"nyc": {
"exclude": [
"**/spec/**",
"node_modules"
],
"reporter": [
"lcov",
"text-summary"
]
},
"prettier": "@ajv-validator/config/prettierrc.json",
"repository": {
"type": "git",
"url": "git+https://github.com/ajv-validator/ajv.git"
},
"runkitExampleFilename": ".runkit_example.js",
"scripts": {
"benchmark": "npm i && npm run build && npm link && cd ./benchmark && npm link --legacy-peer-deps ajv && npm i && node ./jtd",
"build": "rm -rf dist && tsc && cp -r lib/refs dist && rm dist/refs/json-schema-2019-09/index.ts && rm dist/refs/json-schema-2020-12/index.ts && rm dist/refs/jtd-schema.ts",
"bundle": "rm -rf bundle && node ./scripts/bundle.js ajv ajv7 ajv7 && node ./scripts/bundle.js 2019 ajv2019 ajv2019 && node ./scripts/bundle.js 2020 ajv2020 ajv2020 && node ./scripts/bundle.js jtd ajvJTD ajvJTD",
"docs:build": "./scripts/prepare-site && vuepress build docs",
"docs:dev": "./scripts/prepare-site && vuepress dev docs",
"eslint": "eslint \"lib/**/*.ts\" \"spec/**/*.*s\" --ignore-pattern spec/JSON-Schema-Test-Suite",
"json-tests": "rm -rf spec/_json/*.js && node scripts/jsontests",
"prepublish": "npm run build",
"prettier:check": "prettier --list-different \"./**/*.{json,yaml,js,ts}\"",
"prettier:write": "prettier --write \"./**/*.{json,yaml,js,ts}\"",
"rollup": "rm -rf bundle && rollup -c",
"test": "npm run json-tests && npm run prettier:check && npm run eslint && npm link && npm link --legacy-peer-deps ajv && npm run test-cov",
"test-all": "npm run test-cov && if-node-version 12 npm run test-browser",
"test-browser": "rm -rf .browser && npm run bundle && scripts/prepare-tests && karma start",
"test-ci": "AJV_FULL_TEST=true npm test",
"test-codegen": "nyc cross-env TS_NODE_PROJECT=spec/tsconfig.json mocha -r ts-node/register 'spec/codegen.spec.ts' -R spec",
"test-cov": "nyc npm run test-spec",
"test-debug": "npm run test-spec -- --inspect-brk",
"test-karma": "karma start",
"test-spec": "cross-env TS_NODE_PROJECT=spec/tsconfig.json mocha -r ts-node/register \"spec/**/*.spec.{ts,js}\" -R dot"
},
"types": "dist/ajv.d.ts",
"version": "8.16.0"
}