Skip to content

Commit

Permalink
chore(release): 4.0.0 [skip ci]
Browse files Browse the repository at this point in the history
# [4.0.0](v3.0.8...v4.0.0) (2021-11-02)

### Bug Fixes

* Convert to ESM ([#2227](#2227)) ([4afb228](4afb228))

### BREAKING CHANGES

* - Default export removed. Use `import { marked } from 'marked'` or `const { marked } = require('marked')` instead.
- `/lib/marked.js` removed. Use `/marked.min.js` in script tag instead.
- When using marked in a script tag use `marked.parse(...)` instead of `marked(...)`
  • Loading branch information
semantic-release-bot committed Nov 2, 2021
1 parent 1d5966f commit 7c09bb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "marked",
"description": "A markdown parser built for speed",
"author": "Christopher Jeffrey",
"version": "3.0.8",
"version": "4.0.0",
"type": "module",
"main": "./lib/marked.esm.js",
"module": "./lib/marked.esm.js",
Expand Down

1 comment on commit 7c09bb0

@vercel
Copy link

@vercel vercel bot commented on 7c09bb0 Nov 2, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.