MCPcopy Index your code

hub / github.com/lirantal/lockfile-lint / functions

Functions41 in github.com/lirantal/lockfile-lint

↓ 35 callersMethodvalidate
(allowedUrls, options)
packages/lockfile-lint-api/src/validators/ValidateUrl.js:12
↓ 21 callersMethodparseSync
* Synchronously parses a lockfile * @return {object} parsed file
packages/lockfile-lint-api/src/ParseLockfile.js:105
↓ 9 callersMethodvalidateSingle
(packageName, allowedUrls)
packages/lockfile-lint-api/src/validators/ValidateUrl.js:49
↓ 2 callersFunctionValidateHostManager
({path, type, validatorValues, validatorOptions})
packages/lockfile-lint/src/validators/index.js:40
↓ 2 callersMethod_getPackageNameOnly
(packageName)
packages/lockfile-lint-api/src/validators/ValidatePackageNames.js:77
↓ 2 callersFunctionerror
(message)
packages/lockfile-lint/bin/lockfile-lint.js:144
↓ 2 callersMethodisLockfileTypeGiven
* Checks if lockfile type option was provided * @return boolean
packages/lockfile-lint-api/src/ParseLockfile.js:97
↓ 2 callersFunctionisSha512
(packageMetadata)
packages/lockfile-lint-api/src/validators/ValidateIntegrity.js:3
↓ 1 callersFunctionValidateIntegrityManager
({path, type, validatorValues, validatorOptions})
packages/lockfile-lint/src/validators/index.js:123
↓ 1 callersFunctionValidatePackageNamesManager
({path, type, validatorValues, validatorOptions})
packages/lockfile-lint/src/validators/index.js:88
↓ 1 callersFunctionValidateUrlManager
({path, type, validatorValues, validatorOptions})
packages/lockfile-lint/src/validators/index.js:108
↓ 1 callersMethod_flattenNpmDepsTree
(npmDepsTree, npmDepMap = {})
packages/lockfile-lint-api/src/ParseLockfile.js:204
↓ 1 callersMethod_getPackageNameAliasPairs
(packageNameAliases)
packages/lockfile-lint-api/src/validators/ValidatePackageNames.js:87
↓ 1 callersFunctioncheckSampleContent
* Checks if a sample object is a valid dependency structure * @return boolean
packages/lockfile-lint-api/src/ParseLockfile.js:25
↓ 1 callersMethodextractedPackageName
(packageName)
packages/lockfile-lint-api/src/ParseLockfile.js:251
↓ 1 callersMethodresolvePkgMgrByFilename
()
packages/lockfile-lint-api/src/ParseLockfile.js:150
↓ 1 callersMethodresolvePkgMgrForLockfile
()
packages/lockfile-lint-api/src/ParseLockfile.js:130
↓ 1 callersFunctionsuccess
(message)
packages/lockfile-lint/bin/lockfile-lint.js:120
↓ 1 callersMethodvalidate
(options)
packages/lockfile-lint-api/src/validators/ValidateIntegrity.js:16
↓ 1 callersMethodvalidate
()
packages/lockfile-lint-api/src/validators/ValidateHttps.js:14
↓ 1 callersMethodvalidate
(hosts, options)
packages/lockfile-lint-api/src/validators/ValidateHost.js:16
↓ 1 callersMethodvalidate
(packageNameAliases)
packages/lockfile-lint-api/src/validators/ValidatePackageNames.js:15
↓ 1 callersFunctionwarn
(message)
packages/lockfile-lint/bin/lockfile-lint.js:132
↓ 1 callersFunctionyarnParseAndVerify
* @param {string|Buffer} lockfileBuffer - the lockfile contents * @return {{ type: string, object: any }}
packages/lockfile-lint-api/src/ParseLockfile.js:42
FunctionValidateHttpsManager
({path, type, validatorValues, validatorOptions})
packages/lockfile-lint/src/validators/index.js:73
FunctionValidateSchemeManager
({path, type, validatorValues, validatorOptions})
packages/lockfile-lint/src/validators/index.js:23
Methodconstructor
* constructor * @param {object} options * @param {string} [options.lockfilePath] - path to the lockfile * @param {string} [options.lockfileTe
packages/lockfile-lint-api/src/ParseLockfile.js:79
Methodconstructor
({packages} = {})
packages/lockfile-lint-api/src/validators/ValidateIntegrity.js:8
Methodconstructor
({packages} = {})
packages/lockfile-lint-api/src/validators/ValidateHttps.js:6
Methodconstructor
({packages} = {})
packages/lockfile-lint-api/src/validators/ValidateScheme.js:4
Methodconstructor
({packages, debug = noop} = {})
packages/lockfile-lint-api/src/validators/ValidateHost.js:7
Methodconstructor
({packages} = {})
packages/lockfile-lint-api/src/validators/ValidateUrl.js:4
Methodconstructor
({packages} = {})
packages/lockfile-lint-api/src/validators/ValidatePackageNames.js:7
Methodconstructor
* constructor * @param {string} errorKey - the key corresponding to the error message * @param {string} relatedValue - the value related to the
packages/lockfile-lint-api/src/common/ParsingError.js:24
Functionnoop
()
packages/lockfile-lint-api/src/validators/ValidateHost.js:5
MethodparseNpmLockfile
(lockfileBuffer)
packages/lockfile-lint-api/src/ParseLockfile.js:172
MethodparseYarnLockfile
(lockfileBuffer)
packages/lockfile-lint-api/src/ParseLockfile.js:162
FunctionrunValidators
({type, path, validators} = {})
packages/lockfile-lint/src/main.js:22
Methodvalidate
(schemes)
packages/lockfile-lint-api/src/validators/ValidateScheme.js:12
MethodvalidateSingle
(packageName)
packages/lockfile-lint-api/src/validators/ValidateIntegrity.js:55
MethodvalidateSingle
(packageName, hosts)
packages/lockfile-lint-api/src/validators/ValidateHost.js:76