| | |
| | | const inputRx = /^(?:((?:[A-Z]:)?[/\\].*?))?(?::(.+?))?$/i; |
| | | |
| | | /** |
| | | * Returns selected browsers. |
| | | * @param {string | null | undefined} input input string |
| | | * @param {string} context the context directory |
| | | * @returns {string[] | undefined} selected browsers |
| | |
| | | }; |
| | | |
| | | /** |
| | | * Returns target properties. |
| | | * @param {string[]} browsers supported browsers list |
| | | * @returns {EcmaTargetProperties & PlatformTargetProperties & ApiTargetProperties} target properties |
| | | */ |
| | |
| | | kaios: [2, 5], |
| | | node: [6, 0] |
| | | }), |
| | | methodShorthand: rawChecker({ |
| | | chrome: 47, |
| | | and_chr: 47, |
| | | edge: 12, |
| | | firefox: 34, |
| | | and_ff: 34, |
| | | // ie: Not supported, |
| | | opera: 34, |
| | | op_mob: 34, |
| | | safari: 9, |
| | | ios_saf: 9, |
| | | samsung: 5, |
| | | android: 47, |
| | | // baidu: Not tracked, |
| | | and_qq: [14, 9], |
| | | and_uc: [15, 5], |
| | | kaios: [2, 5], |
| | | node: [4, 9] |
| | | }), |
| | | arrowFunction: rawChecker({ |
| | | chrome: 45, |
| | | and_chr: 45, |