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

@module-federation/sdk

Package Overview
Dependencies
Maintainers
8
Versions
621
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@module-federation/sdk - npm Package Compare versions

Comparing version 0.0.0-next-20240225075926 to 0.0.0-next-20240226093820

5

dist/index.cjs.js

@@ -239,3 +239,4 @@ 'use strict';

var parseEntry = function(str, devVerOrUrl) {
var strSplit = str.split(SEPARATOR);
var separator = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : SEPARATOR;
var strSplit = str.split(separator);
var devVersionOrUrl = getProcessEnv()["NODE_ENV"] === "development" && devVerOrUrl;

@@ -249,3 +250,3 @@ var defaultVersion = "*";

var _strSplit = _to_array(strSplit), name = _strSplit[0], versionOrEntryArr = _strSplit.slice(1);
var versionOrEntry = devVersionOrUrl || versionOrEntryArr.join(SEPARATOR);
var versionOrEntry = devVersionOrUrl || versionOrEntryArr.join(separator);
if (isEntry(versionOrEntry)) {

@@ -252,0 +253,0 @@ return {

@@ -235,3 +235,4 @@ function _define_property$2(obj, key, value) {

var parseEntry = function(str, devVerOrUrl) {
var strSplit = str.split(SEPARATOR);
var separator = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : SEPARATOR;
var strSplit = str.split(separator);
var devVersionOrUrl = getProcessEnv()["NODE_ENV"] === "development" && devVerOrUrl;

@@ -245,3 +246,3 @@ var defaultVersion = "*";

var _strSplit = _to_array(strSplit), name = _strSplit[0], versionOrEntryArr = _strSplit.slice(1);
var versionOrEntry = devVersionOrUrl || versionOrEntryArr.join(SEPARATOR);
var versionOrEntry = devVersionOrUrl || versionOrEntryArr.join(separator);
if (isEntry(versionOrEntry)) {

@@ -248,0 +249,0 @@ return {

2

dist/src/utils.d.ts
import { RemoteEntryInfo, ModuleInfo } from './types';
import { Logger } from './logger';
declare const parseEntry: (str: string, devVerOrUrl?: string) => RemoteEntryInfo;
declare const parseEntry: (str: string, devVerOrUrl?: string, separator?: string) => RemoteEntryInfo;
declare global {

@@ -5,0 +5,0 @@ var FEDERATION_DEBUG: string | undefined;

{
"name": "@module-federation/sdk",
"version": "0.0.0-next-20240225075926",
"version": "0.0.0-next-20240226093820",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "A sdk for support module federation",

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