Search
Search
Search
Search
Information
Information
Light
Dark
Open actions menu
Basic upload method
Bypass upload method
Tips!
If you encounter an error (by firewall) while uploading using both methods,
try changing extension of the file before uploading it and rename it right after.
This uploader supports multiple file upload.
Submit
~
var
www
web-koncept
server
node_modules
@sentry
node
cjs
File Content:
requestDataDeprecated.js
Object.defineProperty(exports, '__esModule', { value: true }); const utils = require('@sentry/utils'); /** * @deprecated `Handlers.ExpressRequest` is deprecated and will be removed in v8. Use `PolymorphicRequest` instead. */ /** * Normalizes data from the request object, accounting for framework differences. * * @deprecated `Handlers.extractRequestData` is deprecated and will be removed in v8. Use `extractRequestData` instead. * * @param req The request object from which to extract data * @param keys An optional array of keys to include in the normalized data. * @returns An object containing normalized request data */ function extractRequestData(req, keys) { return utils.extractRequestData(req, { include: keys }); } /** * Options deciding what parts of the request to use when enhancing an event * * @deprecated `Handlers.ParseRequestOptions` is deprecated and will be removed in v8. Use * `AddRequestDataToEventOptions` in `@sentry/utils` instead. */ /** * Enriches passed event with request data. * * @deprecated `Handlers.parseRequest` is deprecated and will be removed in v8. Use `addRequestDataToEvent` instead. * * @param event Will be mutated and enriched with req data * @param req Request object * @param options object containing flags to enable functionality * @hidden */ function parseRequest(event, req, options = {}) { return utils.addRequestDataToEvent(event, req, { include: options }); } exports.extractRequestData = extractRequestData; exports.parseRequest = parseRequest; //# sourceMappingURL=requestDataDeprecated.js.map
Edit
Download
Unzip
Chmod
Delete