gulp-manifest
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -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 @@ }, |
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
15098
3
6
282
- Removedslash@^0.1.1
- Removedslash@0.1.3(transitive)