Spaces:
Running
Running
Sync from felladrin/MiniSearch@89ba713
Browse files- .github/workflows/scan-docker-image.yml +10 -0
- Dockerfile +3 -2
- changelog.md +5 -0
- package-lock.json +9 -9
.github/workflows/scan-docker-image.yml
CHANGED
|
@@ -7,11 +7,21 @@ name: Scan Docker Image
|
|
| 7 |
on:
|
| 8 |
schedule:
|
| 9 |
- cron: "0 6 * * 1"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
workflow_dispatch:
|
| 11 |
|
| 12 |
jobs:
|
| 13 |
scan-published-image:
|
| 14 |
name: Scan Published Image for Vulnerabilities
|
|
|
|
|
|
|
|
|
|
| 15 |
runs-on: ubuntu-latest
|
| 16 |
permissions:
|
| 17 |
contents: read
|
|
|
|
| 7 |
on:
|
| 8 |
schedule:
|
| 9 |
- cron: "0 6 * * 1"
|
| 10 |
+
# A rebuild can ship the patched base packages days before the schedule
|
| 11 |
+
# notices, and an alert closes only when a later scan of this same analysis
|
| 12 |
+
# key stops reporting it. Without this, a fixed image keeps showing last
|
| 13 |
+
# week's findings on the code scanning page until the next Monday run.
|
| 14 |
+
workflow_run:
|
| 15 |
+
workflows: ["Publish Docker Image"]
|
| 16 |
+
types: [completed]
|
| 17 |
workflow_dispatch:
|
| 18 |
|
| 19 |
jobs:
|
| 20 |
scan-published-image:
|
| 21 |
name: Scan Published Image for Vulnerabilities
|
| 22 |
+
# A failed publish pushed no image, so `:latest` is still the previous one
|
| 23 |
+
# and scanning it would only re-report what is already open.
|
| 24 |
+
if: github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success'
|
| 25 |
runs-on: ubuntu-latest
|
| 26 |
permissions:
|
| 27 |
contents: read
|
Dockerfile
CHANGED
|
@@ -31,9 +31,10 @@ RUN npm install --global npm@12.0.2 && \
|
|
| 31 |
tar@7.5.22 \
|
| 32 |
brace-expansion@5.0.12 \
|
| 33 |
ip-address@10.7.2 \
|
| 34 |
-
undici@6.28.1
|
|
|
|
| 35 |
node /tmp/npm-bundle-overlay.cjs && \
|
| 36 |
-
node -e "const r=require, p='/usr/local/lib/node_modules/npm/node_modules/'; for (const m of ['tar','brace-expansion','ip-address','undici']) r(p+m); console.log('overlay require smoke ok')" && \
|
| 37 |
npm cache clean --force && \
|
| 38 |
rm -rf /root/.npm /tmp/overlay /tmp/npm-bundle-overlay.cjs
|
| 39 |
|
|
|
|
| 31 |
tar@7.5.22 \
|
| 32 |
brace-expansion@5.0.12 \
|
| 33 |
ip-address@10.7.2 \
|
| 34 |
+
undici@6.28.1 \
|
| 35 |
+
postcss-selector-parser@7.1.6 && \
|
| 36 |
node /tmp/npm-bundle-overlay.cjs && \
|
| 37 |
+
node -e "const r=require, p='/usr/local/lib/node_modules/npm/node_modules/'; for (const m of ['tar','brace-expansion','ip-address','undici','postcss-selector-parser']) r(p+m); console.log('overlay require smoke ok')" && \
|
| 38 |
npm cache clean --force && \
|
| 39 |
rm -rf /root/.npm /tmp/overlay /tmp/npm-bundle-overlay.cjs
|
| 40 |
|
changelog.md
CHANGED
|
@@ -3,6 +3,11 @@
|
|
| 3 |
Notable changes, grouped by date, most recent first.
|
| 4 |
|
| 5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
## 2026-09-23
|
| 7 |
|
| 8 |
- Moved the Dictate control inside the search field, as an icon button at its right edge, and gave the follow-up question box the same control, so dictating a follow-up no longer means typing it. It shows a microphone when idle, a red stop button while it listens, and the model download progress in its tooltip and its accessible name. Pressing it never takes the focus off the field, so the caret stays where it was and a phone keeps its on-screen keyboard open. In the chat box it is disabled rather than hidden while an answer is generating, and a session still running when generation starts is stopped instead of writing into a field that has gone read-only.
|
|
|
|
| 3 |
Notable changes, grouped by date, most recent first.
|
| 4 |
|
| 5 |
|
| 6 |
+
## 2026-10-07
|
| 7 |
+
|
| 8 |
+
- Security: cleared the flagged copy of `postcss-selector-parser` that lives inside the npm the image ships. npm pins its own dependency tree exactly, so neither `npm install -g npm@latest` nor a dependency bump reaches a bundled copy, and the npm in the image still carried 7.1.4. This was the one of the image's three code scanning findings that no dependency bump could fix. The image's npm-bundle repair now lists that package among its targets, so the build replaces the bundled copy with the patched release and fails if any copy of that major line survives.
|
| 9 |
+
|
| 10 |
+
|
| 11 |
## 2026-09-23
|
| 12 |
|
| 13 |
- Moved the Dictate control inside the search field, as an icon button at its right edge, and gave the follow-up question box the same control, so dictating a follow-up no longer means typing it. It shows a microphone when idle, a red stop button while it listens, and the model download progress in its tooltip and its accessible name. Pressing it never takes the focus off the field, so the caret stays where it was and a phone keeps its on-screen keyboard open. In the chat box it is disabled rather than hidden while an answer is generating, and a session still running when generation starts is stopped instead of writing into a field that has gone read-only.
|
package-lock.json
CHANGED
|
@@ -6492,9 +6492,9 @@
|
|
| 6492 |
}
|
| 6493 |
},
|
| 6494 |
"node_modules/postcss-selector-parser": {
|
| 6495 |
-
"version": "7.1.
|
| 6496 |
-
"resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.
|
| 6497 |
-
"integrity": "sha512-
|
| 6498 |
"license": "MIT",
|
| 6499 |
"dependencies": {
|
| 6500 |
"cssesc": "^3.0.0",
|
|
@@ -7224,9 +7224,9 @@
|
|
| 7224 |
}
|
| 7225 |
},
|
| 7226 |
"node_modules/smol-toml": {
|
| 7227 |
-
"version": "1.
|
| 7228 |
-
"resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.
|
| 7229 |
-
"integrity": "sha512-
|
| 7230 |
"dev": true,
|
| 7231 |
"license": "BSD-3-Clause",
|
| 7232 |
"engines": {
|
|
@@ -7248,9 +7248,9 @@
|
|
| 7248 |
}
|
| 7249 |
},
|
| 7250 |
"node_modules/source-map-js": {
|
| 7251 |
-
"version": "1.2.
|
| 7252 |
-
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.
|
| 7253 |
-
"integrity": "sha512-
|
| 7254 |
"license": "BSD-3-Clause",
|
| 7255 |
"engines": {
|
| 7256 |
"node": ">=0.10.0"
|
|
|
|
| 6492 |
}
|
| 6493 |
},
|
| 6494 |
"node_modules/postcss-selector-parser": {
|
| 6495 |
+
"version": "7.1.6",
|
| 6496 |
+
"resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.6.tgz",
|
| 6497 |
+
"integrity": "sha512-7qASPzhKF2l2KLboRZux8CCTRMdGiV08vWmyKzPz22qZ7ZjQBOeY7rNzNoCLSUiftJ7HUq0GERHmxw/t0dCdMw==",
|
| 6498 |
"license": "MIT",
|
| 6499 |
"dependencies": {
|
| 6500 |
"cssesc": "^3.0.0",
|
|
|
|
| 7224 |
}
|
| 7225 |
},
|
| 7226 |
"node_modules/smol-toml": {
|
| 7227 |
+
"version": "1.9.0",
|
| 7228 |
+
"resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.9.0.tgz",
|
| 7229 |
+
"integrity": "sha512-hpd+HLON7HdZXqYchMM/+LaTTbdK0AU3NngIJ4KVyWbY9bfQqdL9cD+4yf6dUoU2Ap4VsU0JkQi6FxAI1B2mXQ==",
|
| 7230 |
"dev": true,
|
| 7231 |
"license": "BSD-3-Clause",
|
| 7232 |
"engines": {
|
|
|
|
| 7248 |
}
|
| 7249 |
},
|
| 7250 |
"node_modules/source-map-js": {
|
| 7251 |
+
"version": "1.2.2",
|
| 7252 |
+
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz",
|
| 7253 |
+
"integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==",
|
| 7254 |
"license": "BSD-3-Clause",
|
| 7255 |
"engines": {
|
| 7256 |
"node": ">=0.10.0"
|