theprogrammablemind_4wp
Advanced tools
Comparing version 7.3.9-beta.14 to 7.3.9-beta.15
@@ -64,4 +64,4 @@ { | ||
}, | ||
"version": "7.3.9-beta.14", | ||
"version": "7.3.9-beta.15", | ||
"license": "ISC" | ||
} |
@@ -1429,3 +1429,12 @@ // lookup = (name) => returns <config> | ||
initializer (fn, { initAfterApi = false } = {}) { | ||
initializer (fn, options = {}) { | ||
if (options) { | ||
for (let option of Object.keys(options)) { | ||
const validOptions = ['initAfterApi'] | ||
if (!['initAfterApi'].includes(option)) { | ||
throw `For Config.initializer, unrecognized option ${option}. The valid options are ${validOptions}` | ||
} | ||
} | ||
} | ||
const { initAfterApi = false } = options; | ||
this.wasInitialized = false | ||
@@ -1432,0 +1441,0 @@ this.initAfterApi = initAfterApi |
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
156895
4634