How to use the @yarnpkg/parsers.stringifyResolution function in @yarnpkg/parsers

To help you get started, we’ve selected a few @yarnpkg/parsers 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 yarnpkg / berry / packages / yarnpkg-core / sources / Manifest.ts View on Github external
data.resolutions = this.resolutions.length === 0 ? undefined : Object.assign({}, ...this.resolutions.map(({pattern, reference}) => {
      return {[stringifyResolution(pattern)]: reference};
    }));

@yarnpkg/parsers

BSD-2-Clause
Latest version published 8 months ago

Package Health Score

93 / 100
Full package analysis

Similar packages