-
-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 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
1 parent
32a855b
commit f9b3aba
Showing
2 changed files
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' | ||
}); |