Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jstransformer-marked

Package Overview
Dependencies
Maintainers
7
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jstransformer-marked - npm Package Compare versions

Comparing version 1.0.3 to 1.1.0

5

HISTORY.md
# 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 @@

9

index.js

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc