MCPcopy Create free account

hub / github.com/apple/password-manager-resources / functions

Functions61 in github.com/apple/password-manager-resources

↓ 35 callersFunction_bitSetIndexForCharacter
(c)
tools/PasswordRulesParser.js:108
↓ 11 callersMethodconvert
* Convert a regexp pattern to Password Rules format * @param {string} regexp - The regular expression pattern * @returns {string|null} Passw
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverter.js:11
↓ 11 callersMethodrecordResult
(passed)
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverterTest.js:11
↓ 6 callersFunction_indexOfNonWhitespaceCharacter
(input, position = 0)
tools/PasswordRulesParser.js:275
↓ 5 callersFunction_characterAtBitSetIndex
(index)
tools/PasswordRulesParser.js:114
↓ 5 callersFunction_isIdentifierCharacter
(c)
tools/PasswordRulesParser.js:82
↓ 3 callersMethod#normalizeCharacterClass
* Normalize a character class for Password Rules format * In Password Rules: * - If ']' is part of the class, it must be the LAST character
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverter.js:271
↓ 3 callersFunctioncheckRange
(start, end)
tools/PasswordRulesParser.js:174
↓ 2 callersMethod#buildRules
* Build the final password rules string * @private
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverter.js:400
↓ 2 callersMethod#extractLength
* Extract min/max length from match * Supports both closed quantifiers like {8,20} and open-ended ones like {8,} * @private
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverter.js:375
↓ 2 callersMethod#parseLookaheads
* Convert lookaheads to required character classes * @private
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverter.js:194
↓ 2 callersFunction_canonicalizedPropertyValues
(propertyValues, keepCustomCharacterClassFormatCompliant)
tools/PasswordRulesParser.js:151
↓ 2 callersFunction_isASCIIDigit
(c)
tools/PasswordRulesParser.js:88
↓ 2 callersFunction_isASCIIWhitespace
(c)
tools/PasswordRulesParser.js:100
↓ 2 callersFunction_isValidRequiredOrAllowedPropertyValueIdentifier
(identifier)
tools/PasswordRulesParser.js:308
↓ 2 callersFunction_parseIdentifier
(input, position)
tools/PasswordRulesParser.js:287
↓ 2 callersFunction_parseInteger
(input, position)
tools/PasswordRulesParser.js:487
↓ 1 callersMethod#convertPatternToRules
* Internal method to perform conversion * @private
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverter.js:24
↓ 1 callersMethod#expandShorthand
* Expand a regexp shorthand class escape to its bracket-class equivalent * @private
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverter.js:244
↓ 1 callersMethod#extractLookaheads
* Extract positive lookaheads from the pattern * Handles escaped ] (\]) in character classes * @private
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverter.js:157
↓ 1 callersMethod#extractMainPattern
* Remove lookaheads to get the main pattern * @private
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverter.js:256
↓ 1 callersMethod#normalizePattern
* Normalize pattern by removing anchors * @private
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverter.js:119
↓ 1 callersMethod#parseCharacterClassFromMatch
* Extract allowed characters from character class match * Excludes character types that are already required (since required chars are implicitly
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverter.js:309
↓ 1 callersMethod#trySimplePattern
* Try to match simple patterns like \d*, \w+, etc. * @private
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverter.js:136
↓ 1 callersMethod#validateLookaheads
* Validate that lookaheads are in supported format * @private
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverter.js:177
↓ 1 callersFunction_isASCIIPrintableCharacter
(c)
tools/PasswordRulesParser.js:94
↓ 1 callersFunction_markBitsForCustomCharacterClass
(bitSet, customCharacterClass)
tools/PasswordRulesParser.js:144
↓ 1 callersFunction_markBitsForNamedCharacterClass
(bitSet, namedCharacterClass)
tools/PasswordRulesParser.js:119
↓ 1 callersFunction_parseCustomCharacterClass
(input, position)
tools/PasswordRulesParser.js:313
↓ 1 callersFunction_parseMaxConsecutivePropertyValue
(input, position)
tools/PasswordRulesParser.js:482
↓ 1 callersFunction_parseMinLengthMaxLengthPropertyValue
(input, position)
tools/PasswordRulesParser.js:477
↓ 1 callersFunction_parsePasswordRequiredOrAllowedPropertyValue
(input, position)
tools/PasswordRulesParser.js:368
↓ 1 callersFunction_parsePasswordRule
(input, position)
tools/PasswordRulesParser.js:416
↓ 1 callersFunction_parsePasswordRulesInternal
(input)
tools/PasswordRulesParser.js:513
↓ 1 callersMethodrunAll
()
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverterTest.js:18
↓ 1 callersMethodtestBasicConversion
()
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverterTest.js:84
↓ 1 callersMethodtestCharacterClassNormalization
()
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverterTest.js:249
↓ 1 callersMethodtestDotStarPattern
()
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverterTest.js:330
↓ 1 callersMethodtestHyphenHandling
()
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverterTest.js:178
↓ 1 callersMethodtestImplicitlyAllowedCharacters
()
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverterTest.js:297
↓ 1 callersMethodtestOpenEndedQuantifier
()
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverterTest.js:145
↓ 1 callersMethodtestOptionalLength
()
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverterTest.js:112
↓ 1 callersMethodtestShorthandAndCombinedPatterns
()
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverterTest.js:383
↓ 1 callersMethodtestSimplePatterns
()
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverterTest.js:41
↓ 1 callersMethodtestSpecialCharacterHandling
()
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverterTest.js:216
↓ 1 callersMethodtestUnsupportedPatterns
()
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverterTest.js:436
Methodcharacters
()
tools/PasswordRulesParser.js:75
Methodconstructor
(name, value)
tools/PasswordRulesParser.js:49
Methodconstructor
(name)
tools/PasswordRulesParser.js:59
Methodconstructor
(characters)
tools/PasswordRulesParser.js:70
Methodconstructor
()
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverterTest.js:6
MethodisRequired
(type)
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverter.js:318
Methodname
()
tools/PasswordRulesParser.js:54
Methodname
()
tools/PasswordRulesParser.js:64
FunctionparsePasswordRules
(input, formatRulesForMinifiedVersion)
tools/PasswordRulesParser.js:551
MethodsortCharacterClass
(characterClass)
tools/PatternRegexpToPasswordRulesConverter/PatternRegexpToPasswordRulesConverter.js:354
MethodtoHTMLString
()
tools/PasswordRulesParser.js:66
MethodtoHTMLString
()
tools/PasswordRulesParser.js:77
MethodtoString
()
tools/PasswordRulesParser.js:55
MethodtoString
()
tools/PasswordRulesParser.js:65
MethodtoString
()
tools/PasswordRulesParser.js:76