How to use the snack-sdk.preloadedModules.dependencies function in snack-sdk

To help you get started, we’ve selected a few snack-sdk examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github expo / snack-web / src / client / components / Editor / MonacoEditor.tsx View on Github external
_getAllDependencies = (dependencies: DependencyList, sdkVersion: SDKVersion): DependencyList => ({
    // @ts-ignore
    ...mapValues(preloadedModules.dependencies[sdkVersion], version => ({ version })),
    ...dependencies,
  });
github expo / snack-web / snack / components / Editor / MonacoEditor.js View on Github external
_getAllDependencies = (dependencies, sdkVersion) => ({
    ...mapValues(preloadedModules.dependencies[sdkVersion], version => ({ version })),
    ...dependencies,
  });

snack-sdk

The Expo Snack SDK

MIT
Latest version published 18 days ago

Package Health Score

73 / 100
Full package analysis

Similar packages