Comparing version 0.4.5 to 0.4.6
@@ -66,2 +66,7 @@ "use strict"; | ||
// do not handle css inlined data | ||
if (virtualPath.startsWith("data:")) { | ||
return virtualPath; | ||
} | ||
var entry = processEntry(physicalPath, baseDir, targetDir, data); | ||
@@ -204,2 +209,4 @@ if (!entry) { | ||
transformedText = null; | ||
} else if (entry.transformedText) { | ||
fsutil.writeFileSync(entry.hashedPathPhysical, entry.transformedText, "utf8"); | ||
} else { | ||
@@ -206,0 +213,0 @@ fsutil.copySync(entry.pathPhysical, entry.hashedPathPhysical); |
@@ -6,3 +6,4 @@ "use strict"; | ||
"json": true, | ||
"tab": true | ||
"tab": true, | ||
"json-object": true | ||
}; | ||
@@ -9,0 +10,0 @@ |
{ | ||
"name": "hashly", | ||
"version": "0.4.5", | ||
"version": "0.4.6", | ||
"description": "Renames static files with a hashcode for cache busting", | ||
@@ -5,0 +5,0 @@ "directories": { |
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
93206
20
880