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/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, 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' 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); } }); });