@cloudflare/util-markdown
Advanced tools
Comparing version 1.0.4 to 1.0.6
@@ -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) |
@@ -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", |
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
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
6171
96