Browse Source

website: Update `js-yaml`

Renée Kooi 7 years ago
parent
commit
570a48463a
2 changed files with 13 additions and 19 deletions
  1. 11 16
      website/package-lock.json
  2. 2 3
      website/package.json

+ 11 - 16
website/package-lock.json

@@ -3788,7 +3788,7 @@
         "github-slugger": "1.1.1",
         "globals-docs": "2.2.0",
         "highlight.js": "9.12.0",
-        "js-yaml": "3.6.1",
+        "js-yaml": "3.10.0",
         "lodash": "4.17.4",
         "mdast-util-inject": "1.1.0",
         "micromatch": "2.3.11",
@@ -6181,7 +6181,7 @@
         "hexo-i18n": "0.2.1",
         "hexo-log": "0.1.3",
         "hexo-util": "0.6.0",
-        "js-yaml": "3.6.1",
+        "js-yaml": "3.10.0",
         "lodash": "4.17.4",
         "minimatch": "3.0.4",
         "moment": "2.13.0",
@@ -6267,7 +6267,7 @@
       "resolved": "https://registry.npmjs.org/hexo-front-matter/-/hexo-front-matter-0.2.3.tgz",
       "integrity": "sha1-x8qO9CDqNr2F6ECKLoyb9J76YF4=",
       "requires": {
-        "js-yaml": "3.6.1"
+        "js-yaml": "3.10.0"
       }
     },
     "hexo-fs": {
@@ -7342,18 +7342,18 @@
       "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls="
     },
     "js-yaml": {
-      "version": "3.6.1",
-      "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.6.1.tgz",
-      "integrity": "sha1-bl/mfYsgXOTSL60Ft3geja3MSzA=",
+      "version": "3.10.0",
+      "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.10.0.tgz",
+      "integrity": "sha512-O2v52ffjLa9VeM43J4XocZE//WT9N0IiwDa3KSHH7Tu8CtH+1qM8SIZvnsTh6v+4yFy5KUY3BHUVwjpfAWsjIA==",
       "requires": {
         "argparse": "1.0.9",
-        "esprima": "2.7.3"
+        "esprima": "4.0.0"
       },
       "dependencies": {
-        "sprintf-js": {
-          "version": "1.0.3",
-          "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
-          "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw="
+        "esprima": {
+          "version": "4.0.0",
+          "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.0.tgz",
+          "integrity": "sha512-oftTcaMu/EGrEIu904mWteKIv8vMuOgGYo7EhVJJN00R/EED9DCua/xxHRdYnKtcECzVg7xOWhflvJMnqcFZjw=="
         }
       }
     },
@@ -12617,11 +12617,6 @@
       "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
       "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM="
     },
-    "uuid": {
-      "version": "2.0.2",
-      "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.2.tgz",
-      "integrity": "sha1-SL1WmPBnfjx5AaHEbvFbFkN5RyY="
-    },
     "uws": {
       "version": "0.14.5",
       "resolved": "https://registry.npmjs.org/uws/-/uws-0.14.5.tgz",

+ 2 - 3
website/package.json

@@ -24,10 +24,9 @@
     "hexo-server": "^0.2.1",
     "hexo-tag-emojis": "^2.0.1",
     "hexo-util": "^0.6.0",
-    "js-yaml": "3.6.1",
+    "js-yaml": "^3.10.0",
     "mkdirp": "0.5.1",
-    "postcss-inline-svg": "^3.0.0",
-    "uuid": "2.0.2"
+    "postcss-inline-svg": "^3.0.0"
   },
   "devDependencies": {
     "aliasify": "^2.1.0",