Files
marked/package.json
T
semantic-release-bot 5beecae42b chore(release): 18.1.2 [skip ci]
## [18.1.2](https://github.com/markedjs/marked/compare/v18.1.1...v18.1.2) (2026-10-26)

### Bug Fixes

* allow a tab or end of input after a type 6 html block tag name ([#4128](https://github.com/markedjs/marked/issues/4128)) ([e09c40d](https://github.com/markedjs/marked/commit/e09c40dfc78aa284a33b11a65bc5e16365069f46))
* apply emphasis flanking and rules 9-10 to the whole delimiter run ([#4145](https://github.com/markedjs/marked/issues/4145)) ([5d8e234](https://github.com/markedjs/marked/commit/5d8e2340d78c25c611e1d8215b302fd48f01a601))
* **cli:** await config functions before parsing ([#4138](https://github.com/markedjs/marked/issues/4138)) ([3a11ad1](https://github.com/markedjs/marked/commit/3a11ad148397b7628256f5e5d76a454213480c63))
* **cli:** create no-clobber output files atomically ([#4135](https://github.com/markedjs/marked/issues/4135)) ([e7c4f64](https://github.com/markedjs/marked/commit/e7c4f64c433c46044fc1aba451ab1c162af704a7))
* do not continue a block quote paragraph from a whitespace-only line ([#4134](https://github.com/markedjs/marked/issues/4134)) ([42f34a8](https://github.com/markedjs/marked/commit/42f34a8411c4c14ca2019d69e6b1771f663248f9))
* expand a tab after the block quote marker to the next tab stop ([#4110](https://github.com/markedjs/marked/issues/4110)) ([2d3899b](https://github.com/markedjs/marked/commit/2d3899bf7c9e604805c4937b16dd0022480e64ce))
* honor per-call async options when composing hooks ([#4139](https://github.com/markedjs/marked/issues/4139)) ([379be9d](https://github.com/markedjs/marked/commit/379be9d65609d4c8c017ac873801573fe77420d4))
* keep a line starting with # but no space in the list item ([#4127](https://github.com/markedjs/marked/issues/4127)) ([6b63189](https://github.com/markedjs/marked/commit/6b63189546f7dd842adac65c799c749a00bdd598))
* keep duplicate link definitions in the tokens ([#4132](https://github.com/markedjs/marked/issues/4132)) ([2784acc](https://github.com/markedjs/marked/commit/2784acce375c8529071c04ae90a05814d02fad7a))
* keep lazy lines after a list in a nested blockquote ([#4137](https://github.com/markedjs/marked/issues/4137)) ([38c7e55](https://github.com/markedjs/marked/commit/38c7e552072e60681369c4ea393787f49fd761bb))
* keep lazy setext underlines in list items as text ([#4126](https://github.com/markedjs/marked/issues/4126)) ([398234c](https://github.com/markedjs/marked/commit/398234ccea3b3a4f2353fef1decda29a60f29486))
* render nested image alt formatting as plain text ([#4131](https://github.com/markedjs/marked/issues/4131)) ([15f59bb](https://github.com/markedjs/marked/commit/15f59bb88bd462876cbc3af075baf73ec9337e31))
* stop an unclosed inline raw tag from unescaping later blocks ([#4130](https://github.com/markedjs/marked/issues/4130)) ([4562b6f](https://github.com/markedjs/marked/commit/4562b6f97988a75a9f20234626f8bbaab72af927))

### Performance Improvements

* ~16% faster parsing by skipping em/strong masking for runs without *, _ or ~ ([#4142](https://github.com/markedjs/marked/issues/4142)) ([f0fd3e0](https://github.com/markedjs/marked/commit/f0fd3e0e22c1acc7b5a65ebfe54138af38955e10))
2026-10-26 14:54:00 +00:00

104 lines
3.3 KiB
JSON

{
"name": "marked",
"description": "A markdown parser built for speed",
"author": "Christopher Jeffrey",
"version": "18.1.2",
"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.13.0",
"highlight.js": "^11.12.0",
"markdown-it": "15.0.3",
"marked-highlight": "^2.2.4",
"marked-man": "^2.1.1",
"recheck": "^4.6.1",
"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"
}
}