marked 4.0.0 → 4.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2604,7 +2604,6 @@
2604
2604
  * Options
2605
2605
  */
2606
2606
 
2607
-
2608
2607
  marked.options = marked.setOptions = function (opt) {
2609
2608
  merge(marked.defaults, opt);
2610
2609
  changeDefaults(marked.defaults);
@@ -2898,9 +2897,9 @@
2898
2897
  exports.Slugger = Slugger;
2899
2898
  exports.TextRenderer = TextRenderer;
2900
2899
  exports.Tokenizer = Tokenizer;
2901
- exports["default"] = marked;
2902
2900
  exports.getDefaults = getDefaults;
2903
2901
  exports.lexer = lexer;
2902
+ exports.marked = marked;
2904
2903
  exports.options = options;
2905
2904
  exports.parse = parse;
2906
2905
  exports.parseInline = parseInline;
package/package.json CHANGED
@@ -2,11 +2,11 @@
2
2
  "name": "marked",
3
3
  "description": "A markdown parser built for speed",
4
4
  "author": "Christopher Jeffrey",
5
- "version": "4.0.0",
5
+ "version": "4.0.4",
6
6
  "type": "module",
7
- "main": "./lib/marked.esm.js",
7
+ "main": "./lib/marked.cjs",
8
8
  "module": "./lib/marked.esm.js",
9
- "browser": "./lib/marked.cjs",
9
+ "browser": "./lib/marked.umd.js",
10
10
  "bin": {
11
11
  "marked": "bin/marked.js"
12
12
  },
@@ -49,26 +49,26 @@
49
49
  "@rollup/plugin-commonjs": "^21.0.1",
50
50
  "@semantic-release/commit-analyzer": "^9.0.1",
51
51
  "@semantic-release/git": "^10.0.1",
52
- "@semantic-release/github": "^8.0.1",
53
- "@semantic-release/npm": "^8.0.2",
52
+ "@semantic-release/github": "^8.0.2",
53
+ "@semantic-release/npm": "^8.0.3",
54
54
  "@semantic-release/release-notes-generator": "^10.0.2",
55
55
  "cheerio": "^1.0.0-rc.10",
56
56
  "commonmark": "0.30.0",
57
- "eslint": "^8.1.0",
57
+ "eslint": "^8.2.0",
58
58
  "eslint-config-standard": "^16.0.3",
59
- "eslint-plugin-import": "^2.25.2",
59
+ "eslint-plugin-import": "^2.25.3",
60
60
  "eslint-plugin-node": "^11.1.0",
61
61
  "eslint-plugin-promise": "^5.1.1",
62
62
  "front-matter": "^4.0.2",
63
63
  "highlight.js": "^11.3.1",
64
64
  "jasmine": "^3.10.0",
65
65
  "markdown-it": "12.2.0",
66
- "node-fetch": "^3.0.0",
67
- "rollup": "^2.59.0",
66
+ "node-fetch": "^3.1.0",
67
+ "rollup": "^2.60.0",
68
68
  "rollup-plugin-license": "^2.6.0",
69
69
  "semantic-release": "^18.0.0",
70
- "titleize": "^2.1.0",
71
- "uglify-js": "^3.14.2",
70
+ "titleize": "^3.0.0",
71
+ "uglify-js": "^3.14.3",
72
72
  "vuln-regex-detector": "^1.3.0"
73
73
  },
74
74
  "scripts": {
@@ -82,13 +82,13 @@
82
82
  "rules": "node test/rules.js",
83
83
  "bench": "npm run rollup && node test/bench.js",
84
84
  "lint": "eslint --fix .",
85
- "build:reset": "git checkout upstream/master lib/marked.cjs lib/marked.esm.js marked.min.js",
85
+ "build:reset": "git checkout upstream/master lib/marked.cjs lib/marked.umd.js lib/marked.esm.js marked.min.js",
86
86
  "build": "npm run rollup && npm run minify",
87
87
  "build:docs": "node build-docs.js",
88
88
  "rollup": "npm run rollup:umd && npm run rollup:esm",
89
89
  "rollup:umd": "rollup -c rollup.config.js",
90
90
  "rollup:esm": "rollup -c rollup.config.esm.js",
91
- "minify": "uglifyjs lib/marked.cjs -cm --comments /Copyright/ -o marked.min.js",
91
+ "minify": "uglifyjs lib/marked.umd.js -cm --comments /Copyright/ -o marked.min.js",
92
92
  "preversion": "npm run build && (git diff --quiet || git commit -am build)"
93
93
  },
94
94
  "engines": {