build(deps): bump uuid from 3.4.0 to 7.0.1 in /site

Bumps [uuid](https://github.com/uuidjs/uuid) from 3.4.0 to 7.0.1.
- [Release notes](https://github.com/uuidjs/uuid/releases)
- [Changelog](https://github.com/uuidjs/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v3.4.0...v7.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
This commit is contained in:
dependabot-preview[bot] 2020-02-27 00:15:37 +00:00 committed by Michael Bradley
parent 719faeebdd
commit 6b2616ebbf
3 changed files with 9 additions and 4 deletions

View File

@ -23,7 +23,7 @@
"hexo-server": "^1.0.0",
"lodash": "^4.17.13",
"lunr": "^2.3.8",
"uuid": "^3.4.0"
"uuid": "^7.0.1"
},
"devDependencies": {
"del": "^5.1.0",

View File

@ -1,12 +1,12 @@
const nunjucks = require('nunjucks');
const path = require('path');
const uuidv1 = require('uuid/v1');
const { v1: uuidv1 } = require('uuid');
hexo.extend.tag.register('code_block', (args, content) => {
return new Promise((resolve, reject) => {
let context = {}
args.forEach(arg => {
let [key, value] = arg.split(':');
context[key] = value;

View File

@ -6066,11 +6066,16 @@ utils-merge@1.0.1:
resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713"
integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=
uuid@^3.3.2, uuid@^3.4.0:
uuid@^3.3.2:
version "3.4.0"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee"
integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==
uuid@^7.0.1:
version "7.0.1"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-7.0.1.tgz#95ed6ff3d8c881cbf85f0f05cc3915ef994818ef"
integrity sha512-yqjRXZzSJm9Dbl84H2VDHpM3zMjzSJQ+hn6C4zqd5ilW+7P4ZmLEEqwho9LjP+tGuZlF4xrHQXT0h9QZUS/pWA==
v8-compile-cache@^2.0.3:
version "2.1.0"
resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz#e14de37b31a6d194f5690d67efc4e7f6fc6ab30e"