Comparing version 0.0.1-alpha.2 to 0.0.1-alpha.3
@@ -9,2 +9,10 @@ All notable changes to this project will be documented in this file. | ||
## [0.0.1-alpha.3] - 2019-01-03 | ||
### Added | ||
- support for custom URL parser (to allow polyfills or environments where global URL is already taken by something else, | ||
like React Native) | ||
### Changed | ||
- updated eslint config | ||
## [0.0.1-alpha.2] - 2019-01-03 | ||
@@ -11,0 +19,0 @@ ### Added |
@@ -62,5 +62,7 @@ "use strict"; | ||
var URLParser = URL; | ||
var safeUrlParse = function safeUrlParse(url) { | ||
try { | ||
return new URL(url); | ||
return new URLParser(url); | ||
} catch (e) { | ||
@@ -252,3 +254,7 @@ // eslint-disable-line no-unused-vars | ||
ApiClient.configure = function (options) { | ||
URLParser = options.URL; | ||
}; | ||
var _default = ApiClient; | ||
exports.default = _default; |
{ | ||
"name": "api-reach", | ||
"version": "0.0.1-alpha.2", | ||
"version": "0.0.1-alpha.3", | ||
"repository": "https://github.com/dzek69/api-reach.git", | ||
@@ -23,3 +23,3 @@ "author": "Jacek Nowacki @dzek69 <git-public@dzek.eu>", | ||
"@babel/register": "^7.0.0", | ||
"@dzek69/eslint-config-base": "^0.0.1", | ||
"@dzek69/eslint-config-base": "^0.0.3", | ||
"babel-plugin-rewire": "^1.2.0", | ||
@@ -26,0 +26,0 @@ "cross-env": "^5.2.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
168333
1900