@biorate/config 0.30.11 → 0.30.19

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":41408,"argv":["/home/llevkin/.nvm/versions/node/v16.13.0/bin/node","/www/biorate/core/node_modules/.bin/npx","mocha","-r","ts-node/register","tests/**/*.spec.ts"],"execArgv":[],"cwd":"/www/biorate/core/packages/@biorate/config","time":1656049248985,"ppid":41397,"coverageFilename":"/www/biorate/core/packages/@biorate/config/.nyc_output/cf97b257-bf51-463b-b619-8b12113596b1.json","externalId":"","uuid":"cf97b257-bf51-463b-b619-8b12113596b1","files":["/www/biorate/core/packages/@biorate/config/dist/index.js","/www/biorate/core/packages/@biorate/config/dist/src/index.js","/www/biorate/core/packages/@biorate/config/dist/src/errors.js","/www/biorate/core/packages/@biorate/config/dist/src/interfaces.js"]}
@@ -1 +1 @@
1
- {"processes":{"d6090b70-2d7e-46d9-86fa-086eab01436b":{"parent":null,"children":[]}},"files":{"/www/biorate/core/packages/@biorate/config/dist/index.js":["d6090b70-2d7e-46d9-86fa-086eab01436b"],"/www/biorate/core/packages/@biorate/config/dist/src/index.js":["d6090b70-2d7e-46d9-86fa-086eab01436b"],"/www/biorate/core/packages/@biorate/config/dist/src/errors.js":["d6090b70-2d7e-46d9-86fa-086eab01436b"],"/www/biorate/core/packages/@biorate/config/dist/src/interfaces.js":["d6090b70-2d7e-46d9-86fa-086eab01436b"]},"externalIds":{}}
1
+ {"processes":{"cf97b257-bf51-463b-b619-8b12113596b1":{"parent":null,"children":[]}},"files":{"/www/biorate/core/packages/@biorate/config/dist/index.js":["cf97b257-bf51-463b-b619-8b12113596b1"],"/www/biorate/core/packages/@biorate/config/dist/src/index.js":["cf97b257-bf51-463b-b619-8b12113596b1"],"/www/biorate/core/packages/@biorate/config/dist/src/errors.js":["cf97b257-bf51-463b-b619-8b12113596b1"],"/www/biorate/core/packages/@biorate/config/dist/src/interfaces.js":["cf97b257-bf51-463b-b619-8b12113596b1"]},"externalIds":{}}
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.30.19](https://github.com/biorate/core/compare/v0.30.18...v0.30.19) (2022-07-10)
7
+
8
+ **Note:** Version bump only for package @biorate/config
9
+
10
+
11
+
12
+
13
+
6
14
  ## [0.30.11](https://github.com/biorate/core/compare/v0.30.10...v0.30.11) (2022-06-24)
7
15
 
8
16
 
@@ -101,7 +101,7 @@
101
101
  <div class='footer quiet pad2 space-top1 center small'>
102
102
  Code coverage generated by
103
103
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
104
- at Thu Jun 23 2022 21:55:51 GMT+0300 (Москва, стандартное время)
104
+ at Fri Jun 24 2022 08:40:50 GMT+0300 (Москва, стандартное время)
105
105
  </div>
106
106
  <script src="../prettify.js"></script>
107
107
  <script>
@@ -73,7 +73,7 @@
73
73
  <div class='footer quiet pad2 space-top1 center small'>
74
74
  Code coverage generated by
75
75
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
76
- at Thu Jun 23 2022 21:55:51 GMT+0300 (Москва, стандартное время)
76
+ at Fri Jun 24 2022 08:40:50 GMT+0300 (Москва, стандартное время)
77
77
  </div>
78
78
  <script src="../prettify.js"></script>
79
79
  <script>
@@ -94,7 +94,7 @@ export class UndefinedConfigPathError extends BaseError {
94
94
  <div class='footer quiet pad2 space-top1 center small'>
95
95
  Code coverage generated by
96
96
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
97
- at Thu Jun 23 2022 21:55:51 GMT+0300 (Москва, стандартное время)
97
+ at Fri Jun 24 2022 08:40:50 GMT+0300 (Москва, стандартное время)
98
98
  </div>
99
99
  <script src="../../prettify.js"></script>
100
100
  <script>
@@ -116,7 +116,7 @@
116
116
  <div class='footer quiet pad2 space-top1 center small'>
117
117
  Code coverage generated by
118
118
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
119
- at Thu Jun 23 2022 21:55:51 GMT+0300 (Москва, стандартное время)
119
+ at Fri Jun 24 2022 08:40:50 GMT+0300 (Москва, стандартное время)
120
120
  </div>
121
121
  <script src="../../prettify.js"></script>
122
122
  <script>
@@ -201,8 +201,7 @@
201
201
  <a name='L136'></a><a href='#L136'>136</a>
202
202
  <a name='L137'></a><a href='#L137'>137</a>
203
203
  <a name='L138'></a><a href='#L138'>138</a>
204
- <a name='L139'></a><a href='#L139'>139</a>
205
- <a name='L140'></a><a href='#L140'>140</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
204
+ <a name='L139'></a><a href='#L139'>139</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
206
205
  <span class="cline-any cline-yes">1x</span>
207
206
  <span class="cline-any cline-yes">1x</span>
208
207
  <span class="cline-any cline-yes">1x</span>
@@ -340,7 +339,6 @@
340
339
  <span class="cline-any cline-yes">2x</span>
341
340
  <span class="cline-any cline-neutral">&nbsp;</span>
342
341
  <span class="cline-any cline-neutral">&nbsp;</span>
343
- <span class="cline-any cline-neutral">&nbsp;</span>
344
342
  <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import { injectable } from '@biorate/inversion';
345
343
  import { merge, get, has, set, PropertyPath, PropertyName } from 'lodash';
346
344
  import * as traverse from 'traverse';
@@ -404,13 +402,12 @@ export class Config implements IConfig {
404
402
  if (def === undefined) throw new UndefinedConfigPathError(path);
405
403
  return def;
406
404
  }
407
- const result = get(this.data, path);
405
+ const result: any = get(this.data, path);
408
406
  switch (typeof result) {
409
407
  case 'string':
410
- // @ts-ignore
411
- <span class="branch-1 cbranch-no" title="branch not covered" > return this.template(result);</span>
412
- ca<span class="cstat-no" title="statement not covered" >se 'object':</span>
413
- return result ? this.templatize(result) : result;
408
+ return &lt;T&gt;(&lt;unknown&gt;this.template(result));
409
+ <span class="branch-1 cbranch-no" title="branch not covered" > case 'object':</span>
410
+ <span class="cstat-no" title="statement not covered" > return result ? this.templatize(result) : result;</span>
414
411
  default:
415
412
  return result;
416
413
  }
@@ -487,7 +484,7 @@ export class Config implements IConfig {
487
484
  <div class='footer quiet pad2 space-top1 center small'>
488
485
  Code coverage generated by
489
486
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
490
- at Thu Jun 23 2022 21:55:51 GMT+0300 (Москва, стандартное время)
487
+ at Fri Jun 24 2022 08:40:50 GMT+0300 (Москва, стандартное время)
491
488
  </div>
492
489
  <script src="../../prettify.js"></script>
493
490
  <script>
@@ -116,7 +116,7 @@
116
116
  <div class='footer quiet pad2 space-top1 center small'>
117
117
  Code coverage generated by
118
118
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
119
- at Thu Jun 23 2022 21:55:51 GMT+0300 (Москва, стандартное время)
119
+ at Fri Jun 24 2022 08:40:50 GMT+0300 (Москва, стандартное время)
120
120
  </div>
121
121
  <script src="prettify.js"></script>
122
122
  <script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biorate/config",
3
- "version": "0.30.11",
3
+ "version": "0.30.19",
4
4
  "description": "Application configurator",
5
5
  "main": "dist",
6
6
  "scripts": {
@@ -22,11 +22,11 @@
22
22
  "license": "MIT",
23
23
  "dependencies": {
24
24
  "@biorate/errors": "0.30.2",
25
- "@biorate/inversion": "0.30.7",
25
+ "@biorate/inversion": "0.30.19",
26
26
  "lodash": "^4.17.21",
27
27
  "traverse": "^0.6.6"
28
28
  },
29
- "gitHead": "ecb8489fd78d3d61063edc27dc04442e3d0c6f45",
29
+ "gitHead": "9b3615cdc572deaa657c2db8d083fb397529f20f",
30
30
  "devDependencies": {
31
31
  "@types/traverse": "^0.6.32"
32
32
  }
@@ -1 +0,0 @@
1
- {"parent":null,"pid":142891,"argv":["/home/llevkin/.nvm/versions/node/v16.13.0/bin/node","/www/biorate/core/node_modules/.bin/npx","mocha","-r","ts-node/register","tests/**/*.spec.ts"],"execArgv":[],"cwd":"/www/biorate/core/packages/@biorate/config","time":1656010549414,"ppid":142880,"coverageFilename":"/www/biorate/core/packages/@biorate/config/.nyc_output/d6090b70-2d7e-46d9-86fa-086eab01436b.json","externalId":"","uuid":"d6090b70-2d7e-46d9-86fa-086eab01436b","files":["/www/biorate/core/packages/@biorate/config/dist/index.js","/www/biorate/core/packages/@biorate/config/dist/src/index.js","/www/biorate/core/packages/@biorate/config/dist/src/errors.js","/www/biorate/core/packages/@biorate/config/dist/src/interfaces.js"]}