Comparing version 3.0.97 to 3.0.98
{ | ||
"name": "fable", | ||
"version": "3.0.97", | ||
"version": "3.0.98", | ||
"description": "An entity behavior management and API bundling library.", | ||
@@ -53,3 +53,3 @@ "main": "source/Fable.js", | ||
"devDependencies": { | ||
"quackage": "^1.0.22" | ||
"quackage": "^1.0.25" | ||
}, | ||
@@ -61,3 +61,3 @@ "dependencies": { | ||
"cachetrax": "^1.0.4", | ||
"cookie": "^0.5.0", | ||
"cookie": "^0.6.0", | ||
"data-arithmatic": "^1.0.7", | ||
@@ -64,0 +64,0 @@ "dayjs": "^1.11.10", |
@@ -38,2 +38,3 @@ const libFableServiceBase = require('fable-serviceproviderbase'); | ||
{ | ||
this.log.trace('Calling waiting function.') | ||
this.waitingFunctions[i](this.lastError); | ||
@@ -50,2 +51,3 @@ } | ||
{ | ||
this.log.trace('Adding a function...') | ||
this.operationQueue.push(fAsynchronousFunction); | ||
@@ -52,0 +54,0 @@ this.checkQueue(); |
@@ -23,3 +23,3 @@ const libFableServiceBase = require('fable-serviceproviderbase'); | ||
// In order to allow asynchronous template processing we need to use the async.eachLimit function | ||
this.StringParser = new libStringParser(this.fable.services.Utility.eachLimit); | ||
this.StringParser = new libStringParser(this.fable); | ||
@@ -26,0 +26,0 @@ this.ParseTree = this.WordTree.ParseTree; |
@@ -12,5 +12,5 @@ /** | ||
*/ | ||
constructor(fEachLimit) | ||
constructor(pFable) | ||
{ | ||
this.eachLimit = fEachLimit; | ||
this.fable = pFable; | ||
} | ||
@@ -210,3 +210,3 @@ | ||
this.resetOutputBuffer(pParserState); | ||
return setTimeout(fCallback, 0); | ||
return fCallback(); | ||
}); | ||
@@ -227,3 +227,3 @@ } | ||
this.resetOutputBuffer(pParserState); | ||
return setTimeout(fCallback, 0); | ||
return fCallback(); | ||
}); | ||
@@ -236,3 +236,3 @@ } | ||
this.resetOutputBuffer(pParserState); | ||
return setTimeout(fCallback, 0); | ||
return fCallback(); | ||
} | ||
@@ -367,7 +367,15 @@ } | ||
this.eachLimit(pString, 1, | ||
(pCharacter, fCharacterCallback) => | ||
{ | ||
this.parseCharacterAsync(pCharacter, tmpParserState, pData, fCharacterCallback); | ||
}, | ||
let tmpAnticipate = this.fable.instantiateServiceProviderWithoutRegistration('Anticipate'); | ||
for (let i = 0; i < pString.length; i++) | ||
{ | ||
tmpAnticipate.anticipate( | ||
(fCallback) => | ||
{ | ||
console.log(`Running template for character [${pString[i]}] index ${i}`); | ||
this.parseCharacterAsync(pString[i], tmpParserState, pData, fCallback); | ||
}); | ||
} | ||
tmpAnticipate.wait( | ||
(pError) => | ||
@@ -377,5 +385,4 @@ { | ||
this.flushOutputBuffer(tmpParserState); | ||
fCallback(pError, tmpParserState.Output); | ||
return fCallback(pError, tmpParserState.Output); | ||
}); | ||
} | ||
@@ -382,0 +389,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
19
8607799
62
16240
+ Addedcookie@0.6.0(transitive)
- Removedcookie@0.5.0(transitive)
Updatedcookie@^0.6.0