cache-manager 3.6.1 → 3.6.2

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/History.md CHANGED
@@ -1,3 +1,6 @@
1
+ - 3.6.2 2022-05-19
2
+ - Use lodash.cloneDeep npm instead of full lodash. (#190). - @ricardomozartlino
3
+
1
4
  - 3.6.1 2022-04-07
2
5
  - Fix for potential prototype polution exploit in async < 3.2.2 (#186). - @tmbobbins
3
6
 
@@ -1,6 +1,6 @@
1
1
  /*eslint no-unused-vars:0*/
2
2
  var Lru = require("lru-cache");
3
- var cloneDeep = require('lodash/cloneDeep');
3
+ var cloneDeep = require('lodash.clonedeep');
4
4
  var utils = require('../utils');
5
5
  var isObject = utils.isObject;
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cache-manager",
3
- "version": "3.6.1",
3
+ "version": "3.6.2",
4
4
  "description": "Cache module for Node.js",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -26,7 +26,7 @@
26
26
  "license": "MIT",
27
27
  "dependencies": {
28
28
  "async": "3.2.3",
29
- "lodash": "^4.17.21",
29
+ "lodash.clonedeep": "^4.5.0",
30
30
  "lru-cache": "6.0.0"
31
31
  },
32
32
  "devDependencies": {