httpsnippet
Advanced tools
Comparing version 3.0.5 to 3.0.6
@@ -84,1 +84,2 @@ "use strict"; | ||
exports.go = go; | ||
//# sourceMappingURL=cli.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=customTarget.js.map |
@@ -78,1 +78,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=mimetypes.js.map |
@@ -74,1 +74,2 @@ "use strict"; | ||
exports.runCustomFixtures = runCustomFixtures; | ||
//# sourceMappingURL=runCustomFixtures.js.map |
@@ -103,1 +103,2 @@ "use strict"; | ||
exports.CodeBuilder = CodeBuilder; | ||
//# sourceMappingURL=code-builder.js.map |
@@ -102,1 +102,2 @@ "use strict"; | ||
exports.escapeForDoubleQuotes = escapeForDoubleQuotes; | ||
//# sourceMappingURL=escape.js.map |
@@ -158,1 +158,2 @@ "use strict"; | ||
exports.formDataIterator = formDataIterator; | ||
//# sourceMappingURL=form-data.js.map |
@@ -77,1 +77,2 @@ "use strict"; | ||
exports.validateHarRequest = validateHarRequest; | ||
//# sourceMappingURL=har-validator.js.map |
@@ -43,1 +43,2 @@ "use strict"; | ||
exports.isMimeTypeJSON = isMimeTypeJSON; | ||
//# sourceMappingURL=headers.js.map |
@@ -20,1 +20,2 @@ "use strict"; | ||
exports.reducer = reducer; | ||
//# sourceMappingURL=reducer.js.map |
@@ -21,1 +21,2 @@ "use strict"; | ||
exports.escape = escape; | ||
//# sourceMappingURL=shell.js.map |
@@ -22,1 +22,2 @@ "use strict"; | ||
exports.extname = extname; | ||
//# sourceMappingURL=utils.js.map |
@@ -38,3 +38,3 @@ /// <reference types="node" /> | ||
} | ||
interface HarEntry { | ||
export interface HarEntry { | ||
log: { | ||
@@ -49,2 +49,3 @@ version: string; | ||
} | ||
export declare const isHarEntry: (value: any) => value is HarEntry; | ||
export declare class HTTPSnippet { | ||
@@ -51,0 +52,0 @@ requests: Request[]; |
@@ -39,3 +39,3 @@ "use strict"; | ||
exports.__esModule = true; | ||
exports.HTTPSnippet = exports.addTargetClient = exports.addTarget = exports.extname = exports.availableTargets = void 0; | ||
exports.HTTPSnippet = exports.isHarEntry = exports.addTargetClient = exports.addTarget = exports.extname = exports.availableTargets = void 0; | ||
var event_stream_1 = require("event-stream"); | ||
@@ -68,2 +68,3 @@ var form_data_1 = __importDefault(require("form-data")); | ||
}; | ||
exports.isHarEntry = isHarEntry; | ||
var HTTPSnippet = /** @class */ (function () { | ||
@@ -247,3 +248,3 @@ function HTTPSnippet(input) { | ||
// is it har? | ||
if (isHarEntry(input)) { | ||
if ((0, exports.isHarEntry)(input)) { | ||
entries = input.log.entries; | ||
@@ -273,1 +274,2 @@ } | ||
exports.HTTPSnippet = HTTPSnippet; | ||
//# sourceMappingURL=httpsnippet.js.map |
@@ -45,1 +45,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=target.js.map |
@@ -187,1 +187,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=target.js.map |
@@ -57,1 +57,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=target.js.map |
@@ -164,1 +164,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -40,1 +40,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -18,1 +18,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=target.js.map |
@@ -125,1 +125,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=target.js.map |
@@ -80,1 +80,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=target.js.map |
@@ -55,1 +55,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -54,1 +54,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -81,1 +81,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -22,1 +22,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=target.js.map |
@@ -55,1 +55,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -100,1 +100,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -23,1 +23,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=application-form-encoded.js.map |
@@ -27,1 +27,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=application-json.js.map |
@@ -19,1 +19,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=cookies.js.map |
@@ -15,1 +15,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=custom-method.js.map |
@@ -27,1 +27,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=full.js.map |
@@ -23,1 +23,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=headers.js.map |
@@ -15,1 +15,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=https.js.map |
@@ -20,1 +20,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=jsonObj-multiline.js.map |
@@ -20,1 +20,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=jsonObj-null-value.js.map |
@@ -23,1 +23,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=multipart-data.js.map |
@@ -22,1 +22,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=multipart-file.js.map |
@@ -19,1 +19,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=multipart-form-data-no-params.js.map |
@@ -22,1 +22,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=multipart-form-data.js.map |
@@ -19,1 +19,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=nested.js.map |
@@ -19,1 +19,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=query.js.map |
@@ -15,1 +15,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=short.js.map |
@@ -20,1 +20,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=text-plain.js.map |
@@ -108,1 +108,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=application-form-encoded.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=application-json.js.map |
@@ -12,1 +12,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=cookies.js.map |
@@ -12,1 +12,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=custom-method.js.map |
@@ -20,1 +20,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=full.js.map |
@@ -19,1 +19,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=headers.js.map |
@@ -12,1 +12,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=https.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=jsonObj-multiline.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=jsonObj-null-value.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=multipart-data.js.map |
@@ -15,1 +15,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=multipart-file.js.map |
@@ -12,1 +12,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=multipart-form-data-no-params.js.map |
@@ -15,1 +15,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=multipart-form-data.js.map |
@@ -12,1 +12,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=nested.js.map |
@@ -12,1 +12,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=query.js.map |
@@ -12,1 +12,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=short.js.map |
@@ -12,1 +12,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=text-plain.js.map |
@@ -94,1 +94,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -18,1 +18,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=application-form-encoded.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=application-json.js.map |
@@ -14,1 +14,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=cookies.js.map |
@@ -12,1 +12,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=custom-method.js.map |
@@ -19,1 +19,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=full.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=headers.js.map |
@@ -12,1 +12,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=https.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=jsonObj-multiline.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=jsonObj-null-value.js.map |
@@ -19,1 +19,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=multipart-data.js.map |
@@ -18,1 +18,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=multipart-file.js.map |
@@ -14,1 +14,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=multipart-form-data-no-params.js.map |
@@ -18,1 +18,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=multipart-form-data.js.map |
@@ -12,1 +12,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=nested.js.map |
@@ -12,1 +12,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=query.js.map |
@@ -12,1 +12,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=short.js.map |
@@ -15,1 +15,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=text-plain.js.map |
@@ -22,1 +22,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=target.js.map |
@@ -93,1 +93,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -13,1 +13,2 @@ "use strict"; | ||
xhr.send(data); | ||
//# sourceMappingURL=application-form-encoded.js.map |
@@ -32,1 +32,2 @@ "use strict"; | ||
xhr.send(data); | ||
//# sourceMappingURL=application-json.js.map |
@@ -13,1 +13,2 @@ "use strict"; | ||
xhr.send(data); | ||
//# sourceMappingURL=cookies.js.map |
@@ -11,1 +11,2 @@ "use strict"; | ||
xhr.send(data); | ||
//# sourceMappingURL=cors.js.map |
@@ -12,1 +12,2 @@ "use strict"; | ||
xhr.send(data); | ||
//# sourceMappingURL=custom-method.js.map |
@@ -15,1 +15,2 @@ "use strict"; | ||
xhr.send(data); | ||
//# sourceMappingURL=full.js.map |
@@ -15,1 +15,2 @@ "use strict"; | ||
xhr.send(data); | ||
//# sourceMappingURL=headers.js.map |
@@ -12,1 +12,2 @@ "use strict"; | ||
xhr.send(data); | ||
//# sourceMappingURL=https.js.map |
@@ -15,1 +15,2 @@ "use strict"; | ||
xhr.send(data); | ||
//# sourceMappingURL=jsonObj-multiline.js.map |
@@ -15,1 +15,2 @@ "use strict"; | ||
xhr.send(data); | ||
//# sourceMappingURL=jsonObj-null-value.js.map |
@@ -14,1 +14,2 @@ "use strict"; | ||
xhr.send(data); | ||
//# sourceMappingURL=multipart-data.js.map |
@@ -13,1 +13,2 @@ "use strict"; | ||
xhr.send(data); | ||
//# sourceMappingURL=multipart-file.js.map |
@@ -12,1 +12,2 @@ "use strict"; | ||
xhr.send(data); | ||
//# sourceMappingURL=multipart-form-data-no-params.js.map |
@@ -13,1 +13,2 @@ "use strict"; | ||
xhr.send(data); | ||
//# sourceMappingURL=multipart-form-data.js.map |
@@ -12,1 +12,2 @@ "use strict"; | ||
xhr.send(data); | ||
//# sourceMappingURL=nested.js.map |
@@ -12,1 +12,2 @@ "use strict"; | ||
xhr.send(data); | ||
//# sourceMappingURL=query.js.map |
@@ -12,1 +12,2 @@ "use strict"; | ||
xhr.send(data); | ||
//# sourceMappingURL=short.js.map |
@@ -13,1 +13,2 @@ "use strict"; | ||
xhr.send(data); | ||
//# sourceMappingURL=text-plain.js.map |
@@ -81,1 +81,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=target.js.map |
@@ -89,1 +89,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -20,1 +20,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=application-form-encoded.js.map |
@@ -23,1 +23,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=application-json.js.map |
@@ -15,1 +15,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=cookies.js.map |
@@ -11,1 +11,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=custom-method.js.map |
@@ -24,1 +24,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=full.js.map |
@@ -19,1 +19,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=headers.js.map |
@@ -11,1 +11,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=https.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=jsonObj-multiline.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=jsonObj-null-value.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=multipart-data.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=multipart-file.js.map |
@@ -15,1 +15,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=multipart-form-data-no-params.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=multipart-form-data.js.map |
@@ -15,1 +15,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=nested.js.map |
@@ -15,1 +15,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=query.js.map |
@@ -11,1 +11,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=short.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=text-plain.js.map |
@@ -134,1 +134,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -21,1 +21,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=application-form-encoded.js.map |
@@ -17,1 +17,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=application-json.js.map |
@@ -13,1 +13,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=cookies.js.map |
@@ -13,1 +13,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=custom-method.js.map |
@@ -24,1 +24,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=full.js.map |
@@ -20,1 +20,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=headers.js.map |
@@ -13,1 +13,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=https.js.map |
@@ -17,1 +17,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=jsonObj-multiline.js.map |
@@ -17,1 +17,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=jsonObj-null-value.js.map |
@@ -19,1 +19,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=multipart-data.js.map |
@@ -18,1 +18,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=multipart-file.js.map |
@@ -13,1 +13,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=multipart-form-data-no-params.js.map |
@@ -17,1 +17,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=multipart-form-data.js.map |
@@ -13,1 +13,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=nested.js.map |
@@ -13,1 +13,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=query.js.map |
@@ -13,1 +13,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=short.js.map |
@@ -13,1 +13,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=text-plain.js.map |
@@ -87,1 +87,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -25,1 +25,2 @@ "use strict"; | ||
req.end(); | ||
//# sourceMappingURL=application-form-encoded.js.map |
@@ -31,1 +31,2 @@ "use strict"; | ||
req.end(); | ||
//# sourceMappingURL=application-json.js.map |
@@ -23,1 +23,2 @@ "use strict"; | ||
req.end(); | ||
//# sourceMappingURL=cookies.js.map |
@@ -21,1 +21,2 @@ "use strict"; | ||
req.end(); | ||
//# sourceMappingURL=custom-method.js.map |
@@ -27,1 +27,2 @@ "use strict"; | ||
req.end(); | ||
//# sourceMappingURL=full.js.map |
@@ -25,1 +25,2 @@ "use strict"; | ||
req.end(); | ||
//# sourceMappingURL=headers.js.map |
@@ -21,1 +21,2 @@ "use strict"; | ||
req.end(); | ||
//# sourceMappingURL=https.js.map |
@@ -22,1 +22,2 @@ "use strict"; | ||
req.end(); | ||
//# sourceMappingURL=insecure-skip-verify.js.map |
@@ -24,1 +24,2 @@ "use strict"; | ||
req.end(); | ||
//# sourceMappingURL=jsonObj-multiline.js.map |
@@ -24,1 +24,2 @@ "use strict"; | ||
req.end(); | ||
//# sourceMappingURL=jsonObj-null-value.js.map |
@@ -24,1 +24,2 @@ "use strict"; | ||
req.end(); | ||
//# sourceMappingURL=multipart-data.js.map |
@@ -24,1 +24,2 @@ "use strict"; | ||
req.end(); | ||
//# sourceMappingURL=multipart-file.js.map |
@@ -23,1 +23,2 @@ "use strict"; | ||
req.end(); | ||
//# sourceMappingURL=multipart-form-data-no-params.js.map |
@@ -24,1 +24,2 @@ "use strict"; | ||
req.end(); | ||
//# sourceMappingURL=multipart-form-data.js.map |
@@ -21,1 +21,2 @@ "use strict"; | ||
req.end(); | ||
//# sourceMappingURL=nested.js.map |
@@ -21,1 +21,2 @@ "use strict"; | ||
req.end(); | ||
//# sourceMappingURL=query.js.map |
@@ -21,1 +21,2 @@ "use strict"; | ||
req.end(); | ||
//# sourceMappingURL=short.js.map |
@@ -24,1 +24,2 @@ "use strict"; | ||
req.end(); | ||
//# sourceMappingURL=text-plain.js.map |
@@ -119,1 +119,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -14,1 +14,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=application-form-encoded.js.map |
@@ -22,1 +22,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=application-json.js.map |
@@ -12,1 +12,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=cookies.js.map |
@@ -9,1 +9,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=custom-method.js.map |
@@ -22,1 +22,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=full.js.map |
@@ -17,1 +17,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=headers.js.map |
@@ -9,1 +9,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=https.js.map |
@@ -15,1 +15,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=jsonObj-multiline.js.map |
@@ -15,1 +15,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=jsonObj-null-value.js.map |
@@ -21,1 +21,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=multipart-data.js.map |
@@ -20,1 +20,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=multipart-file.js.map |
@@ -13,1 +13,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=multipart-form-data-no-params.js.map |
@@ -14,1 +14,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=multipart-form-data.js.map |
@@ -13,1 +13,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=nested.js.map |
@@ -13,1 +13,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=query.js.map |
@@ -9,1 +9,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=short.js.map |
@@ -14,1 +14,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=text-plain.js.map |
@@ -24,1 +24,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=target.js.map |
@@ -122,1 +122,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=application-form-encoded.js.map |
@@ -33,1 +33,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=application-json.js.map |
@@ -13,1 +13,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=cookies.js.map |
@@ -9,1 +9,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=custom-method.js.map |
@@ -28,1 +28,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=full.js.map |
@@ -14,1 +14,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=headers.js.map |
@@ -9,1 +9,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=https.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=jsonObj-multiline.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=jsonObj-null-value.js.map |
@@ -21,1 +21,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=multipart-data.js.map |
@@ -19,1 +19,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=multipart-file.js.map |
@@ -12,1 +12,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=multipart-form-data-no-params.js.map |
@@ -17,1 +17,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=multipart-form-data.js.map |
@@ -14,1 +14,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=nested.js.map |
@@ -17,1 +17,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=query.js.map |
@@ -9,1 +9,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=short.js.map |
@@ -13,1 +13,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=text-plain.js.map |
@@ -60,1 +60,2 @@ "use strict"; | ||
exports.literalRepresentation = literalRepresentation; | ||
//# sourceMappingURL=helpers.js.map |
@@ -153,1 +153,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=target.js.map |
@@ -74,1 +74,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=target.js.map |
@@ -132,1 +132,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -128,1 +128,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -66,1 +66,2 @@ "use strict"; | ||
]; | ||
//# sourceMappingURL=helpers.js.map |
@@ -86,1 +86,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -125,1 +125,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -22,1 +22,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=target.js.map |
@@ -21,3 +21,3 @@ "use strict"; | ||
'PUT', | ||
'TRACE' | ||
'TRACE', | ||
]; | ||
@@ -64,1 +64,2 @@ var methodArg = methods.includes(method.toUpperCase()) ? '-Method' : '-CustomMethod'; | ||
exports.generatePowershellConvert = generatePowershellConvert; | ||
//# sourceMappingURL=common.js.map |
@@ -14,1 +14,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -18,1 +18,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=target.js.map |
@@ -14,1 +14,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -64,1 +64,2 @@ "use strict"; | ||
exports.literalRepresentation = literalRepresentation; | ||
//# sourceMappingURL=helpers.js.map |
@@ -94,1 +94,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -172,1 +172,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -18,1 +18,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=target.js.map |
@@ -149,1 +149,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=target.js.map |
@@ -13,5 +13,4 @@ "use strict"; | ||
}, | ||
convert: function (_a, options) { | ||
var uriObj = _a.uriObj, queryObj = _a.queryObj, rawMethod = _a.method, fullUrl = _a.fullUrl, postData = _a.postData, allHeaders = _a.allHeaders; | ||
if (options === void 0) { options = {}; } | ||
convert: function (_a) { | ||
var uriObj = _a.uriObj, queryObj = _a.queryObj, rawMethod = _a.method, postData = _a.postData, allHeaders = _a.allHeaders; | ||
var _b = new code_builder_1.CodeBuilder(), push = _b.push, blank = _b.blank, join = _b.join; | ||
@@ -100,1 +99,2 @@ // To support custom methods we check for the supported methods | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -73,1 +73,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
"use strict"; | ||
exports.__esModule = true; | ||
exports.ruby = void 0; | ||
var client_1 = require("./native/client"); | ||
var client_2 = require("./faraday/client"); | ||
var client_1 = require("./faraday/client"); | ||
var client_2 = require("./native/client"); | ||
exports.ruby = { | ||
@@ -14,5 +14,6 @@ info: { | ||
clientsById: { | ||
native: client_1.native, | ||
faraday: client_2.faraday | ||
native: client_2.native, | ||
faraday: client_1.faraday | ||
} | ||
}; | ||
//# sourceMappingURL=target.js.map |
@@ -62,1 +62,2 @@ "use strict"; | ||
exports.literalRepresentation = literalRepresentation; | ||
//# sourceMappingURL=helpers.js.map |
@@ -278,1 +278,2 @@ "use strict"; | ||
]; | ||
//# sourceMappingURL=client.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=target.js.map |
@@ -177,1 +177,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -112,1 +112,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -20,1 +20,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=target.js.map |
@@ -60,1 +60,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -80,1 +80,2 @@ "use strict"; | ||
exports.literalRepresentation = literalRepresentation; | ||
//# sourceMappingURL=helpers.js.map |
@@ -158,1 +158,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=client.js.map |
@@ -16,1 +16,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=target.js.map |
@@ -136,1 +136,2 @@ "use strict"; | ||
exports.addTargetClient = addTargetClient; | ||
//# sourceMappingURL=targets.js.map |
{ | ||
"version": "3.0.5", | ||
"version": "3.0.6", | ||
"name": "httpsnippet", | ||
@@ -8,4 +8,4 @@ "description": "HTTP Request snippet generator for *most* languages", | ||
"license": "MIT", | ||
"main": "dist/httpsnippet.js", | ||
"types": "dist/httpsnippet.d.ts", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"bin": "bin/httpsnippet", | ||
@@ -55,5 +55,9 @@ "keywords": [ | ||
"lint": "npm run lint:prettify && npm run lint:code && npm run lint:markdown", | ||
"lint:prettify": "prettier --write .", | ||
"lint:code": "eslint . --ext ts,d.ts,test.ts --fix", | ||
"lint:prettify": "prettier --check .", | ||
"lint:code": "eslint . --ext ts,d.ts,test.ts", | ||
"lint:markdown": "markdownlint-cli2 \"**/*.md\" \"#**/node_modules\"", | ||
"lint:fix": "npm run lint:prettify:fix && npm run lint:code:fix && npm run lint:markdown:fix", | ||
"lint:prettify:fix": "prettier --write .", | ||
"lint:code:fix": "eslint . --ext ts,d.ts,test.ts --fix", | ||
"lint:markdown:fix": "markdownlint-cli2-fix \"**/*.md\" \"#**/node_modules\"", | ||
"build": "tsc --build tsconfig.build.json", | ||
@@ -60,0 +64,0 @@ "build:types": "tsc -d --declarationDir dist/lib --declarationMap --emitDeclarationOnly", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
692465
944
9800