Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fable

Package Overview
Dependencies
Maintainers
2
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fable - npm Package Compare versions

Comparing version 3.0.97 to 3.0.98

6

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc