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.1.1 to 2.1.2

8

lib/single-spa-child-app-error.js

@@ -30,3 +30,9 @@ 'use strict';

} else {
var err = new Error(obj || 'An error has occurred within a ChildApp of single-spa');
var msg = void 0;
try {
msg = JSON.stringify(obj);
} catch (ex) {
msg = obj || 'An error has occurred within a child app of single-spa';
}
var err = new Error(msg);
this.message = createMessage(childApp, err.message);

@@ -33,0 +39,0 @@ this.stack = err.stack;

@@ -135,2 +135,3 @@ 'use strict';

var originalReplaceState = window.history.replaceState;
window.history.replaceState = function () {

@@ -137,0 +138,0 @@ var result = originalReplaceState.apply(this, arguments);

4

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

@@ -11,3 +11,3 @@ "main": "lib/single-spa.js",

"test": "jasmine",
"build:canopy": "npm run build && rm -rf ../spalpatine/jspm_packages/npm/single-spa@2.1.1 && rsync -av . ../spalpatine/jspm_packages/npm/single-spa@2.1.1 --exclude node_modules --exclude .git --exclude --spec --exclude examples && cd ../spalpatine && npm run build-common-deps && cd ../single-spa"
"build:canopy": "npm run build && rm -rf ../spalpatine/jspm_packages/npm/single-spa@2.1.2 && rsync -av . ../spalpatine/jspm_packages/npm/single-spa@2.1.2 --exclude node_modules --exclude .git --exclude --spec --exclude examples && cd ../spalpatine && npm run build-common-deps && cd ../single-spa"
},

@@ -14,0 +14,0 @@ "repository": "https://github.com/CanopyTax/single-spa",

@@ -24,3 +24,9 @@ const window = typeof window !== 'undefined' ? window : (typeof global !== 'undefined' ? global : self);

} else {
const err = new Error(obj || 'An error has occurred within a ChildApp of single-spa');
let msg;
try {
msg = JSON.stringify(obj);
} catch(ex) {
msg = obj || 'An error has occurred within a child app of single-spa';
}
const err = new Error(msg);
this.message = createMessage(childApp, err.message);

@@ -27,0 +33,0 @@ this.stack = err.stack;

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

const originalReplaceState = window.history.replaceState;
window.history.replaceState = function() {

@@ -98,0 +99,0 @@ const result = originalReplaceState.apply(this, arguments);

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