@availity/resolve-url
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -6,2 +6,13 @@ # Change Log | ||
## [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) | ||
### Bug Fixes | ||
* **resolve-url:** make ie11 compat ([c2e6e95](https://github.com/Availity/sdk-js/commit/c2e6e95)) | ||
# 1.0.0 (2019-04-23) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@availity/resolve-url", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Resolve absolute url from relative urls", | ||
@@ -11,10 +11,7 @@ "main": "resolve-url.js", | ||
"author": "Rob McGuinness <rob.mcguinness@availity.com>", | ||
"license": "UNLICENSED", | ||
"dependencies": { | ||
"is-absolute-url": "^3.0.0", | ||
"relative-to-absolute-iri": "^1.0.2" | ||
}, | ||
"license": "MIT", | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
}, | ||
"gitHead": "1032442aa440d1dc5736f48ee540e85d13dd30c7" | ||
} |
@@ -5,4 +5,4 @@ # resolve-url | ||
This library is a small wrapper around [relative-to-absolute-iri | ||
](https://github.com/rubensworks/relative-to-absolute-iri.js) which resolve srelative IRIs to absolute IRIs given a base IRI, conforming to [RFC3986}(https://www.ietf.org/rfc/rfc3986.txt). | ||
This library resolves relative IRIs to absolute IRIs given a base IRI, conforming to \[RFC3986}(<https://www.ietf.org/rfc/rfc3986.txt>). The code was borrowed from [relative-to-absolute-iri | ||
](https://github.com/rubensorks/relative-to-absolute-iri.js). There is an open issue to make the library compatible with IE11: [Issue #5](https://github.com/rubensworks/relative-to-absolute-iri.js/issues/5) | ||
@@ -40,3 +40,3 @@ ## Installation | ||
> The following examples were adapted from [relative-to-absolute-iri | ||
](https://github.com/rubensworks/relative-to-absolute-iri.js) | ||
> ](https://github.com/rubensworks/relative-to-absolute-iri.js) | ||
@@ -69,3 +69,2 @@ ### Hashes | ||
Relative URIs that starts with a `/` erase the path of the base IRI. | ||
@@ -89,3 +88,3 @@ | ||
- `URI` - Uniform Resource Identifier allows ASCII characters | ||
- `IRI` - Internationalized Resource Identifier allows Unicode typeset | ||
- `URI` - Uniform Resource Identifier allows ASCII characters | ||
- `IRI` - Internationalized Resource Identifier allows Unicode typeset |
@@ -1,3 +0,3 @@ | ||
import isAbsoluteUrl from 'is-absolute-url'; | ||
import { resolve } from 'relative-to-absolute-iri'; | ||
import isAbsoluteUrl from './is-absolute-url'; | ||
import { resolve } from './relative-to-absolute'; | ||
@@ -4,0 +4,0 @@ const resolveUrl = ({ relative = '', base }) => { |
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
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
Explicitly Unlicensed Item
License(Experimental) Something was found which is explicitly marked as unlicensed.
Found 1 instance in 1 package
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
34575
0
10
0
0
0
100
733
87
1
- Removedis-absolute-url@^3.0.0
- Removedrelative-to-absolute-iri@^1.0.2
- Removedis-absolute-url@3.0.3(transitive)
- Removedrelative-to-absolute-iri@1.0.7(transitive)