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

gulp-less-changed

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-less-changed - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

.nyc_output/40f6b71e-a29b-4d86-b2cb-c59238fad008.json

2

package.json
{
"name": "gulp-less-changed",
"version": "1.4.1",
"version": "1.4.2",
"description": "Only pass .less files through the gulp stream if they or their dependencies have changed",

@@ -5,0 +5,0 @@ "main": "release/main.js",

@@ -15,3 +15,3 @@ "use strict";

DataUriVisitor.prototype.visitCall = function (callNode) {
var _a = this.getImportInfo(callNode), ruleNode = _a.ruleNode, importedFile = _a.importedFile, entryPath = _a.entryPath;
var _a = this.getImportInfo(callNode), ruleNode = _a.ruleNode, importedFile = _a.importedFile, filePath = _a.filePath;
if (!importedFile) {

@@ -21,3 +21,3 @@ return ruleNode;

this.addImport({
directory: entryPath ? path.normalize(entryPath) : "",
directory: filePath ? path.normalize(filePath) : "",
relativePath: importedFile

@@ -45,4 +45,4 @@ });

: ruleNode.currentFileInfo;
var entryPath = fileInfo.entryPath;
return { ruleNode: ruleNode, importedFile: importedFile, entryPath: entryPath };
var filePath = fileInfo.currentDirectory;
return { ruleNode: ruleNode, importedFile: importedFile, filePath: filePath };
};

@@ -49,0 +49,0 @@ return DataUriVisitor;

Sorry, the diff of this file is too big to display

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