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
This version has an important bugfix for resolveUrl.withQuery, which was not working in v1.0.0. Because of that v1.0.0 is deprecated and this version (or newer one) should be used instead.
resolve-url.macro has been used at Codility in production for several months already, without any problems. The only small annoyance was a need to combine query with resolved URLs separately. With this major version, a new feature is introduced:
Parameters can be made optional by including different versions of URLs with the same name. Such URLs have to have a different number of arguments, e.g.
The cooked property was missing in the template literal constructor, which conflicted with babel-plugin-transform-ed2015-template-literals (even though raw is preferred in other places).