Comparing version 0.3.0 to 0.3.1
@@ -19,8 +19,7 @@ declare namespace contextor { | ||
* @param {*} defaultValue - The default value to return in case. | ||
* @param {boolean} allowUndefinedContext - Whether or not to allow undefined context, | ||
* default false. | ||
* @param {boolean} allowUndefinedContext - Whether or not to allow undefined context. | ||
* @returns {*} The value or default value for missing key. | ||
* @throws {ReferenceError} On missing value for given key in current context. | ||
*/ | ||
get: (key: string, defaultValue: any, allowUndefinedContext: boolean = false) => any; | ||
get: (key: string, defaultValue: any, allowUndefinedContext?: boolean) => any; | ||
} | ||
@@ -27,0 +26,0 @@ } |
{ | ||
"name": "contextor", | ||
"description": "Package allowing to pass a context along an asynchronous process", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"author": "Thomas Prelot <tprelot@gmail.com> (https://github.com/Gnucki)", | ||
@@ -6,0 +6,0 @@ "contributors": [], |
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
16327
270