"use strict";

var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");

var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");

_Object$defineProperty(exports, "__esModule", {
  value: true
});

exports.default = void 0;

var _path = _interopRequireDefault(require("path"));

var _default = () => {
  const packageFilePath = _path.default.resolve(process.cwd(), './package.json');

  delete require.cache[require.resolve(packageFilePath)];

  const pjson = require(packageFilePath);

  return pjson.version;
};

exports.default = _default;
module.exports = exports.default;