Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

gulp-markdown-pdf

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-markdown-pdf - npm Package Compare versions

Comparing version
7.0.0
to
8.0.0
+5
-5
index.js

@@ -7,5 +7,5 @@ 'use strict';

module.exports = options => {
return through.obj((file, enc, cb) => {
return through.obj((file, encoding, callback) => {
if (file.isNull()) {
cb(null, file);
callback(null, file);
return;

@@ -15,3 +15,3 @@ }

if (file.isStream()) {
cb(new PluginError('gulp-markdown-pdf', 'Streaming not supported'));
callback(new PluginError('gulp-markdown-pdf', 'Streaming not supported'));
return;

@@ -24,3 +24,3 @@ }

if (error) {
cb(new PluginError('gulp-markdown-pdf', error, {fileName: file.path}));
callback(new PluginError('gulp-markdown-pdf', error, {fileName: file.path}));
return;

@@ -31,5 +31,5 @@ }

file.extname = '.pdf';
cb(null, file);
callback(null, file);
});
});
};
{
"name": "gulp-markdown-pdf",
"version": "7.0.0",
"version": "8.0.0",
"description": "Markdown to PDF",

@@ -13,3 +13,3 @@ "license": "MIT",

"engines": {
"node": ">=6"
"node": ">=8"
},

@@ -35,3 +35,3 @@ "scripts": {

"dependencies": {
"markdown-pdf": "^9.0.0",
"markdown-pdf": "^10.0.0",
"plugin-error": "^1.0.0",

@@ -41,10 +41,15 @@ "through2": "^3.0.0"

"devDependencies": {
"ava": "^0.25.0",
"p-event": "^2.1.0",
"ava": "^2.4.0",
"p-event": "^4.1.0",
"vinyl": "^2.1.0",
"xo": "^0.23.0"
"xo": "^0.25.3"
},
"peerDependencies": {
"gulp": ">=4"
},
"peerDependenciesMeta": {
"gulp": {
"optional": true
}
}
}

@@ -21,3 +21,3 @@ # gulp-markdown-pdf [![Build Status](https://travis-ci.org/sindresorhus/gulp-markdown-pdf.svg?branch=master)](https://travis-ci.org/sindresorhus/gulp-markdown-pdf)

gulp.task('default', () =>
exports.default = () => (
gulp.src('intro.md')

@@ -32,9 +32,4 @@ .pipe(markdownPdf())

### markdownPdf([options])
### markdownPdf(options?)
See the `markdown-pdf` [options](https://github.com/alanshaw/markdown-pdf#options).
## License
MIT © [Sindre Sorhus](https://sindresorhus.com)