exframe-cache-manager 1.2.0 → 1.2.1

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.
@@ -1,7 +1,7 @@
1
1
  organization=exzeo-usa-bitbucket
2
2
  projectKey=exzeo-usa_exframe-cache-manager
3
3
  serverUrl=https://sonarcloud.io
4
- serverVersion=8.0.0.20946
4
+ serverVersion=8.0.0.25179
5
5
  dashboardUrl=https://sonarcloud.io/dashboard?id=exzeo-usa_exframe-cache-manager
6
- ceTaskId=AXn3gl2EG05xMXXdVdn_
7
- ceTaskUrl=https://sonarcloud.io/api/ce/task?id=AXn3gl2EG05xMXXdVdn_
6
+ ceTaskId=AX1xmsv-drMNBt_zYbiV
7
+ ceTaskUrl=https://sonarcloud.io/api/ce/task?id=AX1xmsv-drMNBt_zYbiV
@@ -23,7 +23,7 @@
23
23
  <div class='clearfix'>
24
24
 
25
25
  <div class='fl pad1y space-right2'>
26
- <span class="strong">84.62% </span>
26
+ <span class="strong">84.61% </span>
27
27
  <span class="quiet">Statements</span>
28
28
  <span class='fraction'>55/65</span>
29
29
  </div>
@@ -37,7 +37,7 @@
37
37
 
38
38
 
39
39
  <div class='fl pad1y space-right2'>
40
- <span class="strong">91.67% </span>
40
+ <span class="strong">91.66% </span>
41
41
  <span class="quiet">Functions</span>
42
42
  <span class='fraction'>22/24</span>
43
43
  </div>
@@ -74,14 +74,14 @@
74
74
  </thead>
75
75
  <tbody><tr>
76
76
  <td class="file high" data-value="index.js"><a href="index.js.html">index.js</a></td>
77
- <td data-value="84.62" class="pic high">
77
+ <td data-value="84.61" class="pic high">
78
78
  <div class="chart"><div class="cover-fill" style="width: 84%"></div><div class="cover-empty" style="width: 16%"></div></div>
79
79
  </td>
80
- <td data-value="84.62" class="pct high">84.62%</td>
80
+ <td data-value="84.61" class="pct high">84.61%</td>
81
81
  <td data-value="65" class="abs high">55/65</td>
82
82
  <td data-value="72.22" class="pct medium">72.22%</td>
83
83
  <td data-value="18" class="abs medium">13/18</td>
84
- <td data-value="91.67" class="pct high">91.67%</td>
84
+ <td data-value="91.66" class="pct high">91.66%</td>
85
85
  <td data-value="24" class="abs high">22/24</td>
86
86
  <td data-value="85" class="pct high">85%</td>
87
87
  <td data-value="60" class="abs high">51/60</td>
@@ -95,7 +95,7 @@
95
95
  <div class='footer quiet pad2 space-top1 center small'>
96
96
  Code coverage generated by
97
97
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
98
- at Thu Jun 10 2021 19:59:25 GMT+0000 (Coordinated Universal Time)
98
+ at Tue Nov 30 2021 16:07:57 GMT+0000 (Coordinated Universal Time)
99
99
  </div>
100
100
  </div>
101
101
  <script src="prettify.js"></script>
@@ -23,7 +23,7 @@
23
23
  <div class='clearfix'>
24
24
 
25
25
  <div class='fl pad1y space-right2'>
26
- <span class="strong">84.62% </span>
26
+ <span class="strong">84.61% </span>
27
27
  <span class="quiet">Statements</span>
28
28
  <span class='fraction'>55/65</span>
29
29
  </div>
@@ -37,7 +37,7 @@
37
37
 
38
38
 
39
39
  <div class='fl pad1y space-right2'>
40
- <span class="strong">91.67% </span>
40
+ <span class="strong">91.66% </span>
41
41
  <span class="quiet">Functions</span>
42
42
  <span class='fraction'>22/24</span>
43
43
  </div>
