github.com/markedjs/marked breaking changes

go

12 curated breaking changes across major versions of github.com/markedjs/marked. Use this as a migration checklist before bumping dependencies.

12
changes
Breaking changes by transition
  • v17.0.6 \u2192 v18.0.0breaking

    trim trailing blank lines from block tokens

  • v17.0.6 \u2192 v18.0.0breaking

    update Typescript to v6

  • v16.4.2 \u2192 v17.0.0breaking

    Change how consecutive text tokens work in lists

  • v16.4.2 \u2192 v17.0.0breaking

    Simplify listItem renderer

  • v16.4.2 \u2192 v17.0.0breaking

    Checkbox token is added in list tokenizer

  • v16.4.2 \u2192 v17.0.0breaking

    Checkbox token add type and raw property

  • v16.4.2 \u2192 v17.0.0breaking

    Change loose list text tokens to paragraph type in the list tokenizer

  • v15.0.12 \u2192 v16.0.0breaking

    minify ./lib/marked.esm.js and ./lib/marked.umd.js

  • v15.0.12 \u2192 v16.0.0breaking

    remove ./marked.min.js use ./lib/marked.umd.js instead

  • v15.0.12 \u2192 v16.0.0breaking

    remove ./lib/marked.cjs

  • v15.0.12 \u2192 v16.0.0breaking

    update minimum supported node version to 20 to support `require('marked.esm.js')`. see https://nodejs.org/docs/latest-v20.x/api/modules.html#loading-ecmascript-modules-using-require

  • v15.0.12 \u2192 v16.0.0breaking

    This seems to break Jest since it doesn't work with esm by default. You need to transform marked with: ``` transformIgnorePatterns: ['/node_modules/(?!(marked)/)'], ``` see [Jest docs](https://jestjs.io/docs/configuration#transformignorepatterns-arraystring) for more info

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/go/github.com/markedjs/marked
github.com/markedjs/marked breaking changes — Go migration guide | DepScope