Skip to content

Commit 72ba7bb

Browse files
committed
Update dependencies
1 parent 922324d commit 72ba7bb

2 files changed

Lines changed: 22 additions & 21 deletions

File tree

Dockerfile

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM alpine:3.23.3 AS entry
4-
RUN apk add --no-cache npm && npm install -g typescript@5.9.3 @types/node@25.3.5
3+
FROM alpine:3.23.4 AS entry
4+
RUN apk add --no-cache npm && npm install -g typescript@6.0.2 @types/node@25.6.0
55
COPY entry.ts .
66
RUN tsc \
77
--noUnusedLocals \
88
--noUnusedParameters \
99
--strict \
10+
--types node \
1011
--typeRoots /usr/local/lib/node_modules/@types \
1112
entry.ts \
1213
&& chmod +x entry.js
@@ -25,7 +26,7 @@ RUN apk add binutils && jlink \
2526
--output /jre \
2627
--strip-debug
2728

28-
FROM alpine:3.23.3
29+
FROM alpine:3.23.4
2930
ENV PIP_DISABLE_PIP_VERSION_CHECK=1
3031
ENV PIP_NO_CACHE_DIR=1
3132
RUN <<EOF
@@ -46,7 +47,7 @@ apk add --no-cache \
4647
pip3 install --break-system-packages \
4748
autoflake==1.7.8 \
4849
isort==5.13.2 \
49-
ruff==0.15.5 \
50+
ruff==0.15.10 \
5051
PyYAML>=6.0
5152

5253
# Install Python dependencies
@@ -73,17 +74,17 @@ chmod +x /usr/bin/black21
7374
npm install -g \
7475
@prettier/plugin-xml@3.4.2 \
7576
eslint@9.39.2 \
76-
eslint-plugin-jsdoc@62.7.1 \
77+
eslint-plugin-jsdoc@62.9.0 \
7778
eslint-plugin-sort-keys@2.3.5 \
7879
eslint-plugin-unicorn@56.0.1 \
79-
prettier@3.8.1 \
80+
prettier@3.8.3 \
8081
svgo@4.0.1 \
81-
typescript-eslint@8.56.1
82+
typescript-eslint@8.58.2
8283

8384
# Install Scala dependencies
8485
wget https://github.com/coursier/coursier/releases/download/v2.1.24/coursier -O /bin/coursier
8586
chmod +x /bin/coursier
86-
coursier bootstrap org.scalameta:scalafmt-cli_2.13:3.10.7 \
87+
coursier bootstrap org.scalameta:scalafmt-cli_2.13:3.11.0 \
8788
-r sonatype:snapshots --main org.scalafmt.cli.Cli \
8889
--standalone \
8990
-o scalafmt
@@ -92,18 +93,18 @@ coursier bootstrap org.scalameta:scalafmt-cli_2.13:3.10.7 \
9293
wget https://github.com/muttleyxd/clang-tools-static-binaries/releases/download/master-796e77c/clang-format-20_linux-amd64 -O clang-format
9394
chmod +x clang-format
9495
wget https://github.com/google/google-java-format/releases/download/v1.35.0/google-java-format-1.35.0-all-deps.jar -O google-java-format
95-
wget https://repo1.maven.org/maven2/com/facebook/ktfmt/0.61/ktfmt-0.61-with-dependencies.jar -O ktfmt
96+
wget https://repo1.maven.org/maven2/com/facebook/ktfmt/0.62/ktfmt-0.62-with-dependencies.jar -O ktfmt
9697
wget https://repo1.maven.org/maven2/com/squareup/sort-gradle-dependencies-app/0.16/sort-gradle-dependencies-app-0.16-all.jar -O gradle-dependencies-sorter
97-
wget https://github.com/mvdan/sh/releases/download/v3.12.0/shfmt_v3.12.0_linux_amd64 -O shfmt
98+
wget https://github.com/mvdan/sh/releases/download/v3.13.1/shfmt_v3.13.1_linux_amd64 -O shfmt
9899
chmod +x shfmt
99100
wget https://github.com/tamasfe/taplo/releases/download/0.10.0/taplo-linux-x86_64.gz -O taplo.gz
100101
gzip -d taplo.gz
101102
chmod +x taplo
102-
wget https://releases.hashicorp.com/terraform/1.14.6/terraform_1.14.6_linux_amd64.zip -O tf.zip
103+
wget https://releases.hashicorp.com/terraform/1.14.8/terraform_1.14.8_linux_amd64.zip -O tf.zip
103104
unzip tf.zip
104105
rm tf.zip
105106
rm LICENSE.txt
106-
wget https://releases.hashicorp.com/packer/1.15.0/packer_1.15.0_linux_amd64.zip -O packer.zip
107+
wget https://releases.hashicorp.com/packer/1.15.1/packer_1.15.1_linux_amd64.zip -O packer.zip
107108
unzip packer.zip
108109
rm packer.zip
109110

