jstransformer-marked
Advanced tools
Comparing version 1.0.3 to 1.1.0
# Changelog | ||
## v1.1.0: 2021-12-16 | ||
- Updated marked to 2.1.0 | ||
- Dropped support for Node < 8.16.2 | ||
## v1.0.3: 2017-12-04 | ||
@@ -4,0 +9,0 @@ |
@@ -1,10 +0,9 @@ | ||
'use strict' | ||
// Marked 2.1.0 is Node 8 compatible only when required from the lib folder | ||
const marked = require('marked/lib/marked') | ||
var marked = require('marked') | ||
exports.name = 'marked' | ||
exports.outputFormat = 'html' | ||
exports.inputFormats = ['marked', 'markdown', 'md'] | ||
exports.render = function (str, options) { | ||
return marked(str, options) | ||
exports.render = function (string, options) { | ||
return marked(string, options) | ||
} |
{ | ||
"name": "jstransformer-marked", | ||
"version": "1.0.3", | ||
"version": "1.1.0", | ||
"description": "Marked support for JSTransformers.", | ||
@@ -9,3 +9,3 @@ "keywords": [ | ||
"dependencies": { | ||
"marked": "^0.3.9" | ||
"marked": "^2.1.0" | ||
}, | ||
@@ -17,11 +17,10 @@ "files": [ | ||
"test-jstransformer": "^1.0.0", | ||
"xo": "*" | ||
"xo": "^0.25.4" | ||
}, | ||
"scripts": { | ||
"coverage": "test-jstransformer coverage", | ||
"test": "test-jstransformer", | ||
"posttest": "xo --space --no-semicolon index.js" | ||
"posttest": "xo --space=2 --no-semicolon index.js" | ||
}, | ||
"engines": { | ||
"node": ">=4" | ||
"node": ">=8.16.2" | ||
}, | ||
@@ -28,0 +27,0 @@ "repository": { |
@@ -8,3 +8,2 @@ # 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) | ||
@@ -11,0 +10,0 @@ |
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
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
3559
26
2
+ Addedmarked@2.1.3(transitive)
- Removedmarked@0.3.19(transitive)
Updatedmarked@^2.1.0