Socket
Socket
Sign inDemoInstall

@availity/resolve-url

Package Overview
Dependencies
Maintainers
8
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@availity/resolve-url - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

is-absolute-url.js

11

CHANGELOG.md

@@ -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 @@

11

package.json
{
"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 }) => {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc