Skip to content
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Update path-browserify to v1. #79

Closed
wants to merge 2 commits into from

Conversation

goto-bus-stop
Copy link
Contributor

This version updates to the Node v10.3.0 API. This change is breaking,
because path methods now throw errors when called with arguments that are not
strings. Previously path.dirname, path.basename and path.extname did
not throw.

Change overview:

  • Add path.parse and path.format.
  • Add path.posix as an alias to path.
  • Port tests from Node.js.

@billiegoose
Copy link

Ooooh! Ooooh! YAYAYAYAYAY!!!

@billiegoose
Copy link

Is there anything blocking this? I keep getting tripped by the lack of path.posix in Webpack's path module so this upgrade would be really nice.

@JakobJingleheimer
Copy link

@evilebottnawi could you merge this please?

@alexander-akait
Copy link
Member

yep, in todo list, see on this in Monday, maybe we should update after stuff to for next major release

@alexander-akait
Copy link
Member

@jshado1 unfortunately, we can't update, for webpack it is breaking change, also webpack@5 already doesn't add polyfills by default. Anyway i am open for idea how we can solve this

@goto-bus-stop
Copy link
Contributor Author

@evilebottnawi there is another PR to update path-browserify to 0.0.1, which fixes the ReDOS vuln but doesn't introduce breaking changes: #89

@JakobJingleheimer
Copy link

@evilebottnawi shouldn't the arguments already be strings? I suppose it technically would be breaking if enforced now.

Sorry, I don't understand your comment about polyfills.

@alexander-akait
Copy link
Member

@jshado1 webpack@5 doesn't add node polyfills by default, for webpack@4 it is breaking change

@sokra
Copy link
Member

sokra commented Jun 12, 2019

This library is deprecated and won't accept Pull Requests that include Breaking Changes or new Features. Only bugfixes are accepted.

@sokra sokra closed this Jun 12, 2019
@billiegoose
Copy link

the times, they are a-changin'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants