jstransformer-marked
Advanced tools
+2
-1
@@ -5,5 +5,6 @@ 'use strict'; | ||
| exports.name = 'marked'; | ||
| exports.outputFormat = 'html'; | ||
| exports.compile = function (str, options) { | ||
| exports.render = function (str, options) { | ||
| return marked(str, options); | ||
| }; |
+2
-2
| { | ||
| "name": "jstransformer-marked", | ||
| "version": "0.0.0", | ||
| "version": "0.0.1", | ||
| "description": "Transform markdown into HTML using marked", | ||
@@ -20,2 +20,2 @@ "keywords": [ | ||
| "license": "MIT" | ||
| } | ||
| } |
+1
-1
@@ -11,3 +11,3 @@ 'use strict'; | ||
| var output = transform.compile(input); | ||
| var output = transform.render(input); | ||
| fs.writeFileSync(__dirname + '/output.html', output); | ||
@@ -14,0 +14,0 @@ assert(output === expected, 'output.html should equal expected.html'); |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
2977
0.74%17
6.25%