MCPcopy
hub / github.com/di-sukharev/opencommit / transformData

Function transformData

out/cli.cjs:72237–72247  ·  view source on GitHub ↗
(fns, response)

Source from the content-addressed store, hash-verified

72235 this[mapped] = headerValue;
72236 }
72237 };
72238});
72239utils_default.freezeMethods(AxiosHeaders);
72240var AxiosHeaders_default = AxiosHeaders;
72241
72242// node_modules/axios/lib/core/transformData.js
72243function transformData(fns, response) {
72244 const config8 = this || defaults_default;
72245 const context = response || config8;
72246 const headers = AxiosHeaders_default.from(context.headers);
72247 let data = context.data;
72248 utils_default.forEach(fns, function transform(fn) {
72249 data = fn.call(config8, data, headers.normalize(), response ? response.status : void 0);
72250 });

Callers

nothing calls this directly

Calls 3

normalizeMethod · 0.80
fromMethod · 0.45
forEachMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…