appcd-config-service
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -1,38 +0,58 @@ | ||
# v1.2.2 (Jun 4, 2019) | ||
# v1.2.3 (Jun 13, 2019) | ||
* fix: Removed redundant validation code when loading a config file. | ||
* feat: Added action handler for unloading a config file. | ||
* chore: Added more debug logging. | ||
* chore: Updated dependencies. | ||
* Republish of v1.2.1. | ||
# v1.2.1 (Mar 29, 2019) | ||
* chore: Updated dependencies. | ||
* Updated dependencies. | ||
# v1.2.0 (Jan 24, 2019) | ||
* chore: Upgraded to appcd-logger@2.0.0. | ||
* Upgraded to appcd-logger@2.0.0. | ||
# v1.1.3 (Jan 16, 2019) | ||
* chore: Updated dependencies. | ||
* Updated dependencies. | ||
# v1.1.2 (Nov 27, 2018) | ||
* fix: Fixed debug logging of undefined filter. | ||
* chore: Updated dependencies. | ||
* Fixed debug logging of undefined filter. | ||
* Updated dependencies. | ||
# v1.1.1 (May 24, 2018) | ||
* chore: Updated dependencies. | ||
* Updated dependencies: | ||
- appcd-config 1.1.0 -> 1.1.1 | ||
- appcd-dispatcher 1.1.0 -> 1.1.1 | ||
- appcd-fs 1.1.1 -> 1.1.2 | ||
- appcd-gulp 1.1.1 -> 1.1.5 | ||
- appcd-logger 1.1.0 -> 1.1.1 | ||
- appcd-path 1.1.0 -> 1.1.1 | ||
- appcd-response 1.1.0 -> 1.1.2 | ||
- source-map-support 0.5.4 -> 0.5.6 | ||
# v1.1.0 (Apr 9, 2018) | ||
* fix: Fixed bug in the config service when returning defined, but falsey values. | ||
* chore: Improved readme. | ||
* chore: Updated dependencies. | ||
* Fixed bug in the config service when returning defined, but falsey values. | ||
* Improved readme. | ||
* Updated dependencies: | ||
- appcd-config 1.0.1 -> 1.1.0 | ||
- appcd-dispatcher 1.0.1 -> 1.1.0 | ||
- appcd-fs 1.0.1 -> 1.1.1 | ||
- appcd-gulp 1.0.1 -> 1.1.1 | ||
- appcd-logger 1.0.1 -> 1.1.0 | ||
- appcd-path 1.0.1 -> 1.1.0 | ||
- appcd-response 1.0.1 -> 1.1.0 | ||
- source-map-support 0.5.0 -> 0.5.4 | ||
# v1.0.1 (Dec 15, 2017) | ||
* chore: Updated dependencies. | ||
* Updated dependencies: | ||
- appcd-config 1.0.0 -> 1.0.1 | ||
- appcd-dispatcher 1.0.0 -> 1.0.1 | ||
- appcd-fs 1.0.0 -> 1.0.1 | ||
- appcd-gulp 1.0.0 -> 1.0.1 | ||
- appcd-logger 1.0.0 -> 1.0.1 | ||
- appcd-path 1.0.0 -> 1.0.1 | ||
- appcd-response 1.0.0 -> 1.0.1 | ||
@@ -39,0 +59,0 @@ # v1.0.0 (Dec 5, 2017) |
@@ -18,2 +18,4 @@ "use strict"; | ||
var _appcdFs = require("appcd-fs"); | ||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } } | ||
@@ -106,13 +108,27 @@ | ||
} = data; | ||
log(`Handling ${highlight(action)} request`); | ||
log(`Handling ${action} request`); | ||
if (action === 'get') {// fall through | ||
} else if (action === 'load') { | ||
this.config.load(data.file, { | ||
isUserDefined: !!data.isUserDefined, | ||
namespace: data.namespace, | ||
override: data.override !== false | ||
let { | ||
file, | ||
isUserDefined, | ||
override | ||
} = data; | ||
if (!file || typeof file !== 'string') { | ||
throw new _appcdDispatcher.DispatcherError(_appcdResponse.codes.BAD_REQUEST, 'Expected file to be a non-empty string'); | ||
} | ||
file = (0, _appcdPath.expandPath)(file); | ||
if (!(0, _appcdFs.isFile)(file)) { | ||
throw new _appcdDispatcher.DispatcherError(_appcdResponse.codes.BAD_REQUEST, `Config file not found: ${data.file}`); | ||
} | ||
log('Loading config file:', highlight(file)); | ||
this.config.load(file, { | ||
isUserDefined: !!isUserDefined, | ||
override: override !== false | ||
}); | ||
} else if (action === 'unload') { | ||
this.config.unload(data.namespace); | ||
} else if (writeRegExp.test(action)) { | ||
@@ -175,7 +191,2 @@ // performing a modifying action | ||
const filter = key && key.split(/\.|\//).join('.') || undefined; | ||
if (filter) { | ||
log('Filtering config:', filter); | ||
} | ||
const node = this.config.get(filter || undefined); | ||
@@ -250,2 +261,2 @@ | ||
exports.default = ConfigService; | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbmZpZy1zZXJ2aWNlLmpzIl0sIm5hbWVzIjpbImxvZyIsImhpZ2hsaWdodCIsImFwcGNkTG9nZ2VyIiwic3R5bGVzIiwid3JpdGVSZWdFeHAiLCJDb25maWdTZXJ2aWNlIiwiU2VydmljZURpc3BhdGNoZXIiLCJjb25zdHJ1Y3RvciIsImNmZyIsIkNvbmZpZyIsIlR5cGVFcnJvciIsImNvbmZpZyIsIndhdGNoZXJzIiwiZ2V0VG9waWMiLCJjdHgiLCJkYXRhIiwicGFyYW1zIiwidG9waWMiLCJyZXF1ZXN0IiwiU3RyaW5nIiwiZmlsdGVyIiwia2V5IiwicmVwbGFjZSIsInNwbGl0Iiwiam9pbiIsIm9uQ2FsbCIsInRyaW0iLCJhY3Rpb24iLCJEaXNwYXRjaGVyRXJyb3IiLCJjb2RlcyIsIkJBRF9SRVFVRVNUIiwibG9hZCIsImZpbGUiLCJpc1VzZXJEZWZpbmVkIiwibmFtZXNwYWNlIiwib3ZlcnJpZGUiLCJ1bmxvYWQiLCJ0ZXN0IiwiRk9SQklEREVOIiwidmFsdWUiLCJKU09OIiwic3RyaW5naWZ5Iiwic2V0IiwiZGVsZXRlIiwicmVzcG9uc2UiLCJSZXNwb25zZSIsIk5PVF9GT1VORCIsInB1c2giLCJwb3AiLCJzaGlmdCIsInVuc2hpZnQiLCJlIiwibWVzc2FnZSIsImhvbWUiLCJnZXQiL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IHRvIGEgZGlzcGF0Y2hlciBjbGllbnQuXG5cdCAqIFRoaXMgaXMgdGhlIHNhbWUgcHVibGlzaCBmdW5jdGlvbiBhcyB0aGUgb25lIHBhc3NlZCB0byBgb25TdWJzY3JpYmUoKWAuXG5cdCAqIEBhY2Nlc3MgcHJpdmF0ZVxuXHQgKi9cblx0ZGVzdHJveVN1YnNjcmlwdGlvbih7IHB1Ymxpc2ggfSkge1xuXHRcdGxvZygnUmVtb3ZpbmcgY29uZmlnIGdhd2sgd2F0Y2gnKTtcblx0XHR0aGlzLmNvbmZpZy51bndhdGNoKHB1Ymxpc2gpO1xuXHR9XG59XG4iXSwiZmlsZSI6ImNvbmZpZy1zZXJ2aWNlLmpzIn0= |
{ | ||
"name": "appcd-config-service", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "Appc Daemon service for managing the appcd configuration.", | ||
@@ -19,11 +19,12 @@ "main": "./dist/config-service", | ||
"dependencies": { | ||
"appcd-config": "^1.3.0", | ||
"appcd-dispatcher": "^1.4.1", | ||
"appcd-logger": "^2.0.2", | ||
"appcd-path": "^1.1.6", | ||
"appcd-response": "^2.0.0", | ||
"source-map-support": "^0.5.12" | ||
"appcd-config": "^1.2.1", | ||
"appcd-dispatcher": "^1.4.0", | ||
"appcd-fs": "^1.1.6", | ||
"appcd-logger": "^2.0.1", | ||
"appcd-path": "^1.1.5", | ||
"appcd-response": "^1.1.6", | ||
"source-map-support": "^0.5.11" | ||
}, | ||
"devDependencies": { | ||
"appcd-gulp": "^2.1.1" | ||
"appcd-gulp": "^2.1.0" | ||
}, | ||
@@ -30,0 +31,0 @@ "homepage": "https://github.com/appcelerator/appc-daemon/tree/master/packages/appcd-config-service", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26908
272
7
+ Addedappcd-fs@^1.1.6
- Removedappcd-response@2.0.4(transitive)
Updatedappcd-config@^1.2.1
Updatedappcd-dispatcher@^1.4.0
Updatedappcd-logger@^2.0.1
Updatedappcd-path@^1.1.5
Updatedappcd-response@^1.1.6
Updatedsource-map-support@^0.5.11