blogs-processor-html
Advanced tools
Comparing version 0.1.2 to 0.1.3
module.exports = function (buffer) { | ||
return new Promise((resolve, reject) => { | ||
var error; | ||
var data; | ||
let error; | ||
let data; | ||
try { | ||
@@ -6,0 +6,0 @@ buffer.toString().replace(/(^[\s\S]*?)\s*---+\s*([\s\S]*)$/, (match, head, body) => { |
{ | ||
"name": "blogs-processor-html", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "A HTML processor for blogs", | ||
@@ -5,0 +5,0 @@ "author": "Kei Ito", |
@@ -1,5 +0,5 @@ | ||
var assert = require('assert'); | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
var processor = require('..'); | ||
const assert = require('assert'); | ||
const fs = require('fs'); | ||
const path = require('path'); | ||
const processor = require('..'); | ||
@@ -6,0 +6,0 @@ it('should have title, date, html', function (done) { |
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
1668