mirror of
https://github.com/ilammy/msvc-dev-cmd.git
synced 2026-09-06 21:57:19 +08:00
fe44a129df
Fixes CVE-2022-35954. Does not look like anything terriblity important to me, but hey, audit is happy.
7 lines
141 B
JavaScript
7 lines
141 B
JavaScript
import REGEX from './regex.js';
|
|
|
|
function validate(uuid) {
|
|
return typeof uuid === 'string' && REGEX.test(uuid);
|
|
}
|
|
|
|
export default validate; |