Commit Graph

8585 Commits

Author SHA1 Message Date
Hugh Willson
2a3a01acb3 Adjusted the jshint package to meet its own linting requirements. (#8825) 2017-06-21 14:07:52 -04:00
Ben Newman
d502d2c522 Merge pull request #8796 from hwillson/issue-8794
Adjust mongo upserts so MongoID.ObjectID's aren't filtered from queries.
2017-06-21 11:28:29 -04:00
Ben Newman
a32a979856 Merge pull request #8756 from aldeed/client-safe-errors
isClientSafe DDP errors
2017-06-21 11:23:00 -04:00
Jesse Rosenberger
1eb578927e Append _1 to coffeescript npm-wrapper package.
As discussed in https://github.com/meteor/meteor/pull/8777 it seems best
to always have the suffix on npm-wrapper packages.

If anything, as a reminder when bumping the version on wrapper packages,
but also just to generally make it more clear if a version suffixed with
`_1` is actually higher than a non-suffixed version or not.
2017-06-19 14:41:49 +03:00
Geoffrey Booth
a09f5e30e5 Update CoffeeScript to 1.12.6 (#8777)
* Update CoffeeScript to 1.12.6; switch to new primary NPM repo

* Added coffeescript update History.md entry and adjusted package version.

* Added missing PR reference.
2017-06-19 14:37:52 +03:00
Jesse Rosenberger
06d00e45c7 Merge branch 'master' into devel 2017-06-16 21:03:36 +03:00
Jesse Rosenberger
36dca613d8 Bump version of npm-bcrypt in preparation for publishing. 2017-06-16 19:48:54 +03:00
Jesse Rosenberger
0ae3e5ff4c Bump version of accounts-password in preparation for publishing. 2017-06-16 19:48:49 +03:00
Jesse Rosenberger
ff3993c658 Remove pinned version of modules from npm-bcrypt. 2017-06-16 19:47:03 +03:00
Hugh Willson
28114a86ff Adjustments to make sure empty objects aren't saved when stripping $ keys. 2017-06-15 11:43:07 -04:00
Ben Newman
560816126e Bump meteor package version to 1.7.0 to force update in next release. 2017-06-14 12:01:14 -04:00
Simon Fridlund
a4de554a95 Bind environment of observeChanges callbacks (#8734)
* Bind environment of observeChanges callbacks

This will also bind observe callbacks

* Test bound environment in observeChanges

* Use named exception handler in bindEnvironment

If an observe/observeChanges callback throws and error this will make it a bit easier to figure out where the error came form.

* Update History.md

Being a bit more specific always helps.
2017-06-14 18:29:47 +03:00
Hugh Willson
a3d26855f9 Adjusted _removeDollarOperators to better handle EJSON types. 2017-06-13 15:32:45 -04:00
Hugh Willson
f27fe2c9a4 Adjust mongo upserts so MongoID.ObjectID's aren't filtered from queries. 2017-06-13 10:14:19 -04:00
Jesse Rosenberger
f65a72f25c Merge pull request #8760 from meteor/abernix/change-default-email
Change default `from` email for `accounts-password` to an "example".
2017-06-13 15:32:30 +03:00
Ben Newman
a7f898c39b Partial fix for #8775. (#8776)
This may not be a complete fix for issue #8775, but I noticed while
debugging the issue that LocalCollection._removeDollarOperators isn't
removing nested $operators (as it seems like it should be):
d6c4281eeb/packages/minimongo/minimongo.js (L790)

cc @hwillson
2017-06-12 13:34:39 -04:00
Eric Dobbertin
bb8a695aee Adjust client safe error handling based on PR review 2017-06-11 20:39:57 -05:00
Jesse Rosenberger
6df0daebb8 Bump version of bundle-visualizer to 1.0.3.
For the change made in 79b1075ed.
2017-06-09 19:37:33 +03:00
Jesse Rosenberger
79b1075ede Remove check for standard-minifier-js@2.1.x from bundle-visualizer.
While this was helpful in one of the incarnations of the
bundle-visualizer during development it isn't relevant anymore since
the `.stats.json` will not be present in the bundle unless it was
created by a recent version of `standard-minifier-js` which passed
in `stats` (no older versions did this).

Removing this check will also make it possible for other minifiers to be
used with `bundle-visualizer` without them also needing to fork make
their own version.
2017-06-09 19:32:09 +03:00
Ben Newman
c2c7fab2ed Bump ecmascript-runtime-client package version to 0.4.2. 2017-06-07 20:49:01 -04:00
Ben Newman
a75fc8f04f Bump minimongo package version to 1.2.1. 2017-06-07 20:48:47 -04:00
Ben Newman
fd043314a9 Remove unnecessary ...[a, b] spread argument. 2017-06-07 20:46:43 -04:00
mbrobbel
3af430272e Add required TypedArray polyfills. 2017-06-07 20:46:42 -04:00
mbrobbel
d780b4de1b Update ecmascript-runtime to test Array polyfills. 2017-06-07 20:45:36 -04:00
mbrobbel
912906a84c Update ecmascript-runtime to test Number polyfills. 2017-06-07 20:45:30 -04:00
mbrobbel
2a93c7c9e1 Improve minimongo bitwise query operators 2017-06-07 20:11:13 -04:00
Jesse Rosenberger
4be0fbd594 Bump accounts-password to 2.0.0.
Since changing the default "from" address could actually be a breaking
change for some applications, bump the version to 2.0.0.

Relates to meteor/meteor#8760.
2017-06-06 09:42:20 +03:00
Jesse Rosenberger
bf7fefa568 Change default from email for accounts-password to an "example".
Currently, the default "from" address for `meteor-accounts` is
"no-reply@meteor.com".  While this works for many users, and granted it
is a "no reply" address and there should be no expectation of the
address working, it contributes to a negative spam rating for the
"meteor.com" domain and a surplus of extra e-mail.

The correct way to set the default "from" address is by setting:

    Accounts.emailTemplates.from = "Name <email@domain.com>";

As per the documentation here:

    https://docs.meteor.com/api/passwords.html#Accounts-emailTemplates

By changing it to "example.com", and making a more obvious "example"
out of the name ("Accounts Example"), it should encourage users to
actually change the address to something more reasonable especially
since many e-mail providers will also reject mail coming from
"example.com", which should provide a clear warning to those who have
their e-mail misconfigured.
2017-06-05 19:45:38 +03:00
Eric Dobbertin
532c4b1da4 isClientSafe DDP errors 2017-06-03 12:21:47 -05:00
Ben Newman
b75cdbfe6e Add 10px margin to left of bundle-visualizer path blocks. 2017-06-02 14:39:00 -04:00
Jesse Rosenberger
76a6e0eee9 Merge pull request #8707 from edemaine/devel
Email package improvements
2017-06-02 19:01:49 +03:00
Jesse Rosenberger
fba42daca8 Slight adjustment to smtp:// warning message.
Just to clarify that port 465 is typically a secure port and our
assumption is based on that (in case they're curious how we decided
to show the message).
2017-06-02 18:07:51 +03:00
Ben Newman
1df553172e Fix #8751 by replacing ':'s in dynamic module paths with '_'s. 2017-06-02 10:51:16 -04:00
Ben Newman
c4730c6af5 Upgrade reify to version 0.11.22.
This fixes a bug affecting namespace imports/exports such as

  export * from "module"
  import * as ns from "module"

where "module" is a CommonJS module that sets module.exports to an
object-like value that is not actually an object, e.g. a function.

The reify commit that fixed this bug includes a test demonstrating an
example of one such library (lodash):
benjamn/reify@b69a600e65
2017-06-01 20:46:39 -04:00
Ben Newman
7472916236 Remove underscore as a dependency from the modules package. 2017-06-01 20:46:39 -04:00
Ben Newman
906aab4447 Merge pull request #8692 from bpartridge/5932-mongo-hint-maxtimems
Add Mongo hint and maxTimeMS options (#5932)
2017-05-31 11:29:41 -04:00
Hugh Willson
049ed969e7 Merge branch 'devel' into zimme/ddp-current-invocation 2017-05-31 10:44:25 -04:00
Jesse Rosenberger
791d0cdd59 Add a README for the bundle-visualizer package. 2017-05-31 13:26:21 +03:00
Ben Newman
42ab2fd607 Merge branch 'master' into devel 2017-05-30 15:27:50 -04:00
Ben Newman
a362e20a37 Bump package versions for the official 1.5 release. 2017-05-30 14:18:48 -04:00
Ben Newman
f1e628802e Bump package versions for 1.5-rc.13 release. 2017-05-30 13:23:38 -04:00
Ben Newman
bfb2c95462 Upgrade meteor-promise to version 0.8.4.
This is a change that was necessary on the wip-upgrade-to-node-6 branch,
and it seems better to ship it sooner rather than waiting:
meteor/meteor@d823812e85
2017-05-30 13:03:17 -04:00
Ben Newman
bfc79eea9b Add //# sourceURL=<module id> comment to dynamic modules.
Fixes #8719 by displaying a recognizable (and even clickable) file name in
stack traces for errors thrown by dynamic code.
2017-05-29 21:29:22 -04:00
Ben Newman
4351b89904 Bump package versions for 1.5-rc.12 release. 2017-05-29 19:17:43 -04:00
Ben Newman
81a07ed84f Upgrade reify to prevent accidental override of namespace.default.
The `winston` npm package is not an ECMAScript module, but it does export
a "default" property, and this property was accidentally clobbering the
"default" property of the namespace object, thus interfering with default
import syntax:

  import winston from "winston"

Specifically, the `winston` variable would end up referring to
`require("winston").default`, rather than `require("winston")`.

Nothing is lost by fixing this problem, as you can still refer to
`winston.default` if you need to access that property.

Reported by @fermuch here:
https://github.com/meteor/meteor/pull/8327#issuecomment-304721401

Fixed by this commit:
20fdd10d04
2017-05-29 19:07:25 -04:00
Ben Newman
aff0fbcc12 Bump package versions for 1.5-rc.11 release. 2017-05-29 12:27:45 -04:00
Ben Newman
5dd7b4cfc0 Upgrade uglify-js to latest version. 2017-05-29 12:17:54 -04:00
Ben Newman
cd4fc028f8 Upgrade reify to version 0.11.20 to fix getNamespace bug.
Reported here:
https://github.com/meteor/meteor/pull/8327#issuecomment-304582864

Fixed by:
aeb46dcd61
2017-05-29 12:02:56 -04:00
Ben Newman
d11cf771cd Bump package versions for 1.5-rc.10 release. 2017-05-28 20:46:42 -04:00
Ben Newman
bfea780495 Upgrade meteor-babel and reify to latest versions. 2017-05-28 20:25:32 -04:00