Socket
Socket
Sign inDemoInstall

@availity/resolve-url

Package Overview
Dependencies
Maintainers
14
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.1.3 to 1.1.4

45

CHANGELOG.md

@@ -6,3 +6,3 @@ # Change Log

## [1.1.3](https://github.com/Availity/sdk-js/compare/@availity/resolve-url@1.1.2...@availity/resolve-url@1.1.3) (2020-01-03)
## [1.1.4](https://github.com/Availity/sdk-js/compare/@availity/resolve-url@1.1.3...@availity/resolve-url@1.1.4) (2020-01-23)

@@ -15,10 +15,10 @@ **Note:** Version bump only for package @availity/resolve-url

## [1.1.2](https://github.com/Availity/sdk-js/compare/@availity/resolve-url@1.1.1...@availity/resolve-url@1.1.2) (2020-01-03)
## [1.1.3](https://github.com/Availity/sdk-js/compare/@availity/resolve-url@1.1.2...@availity/resolve-url@1.1.3) (2020-01-03)
**Note:** Version bump only for package @availity/resolve-url
## [1.1.2](https://github.com/Availity/sdk-js/compare/@availity/resolve-url@1.1.1...@availity/resolve-url@1.1.2) (2020-01-03)
**Note:** Version bump only for package @availity/resolve-url
## [1.1.1](https://github.com/Availity/sdk-js/compare/@availity/resolve-url@1.1.0...@availity/resolve-url@1.1.1) (2019-10-21)

@@ -28,56 +28,31 @@

# [1.1.0](https://github.com/Availity/sdk-js/compare/@availity/resolve-url@1.0.3...@availity/resolve-url@1.1.0) (2019-04-29)
### Features
* **resolve-url:** add isAbsoluteUrl to exports ([016cee6](https://github.com/Availity/sdk-js/commit/016cee6))
- **resolve-url:** add isAbsoluteUrl to exports ([016cee6](https://github.com/Availity/sdk-js/commit/016cee6))
## [1.0.3](https://github.com/Availity/sdk-js/compare/@availity/resolve-url@1.0.2...@availity/resolve-url@1.0.3) (2019-04-26)
### Bug Fixes
* **resolve-url:** use window.location.origin ([bcfe310](https://github.com/Availity/sdk-js/commit/bcfe310))
- **resolve-url:** use window.location.origin ([bcfe310](https://github.com/Availity/sdk-js/commit/bcfe310))
## [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))
- **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)
### Bug Fixes
* **resolve-url:** make ie11 compat ([c2e6e95](https://github.com/Availity/sdk-js/commit/c2e6e95))
- **resolve-url:** make ie11 compat ([c2e6e95](https://github.com/Availity/sdk-js/commit/c2e6e95))
# 1.0.0 (2019-04-23)
### Features
* **resolve-url:** options to resolve url using base url ([2cd0670](https://github.com/Availity/sdk-js/commit/2cd0670))
* **resolve-url:** resolve relative urls to full location href ([f4ec953](https://github.com/Availity/sdk-js/commit/f4ec953))
- **resolve-url:** options to resolve url using base url ([2cd0670](https://github.com/Availity/sdk-js/commit/2cd0670))
- **resolve-url:** resolve relative urls to full location href ([f4ec953](https://github.com/Availity/sdk-js/commit/f4ec953))
{
"name": "@availity/resolve-url",
"version": "1.1.3",
"version": "1.1.4",
"description": "Resolve absolute url from relative urls",

@@ -17,3 +17,3 @@ "main": "lib/index.js",

},
"gitHead": "58e503379e5371c8552cb0c9747c10945b7b20a4"
"gitHead": "4a3f6381d7ccbbbec777c015e2f53aa3c32778a1"
}

@@ -7,11 +7,19 @@ # resolve-url

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)~
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)~
## Installation
### NPM
```bash
npm install @av/resolve-url --save
$ npm install @av/resolve-url
```
### Yarn
```bash
$ yarn add @av/resolve-url
```
## [Documentation](https://availity.github.io/sdk-js/features/resolve-url)

@@ -1,3 +0,3 @@

declare function isAbsoluteUrl(url: string):boolean;
declare function isAbsoluteUrl(url: string): boolean;
export default isAbsoluteUrl;
declare function removeDotSegments(path: string): string;
declare function removeDotSegmentsOfPath(iri: string, colonPosition: number): string;
declare function removeDotSegmentsOfPath(
iri: string,
colonPosition: number
): string;
declare function resolve(relativeIRI: string, baseIRI: string): boolean;
export { removeDotSegments, removeDotSegmentsOfPath };
export {
removeDotSegments,
removeDotSegmentsOfPath
}
export default resolve;
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