Skip to content

Commit abaf557

Browse files
committed
thanks!
1 parent 42b4759 commit abaf557

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@
1717
* Let the `@apostrophecms/page:unpark` task unpark all parked pages with the given slug, not just the first one.
1818
* Exclude unknown page types from the page manager.
1919

20+
21+
### Security
22+
23+
* Clear an npm audit warning by replacing `connect-multiparty` with `multer`. Thanks to [Radhakrishnan Mohan](https://github.com/RadhaKrishnan) for this contribution.
24+
* To be clear, this was never an actual security vulnerability. The CVE in question is disputed, and for good reasons. However, since `connect-multiparty` is no longer maintained, it makes sense to move to `multer`.
25+
2026
## 4.19.0 (2025-07-09)
2127

2228
### Adds

modules/@apostrophecms/area/ui/apos/components/AposAreaWidget.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
:class="labelsClasses"
2727
>
2828
<ol
29-
@click="isSuppressingWidgetControls = false"
3029
class="apos-area-widget__breadcrumbs"
30+
@click="isSuppressingWidgetControls = false"
3131
>
3232
<li
3333
class="

modules/@apostrophecms/attachment/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ module.exports = {
159159
post: {
160160
upload: [
161161
self.canUpload,
162-
//In the existing code, we are reading the zeroth element from the files array object, which results in processing only a single file. Therefore, I am currently reading just one file from the Multer package.
163162
require('multer')({ dest: require('os').tmpdir() }).single('file'),
164163
async function (req) {
165164
try {
@@ -175,7 +174,6 @@ module.exports = {
175174

176175
return attachment;
177176
} finally {
178-
//Hence I am reading the single file from the upload and I am checking the condtion for the same
179177
if (req.file) {
180178
try {
181179
fs.unlinkSync(req.file.path);

0 commit comments

Comments
 (0)