Skip to content

Commit b1587f2

Browse files
committed
Published aldeed:[email protected].
1 parent 7111f98 commit b1587f2

File tree

4 files changed

+24
-19
lines changed

4 files changed

+24
-19
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
55
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
66

7+
- [4.1.5](#415)
78
- [4.1.4](#414)
89
- [4.1.3](#413)
910
- [4.1.2](#412)
@@ -87,6 +88,10 @@
8788

8889
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
8990

91+
## 4.1.5
92+
93+
* Improve MeteorJS version detection
94+
9095
## 4.1.4
9196

9297
- Actual release of 4.1.3

package/collection2/.versions

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
1-
1+
22
33
4-
babel-compiler@7.11.3
4+
babel-compiler@7.12.2
55
66
77
8-
9-
8+
9+
1010
1111
1212
13-
13+
1414
1515
1616
1717
18-
18+
1919
2020
2121
22-
22+
2323
2424
2525
2626
2727
28-
local-test:aldeed:[email protected].4
28+
local-test:aldeed:[email protected].5
2929
30-
30+
3131
meteortesting:[email protected]
3232
meteortesting:[email protected]
3333
meteortesting:[email protected]
34-
35-
34+
35+
3636
3737
38-
38+
3939
4040
4141
42-
npm-mongo@6.10.2
42+
npm-mongo@6.16.1
4343
4444
4545
@@ -48,9 +48,9 @@ [email protected]
4848
4949
5050
51-
51+
5252
53-
54-
53+
54+
5555
5656

package/collection2/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import SimpleSchema from "meteor/aldeed:simple-schema";
44
import { EJSON } from 'meteor/ejson';
55
import { flattenSelector, isInsertType, isUpdateType, isUpsertType, isObject, isEqual } from './lib';
66

7-
const meteorVersion = Meteor.release === 'none' ? ["3", "1"] : Meteor.release.split('@')[1].split('.');
8-
const noAsyncAllow = meteorVersion[0] >= 3 && meteorVersion[1].split('-')[0] >= 1;
7+
const meteorVersion = Meteor.release === 'none' ? ["3", "3"] : Meteor.release.split('@')[1].split('.');
8+
const noAsyncAllow = Number.parseInt(meteorVersion[0], 10) >= 3 && Number.parseInt(meteorVersion[1].split('-')[0], 10) >= 1;
99

1010
/**
1111
* Mongo.Collection.prototype.attachSchema

package/collection2/package.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Package.describe({
44
name: 'aldeed:collection2',
55
summary:
66
'Automatic validation of Meteor Mongo insert and update operations on the client and server',
7-
version: '4.1.4',
7+
version: '4.1.5',
88
documentation: '../../README.md',
99
git: 'https://github.com/aldeed/meteor-collection2.git'
1010
});

0 commit comments

Comments
 (0)