Dependency updates

This commit is contained in:
Jocelyn Badgley (Twipped) 2020-10-12 13:30:50 -07:00
parent eebd68a38f
commit 4889ee81d0
4 changed files with 1432 additions and 1075 deletions

View File

@ -45,7 +45,7 @@ function markdown (mode, input, data, hbs) {
.replace(/<!--\[[\s\S]*?\]-->/g, '')
.replace(/æææ[\s\S]*?æææ/gi, '')
.replace(/\{!\{([\s\S]*?)\}!\}/mg, ''),
).trim();
).result.trim();
if (input.length > 1000) input = input.slice(0, 1000) + '…';
} else {

View File

@ -72,7 +72,7 @@ class ClientScript extends File {
let contents = await Promise.map(files, readFile);
contents = contents.join('\n\n');
if (prod) {
const { code, error } = minify(contents, { output: { comments: false } });
const { code, error } = await minify(contents, { output: { comments: false } });
if (error) throw new Error(error);
contents = code;
}

2449
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -25,31 +25,31 @@
},
"license": "MIT",
"devDependencies": {
"@babel/core": "~7.10.4",
"@babel/core": "~7.11.6",
"@babel/plugin-proposal-class-properties": "~7.10.4",
"@babel/preset-env": "~7.10.4",
"@babel/preset-env": "~7.11.5",
"@rollup/plugin-alias": "~3.1.1",
"@rollup/plugin-commonjs": "~13.0.0",
"@rollup/plugin-node-resolve": "~8.1.0",
"@rollup/plugin-commonjs": "~15.1.0",
"@rollup/plugin-node-resolve": "~9.0.0",
"@rollup/plugin-replace": "~2.3.3",
"autoprefixer": "~9.8.4",
"aws-sdk": "~2.708.0",
"autoprefixer": "~10.0.1",
"aws-sdk": "~2.771.0",
"babel-eslint": "~10.1.0",
"babel-preset-preact": "~2.0.0",
"backbone": "~1.4.0",
"bluebird": "~3.7.2",
"bootstrap": "~4.5.0",
"bootstrap": "~4.5.2",
"concurrent-transform": "~1.0.0",
"crass": "~0.12.3",
"date-fns": "~2.14.0",
"eslint": "~7.3.1",
"date-fns": "~2.16.1",
"eslint": "~7.11.0",
"eslint-config-twipped": "~3.4.0",
"eslint-plugin-node": "~11.1.0",
"eslint-plugin-promise": "~4.2.1",
"eslint-plugin-react": "~7.20.3",
"eslint-plugin-react": "~7.21.4",
"express": "~4.17.1",
"fancy-log": "~1.3.3",
"forever": "~3.0.0",
"forever": "~3.0.2",
"front-matter": "~4.0.2",
"fs-extra": "~9.0.1",
"get-video-dimensions": "~1.0.0",
@ -59,39 +59,39 @@
"gulp-awspublish": "~4.1.2",
"gulp-awspublish-router": "~0.2.0",
"gulp-clean": "~0.4.0",
"handybars": "~0.3.0",
"handybars": "~0.4.0",
"hbs-kit": "~1.2.0",
"html-minifier-terser": "~5.1.1",
"image-size": "~0.8.3",
"image-size": "~0.9.1",
"jquery": "~3.5.1",
"lodash": "~4.17.19",
"lodash": "~4.17.20",
"magnific-popup": "~1.1.0",
"make-fetch-happen": "~8.0.7",
"markdown-it": "~11.0.0",
"markdown-it-anchor": "~5.3.0",
"make-fetch-happen": "~8.0.10",
"markdown-it": "~11.0.1",
"markdown-it-anchor": "~6.0.0",
"memoizepromise": "~2.0.0",
"minimist": "~1.2.5",
"morgan": "~1.10.0",
"node-sass": "~4.14.1",
"plugin-error": "~1.0.1",
"png-to-ico": "~2.1.0",
"png-to-ico": "~2.1.1",
"popper.js": "~1.16.0",
"postcss": "~7.0.32",
"preact": "~10.4.5",
"postcss": "~8.1.1",
"preact": "~10.5.4",
"rev-hash": "~3.0.0",
"rev-path": "~2.0.0",
"rollup": "~2.18.1",
"rollup": "~2.29.0",
"rollup-plugin-babel": "~4.4.0",
"rollup-plugin-react-svg": "~3.0.3",
"rollup-plugin-terser": "~6.1.0",
"rollup-plugin-terser": "~7.0.2",
"rss": "~1.2.2",
"serve-index": "~1.9.1",
"slugify": "~1.4.4",
"string-strip-html": "~4.5.0",
"terser": "~4.8.0",
"twemoji": "~13.0.0",
"slugify": "~1.4.5",
"string-strip-html": "~6.0.5",
"terser": "~5.3.5",
"twemoji": "~13.0.1",
"twitter-lite": "~0.14.0",
"uuid": "~8.2.0"
"uuid": "~8.3.1"
},
"dependencies": {}
}