Skip to content

Commit 8858539

Browse files
addaleaxMyles Borins
authored and
Myles Borins
committed
tools: add mock-y js-yaml dependency to doctool
Add a hack js-yaml module to the doctool dependencies that simply loads the one that’s included with eslint. This helps avoiding to check in the whole dependency tree into the core repo. PR-URL: #6495 Reviewed-By: Robert Jefe Lindstaedt <robert.lindstaedt@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
1 parent cf4ffca commit 8858539

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

tools/doc/node_modules/js-yaml/index.js

+15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/doc/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"node": ">=0.6.10"
88
},
99
"dependencies": {
10-
"marked": "~0.1.9"
10+
"marked": "~0.1.9",
11+
"js-yaml": "^3.5.2"
1112
},
1213
"devDependencies": {},
1314
"optionalDependencies": {},

0 commit comments

Comments
 (0)