@module-federation/sdk
Advanced tools
Comparing version 0.0.0-next-20240905232541 to 0.0.0-next-20240906012942
@@ -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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
101053
0
34
2505
- Removed@swc/helpers@^0.5.0
- Removed@swc/helpers@0.5.13(transitive)
- Removedtslib@2.7.0(transitive)