mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-15 08:17:07 +00:00
updated to latest API
This commit is contained in:
parent
c8396d38eb
commit
87cd6df3ef
3 changed files with 6 additions and 6 deletions
6
package-lock.json
generated
6
package-lock.json
generated
|
@ -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": {
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue