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

gulp-rev-lc

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-rev-lc - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

11

index.js

@@ -15,3 +15,6 @@ 'use strict';

base = base.replace(/\\/g, '/');
// if(revisionedFile.indexOf(".js")>0){
// console.log(file.cwd, file.base, path.resolve(file.cwd, file.base) )
// }
if (!filePath.startsWith(base)) {

@@ -134,5 +137,9 @@ return filePath;

const revisionedFile = relPath(path.resolve(file.cwd, file.base), path.resolve(file.cwd, file.path));
const originalFile = path.join(path.dirname(revisionedFile), path.basename(file.revOrigPath)).replace(/\\/g, '/');
var originalFile = path.join(path.dirname(revisionedFile), path.basename(file.revOrigPath)).replace(/\\/g, '/');
// manifest[originalFile] = revisionedFile;
var len = originalFile.lastIndexOf("/");
originalFile = originalFile.slice(len+1)
manifest[originalFile] = originalFile + '?v=' +file.revHash;

@@ -139,0 +146,0 @@ cb();

2

package.json

@@ -90,3 +90,3 @@ {

},
"version": "1.0.0"
"version": "1.0.1"
}
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