grunt-image-info
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "grunt-image-info", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Grunt task to generate CSS, SASS, or JSON files with image dimension info", | ||
@@ -5,0 +5,0 @@ "main": "tasks/grunt-image-info.js", |
@@ -64,2 +64,3 @@ var json2css = require('json2css'), | ||
var cacheFile = options.cacheFile; | ||
var isReadOnlyCache = !!options.readOnlyCache; | ||
@@ -184,3 +185,3 @@ if (cacheFile) { | ||
if (cacheFile) { | ||
if (cacheFile && !isReadOnlyCache) { | ||
try { | ||
@@ -187,0 +188,0 @@ fs.writeFileSync(cacheFile, JSON.stringify(newImageSizeCache)); |
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
11151
201
0