Skip to content

Commit f304267

Browse files
committed
v2.2.1 (meteor)
- Regular update - Compatibility with `meteor@1.6` - Dependencies update - Minor auto-tests enhancements
1 parent 6b0138a commit f304267

File tree

4 files changed

+45
-52
lines changed

4 files changed

+45
-52
lines changed

.npm/package/npm-shrinkwrap.json

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.versions

Lines changed: 25 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,41 @@
1-
allow-deny@1.0.5
2-
babel-compiler@6.18.2
3-
babel-runtime@1.0.1
1+
allow-deny@1.1.0
2+
babel-compiler@6.24.7
3+
babel-runtime@1.1.1
44
base64@1.0.10
55
binary-heap@1.0.10
6-
blaze@2.1.8
7-
blaze-tools@1.0.9
8-
boilerplate-generator@1.0.11
6+
boilerplate-generator@1.3.0
97
callback-hook@1.0.10
108
check@1.2.5
11-
ddp@1.2.5
12-
ddp-client@1.3.4
13-
ddp-common@1.2.8
14-
ddp-server@1.3.14
15-
deps@1.0.12
9+
ddp@1.4.0
10+
ddp-client@2.2.0
11+
ddp-common@1.3.0
12+
ddp-server@2.1.1
1613
diff-sequence@1.0.7
17-
ecmascript@0.7.3
18-
ecmascript-runtime@0.3.15
19-
ejson@1.0.13
14+
ecmascript@0.9.0
15+
ecmascript-runtime@0.5.0
16+
ecmascript-runtime-client@0.5.0
17+
ecmascript-runtime-server@0.5.0
18+
ejson@1.1.0
2019
geojson-utils@1.0.10
21-
html-tools@1.0.10
22-
htmljs@1.0.10
2320
id-map@1.0.9
24-
jquery@1.11.10
25-
local-test:ostrio:cstorage@2.2.0
26-
logging@1.1.17
27-
meteor@1.6.1
28-
minimongo@1.0.23
29-
modules@0.8.2
30-
modules-runtime@0.7.10
31-
mongo@1.1.17
21+
local-test:ostrio:cstorage@2.2.1
22+
logging@1.1.19
23+
meteor@1.8.0
24+
minimongo@1.4.0
25+
modules@0.11.0
26+
modules-runtime@0.9.0
27+
mongo@1.3.0
28+
mongo-dev-server@1.1.0
3229
mongo-id@1.0.6
33-
npm-mongo@2.2.24
34-
observe-sequence@1.0.16
30+
npm-mongo@2.2.33
3531
ordered-dict@1.0.9
36-
ostrio:cstorage@2.2.0
37-
promise@0.8.8
32+
ostrio:cstorage@2.2.1
33+
promise@0.10.0
3834
random@1.0.10
39-
reactive-var@1.0.11
4035
retry@1.0.9
4136
routepolicy@1.0.12
42-
spacebars@1.0.12
43-
spacebars-compiler@1.0.12
4437
tinytest@1.0.12
4538
tracker@1.1.3
46-
ui@1.0.11
4739
underscore@1.0.10
48-
webapp@1.3.15
40+
webapp@1.4.0
4941
webapp-hashing@1.0.9

