Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const version: Command = (pkg: any) => {
let TSICKLE_VERSION = '';
try {
TSICKLE_VERSION = require('tsickle/package.json').version;
} catch {}
const NG_PACKAGR_VERSION = pkg ? pkg.version : 'unknown';
console.log(`ng-packagr: ` + NG_PACKAGR_VERSION);
console.log(`@angular/compiler: ` + COMPILER_VERSION.full);
console.log(`rollup: ` + ROLLUP_VERSION);
console.log(`tsickle: ` + TSICKLE_VERSION);
console.log(`typescript: ` + TS_VERSION);
};