{"size": 342, "ext": "js", "max_stars_repo_path": "src/main/services/returnsServiceResponse.js", "max_stars_repo_name": "TaylorBenner/nodejs-support", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/main/services/returnsServiceResponse.js", "max_issues_repo_name": "TaylorBenner/nodejs-support", "max_issues_repo_issues_event_min_datetime": "2019-05-01T12:51:48.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-07T23:24:51.000Z", "max_forks_repo_path": "src/main/services/returnsServiceResponse.js", "max_forks_repo_name": "TaylorBenner/nodejs-support", "max_forks_repo_forks_event_min_datetime": "2019-11-11T06:46:51.000Z", "max_forks_repo_forks_event_max_datetime": "2020-07-09T18:13:42.000Z"}
{"max_stars_count": null, "max_issues_count": 14, "max_forks_count": 2, "avg_line_length": 31.0909090909, "max_line_length": 97, "alphanum_fraction": 0.7397660819}
'use strict'

const { AsyncAround } = require('@scispike/aspectify')
const ServiceSupport = require('../services/ServiceSupport')

const aspect = ({ includeStacktrace = false } = {}) => AsyncAround(async ({ thisJoinPoint }) => {
  return ServiceSupport.respondWithDtoFrom(thisJoinPoint.proceed, includeStacktrace)
})

module.exports = aspect
