Remove @mr-hope/last-updated dependency in favour for the built in one (#587)

This commit is contained in:
Andreas 2021-03-16 14:32:37 +01:00 committed by GitHub
parent 661f5a7b47
commit 0e57c52b82
3 changed files with 14 additions and 83 deletions

94
package-lock.json generated
View File

@ -5,10 +5,10 @@
"requires": true,
"packages": {
"": {
"name": "tachiyomi-website",
"version": "1.0.0",
"license": "MPL-2.0",
"dependencies": {
"@mr-hope/vuepress-plugin-last-update": "^1.11.0",
"@mr-hope/vuepress-plugin-sitemap": "^1.12.1",
"axios": "^0.21.1",
"core-js": "2.6.4",
@ -2281,17 +2281,6 @@
"@hapi/hoek": "^8.3.0"
}
},
"node_modules/@mr-hope/vuepress-plugin-last-update": {
"version": "1.11.0",
"resolved": "https://registry.npmjs.org/@mr-hope/vuepress-plugin-last-update/-/vuepress-plugin-last-update-1.11.0.tgz",
"integrity": "sha512-jUbeISCShDc2byaw8kRhDrhf8PRJOKINktd9+6LFq1O8mBueJNNhuGNBdD7sckjH/ZWhLsFIw0aq7QNIu1qIeg==",
"dependencies": {
"@mr-hope/vuepress-types": "1.11.0",
"@types/cross-spawn": "^6.0.2",
"cross-spawn": "^7.0.3",
"dayjs": "^1.10.4"
}
},
"node_modules/@mr-hope/vuepress-plugin-sitemap": {
"version": "1.12.1",
"resolved": "https://registry.npmjs.org/@mr-hope/vuepress-plugin-sitemap/-/vuepress-plugin-sitemap-1.12.1.tgz",
@ -2380,21 +2369,6 @@
"node": ">=8"
}
},
"node_modules/@mr-hope/vuepress-types": {
"version": "1.11.0",
"resolved": "https://registry.npmjs.org/@mr-hope/vuepress-types/-/vuepress-types-1.11.0.tgz",
"integrity": "sha512-PEg+WMmUSoqizQLg8u0zNprtufvjgyeiKasE1zHv71ZNFQrYfIic4j9Z9ZpXQiP9EZMJOOZFAoRBUfKZkm6NDQ==",
"dependencies": {
"@types/express": "^4.17.11",
"@types/markdown-it": "^12.0.1",
"@types/markdown-it-anchor": "^7.0.0",
"@types/webpack-dev-server": "^3.11.1",
"cac": "^6.7.2",
"vue": "^2.6.12",
"vue-loader": "^15.9.6",
"webpack-chain": "^6.5.1"
}
},
"node_modules/@mrmlnc/readdir-enhanced": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz",
@ -2465,14 +2439,6 @@
"@types/node": "*"
}
},
"node_modules/@types/cross-spawn": {
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/@types/cross-spawn/-/cross-spawn-6.0.2.tgz",
"integrity": "sha512-KuwNhp3eza+Rhu8IFI5HUXRP0LIhqH5cAjubUvGXXthh4YYBuP2ntwEX+Cz8GJoZUHlKo247wPWOfA9LYEq4cw==",
"dependencies": {
"@types/node": "*"
}
},
"node_modules/@types/express": {
"version": "4.17.11",
"resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.11.tgz",
@ -6013,6 +5979,7 @@
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
"integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
"dev": true,
"dependencies": {
"path-key": "^3.1.0",
"shebang-command": "^2.0.0",
@ -6323,11 +6290,6 @@
"node": ">=0.11"
}
},
"node_modules/dayjs": {
"version": "1.10.4",
"resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.10.4.tgz",
"integrity": "sha512-RI/Hh4kqRc1UKLOAf/T5zdMMX5DQIlDxwUe3wSyMMnEbGunnpENCdbUgM+dW7kXidZqCttBrmw7BhN4TMddkCw=="
},
"node_modules/de-indent": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/de-indent/-/de-indent-1.0.2.tgz",
@ -11844,6 +11806,7 @@
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
"integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
"dev": true,
"engines": {
"node": ">=8"
}
@ -13789,6 +13752,7 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
"integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
"dev": true,
"dependencies": {
"shebang-regex": "^3.0.0"
},
@ -13800,6 +13764,7 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
"integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
"dev": true,
"engines": {
"node": ">=8"
}
@ -16550,6 +16515,7 @@
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
"integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
"dev": true,
"dependencies": {
"isexe": "^2.0.0"
},
@ -19238,17 +19204,6 @@
"@hapi/hoek": "^8.3.0"
}
},
"@mr-hope/vuepress-plugin-last-update": {
"version": "1.11.0",
"resolved": "https://registry.npmjs.org/@mr-hope/vuepress-plugin-last-update/-/vuepress-plugin-last-update-1.11.0.tgz",
"integrity": "sha512-jUbeISCShDc2byaw8kRhDrhf8PRJOKINktd9+6LFq1O8mBueJNNhuGNBdD7sckjH/ZWhLsFIw0aq7QNIu1qIeg==",
"requires": {
"@mr-hope/vuepress-types": "1.11.0",
"@types/cross-spawn": "^6.0.2",
"cross-spawn": "^7.0.3",
"dayjs": "^1.10.4"
}
},
"@mr-hope/vuepress-plugin-sitemap": {
"version": "1.12.1",
"resolved": "https://registry.npmjs.org/@mr-hope/vuepress-plugin-sitemap/-/vuepress-plugin-sitemap-1.12.1.tgz",
@ -19321,21 +19276,6 @@
}
}
},
"@mr-hope/vuepress-types": {
"version": "1.11.0",
"resolved": "https://registry.npmjs.org/@mr-hope/vuepress-types/-/vuepress-types-1.11.0.tgz",
"integrity": "sha512-PEg+WMmUSoqizQLg8u0zNprtufvjgyeiKasE1zHv71ZNFQrYfIic4j9Z9ZpXQiP9EZMJOOZFAoRBUfKZkm6NDQ==",
"requires": {
"@types/express": "^4.17.11",
"@types/markdown-it": "^12.0.1",
"@types/markdown-it-anchor": "^7.0.0",
"@types/webpack-dev-server": "^3.11.1",
"cac": "^6.7.2",
"vue": "^2.6.12",
"vue-loader": "^15.9.6",
"webpack-chain": "^6.5.1"
}
},
"@mrmlnc/readdir-enhanced": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz",
@ -19394,14 +19334,6 @@
"@types/node": "*"
}
},
"@types/cross-spawn": {
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/@types/cross-spawn/-/cross-spawn-6.0.2.tgz",
"integrity": "sha512-KuwNhp3eza+Rhu8IFI5HUXRP0LIhqH5cAjubUvGXXthh4YYBuP2ntwEX+Cz8GJoZUHlKo247wPWOfA9LYEq4cw==",
"requires": {
"@types/node": "*"
}
},
"@types/express": {
"version": "4.17.11",
"resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.11.tgz",
@ -22497,6 +22429,7 @@
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
"integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
"dev": true,
"requires": {
"path-key": "^3.1.0",
"shebang-command": "^2.0.0",
@ -22745,11 +22678,6 @@
"resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.19.0.tgz",
"integrity": "sha512-X3bf2iTPgCAQp9wvjOQytnf5vO5rESYRXlPIVcgSbtT5OTScPcsf9eZU+B/YIkKAtYr5WeCii58BgATrNitlWg=="
},
"dayjs": {
"version": "1.10.4",
"resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.10.4.tgz",
"integrity": "sha512-RI/Hh4kqRc1UKLOAf/T5zdMMX5DQIlDxwUe3wSyMMnEbGunnpENCdbUgM+dW7kXidZqCttBrmw7BhN4TMddkCw=="
},
"de-indent": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/de-indent/-/de-indent-1.0.2.tgz",
@ -27228,7 +27156,8 @@
"path-key": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
"integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q=="
"integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
"dev": true
},
"path-parse": {
"version": "1.0.6",
@ -28872,6 +28801,7 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
"integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
"dev": true,
"requires": {
"shebang-regex": "^3.0.0"
}
@ -28879,7 +28809,8 @@
"shebang-regex": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
"integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A=="
"integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
"dev": true
},
"signal-exit": {
"version": "3.0.3",
@ -31206,6 +31137,7 @@
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
"integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
"dev": true,
"requires": {
"isexe": "^2.0.0"
}

View File

@ -42,7 +42,6 @@
"webpack": "^4.44.2"
},
"dependencies": {
"@mr-hope/vuepress-plugin-last-update": "^1.11.0",
"@mr-hope/vuepress-plugin-sitemap": "^1.12.1",
"axios": "^0.21.1",
"core-js": "2.6.4",

View File

@ -6,7 +6,7 @@ module.exports = [
},
],
[
"@mr-hope/vuepress-plugin-last-update",
"@vuepress/last-updated",
{
transformer: (timestamp, lang) => {
const moment = require("moment");