Comparing version 0.0.4 to 0.0.5
@@ -5,3 +5,3 @@ { | ||
"description": "Port of YUI CSS Compressor to NodeJS", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"homepage": "https://github.com/fmarcia/UglifyCSS", | ||
@@ -8,0 +8,0 @@ "repository": { |
@@ -19,3 +19,3 @@ #! /usr/bin/env node | ||
var sys = require('sys'), | ||
var util = require('util'), | ||
uglifycss = require('./uglifycss-lib'), | ||
@@ -43,3 +43,3 @@ options = { | ||
sys.print(uglifycss.processString(content, options) + '\n'); | ||
util.print(uglifycss.processString(content, options) + '\n'); | ||
//uglifycss.processFiles(filenames, options) + '\n'); |
#! /usr/bin/env node | ||
// var stuff | ||
var sys = require( 'sys' ), | ||
var util = require( 'util' ), | ||
fs = require( 'fs' ), | ||
@@ -29,3 +29,3 @@ uglifycss = require( './uglifycss-lib' ), | ||
if ( trim( ugly ) != trim( fs.readFileSync( file + '.min' ) ) ) { | ||
sys.puts( file + ': FAILED' ); | ||
util.puts( file + ': FAILED' ); | ||
fs.writeFile( file + '.FAILED', ugly ); | ||
@@ -40,5 +40,5 @@ failed += 1; | ||
if ( failed ) { | ||
sys.puts( total + ' tests, ' + failed + ' failed' ); | ||
util.puts( total + ' tests, ' + failed + ' failed' ); | ||
} else { | ||
sys.puts( total + ' tests, no failure!' ); | ||
util.puts( total + ' tests, no failure!' ); | ||
} |
@@ -26,3 +26,3 @@ /** | ||
var sys = require('sys'), | ||
var util = require('util'), | ||
fs = require('fs'), | ||
@@ -453,3 +453,3 @@ | ||
} catch (e) { | ||
sys.error('unable to process "' + filename + '" with ' + e); | ||
util.error('unable to process "' + filename + '" with ' + e); | ||
process.exit(1); | ||
@@ -456,0 +456,0 @@ } |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
22140
0
1