Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

single-spa

Package Overview
Dependencies
Maintainers
1
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

single-spa - npm Package Compare versions

Comparing version 2.0.11 to 2.0.12

5

lib/single-spa.js

@@ -227,3 +227,6 @@ 'use strict';

if (window.location.origin + window.location.pathname === anchorElement.origin + anchorElement.pathname) {
// MS Edge does not put an `origin` property on anchor elements :(
var anchorOrigin = anchorElement.origin || anchorElement.protocol + "//" + anchorElement.hostname + (anchorElement.port ? ':' + anchorElement.port : '');
if (window.location.origin + window.location.pathname === anchorOrigin + anchorElement.pathname) {
window.location.hash = anchorElement.hash;

@@ -230,0 +233,0 @@ } else {

2

package.json
{
"name": "single-spa",
"version": "2.0.11",
"version": "2.0.12",
"description": "Multiple applications, one page",

@@ -5,0 +5,0 @@ "main": "lib/single-spa.js",

@@ -190,3 +190,6 @@ import { handleChildAppError } from './single-spa-child-app-error.js';

if (window.location.origin + window.location.pathname === anchorElement.origin + anchorElement.pathname) {
// MS Edge does not put an `origin` property on anchor elements :(
const anchorOrigin = anchorElement.origin || anchorElement.protocol + "//" + anchorElement.hostname + (anchorElement.port ? ':' + anchorElement.port : '');
if (window.location.origin + window.location.pathname === anchorOrigin + anchorElement.pathname) {
window.location.hash = anchorElement.hash;

@@ -193,0 +196,0 @@ } else {

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