UNPKG

renovate

Version:

Automated dependency updates. Flexible so you don't need to be.

17 lines 446 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.parseHCL = parseHCL; exports.parseJSON = parseJSON; const hcl2json_1 = require("@cdktf/hcl2json"); async function parseHCL(content, fileName) { try { return await (0, hcl2json_1.parse)(fileName, content); } catch { return null; } } function parseJSON(content) { return JSON.parse(content); } //# sourceMappingURL=index.js.map