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

@softarc/native-federation-runtime

Package Overview
Dependencies
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@softarc/native-federation-runtime - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

esm2022/index.mjs

0

index.d.ts
export * from './lib/init-federation';
export * from './lib/load-remote-module';
export * from './lib/model/federation-info';
import { ImportMap } from './model/import-map';
export declare function initFederation(remotesOrManifestUrl?: Record<string, string> | string): Promise<ImportMap>;
export declare function processRemoteInfo(federationInfoUrl: string, remoteName?: string): Promise<ImportMap>;

2

lib/load-remote-module.d.ts

@@ -1,2 +0,2 @@

export declare type LoadRemoteModuleOptions = {
export type LoadRemoteModuleOptions = {
remoteEntry?: string;

@@ -3,0 +3,0 @@ remoteName?: string;

import { SharedInfo } from './federation-info';
export declare function getExternalUrl(shared: SharedInfo): string | undefined;
export declare function setExternalUrl(shared: SharedInfo, url: string): void;

@@ -1,2 +0,2 @@

export declare type SharedInfo = {
export type SharedInfo = {
singleton: boolean;

@@ -3,0 +3,0 @@ strictVersion: boolean;

@@ -1,4 +0,4 @@

export declare type Imports = Record<string, string>;
export declare type Scopes = Record<string, Imports>;
export declare type ImportMap = {
export type Imports = Record<string, string>;
export type Scopes = Record<string, Imports>;
export type ImportMap = {
imports: Imports;

@@ -5,0 +5,0 @@ scopes: Scopes;

import { FederationInfo } from './federation-info';
export declare type Remote = FederationInfo & {
export type Remote = FederationInfo & {
baseUrl: string;

@@ -4,0 +4,0 @@ };

import { ImportMap } from '../model/import-map';
export declare function appendImportMap(importMap: ImportMap): void;
export declare function getDirectory(url: string): string;
export declare function joinPaths(path1: string, path2: string): string;
{
"name": "@softarc/native-federation-runtime",
"version": "1.1.1",
"version": "1.1.2",
"peerDependencies": {},

@@ -8,7 +8,3 @@ "dependencies": {

},
"module": "fesm2015/softarc-native-federation-runtime.mjs",
"es2020": "fesm2020/softarc-native-federation-runtime.mjs",
"esm2020": "esm2020/softarc-native-federation-runtime.mjs",
"fesm2020": "fesm2020/softarc-native-federation-runtime.mjs",
"fesm2015": "fesm2015/softarc-native-federation-runtime.mjs",
"module": "fesm2022/softarc-native-federation-runtime.mjs",
"typings": "index.d.ts",

@@ -21,7 +17,5 @@ "exports": {

"types": "./index.d.ts",
"esm2020": "./esm2020/softarc-native-federation-runtime.mjs",
"es2020": "./fesm2020/softarc-native-federation-runtime.mjs",
"es2015": "./fesm2015/softarc-native-federation-runtime.mjs",
"node": "./fesm2015/softarc-native-federation-runtime.mjs",
"default": "./fesm2020/softarc-native-federation-runtime.mjs"
"esm2022": "./esm2022/softarc-native-federation-runtime.mjs",
"esm": "./esm2022/softarc-native-federation-runtime.mjs",
"default": "./fesm2022/softarc-native-federation-runtime.mjs"
}

@@ -28,0 +22,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