From 83b2a29ce9b20b7379a5334c372fbc8463de86ac Mon Sep 17 00:00:00 2001 From: Ed Gargan Date: Fri, 29 Sep 2023 10:48:54 +0100 Subject: [PATCH] chore: update n-topic-search to 6.1.0, from 4.0.0 4.0.0 to 6.0.0 only updates n-topic-search's node version to 18, and updates n-express to 27.4.0. 6.1.0 makes a slight improvement to the search dropdown component, to prevent unnecessary requests to the API that provides the topics and securities data. --- package-lock.json | 117 +++++++++---------------- packages/dotcom-ui-header/package.json | 2 +- 2 files changed, 42 insertions(+), 77 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3f769fb4a..410a975bf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38124,6 +38124,11 @@ "npm": "7.x || 8.x" } }, + "node_modules/ftdomdelegate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ftdomdelegate/-/ftdomdelegate-5.0.0.tgz", + "integrity": "sha512-P9UmLMIq/ibxxFVBHlE2EIoHcFNDpamn3urRCwVWMnj3o9nAgLtqe64WVuqcGtkN4wujrBYeyxKCuN1/WO+bQw==" + }, "node_modules/function-bind": { "version": "1.1.1", "dev": true, @@ -44378,6 +44383,22 @@ "npm": "7.x || 8.x" } }, + "node_modules/n-topic-search": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/n-topic-search/-/n-topic-search-6.1.0.tgz", + "integrity": "sha512-YvtYiidTouavuz8+cuEwgROZZ8oMjmwhOjowcnFgp0sfG3r0eeX23I49BOJVsmVc5NXhMOXt0cS4UTi5ZKloYA==", + "dependencies": { + "ftdomdelegate": "^5.0.0", + "morphdom": "^2.5.4" + }, + "engines": { + "node": "16.x || 18.x", + "npm": "7.x || 8.x || 9.x" + }, + "peerDependencies": { + "n-ui-foundations": "^9.0.0" + } + }, "node_modules/n-ui-foundations": { "version": "9.1.0", "resolved": "https://registry.npmjs.org/n-ui-foundations/-/n-ui-foundations-9.1.0.tgz", @@ -85365,7 +85386,7 @@ "license": "MIT", "dependencies": { "@financial-times/dotcom-types-navigation": "file:../dotcom-types-navigation", - "n-topic-search": "^4.0.0", + "n-topic-search": "^6.1.0", "n-ui-foundations": "^9.0.0" }, "devDependencies": { @@ -86165,10 +86186,6 @@ "node": ">=0.8.0" } }, - "packages/dotcom-ui-header/node_modules/ftdomdelegate": { - "version": "5.0.0", - "license": "MIT" - }, "packages/dotcom-ui-header/node_modules/gensync": { "version": "1.0.0-beta.2", "dev": true, @@ -86307,22 +86324,6 @@ "dev": true, "license": "MIT" }, - "packages/dotcom-ui-header/node_modules/n-topic-search": { - "version": "4.0.0", - "hasInstallScript": true, - "license": "ISC", - "dependencies": { - "ftdomdelegate": "^5.0.0", - "morphdom": "^2.5.4" - }, - "engines": { - "node": "14.x || 16.x", - "npm": "7.x" - }, - "peerDependencies": { - "n-ui-foundations": "^9.0.0" - } - }, "packages/dotcom-ui-header/node_modules/node-releases": { "version": "2.0.8", "dev": true, @@ -114040,7 +114041,7 @@ "@svgr/core": "^5.0.0", "camelcase": "^6.0.0", "check-engine": "^1.10.1", - "n-topic-search": "^4.0.0", + "n-topic-search": "^6.1.0", "n-ui-foundations": "^9.0.0", "react": "^16.8.6" }, @@ -114731,9 +114732,6 @@ "version": "1.0.5", "dev": true }, - "ftdomdelegate": { - "version": "5.0.0" - }, "gensync": { "version": "1.0.0-beta.2", "dev": true @@ -114817,13 +114815,6 @@ "version": "2.1.2", "dev": true }, - "n-topic-search": { - "version": "4.0.0", - "requires": { - "ftdomdelegate": "^5.0.0", - "morphdom": "^2.5.4" - } - }, "node-releases": { "version": "2.0.8", "dev": true @@ -116067,7 +116058,7 @@ "@svgr/core": "^5.0.0", "camelcase": "^6.0.0", "check-engine": "^1.10.1", - "n-topic-search": "^4.0.0", + "n-topic-search": "^6.1.0", "n-ui-foundations": "^9.0.0", "react": "^16.8.6" }, @@ -116758,9 +116749,6 @@ "version": "1.0.5", "dev": true }, - "ftdomdelegate": { - "version": "5.0.0" - }, "gensync": { "version": "1.0.0-beta.2", "dev": true @@ -116844,13 +116832,6 @@ "version": "2.1.2", "dev": true }, - "n-topic-search": { - "version": "4.0.0", - "requires": { - "ftdomdelegate": "^5.0.0", - "morphdom": "^2.5.4" - } - }, "node-releases": { "version": "2.0.8", "dev": true @@ -137126,7 +137107,7 @@ "@svgr/core": "^5.0.0", "camelcase": "^6.0.0", "check-engine": "^1.10.1", - "n-topic-search": "^4.0.0", + "n-topic-search": "^6.1.0", "n-ui-foundations": "^9.0.0", "react": "^16.8.6" }, @@ -137817,9 +137798,6 @@ "version": "1.0.5", "dev": true }, - "ftdomdelegate": { - "version": "5.0.0" - }, "gensync": { "version": "1.0.0-beta.2", "dev": true @@ -137903,13 +137881,6 @@ "version": "2.1.2", "dev": true }, - "n-topic-search": { - "version": "4.0.0", - "requires": { - "ftdomdelegate": "^5.0.0", - "morphdom": "^2.5.4" - } - }, "node-releases": { "version": "2.0.8", "dev": true @@ -168478,7 +168449,7 @@ "@svgr/core": "^5.0.0", "camelcase": "^6.0.0", "check-engine": "^1.10.1", - "n-topic-search": "^4.0.0", + "n-topic-search": "^6.1.0", "n-ui-foundations": "^9.0.0", "react": "^16.8.6" }, @@ -169169,9 +169140,6 @@ "version": "1.0.5", "dev": true }, - "ftdomdelegate": { - "version": "5.0.0" - }, "gensync": { "version": "1.0.0-beta.2", "dev": true @@ -169255,13 +169223,6 @@ "version": "2.1.2", "dev": true }, - "n-topic-search": { - "version": "4.0.0", - "requires": { - "ftdomdelegate": "^5.0.0", - "morphdom": "^2.5.4" - } - }, "node-releases": { "version": "2.0.8", "dev": true @@ -195615,7 +195576,7 @@ "@svgr/core": "^5.0.0", "camelcase": "^6.0.0", "check-engine": "^1.10.1", - "n-topic-search": "^4.0.0", + "n-topic-search": "^6.1.0", "n-ui-foundations": "^9.0.0", "react": "^16.8.6" }, @@ -196306,9 +196267,6 @@ "version": "1.0.5", "dev": true }, - "ftdomdelegate": { - "version": "5.0.0" - }, "gensync": { "version": "1.0.0-beta.2", "dev": true @@ -196392,13 +196350,6 @@ "version": "2.1.2", "dev": true }, - "n-topic-search": { - "version": "4.0.0", - "requires": { - "ftdomdelegate": "^5.0.0", - "morphdom": "^2.5.4" - } - }, "node-releases": { "version": "2.0.8", "dev": true @@ -203632,6 +203583,11 @@ "n-eager-fetch": "^5.1.0" } }, + "ftdomdelegate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ftdomdelegate/-/ftdomdelegate-5.0.0.tgz", + "integrity": "sha512-P9UmLMIq/ibxxFVBHlE2EIoHcFNDpamn3urRCwVWMnj3o9nAgLtqe64WVuqcGtkN4wujrBYeyxKCuN1/WO+bQw==" + }, "function-bind": { "version": "1.1.1", "dev": true @@ -207724,6 +207680,15 @@ "npm-prepublish": "^1.2.2" } }, + "n-topic-search": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/n-topic-search/-/n-topic-search-6.1.0.tgz", + "integrity": "sha512-YvtYiidTouavuz8+cuEwgROZZ8oMjmwhOjowcnFgp0sfG3r0eeX23I49BOJVsmVc5NXhMOXt0cS4UTi5ZKloYA==", + "requires": { + "ftdomdelegate": "^5.0.0", + "morphdom": "^2.5.4" + } + }, "n-ui-foundations": { "version": "9.1.0", "resolved": "https://registry.npmjs.org/n-ui-foundations/-/n-ui-foundations-9.1.0.tgz", diff --git a/packages/dotcom-ui-header/package.json b/packages/dotcom-ui-header/package.json index 859f057b8..c7cdcce90 100644 --- a/packages/dotcom-ui-header/package.json +++ b/packages/dotcom-ui-header/package.json @@ -23,7 +23,7 @@ "license": "MIT", "dependencies": { "@financial-times/dotcom-types-navigation": "file:../dotcom-types-navigation", - "n-topic-search": "^4.0.0", + "n-topic-search": "^6.1.0", "n-ui-foundations": "^9.0.0" }, "devDependencies": {