@@ -691,7 +691,7 @@ module.exports = {
691
691
  <div class='footer quiet pad2 space-top1 center small'>
692
692
  Code coverage generated by
693
693
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
694
- at Thu Jun 10 2021 19:59:25 GMT+0000 (Coordinated Universal Time)
694
+ at Tue Nov 30 2021 16:07:57 GMT+0000 (Coordinated Universal Time)
695
695
  </div>
696
696
  </div>
697
697
  <script src="prettify.js"></script>
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":30,"argv":["/usr/local/bin/node","/app/node_modules/.bin/mocha","--reporter","mocha-exzeo-reporter","./test/**/*.test.js"],"execArgv":[],"cwd":"/app","time":1638288443940,"ppid":19,"coverageFilename":"/app/documentation/coverage/6217a6b9-772a-4f00-9d31-93bcdd2c5d92.json","externalId":"","uuid":"6217a6b9-772a-4f00-9d31-93bcdd2c5d92","files":["/app/index.js"]}
@@ -1 +1 @@
1
- {"processes":{"2baa0f74-f41d-43e6-9b7d-1dbef716e1f9":{"parent":null,"children":[]}},"files":{"/app/index.js":["2baa0f74-f41d-43e6-9b7d-1dbef716e1f9"]},"externalIds":{}}
1
+ {"processes":{"6217a6b9-772a-4f00-9d31-93bcdd2c5d92":{"parent":null,"children":[]}},"files":{"/app/index.js":["6217a6b9-772a-4f00-9d31-93bcdd2c5d92"]},"externalIds":{}}
@@ -1,15 +1,15 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuites name="Mocha Tests" time="0.0280" tests="9" failures="0">
3
- <testsuite name="Root Suite" timestamp="2021-06-10T19:58:55" tests="0" time="0.0000" failures="0">
2
+ <testsuites name="Mocha Tests" time="0.0380" tests="9" failures="0">
3
+ <testsuite name="Root Suite" timestamp="2021-11-30T16:07:25" tests="0" time="0.0000" failures="0">
4
4
  </testsuite>
5
- <testsuite name="Test User Profile Middleware" timestamp="2021-06-10T19:58:55" tests="0" file="/app/test/cacheManager.test.js" time="0.0000" failures="0">
5
+ <testsuite name="Test User Profile Middleware" timestamp="2021-11-30T16:07:25" tests="0" file="/app/test/cacheManager.test.js" time="0.0000" failures="0">
6
6
  </testsuite>
7
- <testsuite name="Cache Manager" timestamp="2021-06-10T19:58:55" tests="9" file="/app/test/cacheManager.test.js" time="0.0280" failures="0">
8
- <testcase name="Test User Profile Middleware Cache Manager validate the setItem function on the basis of key and value" time="0.0140" classname="validate the setItem function on the basis of key and value">
7
+ <testsuite name="Cache Manager" timestamp="2021-11-30T16:07:25" tests="9" file="/app/test/cacheManager.test.js" time="0.0370" failures="0">
8
+ <testcase name="Test User Profile Middleware Cache Manager validate the setItem function on the basis of key and value" time="0.0150" classname="validate the setItem function on the basis of key and value">
9
9
  </testcase>
10
10
  <testcase name="Test User Profile Middleware Cache Manager validate the getItem function on the basis of key" time="0.0020" classname="validate the getItem function on the basis of key">
11
11
  </testcase>
12
- <testcase name="Test User Profile Middleware Cache Manager validate the addSetItem function on the basis of key" time="0.0020" classname="validate the addSetItem function on the basis of key">
12
+ <testcase name="Test User Profile Middleware Cache Manager validate the addSetItem function on the basis of key" time="0.0030" classname="validate the addSetItem function on the basis of key">
13
13
  </testcase>
14
14
  <testcase name="Test User Profile Middleware Cache Manager validate the isSetMember function on the basis of key" time="0.0020" classname="validate the isSetMember function on the basis of key">
15
15
  </testcase>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exframe-cache-manager",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Managing the cache",
5
5
  "main": "index.js",
6
6
  "config": {
@@ -18,24 +18,25 @@
18
18
  "author": "",
19
19
  "license": "ISC",
20
20
  "peerDependencies": {
21
- "exframe-service": "^1.2.0",
22
- "exframe-health": "^1.3.0",
23
- "exframe-logger": "^3.4.0"
21
+ "exframe-service": "*",
22
+ "exframe-health": "*",
23
+ "exframe-logger": "*"
24
24
  },
25
25
  "dependencies": {
26
- "@types/cache-manager": "^3.4.0",
27
- "@types/redis": "^2.8.29",
28
- "cache-manager": "^3.4.3",
26
+ "@types/cache-manager": "^3.4.2",
27
+ "@types/redis": "^2.8.32",
28
+ "cache-manager": "^3.6.0",
29
29
  "cache-manager-redis": "^0.6.0",
30
- "exframe-metrics": "^1.0.0"
30
+ "exframe-metrics": "^1.1.0",
31
+ "redis": "^3.1.2"
31
32
  },
32
33
  "devDependencies": {
33
34
  "chai": "^4.3.4",
34
- "eslint": "^7.28.0",
35
- "eslint-config-airbnb-base": "^14.2.1",
36
- "eslint-plugin-import": "^2.23.4",
37
- "mocha": "^9.0.0",
38
- "mocha-exzeo-reporter": "0.0.2",
35
+ "eslint": "^8.3.0",
36
+ "eslint-config-airbnb-base": "^15.0.0",
37
+ "eslint-plugin-import": "^2.25.3",
38
+ "mocha": "^9.1.3",
39
+ "mocha-exzeo-reporter": "0.0.3",
39
40
  "npm-install-peers": "^1.2.2",
40
41
  "nyc": "^15.1.0"
41
42
  }
@@ -1 +0,0 @@
1
- {"parent":null,"pid":29,"argv":["/usr/local/bin/node","/app/node_modules/.bin/mocha","--reporter","mocha-exzeo-reporter","./test/**/*.test.js"],"execArgv":[],"cwd":"/app","time":1623355133503,"ppid":18,"coverageFilename":"/app/documentation/coverage/2baa0f74-f41d-43e6-9b7d-1dbef716e1f9.json","externalId":"","uuid":"2baa0f74-f41d-43e6-9b7d-1dbef716e1f9","files":["/app/index.js"]}