@namecheap/tailorx
Advanced tools
Comparing version 8.0.0 to 8.1.0
@@ -13,3 +13,6 @@ 'use strict'; | ||
}); | ||
errors.SeobotsGuardStreamError = extendError('SeobotsGuardStreamError', { | ||
parent: errors.TailorError | ||
}); | ||
module.exports = Object.freeze(errors); |
@@ -6,2 +6,3 @@ 'use strict'; | ||
const botDetector = new BotDetector(); | ||
const errors = require('../errors'); | ||
@@ -16,3 +17,3 @@ /** | ||
*/ | ||
module.exports = class StringifierStream extends stream.Transform { | ||
module.exports = class SeobotStringifierStream extends stream.Transform { | ||
#response; | ||
@@ -132,5 +133,6 @@ #isBot = false; | ||
'error', | ||
new Error( | ||
'Fragment error while processing request from SEO/SM bot. See adjacent messages for real cause.' | ||
) | ||
new errors.SeobotsGuardStreamError({ | ||
message: | ||
'Fragment error while processing request from SEO/SM bot. See adjacent messages for real cause.' | ||
}) | ||
); | ||
@@ -137,0 +139,0 @@ } |
{ | ||
"name": "@namecheap/tailorx", | ||
"version": "8.0.0", | ||
"version": "8.1.0", | ||
"description": "Tailor assembles a web page from multiple fragments", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
91154
1855