Socket
Socket
Sign inDemoInstall

@module-federation/sdk

Package Overview
Dependencies
Maintainers
8
Versions
520
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-20240905232541 to 0.0.0-next-20240906012942

dist/polyfills.cjs.js

14

dist/index.cjs.js

@@ -5,3 +5,3 @@ 'use strict';

var _extends = require('@swc/helpers/_/_extends');
var polyfills = require('./polyfills.cjs.js');

@@ -357,3 +357,3 @@ const FederationModuleManifest = 'federation-manifest.json';

const prefetchInterface = manifest.metaData.prefetchInterface;
basicRemoteSnapshot = _extends._({}, basicRemoteSnapshot, {
basicRemoteSnapshot = polyfills._extends({}, basicRemoteSnapshot, {
prefetchInterface

@@ -364,3 +364,3 @@ });

const { path, name, type } = manifest.metaData.prefetchEntry;
basicRemoteSnapshot = _extends._({}, basicRemoteSnapshot, {
basicRemoteSnapshot = polyfills._extends({}, basicRemoteSnapshot, {
prefetchEntry: simpleJoinRemoteEntry(path, name),

@@ -371,7 +371,7 @@ prefetchEntryType: type

if ('publicPath' in manifest.metaData) {
remoteSnapshot = _extends._({}, basicRemoteSnapshot, {
remoteSnapshot = polyfills._extends({}, basicRemoteSnapshot, {
publicPath: getPublicPath()
});
} else {
remoteSnapshot = _extends._({}, basicRemoteSnapshot, {
remoteSnapshot = polyfills._extends({}, basicRemoteSnapshot, {
getPublicPath: getPublicPath()

@@ -569,3 +569,3 @@ });

cb: resolve,
attrs: _extends._({
attrs: polyfills._extends({
fetchpriority: 'high'

@@ -706,3 +706,3 @@ }, attrs),

if (options && typeof options === 'object') {
return _extends._({}, defaultOptions, options);
return polyfills._extends({}, defaultOptions, options);
}

@@ -709,0 +709,0 @@ throw new Error(`Unexpected type for \`${key}\`, expect boolean/undefined/object, got: ${typeof options}`);

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

import { _ } from '@swc/helpers/_/_extends';
import { _ as _extends } from './polyfills.esm.js';

@@ -352,3 +352,3 @@ const FederationModuleManifest = 'federation-manifest.json';

const prefetchInterface = manifest.metaData.prefetchInterface;
basicRemoteSnapshot = _({}, basicRemoteSnapshot, {
basicRemoteSnapshot = _extends({}, basicRemoteSnapshot, {
prefetchInterface

@@ -359,3 +359,3 @@ });

const { path, name, type } = manifest.metaData.prefetchEntry;
basicRemoteSnapshot = _({}, basicRemoteSnapshot, {
basicRemoteSnapshot = _extends({}, basicRemoteSnapshot, {
prefetchEntry: simpleJoinRemoteEntry(path, name),

@@ -366,7 +366,7 @@ prefetchEntryType: type

if ('publicPath' in manifest.metaData) {
remoteSnapshot = _({}, basicRemoteSnapshot, {
remoteSnapshot = _extends({}, basicRemoteSnapshot, {
publicPath: getPublicPath()
});
} else {
remoteSnapshot = _({}, basicRemoteSnapshot, {
remoteSnapshot = _extends({}, basicRemoteSnapshot, {
getPublicPath: getPublicPath()

@@ -564,3 +564,3 @@ });

cb: resolve,
attrs: _({
attrs: _extends({
fetchpriority: 'high'

@@ -701,3 +701,3 @@ }, attrs),

if (options && typeof options === 'object') {
return _({}, defaultOptions, options);
return _extends({}, defaultOptions, options);
}

@@ -704,0 +704,0 @@ throw new Error(`Unexpected type for \`${key}\`, expect boolean/undefined/object, got: ${typeof options}`);

@@ -43,6 +43,3 @@ {

}
},
"dependencies": {
"@swc/helpers": "^0.5.0"
}
}
{
"name": "@module-federation/sdk",
"version": "0.0.0-next-20240905232541",
"version": "0.0.0-next-20240906012942",
"license": "MIT",

@@ -43,6 +43,3 @@ "description": "A sdk for support module federation",

}
},
"dependencies": {
"@swc/helpers": "^0.5.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