{"version":3,"sources":["jsdelivr-header.js","/npm/coffee@5.5.1/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aAEA,MAAM,GAAK,QAAQ,cACb,OAAS,QAAQ,gBACjB,KAAO,QAAQ,cAErB,QAAQ,OAAS,OACjB,QAAQ,KAAO,KAUf,QAAQ,KAAO,SAAS,EAAY,EAAM,GAMxC,OAJK,GAAQ,GAAG,MAAM,KACpB,EAAM,EACN,OAAO,GAEF,IAAI,OAAO,CAChB,OAAQ,OACR,IAAK,EACL,OACA,OAEJ,EASA,QAAQ,MAAQ,SAAS,EAAK,EAAM,GAOlC,OALK,GAAQ,GAAG,MAAM,KACpB,EAAM,EACN,OAAO,GAGF,IAAI,OAAO,CAChB,OAAQ,QACR,MACA,OACA,OAEJ","file":"/npm/coffee@5.5.1/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.37.0.\n * Original file: /npm/coffee@5.5.1/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","'use strict';\n\nconst is = require('is-type-of');\nconst Coffee = require('./lib/coffee');\nconst Rule = require('./lib/rule');\n\nexports.Coffee = Coffee;\nexports.Rule = Rule;\n\n/**\n * fork a child process to test\n * @param {String} modulePath - The module to run in the child\n * @param {Array} args - List of string arguments\n * @param {Object} opt - fork options\n * @see https://nodejs.org/api/child_process.html#child_process_child_process_fork_modulepath_args_options\n * @return {Coffee} coffee instance\n */\nexports.fork = function(modulePath, args, opt) {\n  // fork('/path/to/cli', { execArgv: [] })\n  if (!opt && !is.array(args)) {\n    opt = args;\n    args = undefined;\n  }\n  return new Coffee({\n    method: 'fork',\n    cmd: modulePath,\n    args,\n    opt,\n  });\n};\n\n/**\n * spawn a child process to test\n * @param  {String} cmd - The command to run\n * @param  {Array} args - List of string arguments\n * @param  {Object} opt - spawn options\n * @return {Coffee} coffee instance\n */\nexports.spawn = function(cmd, args, opt) {\n  // spawn('/path/to/cli', { execArgv: [] })\n  if (!opt && !is.array(args)) {\n    opt = args;\n    args = undefined;\n  }\n\n  return new Coffee({\n    method: 'spawn',\n    cmd,\n    args,\n    opt,\n  });\n};\n"]}