diff --git a/package-lock.json b/package-lock.json index e78323e8..ec569ce7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8604,9 +8604,9 @@ "dev": true }, "ua-parser-js": { - "version": "0.7.19", - "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.19.tgz", - "integrity": "sha512-T3PVJ6uz8i0HzPxOF9SWzWAlfN/DavlpQqepn22xgve/5QecC+XMCAtmUNnY7C9StehaV6exjUCI801lOI7QlQ==", + "version": "0.7.20", + "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.20.tgz", + "integrity": "sha512-8OaIKfzL5cpx8eCMAhhvTlft8GYF8b2eQr6JkCyVdrgjcytyOmPCXrqXFcUnhonRpLlh5yxEZVohm6mzaowUOw==", "dev": true }, "uc.micro": { diff --git a/package.json b/package.json index 0f01bb8d..c2c8227c 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,7 @@ "tsd-jsdoc": "^2.1.2", "tslint": "^5.14.0", "typescript": "^3.3.4000", - "ua-parser-js": "^0.7.19", + "ua-parser-js": "^0.7.20", "webpack": "^4.6.0", "webpack-cli": "^3.1.2", "yargs": "^13.2.0" diff --git a/test/helper/Supports.ts b/test/helper/Supports.ts index 73dca8c5..5e1ec13f 100644 --- a/test/helper/Supports.ts +++ b/test/helper/Supports.ts @@ -1,7 +1,7 @@ -import * as UserAgentParser from "ua-parser-js"; +import { UAParser } from "ua-parser-js"; -const parsed = new UserAgentParser().getBrowser(); +const parsed = new UAParser().getBrowser(); const name = parsed.name as string;