执行过npm install命令的vue-element-admin源码
edit | blame | history | raw

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](https://github.com/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](https://github.com/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](https://github.com/Roy Riojas), 08/01/2019 23:29:34

  • Other changes
  • Remove object-assign dependency. - d0f598e, [Corey Farrell](https://github.com/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