gulp-deploy-http-push
Advanced tools
Comparing version 0.2.1 to 0.3.0
@@ -0,1 +1,8 @@ | ||
# [0.3.0](https://github.com/searchfe/gulp-deploy-http-push/compare/v0.2.1...v0.3.0) (2019-11-01) | ||
### Features | ||
* upgrade cache ([f349fd9](https://github.com/searchfe/gulp-deploy-http-push/commit/f349fd96468c1529e954c06b7e5957471a49b84a)) | ||
## [0.2.1](https://github.com/searchfe/gulp-deploy-http-push/compare/v0.2.0...v0.2.1) (2019-10-28) | ||
@@ -2,0 +9,0 @@ |
@@ -13,3 +13,3 @@ "use strict"; | ||
function saveCache(file, cachePath) { | ||
fs_extra_1.writeFileSync(path_1.resolve(cachePath + '/' + getMd5(file.path + file.stat.mtimeMs)), ''); | ||
fs_extra_1.writeFileSync(path_1.resolve(cachePath + '/' + getMd5(file.path + file.stat.mtimeMs + file.stat.ctimeMs)), ''); | ||
} | ||
@@ -27,4 +27,4 @@ exports.saveCache = saveCache; | ||
function hasCache(cachePath, file) { | ||
return fs_extra_1.pathExistsSync(path_1.resolve(cachePath + '/' + getMd5(file.path + file.stat.mtimeMs))); | ||
return fs_extra_1.pathExistsSync(path_1.resolve(cachePath + '/' + getMd5(file.path + file.stat.mtimeMs + file.stat.ctimeMs))); | ||
} | ||
exports.hasCache = hasCache; |
{ | ||
"name": "gulp-deploy-http-push", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"discription": "gulp-deploy-http-push", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
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
648658