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

@cloudflare/util-markdown

Package Overview
Dependencies
Maintainers
26
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudflare/util-markdown - npm Package Compare versions

Comparing version 1.0.4 to 1.0.6

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

<a name="1.0.6"></a>
## [1.0.6](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/util-markdown@1.0.4...@cloudflare/util-markdown@1.0.6) (2018-06-07)
**Note:** Version bump only for package @cloudflare/util-markdown
<a name="1.0.4"></a>

@@ -8,0 +16,0 @@ ## [1.0.4](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/util-markdown@1.0.2...@cloudflare/util-markdown@1.0.4) (2018-06-07)

12

es/index.js

@@ -1,11 +0,3 @@

Object.defineProperty(exports, "__esModule", {
value: true
});
import markdown from './markdown';
var _markdown = require('./markdown');
var _markdown2 = _interopRequireDefault(_markdown);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = _markdown2.default;
export default markdown;

@@ -1,17 +0,6 @@

Object.defineProperty(exports, "__esModule", {
value: true
});
import marked from 'marked';
import memoize from 'lodash.memoize';
var _marked = require('marked');
var _marked2 = _interopRequireDefault(_marked);
var _lodash = require('lodash.memoize');
var _lodash2 = _interopRequireDefault(_lodash);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
// Setup default options.
_marked2.default.setOptions({
marked.setOptions({
tables: false,

@@ -25,3 +14,3 @@ breaks: true,

var memoizedMarked = (0, _lodash2.default)(_marked2.default);
var memoizedMarked = memoize(marked);

@@ -43,5 +32,5 @@ /**

return opts ? (0, _marked2.default)(str, markedOpts) : memoizedMarked(str);
return opts ? marked(str, markedOpts) : memoizedMarked(str);
}
exports.default = markdown;
export default markdown;

@@ -27,3 +27,3 @@ 'use strict';

var memoizedMarked = (0, _lodash2.default)(_marked2.default);
const memoizedMarked = (0, _lodash2.default)(_marked2.default);

@@ -38,3 +38,3 @@ /**

function markdown(str, opts) {
var markedOpts = {};
const markedOpts = {};

@@ -41,0 +41,0 @@ if (opts) {

{
"name": "@cloudflare/util-markdown",
"description": "Cloudflare Markdown Util",
"version": "1.0.4",
"version": "1.0.6",
"main": "lib/index.js",

@@ -6,0 +6,0 @@ "module": "es/index.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