@@ -123,7 +124,7 @@ rm -rf \
123124
/var/cache
124125
EOF
125126
# https://stackoverflow.com/a/59485924
126-
COPY --from=golang:1.26.0-alpine3.23 /usr/local/go/bin/gofmt /gofmt
127+
COPY --from=golang:1.26.2-alpine3.23 /usr/local/go/bin/gofmt /gofmt
127128
ENV PATH="/jre/bin:${PATH}"
128129
COPY --from=jre /jre /jre
129130
COPY . .

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,21 @@ This repo contains [pre-commit](https://pre-commit.com/) hooks for Duolingo deve
66

77
The main hook that runs several code formatters in parallel:
88

9-
- [Prettier](https://github.com/prettier/prettier) v3.8.1 for CSS, HTML, JS, JSX, Markdown, Sass, TypeScript, XML, YAML
9+
- [Prettier](https://github.com/prettier/prettier) v3.8.3 for CSS, HTML, JS, JSX, Markdown, Sass, TypeScript, XML, YAML
1010
- [ESLint](https://eslint.org/) v9.39.2 for JS, TypeScript
11-
- [Ruff](https://docs.astral.sh/ruff/) v0.15.5 for Python 3
11+
- [Ruff](https://docs.astral.sh/ruff/) v0.15.10 for Python 3
1212
- [Black](https://github.com/psf/black) v21.12b0 for Python 2
1313
- [autoflake](https://github.com/myint/autoflake) v1.7.8 for Python <!-- TODO: Upgrade to v2+, restrict to Python 2, and reenable Ruff rule F401 once our Python 3 repos that were converted from Python 2 no longer use type hint comments: https://github.com/PyCQA/autoflake/issues/222#issuecomment-1419089254 -->
1414
- [isort](https://github.com/PyCQA/isort) v5.13.2 for Python 2
1515
- [google-java-format](https://github.com/google/google-java-format) v1.35.0 for Java
16-
- [ktfmt](https://github.com/facebookincubator/ktfmt) v0.61 for Kotlin
16+
- [ktfmt](https://github.com/facebookincubator/ktfmt) v0.62 for Kotlin
1717
- [gradle-dependencies-sorter](https://github.com/square/gradle-dependencies-sorter) v0.16 for Gradle Kotlin
18-
- [gofmt](https://pkg.go.dev/cmd/gofmt) v1.26.0 for Go
19-
- [scalafmt](https://scalameta.org/scalafmt/) v3.10.7 for Scala
20-
- [shfmt](https://github.com/mvdan/sh) v3.12.0 for Shell
18+
- [gofmt](https://pkg.go.dev/cmd/gofmt) v1.26.2 for Go
19+
- [scalafmt](https://scalameta.org/scalafmt/) v3.11.0 for Scala
20+
- [shfmt](https://github.com/mvdan/sh) v3.13.1 for Shell
2121
- [xsltproc](http://www.xmlsoft.org/xslt/xsltproc.html) from libxslt v10143 for XML
22-
- [terraform fmt](https://github.com/hashicorp/terraform) v1.14.6 for Terraform
23-
- [packer fmt](https://github.com/hashicorp/packer) v1.15.0 for Packer
22+
- [terraform fmt](https://github.com/hashicorp/terraform) v1.14.8 for Terraform
23+
- [packer fmt](https://github.com/hashicorp/packer) v1.15.1 for Packer
2424
- [ClangFormat](https://clang.llvm.org/docs/ClangFormat.html) v20.1.0 for C++, Protobuf
2525
- [SVGO](https://github.com/svg/svgo) v4.0.1 for SVG
2626
- [Taplo](https://taplo.tamasfe.dev/) v0.10.0 for TOML

0 commit comments

Comments
 (0)