Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
_getAllDependencies = (dependencies: DependencyList, sdkVersion: SDKVersion): DependencyList => ({
// @ts-ignore
...mapValues(preloadedModules.dependencies[sdkVersion], version => ({ version })),
...dependencies,
});
_getAllDependencies = (dependencies, sdkVersion) => ({
...mapValues(preloadedModules.dependencies[sdkVersion], version => ({ version })),
...dependencies,
});