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

@shogobg/markdown2confluence

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shogobg/markdown2confluence - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

8

index.js

@@ -1,3 +0,2 @@

const {options} = require('marked');
const marked = require('marked');
const {options, marked} = require('marked');
const qs = require('querystring');

@@ -57,3 +56,4 @@

html: function (text) {
const regex = /<([\w]+)\s*[\w=]*"?([\/:\s\w=\-@\.\&\?\%]*)"?>([\/:\s\w.!?\\<>\-]*)(<\/\1>)?/gi;
const regex =
/<([\w]+)\s*[\w=]*"?([\/:\s\w=\-@\.\&\?\%]*)"?>([\/:\s\w.!?\\<>\-]*)(<\/\1>)?/gi;

@@ -420,5 +420,5 @@ // We need special handling for anchors

return marked(markdown.toString());
return marked.parse(markdown.toString());
};
module.exports = markdown2confluence;
{
"name": "@shogobg/markdown2confluence",
"version": "0.1.6",
"version": "0.1.7",
"description": "Convert Markdown to Confluence markup",

@@ -12,3 +12,3 @@ "main": "index.js",

"dependencies": {
"marked": "^2.0.0"
"marked": "^4.0.0"
},

@@ -15,0 +15,0 @@ "engines": {

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