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

gulp-html-dependencies

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-html-dependencies - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

.travis.yml

6

index.js

@@ -19,3 +19,3 @@ /**

, fs = require('fs')
, url = require('resolve');
, url = require('url');

@@ -35,3 +35,3 @@ const PLUGIN_NAME = 'gulp-html-dependencies';

file.contents = new Buffer(file.contents.toString().replace(REGEX, (match, attr, quote, url, pathname, engine, filename) => {
file.contents = new Buffer(file.contents.toString().replace(REGEX, (match, attr, quote, uri, pathname, engine, filename) => {
const f = options.flat ? path.basename(filename) : filename;

@@ -43,3 +43,3 @@ const dest_file = path.join(dest, f);

mkdirp.sync(path.dirname(dest_file));
fs.createReadStream(path.resolve(path.dirname(file.path), url))
fs.createReadStream(path.resolve(path.dirname(file.path), uri))
.pipe(fs.createWriteStream(dest_file));

@@ -46,0 +46,0 @@ } catch(err) {

{
"name": "gulp-html-dependencies",
"version": "1.0.2",
"version": "1.0.3",
"description": "Parse your HTML file and copy bower/npm files to your destination directory",

@@ -5,0 +5,0 @@ "main": "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