@bonniernews/local-esi
Advanced tools
Comparing version 0.8.2 to 0.8.3
@@ -91,5 +91,13 @@ "use strict"; | ||
} | ||
const wasInProcessingContext = context.inEsiStatementProcessingContext; | ||
context.inEsiStatementProcessingContext = false; | ||
const listener = ESIListener(context); | ||
transformHtml(fetchResult, listener, (parseError, parsedResult) => { | ||
writeToResult(parsedResult, next); | ||
if (parseError) { | ||
return next(parseError); | ||
} | ||
writeToResult(parsedResult, (err, value) => { | ||
context.inEsiStatementProcessingContext = wasInProcessingContext; | ||
next(err, value); | ||
}); | ||
}); | ||
@@ -96,0 +104,0 @@ }); |
{ | ||
"name": "@bonniernews/local-esi", | ||
"version": "0.8.2", | ||
"version": "0.8.3", | ||
"description": "Local Edge Side Includes parser", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
25169
728