From 6a62e96afd068d3f47cae6c221c1bf0d6ef399ec Mon Sep 17 00:00:00 2001 From: "dr.dimitru" Date: Mon, 6 Mar 2023 08:15:46 +0200 Subject: [PATCH 1/3] =?UTF-8?q?=E2=98=9D=EF=B8=8F=20Year=20bump?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 6bd2bc33..7ddf3369 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2022, dr.dimitru (Dmitry A.; Veliov Group, LLC) +Copyright (c) 2023, dr.dimitru (Dmitry A.; Veliov Group, LLC) All rights reserved. Redistribution and use in source and binary forms, From 36f9fe48ffcb91a910adc5496367a7397bd219fe Mon Sep 17 00:00:00 2001 From: "dr.dimitru" Date: Fri, 28 Apr 2023 16:09:01 +0300 Subject: [PATCH 2/3] Fix for #870 Thanks to @Gobliins for reporting --- server.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server.js b/server.js index 06b3550b..2038a699 100644 --- a/server.js +++ b/server.js @@ -1430,11 +1430,11 @@ class FilesCollection extends FilesCollectionCore { wStream.destroy(); } - fs.remove(opts.path, (removeError) => { + fs.unlink(opts.path, (unlinkError) => { bound(() => { callback && callback(error); - if (removeError) { - this._debug(`[FilesCollection] [load] [fetch(${url})] [fs.remove(${opts.path})] removeError:`, removeError); + if (unlinkError) { + this._debug(`[FilesCollection] [load] [fetch(${url})] [fs.unlink(${opts.path})] unlinkError:`, unlinkError); } }); }); From 83e0caa1d42116f682c88fa795b156ac3e9c6f54 Mon Sep 17 00:00:00 2001 From: "dr.dimitru" Date: Fri, 28 Apr 2023 16:17:41 +0300 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=93=A6=20v2.3.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit __Major changes:__ - no __Changes:__ - 👨‍🔧 Fixed #870, thanks to @Gobliins - 🤝 Compatibility with `meteor@2.11.0` --- .versions | 56 +++++++++++++++++++++++++++--------------------------- package.js | 2 +- 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/.versions b/.versions index b862d23a..980bb57b 100644 --- a/.versions +++ b/.versions @@ -1,51 +1,51 @@ allow-deny@1.1.1 -babel-compiler@7.9.0 +babel-compiler@7.10.3 babel-runtime@1.5.1 base64@1.0.12 binary-heap@1.0.11 boilerplate-generator@1.7.1 -callback-hook@1.4.0 -check@1.3.1 -ddp@1.4.0 -ddp-client@2.6.0 +callback-hook@1.5.0 +check@1.3.2 +ddp@1.4.1 +ddp-client@2.6.1 ddp-common@1.4.0 ddp-server@2.6.0 -diff-sequence@1.1.1 +diff-sequence@1.1.2 dynamic-import@0.7.2 -ecmascript@0.16.2 +ecmascript@0.16.6 ecmascript-runtime@0.8.0 ecmascript-runtime-client@0.12.1 ecmascript-runtime-server@0.11.0 -ejson@1.1.2 -fetch@0.1.1 -geojson-utils@1.0.10 +ejson@1.1.3 +fetch@0.1.3 +geojson-utils@1.0.11 id-map@1.1.1 inter-process-messaging@0.1.1 -local-test:ostrio:files@2.3.2 -logging@1.3.1 -meteor@1.10.1 -minimongo@1.9.0 -modern-browsers@0.1.8 +local-test:ostrio:files@2.3.3 +logging@1.3.2 +meteor@1.11.1 +minimongo@1.9.2 +modern-browsers@0.1.9 modules@0.19.0 -modules-runtime@0.13.0 -mongo@1.16.0 +modules-runtime@0.13.1 +mongo@1.16.5 mongo-decimal@0.1.3 mongo-dev-server@1.1.0 mongo-id@1.0.8 -npm-mongo@4.9.0 +npm-mongo@4.14.0 ordered-dict@1.1.0 ostrio:cookies@2.7.2 -ostrio:files@2.3.2 -promise@0.12.0 -random@1.2.0 -react-fast-refresh@0.2.3 -reactive-var@1.0.11 +ostrio:files@2.3.3 +promise@0.12.2 +random@1.2.1 +react-fast-refresh@0.2.6 +reactive-var@1.0.12 reload@1.3.1 retry@1.1.0 routepolicy@1.1.1 socket-stream-client@0.5.0 -tinytest@1.2.1 -tracker@1.2.0 -underscore@1.0.10 -webapp@1.13.1 -webapp-hashing@1.1.0 +tinytest@1.2.2 +tracker@1.3.1 +underscore@1.0.12 +webapp@1.13.4 +webapp-hashing@1.1.1 diff --git a/package.js b/package.js index cea2ad07..b8914f62 100755 --- a/package.js +++ b/package.js @@ -1,6 +1,6 @@ Package.describe({ name: 'ostrio:files', - version: '2.3.2', + version: '2.3.3', summary: 'Upload files to a server or 3rd party storage: AWS:S3, GridFS, DropBox, and other', git: 'https://github.com/veliovgroup/Meteor-Files', documentation: 'README.md'