Skip to content

Commit

Permalink
fix: fix node12 version data mock error
Browse files Browse the repository at this point in the history
  • Loading branch information
anncwb committed May 31, 2021
1 parent aebad61 commit 644dbe3
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 22 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
"@types/inquirer": "^7.3.1",
"@types/lodash-es": "^4.17.4",
"@types/mockjs": "^1.0.3",
"@types/node": "^15.6.1",
"@types/nprogress": "^0.2.0",
"@types/qrcode": "^1.4.0",
"@types/qs": "^6.9.6",
Expand Down Expand Up @@ -114,7 +115,7 @@
"vite-plugin-compression": "^0.2.5",
"vite-plugin-html": "^2.0.7",
"vite-plugin-imagemin": "^0.3.2",
"vite-plugin-mock": "^2.6.3",
"vite-plugin-mock": "^2.7.0-beta.1",
"vite-plugin-purge-icons": "^0.7.0",
"vite-plugin-pwa": "^0.7.3",
"vite-plugin-style-import": "^0.10.1",
Expand Down
47 changes: 26 additions & 21 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1688,6 +1688,11 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.17.1.tgz#5e07e0cb2ff793aa7a1b41deae76221e6166049f"
integrity sha512-/tpUyFD7meeooTRwl3sYlihx2BrJE7q9XF71EguPFIySj9B7qgnRtHsHTho+0AUm4m1SvWGm6uSncrR94q6Vtw==

"@types/node@^15.6.1":
version "15.6.1"
resolved "https://registry.npmjs.org/@types/node/-/node-15.6.1.tgz#32d43390d5c62c5b6ec486a9bc9c59544de39a08"
integrity sha512-7EIraBEyRHEe7CH+Fm1XvgqU6uwZN8Q7jppJGcqjROMT29qhAuuOxYB1uEY5UMYQKEmA5D+5tBnhdaPXSsLONA==

"@types/normalize-package-data@^2.4.0":
version "2.4.0"
resolved "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e"
Expand Down Expand Up @@ -2208,7 +2213,7 @@ ant-design-vue@2.1.2:

anymatch@~3.1.1:
version "3.1.2"
resolved "https://registry.npmjs.com/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716"
resolved "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716"
integrity sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==
dependencies:
normalize-path "^3.0.0"
Expand Down Expand Up @@ -2509,7 +2514,7 @@ bin-wrapper@^4.0.0, bin-wrapper@^4.0.1, "bin-wrapper@npm:bin-wrapper-china":

binary-extensions@^2.0.0:
version "2.2.0"
resolved "https://registry.npmjs.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d"
resolved "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d"
integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==

binary-mirror-config@^1:
Expand Down Expand Up @@ -2904,7 +2909,7 @@ chardet@^0.7.0:

chokidar@^3.5.1:
version "3.5.1"
resolved "https://registry.npmjs.com/chokidar/-/chokidar-3.5.1.tgz#ee9ce7bbebd2b79f49f304799d5468e31e14e68a"
resolved "https://registry.npmjs.org/chokidar/-/chokidar-3.5.1.tgz#ee9ce7bbebd2b79f49f304799d5468e31e14e68a"
integrity sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw==
dependencies:
anymatch "~3.1.1"
Expand Down Expand Up @@ -3239,7 +3244,7 @@ configstore@^4.0.0:

connect@^3.7.0:
version "3.7.0"
resolved "https://registry.npmjs.com/connect/-/connect-3.7.0.tgz#5d49348910caa5e07a01800b030d0c35f20484f8"
resolved "https://registry.npmjs.org/connect/-/connect-3.7.0.tgz#5d49348910caa5e07a01800b030d0c35f20484f8"
integrity sha512-ZqRXc+tZukToSNmh5C2iWMSoV3X1YUcPbqEM4DkEG5tNQXrQUZCNVGGv3IuicnkMtPfGf3Xtp8WCXs295iQ1pQ==
dependencies:
debug "2.6.9"
Expand Down Expand Up @@ -4065,7 +4070,7 @@ ecstatic@^3.3.2:

ee-first@1.1.1:
version "1.1.1"
resolved "https://registry.npmjs.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"
resolved "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"
integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=

ejs@^2.6.1:
Expand Down Expand Up @@ -4115,7 +4120,7 @@ emojis-list@^3.0.0:

encodeurl@~1.0.2:
version "1.0.2"
resolved "https://registry.npmjs.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59"
resolved "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59"
integrity sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=

end-of-stream@^1.0.0, end-of-stream@^1.1.0:
Expand Down Expand Up @@ -4207,7 +4212,7 @@ esbuild-register@^2.5.0:

esbuild@0.11.3:
version "0.11.3"
resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.11.3.tgz#b57165b907be4ffba651f6450538ce8d8c1d5eb0"
resolved "https://registry.npmjs.org/esbuild/-/esbuild-0.11.3.tgz#b57165b907be4ffba651f6450538ce8d8c1d5eb0"
integrity sha512-BzVRHcCtFepjS9WcqRjqoIxLqgpK21a8J4Zi4msSGxDxiXVO1IbcqT1KjhdDDnJxKfe7bvzZrvMEX+bVO0Elcw==

