Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Commit

Permalink
[modules] fix lru-cache initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
ArmorDarks committed Aug 3, 2019
1 parent 53144c6 commit 9c4e292
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@

### Fixed
- [modules] Fixed `grunt-jspm` not counting built files properly.
- [modules] Fixed `lru-cache` initialization — newer versions should always use `new` keyword.

## [1.14.1](https://github.com/LotusTM/Kotsu/compare/v1.14.0...v1.14.1) - 2018-06-11

Expand Down
2 changes: 1 addition & 1 deletion modules/cache.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const LRUCache = require('lru-cache')
const hash = require('hash-sum')

const cache = LRUCache()
const cache = new LRUCache()

/**
* Cache function into specified cache key or based on hash of its arguments
Expand Down

0 comments on commit 9c4e292

Please sign in to comment.