debian-mirror-gitlab/core-js/internals/webkit-string-pad-bug.js
2019-09-25 13:30:05 +05:30

5 lines
240 B
JavaScript

// https://github.com/zloirock/core-js/issues/280
var userAgent = require('../internals/user-agent');
// eslint-disable-next-line unicorn/no-unsafe-regex
module.exports = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(userAgent);