mirror of
https://github.com/markedjs/marked.git
synced 2026-12-01 16:56:16 +01:00
# [18.1.0](https://github.com/markedjs/marked/compare/v18.0.14...v18.1.0) (2026-10-05) ### Bug Fixes * avoid cubic backtracking on unicode whitespace in a link destination ([#4106](https://github.com/markedjs/marked/issues/4106)) ([0d20220](https://github.com/markedjs/marked/commit/0d2022025d3cd44750a3ffbb77e2da60635589ee)) * load CLI configs with top-level await ([#4100](https://github.com/markedjs/marked/issues/4100)) ([c61543e](https://github.com/markedjs/marked/commit/c61543ed0f16121ace9255626abcafe9514cb1b0)) * reject unbalanced parentheses in link destinations ([#4107](https://github.com/markedjs/marked/issues/4107)) ([3363c99](https://github.com/markedjs/marked/commit/3363c9992123c5d5514a9251fcb01f75d811e660)) ### Features * add linkParenPossible to lexer state to fail fast for link token generation ([#4070](https://github.com/markedjs/marked/issues/4070)) ([4ee44f7](https://github.com/markedjs/marked/commit/4ee44f7f2167bec4079255e32b520dd47f16486c))
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.0",
|
|
"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"
|
|
}
|
|
}
|