Files
marked/package.json
T
semantic-release-bot a8971a1d76 chore(release): 18.0.7 [skip ci]
## [18.0.7](https://github.com/markedjs/marked/compare/v18.0.6...v18.0.7) (2026-07-21)

### Bug Fixes

* Avoid O(n^2) backtracking in HTML block close and tilde interrupt regexes ([#4014](https://github.com/markedjs/marked/issues/4014)) ([f945fc5](https://github.com/markedjs/marked/commit/f945fc5e106c9bbeac833c60edc543aa5ab3222c)), closes [#3991](https://github.com/markedjs/marked/issues/3991)
* Avoid O(n^2) masked source rebuild in inline tokenizer ([#4017](https://github.com/markedjs/marked/issues/4017)) ([9154f8f](https://github.com/markedjs/marked/commit/9154f8f3cb2fa136d85b61e1eacc4ef381a3b629))
* keep empty list after blockquote as a sibling block ([#4004](https://github.com/markedjs/marked/issues/4004)) ([3f144a0](https://github.com/markedjs/marked/commit/3f144a0e93b515877d5f55b92039d87eea9a6b04))
* preserve code spans adjacent to tildes ([#4012](https://github.com/markedjs/marked/issues/4012)) ([0de7188](https://github.com/markedjs/marked/commit/0de7188bf1f30511490c961d53865390e7ede956))
* Recognize setext headings whose first line starts with # ([#4015](https://github.com/markedjs/marked/issues/4015)) ([f056437](https://github.com/markedjs/marked/commit/f056437b389407ab3a29fe9cb61a989f043edb3e)), closes [#1](https://github.com/markedjs/marked/issues/1)
* treat a line of only tabs as a blank line between paragraphs ([#4007](https://github.com/markedjs/marked/issues/4007)) ([bc2f121](https://github.com/markedjs/marked/commit/bc2f121456d152fafd7d2cbd2c21b273ca4c6862))
2026-07-21 01:50:31 +00:00

104 lines
3.3 KiB
JSON

{
"name": "marked",
"description": "A markdown parser built for speed",
"author": "Christopher Jeffrey",
"version": "18.0.7",
"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.0.0-1",
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^12.0.9",
"@semantic-release/npm": "^13.1.5",
"@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.1",
"esbuild-plugin-umd-wrapper": "^3.0.0",
"eslint": "^10.7.0",
"highlight.js": "^11.11.1",
"markdown-it": "14.3.0",
"marked-highlight": "^2.2.4",
"marked-man": "^2.1.1",
"recheck": "^4.5.0",
"rimraf": "^6.1.3",
"semantic-release": "^25.0.8",
"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:redos": "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"
}
}