esbuild@^0.11.20:
Expand Down Expand Up @@ -4237,7 +4242,7 @@ escalade@^3.1.1:

escape-html@~1.0.3:
version "1.0.3"
resolved "https://registry.npmjs.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988"
resolved "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988"
integrity sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=

escape-string-regexp@1.0.5, escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5:
Expand Down Expand Up @@ -4764,7 +4769,7 @@ fill-range@^7.0.1:

finalhandler@1.1.2:
version "1.1.2"
resolved "https://registry.npmjs.com/finalhandler/-/finalhandler-1.1.2.tgz#b7e7d000ffd11938d0fdb053506f6ebabe9f587d"
resolved "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz#b7e7d000ffd11938d0fdb053506f6ebabe9f587d"
integrity sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==
dependencies:
debug "2.6.9"
Expand Down Expand Up @@ -5870,7 +5875,7 @@ is-bigint@^1.0.1:

is-binary-path@~2.1.0:
version "2.1.0"
resolved "https://registry.npmjs.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09"
resolved "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09"
integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==
dependencies:
binary-extensions "^2.0.0"
Expand Down Expand Up @@ -7454,7 +7459,7 @@ omit.js@^2.0.0:

on-finished@~2.3.0:
version "2.3.0"
resolved "https://registry.npmjs.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947"
resolved "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947"
integrity sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=
dependencies:
ee-first "1.1.1"
Expand Down Expand Up @@ -7768,7 +7773,7 @@ parse-passwd@^1.0.0:

parseurl@~1.3.3:
version "1.3.3"
resolved "https://registry.npmjs.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4"
resolved "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4"
integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==

pascal-case@^3.1.2:
Expand Down Expand Up @@ -7867,7 +7872,7 @@ pend@~1.2.0:

picomatch@^2.0.4:
version "2.3.0"
resolved "https://registry.npmjs.com/picomatch/-/picomatch-2.3.0.tgz#f1f061de8f6a4bf022892e2d128234fb98302972"
resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz#f1f061de8f6a4bf022892e2d128234fb98302972"
integrity sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==

picomatch@^2.2.1, picomatch@^2.2.2:
Expand Down Expand Up @@ -8538,7 +8543,7 @@ readable-stream@^2.0.0, readable-stream@^2.2.2, readable-stream@^2.3.0, readable

readdirp@~3.5.0:
version "3.5.0"
resolved "https://registry.npmjs.com/readdirp/-/readdirp-3.5.0.tgz#9ba74c019b15d365278d2e91bb8c48d7b4d42c9e"
resolved "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz#9ba74c019b15d365278d2e91bb8c48d7b4d42c9e"
integrity sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==
dependencies:
picomatch "^2.2.1"
Expand Down Expand Up @@ -9293,7 +9298,7 @@ static-extend@^0.1.1:

statuses@~1.5.0:
version "1.5.0"
resolved "https://registry.npmjs.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c"
resolved "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c"
integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=

strict-uri-encode@^1.0.0:
Expand Down Expand Up @@ -10279,7 +10284,7 @@ universalify@^2.0.0:

unpipe@~1.0.0:
version "1.0.0"
resolved "https://registry.npmjs.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec"
resolved "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec"
integrity sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=

unquote@~1.1.1:
Expand Down Expand Up @@ -10402,7 +10407,7 @@ util.promisify@~1.0.0:

utils-merge@1.0.1:
version "1.0.1"
resolved "https://registry.npmjs.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713"
resolved "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713"
integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=

uuid@^3.0.1, uuid@^3.3.2:
Expand Down Expand Up @@ -10553,10 +10558,10 @@ vite-plugin-imagemin@^0.3.2:
imagemin-svgo "^8.0.0"
imagemin-webp "^6.0.0"

vite-plugin-mock@^2.6.3:
version "2.6.3"
resolved "https://registry.yarnpkg.com/vite-plugin-mock/-/vite-plugin-mock-2.6.3.tgz#bef1b39727e8a52e20238f5df845419aa941efec"
integrity sha512-W7jMW2RuAb7l9SWJOeoxrC8Td4gTHzHsHlozgHkPhVyJEDQZZxhOOliMNyHvsHoem4cw8PDBk7dtlPUEIiDarQ==
vite-plugin-mock@^2.7.0-beta.1:
version "2.7.0-beta.1"
resolved "https://registry.npmjs.org/vite-plugin-mock/-/vite-plugin-mock-2.7.0-beta.1.tgz#6a6b18d6a94e586199de24ea98eba89207feef9f"
integrity sha512-dRt9/pg0iXhybX2BBlxcSOAWmlgcwYQPqeVFPyopDVOIZwpXt2Ps4PbO8wHPQe6l4nKbjbcj0CsXCw1py6xugw==
dependencies:
"@rollup/plugin-node-resolve" "^11.2.1"
"@types/mockjs" "^1.0.3"
Expand Down

0 comments on commit 644dbe3

Please sign in to comment.