css-asset-rebaser
Advanced tools
Comparing version 0.3.0 to 0.4.0
@@ -1,6 +0,5 @@ | ||
var PluginError = require('gulp-util').PluginError; | ||
var Transform = require('stream').Transform; | ||
var css = require('css'); | ||
var fse = require('fs-extra'); | ||
var logger = require('gulplog'); | ||
var gutil = require('gulp-util'); | ||
var path = require('path'); | ||
@@ -18,3 +17,3 @@ var util = require('util'); | ||
if (!stylesheet) { | ||
logger.warn('Parsed CSS has no stylesheet: %s', filePath); | ||
gutil.log('Parsed CSS has no stylesheet:', filePath); | ||
return declarations; | ||
@@ -25,3 +24,3 @@ } | ||
if (!rules || !rules.length) { | ||
logger.warn('Parsed CSS has no rules: %s', filePath); | ||
gutil.log('Parsed CSS has no rules:', filePath); | ||
return declarations; | ||
@@ -47,3 +46,3 @@ } | ||
var message = util.format.apply(util, arguments); | ||
return new PluginError(PLUGIN_NAME, message); | ||
return new gutil.PluginError(PLUGIN_NAME, message); | ||
} | ||
@@ -105,3 +104,3 @@ | ||
if (!originalUrl) { | ||
logger.warn('Expected url() in CSS value: %s', str); | ||
gutil.log('Expected url() in CSS value:', str); | ||
return; | ||
@@ -108,0 +107,0 @@ } |
{ | ||
"name": "css-asset-rebaser", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "Copy assets from node_modules and rewrite URLs in CSS", | ||
@@ -25,5 +25,4 @@ "main": "lib/index.js", | ||
"fs-extra": "^0.26.2", | ||
"gulp-util": "^3.0.7", | ||
"gulplog": "^1.0.0" | ||
"gulp-util": "^3.0.7" | ||
} | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
3
0
6086
126
- Removedgulplog@^1.0.0