updates
This commit is contained in:
@@ -0,0 +1 @@
|
||||
"use strict";var r=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var u=(n,t)=>{for(var m in t)r(n,m,{get:t[m],enumerable:!0})},a=(n,t,m,c)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of f(t))!s.call(n,o)&&o!==m&&r(n,o,{get:()=>t[o],enumerable:!(c=i(t,o))||c.enumerable});return n};var y=n=>a(r({},"__esModule",{value:!0}),n);var I={};u(I,{default:()=>x});module.exports=y(I);var e=require("child_process"),p=require("util"),d=(0,p.promisify)(e.exec);async function x(n){return d(n.command)}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../src/tools/make-http-request.ts"],
|
||||
"sourcesContent": ["import { exec } from \"child_process\";\nimport { promisify } from \"util\";\n\ntype Input = {\n /**\n * CURL shell command to execute. Always use `--verbose` flag\n */\n command: string;\n};\n\nconst execAsync = promisify(exec);\n\nexport default async function (input: Input) {\n return execAsync(input.command);\n}\n"],
|
||||
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,aAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAqB,yBACrBC,EAA0B,gBASpBC,KAAY,aAAU,MAAI,EAEhC,eAAOJ,EAAwBK,EAAc,CAC3C,OAAOD,EAAUC,EAAM,OAAO,CAChC",
|
||||
"names": ["make_http_request_exports", "__export", "make_http_request_default", "__toCommonJS", "import_child_process", "import_util", "execAsync", "input"]
|
||||
}
|
||||
Reference in New Issue
Block a user