MCPcopy
hub / github.com/parse-community/parse-server / getParentVersion

Method getParentVersion

ci/nodeEngineCheck.js:131–136  ·  view source on GitHub ↗

* Returns the node version of the parent package. * @return {Object} The parent package info.

()

Source from the content-addressed store, hash-verified

129 * @return {Object} The parent package info.
130 */
131 async getParentVersion() {
132 // Get parent package.json version
133 const version = await this.getNodeVersion({ files: [ this.packageJsonPath ], clean: true });
134 // console.log(`getParentVersion: ${JSON.stringify(version)}`);
135 return version[0];
136 }
137}
138
139async function check() {

Callers 1

checkFunction · 0.95

Calls 1

getNodeVersionMethod · 0.95

Tested by

no test coverage detected