Skip to content

Commit

Permalink
Merge pull request #345 from marp-team/upgrade-dependencies
Browse files Browse the repository at this point in the history
Upgrade Node.js and dependent packages to the latest version
  • Loading branch information
yhatt authored Jun 9, 2023
2 parents 8d581fc + eeb5368 commit 340a161
Show file tree
Hide file tree
Showing 5 changed files with 1,066 additions and 666 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
test-node18:
executor:
name: node
version: '18.15.0' # Specify LTS version for development
version: '18.16.0' # Specify LTS version for development
steps:
- prepare
- lint
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.15.0
18.16.0
56 changes: 28 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,64 +65,64 @@
"exec": "./node_modules/.bin/marp"
},
"devDependencies": {
"@marp-team/marp-cli": "^2.4.0",
"@rollup/plugin-alias": "^4.0.3",
"@rollup/plugin-commonjs": "^24.0.1",
"@marp-team/marp-cli": "^2.5.0",
"@rollup/plugin-alias": "^5.0.0",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^11.0.0",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.1",
"@tsconfig/node12": "^1.0.11",
"@twemoji/api": "^14.1.2",
"@types/jest": "^29.5.0",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"@types/jest": "^29.5.2",
"@typescript-eslint/eslint-plugin": "^5.59.9",
"@typescript-eslint/parser": "^5.59.9",
"autoprefixer": "^10.4.14",
"cheerio": "^1.0.0-rc.12",
"cssnano": "^5.1.15",
"cssnano": "^6.0.1",
"emoji-regex": "^10.2.1",
"eslint": "^8.36.0",
"eslint": "^8.42.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"github-markdown-css": "^5.2.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-junit": "^15.0.0",
"jest-junit": "^16.0.0",
"jest-plugin-context": "^2.9.0",
"markdown-it": "^13.0.1",
"markdown-it-emoji": "^2.0.2",
"mkdirp": "^2.1.6",
"mkdirp": "^3.0.1",
"nodemon": "^2.0.22",
"npm-run-all": "^4.1.5",
"postcss-minify-params": "^5.1.4",
"postcss-minify-selectors": "^5.2.1",
"postcss-normalize-whitespace": "^5.1.1",
"postcss-minify-params": "^6.0.0",
"postcss-minify-selectors": "^6.0.0",
"postcss-normalize-whitespace": "^6.0.0",
"postcss-url": "^10.1.3",
"prettier": "^2.8.7",
"rimraf": "^4.4.1",
"rollup": "^3.20.2",
"prettier": "^2.8.8",
"rimraf": "^5.0.1",
"rollup": "^3.24.0",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-string": "^3.0.0",
"sass": "^1.60.0",
"sass": "^1.63.3",
"sass-extended-importer": "^0.4.2",
"self-closing-tags": "^1.0.1",
"stylelint": "^15.3.0",
"stylelint": "^15.7.0",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-standard-scss": "^7.0.1",
"ts-jest": "29.0.5",
"tslib": "^2.5.0",
"typescript": "^5.0.2"
"stylelint-config-standard-scss": "^9.0.0",
"ts-jest": "29.1.0",
"tslib": "^2.5.3",
"typescript": "^5.1.3"
},
"dependencies": {
"@marp-team/marpit": "^2.5.0",
"@marp-team/marpit-svg-polyfill": "^2.1.0",
"highlight.js": "^11.7.0",
"katex": "^0.16.4",
"highlight.js": "^11.8.0",
"katex": "^0.16.7",
"mathjax-full": "^3.2.2",
"postcss": "^8.4.21",
"postcss-selector-parser": "^6.0.11",
"postcss-selector-parser": "^6.0.13",
"xss": "^1.0.14"
},
"resolutions": {
Expand Down
40 changes: 20 additions & 20 deletions test/__snapshots__/marp.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@

exports[`Marp math option with KaTeX injects KaTeX css with replacing web font URL to CDN: katex-css-cdn 1`] = `
[
"url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_AMS-Regular.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_AMS-Regular.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_AMS-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Caligraphic-Bold.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Caligraphic-Bold.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Caligraphic-Bold.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Caligraphic-Regular.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Caligraphic-Regular.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Caligraphic-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Fraktur-Bold.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Fraktur-Bold.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Fraktur-Bold.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Fraktur-Regular.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Fraktur-Regular.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Fraktur-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Main-Bold.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Main-Bold.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Main-Bold.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Main-BoldItalic.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Main-BoldItalic.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Main-BoldItalic.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Main-Italic.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Main-Italic.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Main-Italic.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Main-Regular.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Main-Regular.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Main-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Math-BoldItalic.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Math-BoldItalic.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Math-BoldItalic.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Math-Italic.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Math-Italic.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Math-Italic.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_SansSerif-Bold.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_SansSerif-Bold.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_SansSerif-Bold.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_SansSerif-Italic.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_SansSerif-Italic.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_SansSerif-Italic.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_SansSerif-Regular.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_SansSerif-Regular.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_SansSerif-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Script-Regular.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Script-Regular.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Script-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Size1-Regular.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Size1-Regular.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Size1-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Size2-Regular.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Size2-Regular.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Size2-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Size3-Regular.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Size3-Regular.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Size3-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Size4-Regular.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Size4-Regular.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Size4-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Typewriter-Regular.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Typewriter-Regular.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].4/dist/fonts/KaTeX_Typewriter-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_AMS-Regular.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_AMS-Regular.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_AMS-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Caligraphic-Bold.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Caligraphic-Bold.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Caligraphic-Bold.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Caligraphic-Regular.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Caligraphic-Regular.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Caligraphic-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Fraktur-Bold.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Fraktur-Bold.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Fraktur-Bold.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Fraktur-Regular.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Fraktur-Regular.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Fraktur-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Main-Bold.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Main-Bold.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Main-Bold.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Main-BoldItalic.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Main-BoldItalic.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Main-BoldItalic.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Main-Italic.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Main-Italic.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Main-Italic.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Main-Regular.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Main-Regular.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Main-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Math-BoldItalic.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Math-BoldItalic.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Math-BoldItalic.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Math-Italic.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Math-Italic.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Math-Italic.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_SansSerif-Bold.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_SansSerif-Bold.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_SansSerif-Bold.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_SansSerif-Italic.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_SansSerif-Italic.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_SansSerif-Italic.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_SansSerif-Regular.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_SansSerif-Regular.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_SansSerif-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Script-Regular.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Script-Regular.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Script-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Size1-Regular.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Size1-Regular.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Size1-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Size2-Regular.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Size2-Regular.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Size2-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Size3-Regular.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Size3-Regular.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Size3-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Size4-Regular.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Size4-Regular.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Size4-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Typewriter-Regular.woff2') format("woff2"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Typewriter-Regular.woff') format("woff"),url('https://cdn.jsdelivr.net/npm/[email protected].7/dist/fonts/KaTeX_Typewriter-Regular.ttf') format("truetype")",
]
`;

Expand Down
Loading

0 comments on commit 340a161

Please sign in to comment.