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

grunt-css-urls

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

grunt-css-urls - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "grunt-css-urls",
"description": "Grunt task to make css urls relative to a main css file with @import rules",
"version": "0.1.0",
"version": "0.1.1",
"homepage": "https://github.com/Ideame/grunt-css-urls",

@@ -6,0 +6,0 @@ "author": {

@@ -13,3 +13,10 @@ /*

var importFile = this.file.src;
var baseDir = path.dirname(__dirname + '/' + this.file.src);
var writeln = (this.data.safe) ? grunt.logwriteln : grunt.fail.warn ;
if (!fs.existsSync(this.file.src)){
return writeln("Specified file not found: " + this.file.src);
}
var baseDir = path.dirname(grunt.file.expandFileURLs(this.file.src)[0]).replace('file://', '');
var importContents = grunt.file.read(importFile);

@@ -16,0 +23,0 @@

Sorry, the diff of this file is not supported yet

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