New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@orchitech/turndown

Package Overview
Dependencies
Maintainers
4
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@orchitech/turndown - npm Package Compare versions

Comparing version 6.0.1-orchi.1 to 6.0.1-orchi.2

7

dist/turndown.js

@@ -286,4 +286,7 @@ var TurndownService = (function () {

replacement: function (content) {
if (!content.trim()) return ''
replacement: function (content, node, options) {
if (options.preformattedCode) {
content = content.replace(/^\n+|\n+$/g, '').replace(/\n/, ' ');
}
if (options.preformattedCode ? !content : !content.trim()) return ''

@@ -290,0 +293,0 @@ var delimiter = '`';

@@ -285,4 +285,7 @@ 'use strict';

replacement: function (content) {
if (!content.trim()) return ''
replacement: function (content, node, options) {
if (options.preformattedCode) {
content = content.replace(/^\n+|\n+$/g, '').replace(/\n/, ' ');
}
if (options.preformattedCode ? !content : !content.trim()) return ''

@@ -289,0 +292,0 @@ var delimiter = '`';

@@ -283,4 +283,7 @@ function extend (destination) {

replacement: function (content) {
if (!content.trim()) return ''
replacement: function (content, node, options) {
if (options.preformattedCode) {
content = content.replace(/^\n+|\n+$/g, '').replace(/\n/, ' ');
}
if (options.preformattedCode ? !content : !content.trim()) return ''

@@ -287,0 +290,0 @@ var delimiter = '`';

@@ -289,4 +289,7 @@ (function (global, factory) {

replacement: function (content) {
if (!content.trim()) return ''
replacement: function (content, node, options) {
if (options.preformattedCode) {
content = content.replace(/^\n+|\n+$/g, '').replace(/\n/, ' ');
}
if (options.preformattedCode ? !content : !content.trim()) return ''

@@ -293,0 +296,0 @@ var delimiter = '`';

@@ -285,4 +285,7 @@ 'use strict';

replacement: function (content) {
if (!content.trim()) return ''
replacement: function (content, node, options) {
if (options.preformattedCode) {
content = content.replace(/^\n+|\n+$/g, '').replace(/\n/, ' ');
}
if (options.preformattedCode ? !content : !content.trim()) return ''

@@ -289,0 +292,0 @@ var delimiter = '`';

@@ -283,4 +283,7 @@ function extend (destination) {

replacement: function (content) {
if (!content.trim()) return ''
replacement: function (content, node, options) {
if (options.preformattedCode) {
content = content.replace(/^\n+|\n+$/g, '').replace(/\n/, ' ');
}
if (options.preformattedCode ? !content : !content.trim()) return ''

@@ -287,0 +290,0 @@ var delimiter = '`';

@@ -289,4 +289,7 @@ (function (global, factory) {

replacement: function (content) {
if (!content.trim()) return ''
replacement: function (content, node, options) {
if (options.preformattedCode) {
content = content.replace(/^\n+|\n+$/g, '').replace(/\n/, ' ');
}
if (options.preformattedCode ? !content : !content.trim()) return ''

@@ -293,0 +296,0 @@ var delimiter = '`';

{
"name": "@orchitech/turndown",
"description": "A library that converts HTML to Markdown",
"version": "6.0.1-orchi.1",
"version": "6.0.1-orchi.2",
"author": "Dom Christie + patches by Orchitech",

@@ -6,0 +6,0 @@ "main": "lib/turndown.cjs.js",

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