From d6cc8276ffa36ebae89677c36558765058b31785 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 May 2021 12:18:37 +0000 Subject: [PATCH 1/2] chore(deps): bump azure-devops-ui from 2.166.99 to 2.167.2 Bumps [azure-devops-ui](https://github.com/Microsoft/azure-devops-ui) from 2.166.99 to 2.167.2. - [Release notes](https://github.com/Microsoft/azure-devops-ui/releases) - [Commits](https://github.com/Microsoft/azure-devops-ui/commits) Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index decac54..e74c0cb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3612,9 +3612,9 @@ } }, "azure-devops-ui": { - "version": "2.166.99", - "resolved": "https://registry.npmjs.org/azure-devops-ui/-/azure-devops-ui-2.166.99.tgz", - "integrity": "sha512-ONfewmksJRtiGPWMLr2ohSNnN+Dcppv5GThNYvFzvOmGcK4jv6eq77RegRMUqGlBJKscjVFcLMT4M3eJfCzg/w==", + "version": "2.167.2", + "resolved": "https://registry.npmjs.org/azure-devops-ui/-/azure-devops-ui-2.167.2.tgz", + "integrity": "sha512-Yd4MG6VwjaUHRnt/yilMxJOMVjwgRp736fAVxp2u9xbB74JVgk49anVmSiIoqIhfwEAYAlGAHtCdvGpfd8FvWw==", "requires": { "array.prototype.find": "~2.0.4", "es6-object-assign": "~1.1.0", diff --git a/package.json b/package.json index cba8bfa..114b5e9 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "@uifabric/utilities": "^7.33.5", "azure-devops-extension-api": "^1.158.0", "azure-devops-extension-sdk": "^2.0.11", - "azure-devops-ui": "^2.166.99", + "azure-devops-ui": "^2.167.2", "core-js": "^3.12.1", "immer": "^9.0.2", "office-ui-fabric-react": "^7.170.0", From 7f5cc70432797c0537d471d79f63a872badaca4e Mon Sep 17 00:00:00 2001 From: hangy Date: Mon, 10 May 2021 16:41:37 +0200 Subject: [PATCH 2/2] Use IFilter instead of Filter to avoid build error --- src/pages/home/home.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/home/home.tsx b/src/pages/home/home.tsx index 13b6c22..405ca33 100644 --- a/src/pages/home/home.tsx +++ b/src/pages/home/home.tsx @@ -6,7 +6,7 @@ import { MessageCard, MessageCardSeverity } from "azure-devops-ui/MessageCard"; import { Page } from "azure-devops-ui/Page"; import { Tab, TabBar } from "azure-devops-ui/Tabs"; import { KeywordFilterBarItem } from "azure-devops-ui/TextFilterBarItem"; -import { Filter } from "azure-devops-ui/Utilities/Filter"; +import { Filter, IFilter } from "azure-devops-ui/Utilities/Filter"; import * as React from "react"; import { connect } from "react-redux"; import CreatePanel from "../../components/create/panel"; @@ -41,13 +41,13 @@ const Actions = { }; class HomePage extends React.Component { - filter: Filter; + filter: IFilter; filterToggled = new ObservableValue(false); constructor(props: IHomePageProps & typeof Actions) { super(props); - this.filter = new Filter(); + this.filter = new Filter() as IFilter; this.filter.subscribe((state) => { props.filter(state["keyword"] && state["keyword"]!.value); });