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

@financial-times/dotcom-server-app-context

Package Overview
Dependencies
Maintainers
10
Versions
152
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@financial-times/dotcom-server-app-context - npm Package Compare versions

Comparing version 9.2.0 to 9.2.1

44

dist/node/schema.json

@@ -9,3 +9,5 @@ {

"description": "The A/B test flags data as a comma delimited string",
"examples": ["subscriberCohort:on,premiumCohort:on,nonUSACohort:on"],
"examples": [
"subscriberCohort:on,premiumCohort:on,nonUSACohort:on"
],
"pattern": "^,*([0-9A-Za-z-_]+:[0-9A-Za-z-_]+,*)+$"

@@ -16,3 +18,7 @@ },

"description": "The name of the application",
"examples": ["front-page", "stream-page", "article-page"],
"examples": [
"front-page",
"stream-page",
"article-page"
],
"pattern": "^.+$"

@@ -23,3 +29,5 @@ },

"description": "The running version of the app (usually a Git commit hash)",
"examples": ["882797258625531f20d604f6441ef8cfcb2d772b"],
"examples": [
"882797258625531f20d604f6441ef8cfcb2d772b"
],
"pattern": "^.+$"

@@ -30,3 +38,5 @@ },

"description": "The UUID of the concept on the current page",
"examples": ["c5935758-7730-11e9-bbad-7c18c0ea0201"],
"examples": [
"c5935758-7730-11e9-bbad-7c18c0ea0201"
],
"pattern": "^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$"

@@ -37,3 +47,6 @@ },

"description": "The type of concept on the current page",
"examples": ["http://www.ft.com/ontology/product/Brand", "http://www.ft.com/ontology/Location"],
"examples": [
"http://www.ft.com/ontology/product/Brand",
"http://www.ft.com/ontology/Location"
],
"pattern": "^http://www.ft.com/ontology/.+$"

@@ -44,3 +57,5 @@ },

"description": "The UUID of the content on the current page",
"examples": ["c5935758-7730-11e9-bbad-7c18c0ea0201"],
"examples": [
"c5935758-7730-11e9-bbad-7c18c0ea0201"
],
"pattern": "^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$"

@@ -51,4 +66,8 @@ },

"description": "The type or sub-type of the content on the current page",
"examples": ["article", "video", "audio", "podcast", "package", "live-blog"],
"pattern": "^(article|video|audio|podcast|package|live-blog)$"
"examples": [
"Article",
"LiveBlogPost",
"Video"
],
"pattern": "^.+$"
},

@@ -58,3 +77,6 @@ "edition": {

"description": "The selected FT edition",
"examples": ["uk", "international"],
"examples": [
"uk",
"international"
],
"pattern": "^(uk|international)$"

@@ -91,3 +113,5 @@ },

"description": "The version of Page Kit powering the app",
"examples": ["1.0.0"],
"examples": [
"1.0.0"
],
"pattern": "^.+$"

@@ -94,0 +118,0 @@ }

{
"name": "@financial-times/dotcom-server-app-context",
"version": "9.2.0",
"version": "9.2.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/node/index.js",

@@ -8,3 +8,3 @@ export const validAppContext = Object.freeze({

contentId: 'c5935758-7730-11e9-bbad-7c18c0ea0201',
contentType: 'article',
contentType: 'Article',
conceptId: 'c5935738-7730-11e9-bbad-7c18c0ea8201',

@@ -11,0 +11,0 @@ conceptType: 'http://www.ft.com/ontology/Location',

@@ -9,3 +9,5 @@ {

"description": "The A/B test flags data as a comma delimited string",
"examples": ["subscriberCohort:on,premiumCohort:on,nonUSACohort:on"],
"examples": [
"subscriberCohort:on,premiumCohort:on,nonUSACohort:on"
],
"pattern": "^,*([0-9A-Za-z-_]+:[0-9A-Za-z-_]+,*)+$"

@@ -16,3 +18,7 @@ },

"description": "The name of the application",
"examples": ["front-page", "stream-page", "article-page"],
"examples": [
"front-page",
"stream-page",
"article-page"
],
"pattern": "^.+$"

@@ -23,3 +29,5 @@ },

"description": "The running version of the app (usually a Git commit hash)",
"examples": ["882797258625531f20d604f6441ef8cfcb2d772b"],
"examples": [
"882797258625531f20d604f6441ef8cfcb2d772b"
],
"pattern": "^.+$"

@@ -30,3 +38,5 @@ },

"description": "The UUID of the concept on the current page",
"examples": ["c5935758-7730-11e9-bbad-7c18c0ea0201"],
"examples": [
"c5935758-7730-11e9-bbad-7c18c0ea0201"
],
"pattern": "^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$"

@@ -37,3 +47,6 @@ },

"description": "The type of concept on the current page",
"examples": ["http://www.ft.com/ontology/product/Brand", "http://www.ft.com/ontology/Location"],
"examples": [
"http://www.ft.com/ontology/product/Brand",
"http://www.ft.com/ontology/Location"
],
"pattern": "^http://www.ft.com/ontology/.+$"

@@ -44,3 +57,5 @@ },

"description": "The UUID of the content on the current page",
"examples": ["c5935758-7730-11e9-bbad-7c18c0ea0201"],
"examples": [
"c5935758-7730-11e9-bbad-7c18c0ea0201"
],
"pattern": "^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$"

@@ -51,4 +66,8 @@ },

"description": "The type or sub-type of the content on the current page",
"examples": ["article", "video", "audio", "podcast", "package", "live-blog"],
"pattern": "^(article|video|audio|podcast|package|live-blog)$"
"examples": [
"Article",
"LiveBlogPost",
"Video"
],
"pattern": "^.+$"
},

@@ -58,3 +77,6 @@ "edition": {

"description": "The selected FT edition",
"examples": ["uk", "international"],
"examples": [
"uk",
"international"
],
"pattern": "^(uk|international)$"

@@ -91,3 +113,5 @@ },

"description": "The version of Page Kit powering the app",
"examples": ["1.0.0"],
"examples": [
"1.0.0"
],
"pattern": "^.+$"

@@ -94,0 +118,0 @@ }

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