🚀. Socket Launch Week Day 3:Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions.Learn more
Sign In

adonis-cache

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adonis-cache - npm Package Compare versions

Comparing version
0.3.2
to
0.3.3
+2
-0
commands/templates/config.mustache

@@ -31,3 +31,5 @@ 'use strict'

| Supported drivers: "object", "database", "redis"
|
| Hint: Use "null" driver for disabling caching
| Warning: Use the "object" driver only for development, it does not have a garbage collector.
|

@@ -34,0 +36,0 @@ */

+4
-4
{
"name": "adonis-cache",
"version": "0.3.2",
"version": "0.3.3",
"description": "Cache provider for AdonisJs framework",

@@ -27,9 +27,9 @@ "scripts": {

"ioredis": "^3.2.2",
"knex": "^0.14.2",
"knex": "^0.16.3",
"mocha": "^4.0.1",
"sqlite3": "^3.1.8",
"sqlite3": "^4.0.6",
"standard": "^10.0.3"
},
"dependencies": {
"lodash": "^4.17.4"
"lodash": "^4.17.11"
},

@@ -36,0 +36,0 @@ "standard": {

@@ -66,3 +66,3 @@ # AdonisCache

The cache configuration file also contains various other options, which are documented within the file, so make sure to read over these options. By default, AdonisCache is configured to use the `object` cache driver, which stores cached objects in plain JavaScript object. For larger applications, it is recommended that you use a more robust driver such as Redis. You may even configure multiple cache configurations for the same driver.
The cache configuration file also contains various other options, which are documented within the file, so make sure to read over these options. By default, AdonisCache is configured to use the `object` cache driver, which stores cached objects in plain JavaScript object (use only for development). For larger applications, it is recommended that you use a more robust driver such as Redis. You may even configure multiple cache configurations for the same driver.

@@ -69,0 +69,0 @@ <a name="driver-prerequisites"></a>

@@ -81,3 +81,3 @@ 'use strict'

* @param {mixed} value
* @param {int} minutes
* @param {int|float} minutes
* @return {Promise<void>}

@@ -84,0 +84,0 @@ */

@@ -63,3 +63,3 @@ 'use strict'

* @param {mixed} value
* @param {int} minutes
* @param {int|float} minutes
* @return {Promise<void>}

@@ -66,0 +66,0 @@ */

@@ -59,3 +59,3 @@ 'use strict'

* @param {mixed} value
* @param {int} minutes
* @param {int|float} minutes
* @return {Promise<void>}

@@ -62,0 +62,0 @@ */

@@ -373,3 +373,3 @@ 'use strict'

return Math.floor((duration * 60) > 0 ? duration : null)
return (duration * 60) > 0 ? duration : null
}

@@ -376,0 +376,0 @@ }