diff --git a/backend/.eslintcache b/backend/.eslintcache new file mode 100644 index 0000000..e3830f0 --- /dev/null +++ b/backend/.eslintcache @@ -0,0 +1 @@ +[{"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/app.controller.spec.ts":"1","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/app.controller.ts":"2","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/app.module.ts":"3","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/app.service.ts":"4","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/app.swagger.ts":"5","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/auth.controller.spec.ts":"6","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/auth.controller.ts":"7","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/auth.module.ts":"8","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/auth.service.spec.ts":"9","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/auth.service.ts":"10","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/decorators/index.ts":"11","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/decorators/login-swagger.decorator.ts":"12","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/dto/index.ts":"13","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/dto/login-response.dto.ts":"14","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/dto/validate-user.dto.spec.ts":"15","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/dto/validate-user.dto.ts":"16","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/index.ts":"17","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/jwt-auth.guard.ts":"18","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/jwt.strategy.ts":"19","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/local-auth.guard.ts":"20","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/local.strategy.ts":"21","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/middlewares/auth.middleware.spec.ts":"22","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/middlewares/auth.middleware.ts":"23","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/middlewares/index.ts":"24","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/types/index.ts":"25","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/types/jwt-strategy-validate.type.ts":"26","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/types/user.type.ts":"27","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/book.controller.spec.ts":"28","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/book.controller.ts":"29","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/book.module.ts":"30","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/book.service.spec.ts":"31","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/book.service.ts":"32","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/decorators/add-ebook-swagger.decorator.ts":"33","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/decorators/add-to-borrowers-queue-swagger.decorator.ts":"34","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/decorators/add-to-favorites-swagger.decorator.ts":"35","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/decorators/create-swagger.decorator.ts":"36","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/decorators/get-all-swagger.decorator.ts":"37","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/decorators/get-by-ad-swagger.decorator.ts":"38","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/decorators/index.ts":"39","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/decorators/my-feed-swagger.decorator.ts":"40","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/decorators/remove-from-borrowers-queue-swagger.decorator.ts":"41","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/decorators/remove-from-favorites-swagger.decorator.ts":"42","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/decorators/remove-swagger.decorator.ts":"43","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/decorators/update-borrower-swagger.decorator.ts":"44","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/decorators/update-swagger.decorator.ts":"45","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/dto/book-confirmation-response.dto.ts":"46","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/dto/book-item-info.dto.ts":"47","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/dto/book-item-status.dto.ts":"48","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/dto/book-item.dto.ts":"49","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/dto/book-response.dto.ts":"50","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/dto/books-response.dto.ts":"51","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/dto/create-book.dto.spec.ts":"52","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/dto/create-book.dto.ts":"53","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/dto/index.ts":"54","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/dto/short-book-item.dto.ts":"55","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/dto/update-book.dto.spec.ts":"56","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/dto/update-book.dto.ts":"57","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/dto/update-borrower.dto.spec.ts":"58","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/dto/update-borrower.dto.ts":"59","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/entities/book.entity.ts":"60","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/entities/index.ts":"61","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/exceptions/book-not-found.exception.ts":"62","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/exceptions/book-not-updated.exception.ts":"63","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/exceptions/index.ts":"64","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/index.ts":"65","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/middleware/book-stock-cycle-logger/book-stock-cycle-logger.middleware.spec.ts":"66","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/middleware/book-stock-cycle-logger/book-stock-cycle-logger.middleware.ts":"67","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/middleware/book-stock-cycle-logger/index.ts":"68","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/middleware/index.ts":"69","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/mocks/book-item.mock.ts":"70","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/mocks/file.mock.ts":"71","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/mocks/index.ts":"72","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/types/book-entity-with-In-favorites.interface.ts":"73","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/types/book-entity-with-borrower.interface.ts":"74","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/types/book.type.ts":"75","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/types/books-response.interface.ts":"76","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/types/index.ts":"77","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/types/jwt-user-info.type.ts":"78","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/types/query.interface.ts":"79","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/configs/get-config-module.config.ts":"80","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/configs/get-jwt-module.config.ts":"81","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/configs/get-typeorm-module.config.ts":"82","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/configs/index.ts":"83","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/database/database.module.ts":"84","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/database/index.ts":"85","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/database/migrations/1712329791673-migrations.ts":"86","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/database/migrations/1712645550032-migrations.ts":"87","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/database/migrations/1712821921248-migrations.ts":"88","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/database/migrations/1713521419504-migrations.ts":"89","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/database/migrations/1713640405643-migrations.ts":"90","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/database/migrations/1713643387624-migrations.ts":"91","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/database/migrations/1713648674008-migrations.ts":"92","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/database/migrations/1714199403886-migrations.ts":"93","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/database/migrations/1714207508855-migrations.ts":"94","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/env/env.module.ts":"95","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/env/env.service.spec.ts":"96","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/env/env.service.ts":"97","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/env/env.ts":"98","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/env/index.ts":"99","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/decorators/api-file-swagger.decorator.ts":"100","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/decorators/get-database-file-by-id-swagger.decorator.ts":"101","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/decorators/index.ts":"102","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/decorators/upload-file-swagger.decorator.ts":"103","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/dto/create-database-file.dto.ts":"104","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/dto/file-item.dto.ts":"105","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/dto/file-response.dto.ts":"106","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/dto/index.ts":"107","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/entities/database-file.entity.ts":"108","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/entities/index.ts":"109","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/exceptions/file-not-created.exception.ts":"110","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/exceptions/file-not-found.exception.ts":"111","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/exceptions/index.ts":"112","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/file.controller.spec.ts":"113","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/file.controller.ts":"114","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/file.module.ts":"115","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/file.service.spec.ts":"116","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/file.service.ts":"117","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/mocks/file.mock.ts":"118","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/mocks/index.ts":"119","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/types/files-set-interface.ts":"120","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/types/index.ts":"121","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/types/multer-file-buffer.class.ts":"122","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/types/upload-file-response.ts":"123","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/filters/HttpExtendedExceptionFilter.ts":"124","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/filters/index.ts":"125","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/main.ts":"126","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/decorators/follow-profile-swagger.decorator.ts":"127","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/decorators/get-profile-swagger.decorator.ts":"128","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/decorators/index.ts":"129","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/decorators/unfollow-profile-swagger.decorator.ts":"130","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/dto/index.ts":"131","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/dto/profile-confirmation-response.dto.ts":"132","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/dto/profile-item.dto.ts":"133","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/dto/profile-response.dto.ts":"134","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/exceptions/impossible-subscribe.exception.ts":"135","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/exceptions/index.ts":"136","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/exceptions/profile-not-found.exception.ts":"137","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/mocks/index.ts":"138","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/mocks/profile-item.mock.ts":"139","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/profile.controller.spec.ts":"140","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/profile.controller.ts":"141","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/profile.module.ts":"142","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/profile.service.spec.ts":"143","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/profile.service.ts":"144","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/types/index.ts":"145","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/types/profile.type.ts":"146","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/decorators/create-swagger.decorator.ts":"147","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/decorators/get-all-swagger.decorator.ts":"148","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/decorators/get-by-id-swagger.decorator.ts":"149","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/decorators/index.ts":"150","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/decorators/remove-swagger.decorator.ts":"151","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/dto/create-tag.dto.spec.ts":"152","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/dto/create-tag.dto.ts":"153","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/dto/index.ts":"154","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/dto/tag-confirmation-response.dto.ts":"155","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/dto/tag-item.dto.ts":"156","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/dto/tag-response.dto.ts":"157","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/dto/tags-response.dto.ts":"158","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/entities/index.ts":"159","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/entities/tag.entity.ts":"160","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/exceptions/index.ts":"161","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/exceptions/tag-not-found.exception.ts":"162","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/mocks/index.ts":"163","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/mocks/tag-item.mock.ts":"164","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/tag.controller.spec.ts":"165","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/tag.controller.ts":"166","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/tag.module.ts":"167","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/tag.service.spec.ts":"168","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/tag.service.ts":"169","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/types/index.ts":"170","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/types/tag.type.ts":"171","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/types/tags-query.interface.ts":"172","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/decorators/create-swagger.decorator.ts":"173","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/decorators/get-all-swagger.decorator.ts":"174","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/decorators/get-by-id-swagger.decorator.ts":"175","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/decorators/index.ts":"176","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/decorators/remove-swagger.decorator.ts":"177","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/decorators/update-swagger.decorator.ts":"178","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/decorators/user-info.decorator.ts":"179","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/dto/create-user.dto.spec.ts":"180","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/dto/create-user.dto.ts":"181","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/dto/index.ts":"182","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/dto/update-user.dto.spec.ts":"183","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/dto/update-user.dto.ts":"184","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/dto/user-confirmation-response.dto.ts":"185","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/dto/user-item.dto.ts":"186","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/dto/user-response.dto.ts":"187","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/dto/users-response.dto.ts":"188","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/entities/index.ts":"189","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/entities/user.entity.ts":"190","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/exceptions/index.ts":"191","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/exceptions/user-not-created.exception.ts":"192","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/exceptions/user-not-found.exception.ts":"193","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/index.ts":"194","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/mocks/file.mock.ts":"195","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/mocks/index.ts":"196","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/mocks/user-item.mock.ts":"197","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/types/express-request.type.ts":"198","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/types/index.ts":"199","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/types/user.type.ts":"200","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/user.controller.spec.ts":"201","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/user.controller.ts":"202","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/user.module.ts":"203","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/user.service.spec.ts":"204","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/user.service.ts":"205","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/test/app.e2e-spec.ts":"206","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/package.json":"207","/home/uladzimir/Documents/projects/nest-js/book-swap/backend/yarn.lock":"208"},{"size":598,"mtime":1712300689215,"results":"209","hashOfConfig":"210"},{"size":340,"mtime":1715008003742,"results":"211","hashOfConfig":"210"},{"size":1148,"mtime":1714737348138,"results":"212","hashOfConfig":"210"},{"size":140,"mtime":1712300689219,"results":"213","hashOfConfig":"210"},{"size":439,"mtime":1712300689219,"results":"214","hashOfConfig":"210"},{"size":885,"mtime":1712300689219,"results":"215","hashOfConfig":"210"},{"size":773,"mtime":1714737348138,"results":"216","hashOfConfig":"210"},{"size":835,"mtime":1714737348142,"results":"217","hashOfConfig":"210"},{"size":2830,"mtime":1712300689223,"results":"218","hashOfConfig":"210"},{"size":912,"mtime":1712300689223,"results":"219","hashOfConfig":"210"},{"size":42,"mtime":1714737348142,"results":"220","hashOfConfig":"210"},{"size":590,"mtime":1714737348142,"results":"221","hashOfConfig":"210"},{"size":73,"mtime":1712300689223,"results":"222","hashOfConfig":"210"},{"size":390,"mtime":1712300689223,"results":"223","hashOfConfig":"210"},{"size":1937,"mtime":1712300689223,"results":"224","hashOfConfig":"210"},{"size":437,"mtime":1712300689223,"results":"225","hashOfConfig":"210"},{"size":91,"mtime":1712300689223,"results":"226","hashOfConfig":"210"},{"size":158,"mtime":1712300689223,"results":"227","hashOfConfig":"210"},{"size":748,"mtime":1712300689223,"results":"228","hashOfConfig":"210"},{"size":162,"mtime":1712300689223,"results":"229","hashOfConfig":"210"},{"size":682,"mtime":1712300689227,"results":"230","hashOfConfig":"210"},{"size":925,"mtime":1714737348142,"results":"231","hashOfConfig":"210"},{"size":1024,"mtime":1714737348142,"results":"232","hashOfConfig":"210"},{"size":34,"mtime":1712300689227,"results":"233","hashOfConfig":"210"},{"size":28,"mtime":1712300689227,"results":"234","hashOfConfig":"210"},{"size":114,"mtime":1712300689227,"results":"235","hashOfConfig":"210"},{"size":127,"mtime":1712300689227,"results":"236","hashOfConfig":"210"},{"size":6742,"mtime":1714737348142,"results":"237","hashOfConfig":"210"},{"size":7734,"mtime":1715008960446,"results":"238","hashOfConfig":"210"},{"size":991,"mtime":1714737348142,"results":"239","hashOfConfig":"210"},{"size":14205,"mtime":1714737348142,"results":"240","hashOfConfig":"210"},{"size":11088,"mtime":1714737348146,"results":"241","hashOfConfig":"210"},{"size":799,"mtime":1714737348146,"results":"242","hashOfConfig":"210"},{"size":765,"mtime":1714737348146,"results":"243","hashOfConfig":"210"},{"size":747,"mtime":1712646353527,"results":"244","hashOfConfig":"210"},{"size":620,"mtime":1712646351839,"results":"245","hashOfConfig":"210"},{"size":1204,"mtime":1712646355687,"results":"246","hashOfConfig":"210"},{"size":609,"mtime":1712646352699,"results":"247","hashOfConfig":"210"},{"size":638,"mtime":1714737348146,"results":"248","hashOfConfig":"210"},{"size":1290,"mtime":1714737348146,"results":"249","hashOfConfig":"210"},{"size":778,"mtime":1714737348146,"results":"250","hashOfConfig":"210"},{"size":759,"mtime":1712646353947,"results":"251","hashOfConfig":"210"},{"size":718,"mtime":1712646353115,"results":"252","hashOfConfig":"210"},{"size":742,"mtime":1714737348146,"results":"253","hashOfConfig":"210"},{"size":709,"mtime":1712646352267,"results":"254","hashOfConfig":"210"},{"size":182,"mtime":1712300689227,"results":"255","hashOfConfig":"210"},{"size":1583,"mtime":1714737348146,"results":"256","hashOfConfig":"210"},{"size":694,"mtime":1714737348146,"results":"257","hashOfConfig":"210"},{"size":420,"mtime":1714942424018,"results":"258","hashOfConfig":"210"},{"size":175,"mtime":1712300689231,"results":"259","hashOfConfig":"210"},{"size":289,"mtime":1712300689231,"results":"260","hashOfConfig":"210"},{"size":4530,"mtime":1712646354839,"results":"261","hashOfConfig":"210"},{"size":1418,"mtime":1712646354839,"results":"262","hashOfConfig":"210"},{"size":298,"mtime":1714737348146,"results":"263","hashOfConfig":"210"},{"size":293,"mtime":1714737348146,"results":"264","hashOfConfig":"210"},{"size":4262,"mtime":1712646354839,"results":"265","hashOfConfig":"210"},{"size":1376,"mtime":1712646354839,"results":"266","hashOfConfig":"210"},{"size":1224,"mtime":1714737348146,"results":"267","hashOfConfig":"210"},{"size":275,"mtime":1714737348146,"results":"268","hashOfConfig":"210"},{"size":1664,"mtime":1715007979504,"results":"269","hashOfConfig":"210"},{"size":30,"mtime":1712300689235,"results":"270","hashOfConfig":"210"},{"size":201,"mtime":1712401770345,"results":"271","hashOfConfig":"210"},{"size":210,"mtime":1714737348150,"results":"272","hashOfConfig":"210"},{"size":88,"mtime":1714737348150,"results":"273","hashOfConfig":"210"},{"size":30,"mtime":1712300689235,"results":"274","hashOfConfig":"210"},{"size":243,"mtime":1712300689235,"results":"275","hashOfConfig":"210"},{"size":453,"mtime":1712300689235,"results":"276","hashOfConfig":"210"},{"size":53,"mtime":1712300689235,"results":"277","hashOfConfig":"210"},{"size":42,"mtime":1712300689235,"results":"278","hashOfConfig":"210"},{"size":643,"mtime":1714737348150,"results":"279","hashOfConfig":"210"},{"size":416,"mtime":1714737348150,"results":"280","hashOfConfig":"210"},{"size":61,"mtime":1714737348150,"results":"281","hashOfConfig":"210"},{"size":150,"mtime":1714207242745,"results":"282","hashOfConfig":"210"},{"size":327,"mtime":1714737348150,"results":"283","hashOfConfig":"210"},{"size":108,"mtime":1712300689235,"results":"284","hashOfConfig":"210"},{"size":216,"mtime":1712300689235,"results":"285","hashOfConfig":"210"},{"size":211,"mtime":1714737348150,"results":"286","hashOfConfig":"210"},{"size":106,"mtime":1712300689239,"results":"287","hashOfConfig":"210"},{"size":161,"mtime":1712300689239,"results":"288","hashOfConfig":"210"},{"size":300,"mtime":1714737348150,"results":"289","hashOfConfig":"210"},{"size":328,"mtime":1714737348150,"results":"290","hashOfConfig":"210"},{"size":873,"mtime":1714737348150,"results":"291","hashOfConfig":"210"},{"size":127,"mtime":1714737348154,"results":"292","hashOfConfig":"210"},{"size":413,"mtime":1714944282342,"results":"293","hashOfConfig":"210"},{"size":34,"mtime":1712300689239,"results":"294","hashOfConfig":"210"},{"size":3399,"mtime":1714590013865,"results":"295","hashOfConfig":"210"},{"size":3434,"mtime":1714590013865,"results":"296","hashOfConfig":"210"},{"size":1743,"mtime":1714737348154,"results":"297","hashOfConfig":"210"},{"size":1883,"mtime":1714737348154,"results":"298","hashOfConfig":"210"},{"size":1004,"mtime":1714737348154,"results":"299","hashOfConfig":"210"},{"size":892,"mtime":1714737348154,"results":"300","hashOfConfig":"210"},{"size":484,"mtime":1714737348154,"results":"301","hashOfConfig":"210"},{"size":1743,"mtime":1714737348154,"results":"302","hashOfConfig":"210"},{"size":1705,"mtime":1714737348154,"results":"303","hashOfConfig":"210"},{"size":183,"mtime":1712650570032,"results":"304","hashOfConfig":"210"},{"size":1029,"mtime":1712300689243,"results":"305","hashOfConfig":"210"},{"size":343,"mtime":1712300689243,"results":"306","hashOfConfig":"210"},{"size":617,"mtime":1714737348158,"results":"307","hashOfConfig":"210"},{"size":51,"mtime":1712300689243,"results":"308","hashOfConfig":"210"},{"size":477,"mtime":1714737348158,"results":"309","hashOfConfig":"210"},{"size":561,"mtime":1714737348158,"results":"310","hashOfConfig":"210"},{"size":153,"mtime":1714737348158,"results":"311","hashOfConfig":"210"},{"size":825,"mtime":1714737348158,"results":"312","hashOfConfig":"210"},{"size":420,"mtime":1714737348158,"results":"313","hashOfConfig":"210"},{"size":855,"mtime":1714943521359,"results":"314","hashOfConfig":"210"},{"size":176,"mtime":1714737348158,"results":"315","hashOfConfig":"210"},{"size":122,"mtime":1714737348158,"results":"316","hashOfConfig":"210"},{"size":450,"mtime":1714737348158,"results":"317","hashOfConfig":"210"},{"size":39,"mtime":1714737348158,"results":"318","hashOfConfig":"210"},{"size":212,"mtime":1714737348158,"results":"319","hashOfConfig":"210"},{"size":193,"mtime":1714737348158,"results":"320","hashOfConfig":"210"},{"size":88,"mtime":1714737348158,"results":"321","hashOfConfig":"210"},{"size":2452,"mtime":1714737348158,"results":"322","hashOfConfig":"210"},{"size":3905,"mtime":1714737348158,"results":"323","hashOfConfig":"210"},{"size":716,"mtime":1714737348158,"results":"324","hashOfConfig":"210"},{"size":2274,"mtime":1714737348158,"results":"325","hashOfConfig":"210"},{"size":3073,"mtime":1714737348162,"results":"326","hashOfConfig":"210"},{"size":276,"mtime":1714737348162,"results":"327","hashOfConfig":"210"},{"size":28,"mtime":1714737348162,"results":"328","hashOfConfig":"210"},{"size":184,"mtime":1714737348162,"results":"329","hashOfConfig":"210"},{"size":120,"mtime":1714737348162,"results":"330","hashOfConfig":"210"},{"size":319,"mtime":1714737348162,"results":"331","hashOfConfig":"210"},{"size":113,"mtime":1714737348162,"results":"332","hashOfConfig":"210"},{"size":914,"mtime":1714737348162,"results":"333","hashOfConfig":"210"},{"size":46,"mtime":1714737348162,"results":"334","hashOfConfig":"210"},{"size":798,"mtime":1714737348162,"results":"335","hashOfConfig":"210"},{"size":683,"mtime":1714737348162,"results":"336","hashOfConfig":"210"},{"size":624,"mtime":1714737348162,"results":"337","hashOfConfig":"210"},{"size":152,"mtime":1714737348162,"results":"338","hashOfConfig":"210"},{"size":698,"mtime":1714737348162,"results":"339","hashOfConfig":"210"},{"size":91,"mtime":1714737348162,"results":"340","hashOfConfig":"210"},{"size":194,"mtime":1714737348162,"results":"341","hashOfConfig":"210"},{"size":732,"mtime":1714737348162,"results":"342","hashOfConfig":"210"},{"size":193,"mtime":1714737348166,"results":"343","hashOfConfig":"210"},{"size":262,"mtime":1714737348166,"results":"344","hashOfConfig":"210"},{"size":95,"mtime":1714737348166,"results":"345","hashOfConfig":"210"},{"size":232,"mtime":1714737348166,"results":"346","hashOfConfig":"210"},{"size":36,"mtime":1714737348166,"results":"347","hashOfConfig":"210"},{"size":417,"mtime":1714737348166,"results":"348","hashOfConfig":"210"},{"size":2523,"mtime":1714737348166,"results":"349","hashOfConfig":"210"},{"size":2424,"mtime":1715002550323,"results":"350","hashOfConfig":"210"},{"size":408,"mtime":1714737348166,"results":"351","hashOfConfig":"210"},{"size":4455,"mtime":1714737348166,"results":"352","hashOfConfig":"210"},{"size":2490,"mtime":1714737348166,"results":"353","hashOfConfig":"210"},{"size":31,"mtime":1714737348166,"results":"354","hashOfConfig":"210"},{"size":111,"mtime":1714737348166,"results":"355","hashOfConfig":"210"},{"size":615,"mtime":1714737348166,"results":"356","hashOfConfig":"210"},{"size":614,"mtime":1714737348166,"results":"357","hashOfConfig":"210"},{"size":605,"mtime":1714737348166,"results":"358","hashOfConfig":"210"},{"size":176,"mtime":1714737348166,"results":"359","hashOfConfig":"210"},{"size":713,"mtime":1714737348170,"results":"360","hashOfConfig":"210"},{"size":999,"mtime":1712332612710,"results":"361","hashOfConfig":"210"},{"size":264,"mtime":1712328839822,"results":"362","hashOfConfig":"210"},{"size":183,"mtime":1712355064486,"results":"363","hashOfConfig":"210"},{"size":178,"mtime":1712325225850,"results":"364","hashOfConfig":"210"},{"size":334,"mtime":1712354751837,"results":"365","hashOfConfig":"210"},{"size":169,"mtime":1712355064486,"results":"366","hashOfConfig":"210"},{"size":218,"mtime":1712355064486,"results":"367","hashOfConfig":"210"},{"size":29,"mtime":1712325993919,"results":"368","hashOfConfig":"210"},{"size":403,"mtime":1712332612710,"results":"369","hashOfConfig":"210"},{"size":42,"mtime":1712328205001,"results":"370","hashOfConfig":"210"},{"size":199,"mtime":1712328205009,"results":"371","hashOfConfig":"210"},{"size":32,"mtime":1712352977393,"results":"372","hashOfConfig":"210"},{"size":109,"mtime":1712352521929,"results":"373","hashOfConfig":"210"},{"size":2430,"mtime":1712355532534,"results":"374","hashOfConfig":"210"},{"size":2207,"mtime":1714737348170,"results":"375","hashOfConfig":"210"},{"size":378,"mtime":1712328839822,"results":"376","hashOfConfig":"210"},{"size":3487,"mtime":1712352977401,"results":"377","hashOfConfig":"210"},{"size":1367,"mtime":1712332612710,"results":"378","hashOfConfig":"210"},{"size":66,"mtime":1712352521929,"results":"379","hashOfConfig":"210"},{"size":107,"mtime":1712352521929,"results":"380","hashOfConfig":"210"},{"size":55,"mtime":1712328806063,"results":"381","hashOfConfig":"210"},{"size":492,"mtime":1714737348170,"results":"382","hashOfConfig":"210"},{"size":532,"mtime":1714737348170,"results":"383","hashOfConfig":"210"},{"size":609,"mtime":1714737348170,"results":"384","hashOfConfig":"210"},{"size":257,"mtime":1714737348170,"results":"385","hashOfConfig":"210"},{"size":718,"mtime":1714737348170,"results":"386","hashOfConfig":"210"},{"size":709,"mtime":1714737348170,"results":"387","hashOfConfig":"210"},{"size":353,"mtime":1713197827786,"results":"388","hashOfConfig":"210"},{"size":3787,"mtime":1713592746261,"results":"389","hashOfConfig":"210"},{"size":986,"mtime":1712300689247,"results":"390","hashOfConfig":"210"},{"size":222,"mtime":1712300689247,"results":"391","hashOfConfig":"210"},{"size":3084,"mtime":1714737348170,"results":"392","hashOfConfig":"210"},{"size":955,"mtime":1712300689247,"results":"393","hashOfConfig":"210"},{"size":182,"mtime":1712300689247,"results":"394","hashOfConfig":"210"},{"size":585,"mtime":1714737348170,"results":"395","hashOfConfig":"210"},{"size":175,"mtime":1712300689247,"results":"396","hashOfConfig":"210"},{"size":225,"mtime":1712300689247,"results":"397","hashOfConfig":"210"},{"size":30,"mtime":1712300689247,"results":"398","hashOfConfig":"210"},{"size":1734,"mtime":1714737348170,"results":"399","hashOfConfig":"210"},{"size":88,"mtime":1714737348174,"results":"400","hashOfConfig":"210"},{"size":227,"mtime":1714737348174,"results":"401","hashOfConfig":"210"},{"size":226,"mtime":1712300689251,"results":"402","hashOfConfig":"210"},{"size":61,"mtime":1712300689251,"results":"403","hashOfConfig":"210"},{"size":276,"mtime":1714737348174,"results":"404","hashOfConfig":"210"},{"size":61,"mtime":1714737348174,"results":"405","hashOfConfig":"210"},{"size":599,"mtime":1714737348174,"results":"406","hashOfConfig":"210"},{"size":148,"mtime":1714737348174,"results":"407","hashOfConfig":"210"},{"size":67,"mtime":1714737348174,"results":"408","hashOfConfig":"210"},{"size":105,"mtime":1712300689251,"results":"409","hashOfConfig":"210"},{"size":3533,"mtime":1714737348174,"results":"410","hashOfConfig":"210"},{"size":3955,"mtime":1714737348174,"results":"411","hashOfConfig":"210"},{"size":478,"mtime":1714737348174,"results":"412","hashOfConfig":"210"},{"size":5369,"mtime":1714737348178,"results":"413","hashOfConfig":"210"},{"size":2840,"mtime":1714737348178,"results":"414","hashOfConfig":"210"},{"size":12533,"mtime":1714737348178,"results":"415","hashOfConfig":"210"},{"size":3886,"mtime":1715011272944,"results":"416","hashOfConfig":"210"},{"size":261880,"mtime":1715011272944,"results":"417","hashOfConfig":"210"},{"filePath":"418","messages":"419","suppressedMessages":"420","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"ka4qp4",{"filePath":"421","messages":"422","suppressedMessages":"423","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"424","messages":"425","suppressedMessages":"426","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"427","messages":"428","suppressedMessages":"429","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"430","messages":"431","suppressedMessages":"432","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"433","messages":"434","suppressedMessages":"435","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"436","messages":"437","suppressedMessages":"438","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"439","messages":"440","suppressedMessages":"441","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"442","messages":"443","suppressedMessages":"444","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"445","messages":"446","suppressedMessages":"447","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"448","messages":"449","suppressedMessages":"450","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"451","messages":"452","suppressedMessages":"453","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"454","messages":"455","suppressedMessages":"456","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"457","messages":"458","suppressedMessages":"459","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"460","messages":"461","suppressedMessages":"462","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"463","messages":"464","suppressedMessages":"465","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"466","messages":"467","suppressedMessages":"468","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"469","messages":"470","suppressedMessages":"471","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"472","messages":"473","suppressedMessages":"474","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"475","messages":"476","suppressedMessages":"477","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"478","messages":"479","suppressedMessages":"480","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"481","messages":"482","suppressedMessages":"483","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"484","messages":"485","suppressedMessages":"486","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"487","messages":"488","suppressedMessages":"489","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"490","messages":"491","suppressedMessages":"492","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"493","messages":"494","suppressedMessages":"495","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"496","messages":"497","suppressedMessages":"498","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"499","messages":"500","suppressedMessages":"501","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"502","messages":"503","suppressedMessages":"504","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"505","messages":"506","suppressedMessages":"507","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"508","messages":"509","suppressedMessages":"510","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"511","messages":"512","suppressedMessages":"513","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"514","messages":"515","suppressedMessages":"516","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"517","messages":"518","suppressedMessages":"519","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"520","messages":"521","suppressedMessages":"522","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"523","messages":"524","suppressedMessages":"525","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"526","messages":"527","suppressedMessages":"528","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"529","messages":"530","suppressedMessages":"531","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"532","messages":"533","suppressedMessages":"534","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"535","messages":"536","suppressedMessages":"537","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"538","messages":"539","suppressedMessages":"540","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"541","messages":"542","suppressedMessages":"543","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"544","messages":"545","suppressedMessages":"546","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"547","messages":"548","suppressedMessages":"549","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"550","messages":"551","suppressedMessages":"552","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"553","messages":"554","suppressedMessages":"555","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"556","messages":"557","suppressedMessages":"558","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"559","messages":"560","suppressedMessages":"561","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"562","messages":"563","suppressedMessages":"564","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"565","messages":"566","suppressedMessages":"567","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"568","messages":"569","suppressedMessages":"570","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"571","messages":"572","suppressedMessages":"573","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"574","messages":"575","suppressedMessages":"576","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"577","messages":"578","suppressedMessages":"579","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"580","messages":"581","suppressedMessages":"582","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"583","messages":"584","suppressedMessages":"585","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"586","messages":"587","suppressedMessages":"588","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"589","messages":"590","suppressedMessages":"591","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"592","messages":"593","suppressedMessages":"594","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"595","messages":"596","suppressedMessages":"597","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"598","messages":"599","suppressedMessages":"600","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"601","messages":"602","suppressedMessages":"603","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"604","messages":"605","suppressedMessages":"606","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"607","messages":"608","suppressedMessages":"609","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"610","messages":"611","suppressedMessages":"612","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"613","messages":"614","suppressedMessages":"615","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"616","messages":"617","suppressedMessages":"618","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"619","messages":"620","suppressedMessages":"621","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"622","messages":"623","suppressedMessages":"624","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"625","messages":"626","suppressedMessages":"627","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"628","messages":"629","suppressedMessages":"630","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"631","messages":"632","suppressedMessages":"633","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"634","messages":"635","suppressedMessages":"636","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"637","messages":"638","suppressedMessages":"639","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"640","messages":"641","suppressedMessages":"642","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"643","messages":"644","suppressedMessages":"645","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"646","messages":"647","suppressedMessages":"648","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"649","messages":"650","suppressedMessages":"651","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"652","messages":"653","suppressedMessages":"654","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"655","messages":"656","suppressedMessages":"657","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"658","messages":"659","suppressedMessages":"660","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"661","messages":"662","suppressedMessages":"663","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"664","messages":"665","suppressedMessages":"666","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"667","messages":"668","suppressedMessages":"669","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"670","messages":"671","suppressedMessages":"672","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"673","messages":"674","suppressedMessages":"675","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"676","messages":"677","suppressedMessages":"678","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"679","messages":"680","suppressedMessages":"681","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"682","messages":"683","suppressedMessages":"684","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"685","messages":"686","suppressedMessages":"687","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"688","messages":"689","suppressedMessages":"690","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"691","messages":"692","suppressedMessages":"693","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"694","messages":"695","suppressedMessages":"696","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"697","messages":"698","suppressedMessages":"699","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"700","messages":"701","suppressedMessages":"702","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"703","messages":"704","suppressedMessages":"705","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"706","messages":"707","suppressedMessages":"708","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"709","messages":"710","suppressedMessages":"711","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"712","messages":"713","suppressedMessages":"714","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"715","messages":"716","suppressedMessages":"717","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"718","messages":"719","suppressedMessages":"720","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"721","messages":"722","suppressedMessages":"723","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"724","messages":"725","suppressedMessages":"726","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"727","messages":"728","suppressedMessages":"729","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"730","messages":"731","suppressedMessages":"732","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"733","messages":"734","suppressedMessages":"735","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"736","messages":"737","suppressedMessages":"738","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"739","messages":"740","suppressedMessages":"741","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"742","messages":"743","suppressedMessages":"744","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"745","messages":"746","suppressedMessages":"747","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"748","messages":"749","suppressedMessages":"750","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"751","messages":"752","suppressedMessages":"753","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"754","messages":"755","suppressedMessages":"756","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"757","messages":"758","suppressedMessages":"759","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"760","messages":"761","suppressedMessages":"762","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"763","messages":"764","suppressedMessages":"765","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"766","messages":"767","suppressedMessages":"768","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"769","messages":"770","suppressedMessages":"771","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"772","messages":"773","suppressedMessages":"774","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"775","messages":"776","suppressedMessages":"777","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"778","messages":"779","suppressedMessages":"780","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"781","messages":"782","suppressedMessages":"783","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"784","messages":"785","suppressedMessages":"786","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"787","messages":"788","suppressedMessages":"789","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"790","messages":"791","suppressedMessages":"792","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"793","messages":"794","suppressedMessages":"795","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"796","messages":"797","suppressedMessages":"798","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"799","messages":"800","suppressedMessages":"801","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"802","messages":"803","suppressedMessages":"804","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"805","messages":"806","suppressedMessages":"807","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"808","messages":"809","suppressedMessages":"810","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"811","messages":"812","suppressedMessages":"813","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"814","messages":"815","suppressedMessages":"816","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"817","messages":"818","suppressedMessages":"819","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"820","messages":"821","suppressedMessages":"822","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"823","messages":"824","suppressedMessages":"825","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"826","messages":"827","suppressedMessages":"828","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"829","messages":"830","suppressedMessages":"831","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"832","messages":"833","suppressedMessages":"834","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"835","messages":"836","suppressedMessages":"837","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"838","messages":"839","suppressedMessages":"840","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"841","messages":"842","suppressedMessages":"843","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"844","messages":"845","suppressedMessages":"846","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"847","messages":"848","suppressedMessages":"849","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"850","messages":"851","suppressedMessages":"852","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"853","messages":"854","suppressedMessages":"855","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"856","messages":"857","suppressedMessages":"858","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"859","messages":"860","suppressedMessages":"861","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"862","messages":"863","suppressedMessages":"864","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"865","messages":"866","suppressedMessages":"867","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"868","messages":"869","suppressedMessages":"870","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"871","messages":"872","suppressedMessages":"873","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"874","messages":"875","suppressedMessages":"876","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"877","messages":"878","suppressedMessages":"879","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"880","messages":"881","suppressedMessages":"882","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"883","messages":"884","suppressedMessages":"885","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"886","messages":"887","suppressedMessages":"888","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"889","messages":"890","suppressedMessages":"891","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"892","messages":"893","suppressedMessages":"894","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"895","messages":"896","suppressedMessages":"897","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"898","messages":"899","suppressedMessages":"900","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"901","messages":"902","suppressedMessages":"903","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"904","messages":"905","suppressedMessages":"906","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"907","messages":"908","suppressedMessages":"909","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"910","messages":"911","suppressedMessages":"912","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"913","messages":"914","suppressedMessages":"915","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"916","messages":"917","suppressedMessages":"918","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"919","messages":"920","suppressedMessages":"921","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"922","messages":"923","suppressedMessages":"924","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"925","messages":"926","suppressedMessages":"927","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"928","messages":"929","suppressedMessages":"930","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"931","messages":"932","suppressedMessages":"933","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"934","messages":"935","suppressedMessages":"936","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"937","messages":"938","suppressedMessages":"939","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"940","messages":"941","suppressedMessages":"942","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"943","messages":"944","suppressedMessages":"945","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"946","messages":"947","suppressedMessages":"948","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"949","messages":"950","suppressedMessages":"951","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"952","messages":"953","suppressedMessages":"954","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"955","messages":"956","suppressedMessages":"957","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"958","messages":"959","suppressedMessages":"960","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"961","messages":"962","suppressedMessages":"963","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"964","messages":"965","suppressedMessages":"966","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"967","messages":"968","suppressedMessages":"969","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"970","messages":"971","suppressedMessages":"972","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"973","messages":"974","suppressedMessages":"975","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"976","messages":"977","suppressedMessages":"978","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"979","messages":"980","suppressedMessages":"981","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"982","messages":"983","suppressedMessages":"984","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"985","messages":"986","suppressedMessages":"987","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"988","messages":"989","suppressedMessages":"990","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"991","messages":"992","suppressedMessages":"993","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"994","messages":"995","suppressedMessages":"996","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"997","messages":"998","suppressedMessages":"999","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1000","messages":"1001","suppressedMessages":"1002","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1003","messages":"1004","suppressedMessages":"1005","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1006","messages":"1007","suppressedMessages":"1008","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1009","messages":"1010","suppressedMessages":"1011","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1012","messages":"1013","suppressedMessages":"1014","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1015","messages":"1016","suppressedMessages":"1017","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1018","messages":"1019","suppressedMessages":"1020","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1021","messages":"1022","suppressedMessages":"1023","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1024","messages":"1025","suppressedMessages":"1026","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1027","messages":"1028","suppressedMessages":"1029","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1030","messages":"1031","suppressedMessages":"1032","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1033","messages":"1034","suppressedMessages":"1035","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1036","messages":"1037","suppressedMessages":"1038","errorCount":1,"fatalErrorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"1039","messages":"1040","suppressedMessages":"1041","errorCount":1,"fatalErrorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/app.controller.spec.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/app.controller.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/app.module.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/app.service.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/app.swagger.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/auth.controller.spec.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/auth.controller.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/auth.module.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/auth.service.spec.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/auth.service.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/decorators/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/decorators/login-swagger.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/dto/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/dto/login-response.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/dto/validate-user.dto.spec.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/dto/validate-user.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/jwt-auth.guard.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/jwt.strategy.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/local-auth.guard.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/local.strategy.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/middlewares/auth.middleware.spec.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/middlewares/auth.middleware.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/middlewares/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/types/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/types/jwt-strategy-validate.type.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/auth/types/user.type.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/book.controller.spec.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/book.controller.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/book.module.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/book.service.spec.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/book.service.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/decorators/add-ebook-swagger.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/decorators/add-to-borrowers-queue-swagger.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/decorators/add-to-favorites-swagger.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/decorators/create-swagger.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/decorators/get-all-swagger.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/decorators/get-by-ad-swagger.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/decorators/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/decorators/my-feed-swagger.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/decorators/remove-from-borrowers-queue-swagger.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/decorators/remove-from-favorites-swagger.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/decorators/remove-swagger.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/decorators/update-borrower-swagger.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/decorators/update-swagger.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/dto/book-confirmation-response.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/dto/book-item-info.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/dto/book-item-status.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/dto/book-item.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/dto/book-response.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/dto/books-response.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/dto/create-book.dto.spec.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/dto/create-book.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/dto/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/dto/short-book-item.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/dto/update-book.dto.spec.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/dto/update-book.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/dto/update-borrower.dto.spec.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/dto/update-borrower.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/entities/book.entity.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/entities/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/exceptions/book-not-found.exception.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/exceptions/book-not-updated.exception.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/exceptions/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/middleware/book-stock-cycle-logger/book-stock-cycle-logger.middleware.spec.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/middleware/book-stock-cycle-logger/book-stock-cycle-logger.middleware.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/middleware/book-stock-cycle-logger/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/middleware/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/mocks/book-item.mock.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/mocks/file.mock.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/mocks/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/types/book-entity-with-In-favorites.interface.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/types/book-entity-with-borrower.interface.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/types/book.type.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/types/books-response.interface.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/types/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/types/jwt-user-info.type.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/book/types/query.interface.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/configs/get-config-module.config.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/configs/get-jwt-module.config.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/configs/get-typeorm-module.config.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/configs/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/database/database.module.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/database/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/database/migrations/1712329791673-migrations.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/database/migrations/1712645550032-migrations.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/database/migrations/1712821921248-migrations.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/database/migrations/1713521419504-migrations.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/database/migrations/1713640405643-migrations.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/database/migrations/1713643387624-migrations.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/database/migrations/1713648674008-migrations.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/database/migrations/1714199403886-migrations.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/database/migrations/1714207508855-migrations.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/env/env.module.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/env/env.service.spec.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/env/env.service.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/env/env.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/env/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/decorators/api-file-swagger.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/decorators/get-database-file-by-id-swagger.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/decorators/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/decorators/upload-file-swagger.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/dto/create-database-file.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/dto/file-item.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/dto/file-response.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/dto/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/entities/database-file.entity.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/entities/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/exceptions/file-not-created.exception.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/exceptions/file-not-found.exception.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/exceptions/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/file.controller.spec.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/file.controller.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/file.module.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/file.service.spec.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/file.service.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/mocks/file.mock.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/mocks/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/types/files-set-interface.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/types/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/types/multer-file-buffer.class.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/file/types/upload-file-response.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/filters/HttpExtendedExceptionFilter.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/filters/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/main.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/decorators/follow-profile-swagger.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/decorators/get-profile-swagger.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/decorators/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/decorators/unfollow-profile-swagger.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/dto/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/dto/profile-confirmation-response.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/dto/profile-item.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/dto/profile-response.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/exceptions/impossible-subscribe.exception.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/exceptions/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/exceptions/profile-not-found.exception.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/mocks/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/mocks/profile-item.mock.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/profile.controller.spec.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/profile.controller.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/profile.module.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/profile.service.spec.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/profile.service.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/types/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/profile/types/profile.type.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/decorators/create-swagger.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/decorators/get-all-swagger.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/decorators/get-by-id-swagger.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/decorators/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/decorators/remove-swagger.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/dto/create-tag.dto.spec.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/dto/create-tag.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/dto/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/dto/tag-confirmation-response.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/dto/tag-item.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/dto/tag-response.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/dto/tags-response.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/entities/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/entities/tag.entity.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/exceptions/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/exceptions/tag-not-found.exception.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/mocks/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/mocks/tag-item.mock.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/tag.controller.spec.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/tag.controller.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/tag.module.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/tag.service.spec.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/tag.service.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/types/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/types/tag.type.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/tag/types/tags-query.interface.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/decorators/create-swagger.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/decorators/get-all-swagger.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/decorators/get-by-id-swagger.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/decorators/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/decorators/remove-swagger.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/decorators/update-swagger.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/decorators/user-info.decorator.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/dto/create-user.dto.spec.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/dto/create-user.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/dto/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/dto/update-user.dto.spec.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/dto/update-user.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/dto/user-confirmation-response.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/dto/user-item.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/dto/user-response.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/dto/users-response.dto.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/entities/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/entities/user.entity.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/exceptions/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/exceptions/user-not-created.exception.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/exceptions/user-not-found.exception.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/mocks/file.mock.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/mocks/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/mocks/user-item.mock.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/types/express-request.type.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/types/index.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/types/user.type.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/user.controller.spec.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/user.controller.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/user.module.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/user.service.spec.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/src/user/user.service.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/test/app.e2e-spec.ts",[],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/package.json",["1042"],[],"/home/uladzimir/Documents/projects/nest-js/book-swap/backend/yarn.lock",["1043"],[],{"ruleId":null,"fatal":true,"severity":2,"message":"1044","nodeType":null},{"ruleId":null,"fatal":true,"severity":2,"message":"1045","nodeType":null},"Parsing error: ESLint was configured to run on `/package.json` using `parserOptions.project`: /tsconfig.json\nThe extension for the file (`.json`) is non-standard. You should add `parserOptions.extraFileExtensions` to your config.","Parsing error: ESLint was configured to run on `/yarn.lock` using `parserOptions.project`: /tsconfig.json\nThe extension for the file (`.lock`) is non-standard. You should add `parserOptions.extraFileExtensions` to your config."] \ No newline at end of file diff --git a/backend/package.json b/backend/package.json index 2c58535..9ecee09 100644 --- a/backend/package.json +++ b/backend/package.json @@ -14,7 +14,7 @@ "start:debug": "nest start --debug --watch", "start:prod": "node dist/main", "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", - "lint:verify": "eslint \"{src,apps,libs,test}/**/*.ts\"", + "lint:verify": "eslint \"{src,apps,libs,test}/**/*.ts\" --cache", "lint:types": "tsc --noEmit", "test": "jest", "test:watch": "jest --watch", @@ -27,7 +27,12 @@ "migration:run": "npm run typeorm migration:run -- -d ./typeOrm.config.ts", "migration:revert": "npm run typeorm migration:revert -- -d ./typeOrm.config.ts", "db:sync ": "yarn run typeorm schema:sync -d ./typeOrm.config.ts", - "db:drop": "yarn run typeorm schema:drop -d ./typeOrm.config.ts" + "db:drop": "yarn run typeorm schema:drop -d ./typeOrm.config.ts", + "prepare": "cd .. && husky backend/.husky", + "lint-staged": "lint-staged" + }, + "lint-staged": { + "*.{ts,tsx}": ["yarn run lint:verify", "yarn run format:verify"] }, "dependencies": { "@nestjs/common": "^10.0.0", @@ -74,7 +79,9 @@ "eslint": "^8.42.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.0", + "husky": "^9.0.11", "jest": "^29.5.0", + "lint-staged": "^15.2.2", "prettier": "^3.0.0", "source-map-support": "^0.5.21", "supertest": "^6.3.3", diff --git a/backend/yarn.lock b/backend/yarn.lock index 7ce5add..2a5baed 100644 --- a/backend/yarn.lock +++ b/backend/yarn.lock @@ -1661,6 +1661,11 @@ ansi-escapes@^4.2.1, ansi-escapes@^4.3.2: dependencies: type-fest "^0.21.3" +ansi-escapes@^6.2.0: + version "6.2.1" + resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-6.2.1.tgz#76c54ce9b081dad39acec4b5d53377913825fb0f" + integrity sha512-4nJ3yixlEthEJ9Rk4vPcdBRkZvQZlYyu8j4/Mqz5sgIkddmEnH2Yj2ZrnP9S3tQOvSNRUIgVNF/1yPpRAGNRig== + ansi-regex@^5.0.1: version "5.0.1" resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz" @@ -1690,7 +1695,7 @@ ansi-styles@^5.0.0: resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz" integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== -ansi-styles@^6.1.0: +ansi-styles@^6.0.0, ansi-styles@^6.1.0, ansi-styles@^6.2.1: version "6.2.1" resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz" integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug== @@ -2049,6 +2054,11 @@ chalk@4.1.2, chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.1, chalk@^4.1.2: ansi-styles "^4.1.0" supports-color "^7.1.0" +chalk@5.3.0, chalk@^5.3.0: + version "5.3.0" + resolved "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz" + integrity sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w== + chalk@^2.4.2: version "2.4.2" resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz" @@ -2058,11 +2068,6 @@ chalk@^2.4.2: escape-string-regexp "^1.0.5" supports-color "^5.3.0" -chalk@^5.3.0: - version "5.3.0" - resolved "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz" - integrity sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w== - char-regex@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz" @@ -2134,6 +2139,13 @@ cli-cursor@^3.1.0: dependencies: restore-cursor "^3.1.0" +cli-cursor@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-4.0.0.tgz#3cecfe3734bf4fe02a8361cbdc0f6fe28c6a57ea" + integrity sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg== + dependencies: + restore-cursor "^4.0.0" + cli-highlight@^2.1.11: version "2.1.11" resolved "https://registry.yarnpkg.com/cli-highlight/-/cli-highlight-2.1.11.tgz#49736fa452f0aaf4fae580e30acb26828d2dc1bf" @@ -2160,6 +2172,14 @@ cli-table3@0.6.3: optionalDependencies: "@colors/colors" "1.5.0" +cli-truncate@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/cli-truncate/-/cli-truncate-4.0.0.tgz#6cc28a2924fee9e25ce91e973db56c7066e6172a" + integrity sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA== + dependencies: + slice-ansi "^5.0.0" + string-width "^7.0.0" + cli-width@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz" @@ -2248,6 +2268,11 @@ color@^4.2.3: color-convert "^2.0.1" color-string "^1.9.0" +colorette@^2.0.20: + version "2.0.20" + resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.20.tgz#9eb793e6833067f7235902fcd3b09917a000a95a" + integrity sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w== + combined-stream@^1.0.8: version "1.0.8" resolved "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz" @@ -2255,6 +2280,11 @@ combined-stream@^1.0.8: dependencies: delayed-stream "~1.0.0" +commander@11.1.0: + version "11.1.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-11.1.0.tgz#62fdce76006a68e5c1ab3314dc92e800eb83d906" + integrity sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ== + commander@4.1.1: version "4.1.1" resolved "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz" @@ -2400,7 +2430,7 @@ debug@2.6.9: dependencies: ms "2.0.0" -debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.4: +debug@4, debug@4.3.4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.4: version "4.3.4" resolved "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz" integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== @@ -2549,6 +2579,11 @@ emittery@^0.13.1: resolved "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz" integrity sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ== +emoji-regex@^10.3.0: + version "10.3.0" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-10.3.0.tgz#76998b9268409eb3dae3de989254d456e70cfe23" + integrity sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw== + emoji-regex@^8.0.0: version "8.0.0" resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz" @@ -2759,11 +2794,31 @@ etag@~1.8.1: resolved "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz" integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== +eventemitter3@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-5.0.1.tgz#53f5ffd0a492ac800721bb42c66b841de96423c4" + integrity sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA== + events@^3.2.0: version "3.3.0" resolved "https://registry.npmjs.org/events/-/events-3.3.0.tgz" integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== +execa@8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/execa/-/execa-8.0.1.tgz#51f6a5943b580f963c3ca9c6321796db8cc39b8c" + integrity sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg== + dependencies: + cross-spawn "^7.0.3" + get-stream "^8.0.1" + human-signals "^5.0.0" + is-stream "^3.0.0" + merge-stream "^2.0.0" + npm-run-path "^5.1.0" + onetime "^6.0.0" + signal-exit "^4.1.0" + strip-final-newline "^3.0.0" + execa@^5.0.0: version "5.1.1" resolved "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz" @@ -3103,6 +3158,11 @@ get-caller-file@^2.0.5: resolved "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== +get-east-asian-width@^1.0.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/get-east-asian-width/-/get-east-asian-width-1.2.0.tgz#5e6ebd9baee6fb8b7b6bd505221065f0cd91f64e" + integrity sha512-2nk+7SIVb14QrgXFHcm84tD4bKQz0RxPuMT8Ag5KPOq7J5fEmAg0UbXdTOSHqNuHSU28k55qnceesxXRZGzKWA== + get-intrinsic@^1.1.3, get-intrinsic@^1.2.4: version "1.2.4" resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz" @@ -3124,6 +3184,11 @@ get-stream@^6.0.0: resolved "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz" integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== +get-stream@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-8.0.1.tgz#def9dfd71742cd7754a7761ed43749a27d02eca2" + integrity sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA== + github-from-package@0.0.0: version "0.0.0" resolved "https://registry.yarnpkg.com/github-from-package/-/github-from-package-0.0.0.tgz#97fb5d96bfde8973313f20e8288ef9a167fa64ce" @@ -3305,6 +3370,16 @@ human-signals@^2.1.0: resolved "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz" integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== +human-signals@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-5.0.0.tgz#42665a284f9ae0dade3ba41ebc37eb4b852f3a28" + integrity sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ== + +husky@^9.0.11: + version "9.0.11" + resolved "https://registry.yarnpkg.com/husky/-/husky-9.0.11.tgz#fc91df4c756050de41b3e478b2158b87c1e79af9" + integrity sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw== + iconv-lite@0.4.24, iconv-lite@^0.4.24: version "0.4.24" resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz" @@ -3447,6 +3522,18 @@ is-fullwidth-code-point@^3.0.0: resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz" integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== +is-fullwidth-code-point@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz#fae3167c729e7463f8461ce512b080a49268aa88" + integrity sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ== + +is-fullwidth-code-point@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-5.0.0.tgz#9609efced7c2f97da7b60145ef481c787c7ba704" + integrity sha512-OVa3u9kkBbw7b8Xw5F9P+D/T9X+Z4+JruYVNapTjPYZYUznQ5YfWeFkOj606XYYW8yugTfC8Pj0hYqvi4ryAhA== + dependencies: + get-east-asian-width "^1.0.0" + is-generator-fn@^2.0.0: version "2.1.0" resolved "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz" @@ -3479,6 +3566,11 @@ is-stream@^2.0.0: resolved "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz" integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== +is-stream@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-3.0.0.tgz#e6bfd7aa6bef69f4f472ce9bb681e3e57b4319ac" + integrity sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA== + is-unicode-supported@^0.1.0: version "0.1.0" resolved "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz" @@ -4070,11 +4162,44 @@ libphonenumber-js@^1.10.53: resolved "https://registry.yarnpkg.com/libphonenumber-js/-/libphonenumber-js-1.10.59.tgz#ece26801dcf11fe3f8265bbc01981d9d808f9e6c" integrity sha512-HeTsOrDF/hWhEiKqZVwg9Cqlep5x2T+IYDENvT2VRj3iX8JQ7Y+omENv+AIn0vC8m6GYhivfCed5Cgfw27r5SA== +lilconfig@3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-3.0.0.tgz#f8067feb033b5b74dab4602a5f5029420be749bc" + integrity sha512-K2U4W2Ff5ibV7j7ydLr+zLAkIg5JJ4lPn1Ltsdt+Tz/IjQ8buJ55pZAxoP34lqIiwtF9iAvtLv3JGv7CAyAg+g== + lines-and-columns@^1.1.6: version "1.2.4" resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz" integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== +lint-staged@^15.2.2: + version "15.2.2" + resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-15.2.2.tgz#ad7cbb5b3ab70e043fa05bff82a09ed286bc4c5f" + integrity sha512-TiTt93OPh1OZOsb5B7k96A/ATl2AjIZo+vnzFZ6oHK5FuTk63ByDtxGQpHm+kFETjEWqgkF95M8FRXKR/LEBcw== + dependencies: + chalk "5.3.0" + commander "11.1.0" + debug "4.3.4" + execa "8.0.1" + lilconfig "3.0.0" + listr2 "8.0.1" + micromatch "4.0.5" + pidtree "0.6.0" + string-argv "0.3.2" + yaml "2.3.4" + +listr2@8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/listr2/-/listr2-8.0.1.tgz#4d3f50ae6cec3c62bdf0e94f5c2c9edebd4b9c34" + integrity sha512-ovJXBXkKGfq+CwmKTjluEqFi3p4h8xvkxGQQAQan22YCgef4KZ1mKGjzfGh6PL6AW5Csw0QiQPNuQyH+6Xk3hA== + dependencies: + cli-truncate "^4.0.0" + colorette "^2.0.20" + eventemitter3 "^5.0.1" + log-update "^6.0.0" + rfdc "^1.3.0" + wrap-ansi "^9.0.0" + loader-runner@^4.2.0: version "4.3.0" resolved "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz" @@ -4152,6 +4277,17 @@ log-symbols@^4.1.0: chalk "^4.1.0" is-unicode-supported "^0.1.0" +log-update@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/log-update/-/log-update-6.0.0.tgz#0ddeb7ac6ad658c944c1de902993fce7c33f5e59" + integrity sha512-niTvB4gqvtof056rRIrTZvjNYE4rCUzO6X/X+kYjd7WFxXeJ0NwEFnRxX6ehkvv3jTwrXnNdtAak5XYZuIyPFw== + dependencies: + ansi-escapes "^6.2.0" + cli-cursor "^4.0.0" + slice-ansi "^7.0.0" + strip-ansi "^7.1.0" + wrap-ansi "^9.0.0" + lru-cache@^5.1.1: version "5.1.1" resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz" @@ -4236,7 +4372,7 @@ methods@^1.1.2, methods@~1.1.2: resolved "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz" integrity sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w== -micromatch@^4.0.0, micromatch@^4.0.4: +micromatch@4.0.5, micromatch@^4.0.0, micromatch@^4.0.4: version "4.0.5" resolved "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz" integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== @@ -4271,6 +4407,11 @@ mimic-fn@^2.1.0: resolved "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz" integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== +mimic-fn@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-4.0.0.tgz#60a90550d5cb0b239cca65d893b1a53b29871ecc" + integrity sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw== + mimic-response@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9" @@ -4486,6 +4627,13 @@ npm-run-path@^4.0.1: dependencies: path-key "^3.0.0" +npm-run-path@^5.1.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-5.3.0.tgz#e23353d0ebb9317f174e93417e4a4d82d0249e9f" + integrity sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ== + dependencies: + path-key "^4.0.0" + npmlog@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-5.0.1.tgz#f06678e80e29419ad67ab964e0fa69959c1eb8b0" @@ -4527,6 +4675,13 @@ onetime@^5.1.0, onetime@^5.1.2: dependencies: mimic-fn "^2.1.0" +onetime@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/onetime/-/onetime-6.0.0.tgz#7c24c18ed1fd2e9bca4bd26806a33613c77d34b4" + integrity sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ== + dependencies: + mimic-fn "^4.0.0" + optionator@^0.9.3: version "0.9.3" resolved "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz" @@ -4680,6 +4835,11 @@ path-key@^3.0.0, path-key@^3.1.0: resolved "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz" integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== +path-key@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-4.0.0.tgz#295588dc3aee64154f877adb9d780b81c554bf18" + integrity sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ== + path-parse@^1.0.7: version "1.0.7" resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz" @@ -4791,6 +4951,11 @@ picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.1: resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== +pidtree@0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/pidtree/-/pidtree-0.6.0.tgz#90ad7b6d42d5841e69e0a2419ef38f8883aa057c" + integrity sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g== + pirates@^4.0.4: version "4.0.6" resolved "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz" @@ -5069,11 +5234,24 @@ restore-cursor@^3.1.0: onetime "^5.1.0" signal-exit "^3.0.2" +restore-cursor@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-4.0.0.tgz#519560a4318975096def6e609d44100edaa4ccb9" + integrity sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg== + dependencies: + onetime "^5.1.0" + signal-exit "^3.0.2" + reusify@^1.0.4: version "1.0.4" resolved "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz" integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== +rfdc@^1.3.0: + version "1.3.1" + resolved "https://registry.yarnpkg.com/rfdc/-/rfdc-1.3.1.tgz#2b6d4df52dffe8bb346992a10ea9451f24373a8f" + integrity sha512-r5a3l5HzYlIC68TpmYKlxWjmOP6wiPJ1vWv2HeLhNsRZMrCkxeqxiHlQ21oXmQ4F3SiryXBHhAD7JZqvOJjFmg== + rimraf@4.4.1: version "4.4.1" resolved "https://registry.npmjs.org/rimraf/-/rimraf-4.4.1.tgz" @@ -5293,7 +5471,7 @@ signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7: resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz" integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== -signal-exit@^4.0.1: +signal-exit@^4.0.1, signal-exit@^4.1.0: version "4.1.0" resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz" integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw== @@ -5329,6 +5507,22 @@ slash@^3.0.0: resolved "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz" integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== +slice-ansi@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-5.0.0.tgz#b73063c57aa96f9cd881654b15294d95d285c42a" + integrity sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ== + dependencies: + ansi-styles "^6.0.0" + is-fullwidth-code-point "^4.0.0" + +slice-ansi@^7.0.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-7.1.0.tgz#cd6b4655e298a8d1bdeb04250a433094b347b9a9" + integrity sha512-bSiSngZ/jWeX93BqeIAbImyTbEihizcwNjFoRUIY/T1wWQsfsm2Vw1agPKylXvQTU7iASGdHhyqRlqQzfz+Htg== + dependencies: + ansi-styles "^6.2.1" + is-fullwidth-code-point "^5.0.0" + source-map-support@0.5.13: version "0.5.13" resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz" @@ -5392,6 +5586,11 @@ streamx@^2.15.0, streamx@^2.16.1: optionalDependencies: bare-events "^2.2.0" +string-argv@0.3.2: + version "0.3.2" + resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.2.tgz#2b6d0ef24b656274d957d54e0a4bbf6153dc02b6" + integrity sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q== + string-length@^4.0.1: version "4.0.2" resolved "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz" @@ -5427,6 +5626,15 @@ string-width@^5.0.1, string-width@^5.1.2: emoji-regex "^9.2.2" strip-ansi "^7.0.1" +string-width@^7.0.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-7.1.0.tgz#d994252935224729ea3719c49f7206dc9c46550a" + integrity sha512-SEIJCWiX7Kg4c129n48aDRwLbFb2LJmXXFrWBG4NGaRtMQ3myKPKbwrD1BKqQn74oCoNMBVrfDEr5M9YxCsrkw== + dependencies: + emoji-regex "^10.3.0" + get-east-asian-width "^1.0.0" + strip-ansi "^7.1.0" + string_decoder@^1.1.1: version "1.3.0" resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz" @@ -5455,7 +5663,7 @@ strip-ansi@^6.0.0, strip-ansi@^6.0.1: dependencies: ansi-regex "^5.0.1" -strip-ansi@^7.0.1: +strip-ansi@^7.0.1, strip-ansi@^7.1.0: version "7.1.0" resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz" integrity sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ== @@ -5477,6 +5685,11 @@ strip-final-newline@^2.0.0: resolved "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz" integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== +strip-final-newline@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-3.0.0.tgz#52894c313fbff318835280aed60ff71ebf12b8fd" + integrity sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw== + strip-json-comments@^3.1.1: version "3.1.1" resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz" @@ -6052,6 +6265,15 @@ wrap-ansi@^8.1.0: string-width "^5.0.1" strip-ansi "^7.0.1" +wrap-ansi@^9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-9.0.0.tgz#1a3dc8b70d85eeb8398ddfb1e4a02cd186e58b3e" + integrity sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q== + dependencies: + ansi-styles "^6.2.1" + string-width "^7.0.0" + strip-ansi "^7.1.0" + wrappy@1: version "1.0.2" resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz" @@ -6085,6 +6307,11 @@ yallist@^4.0.0: resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== +yaml@2.3.4: + version "2.3.4" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.4.tgz#53fc1d514be80aabf386dc6001eb29bf3b7523b2" + integrity sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA== + yargs-parser@21.1.1, yargs-parser@^21.0.1, yargs-parser@^21.1.1: version "21.1.1" resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz" diff --git a/hooks/applypatch-msg.sample b/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/hooks/commit-msg.sample b/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/hooks/fsmonitor-watchman.sample b/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/hooks/post-update.sample b/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/hooks/pre-applypatch.sample b/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/hooks/pre-commit.sample b/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/hooks/pre-merge-commit.sample b/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/hooks/pre-push.sample b/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/hooks/pre-rebase.sample b/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/hooks/pre-receive.sample b/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/hooks/prepare-commit-msg.sample b/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/hooks/push-to-checkout.sample b/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/hooks/update.sample b/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0