Skip to content

Commit

Permalink
fix: allow marked v7 (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed Aug 7, 2023
1 parent e262220 commit 09a9112
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"homepage": "https://github.com/markedjs/marked-highlight#readme",
"peerDependencies": {
"marked": "^4 || ^5 || ^6"
"marked": "^4 || ^5 || ^6 || ^7"
},
"devDependencies": {
"@babel/core": "^7.22.9",
Expand All @@ -60,7 +60,7 @@
"eslint-plugin-promise": "^6.1.1",
"highlight.js": "^11.8.0",
"jest-cli": "^29.6.2",
"marked": "^6.0.0",
"marked": "^7.0.0",
"pygmentize-bundled": "^2.3.0",
"rollup": "^3.27.2",
"semantic-release": "^21.0.7",
Expand Down
5 changes: 0 additions & 5 deletions spec/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ const highlight = "code";
`;
beforeEach(() => {
marked.setOptions(marked.getDefaults());
// remove deprecation warnings
marked.use({
mangle: false,
headerIds: false
});
});

test('excape lang', () => {
Expand Down

0 comments on commit 09a9112

Please sign in to comment.