hyperscale / hyperpic

Fast HTTP microservice for high-level image processing.
MIT License
31 stars 2 forks source link

build(deps): bump github.com/h2non/filetype from 1.1.1 to 1.1.3 #70

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps github.com/h2non/filetype from 1.1.1 to 1.1.3.

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
euskadi31 commented 2 years ago

@dependabot rebase

github-actions[bot] commented 2 years ago

Code Coverage


github.com/hyperscale/hyperpic/cmd/hyperpic/app/config/configuration.go:23:         NewConfiguration        100.0%
github.com/hyperscale/hyperpic/cmd/hyperpic/app/config/image_support_configuration.go:13:   IsExtSupported          100.0%
github.com/hyperscale/hyperpic/cmd/hyperpic/app/controller/doc_controller.go:19:        NewDocController        100.0%
github.com/hyperscale/hyperpic/cmd/hyperpic/app/controller/doc_controller.go:24:        Mount               100.0%
github.com/hyperscale/hyperpic/cmd/hyperpic/app/controller/doc_controller.go:30:        getSwaggerHandler       100.0%
github.com/hyperscale/hyperpic/cmd/hyperpic/app/controller/doc_controller.go:49:        getDocHandler           100.0%
github.com/hyperscale/hyperpic/cmd/hyperpic/app/controller/image_controller.go:38:      NewImageController      100.0%
github.com/hyperscale/hyperpic/cmd/hyperpic/app/controller/image_controller.go:55:      Mount               100.0%
github.com/hyperscale/hyperpic/cmd/hyperpic/app/controller/image_controller.go:77:      getHandler          100.0%
github.com/hyperscale/hyperpic/cmd/hyperpic/app/controller/image_controller.go:153:     parseImageFileFromRequest   100.0%
github.com/hyperscale/hyperpic/cmd/hyperpic/app/controller/image_controller.go:192:     postHandler         88.9%
github.com/hyperscale/hyperpic/cmd/hyperpic/app/controller/image_controller.go:253:     deleteHandler           100.0%
github.com/hyperscale/hyperpic/cmd/hyperpic/app/metrics/metrics.go:11:              init                100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/fsutil/fs.go:12:                    ContainsDotDot          100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/fsutil/fs.go:26:                    isSlashRune         100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/httputil/error.go:21:               Error               100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/httputil/error.go:26:               GetCode             100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/httputil/error.go:31:               GetMessage          100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/httputil/header/header.go:23:           init                100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/httputil/header/header.go:56:           Copy                100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/httputil/header/header.go:69:           ParseTime           100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/httputil/header/header.go:83:           ParseList           100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/httputil/header/header.go:132:          ParseValueAndParams     86.4%
github.com/hyperscale/hyperpic/pkg/hyperpic/httputil/header/header.go:169:          ParseAccept         90.5%
github.com/hyperscale/hyperpic/pkg/hyperpic/httputil/header/header.go:201:          skipSpace           100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/httputil/header/header.go:211:          expectToken         100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/httputil/header/header.go:221:          expectTokenSlash        100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/httputil/header/header.go:232:          expectQuality           94.7%
github.com/hyperscale/hyperpic/pkg/hyperpic/httputil/header/header.go:262:          expectTokenOrQuoted     90.9%
github.com/hyperscale/hyperpic/pkg/hyperpic/httputil/negotiate.go:18:               NegotiateContentEncoding    100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/httputil/negotiate.go:45:               NegotiateContentType        100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/httputil/response.go:15:                ServeImage          100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/image/mock_processor.go:13:             ProcessImage            0.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/image/option_parser.go:26:              NewOptionParser         100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/image/option_parser.go:39:              register            100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/image/option_parser.go:47:              colorConverter          100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/image/option_parser.go:95:              angleConverter          100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/image/option_parser.go:104:             formatConverter         100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/image/option_parser.go:113:             fitConverter            100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/image/option_parser.go:122:             cropConverter           100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/image/option_parser.go:163:             Parse               75.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/image/options.go:121:               Hash                100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/image/options.go:149:               ToBimg              100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/image/process.go:31:                NewProcessor            100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/image/process.go:35:                process             50.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/image/process.go:61:                ProcessImage            84.6%
github.com/hyperscale/hyperpic/pkg/hyperpic/image/process.go:95:                GetImageMimeType        100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/image/type.go:14:                   ExtractImageTypeFromMime    100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/image/type.go:29:                   IsImageMimeTypeSupported    100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/image/type.go:36:                   IsFormatSupported       100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/image/type.go:50:                   ExtensionToType         100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/logger/configuration.go:16:             Level               100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/logger/handler.go:16:               Handler             100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/memfs/buffer.go:36:                 NewBuffer           100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/memfs/buffer.go:48:                 Seek                100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/memfs/buffer.go:73:                 Write               88.9%
github.com/hyperscale/hyperpic/pkg/hyperpic/memfs/buffer.go:88:                 Close               100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/memfs/buffer.go:95:                 Read                100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/memfs/buffer.go:112:                ReadAt              100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/memfs/buffer.go:132:                Truncate            90.9%
github.com/hyperscale/hyperpic/pkg/hyperpic/memfs/buffer.go:150:                grow                91.7%
github.com/hyperscale/hyperpic/pkg/hyperpic/memfs/buffer.go:170:                makeSlice           100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/middlewares/auth_handler.go:16:         NewAuthHandler          100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/middlewares/client_hints_handler.go:14:     parseInt            100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/middlewares/client_hints_handler.go:18:     parseFloat          100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/middlewares/client_hints_handler.go:26:     NewClientHintsHandler       100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/middlewares/content_type_handler.go:17:     NewContentTypeHandler       100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/middlewares/image_extension_filter_handler.go:18:   NewImageExtensionFilterHandler  100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/middlewares/options_handler.go:17:          NewOptionsContext       100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/middlewares/options_handler.go:22:          OptionsFromContext      100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/middlewares/options_handler.go:36:          NewOptionsHandler       100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/middlewares/path_handler.go:17:         NewPathHandler          100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/middlewares/security_handler.go:12:         NewSecurityHandler      100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/provider/filesystem/cache_provider.go:28:       NewCacheProvider        100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/provider/filesystem/cache_provider.go:38:       removeOldCacheFile      75.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/provider/filesystem/cache_provider.go:56:       Run             87.5%
github.com/hyperscale/hyperpic/pkg/hyperpic/provider/filesystem/cache_provider.go:75:       Del             100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/provider/filesystem/cache_provider.go:86:       Get             76.2%
github.com/hyperscale/hyperpic/pkg/hyperpic/provider/filesystem/cache_provider.go:134:      Set             76.9%
github.com/hyperscale/hyperpic/pkg/hyperpic/provider/filesystem/source_provider.go:24:      NewSourceProvider       100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/provider/filesystem/source_provider.go:31:      Set             84.6%
github.com/hyperscale/hyperpic/pkg/hyperpic/provider/filesystem/source_provider.go:58:      Get             88.9%
github.com/hyperscale/hyperpic/pkg/hyperpic/provider/filesystem/source_provider.go:106:     Del             100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/provider/memory/cache_provider.go:30:       NewCacheProvider        100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/provider/memory/cache_provider.go:41:       removeOldCache          100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/provider/memory/cache_provider.go:56:       Run             100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/provider/memory/cache_provider.go:85:       Del             100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/provider/memory/cache_provider.go:115:      Get             100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/provider/memory/cache_provider.go:147:      Set             100.0%
github.com/hyperscale/hyperpic/pkg/hyperpic/server/configuration.go:44:             ToConfig            100.0%
total:                                              (statements)            94.6%

Pusher: @euskadi31, Action: pull_request, Workflow: Go

github-actions[bot] commented 2 years ago

Benchmark

Pusher: @euskadi31, Action: pull_request, Workflow: Go

coveralls commented 2 years ago

Coverage Status

Coverage remained the same at 94.747% when pulling 8078def552e1241454f59684ab535462c933be5b on dependabot/go_modules/github.com/h2non/filetype-1.1.3 into 8cacc2aa4a98c3c91f0e1c99b6efd81728057ffb on develop.