Skip to content

Commit

Permalink
v1.8.0
Browse files Browse the repository at this point in the history
 - Exact code splitting for Client and Server to avoid backend NPM
package being imported on the Client. Fixing: #450 #445 #444
 - Catch Exception on `new Blob` and `window.URL.createObjectURL`
although `Blob` and `URL` is exists on global scope may thrown an error
on access in some bizarre browsers
  • Loading branch information
dr-dimitru committed Jun 18, 2017
1 parent 32a855b commit f9b3aba
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .versions
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ [email protected]
[email protected]
[email protected]
ostrio:[email protected]
ostrio:files@1.7.17
ostrio:files@1.8.0
[email protected]
[email protected]
[email protected]
Expand Down
19 changes: 10 additions & 9 deletions package.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
Package.describe({
name: 'ostrio:files',
version: '1.7.17',
version: '1.8.0',
summary: 'File upload via DDP/HTTP to server FS, AWS, GridFS, DropBox, Google Drive or other 3rd party storage',
git: 'https://github.com/VeliovGroup/Meteor-Files',
documentation: 'README.md'
});

Npm.depends({
'fs-extra': '3.0.1',
'request': '2.81.0',
'throttle': '1.0.3',
'file-type': '5.2.0'
});

Package.onUse(function(api) {
api.versionsFrom('1.4');
api.use('webapp', 'server');
api.use(['reactive-var', 'tracker', 'http'], 'client');
api.use(['mongo', 'underscore', 'check', 'random', 'coffeescript', 'ecmascript', 'ostrio:[email protected]'], ['client', 'server']);
api.addAssets('worker.min.js', 'client');
api.mainModule('files.coffee', ['server', 'client']);
api.mainModule('files-server.coffee', 'server');
api.mainModule('files-client.coffee', 'client');
api.export('FilesCollection');
});

Npm.depends({
'fs-extra': '3.0.1',
'request': '2.81.0',
'throttle': '1.0.3',
'file-type': '4.3.0'
});

0 comments on commit f9b3aba

Please sign in to comment.