jstransformer-marked
Advanced tools
Comparing version 1.0.2 to 1.0.3
# Changelog | ||
## v1.0.3: 2017-12-04 | ||
- Updated marked to 0.3.9 | ||
- Updated Boilerplate | ||
## v1.0.2: 2016-12-06 | ||
@@ -4,0 +9,0 @@ |
14
index.js
@@ -1,10 +0,10 @@ | ||
'use strict'; | ||
'use strict' | ||
var marked = require('marked'); | ||
var marked = require('marked') | ||
exports.name = 'marked'; | ||
exports.outputFormat = 'html'; | ||
exports.inputFormats = ['marked', 'markdown', 'md']; | ||
exports.name = 'marked' | ||
exports.outputFormat = 'html' | ||
exports.inputFormats = ['marked', 'markdown', 'md'] | ||
exports.render = function (str, options) { | ||
return marked(str, options); | ||
}; | ||
return marked(str, options) | ||
} |
{ | ||
"name": "jstransformer-marked", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Marked support for JSTransformers.", | ||
@@ -9,3 +9,3 @@ "keywords": [ | ||
"dependencies": { | ||
"marked": "^0.3.6" | ||
"marked": "^0.3.9" | ||
}, | ||
@@ -16,10 +16,12 @@ "files": [ | ||
"devDependencies": { | ||
"test-jstransformer": "^1.0.0" | ||
"test-jstransformer": "^1.0.0", | ||
"xo": "*" | ||
}, | ||
"scripts": { | ||
"coverage": "test-jstransformer coverage", | ||
"test": "test-jstransformer" | ||
"test": "test-jstransformer", | ||
"posttest": "xo --space --no-semicolon index.js" | ||
}, | ||
"engines": { | ||
"node": ">= 4" | ||
"node": ">=4" | ||
}, | ||
@@ -26,0 +28,0 @@ "repository": { |
@@ -8,2 +8,3 @@ # jstransformer-marked | ||
[![Dependency Status](https://img.shields.io/david/jstransformers/jstransformer-marked/master.svg)](http://david-dm.org/jstransformers/jstransformer-marked) | ||
[![Greenkeeper badge](https://badges.greenkeeper.io/jstransformers/jstransformer-marked.svg)](https://greenkeeper.io/) | ||
[![NPM version](https://img.shields.io/npm/v/jstransformer-marked.svg)](https://www.npmjs.org/package/jstransformer-marked) | ||
@@ -18,3 +19,3 @@ | ||
```js | ||
var marked = require('jstransformer')(require('jstransformer-marked')); | ||
let marked = require('jstransformer')(require('jstransformer-marked')); | ||
@@ -21,0 +22,0 @@ marked.render('# Hello World!').body |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
3545
27
1
2
Updatedmarked@^0.3.9