@financial-times/dotcom-server-app-context
Advanced tools
Comparing version 0.5.4 to 0.5.5
@@ -73,6 +73,6 @@ { | ||
"description": "The publish reference of the content on the current page", | ||
"examples": ["tid_17wmwszvk3"], | ||
"pattern": "^tid_.+$" | ||
"examples": ["tid_17wmwszvk3", "SYNTHETIC-REQ-MONtid_UrnYVM6Waz_carousel_1534570047"], | ||
"pattern": "tid_" | ||
} | ||
} | ||
} |
@@ -16,5 +16,5 @@ "use strict"; | ||
else { | ||
throw Error(`Validation error: ${ajv.errorsText(isValid.errors)}`); | ||
throw Error(`Validation error: ${ajv.errorsText(isValid.errors)}, received "${value}"`); | ||
} | ||
} | ||
exports.default = validate; |
{ | ||
"name": "@financial-times/dotcom-server-app-context", | ||
"version": "0.5.4", | ||
"version": "0.5.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/node/index.js", |
@@ -97,2 +97,2 @@ # FT App Context Schema | ||
* Regex pattern: `^tid_.+$` | ||
* Regex pattern: `tid_` |
@@ -73,6 +73,6 @@ { | ||
"description": "The publish reference of the content on the current page", | ||
"examples": ["tid_17wmwszvk3"], | ||
"pattern": "^tid_.+$" | ||
"examples": ["tid_17wmwszvk3", "SYNTHETIC-REQ-MONtid_UrnYVM6Waz_carousel_1534570047"], | ||
"pattern": "tid_" | ||
} | ||
} | ||
} |
@@ -14,4 +14,4 @@ import Ajv from 'ajv' | ||
} else { | ||
throw Error(`Validation error: ${ajv.errorsText(isValid.errors)}`) | ||
throw Error(`Validation error: ${ajv.errorsText(isValid.errors)}, received "${value}"`) | ||
} | ||
} |
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
14742