Dependency bump

This commit is contained in:
Jocelyn Badgley (Twipped) 2021-08-11 11:48:50 -07:00
parent b93796bd1c
commit 81fd26d2e4
4 changed files with 2305 additions and 1715 deletions

View File

@ -2,6 +2,8 @@
module.exports = exports = { module.exports = exports = {
plugins: [ plugins: [
[ '@babel/plugin-proposal-class-properties', { loose: true } ], [ '@babel/plugin-proposal-class-properties', { loose: true } ],
[ '@babel/plugin-proposal-private-property-in-object', { loose: true } ],
[ '@babel/plugin-proposal-private-methods', { loose: true } ],
], ],
presets: [ presets: [
[ '@babel/preset-env', { [ '@babel/preset-env', {

View File

@ -14,6 +14,7 @@ const { stripHtml } = require('string-strip-html');
const markdownIt = require('markdown-it'); const markdownIt = require('markdown-it');
const i18n = require('../lang'); const i18n = require('../lang');
const mAnchor = require('markdown-it-anchor');
const markdownEngines = { const markdownEngines = {
full: markdownIt({ full: markdownIt({
@ -29,11 +30,12 @@ const markdownEngines = {
rel: 'noopener', rel: 'noopener',
}, },
}) })
.use(require('markdown-it-anchor'), { .use(mAnchor, {
permalink: true, permalink: mAnchor.permalink.headerLink({
permalinkClass: 'header-link', class: 'header-link',
permalinkSymbol: '<img src="/images/svg/paragraph.svg">', symbol: '<img src="/images/svg/paragraph.svg">',
slugify, renderHref: slugify,
}),
}) })
.use(require('./lib/markdown-raw-html'), { debug: false }), .use(require('./lib/markdown-raw-html'), { debug: false }),

3950
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -26,15 +26,15 @@
}, },
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"@babel/core": "~7.13.8", "@babel/core": "~7.15.0",
"@babel/plugin-proposal-class-properties": "~7.13.0", "@babel/plugin-proposal-class-properties": "~7.14.5",
"@babel/preset-env": "~7.13.8", "@babel/preset-env": "~7.15.0",
"@rollup/plugin-alias": "~3.1.2", "@rollup/plugin-alias": "~3.1.5",
"@rollup/plugin-commonjs": "~17.1.0", "@rollup/plugin-commonjs": "~20.0.0",
"@rollup/plugin-node-resolve": "~11.2.0", "@rollup/plugin-node-resolve": "~13.0.4",
"@rollup/plugin-replace": "~2.4.1", "@rollup/plugin-replace": "~3.0.0",
"autoprefixer": "~10.2.4", "autoprefixer": "~10.3.1",
"aws-sdk": "~2.853.0", "aws-sdk": "~2.966.0",
"babel-eslint": "~10.1.0", "babel-eslint": "~10.1.0",
"babel-preset-preact": "~2.0.0", "babel-preset-preact": "~2.0.0",
"backbone": "~1.4.0", "backbone": "~1.4.0",
@ -42,19 +42,19 @@
"bootstrap": "~4.6.0", "bootstrap": "~4.6.0",
"concurrent-transform": "~1.0.0", "concurrent-transform": "~1.0.0",
"crass": "~0.12.3", "crass": "~0.12.3",
"date-fns": "~2.17.0", "date-fns": "~2.23.0",
"eslint": "~7.21.0", "eslint": "~7.32.0",
"eslint-config-twipped": "~4.0.0", "eslint-config-twipped": "~4.0.0",
"eslint-plugin-node": "~11.1.0", "eslint-plugin-node": "~11.1.0",
"eslint-plugin-promise": "~4.3.1", "eslint-plugin-promise": "~5.1.0",
"eslint-plugin-react": "~7.22.0", "eslint-plugin-react": "~7.24.0",
"express": "~4.17.1", "express": "~4.17.1",
"fancy-log": "~1.3.3", "fancy-log": "~1.3.3",
"forever": "~3.0.4", "forever": "~4.0.1",
"front-matter": "~4.0.2", "front-matter": "~4.0.2",
"fs-extra": "~9.1.0", "fs-extra": "~10.0.0",
"get-video-dimensions": "~1.0.0", "get-video-dimensions": "~1.0.0",
"glob": "~7.1.6", "glob": "~7.1.7",
"gm": "~1.23.1", "gm": "~1.23.1",
"gulp": "~4.0.2", "gulp": "~4.0.2",
"gulp-awspublish": "~4.1.2", "gulp-awspublish": "~4.1.2",
@ -63,13 +63,13 @@
"handybars": "~0.4.0", "handybars": "~0.4.0",
"hbs-kit": "~1.2.0", "hbs-kit": "~1.2.0",
"html-minifier-terser": "~5.1.1", "html-minifier-terser": "~5.1.1",
"image-size": "~0.9.4", "image-size": "~1.0.0",
"jquery": "~3.5.1", "jquery": "~3.6.0",
"lodash": "~4.17.21", "lodash": "~4.17.21",
"magnific-popup": "~1.1.0", "magnific-popup": "~1.1.0",
"make-fetch-happen": "~8.0.14", "make-fetch-happen": "~9.0.4",
"markdown-it": "~12.0.4", "markdown-it": "~12.2.0",
"markdown-it-anchor": "~7.0.2", "markdown-it-anchor": "~8.1.2",
"markdown-it-link-attributes": "~3.0.0", "markdown-it-link-attributes": "~3.0.0",
"memoizepromise": "~2.0.0", "memoizepromise": "~2.0.0",
"minimist": "~1.2.5", "minimist": "~1.2.5",
@ -78,21 +78,21 @@
"plugin-error": "~1.0.1", "plugin-error": "~1.0.1",
"png-to-ico": "~2.1.2", "png-to-ico": "~2.1.2",
"popper.js": "~1.16.0", "popper.js": "~1.16.0",
"postcss": "~8.2.6", "postcss": "~8.3.6",
"preact": "~10.5.12", "preact": "~10.5.14",
"rev-hash": "~3.0.0", "rev-hash": "~3.0.0",
"rev-path": "~2.0.0", "rev-path": "~2.0.0",
"rollup": "~2.40.0", "rollup": "~2.56.2",
"rollup-plugin-babel": "~4.4.0", "rollup-plugin-babel": "~4.4.0",
"rollup-plugin-react-svg": "~3.0.3", "rollup-plugin-react-svg": "~3.0.3",
"rollup-plugin-terser": "~7.0.2", "rollup-plugin-terser": "~7.0.2",
"rss": "~1.2.2", "rss": "~1.2.2",
"serve-index": "~1.9.1", "serve-index": "~1.9.1",
"slugify": "~1.4.7", "slugify": "~1.6.0",
"string-strip-html": "~8.2.3", "string-strip-html": "~8.3.0",
"svg-dimensions": "~1.0.2", "svg-dimensions": "~1.0.2",
"terser": "~5.6.0", "terser": "~5.7.1",
"twemoji": "~13.0.1", "twemoji": "~13.1.0",
"twitter-lite": "~1.1.0", "twitter-lite": "~1.1.0",
"uuid": "~8.3.2" "uuid": "~8.3.2"
}, },