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
5.1.0
to
5.2.0
+4
-4
index.js
'use strict';
const gutil = require('gulp-util');
const through = require('through2');
const markdownpdf = require('markdown-pdf');
const PluginError = require('plugin-error');

@@ -14,3 +14,3 @@ module.exports = options => {

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

@@ -23,3 +23,3 @@ }

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

@@ -29,3 +29,3 @@ }

file.contents = buffer;
file.extname = '.pdf';
file.path = gutil.replaceExtension(file.path, '.pdf');
cb(null, file);

@@ -32,0 +32,0 @@ });

{
"name": "gulp-markdown-pdf",
"version": "5.1.0",
"version": "5.2.0",
"description": "Markdown to PDF",

@@ -34,4 +34,4 @@ "license": "MIT",

"dependencies": {
"gulp-util": "^3.0.0",
"markdown-pdf": "^8.0.0",
"plugin-error": "^0.1.2",
"through2": "^2.0.0"

@@ -42,5 +42,4 @@ },

"p-event": "^1.3.0",
"vinyl": "^2.1.0",
"xo": "*"
}
}