Skip to content

Commit

Permalink
v2.0.4
Browse files Browse the repository at this point in the history
 - 🗑 Get rid of `underscore` package
 - 📦 Update NPM and Atmosphere dependencies
 - 🤝 Compatibility with `[email protected]`
  • Loading branch information
dr-dimitru committed Jul 27, 2018
1 parent 5076ca8 commit 4cf6d45
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 37 deletions.
74 changes: 40 additions & 34 deletions .versions
Original file line number Diff line number Diff line change
@@ -1,43 +1,49 @@
[email protected]
babel-compiler@6.24.7
babel-runtime@1.1.1
[email protected].10
babel-compiler@7.1.1
babel-runtime@1.2.2
[email protected].11
[email protected]
boilerplate-generator@1.3.0
callback-hook@1.0.10
check@1.2.5
boilerplate-generator@1.5.0
callback-hook@1.1.0
check@1.3.1
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
local-test:ostrio:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
local-test:ostrio:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected].6
npm-mongo@2.2.33
ordered-dict@1.0.9
ostrio:[email protected].5
ostrio:[email protected].3
promise@0.10.0
random@1.0.10
[email protected].7
npm-mongo@3.0.11
ordered-dict@1.1.0
ostrio:[email protected].7
ostrio:[email protected].4
promise@0.11.1
random@1.1.0
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
7 changes: 7 additions & 0 deletions loggerconsole.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ const helpers = {
}
};

const _helpers = ['String', 'Date'];
for (let i = 0; i < _helpers.length; i++) {
helpers['is' + _helpers[i]] = function (obj) {
return Object.prototype.toString.call(obj) === '[object ' + _helpers[i] + ']';
};
}

/*
* @class LoggerConsole
* @summary Colorful console adapter for ostrio:logger (Logger)
Expand Down
6 changes: 3 additions & 3 deletions package.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
Package.describe({
name: 'ostrio:loggerconsole',
version: '2.0.3',
version: '2.0.4',
summary: 'Logging: Print Client\'s logs to Server\'s console, messages colorized for better readability',
git: 'https://github.com/VeliovGroup/Meteor-logger-console',
documentation: 'README.md'
});

Package.onUse(function(api) {
api.versionsFrom('1.4');
api.use(['ecmascript', 'check', 'underscore', 'ostrio:[email protected].5'], ['client', 'server']);
api.use(['ecmascript', 'check', 'ostrio:[email protected].7'], ['client', 'server']);
api.mainModule('loggerconsole.js', ['client', 'server']);
});

Package.onTest(function(api) {
api.use('tinytest');
api.use(['ecmascript', 'underscore', 'ostrio:logger@2.0.5', 'ostrio:loggerconsole@2.0.3']);
api.use(['ecmascript', 'underscore', 'ostrio:logger', 'ostrio:loggerconsole']);
api.addFiles('loggerconsole-tests.js');
});

0 comments on commit 4cf6d45

Please sign in to comment.