@slimio/config
Advanced tools
Comparing version 0.2.0 to 0.3.0
{ | ||
"opts": { | ||
"encoding": "utf8", | ||
"destination": "./docs/", | ||
"destination": "./jsdoc/", | ||
"recurse": true, | ||
@@ -6,0 +6,0 @@ "template": "node_modules/@escommunity/minami" |
{ | ||
"name": "@slimio/config", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "SlimIO Reactive JSON Config loaded", | ||
@@ -34,10 +34,10 @@ "main": "index.js", | ||
"@escommunity/minami": "^1.0.0", | ||
"@slimio/eslint-config": "^1.1.5", | ||
"@types/node": "^10.3.4", | ||
"@slimio/eslint-config": "^1.1.7", | ||
"@types/node": "^10.5.0", | ||
"ava": "^0.25.0", | ||
"eslint": "^4.19.1", | ||
"nyc": "^11.6.0" | ||
"eslint": "^5.0.1", | ||
"nyc": "^11.9.0" | ||
}, | ||
"dependencies": { | ||
"@sindresorhus/is": "^0.8.0", | ||
"@sindresorhus/is": "^0.9.0", | ||
"ajv": "^6.4.0", | ||
@@ -44,0 +44,0 @@ "lodash.clonedeep": "^4.5.0", |
# Config | ||
[](https://github.com/SlimIO/Config/commit-activity) | ||
[](https://github.com/SlimIO/Config/blob/master/LICENSE) | ||
SlimIO - Reactive JSON Config loader | ||
@@ -3,0 +7,0 @@ |
@@ -356,6 +356,6 @@ // Require Node.JS core packages | ||
observableOf(fieldPath) { | ||
// Retrieve the field value first | ||
const fieldValue = this.get(fieldPath); | ||
return new Observable((observer) => { | ||
// Retrieve the field value first | ||
const fieldValue = this.get(fieldPath); | ||
// Send it as first Observed value! | ||
@@ -419,2 +419,4 @@ observer.next(fieldValue); | ||
} | ||
return this; | ||
} | ||
@@ -421,0 +423,0 @@ |
@@ -0,0 +0,0 @@ /** |
160015
129
1
21
1141
+ Added@sindresorhus/is@0.9.0(transitive)
+ Addedsymbol-observable@1.2.0(transitive)
- Removed@sindresorhus/is@0.8.0(transitive)
Updated@sindresorhus/is@^0.9.0