A URL builder library for JavaScript.
Because path parameter validation was too strict in the previous version, urlcat would fail for paths containing a port number. This release fixes this bug.
This is a patch release which means that:
npm install urlcat
This release fixes two bugs where nonsensical parameter values were accepted.
This is a patch release which means that:
npm install urlcat
This release fixes a bug in the urlcat(pathTemplate, params)
overload and makes it usable again.
This is a patch release which means that:
urlcat(pathTemplate, params)
overloadnpm install urlcat
A major internal refactoring, a bugfix and some minor but breaking changes.
This is a major release which means that it contains breaking changes.
URL
and URLSearchParams
internallybasePath
and baseTemplate
parameters are validated. If they are not valid URLs (baseTemplate
is validated after path param substitution), an error is thrown.+
instead of %20
.npm install urlcat
This release allows the project to support older Node versions. We can officially support Node 10 and above (mocha doesn't run on older versions and we don't want to downgrade). Older versions might work but are not officially supported.
This is a patch release which means that:
npm install urlcat
This is the first production-ready release. It contains a complete overhaul of the API (which is why this is a major version). After this, the API should be fairly stable; I don't see any big changes coming.
Zip/tar.gz/CDN releases are not yet supported, please install using npm
:
npm install --save urlcat