Closed Janpot closed 4 years ago
This is breaking next.js https://github.com/vercel/next.js/issues/14419
require('native-url').parse('/:42').pathname // '/:42' require('native-url').parse('/hello:42world').pathname // '/hello:42world'
require('native-url').parse('/:42').pathname // '/:4200' require('native-url').parse('/hello:42world').pathname // '/hello:4200world'
looks like it's caused by https://github.com/GoogleChromeLabs/native-url/blob/6b0a92a0db0caafe6400d54533df04703cb2cf65/src/parse.js#L91
This is breaking next.js https://github.com/vercel/next.js/issues/14419
Expected Behavior
Actual Behavior
Steps to Reproduce the Problem
Specifications