This repository has been archived on 2020-11-02. You can view files and clone it, but cannot push or open issues or pull requests.
TripSit_Suite/node_modules/file-entry-cache/changelog.md
2020-11-01 22:46:04 +00:00

7.3 KiB
Raw Blame History

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. Thats 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
  • 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

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

v1.2.3

  • Build Scripts Changes

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
  • 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