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

single-spa-angular

Package Overview
Dependencies
Maintainers
14
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

single-spa-angular - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

11

lib/webpack/index.js

@@ -11,3 +11,3 @@ "use strict";

exports.default = (config, options, extraOptions) => {
var _a, _b, _c;
var _a, _b, _c, _d;
const libraryName = getLibraryName(options);

@@ -44,2 +44,11 @@ extraOptions = Object.assign(Object.assign({}, defaultExtraOptions), extraOptions);

};
// Do not set the `client.webSocketURL` configuration if there's no host and port.
if (((_d = config.devServer) === null || _d === void 0 ? void 0 : _d.host) && config.devServer.port) {
singleSpaConfig.devServer.client = {
webSocketURL: {
hostname: config.devServer.host,
port: config.devServer.port,
},
};
}
const mergedConfig = mergeConfigs(config, singleSpaConfig);

@@ -46,0 +55,0 @@ if (mergedConfig.output.libraryTarget === 'system') {

17

package.json
{
"$schema": "../node_modules/ng-packagr/ng-package.schema.json",
"name": "single-spa-angular",
"version": "6.0.0",
"version": "6.0.1",
"description": "Helpers for building single-spa applications which use Angular 2",

@@ -32,9 +32,6 @@ "schematics": "./schematics/schematics.json",

},
"module": "fesm2015/single-spa-angular.mjs",
"es2020": "fesm2020/single-spa-angular.mjs",
"esm2020": "esm2020/single-spa-angular.mjs",
"fesm2020": "fesm2020/single-spa-angular.mjs",
"fesm2015": "fesm2015/single-spa-angular.mjs",
"typings": "single-spa-angular.d.ts",
"exports": {
"./lib/webpack": {
"default": "./lib/webpack/index.js"
},
"./package.json": {

@@ -76,2 +73,8 @@ "default": "./package.json"

},
"module": "fesm2015/single-spa-angular.mjs",
"es2020": "fesm2020/single-spa-angular.mjs",
"esm2020": "esm2020/single-spa-angular.mjs",
"fesm2020": "fesm2020/single-spa-angular.mjs",
"fesm2015": "fesm2015/single-spa-angular.mjs",
"typings": "single-spa-angular.d.ts",
"dependencies": {

@@ -78,0 +81,0 @@ "tslib": "^2.3.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