Skip to content

Commit

Permalink
Merge pull request #24 from aaronmars/master
Browse files Browse the repository at this point in the history
Prepare for release 2.1.3
  • Loading branch information
aaronmars authored Apr 21, 2017
2 parents 22bb22f + 59d4873 commit 2531cbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
* See the License for the specific language governing permissions and
* limitations under the License.
*/
const uriParser = /^(?:(?![^:@]+:[^:@/]*@)([^:/?#.]+:))?(?:\/\/)?(?:([^:@/]*)(?::([^:@/]*))?@)?(\[[0-9a-fA-F.]+]|[^:/?#]*)(?::(\d+|(?=:)))?((?:[^?#](?![^?#/]*\.(?:[?#]|$)))*\/?)?[^?#/]*(?:(\?[^#]*))?(?:(#.*))?/;
const uriParser = /^(?:(?![^:@]+:[^:@/]*@)([^:/?#.]+:))?(?:\/\/)?(?:([^:@/]*)(?::([^:@/]*))?@)?(\[[0-9a-fA-F.]+]|[^:/?#]*)(?::(\d+|(?=:)))?((?:[^?#])*\/?)?[^?#/]*(?:(\?[^#]*))?(?:(#.*))?/;
function _parseUri(str) {
var parserKeys = [ 'href', 'protocol', 'username', 'password', 'hostname', 'port', 'pathname', 'search', 'hash' ];
var m = uriParser.exec(str);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mindtouch/mindtouch-http.js",
"main": "dist/index.js",
"version": "2.1.2",
"version": "2.1.3",
"description": "A JavaScript library to construct URLs and make HTTP requests using the fetch API",
"format": "esm",
"registry": "npm",
Expand Down

0 comments on commit 2531cbb

Please sign in to comment.