mirror of
https://github.com/markedjs/marked.git
synced 2026-11-30 16:48:05 +01:00
## [18.1.3](https://github.com/markedjs/marked/compare/v18.1.2...v18.1.3) (2026-11-02) ### Bug Fixes * allow trailing tabs after a setext heading underline ([#4152](https://github.com/markedjs/marked/issues/4152)) ([1f1b480](https://github.com/markedjs/marked/commit/1f1b480a29644a26e70ad63cd45343e439fb12e9)) * avoid quadratic scan for unmatched emphasis delimiters ([#4103](https://github.com/markedjs/marked/issues/4103)) ([eab1e48](https://github.com/markedjs/marked/commit/eab1e483fe88e559288d3003d493bbc0ec4ecf53)), closes [#4099](https://github.com/markedjs/marked/issues/4099) * await promise arrays from walkTokens extensions ([#4153](https://github.com/markedjs/marked/issues/4153)) ([c38704c](https://github.com/markedjs/marked/commit/c38704c2faa07f9d68b278133ec668039d58149b)) * **cli:** honor defaults and config when outputting tokens ([#4146](https://github.com/markedjs/marked/issues/4146)) ([9470e8f](https://github.com/markedjs/marked/commit/9470e8f719d6b276065e277de5d9f8bca7c35c4a)) * collapse internal whitespace when normalizing link labels ([#4157](https://github.com/markedjs/marked/issues/4157)) ([02c73e8](https://github.com/markedjs/marked/commit/02c73e8e659d369f4baba41903be3ddde128f15c)) * do not allow a blank line inside a link reference definition label ([#4165](https://github.com/markedjs/marked/issues/4165)) ([f3d21af](https://github.com/markedjs/marked/commit/f3d21af0706fd6f10998e838e0841c39603689cc)) * don't treat an escaped ) or quote as an inline link or title closer ([#4151](https://github.com/markedjs/marked/issues/4151)) ([9cb84e0](https://github.com/markedjs/marked/commit/9cb84e07d18833a241f3df13d7419596f5b203ff)) * end a list item before a lazy line after an html block ([#4159](https://github.com/markedjs/marked/issues/4159)) ([7ba42f4](https://github.com/markedjs/marked/commit/7ba42f445cd88286dbad4e4104e6b3842ed814b5)) * end blockquote before a lazy line after a table ([#4161](https://github.com/markedjs/marked/issues/4161)) ([e7dcf52](https://github.com/markedjs/marked/commit/e7dcf52ddbf88171e630ec1b88d8242d67b29e0b)) * isolate extension names from Object.prototype ([#4177](https://github.com/markedjs/marked/issues/4177)) ([5cb03bd](https://github.com/markedjs/marked/commit/5cb03bd9a293976c8dd3099274cff161b08f5cb0)) * keep a block quote open after a lazy line in a nested block quote ([#4175](https://github.com/markedjs/marked/issues/4175)) ([1d7272f](https://github.com/markedjs/marked/commit/1d7272f9ca02cdef3fb2ad061fa4da38b8978661)) * only close a code fence with the opening fence character ([#4164](https://github.com/markedjs/marked/issues/4164)) ([1d4d8fe](https://github.com/markedjs/marked/commit/1d4d8fe6f5ed2a4ead1a75bf67627318ca92115a)) * preserve zero-valued custom renderer results ([#4162](https://github.com/markedjs/marked/issues/4162)) ([e43ceef](https://github.com/markedjs/marked/commit/e43ceef44a981a620072252c021f43f4e5395fc4)) * recognize task list items when a tab follows the checkbox ([#4163](https://github.com/markedjs/marked/issues/4163)) ([64a299d](https://github.com/markedjs/marked/commit/64a299def97ab8d2aa0c92458585ee894c247a5d)) * start a GFM www autolink only at a word boundary ([#4166](https://github.com/markedjs/marked/issues/4166)) ([84beefb](https://github.com/markedjs/marked/commit/84beefb3eb24dbf25c526467a2a3906b9afe11e8)) ### Performance Improvements * fix backtracking in padantic html ([#4173](https://github.com/markedjs/marked/issues/4173)) ([2d4a23c](https://github.com/markedjs/marked/commit/2d4a23c50e5c4fe64de67762d19a0c9741a811d4))
104 lines
3.3 KiB
JSON
104 lines
3.3 KiB
JSON
{
|
|
"name": "marked",
|
|
"description": "A markdown parser built for speed",
|
|
"author": "Christopher Jeffrey",
|
|
"version": "18.1.3",
|
|
"type": "module",
|
|
"main": "./lib/marked.esm.js",
|
|
"module": "./lib/marked.esm.js",
|
|
"browser": "./lib/marked.umd.js",
|
|
"types": "./lib/marked.d.ts",
|
|
"bin": {
|
|
"marked": "bin/marked.js"
|
|
},
|
|
"man": "./man/marked.1",
|
|
"files": [
|
|
"bin/",
|
|
"lib/",
|
|
"man/"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"types": "./lib/marked.d.ts",
|
|
"default": "./lib/marked.esm.js"
|
|
},
|
|
"./bin/marked": "./bin/marked.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"publishConfig": {
|
|
"provenance": true
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/markedjs/marked.git"
|
|
},
|
|
"homepage": "https://marked.js.org",
|
|
"bugs": {
|
|
"url": "https://github.com/markedjs/marked/issues"
|
|
},
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"markdown",
|
|
"markup",
|
|
"html"
|
|
],
|
|
"tags": [
|
|
"markdown",
|
|
"markup",
|
|
"html"
|
|
],
|
|
"devDependencies": {
|
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
"@markedjs/eslint-config": "^1.0.14",
|
|
"@markedjs/testutils": "18.1.1-0",
|
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
"@semantic-release/git": "^11.0.1",
|
|
"@semantic-release/github": "^12.0.10",
|
|
"@semantic-release/npm": "^13.2.0",
|
|
"@semantic-release/release-notes-generator": "^14.1.1",
|
|
"cheerio": "1.2.0",
|
|
"commonmark": "0.31.2",
|
|
"cross-env": "^10.1.0",
|
|
"dts-bundle-generator": "^9.5.1",
|
|
"esbuild": "^0.28.2",
|
|
"esbuild-plugin-umd-wrapper": "^3.0.0",
|
|
"eslint": "^10.14.0",
|
|
"highlight.js": "^11.12.0",
|
|
"markdown-it": "15.0.3",
|
|
"marked-highlight": "^2.2.4",
|
|
"marked-man": "^2.1.1",
|
|
"recheck": "^4.6.2",
|
|
"rimraf": "^6.1.3",
|
|
"semantic-release": "^25.0.9",
|
|
"titleize": "^4.0.0",
|
|
"tslib": "^2.8.1",
|
|
"typescript": "6.0.3"
|
|
},
|
|
"scripts": {
|
|
"bench": "npm run build && node test/bench.js",
|
|
"build": "npm run build:esbuild && npm run build:types && npm run build:man",
|
|
"build:docs": "npm run build && node docs/build.js",
|
|
"build:esbuild": "node esbuild.config.js",
|
|
"build:man": "marked-man man/marked.1.md > man/marked.1",
|
|
"build:reset": "rimraf ./lib ./public",
|
|
"build:types": "tsc && dts-bundle-generator --export-referenced-types --project tsconfig.json -o lib/marked.d.ts src/marked.ts",
|
|
"lint": "eslint --fix",
|
|
"rules": "node test/rules.js",
|
|
"test": "npm run build:reset && npm run build:docs && npm run test:specs && npm run test:unit && npm run test:umd && npm run test:cjs && npm run test:types && npm run test:lint",
|
|
"test:cjs": "node test/cjs-test.cjs",
|
|
"test:lint": "eslint",
|
|
"test:only": "npm run build && npm run test:specs:only && npm run test:unit:only",
|
|
"test:recheck": "node test/recheck.ts > vuln.js",
|
|
"test:specs:only": "node --test --test-only --test-reporter=spec test/run-spec-tests.js",
|
|
"test:specs": "node --test --test-reporter=spec test/run-spec-tests.js",
|
|
"test:types": "tsc --project tsconfig-type-test.json && attw -P --entrypoints . --profile esm-only",
|
|
"test:umd": "node test/umd-test.js",
|
|
"test:unit:only": "node --test --test-only --test-reporter=spec test/unit/*.test.js",
|
|
"test:unit": "node --test --test-reporter=spec test/unit/*.test.js",
|
|
"test:update": "node test/update-specs.js"
|
|
},
|
|
"engines": {
|
|
"node": ">= 20"
|
|
}
|
|
}
|