@availity/resolve-url
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -6,2 +6,13 @@ # Change Log | ||
## [1.0.2](https://github.com/Availity/sdk-js/compare/@availity/resolve-url@1.0.1...@availity/resolve-url@1.0.2) (2019-04-25) | ||
### Bug Fixes | ||
* **resolve-url:** startsWith not supported in IE ([1a3d0b7](https://github.com/Availity/sdk-js/commit/1a3d0b7)) | ||
## [1.0.1](https://github.com/Availity/sdk-js/compare/@availity/resolve-url@1.0.0...@availity/resolve-url@1.0.1) (2019-04-25) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@availity/resolve-url", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Resolve absolute url from relative urls", | ||
@@ -15,3 +15,3 @@ "main": "resolve-url.js", | ||
}, | ||
"gitHead": "1032442aa440d1dc5736f48ee540e85d13dd30c7" | ||
"gitHead": "f37d9f86eb6aeb5341f662996322934bfcbf8fd9" | ||
} |
@@ -142,3 +142,3 @@ // Borrowed from https://github.com/rubensworks/relative-to-absolute-iri.js but refactored to work with IE11. | ||
// If the value starts with a query character, concat directly (but strip the existing query) | ||
if (relativeIRI.startsWith('?')) { | ||
if (relativeIRI.indexOf('?') === 0) { | ||
const baseQueryPos = baseIRI.indexOf('?'); | ||
@@ -152,3 +152,3 @@ if (baseQueryPos > 0) { | ||
// If the value starts with a fragment character, concat directly | ||
if (relativeIRI.startsWith('#')) { | ||
if (relativeIRI.indexOf('#') === 0) { | ||
return baseIRI + relativeIRI; | ||
@@ -155,0 +155,0 @@ } |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
34842
0