Initial commit
This commit is contained in:
commit
b3a51a4115
10336 changed files with 2381973 additions and 0 deletions
13
node_modules/fast-check/lib/arbitrary/_internals/helpers/InvalidSubdomainLabelFiIter.js
generated
vendored
Normal file
13
node_modules/fast-check/lib/arbitrary/_internals/helpers/InvalidSubdomainLabelFiIter.js
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.filterInvalidSubdomainLabel = filterInvalidSubdomainLabel;
|
||||
function filterInvalidSubdomainLabel(subdomainLabel) {
|
||||
if (subdomainLabel.length > 63) {
|
||||
return false;
|
||||
}
|
||||
return (subdomainLabel.length < 4 ||
|
||||
subdomainLabel[0] !== 'x' ||
|
||||
subdomainLabel[1] !== 'n' ||
|
||||
subdomainLabel[2] !== '-' ||
|
||||
subdomainLabel[3] !== '-');
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue