Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
cristo-rabani committed Jan 11, 2018
1 parent 605f4da commit 169c534
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions builder.js
@@ -1,14 +1,13 @@
import stripJsonComments from 'strip-json-comments';
import {CachingCompiler} from 'meteor/caching-compiler';
import Utils from './lib/utilities';

import YAML from 'js-yaml';

class UniverseI18nBuilder extends CachingCompiler {
constructor () {
super({
compilerName: 'Universe I18n',
defaultCacheSize: 1024 * 1024
defaultCacheSize: 1024 * 1024 * 10
});
if (process.env.UNIVERSE_I18N_LOCALES) {
this.localesInClientBundle = process.env.UNIVERSE_I18N_LOCALES.split(',');
Expand All @@ -26,7 +25,7 @@ class UniverseI18nBuilder extends CachingCompiler {
}

getCacheKey (file) {
return file.getSourceHash();
return file.getSourceHash() + file.getArch();
}

compileResultSize ({data = ''}) {
Expand Down
6 changes: 3 additions & 3 deletions package.js
@@ -1,13 +1,13 @@
Package.describe({
name: 'universe:i18n',
version: '1.15.2',
version: '1.16.0',
summary: 'Lightweight i18n, YAML & JSON translation files, React component, incremental & remote loading',
git: 'https://github.com/vazco/meteor-universe-i18n'
});

var npmDependencies = {
'strip-json-comments': '2.0.1',
'js-yaml': '3.9.1'
'js-yaml': '3.10.0'
};

Package.registerBuildPlugin({
Expand All @@ -20,7 +20,7 @@ Package.registerBuildPlugin({
Npm.depends(npmDependencies);

Package.onUse(function (api) {
api.versionsFrom('1.4');
api.versionsFrom('1.5');

api.use([
'ddp',
Expand Down

0 comments on commit 169c534

Please sign in to comment.