fable 3.0.102 → 3.0.104

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/fable.js CHANGED
@@ -2831,7 +2831,8 @@ this.serviceTypes=[];// A map of instantiated services
2831
2831
  this.servicesMap={};// A map of the default instantiated service by type
2832
2832
  this.services={};// A map of class constructors for services
2833
2833
  this.serviceClasses={};// If we need extra service initialization capabilities
2834
- this.extraServiceInitialization=false;// Initialization Phase 1: Set up the core utility services
2834
+ this.extraServiceInitialization=false;// Set how noisy the system is about signaling complexity
2835
+ this.LogNoisiness=0;// Initialization Phase 1: Set up the core utility services
2835
2836
  // These are things like power, water, and sewage. They are required for fable to run (e.g. logging, settings, etc)
2836
2837
  // Instantiate the default Settings Manager
2837
2838
  this.SettingsManager=new libFableSettings(pSettings);this.SettingsManager=this.SettingsManager;// Instantiate the UUID generator
@@ -3132,8 +3133,7 @@ return this.makeFolderRecursive(tmpParameters,fCallback);}else{console.log(pCrea
3132
3133
  * Precedent Meta-Templating
3133
3134
  * @author Steven Velozo <steven@velozo.com>
3134
3135
  * @description Process text stream trie and postfix tree, parsing out meta-template expression functions.
3135
- */const libWordTree=require("./Fable-Service-MetaTemplate/MetaTemplate-WordTree.js");const libStringParser=require("./Fable-Service-MetaTemplate/MetaTemplate-StringParser.js");class FableServiceMetaTemplate extends libFableServiceBase{constructor(pFable,pOptions,pServiceHash){super(pFable,pOptions,pServiceHash);this.serviceType='MetaTemplate';this.WordTree=new libWordTree();// In order to allow asynchronous template processing we need to use the async.eachLimit function
3136
- this.StringParser=new libStringParser(this.fable);this.ParseTree=this.WordTree.ParseTree;}/**
3136
+ */const libWordTree=require("./Fable-Service-MetaTemplate/MetaTemplate-WordTree.js");const libStringParser=require("./Fable-Service-MetaTemplate/MetaTemplate-StringParser.js");class FableServiceMetaTemplate extends libFableServiceBase{constructor(pFable,pOptions,pServiceHash){super(pFable,pOptions,pServiceHash);this.serviceType='MetaTemplate';this.WordTree=new libWordTree();this.StringParser=new libStringParser(this.fable);this.ParseTree=this.WordTree.ParseTree;}/**
3137
3137
  * Add a Pattern to the Parse Tree
3138
3138
  * @method addPattern
3139
3139
  * @param {Object} pTree - A node on the parse tree to push the characters into
@@ -3146,7 +3146,7 @@ this.StringParser=new libStringParser(this.fable);this.ParseTree=this.WordTree.P
3146
3146
  * @param {string} pString - The string to parse
3147
3147
  * @param {object} pData - Data to pass in as the second argument
3148
3148
  * @return {string} The result from the parser
3149
- */parseString(pString,pData,fCallback){return this.StringParser.parseString(pString,this.ParseTree,pData,fCallback);}}module.exports=FableServiceMetaTemplate;},{"./Fable-Service-MetaTemplate/MetaTemplate-StringParser.js":129,"./Fable-Service-MetaTemplate/MetaTemplate-WordTree.js":130,"fable-serviceproviderbase":44}],129:[function(require,module,exports){/**
3149
+ */parseString(pString,pData,fCallback){if(this.LogNoisiness>4){this.fable.log.trace("Metatemplate parsing template string [".concat(pString,"] where the callback is a ").concat(typeof fCallback),{TemplateData:pData});}return this.StringParser.parseString(pString,this.ParseTree,pData,fCallback);}}module.exports=FableServiceMetaTemplate;},{"./Fable-Service-MetaTemplate/MetaTemplate-StringParser.js":129,"./Fable-Service-MetaTemplate/MetaTemplate-WordTree.js":130,"fable-serviceproviderbase":44}],129:[function(require,module,exports){/**
3150
3150
  * String Parser
3151
3151
  * @author Steven Velozo <steven@velozo.com>
3152
3152
  * @description Parse a string, properly processing each matched token in the word tree.