diff --git a/src/parser-browsers.js b/src/parser-browsers.js index fba7884..74b2bad 100644 --- a/src/parser-browsers.js +++ b/src/parser-browsers.js @@ -559,7 +559,7 @@ const browsersList = [ const browser = { name: 'PlayStation 4', }; - const version = getFirstMatch(commonVersionIdentifier, ua); + const version = Utils.getFirstMatch(commonVersionIdentifier, ua); if (version) { browser.version = version; diff --git a/src/parser-os.js b/src/parser-os.js index 9896b6a..f3f51d2 100644 --- a/src/parser-os.js +++ b/src/parser-os.js @@ -155,7 +155,7 @@ export default [ { test: [/PlayStation 4/], describe(ua) { - const version = getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i, ua); + const version = Utils.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i, ua); return { name: 'PlayStation 4', version,