You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"use strict";varisWindows=process.platform==="win32";varsplitDeviceRe=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;varsplitTailRe=/^([\s\S]*?)((?:\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))(?:[\\\/]*)$/;varwin32={};functionwin32SplitPath(b){vara=splitDeviceRe.exec(b),g=(a[1]||"")+(a[2]||""),e=a[3]||"";vard=splitTailRe.exec(e),c=d[1],h=d[2],f=d[3];return[g,c,h,f]}win32.parse=function(b){if(typeofb!=="string"){thrownewTypeError("Parameter 'pathString' must be a string, not "+typeofb)}vara=win32SplitPath(b);if(!a||a.length!==4){thrownewTypeError("Invalid path '"+b+"'")}return{root:a[0],dir:a[0]+a[1].slice(0,-1),base:a[2],ext:a[3],name:a[2].slice(0,a[2].length-a[3].length)}};varsplitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;varposix={};functionposixSplitPath(a){returnsplitPathRe.exec(a).slice(1)}posix.parse=function(b){if(typeofb!=="string"){thrownewTypeError("Parameter 'pathString' must be a string, not "+typeofb)}vara=posixSplitPath(b);if(!a||a.length!==4){thrownewTypeError("Invalid path '"+b+"'")}a[1]=a[1]||"";a[2]=a[2]||"";a[3]=a[3]||"";return{root:a[0],dir:a[0]+a[1].slice(0,-1),base:a[2],ext:a[3],name:a[2].slice(0,a[2].length-a[3].length)}};if(isWindows){module.exports=win32.parse}else{module.exports=posix.parse}module.exports.posix=posix.parse;module.exports.win32=win32.parse;