mirror of
https://github.com/markedjs/marked.git
synced 2026-12-01 16:56:16 +01:00
## [18.1.1](https://github.com/markedjs/marked/compare/v18.1.0...v18.1.1) (2026-10-12) ### Bug Fixes * **cli:** honor an explicitly empty string input ([#4113](https://github.com/markedjs/marked/issues/4113)) ([ec3a4e5](https://github.com/markedjs/marked/commit/ec3a4e511aa0d60b3e9ab8aa0c769407cdaf08d9)) * end blockquote before a lazy line after a heading, hr or html block ([#4115](https://github.com/markedjs/marked/issues/4115)) ([9e64a6a](https://github.com/markedjs/marked/commit/9e64a6a3fe6b826d113fc337c21ebe345455a842)) * keep a backslash in a code span from hiding emphasis ([#4117](https://github.com/markedjs/marked/issues/4117)) ([6a57018](https://github.com/markedjs/marked/commit/6a57018fc906333d358981682fd693e4bb85940f)) * keep a decoded character reference from forming a new one ([#4111](https://github.com/markedjs/marked/issues/4111)) ([6bbac0c](https://github.com/markedjs/marked/commit/6bbac0cdb72cc3038baefe768c03f788e46126a5)), closes [#38](https://github.com/markedjs/marked/issues/38) [#112](https://github.com/markedjs/marked/issues/112) * let indented and type 3-5 html blocks interrupt a paragraph ([#4124](https://github.com/markedjs/marked/issues/4124)) ([eaa1fff](https://github.com/markedjs/marked/commit/eaa1fffb30fa334cc11ab93f1e5aaa1d2b916e7c)) * make walkTokens linear by appending values in place ([#4121](https://github.com/markedjs/marked/issues/4121)) ([627d9ae](https://github.com/markedjs/marked/commit/627d9ae4e5ea403580782a8f6e21fbc8bf56f4c1)), closes [#4120](https://github.com/markedjs/marked/issues/4120) * match pre, script, style and textarea as whole tag names ([#4114](https://github.com/markedjs/marked/issues/4114)) ([0db74cb](https://github.com/markedjs/marked/commit/0db74cb0194f3acb5a53b14a73c2cd087c3c9981)) * preserve enclosing link state after parsing images ([#4123](https://github.com/markedjs/marked/issues/4123)) ([cc07bb9](https://github.com/markedjs/marked/commit/cc07bb9cb62bfd41a724d0a426f194188d7b35c1)) * respect tab stops in list continuation indentation ([#4119](https://github.com/markedjs/marked/issues/4119)) ([4bd2528](https://github.com/markedjs/marked/commit/4bd252811fb24ca6b7e22f60c39b89efc2b265d2)) ### Performance Improvements * avoid repeated raw string copies in nested lists ([#4082](https://github.com/markedjs/marked/issues/4082)) ([7e8754d](https://github.com/markedjs/marked/commit/7e8754d60b3c37be30aa17106ada623d1f0cf9db))
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.1",
|
|
"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.11-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.11.0",
|
|
"highlight.js": "^11.12.0",
|
|
"markdown-it": "15.0.2",
|
|
"marked-highlight": "^2.2.4",
|
|
"marked-man": "^2.1.1",
|
|
"recheck": "^4.5.0",
|
|
"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: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"
|
|
}
|
|
}
|