Gabriel Medeiros Coelho
01bf44adff
change success variable declaration
...
Since variables defined with const are not supposed to be reassigned, 'success = false' could cause errors. Changed declaration to let to avoid that.
2019-10-15 13:02:49 -03:00
James Burgess
20e89b9009
Modernize check package ( #9638 )
...
I've reverted match properties that return class instances back to normal functions, so that they can be called as constructors.
Also, I added tests to make sure we catch this issue if someone else gets the same idea that I had!
2018-03-07 11:36:48 -05:00
Jesse Rosenberger
4d861735c5
Export check as a named function declaration for JSDoc.
...
The change made in a30f42c4ac switched
from CommonJS to ECMAScript export notation.
It seems JSDoc isn't smart enough to make the same association as it did with
the previous notation as it does for an anon. function expression `export`-ed
as a `const`ant. We could annotate this with `@function check`, but it seems
reasonable to just export a function declaration directly, which JSDoc will
understand.
This, along with ababb18aef , corrects the
failure of docs generation originally discovered in:
8f7ceb5de5 .
Refs: https://github.com/meteor/meteor/pull/9593
2018-01-30 22:34:59 +02:00
Ben Newman
2c7616d221
Bump package versions for the official 1.6.1 release.
2018-01-20 15:50:01 -05:00
Ben Newman
ce276aec96
Bump package versions for 1.6.1-rc.10 release.
2018-01-19 19:29:47 -05:00
Ben Newman
8b3732e18b
Bump package versions for 1.6.1-rc.9 release.
2018-01-18 17:22:17 -05:00
Ben Newman
c2845baff7
Bump package versions for 1.6.1-rc.8 release.
2018-01-17 18:09:01 -05:00
Ben Newman
4e345b860a
Bump package versions for 1.6.1-rc.7 release.
2018-01-16 17:16:06 -05:00
Ben Newman
d78bed0d47
Bump package versions for 1.6.1-rc.6 release.
2018-01-15 18:27:17 -05:00
Ben Newman
abf695c94f
Revert changes that made Match.{Where,Maybe,..} non-constructible.
...
https://github.com/meteor/meteor/issues/9383#issuecomment-345435819
2018-01-15 18:26:44 -05:00
Ben Newman
8decd67daf
Bump package versions for 1.6.1-rc.5 release.
2018-01-14 23:24:22 -05:00
Ben Newman
b07c5cc328
Bump package versions for 1.6.1-rc.4 release.
2018-01-14 17:48:52 -05:00
Ben Newman
ebe51997d6
Bump package versions for 1.6.1-rc.3 release.
2018-01-12 12:20:49 -05:00
Ben Newman
c45e90d24f
Bump package versions for 1.6.1-rc.2 release.
2018-01-09 19:33:30 -05:00
Ben Newman
5e38bd5758
Bump package versions for 1.6.1-rc.1 release.
2018-01-03 14:48:21 -05:00
Ben Newman
d8989653e5
Bump package versions for 1.6.1-rc.0 release.
2018-01-03 10:50:02 -05:00
Ben Newman
b19e8a6af0
Bump package versions for 1.6.1-beta.21 release.
2017-12-20 18:32:31 -05:00
Ben Newman
4268785ffe
Bump package versions for 1.6.1-beta.20 release.
2017-12-20 12:12:07 -05:00
Ben Newman
3f2a79eaba
Bump package versions for 1.6.1-beta.19 release.
2017-12-19 18:41:38 -05:00
Ben Newman
0b8757bed9
Bump package versions for 1.6.1-beta.18 release.
2017-12-12 18:04:56 -05:00
Ben Newman
d045663fcd
Bump package versions for 1.6.1-beta.17 release.
...
The 1.6.1-beta.16 release was DOA and should be avoided (if it can even be
installed), due to an unfortunate interruption of my internet connection.
2017-12-08 19:02:55 -05:00
Ben Newman
d0b5fc5b7b
Bump package versions for 1.6.1-beta.15 release.
2017-12-08 18:31:31 -05:00
Ben Newman
91d6f22076
Bump package versions for 1.6.1-beta.14 release.
2017-12-05 11:48:27 -05:00
Ben Newman
463d45afc7
Bump package versions for 1.6.1-beta.13 release.
2017-12-05 11:25:38 -05:00
Ben Newman
71da2d327c
Bump package versions for 1.6.1-beta.12 release.
2017-12-05 09:43:01 -05:00
Ben Newman
3c0354fbe2
Merge branch 'devel' into release-1.6.1
2017-12-01 18:45:46 -05:00
Ben Newman
efb35488da
Use more ECMAScript classes in check/match.js.
2017-12-01 18:44:25 -05:00
Ben Newman
2effb1a974
Bump package versions for 1.6.1-beta.11 release.
2017-11-25 11:26:42 -05:00
Ben Newman
02583444bd
Bump package versions for 1.6.1-beta.10 release.
2017-11-24 11:38:42 -05:00
Ben Newman
86a2ad5679
Bump package versions for 1.6.1-beta.9 release.
2017-11-22 15:26:12 -05:00
Ben Newman
d690906f7f
Bump package versions for 1.6.1-beta.8 release.
2017-11-17 14:47:17 -05:00
Ben Newman
4911b1e7f6
Bump package versions for 1.6.1-beta.7 release.
2017-11-14 14:24:18 -05:00
Ben Newman
944b8a1ab2
Bump package versions for 1.6.1-beta.6 release.
2017-11-14 13:45:58 -05:00
Ben Newman
bac168b4ca
Bulk-bump minor versions of recently changed packages.
2017-11-14 13:31:10 -05:00
Jesse Rosenberger
8a122b7cc2
Finish check ES class conversion by swapping self with this.
...
The original PR from @stubailo started the conversion to native
ECMAScript `class`es with 970f1fa7dd .
I might be projecting, but had there been time to finish that PR, I believe a
subsequent commit would have expunged the no-longer-necessary `self=this`
assignments, however I think that effort was lost in the hand-off.
2017-11-14 11:22:31 +02:00
Ben Newman
a30f42c4ac
Use ECMAScript exports instead of CommonJS in check package.
2017-11-13 22:36:43 -05:00
Ben Newman
dd33655375
Address my own review feedback.
2017-11-13 22:32:49 -05:00
Sashko Stubailo
f40dac844d
Replace _.isObject
2017-11-13 22:32:49 -05:00
Sashko Stubailo
2f10c82a50
Replace each with forEach
2017-11-13 22:32:49 -05:00
Sashko Stubailo
c18ff138c9
Replace _.has
2017-11-13 22:32:49 -05:00
Sashko Stubailo
a8f4916992
Remove _.isEmpty
2017-11-13 22:32:49 -05:00
Sashko Stubailo
a9cd3a491e
Replace _.isArguments
2017-11-13 22:32:49 -05:00
Sashko Stubailo
970f1fa7dd
Some of the most obvious underscore removals
2017-11-13 22:32:49 -05:00
Jesse Rosenberger
de2e16b313
Bump version of check package to 1.2.5 in preparation for publishing.
2017-02-15 21:42:28 +02:00
Khang Nguyen-Le
5914d95ab0
Extract new isPlainObject function from JQuery v3.1.1
2017-02-11 13:36:10 +07:00
Ben Newman
f39812bd4b
Bump package versions for the official 1.4.2 release.
2016-10-25 10:20:21 -07:00
Ben Newman
b40df12129
Bump package versions for 1.4.2-rc.4 release.
2016-10-24 22:44:11 -07:00
Ben Newman
dbf8471c1f
Bump package versions for 1.4.2-rc.3 release.
2016-10-23 18:17:51 -04:00
Ben Newman
b938e089e6
Bump package versions for 1.4.2-rc.2 release.
2016-10-21 22:20:34 -04:00
Ben Newman
04056db28f
Bump package versions for 1.4.2-rc.1 release.
2016-10-19 18:12:27 -04:00