normalize-agent
Advanced tools
Comparing version 0.1.6 to 0.1.7
@@ -105,3 +105,4 @@ | ||
// save to a temporary file first | ||
var tmp = path.resolve(path.dirname(filename), '.' + path.basename(filename)) | ||
var tmp = path.resolve(path.dirname(filename), | ||
'.' + random() + '.' + path.basename(filename)) | ||
yield write(stream, tmp) | ||
@@ -129,3 +130,5 @@ // rename on success | ||
// lookup symlink | ||
var symlink = path.resolve(path.dirname(filename), '.source.' + path.basename(filename)) | ||
var symlink = path.resolve( | ||
path.dirname(filename), | ||
'.source.' + path.basename(filename)) | ||
debug('looking up symlink %s', symlink) | ||
@@ -175,1 +178,5 @@ try { | ||
} | ||
function random() { | ||
return Math.random().toString(36).slice(2) | ||
} |
{ | ||
"name": "normalize-agent", | ||
"description": "SPDY client for normalize-proxy", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Jonathan Ong", |
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
28659
745