Skip to content

Commit bccf9bb

Browse files
chore: bump up all non-major dependencies (#119)
* chore: bump up all non-major dependencies * Fix warning * Fix warning --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: LongYinan <[email protected]>
1 parent aa22355 commit bccf9bb

File tree

6 files changed

+316
-318
lines changed

6 files changed

+316
-318
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: CI
22
env:
33
DEBUG: napi:*
44
APP_NAME: image
5-
MACOSX_DEPLOYMENT_TARGET: '10.13'
65
SYSTEM_DEPS_DAV1D_BUILD_INTERNAL: 'always'
76
permissions:
87
contents: write
@@ -94,7 +93,6 @@ jobs:
9493
brew install meson llvm
9594
build: |
9695
export PATH="$(brew --prefix llvm)/bin:$PATH"
97-
export MACOSX_DEPLOYMENT_TARGET='11.0'
9896
export CMAKE_BUILD_PARALLEL_LEVEL=2
9997
export CC=clang
10098
export CXX=clang++
@@ -229,7 +227,7 @@ jobs:
229227
- uses: actions/checkout@v4
230228
- name: Build
231229
id: build
232-
uses: cross-platform-actions/action@v0.25.0
230+
uses: cross-platform-actions/action@v0.26.0
233231
env:
234232
DEBUG: 'napi:*'
235233
RUSTUP_HOME: /home/runner/rustup

.yarn/releases/yarn-4.5.1.cjs renamed to .yarn/releases/yarn-4.5.3.cjs

Lines changed: 307 additions & 307 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
nodeLinker: node-modules
22

3-
yarnPath: .yarn/releases/yarn-4.5.1.cjs
3+
yarnPath: .yarn/releases/yarn-4.5.3.cjs

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,6 @@
7070
"pre-commit": "lint-staged && cargo fmt --all"
7171
}
7272
},
73-
"packageManager": "[email protected].1",
73+
"packageManager": "[email protected].3",
7474
"repository": "[email protected]:Brooooooklyn/Image.git"
7575
}

packages/binding/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ svgtypes = "0.15"
4343
version = "2"
4444

4545
[target.'cfg(not(all(target_os = "macos", target_arch = "x86_64")))'.dependencies]
46-
libwebp-sys = { version = "0.10", default-features = false, features = ["std", "parallel", "avx2", "sse41", "neon"] }
46+
libwebp-sys = { version = "0.11", default-features = false, features = ["std", "parallel", "avx2", "sse41", "neon"] }
4747

4848
[target.'cfg(all(target_os = "macos", target_arch = "x86_64"))'.dependencies]
49-
libwebp-sys = { version = "0.10", default-features = false, features = ["std", "parallel"] }
49+
libwebp-sys = { version = "0.11", default-features = false, features = ["std", "parallel"] }
5050

5151
[build-dependencies]
5252
napi-build = "2"

packages/binding/src/transformer.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ impl Transformer {
11461146
}
11471147

11481148
#[napi]
1149-
pub fn tiff_sync<'scope>(&'scope mut self, env: &'scope Env) -> Result<BufferSlice> {
1149+
pub fn tiff_sync<'scope>(&'scope mut self, env: &'scope Env) -> Result<BufferSlice<'scope>> {
11501150
let mut encoder = EncodeTask {
11511151
image: self.dynamic_image.clone(),
11521152
options: EncodeOptions::Tiff,
@@ -1169,7 +1169,7 @@ impl Transformer {
11691169
}
11701170

11711171
#[napi]
1172-
pub fn pnm_sync<'scope>(&'scope mut self, env: &'scope Env) -> Result<BufferSlice> {
1172+
pub fn pnm_sync<'scope>(&'scope mut self, env: &'scope Env) -> Result<BufferSlice<'scope>> {
11731173
let mut encoder = EncodeTask {
11741174
image: self.dynamic_image.clone(),
11751175
options: EncodeOptions::Pnm,
@@ -1192,7 +1192,7 @@ impl Transformer {
11921192
}
11931193

11941194
#[napi]
1195-
pub fn tga_sync<'scope>(&'scope mut self, env: &'scope Env) -> Result<BufferSlice> {
1195+
pub fn tga_sync<'scope>(&'scope mut self, env: &'scope Env) -> Result<BufferSlice<'scope>> {
11961196
let mut encoder = EncodeTask {
11971197
image: self.dynamic_image.clone(),
11981198
options: EncodeOptions::Tga,
@@ -1215,7 +1215,7 @@ impl Transformer {
12151215
}
12161216

12171217
#[napi]
1218-
pub fn farbfeld_sync<'scope>(&'scope mut self, env: &'scope Env) -> Result<BufferSlice> {
1218+
pub fn farbfeld_sync<'scope>(&'scope mut self, env: &'scope Env) -> Result<BufferSlice<'scope>> {
12191219
let mut encoder = EncodeTask {
12201220
image: self.dynamic_image.clone(),
12211221
options: EncodeOptions::Farbfeld,

0 commit comments

Comments
 (0)