Add package for extracted ipaddress format from convic
This commit is contained in:
parent
7323f584c1
commit
58a0800384
33771
package-lock.json
generated
33771
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -141,6 +141,7 @@
|
||||
"cldr-core": "^35.1.0",
|
||||
"configstore": "github:dannycoates/configstore#master",
|
||||
"convict": "^6.2.2",
|
||||
"convict-format-with-validator": "^6.2.0",
|
||||
"double-ended-queue": "^2.1.0-0",
|
||||
"express": "^4.17.3",
|
||||
"helmet": "^3.23.3",
|
||||
|
@ -1,8 +1,11 @@
|
||||
const convict = require('convict');
|
||||
const convict_format_with_validator = require('convict-format-with-validator');
|
||||
const { tmpdir } = require('os');
|
||||
const path = require('path');
|
||||
const { randomBytes } = require('crypto');
|
||||
|
||||
convict.addFormats(convict_format_with_validator);
|
||||
|
||||
convict.addFormat({
|
||||
name: 'positive-int-array',
|
||||
coerce: ints => {
|
||||
|
Loading…
Reference in New Issue
Block a user