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

gulp-manifest

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-manifest - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

LICENSE

8

index.js

@@ -7,3 +7,2 @@ "use strict";

path = require('path'),
slash = require('slash'),
minimatch = require('minimatch'),

@@ -43,3 +42,3 @@ lineBreak = '\n';

function writeToManifest(file) {
var prefix, path;
var prefix, filepath;

@@ -56,7 +55,6 @@ if (file.isNull()) return;

prefix = options.prefix || '';
filepath = prefix + file.relative;
path = prefix + slash(file.path).replace(new RegExp('^' + cwd + '/'), '').replace(new RegExp('^' + options.basePath), '');
contents.push(encodeURI(file.relative));
contents.push(encodeURI(path));
if (options.hash) {

@@ -63,0 +61,0 @@ hasher.update(file.contents, 'binary');

{
"name": "gulp-manifest",
"version": "0.0.8",
"version": "0.0.9",
"description": "Generate HTML5 Cache Manifest files",

@@ -33,3 +33,2 @@ "main": "index.js",

"gulp-util": "~2.2.6",
"slash": "^0.1.1",
"minimatch": "~2.0.1"

@@ -36,0 +35,0 @@ },

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