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

ft-next-url-mapper

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ft-next-url-mapper - npm Package Compare versions

Comparing version 1.3.0 to 1.3.3

2

package.json
{
"name": "ft-next-url-mapper",
"version": "1.3.0",
"version": "1.3.3",
"description": "Holds the structure of Falcon (old-ft) to enable mapping between section pages (hopefully)",

@@ -5,0 +5,0 @@ "main": "main.js",

'use strict';
var capiHost = 'http://api.ft.com';
var internalCapiHost = 'http://contentapi.ft.com/';
module.exports = {
endpoints : {
search : capiHost+'/content/search/v1',
ukNavigation : internalCapiHost+'/site/v1/navigations/ft-uk',
intNavigation : internalCapiHost+'/site/v1/navigations/ft-intl'
search : capiHost + '/content/search/v1',
ukNavigation : capiHost + '/site/v1/navigations/ft-uk',
intNavigation : capiHost + '/site/v1/navigations/ft-intl'
}
};

@@ -22,3 +22,2 @@ 'use strict';

return fetchBrands(url).then(function(response) {
console.log(response);
response.results[0].facets[0].facetElements.forEach(function (item, index) {

@@ -25,0 +24,0 @@ data[0][index] = item.name.toLowerCase();

@@ -11,2 +11,3 @@ /*global it, describe, before */

before(function(){
this.timeout(5000);
return brands.update();

@@ -13,0 +14,0 @@ });

@@ -11,2 +11,3 @@ /*global it, describe, before */

before(function(){
this.timeout(5000);
return sections.update();

@@ -13,0 +14,0 @@ });

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