跳转至

file-entry-cache - Changelog

v5.0.1

  • Bug Fixes
  • Fix missing checksum comparison from reconcile since now we use mtime and size by default. - e858aa9, Roy Riojas, 04/02/2019 12:30:22

    Old mode using checkSum can still be used by passing the useCheckSum parameter to the create or createFromFile methods.

v5.0.0

  • Refactoring
  • Make checksum comparison optional - b0f9ae0, Roy Riojas, 03/02/2019 21:17:39

    To determine if a file has changed we were using the checksum in the newer versions, but eslint was relying on the old behavior where we use the mtime and file size to determine if a file changed. That's why we decided to make the checksum check optional.

    To use it:

    // to make the cache use the checkSum check do the following:
    var fCache = fileEntryCache.create(cacheName, dir, useCheckSum); // pass the third parameter as true
    var otherCache = fileEntryCache.createFromFile(cacheName, useCheckSum); // pass the second parameter as true
    

v4.0.0

  • Build Scripts Changes
  • use the same node versions eslint use - 563cfee, Roy Riojas, 08/01/2019 23:29:34

  • Other changes

  • Remove object-assign dependency. - d0f598e, Corey Farrell, 08/01/2019 23:09:51

    node.js >=4 is required so object-assign is no longer needed, the native Object.assign can be used instead.

v3.0.0

v2.0.0

  • Features
  • do not persist and prune removed files from cache. Relates to #2 - 408374d, Roy Riojas, 16/08/2016 15:47:58

v1.3.1

  • Build Scripts Changes
  • remove older node version - 0a26ac4, Roy Riojas, 01/08/2016 06:09:17

v1.3.0

  • Features
  • Add an option to not prune non visited keys. Closes #2 - b1a64db, Roy Riojas, 01/08/2016 05:52:12

v1.2.4

  • Enhancements
  • Expose the flat-cache instance - f34c557, royriojas, 23/09/2015 20:26:33

v1.2.3

  • Build Scripts Changes
  • update flat-cache dep - cc7b9ce, royriojas, 11/09/2015 18:04:44

v1.2.2

  • Build Scripts Changes
  • Add changelogx section to package.json - a3916ff, royriojas, 11/09/2015 18:00:26

v1.2.1

  • Build Scripts Changes
  • update flat-cache dep - e49b0d4, royriojas, 11/09/2015 17:55:25

  • Other changes

  • Update dependencies Replaced lodash.assign with smaller object-assign Fixed tests for windows - 0ad3000, Bogdan Chadkin, 11/09/2015 17:44:18

v1.2.0

  • Features
  • analyzeFiles now returns also the files that were removed - 6ac2431, royriojas, 04/09/2015 14:40:53

v1.1.1

  • Features
  • Add method to check if a file hasChanged - 3640e2b, Roy Riojas, 30/08/2015 07:33:32

v1.1.0