diff --git a/blog-node/package-lock.json b/blog-node/package-lock.json index 956fc24..c4c5fee 100644 --- a/blog-node/package-lock.json +++ b/blog-node/package-lock.json @@ -28,14 +28,6 @@ "resolved": "http://registry.npm.taobao.org/array-flatten/download/array-flatten-1.1.1.tgz", "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" }, - "async": { - "version": "2.6.1", - "resolved": "http://registry.npm.taobao.org/async/download/async-2.6.1.tgz", - "integrity": "sha1-skWiPKcZMAROxT+kaqAKPofGphA=", - "requires": { - "lodash": "4.17.11" - } - }, "babel-code-frame": { "version": "6.26.0", "resolved": "http://registry.npm.taobao.org/babel-code-frame/download/babel-code-frame-6.26.0.tgz", @@ -618,8 +610,8 @@ }, "bluebird": { "version": "3.5.1", - "resolved": "http://registry.npm.taobao.org/bluebird/download/bluebird-3.5.1.tgz", - "integrity": "sha1-2VUfnemPH82h5oPRfukaBgLuLrk=" + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.1.tgz", + "integrity": "sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA==" }, "body-parser": { "version": "1.18.3", @@ -657,9 +649,9 @@ } }, "bson": { - "version": "1.0.9", - "resolved": "http://registry.npm.taobao.org/bson/download/bson-1.0.9.tgz", - "integrity": "sha1-EjGfgyOxJUc5t8a++NPomuBaL1c=" + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/bson/-/bson-1.1.1.tgz", + "integrity": "sha512-jCGVYLoYMHDkOsbwJZBCqwMHyH4c+wzgI9hG7Z6SZJRXWr+x58pdIbm2i9a/jFGCkRJqRUr8eoI7lDWa0hTkxg==" }, "bytes": { "version": "3.0.0", @@ -1163,9 +1155,9 @@ "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=" }, "kareem": { - "version": "2.3.0", - "resolved": "http://registry.npm.taobao.org/kareem/download/kareem-2.3.0.tgz", - "integrity": "sha1-7zPELpAk3OUR7q9EDNaE868fx2k=" + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/kareem/-/kareem-2.3.1.tgz", + "integrity": "sha512-l3hLhffs9zqoDe8zjmb/mAN4B8VT3L56EUvKNqLFVs9YlFA+zx7ke1DO8STAdDyYNkeSo1nKmjuvQeI12So8Xw==" }, "lcid": { "version": "2.0.0", @@ -1189,11 +1181,6 @@ "resolved": "http://registry.npm.taobao.org/lodash/download/lodash-4.17.11.tgz", "integrity": "sha1-s56mIp72B+zYniyN8SU2iRysm40=" }, - "lodash.get": { - "version": "4.4.2", - "resolved": "http://registry.npm.taobao.org/lodash.get/download/lodash.get-4.4.2.tgz", - "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=" - }, "loose-envify": { "version": "1.4.0", "resolved": "http://registry.npm.taobao.org/loose-envify/download/loose-envify-1.4.0.tgz", @@ -1312,52 +1299,38 @@ } } }, - "mongodb-core": { - "version": "3.1.5", - "resolved": "http://registry.npm.taobao.org/mongodb-core/download/mongodb-core-3.1.5.tgz", - "integrity": "sha1-Wcpn1/bOpXDVQ3Ykp6/sjXUtR3o=", - "requires": { - "bson": "1.1.0", - "require_optional": "1.0.1", - "safe-buffer": "5.1.2", - "saslprep": "1.0.2" - }, - "dependencies": { - "bson": { - "version": "1.1.0", - "resolved": "http://registry.npm.taobao.org/bson/download/bson-1.1.0.tgz", - "integrity": "sha1-vuV9H7aodxNHGvTjK8rjbegUtbA=" - } - } - }, "mongoose": { - "version": "5.3.7", - "resolved": "http://registry.npm.taobao.org/mongoose/download/mongoose-5.3.7.tgz", - "integrity": "sha1-yVkG0Dh587eOw0sxxFPaoY887eU=", - "requires": { - "async": "2.6.1", - "bson": "1.0.9", - "kareem": "2.3.0", - "lodash.get": "4.4.2", - "mongodb": "3.1.6", - "mongodb-core": "3.1.5", + "version": "5.7.5", + "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.7.5.tgz", + "integrity": "sha512-BZ4FxtnbTurc/wcm/hLltLdI4IDxo4nsE0D9q58YymTdZwreNzwO62CcjVtaHhmr8HmJtOInp2W/T12FZaMf8g==", + "requires": { + "bson": "~1.1.1", + "kareem": "2.3.1", + "mongodb": "3.3.2", "mongoose-legacy-pluralize": "1.0.2", - "mpath": "0.5.1", - "mquery": "3.2.0", - "ms": "2.0.0", - "regexp-clone": "0.0.1", + "mpath": "0.6.0", + "mquery": "3.2.2", + "ms": "2.1.2", + "regexp-clone": "1.0.0", "safe-buffer": "5.1.2", + "sift": "7.0.1", "sliced": "1.0.1" }, "dependencies": { "mongodb": { - "version": "3.1.6", - "resolved": "http://registry.npm.taobao.org/mongodb/download/mongodb-3.1.6.tgz", - "integrity": "sha1-YFRkGXO1v1ta4cZ9y8+PqIKAJz0=", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.3.2.tgz", + "integrity": "sha512-fqJt3iywelk4yKu/lfwQg163Bjpo5zDKhXiohycvon4iQHbrfflSAz9AIlRE6496Pm/dQKQK5bMigdVo2s6gBg==", "requires": { - "mongodb-core": "3.1.5", - "safe-buffer": "5.1.2" + "bson": "^1.1.1", + "require_optional": "^1.0.1", + "safe-buffer": "^5.1.2" } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" } } }, @@ -1371,8 +1344,8 @@ }, "mongoose-legacy-pluralize": { "version": "1.0.2", - "resolved": "http://registry.npm.taobao.org/mongoose-legacy-pluralize/download/mongoose-legacy-pluralize-1.0.2.tgz", - "integrity": "sha1-O6n5H6UHtRhtOZ+0CFS/8Y+1Y+Q=" + "resolved": "https://registry.npmjs.org/mongoose-legacy-pluralize/-/mongoose-legacy-pluralize-1.0.2.tgz", + "integrity": "sha512-Yo/7qQU4/EyIS8YDFSeenIvXxZN+ld7YdV9LqFVQJzTLye8unujAWPZ4NWKfFA+RNjh+wvTWKY9Z3E5XM6ZZiQ==" }, "morgan": { "version": "1.9.1", @@ -1387,26 +1360,26 @@ } }, "mpath": { - "version": "0.5.1", - "resolved": "http://registry.npm.taobao.org/mpath/download/mpath-0.5.1.tgz", - "integrity": "sha1-FxMVAfH/nm5PvI/6h1qnBltXdas=" + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/mpath/-/mpath-0.6.0.tgz", + "integrity": "sha512-i75qh79MJ5Xo/sbhxrDrPSEG0H/mr1kcZXJ8dH6URU5jD/knFxCVqVC/gVSW7GIXL/9hHWlT9haLbCXWOll3qw==" }, "mquery": { - "version": "3.2.0", - "resolved": "http://registry.npm.taobao.org/mquery/download/mquery-3.2.0.tgz", - "integrity": "sha1-4nZHKr1RCWhqFesqjgdh24E8gcw=", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/mquery/-/mquery-3.2.2.tgz", + "integrity": "sha512-XB52992COp0KP230I3qloVUbkLUxJIu328HBP2t2EsxSFtf4W1HPSOBWOXf1bqxK4Xbb66lfMJ+Bpfd9/yZE1Q==", "requires": { "bluebird": "3.5.1", "debug": "3.1.0", - "regexp-clone": "0.0.1", + "regexp-clone": "^1.0.0", "safe-buffer": "5.1.2", "sliced": "1.0.1" }, "dependencies": { "debug": { "version": "3.1.0", - "resolved": "http://registry.npm.taobao.org/debug/download/debug-3.1.0.tgz", - "integrity": "sha1-W7WgZyYotkFJVmuhaBnmFRjGcmE=", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", "requires": { "ms": "2.0.0" } @@ -1601,9 +1574,9 @@ } }, "regexp-clone": { - "version": "0.0.1", - "resolved": "http://registry.npm.taobao.org/regexp-clone/download/regexp-clone-0.0.1.tgz", - "integrity": "sha1-p8LgmJH9vzj7sQ03b7cwA+aKxYk=" + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/regexp-clone/-/regexp-clone-1.0.0.tgz", + "integrity": "sha512-TuAasHQNamyyJ2hb97IuBEif4qBHGjPHBS64sZwytpLEqtBQ1gPJTnOaQ6qmpET16cK14kkjbazl6+p0RRv0yw==" }, "regexpu-core": { "version": "2.0.0", @@ -1738,6 +1711,11 @@ "resolved": "http://registry.npm.taobao.org/shebang-regex/download/shebang-regex-1.0.0.tgz", "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=" }, + "sift": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/sift/-/sift-7.0.1.tgz", + "integrity": "sha512-oqD7PMJ+uO6jV9EQCl0LrRw1OwsiPsiFQR5AR30heR+4Dl7jBBbDLnNvWiak20tzZlSE1H7RB30SX/1j/YYT7g==" + }, "signal-exit": { "version": "3.0.2", "resolved": "http://registry.npm.taobao.org/signal-exit/download/signal-exit-3.0.2.tgz", @@ -1750,7 +1728,7 @@ }, "sliced": { "version": "1.0.1", - "resolved": "http://registry.npm.taobao.org/sliced/download/sliced-1.0.1.tgz", + "resolved": "https://registry.npmjs.org/sliced/-/sliced-1.0.1.tgz", "integrity": "sha1-CzpmK10Ewxd7GSa+qCsD+Dei70E=" }, "source-map": { diff --git a/blog-node/package.json b/blog-node/package.json index 8c23467..714869e 100644 --- a/blog-node/package.json +++ b/blog-node/package.json @@ -17,7 +17,7 @@ "express-session": "^1.15.6", "http-errors": "~1.6.2", "mongodb": "^3.1.8", - "mongoose": "^5.3.7", + "mongoose": "^5.7.5", "mongoose-auto-increment": "^5.0.1", "morgan": "~1.9.0", "node-fetch": "^2.3.0",