0
0

Added markdown-it-anchor

This commit is contained in:
Opnxng 2023-12-16 12:20:33 +08:00
parent a0c39b47bb
commit fdaa2b6230
5 changed files with 331 additions and 192 deletions

View File

@ -3,6 +3,7 @@ const CleanCSS = require("clean-css");
const htmlmin = require("html-minifier");
const markdownIt = require("markdown-it");
const markdownItAttrs = require("markdown-it-attrs");
const markdownItAnchor = require("markdown-it-anchor");
module.exports = function(eleventyConfig) {
@ -14,7 +15,13 @@ module.exports = function(eleventyConfig) {
linkify: true,
};
const markdownItAnchorOptions = {
level: 2, // minimum level header -- anchors will only be applied to h2 level headers and below but not h1
permalink: true,
}
const markdownLib = markdownIt(mdOptions)
.use(markdownItAnchor,markdownItAnchorOptions)
.use(markdownItAttrs)
.use(require('markdown-it-bracketed-spans'))
.disable("code");

View File

@ -23,7 +23,8 @@ docker run --rm --name=npm -u 1000 -v /path/to/website:/app -w /app node:lts-sli
html-minifier \
clean-css \
markdown-it-attrs \
markdown-it-bracketed-spans
markdown-it-bracketed-spans \
markdown-it-anchor
```
```
# Generate website

487
package-lock.json generated
View File

@ -6,12 +6,13 @@
"": {
"dependencies": {
"@11ty/eleventy": "^2.0.1",
"clean-css": "^5.3.2",
"clean-css": "^5.3.3",
"html-minifier": "^4.0.0",
"luxon": "^2.3.0",
"markdown-it-attrs": "^4.1.4",
"luxon": "^2.5.2",
"markdown-it-anchor": "^8.6.7",
"markdown-it-attrs": "^4.1.6",
"markdown-it-bracketed-spans": "^1.0.1",
"npm": "^10.2.3"
"npm": "^10.2.5"
}
},
"node_modules/@11ty/dependency-tree": {
@ -252,6 +253,28 @@
"node": ">=8"
}
},
"node_modules/@types/linkify-it": {
"version": "3.0.5",
"resolved": "https://registry.npmjs.org/@types/linkify-it/-/linkify-it-3.0.5.tgz",
"integrity": "sha512-yg6E+u0/+Zjva+buc3EIb+29XEg4wltq7cSmd4Uc2EE/1nUVmxyzpX6gUXD0V8jIrG0r7YeOGVIbYRkxeooCtw==",
"peer": true
},
"node_modules/@types/markdown-it": {
"version": "13.0.7",
"resolved": "https://registry.npmjs.org/@types/markdown-it/-/markdown-it-13.0.7.tgz",
"integrity": "sha512-U/CBi2YUUcTHBt5tjO2r5QV/x0Po6nsYwQU4Y04fBS6vfoImaiZ6f8bi3CjTCxBPQSO1LMyUqkByzi8AidyxfA==",
"peer": true,
"dependencies": {
"@types/linkify-it": "*",
"@types/mdurl": "*"
}
},
"node_modules/@types/mdurl": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/@types/mdurl/-/mdurl-1.0.5.tgz",
"integrity": "sha512-6L6VymKTzYSrEf4Nev4Xa1LCHKrlTlYCBMTlQKFuddo1CvQcE52I0mwfOJayueUC7MJuXOeHTcIU683lzd0cUA==",
"peer": true
},
"node_modules/@types/minimatch": {
"version": "3.0.5",
"resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz",
@ -511,9 +534,9 @@
}
},
"node_modules/clean-css": {
"version": "5.3.2",
"resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.2.tgz",
"integrity": "sha512-JVJbM+f3d3Q704rF4bqQ5UUyTtuJ0JRKNbTKVEeujCCBoMdkEi+V+e8oktO9qGQNSvHrFTM6JZRXrUvGR1czww==",
"version": "5.3.3",
"resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.3.tgz",
"integrity": "sha512-D5J+kHaVb/wKSFcyyV75uCn8fiY4sV38XJoe4CUyGQ+mOU/fMVYUdH1hJC+CJQ5uY3EnW27SbJYS4X8BiLrAFg==",
"dependencies": {
"source-map": "~0.6.0"
},
@ -1416,6 +1439,15 @@
"markdown-it": "bin/markdown-it.js"
}
},
"node_modules/markdown-it-anchor": {
"version": "8.6.7",
"resolved": "https://registry.npmjs.org/markdown-it-anchor/-/markdown-it-anchor-8.6.7.tgz",
"integrity": "sha512-FlCHFwNnutLgVTflOYHPW2pPcl2AACqVzExlkGQNsi4CJgqOHN7YTgDd4LuhgN1BFO3TS0vLAruV1Td6dwWPJA==",
"peerDependencies": {
"@types/markdown-it": "*",
"markdown-it": "*"
}
},
"node_modules/markdown-it-attrs": {
"version": "4.1.6",
"resolved": "https://registry.npmjs.org/markdown-it-attrs/-/markdown-it-attrs-4.1.6.tgz",
@ -1618,9 +1650,9 @@
}
},
"node_modules/npm": {
"version": "10.2.3",
"resolved": "https://registry.npmjs.org/npm/-/npm-10.2.3.tgz",
"integrity": "sha512-GbUui/rHTl0mW8HhJSn4A0Xg89yCR3I9otgJT1i0z1QBPOVlgbh6rlcUTpHT8Gut9O1SJjWRUU0nEcAymhG2tQ==",
"version": "10.2.5",
"resolved": "https://registry.npmjs.org/npm/-/npm-10.2.5.tgz",
"integrity": "sha512-lXdZ7titEN8CH5YJk9C/aYRU9JeDxQ4d8rwIIDsvH3SMjLjHTukB2CFstMiB30zXs4vCrPN2WH6cDq1yHBeJAw==",
"bundleDependencies": [
"@isaacs/string-locale-compare",
"@npmcli/arborist",
@ -1697,18 +1729,18 @@
"dependencies": {
"@isaacs/string-locale-compare": "^1.1.0",
"@npmcli/arborist": "^7.2.1",
"@npmcli/config": "^8.0.1",
"@npmcli/config": "^8.0.2",
"@npmcli/fs": "^3.1.0",
"@npmcli/map-workspaces": "^3.0.4",
"@npmcli/package-json": "^5.0.0",
"@npmcli/promise-spawn": "^7.0.0",
"@npmcli/run-script": "^7.0.2",
"@sigstore/tuf": "^2.1.0",
"@sigstore/tuf": "^2.2.0",
"abbrev": "^2.0.0",
"archy": "~1.0.0",
"cacache": "^18.0.0",
"cacache": "^18.0.1",
"chalk": "^5.3.0",
"ci-info": "^3.9.0",
"ci-info": "^4.0.0",
"cli-columns": "^4.0.0",
"cli-table3": "^0.6.3",
"columnify": "^1.6.0",
@ -1719,16 +1751,16 @@
"hosted-git-info": "^7.0.1",
"ini": "^4.1.1",
"init-package-json": "^6.0.0",
"is-cidr": "^4.0.2",
"json-parse-even-better-errors": "^3.0.0",
"is-cidr": "^5.0.3",
"json-parse-even-better-errors": "^3.0.1",
"libnpmaccess": "^8.0.1",
"libnpmdiff": "^6.0.3",
"libnpmexec": "^7.0.3",
"libnpmexec": "^7.0.4",
"libnpmfund": "^5.0.1",
"libnpmhook": "^10.0.0",
"libnpmorg": "^6.0.1",
"libnpmpack": "^6.0.3",
"libnpmpublish": "^9.0.1",
"libnpmpublish": "^9.0.2",
"libnpmsearch": "^7.0.0",
"libnpmteam": "^6.0.0",
"libnpmversion": "^5.0.1",
@ -1749,7 +1781,7 @@
"npm-user-validate": "^2.0.0",
"npmlog": "^7.0.1",
"p-map": "^4.0.0",
"pacote": "^17.0.4",
"pacote": "^17.0.5",
"parse-conflict-json": "^3.0.1",
"proc-log": "^3.0.0",
"qrcode-terminal": "^0.12.0",
@ -1757,7 +1789,7 @@
"semver": "^7.5.4",
"spdx-expression-parse": "^3.0.1",
"ssri": "^10.0.5",
"strip-ansi": "^6.0.1",
"strip-ansi": "^7.1.0",
"supports-color": "^9.4.0",
"tar": "^6.2.0",
"text-table": "~0.2.0",
@ -1800,17 +1832,6 @@
"node": ">=12"
}
},
"node_modules/npm/node_modules/@isaacs/cliui/node_modules/ansi-regex": {
"version": "6.0.1",
"inBundle": true,
"license": "MIT",
"engines": {
"node": ">=12"
},
"funding": {
"url": "https://github.com/chalk/ansi-regex?sponsor=1"
}
},
"node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex": {
"version": "9.2.2",
"inBundle": true,
@ -1832,20 +1853,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/npm/node_modules/@isaacs/cliui/node_modules/strip-ansi": {
"version": "7.1.0",
"inBundle": true,
"license": "MIT",
"dependencies": {
"ansi-regex": "^6.0.1"
},
"engines": {
"node": ">=12"
},
"funding": {
"url": "https://github.com/chalk/strip-ansi?sponsor=1"
}
},
"node_modules/npm/node_modules/@isaacs/string-locale-compare": {
"version": "1.1.0",
"inBundle": true,
@ -1866,56 +1873,8 @@
"node": "^16.14.0 || >=18.0.0"
}
},
"node_modules/npm/node_modules/@npmcli/agent/node_modules/agent-base": {
"version": "7.1.0",
"inBundle": true,
"license": "MIT",
"dependencies": {
"debug": "^4.3.4"
},
"engines": {
"node": ">= 14"
}
},
"node_modules/npm/node_modules/@npmcli/agent/node_modules/http-proxy-agent": {
"version": "7.0.0",
"inBundle": true,
"license": "MIT",
"dependencies": {
"agent-base": "^7.1.0",
"debug": "^4.3.4"
},
"engines": {
"node": ">= 14"
}
},
"node_modules/npm/node_modules/@npmcli/agent/node_modules/https-proxy-agent": {
"version": "7.0.2",
"inBundle": true,
"license": "MIT",
"dependencies": {
"agent-base": "^7.0.2",
"debug": "4"
},
"engines": {
"node": ">= 14"
}
},
"node_modules/npm/node_modules/@npmcli/agent/node_modules/socks-proxy-agent": {
"version": "8.0.2",
"inBundle": true,
"license": "MIT",
"dependencies": {
"agent-base": "^7.0.2",
"debug": "^4.3.4",
"socks": "^2.7.1"
},
"engines": {
"node": ">= 14"
}
},
"node_modules/npm/node_modules/@npmcli/arborist": {
"version": "7.2.1",
"version": "7.2.2",
"inBundle": true,
"license": "ISC",
"dependencies": {
@ -1961,12 +1920,12 @@
}
},
"node_modules/npm/node_modules/@npmcli/config": {
"version": "8.0.1",
"version": "8.0.3",
"inBundle": true,
"license": "ISC",
"dependencies": {
"@npmcli/map-workspaces": "^3.0.2",
"ci-info": "^3.8.0",
"ci-info": "^4.0.0",
"ini": "^4.1.0",
"nopt": "^7.0.0",
"proc-log": "^3.0.0",
@ -1989,6 +1948,20 @@
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
}
},
"node_modules/npm/node_modules/@npmcli/disparity-colors/node_modules/ansi-styles": {
"version": "4.3.0",
"inBundle": true,
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
},
"engines": {
"node": ">=8"
},
"funding": {
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
"node_modules/npm/node_modules/@npmcli/fs": {
"version": "3.1.0",
"inBundle": true,
@ -2160,7 +2133,7 @@
}
},
"node_modules/npm/node_modules/@sigstore/sign": {
"version": "2.1.0",
"version": "2.2.0",
"inBundle": true,
"license": "Apache-2.0",
"dependencies": {
@ -2173,7 +2146,7 @@
}
},
"node_modules/npm/node_modules/@sigstore/tuf": {
"version": "2.1.0",
"version": "2.2.0",
"inBundle": true,
"license": "Apache-2.0",
"dependencies": {
@ -2223,6 +2196,17 @@
"node": ">=6.5"
}
},
"node_modules/npm/node_modules/agent-base": {
"version": "7.1.0",
"inBundle": true,
"license": "MIT",
"dependencies": {
"debug": "^4.3.4"
},
"engines": {
"node": ">= 14"
}
},
"node_modules/npm/node_modules/aggregate-error": {
"version": "3.1.0",
"inBundle": true,
@ -2236,22 +2220,22 @@
}
},
"node_modules/npm/node_modules/ansi-regex": {
"version": "5.0.1",
"version": "6.0.1",
"inBundle": true,
"license": "MIT",
"engines": {
"node": ">=8"
"node": ">=12"
},
"funding": {
"url": "https://github.com/chalk/ansi-regex?sponsor=1"
}
},
"node_modules/npm/node_modules/ansi-styles": {
"version": "4.3.0",
"version": "6.2.1",
"inBundle": true,
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
},
"engines": {
"node": ">=8"
"node": ">=12"
},
"funding": {
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
@ -2365,7 +2349,7 @@
}
},
"node_modules/npm/node_modules/cacache": {
"version": "18.0.0",
"version": "18.0.1",
"inBundle": true,
"license": "ISC",
"dependencies": {
@ -2374,7 +2358,7 @@
"glob": "^10.2.2",
"lru-cache": "^10.0.1",
"minipass": "^7.0.3",
"minipass-collect": "^1.0.2",
"minipass-collect": "^2.0.1",
"minipass-flush": "^1.0.5",
"minipass-pipeline": "^1.2.4",
"p-map": "^4.0.0",
@ -2406,7 +2390,7 @@
}
},
"node_modules/npm/node_modules/ci-info": {
"version": "3.9.0",
"version": "4.0.0",
"funding": [
{
"type": "github",
@ -2420,14 +2404,14 @@
}
},
"node_modules/npm/node_modules/cidr-regex": {
"version": "3.1.1",
"version": "4.0.3",
"inBundle": true,
"license": "BSD-2-Clause",
"dependencies": {
"ip-regex": "^4.1.0"
"ip-regex": "^5.0.0"
},
"engines": {
"node": ">=10"
"node": ">=14"
}
},
"node_modules/npm/node_modules/clean-stack": {
@ -2450,6 +2434,25 @@
"node": ">= 10"
}
},
"node_modules/npm/node_modules/cli-columns/node_modules/ansi-regex": {
"version": "5.0.1",
"inBundle": true,
"license": "MIT",
"engines": {
"node": ">=8"
}
},
"node_modules/npm/node_modules/cli-columns/node_modules/strip-ansi": {
"version": "6.0.1",
"inBundle": true,
"license": "MIT",
"dependencies": {
"ansi-regex": "^5.0.1"
},
"engines": {
"node": ">=8"
}
},
"node_modules/npm/node_modules/cli-table3": {
"version": "0.6.3",
"inBundle": true,
@ -2516,6 +2519,25 @@
"node": ">=8.0.0"
}
},
"node_modules/npm/node_modules/columnify/node_modules/ansi-regex": {
"version": "5.0.1",
"inBundle": true,
"license": "MIT",
"engines": {
"node": ">=8"
}
},
"node_modules/npm/node_modules/columnify/node_modules/strip-ansi": {
"version": "6.0.1",
"inBundle": true,
"license": "MIT",
"dependencies": {
"ansi-regex": "^5.0.1"
},
"engines": {
"node": ">=8"
}
},
"node_modules/npm/node_modules/common-ancestor-path": {
"version": "1.0.1",
"inBundle": true,
@ -2697,9 +2719,12 @@
}
},
"node_modules/npm/node_modules/function-bind": {
"version": "1.1.1",
"version": "1.1.2",
"inBundle": true,
"license": "MIT"
"license": "MIT",
"funding": {
"url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/npm/node_modules/gauge": {
"version": "5.0.1",
@ -2719,6 +2744,25 @@
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
}
},
"node_modules/npm/node_modules/gauge/node_modules/ansi-regex": {
"version": "5.0.1",
"inBundle": true,
"license": "MIT",
"engines": {
"node": ">=8"
}
},
"node_modules/npm/node_modules/gauge/node_modules/strip-ansi": {
"version": "6.0.1",
"inBundle": true,
"license": "MIT",
"dependencies": {
"ansi-regex": "^5.0.1"
},
"engines": {
"node": ">=8"
}
},
"node_modules/npm/node_modules/glob": {
"version": "10.3.10",
"inBundle": true,
@ -2747,7 +2791,6 @@
},
"node_modules/npm/node_modules/has": {
"version": "1.0.3",
"inBundle": true,
"license": "MIT",
"dependencies": {
"function-bind": "^1.1.1"
@ -2761,6 +2804,17 @@
"inBundle": true,
"license": "ISC"
},
"node_modules/npm/node_modules/hasown": {
"version": "2.0.0",
"inBundle": true,
"license": "MIT",
"dependencies": {
"function-bind": "^1.1.2"
},
"engines": {
"node": ">= 0.4"
}
},
"node_modules/npm/node_modules/hosted-git-info": {
"version": "7.0.1",
"inBundle": true,
@ -2777,6 +2831,30 @@
"inBundle": true,
"license": "BSD-2-Clause"
},
"node_modules/npm/node_modules/http-proxy-agent": {
"version": "7.0.0",
"inBundle": true,
"license": "MIT",
"dependencies": {
"agent-base": "^7.1.0",
"debug": "^4.3.4"
},
"engines": {
"node": ">= 14"
}
},
"node_modules/npm/node_modules/https-proxy-agent": {
"version": "7.0.2",
"inBundle": true,
"license": "MIT",
"dependencies": {
"agent-base": "^7.0.2",
"debug": "4"
},
"engines": {
"node": ">= 14"
}
},
"node_modules/npm/node_modules/iconv-lite": {
"version": "0.6.3",
"inBundle": true,
@ -2809,7 +2887,7 @@
"license": "BSD-3-Clause"
},
"node_modules/npm/node_modules/ignore-walk": {
"version": "6.0.3",
"version": "6.0.4",
"inBundle": true,
"license": "ISC",
"dependencies": {
@ -2866,30 +2944,33 @@
"license": "MIT"
},
"node_modules/npm/node_modules/ip-regex": {
"version": "4.3.0",
"version": "5.0.0",
"inBundle": true,
"license": "MIT",
"engines": {
"node": ">=8"
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/npm/node_modules/is-cidr": {
"version": "4.0.2",
"version": "5.0.3",
"inBundle": true,
"license": "BSD-2-Clause",
"dependencies": {
"cidr-regex": "^3.1.1"
"cidr-regex": "4.0.3"
},
"engines": {
"node": ">=10"
"node": ">=14"
}
},
"node_modules/npm/node_modules/is-core-module": {
"version": "2.13.0",
"version": "2.13.1",
"inBundle": true,
"license": "MIT",
"dependencies": {
"has": "^1.0.3"
"hasown": "^2.0.0"
},
"funding": {
"url": "https://github.com/sponsors/ljharb"
@ -2931,7 +3012,7 @@
}
},
"node_modules/npm/node_modules/json-parse-even-better-errors": {
"version": "3.0.0",
"version": "3.0.1",
"inBundle": true,
"license": "MIT",
"engines": {
@ -2965,7 +3046,7 @@
"license": "MIT"
},
"node_modules/npm/node_modules/libnpmaccess": {
"version": "8.0.1",
"version": "8.0.2",
"inBundle": true,
"license": "ISC",
"dependencies": {
@ -2977,7 +3058,7 @@
}
},
"node_modules/npm/node_modules/libnpmdiff": {
"version": "6.0.3",
"version": "6.0.4",
"inBundle": true,
"license": "ISC",
"dependencies": {
@ -2996,13 +3077,13 @@
}
},
"node_modules/npm/node_modules/libnpmexec": {
"version": "7.0.3",
"version": "7.0.5",
"inBundle": true,
"license": "ISC",
"dependencies": {
"@npmcli/arborist": "^7.2.1",
"@npmcli/run-script": "^7.0.2",
"ci-info": "^3.7.1",
"ci-info": "^4.0.0",
"npm-package-arg": "^11.0.1",
"npmlog": "^7.0.1",
"pacote": "^17.0.4",
@ -3017,7 +3098,7 @@
}
},
"node_modules/npm/node_modules/libnpmfund": {
"version": "5.0.1",
"version": "5.0.2",
"inBundle": true,
"license": "ISC",
"dependencies": {
@ -3028,7 +3109,7 @@
}
},
"node_modules/npm/node_modules/libnpmhook": {
"version": "10.0.0",
"version": "10.0.1",
"inBundle": true,
"license": "ISC",
"dependencies": {
@ -3040,7 +3121,7 @@
}
},
"node_modules/npm/node_modules/libnpmorg": {
"version": "6.0.1",
"version": "6.0.2",
"inBundle": true,
"license": "ISC",
"dependencies": {
@ -3052,7 +3133,7 @@
}
},
"node_modules/npm/node_modules/libnpmpack": {
"version": "6.0.3",
"version": "6.0.4",
"inBundle": true,
"license": "ISC",
"dependencies": {
@ -3066,11 +3147,11 @@
}
},
"node_modules/npm/node_modules/libnpmpublish": {
"version": "9.0.1",
"version": "9.0.3",
"inBundle": true,
"license": "ISC",
"dependencies": {
"ci-info": "^3.6.1",
"ci-info": "^4.0.0",
"normalize-package-data": "^6.0.0",
"npm-package-arg": "^11.0.1",
"npm-registry-fetch": "^16.0.0",
@ -3084,7 +3165,7 @@
}
},
"node_modules/npm/node_modules/libnpmsearch": {
"version": "7.0.0",
"version": "7.0.1",
"inBundle": true,
"license": "ISC",
"dependencies": {
@ -3095,7 +3176,7 @@
}
},
"node_modules/npm/node_modules/libnpmteam": {
"version": "6.0.0",
"version": "6.0.1",
"inBundle": true,
"license": "ISC",
"dependencies": {
@ -3107,7 +3188,7 @@
}
},
"node_modules/npm/node_modules/libnpmversion": {
"version": "5.0.1",
"version": "5.0.2",
"inBundle": true,
"license": "ISC",
"dependencies": {
@ -3122,7 +3203,7 @@
}
},
"node_modules/npm/node_modules/lru-cache": {
"version": "10.0.1",
"version": "10.1.0",
"inBundle": true,
"license": "ISC",
"engines": {
@ -3173,25 +3254,14 @@
}
},
"node_modules/npm/node_modules/minipass-collect": {
"version": "1.0.2",
"version": "2.0.1",
"inBundle": true,
"license": "ISC",
"dependencies": {
"minipass": "^3.0.0"
"minipass": "^7.0.3"
},
"engines": {
"node": ">= 8"
}
},
"node_modules/npm/node_modules/minipass-collect/node_modules/minipass": {
"version": "3.3.6",
"inBundle": true,
"license": "ISC",
"dependencies": {
"yallist": "^4.0.0"
},
"engines": {
"node": ">=8"
"node": ">=16 || 14 >=14.17"
}
},
"node_modules/npm/node_modules/minipass-fetch": {
@ -3455,11 +3525,11 @@
}
},
"node_modules/npm/node_modules/npm-packlist": {
"version": "8.0.0",
"version": "8.0.1",
"inBundle": true,
"license": "ISC",
"dependencies": {
"ignore-walk": "^6.0.0"
"ignore-walk": "^6.0.4"
},
"engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
@ -3545,7 +3615,7 @@
}
},
"node_modules/npm/node_modules/pacote": {
"version": "17.0.4",
"version": "17.0.5",
"inBundle": true,
"license": "ISC",
"dependencies": {
@ -3833,7 +3903,7 @@
}
},
"node_modules/npm/node_modules/signal-exit": {
"version": "4.0.2",
"version": "4.1.0",
"inBundle": true,
"license": "ISC",
"engines": {
@ -3879,6 +3949,19 @@
"npm": ">= 3.0.0"
}
},
"node_modules/npm/node_modules/socks-proxy-agent": {
"version": "8.0.2",
"inBundle": true,
"license": "MIT",
"dependencies": {
"agent-base": "^7.0.2",
"debug": "^4.3.4",
"socks": "^2.7.1"
},
"engines": {
"node": ">= 14"
}
},
"node_modules/npm/node_modules/spdx-correct": {
"version": "3.2.0",
"inBundle": true,
@ -3953,7 +4036,15 @@
"node": ">=8"
}
},
"node_modules/npm/node_modules/strip-ansi": {
"node_modules/npm/node_modules/string-width-cjs/node_modules/ansi-regex": {
"version": "5.0.1",
"inBundle": true,
"license": "MIT",
"engines": {
"node": ">=8"
}
},
"node_modules/npm/node_modules/string-width-cjs/node_modules/strip-ansi": {
"version": "6.0.1",
"inBundle": true,
"license": "MIT",
@ -3964,6 +4055,39 @@
"node": ">=8"
}
},
"node_modules/npm/node_modules/string-width/node_modules/ansi-regex": {
"version": "5.0.1",
"inBundle": true,
"license": "MIT",
"engines": {
"node": ">=8"
}
},
"node_modules/npm/node_modules/string-width/node_modules/strip-ansi": {
"version": "6.0.1",
"inBundle": true,
"license": "MIT",
"dependencies": {
"ansi-regex": "^5.0.1"
},
"engines": {
"node": ">=8"
}
},
"node_modules/npm/node_modules/strip-ansi": {
"version": "7.1.0",
"inBundle": true,
"license": "MIT",
"dependencies": {
"ansi-regex": "^6.0.1"
},
"engines": {
"node": ">=12"
},
"funding": {
"url": "https://github.com/chalk/strip-ansi?sponsor=1"
}
},
"node_modules/npm/node_modules/strip-ansi-cjs": {
"name": "strip-ansi",
"version": "6.0.1",
@ -3976,6 +4100,14 @@
"node": ">=8"
}
},
"node_modules/npm/node_modules/strip-ansi-cjs/node_modules/ansi-regex": {
"version": "5.0.1",
"inBundle": true,
"license": "MIT",
"engines": {
"node": ">=8"
}
},
"node_modules/npm/node_modules/supports-color": {
"version": "9.4.0",
"inBundle": true,
@ -4187,28 +4319,39 @@
"url": "https://github.com/chalk/wrap-ansi?sponsor=1"
}
},
"node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex": {
"version": "6.0.1",
"node_modules/npm/node_modules/wrap-ansi-cjs/node_modules/ansi-regex": {
"version": "5.0.1",
"inBundle": true,
"license": "MIT",
"engines": {
"node": ">=12"
},
"funding": {
"url": "https://github.com/chalk/ansi-regex?sponsor=1"
"node": ">=8"
}
},
"node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-styles": {
"version": "6.2.1",
"node_modules/npm/node_modules/wrap-ansi-cjs/node_modules/ansi-styles": {
"version": "4.3.0",
"inBundle": true,
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
},
"engines": {
"node": ">=12"
"node": ">=8"
},
"funding": {
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
"node_modules/npm/node_modules/wrap-ansi-cjs/node_modules/strip-ansi": {
"version": "6.0.1",
"inBundle": true,
"license": "MIT",
"dependencies": {
"ansi-regex": "^5.0.1"
},
"engines": {
"node": ">=8"
}
},
"node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex": {
"version": "9.2.2",
"inBundle": true,
@ -4230,20 +4373,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/npm/node_modules/wrap-ansi/node_modules/strip-ansi": {
"version": "7.1.0",
"inBundle": true,
"license": "MIT",
"dependencies": {
"ansi-regex": "^6.0.1"
},
"engines": {
"node": ">=12"
},
"funding": {
"url": "https://github.com/chalk/strip-ansi?sponsor=1"
}
},
"node_modules/npm/node_modules/write-file-atomic": {
"version": "5.0.1",
"inBundle": true,

View File

@ -1,11 +1,12 @@
{
"dependencies": {
"@11ty/eleventy": "^2.0.1",
"clean-css": "^5.3.2",
"clean-css": "^5.3.3",
"html-minifier": "^4.0.0",
"luxon": "^2.3.0",
"markdown-it-attrs": "^4.1.4",
"luxon": "^2.5.2",
"markdown-it-anchor": "^8.6.7",
"markdown-it-attrs": "^4.1.6",
"markdown-it-bracketed-spans": "^1.0.1",
"npm": "^10.2.3"
"npm": "^10.2.5"
}
}

View File

@ -9,7 +9,8 @@ date: 2023-01-01
* | *
------- | -------
15.12 | Our Teddit and Libreddit instances now utilize [Cloudflare Warp](https://github.com/libreddit/libreddit/issues/870#issuecomment-1856548416){target="_blank"}. Both are hosted only to mitigate bad experiences on a bad platform. Seek greener pastures!
15.12 | Our Teddit and Libreddit instances now utilize [Cloudflare Warp](https://github.com/libreddit/libreddit/issues/870#issuecomment-1856548416){target="_blank"}. Please be aware of the privacy implications. {#cloudflarewarp}
 | Both are hosted only to mitigate bad experiences on a bad platform. Seek greener pastures!
13.12 | Started hosting [Priviblur](https://tb.opnxng.com){target="_blank"}, a private frontend to Tumblr.
08.12 | Set up [rate-limiting](https://github.com/zedeus/nitter/wiki/Rate-Limiting-%E2%80%90-Nginx) in Nitter. Banned IP addresses are now logged and kept for 30 days, but the access log remains disabled.
20.11 | Started hosting [Cloudtube](https://yt.opnxng.com){target="_blank"}. Note that vidoes are not proxied.