New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 1.3.3 to 1.3.4

6

dist/single-spa.js

@@ -21,2 +21,6 @@ 'use strict';

if (!window.Symbol) {
window.Symbol = function () {};
}
function prependUrl(prefix, url) {

@@ -384,3 +388,3 @@ if (!url.startsWith('/')) {

}
if ((typeof lifecycles === 'undefined' ? 'undefined' : _typeof(lifecycles)) !== 'object' && typeof lifecycles !== 'function') {
if ((typeof lifecycles === 'undefined' ? 'undefined' : _typeof(lifecycles)) !== 'object') {
throw new Error('App ' + appLocation + ' must export a \'lifecycles\' object or array of objects');

@@ -387,0 +391,0 @@ }

6

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

@@ -24,4 +24,4 @@ "main": "dist/single-spa.js",

"devDependencies": {
"babel-cli": "6.1.18",
"babel-preset-es2015": "6.1.18"
"babel-cli": "^6.3.15",
"babel-preset-es2015": "^6.3.13"
},

@@ -28,0 +28,0 @@ "ignore": [

@@ -10,2 +10,7 @@ let appLocationToApp = {};

if (!window.Symbol) {
//babel uses Symbol in its _typeof function, and it breaks in IE unless we polyfill at least a little bit
window.Symbol = function() {};
}
function prependUrl(prefix, url) {

@@ -355,3 +360,3 @@ if (!url.startsWith('/')) {

}
if (typeof lifecycles !== 'object' && typeof lifecycles !== 'function') {
if (typeof lifecycles !== 'object') {
throw new Error(`App ${appLocation} must export a 'lifecycles' object or array of objects`);

@@ -358,0 +363,0 @@ }

Sorry, the diff of this file is not supported yet

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