updated deps

This commit is contained in:
Danny Coates 2019-07-29 15:26:11 -07:00
parent e0ae5cb3c6
commit c80f9ada65
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
8 changed files with 302 additions and 207 deletions

View file

@ -1,6 +1,6 @@
const fs = require('fs');
const path = require('path');
const { FluentBundle } = require('fluent');
const { FluentBundle } = require('@fluent/bundle');
const localesPath = path.resolve(__dirname, '../public/locales');
const locales = fs.readdirSync(localesPath);

View file

@ -2,7 +2,7 @@ const { availableLanguages } = require('../../package.json');
const config = require('../config');
const fs = require('fs');
const path = require('path');
const { negotiateLanguages } = require('fluent-langneg');
const { negotiateLanguages } = require('@fluent/langneg');
const langData = require('cldr-core/supplemental/likelySubtags.json');
// We return early in the middleware if the lang header is long.