MM-36486: Bump dependencies (#17830)
* MM-36486: Bump dependencies https://mattermost.atlassian.net/browse/MM-36486 ```release-note NONE ``` * Added collector dependency * Trigger CI * Trigger CI Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
f74f3ec26e
Коммит
ec8aaec5ce
20
vendor/github.com/oov/psd/LICENSE
сгенерированный
поставляемый
Обычный файл
20
vendor/github.com/oov/psd/LICENSE
сгенерированный
поставляемый
Обычный файл
@@ -0,0 +1,20 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2016 oov
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
12
vendor/github.com/oov/psd/README.md
сгенерированный
поставляемый
12
vendor/github.com/oov/psd/README.md
сгенерированный
поставляемый
@@ -2,18 +2,6 @@
|
||||
|
||||
It works almost well but it is still in development.
|
||||
|
||||
## License
|
||||
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2016 oov
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
## How to use
|
||||
|
||||
### Example1
|
||||
|
||||
8
vendor/github.com/oov/psd/compress.go
сгенерированный
поставляемый
8
vendor/github.com/oov/psd/compress.go
сгенерированный
поставляемый
@@ -32,7 +32,13 @@ func (cm CompressionMethod) Decode(dest []byte, r io.Reader, sizeHint int64, rec
|
||||
case CompressionMethodRaw:
|
||||
return io.ReadFull(r, dest)
|
||||
case CompressionMethodRLE:
|
||||
return decodePackBits(dest, r, rect.Dx(), rect.Dy()*channels, large)
|
||||
var width int
|
||||
if depth == 1 {
|
||||
width = (rect.Dx()+7)>>3
|
||||
} else {
|
||||
width = rect.Dx()
|
||||
}
|
||||
return decodePackBits(dest, r, width, rect.Dy()*channels, large)
|
||||
case CompressionMethodZIPWithoutPrediction:
|
||||
return decodeZLIB(dest, r, sizeHint)
|
||||
case CompressionMethodZIPWithPrediction:
|
||||
|
||||
Ссылка в новой задаче
Block a user