- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 33.6k
path: fix toNamespacedPath on Windows #52915
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Merged
      
      
            nodejs-github-bot
  merged 1 commit into
  nodejs:main
from
JaneaSystems:huseyin-30224-fix-namespacedpath-inconsistency
  
      
      
   
  May 13, 2024 
      
    
                
     Merged
            
            path: fix toNamespacedPath on Windows #52915
                    nodejs-github-bot
  merged 1 commit into
  nodejs:main
from
JaneaSystems:huseyin-30224-fix-namespacedpath-inconsistency
  
      
      
   
  May 13, 2024 
              
            Conversation
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
    
              
                    benjamingr
  
              
              approved these changes
              
                  
                    May 9, 2024 
                  
              
              
            
            
              
                    avivkeller
  
              
              approved these changes
              
                  
                    May 9, 2024 
                  
              
              
            
            
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Tip
My review, while it shows my support, is not blocking/approving.
              
                    lpinca
  
              
              approved these changes
              
                  
                    May 9, 2024 
                  
              
              
            
            
| Is there anything else I can do to help this PR move forward? | 
| Landed in dcd8b82 | 
    
  targos 
      pushed a commit
      that referenced
      this pull request
    
      May 15, 2024 
    
    
      
  
    
      
    
  
PR-URL: #52915 Fixes: #30224 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
    
  marco-ippolito 
      pushed a commit
      that referenced
      this pull request
    
      Jun 17, 2024 
    
    
      
  
    
      
    
  
PR-URL: #52915 Fixes: #30224 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
      
     Merged
  
    
  marco-ippolito 
      pushed a commit
      that referenced
      this pull request
    
      Jun 17, 2024 
    
    
      
  
    
      
    
  
PR-URL: #52915 Fixes: #30224 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
    
  marco-ippolito 
      pushed a commit
      that referenced
      this pull request
    
      Jun 17, 2024 
    
    
      
  
    
      
    
  
PR-URL: #52915 Fixes: #30224 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
    
  sophoniie 
      pushed a commit
        to sophoniie/node
      that referenced
      this pull request
    
      Jun 20, 2024 
    
    
      
  
    
      
    
  
PR-URL: nodejs#52915 Fixes: nodejs#30224 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
    
  bmeck 
      pushed a commit
        to bmeck/node
      that referenced
      this pull request
    
      Jun 22, 2024 
    
    
      
  
    
      
    
  
PR-URL: nodejs#52915 Fixes: nodejs#30224 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
      
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
There was an inconsistency in the implementation of
win32.toNamespacedPath(). It appears that the forward slash/wasn't consistently being converted to a backslash\. This PR fixes this issue by returningresolvedPathin thetoNamespacedPath().I've also added a test case to make sure that there will not be any regression.
Fixes: #30224