file-entry-cache 6.0.0 → 6.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cache.js CHANGED
@@ -234,6 +234,8 @@ module.exports = {
234
234
  var contentBuffer = fs.readFileSync(cacheEntry.key);
235
235
  var hash = this.getHash(contentBuffer);
236
236
  var meta = Object.assign(cacheEntry.meta, { hash: hash });
237
+ delete meta.size;
238
+ delete meta.mtime;
237
239
  return meta;
238
240
  },
239
241
 
@@ -243,6 +245,7 @@ module.exports = {
243
245
  size: stat.size,
244
246
  mtime: stat.mtime.getTime(),
245
247
  });
248
+ delete meta.hash;
246
249
  return meta;
247
250
  },
248
251
 
package/changelog.md CHANGED
@@ -1,5 +1,13 @@
1
1
 
2
2
  # file-entry-cache - Changelog
3
+ ## v6.0.1
4
+ - **Other changes**
5
+ - Delete previous mtime when checksum is used and vice versa - [abcf0f9]( https://github.com/royriojas/file-entry-cache/commit/abcf0f9 ), [Milos Djermanovic](https://github.com/Milos Djermanovic), 19/02/2021 18:19:43
6
+
7
+
8
+ - Adds travis jobs on ppc64le - [92e4d4a]( https://github.com/royriojas/file-entry-cache/commit/92e4d4a ), [dineshks1](https://github.com/dineshks1), 25/11/2020 04:52:11
9
+
10
+
3
11
  ## v6.0.0
4
12
  - **Refactoring**
5
13
  - Align file-entry-cache with latest eslint - [4c6f1fb]( https://github.com/royriojas/file-entry-cache/commit/4c6f1fb ), [Roy Riojas](https://github.com/Roy Riojas), 08/11/2020 02:43:09
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "file-entry-cache",
3
- "version": "6.0.0",
3
+ "version": "6.0.1",
4
4
  "description": "Super simple cache for file metadata, useful for process that work o a given series of files and that only need to repeat the job on the changed ones since the previous run of the process",
5
5
  "repository": "royriojas/file-entry-cache",
6
6
  "license": "MIT",