From e781b18b0faf8d23691c88769638027a33fcaaec Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Mon, 16 Aug 2021 03:09:29 +0000 Subject: [PATCH] chore(release): 3.0.0 [skip ci] # [3.0.0](https://github.com/markedjs/marked/compare/v2.1.3...v3.0.0) (2021-08-16) ### Bug Fixes * Add module field to package.json ([#2143](https://github.com/markedjs/marked/issues/2143)) ([edc2e6d](https://github.com/markedjs/marked/commit/edc2e6dc129364b127c8a41dc6a83dd88daffba4)) * drop node 10 support ([#2157](https://github.com/markedjs/marked/issues/2157)) ([433b16f](https://github.com/markedjs/marked/commit/433b16fa3ac8ddcaead519b7f4e284137f7fac03)) * Full Commonmark compliance for Lists ([#2112](https://github.com/markedjs/marked/issues/2112)) ([eb33d3b](https://github.com/markedjs/marked/commit/eb33d3b3a9f735ee9bee251d26bf779880dc3114)) * Refactor table tokens ([#2166](https://github.com/markedjs/marked/issues/2166)) ([bc400ac](https://github.com/markedjs/marked/commit/bc400ac789c76e915df82b0998d3fd12c89da2e8)) ### BREAKING CHANGES * - `table` tokens `header` property changed to contain an array of objects for each header cell with `text` and `tokens` properties. - `table` tokens `cells` property changed to `rows` and is an array of rows where each row contains an array of objects for each cell with `text` and `tokens` properties. v2: ```json { "type": "table", "align": [null, null], "raw": "| a | b |\n|---|---|\n| 1 | 2 |\n", "header": ["a", "b"], "cells": [["1", "2"]], "tokens": { "header": [ [{ "type": "text", "raw": "a", "text": "a" }], [{ "type": "text", "raw": "b", "text": "b" }] ], "cells": [[ [{ "type": "text", "raw": "1", "text": "1" }], [{ "type": "text", "raw": "2", "text": "2" }] ]] } } ``` v3: ```json { "type": "table", "align": [null, null], "raw": "| a | b |\n|---|---|\n| 1 | 2 |\n", "header": [ { "text": "a", "tokens": [{ "type": "text", "raw": "a", "text": "a" }] }, { "text": "b", "tokens": [{ "type": "text", "raw": "b", "text": "b" }] } ], "rows": [ { "text": "1", "tokens": [{ "type": "text", "raw": "1", "text": "1" }] }, { "text": "2", "tokens": [{ "type": "text", "raw": "2", "text": "2" }] } ] } ``` * Add module field to package.json * drop node 10 support --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 167a9a6c9a..3a808fdcd4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { "name": "marked", - "version": "2.1.3", + "version": "3.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "version": "2.1.3", + "version": "3.0.0", "license": "MIT", "bin": { "marked": "bin/marked" diff --git a/package.json b/package.json index c441072399..8e74cbf701 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "marked", "description": "A markdown parser built for speed", "author": "Christopher Jeffrey", - "version": "2.1.3", + "version": "3.0.0", "main": "./src/marked.js", "module": "./lib/marked.esm.js", "browser": "./lib/marked.js",