client-storage-tests.js

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ Tinytest.add('ClientStorage - remove() - non existent value', function (test) {
100100

101101
Tinytest.add('ClientStorage - empty() - ALL', function (test) {
102102
ClientStorage.empty();
103-
var setResOne = ClientStorage.set('teststorageOne', 'One');
104-
var setResTwo = ClientStorage.set('teststorageTwo', 'Two');
103+
ClientStorage.set('teststorageOne', 'One');
104+
ClientStorage.set('teststorageTwo', 'Two');
105105
var removeRes = ClientStorage.empty();
106106

107107
test.isTrue(removeRes);
@@ -113,8 +113,8 @@ Tinytest.add('ClientStorage - empty() - ALL', function (test) {
113113

114114
Tinytest.add('ClientStorage - keys() / has() / remove() - String', function (test) {
115115
ClientStorage.empty();
116-
var setResOne = ClientStorage.set('teststorageOne', 'One');
117-
var setResTwo = ClientStorage.set('teststorageTwo', 'Two');
116+
ClientStorage.set('teststorageOne', 'One');
117+
ClientStorage.set('teststorageTwo', 'Two');
118118

119119
test.isTrue(!!~ClientStorage.keys().indexOf('teststorageOne'));
120120
test.isTrue(!!~ClientStorage.keys().indexOf('teststorageTwo'));
@@ -235,8 +235,8 @@ Tinytest.add('ClientStorage - Cookies - remove() - non existent value', function
235235

236236
Tinytest.add('ClientStorage - Cookies - empty() - ALL', function (test) {
237237
ClientStorageCookies.empty();
238-
var setResOne = ClientStorageCookies.set('teststorageOne', 'One');
239-
var setResTwo = ClientStorageCookies.set('teststorageTwo', 'Two');
238+
ClientStorageCookies.set('teststorageOne', 'One');
239+
ClientStorageCookies.set('teststorageTwo', 'Two');
240240
var removeRes = ClientStorageCookies.empty();
241241

242242
test.isTrue(removeRes);
@@ -248,8 +248,8 @@ Tinytest.add('ClientStorage - Cookies - empty() - ALL', function (test) {
248248

249249
Tinytest.add('ClientStorage - Cookies - keys() / has() / remove() - String', function (test) {
250250
ClientStorageCookies.empty();
251-
var setResOne = ClientStorageCookies.set('teststorageOne', 'One');
252-
var setResTwo = ClientStorageCookies.set('teststorageTwo', 'Two');
251+
ClientStorageCookies.set('teststorageOne', 'One');
252+
ClientStorageCookies.set('teststorageTwo', 'Two');
253253

254254
test.isTrue(!!~ClientStorageCookies.keys().indexOf('teststorageOne'));
255255
test.isTrue(!!~ClientStorageCookies.keys().indexOf('teststorageTwo'));
@@ -270,7 +270,7 @@ Tinytest.add('ClientStorage - Cookies - keys() / has() / remove() - String', fun
270270
//////////////
271271
var ClientStorageLS = new clientStorage('localStorage');
272272

273-
Tinytest.add('ClientStorage - LocalStorage - set() / get() / has() - Void (localStorage can\'t store undefined)', function (test) {
273+
Tinytest.add('ClientStorage - LocalStorage - set() / get() / has() - Void (Error is expected as localStorage can\'t store undefined)', function (test) {
274274
ClientStorageLS.empty();
275275
var testVal = void 0;
276276
var setRes = ClientStorageLS.set('Void', testVal);
@@ -370,8 +370,8 @@ Tinytest.add('ClientStorage - LocalStorage - remove() - non existent value', fun
370370

371371
Tinytest.add('ClientStorage - LocalStorage - empty() - ALL', function (test) {
372372
ClientStorageLS.empty();
373-
var setResOne = ClientStorageLS.set('teststorageOne', 'One');
374-
var setResTwo = ClientStorageLS.set('teststorageTwo', 'Two');
373+
ClientStorageLS.set('teststorageOne', 'One');
374+
ClientStorageLS.set('teststorageTwo', 'Two');
375375
var removeRes = ClientStorageLS.empty();
376376

377377
test.isTrue(removeRes);
@@ -383,8 +383,8 @@ Tinytest.add('ClientStorage - LocalStorage - empty() - ALL', function (test) {
383383

384384
Tinytest.add('ClientStorage - LocalStorage - keys() / has() / remove() - String', function (test) {
385385
ClientStorageLS.empty();
386-
var setResOne = ClientStorageLS.set('teststorageOne', 'One');
387-
var setResTwo = ClientStorageLS.set('teststorageTwo', 'Two');
386+
ClientStorageLS.set('teststorageOne', 'One');
387+
ClientStorageLS.set('teststorageTwo', 'Two');
388388

389389
test.isTrue(!!~ClientStorageLS.keys().indexOf('teststorageOne'));
390390
test.isTrue(!!~ClientStorageLS.keys().indexOf('teststorageTwo'));
@@ -483,8 +483,8 @@ Tinytest.add('ClientStorage - JS - remove() - non existent value', function (tes
483483

484484
Tinytest.add('ClientStorage - JS - empty() - ALL', function (test) {
485485
ClientStorageJS.empty();
486-
var setResOne = ClientStorageJS.set('teststorageOne', 'One');
487-
var setResTwo = ClientStorageJS.set('teststorageTwo', 'Two');
486+
ClientStorageJS.set('teststorageOne', 'One');
487+
ClientStorageJS.set('teststorageTwo', 'Two');
488488
var removeRes = ClientStorageJS.empty();
489489

490490
test.isTrue(removeRes);
@@ -496,8 +496,8 @@ Tinytest.add('ClientStorage - JS - empty() - ALL', function (test) {
496496

497497
Tinytest.add('ClientStorage - JS - keys() / has() / remove() - String', function (test) {
498498
ClientStorageJS.empty();
499-
var setResOne = ClientStorageJS.set('teststorageOne', 'One');
500-
var setResTwo = ClientStorageJS.set('teststorageTwo', 'Two');
499+
ClientStorageJS.set('teststorageOne', 'One');
500+
ClientStorageJS.set('teststorageTwo', 'Two');
501501

502502
test.isTrue(!!~ClientStorageJS.keys().indexOf('teststorageOne'));
503503
test.isTrue(!!~ClientStorageJS.keys().indexOf('teststorageTwo'));

package.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package.describe({
22
name: 'ostrio:cstorage',
3-
version: '2.2.0',
3+
version: '2.2.1',
44
summary: 'Bulletproof persistent Client (Browser) storage, works with disabled Cookies and/or localStorage',
55
git: 'https://github.com/VeliovGroup/Client-Storage',
66
documentation: 'README.md'

0 commit comments

Comments
 (0)