Socket
Socket
Sign inDemoInstall

@availity/resolve-url

Package Overview
Dependencies
Maintainers
7
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.1 to 1.0.2

11

CHANGELOG.md

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

4

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

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