@adobe/aio-lib-core-config
Advanced tools
Comparing version 1.2.5 to 1.2.6
@@ -32,3 +32,3 @@ /* @flow */ | ||
const NEWLINE = '\n' | ||
const RE_INI_KEY_VAL = /^\s*([\w.-]+)\s*=\s*(.*)?\s*$/ | ||
const RE_INI_KEY_VAL = /^\s*([\w.-\\$]+)\s*=\s*(.*)?\s*$/ | ||
const RE_NEWLINES = /\\n/g | ||
@@ -35,0 +35,0 @@ const NEWLINES_MATCH = /\n|\r|\r\n/ |
{ | ||
"_args": [ | ||
[ | ||
"dotenv@8.2.0", | ||
"aio-cli-plugin-config" | ||
] | ||
], | ||
"_from": "dotenv@8.2.0", | ||
@@ -12,3 +6,3 @@ "_id": "dotenv@8.2.0", | ||
"_integrity": "sha512-8sJ78ElpbDJBHNeBzUbUVLsqKdccaa/BXF1uPTw3GrvQTBgrQrtObr2mUrE38vzYd8cEv+m/JBfDLioYcfXoaw==", | ||
"_location": "/@adobe/aio-lib-core-config/dotenv", | ||
"_location": "/dotenv", | ||
"_phantomChildren": {}, | ||
@@ -26,11 +20,14 @@ "_requested": { | ||
"_requiredBy": [ | ||
"/@adobe/aio-lib-core-config" | ||
"/" | ||
], | ||
"_resolved": "https://registry.npmjs.org/dotenv/-/dotenv-8.2.0.tgz", | ||
"_spec": "8.2.0", | ||
"_where": "aio-cli-plugin-config", | ||
"_shasum": "97e619259ada750eea3e4ea3e26bceea5424b16a", | ||
"_spec": "dotenv@8.2.0", | ||
"_where": "/Users/shaz/git/adobe/aio-lib-core-config", | ||
"bugs": { | ||
"url": "https://github.com/motdotla/dotenv/issues" | ||
}, | ||
"bundleDependencies": false, | ||
"dependencies": {}, | ||
"deprecated": false, | ||
"description": "Loads environment variables from .env file", | ||
@@ -37,0 +34,0 @@ "devDependencies": { |
{ | ||
"name": "@adobe/aio-lib-core-config", | ||
"version": "1.2.5", | ||
"version": "1.2.6", | ||
"description": "Adobe I/O Configuration Module", | ||
@@ -20,3 +20,5 @@ "main": "./src/index.js", | ||
"test": "npm run lint && npm run unit-tests", | ||
"docs": "jsdoc2md -f 'src/index.js' > doc/api.md", | ||
"jsdoc": "jsdoc2md -f 'src/index.js' > doc/api.md", | ||
"typings": "jsdoc -t node_modules/tsd-jsdoc/dist -r src -d .", | ||
"generate-docs": "npm run jsdoc && npm run typings", | ||
"postinstall": "patch-package" | ||
@@ -45,3 +47,4 @@ }, | ||
"jsdoc-to-markdown": "^5.0.1", | ||
"mock-stdin": "^1.0.0" | ||
"mock-stdin": "^1.0.0", | ||
"tsd-jsdoc": "^2.4.0" | ||
}, | ||
@@ -48,0 +51,0 @@ "bundleDependencies": [ |
@@ -38,3 +38,3 @@ /* | ||
* @param {string} value the value to save for the key | ||
* @param {string} [local=false] Set to true to save the value in the local config. Defaults to false (save to global config). | ||
* @param {boolean} [local=false] Set to true to save the value in the local config. Defaults to false (save to global config). | ||
*/ | ||
@@ -49,3 +49,3 @@ set(key, value, local) { | ||
* @param {string} key the key to delete the value from | ||
* @param {string} [local=false] Set to true to delete the value in the local config. Defaults to false (save to global config). | ||
* @param {boolean} [local=false] Set to true to delete the value in the local config. Defaults to false (save to global config). | ||
*/ | ||
@@ -67,3 +67,3 @@ delete(key, local) { | ||
* @function | ||
* @return {Promise} | ||
* @return {Promise<string>} | ||
*/ | ||
@@ -78,3 +78,3 @@ get getPipedData() { | ||
* @function | ||
* @param {boolean} [force=false] force reload of the .env file | ||
* @param {Object} the dotenv object | ||
*/ | ||
@@ -81,0 +81,0 @@ get dotenv() { |
@@ -20,5 +20,5 @@ /* | ||
/** | ||
* support for mkdir -p. | ||
* Support for mkdir -p. | ||
* | ||
* @param {String} dir | ||
* @param {String} dir the folder to create | ||
*/ | ||
@@ -35,3 +35,3 @@ const mkdirp = dir => { | ||
/** | ||
* get property from object with case insensitivity. | ||
* Get property from object with case insensitivity. | ||
* | ||
@@ -44,3 +44,3 @@ * @param {Object} obj | ||
/** | ||
* get a value in an object by dot notation. | ||
* Get a value in an object by dot notation. | ||
* | ||
@@ -58,7 +58,4 @@ * @param {String} key | ||
/** | ||
* Set a value by dot notation. | ||
* | ||
*/ | ||
/** | ||
* set a value by dot notation. | ||
* | ||
* @param {String} key | ||
@@ -86,5 +83,5 @@ * @param {String} value | ||
/** | ||
* deep merge a collection of objs returning a new object. | ||
* Deep merge a collection of objs returning a new object. | ||
* | ||
* @param {...objs} objs | ||
* @param {Array} objs array of objects | ||
* | ||
@@ -103,3 +100,3 @@ * @return {Object} | ||
/** | ||
* remove empty leaves from an object. | ||
* Remove empty leaves from an object. | ||
* | ||
@@ -129,3 +126,3 @@ * @param {Object} obj | ||
/** | ||
* deserialise from a file. | ||
* Deserialise from a file. | ||
* | ||
@@ -132,0 +129,0 @@ * @param {String} file |
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
53508
14
623