add intl-pluralrules polyfill for fluent in node
This commit is contained in:
Родитель
4d18c6d3e3
Коммит
1b0fdd48dd
|
@ -3,6 +3,9 @@
|
|||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
|
||||
// node.js needs Intl.PluralRules polyfill
|
||||
require("intl-pluralrules");
|
||||
|
||||
const { FluentBundle } = require("fluent");
|
||||
|
||||
const mozlog = require("./log");
|
||||
|
|
|
@ -4664,6 +4664,14 @@
|
|||
"resolved": "https://registry.npmjs.org/interpret/-/interpret-1.1.0.tgz",
|
||||
"integrity": "sha1-ftGxQQxqDg94z5XTuEQMY/eLhhQ="
|
||||
},
|
||||
"intl-pluralrules": {
|
||||
"version": "0.2.1",
|
||||
"resolved": "https://registry.npmjs.org/intl-pluralrules/-/intl-pluralrules-0.2.1.tgz",
|
||||
"integrity": "sha512-sBJhZSblYSrzdhdmij0QHp6zyZWpAGbY9qIdytYeLjrhPluWdu7bDD68qXH2Agj0ZGytuCv4LuD1pPW4jlQQGQ==",
|
||||
"requires": {
|
||||
"make-plural": "^4.1.1"
|
||||
}
|
||||
},
|
||||
"into-stream": {
|
||||
"version": "3.1.0",
|
||||
"resolved": "https://registry.npmjs.org/into-stream/-/into-stream-3.1.0.tgz",
|
||||
|
@ -6688,6 +6696,22 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"make-plural": {
|
||||
"version": "4.2.0",
|
||||
"resolved": "https://registry.npmjs.org/make-plural/-/make-plural-4.2.0.tgz",
|
||||
"integrity": "sha512-zhDAr/erfvZtE1A66DIQ7ZNdGlexVGNDP1P1kvLZprRE0meA0zmxNbp6xmXzNRuZmgW0Ui4ibbaMPYPFHVRMkQ==",
|
||||
"requires": {
|
||||
"minimist": "^1.2.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"minimist": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
|
||||
"integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"makeerror": {
|
||||
"version": "1.0.11",
|
||||
"resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.11.tgz",
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
"got": "^8.3.1",
|
||||
"hbs": "^4.0.1",
|
||||
"helmet": "^3.12.1",
|
||||
"intl-pluralrules": "^0.2.1",
|
||||
"isemail": "^3.1.3",
|
||||
"jsdom": "^11.11.0",
|
||||
"knex": "^0.14.6",
|
||||
|
|
Загрузка…
Ссылка в новой задаче