API/api.medcify.app/node_modules/snyk/dist/cli/855.index.js.map
2022-09-26 11:41:44 +05:30

1 line
1.8 KiB
Plaintext

{"version":3,"file":"855.index.js","mappings":";;;;;;;;;;AACA,6CAAqC;AAErC,SAAwB,IAAI,CAAC,GAAG,IAAgB;IAC9C,MAAM,IAAI,GAAG,iBAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,OAAO,CAAC,GAAG,CAAC;;;;;;;;;;;;;mBAaK,IAAI;;CAEtB,CAAC,CAAC;AACH,CAAC;AAlBD,uBAkBC;;;;;;;;;;ACnBD,MAAM,KAAK,GAAG;IACZ,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,OAAO;CACZ,CAAC;AAEF,SAAwB,OAAO,CAAC,IAAgB;IAC9C,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,EAAiB,CAAC;IAC1C,IAAI,IAAI,GAAG,IAAI,CAAC;IAEhB,IACE,OAAO,OAAO,CAAC,QAAQ,KAAK,QAAQ;QACpC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,EAC7C;QACA,IAAI,GAAG,OAAO,CAAC,QAAQ,CAAC;KACzB;IAED,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC;AACrB,CAAC;AAZD,0BAYC","sources":["webpack://snyk/./src/cli/commands/woof.ts","webpack://snyk/./src/cli/commands/woof/getWoof.ts"],"sourcesContent":["import { MethodArgs } from '../args';\nimport getWoof from './woof/getWoof';\n\nexport default function woof(...args: MethodArgs) {\n const woof = getWoof(args);\n console.log(`\n | |\n /| |\\\\\n | | | |\n | |/-------\\\\| |\n \\\\ /\n | \\\\ / |\n | \\\\o/ \\\\o/ |\n | | | |\n \\\\/ | | \\\\/\n | | | |\n \\\\ ( ) /\n \\\\_/ \\\\_/ /-----\\\\\n \\\\U/ --( ${woof} )\n \\\\-----/\n`);\n}\n","import { MethodArgs, ArgsOptions } from '../../args';\n\nconst woofs = {\n en: 'Woof!',\n he: ' !הב ',\n ru: ' Гав!',\n es: 'Guau!',\n cs: ' Haf!',\n uk: ' Гав!',\n};\n\nexport default function getWoof(args: MethodArgs): string {\n const options = args.pop() as ArgsOptions;\n let lang = 'en';\n\n if (\n typeof options.language === 'string' &&\n Object.keys(woofs).includes(options.language)\n ) {\n lang = options.language;\n }\n\n return woofs[lang];\n}\n"],"names":[],"sourceRoot":""}