UNPKG

workspace-tools

Version:

A collection of tools that are useful in a git-controlled monorepo that is managed by one of these software:

9 lines (8 loc) 353 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const nameAtVersion_1 = require("./nameAtVersion"); function queryLockFile(name, versionRange, lock) { const versionRangeSignature = nameAtVersion_1.nameAtVersion(name, versionRange); return lock.object[versionRangeSignature]; } exports.queryLockFile = queryLockFile;