diff --git a/src/BaGet.UI/src/DisplayPackage/DisplayPackage.tsx b/src/BaGet.UI/src/DisplayPackage/DisplayPackage.tsx index db4ade8c..89114c70 100644 --- a/src/BaGet.UI/src/DisplayPackage/DisplayPackage.tsx +++ b/src/BaGet.UI/src/DisplayPackage/DisplayPackage.tsx @@ -2,7 +2,7 @@ import { Icon } from 'office-ui-fabric-react/lib/Icon'; import * as React from 'react'; import ReactMarkdown from 'react-markdown'; import timeago from 'timeago.js'; -import { gt } from 'semver'; +import { coerce, gt, SemVer } from 'semver'; import { config } from '../config'; import Dependencies from './Dependencies'; @@ -317,16 +317,21 @@ class DisplayPackage extends React.Component