Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/lirantal/lockfile-lint
/ functions
Functions
41 in github.com/lirantal/lockfile-lint
⨍
Functions
41
◇
Types & classes
16
↓ 35 callers
Method
validate
(allowedUrls, options)
packages/lockfile-lint-api/src/validators/ValidateUrl.js:12
↓ 21 callers
Method
parseSync
* Synchronously parses a lockfile * @return {object} parsed file
packages/lockfile-lint-api/src/ParseLockfile.js:105
↓ 9 callers
Method
validateSingle
(packageName, allowedUrls)
packages/lockfile-lint-api/src/validators/ValidateUrl.js:49
↓ 2 callers
Function
ValidateHostManager
({path, type, validatorValues, validatorOptions})
packages/lockfile-lint/src/validators/index.js:40
↓ 2 callers
Method
_getPackageNameOnly
(packageName)
packages/lockfile-lint-api/src/validators/ValidatePackageNames.js:77
↓ 2 callers
Function
error
(message)
packages/lockfile-lint/bin/lockfile-lint.js:144
↓ 2 callers
Method
isLockfileTypeGiven
* Checks if lockfile type option was provided * @return boolean
packages/lockfile-lint-api/src/ParseLockfile.js:97
↓ 2 callers
Function
isSha512
(packageMetadata)
packages/lockfile-lint-api/src/validators/ValidateIntegrity.js:3
↓ 1 callers
Function
ValidateIntegrityManager
({path, type, validatorValues, validatorOptions})
packages/lockfile-lint/src/validators/index.js:123
↓ 1 callers
Function
ValidatePackageNamesManager
({path, type, validatorValues, validatorOptions})
packages/lockfile-lint/src/validators/index.js:88
↓ 1 callers
Function
ValidateUrlManager
({path, type, validatorValues, validatorOptions})
packages/lockfile-lint/src/validators/index.js:108
↓ 1 callers
Method
_flattenNpmDepsTree
(npmDepsTree, npmDepMap = {})
packages/lockfile-lint-api/src/ParseLockfile.js:204
↓ 1 callers
Method
_getPackageNameAliasPairs
(packageNameAliases)
packages/lockfile-lint-api/src/validators/ValidatePackageNames.js:87
↓ 1 callers
Function
checkSampleContent
* Checks if a sample object is a valid dependency structure * @return boolean
packages/lockfile-lint-api/src/ParseLockfile.js:25
↓ 1 callers
Method
extractedPackageName
(packageName)
packages/lockfile-lint-api/src/ParseLockfile.js:251
↓ 1 callers
Method
resolvePkgMgrByFilename
()
packages/lockfile-lint-api/src/ParseLockfile.js:150
↓ 1 callers
Method
resolvePkgMgrForLockfile
()
packages/lockfile-lint-api/src/ParseLockfile.js:130
↓ 1 callers
Function
success
(message)
packages/lockfile-lint/bin/lockfile-lint.js:120
↓ 1 callers
Method
validate
(options)
packages/lockfile-lint-api/src/validators/ValidateIntegrity.js:16
↓ 1 callers
Method
validate
()
packages/lockfile-lint-api/src/validators/ValidateHttps.js:14
↓ 1 callers
Method
validate
(hosts, options)
packages/lockfile-lint-api/src/validators/ValidateHost.js:16
↓ 1 callers
Method
validate
(packageNameAliases)
packages/lockfile-lint-api/src/validators/ValidatePackageNames.js:15
↓ 1 callers
Function
warn
(message)
packages/lockfile-lint/bin/lockfile-lint.js:132
↓ 1 callers
Function
yarnParseAndVerify
* @param {string|Buffer} lockfileBuffer - the lockfile contents * @return {{ type: string, object: any }}
packages/lockfile-lint-api/src/ParseLockfile.js:42
Function
ValidateHttpsManager
({path, type, validatorValues, validatorOptions})
packages/lockfile-lint/src/validators/index.js:73
Function
ValidateSchemeManager
({path, type, validatorValues, validatorOptions})
packages/lockfile-lint/src/validators/index.js:23
Method
constructor
* constructor * @param {object} options * @param {string} [options.lockfilePath] - path to the lockfile * @param {string} [options.lockfileTe
packages/lockfile-lint-api/src/ParseLockfile.js:79
Method
constructor
({packages} = {})
packages/lockfile-lint-api/src/validators/ValidateIntegrity.js:8
Method
constructor
({packages} = {})
packages/lockfile-lint-api/src/validators/ValidateHttps.js:6
Method
constructor
({packages} = {})
packages/lockfile-lint-api/src/validators/ValidateScheme.js:4
Method
constructor
({packages, debug = noop} = {})
packages/lockfile-lint-api/src/validators/ValidateHost.js:7
Method
constructor
({packages} = {})
packages/lockfile-lint-api/src/validators/ValidateUrl.js:4
Method
constructor
({packages} = {})
packages/lockfile-lint-api/src/validators/ValidatePackageNames.js:7
Method
constructor
* 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
Function
noop
()
packages/lockfile-lint-api/src/validators/ValidateHost.js:5
Method
parseNpmLockfile
(lockfileBuffer)
packages/lockfile-lint-api/src/ParseLockfile.js:172
Method
parseYarnLockfile
(lockfileBuffer)
packages/lockfile-lint-api/src/ParseLockfile.js:162
Function
runValidators
({type, path, validators} = {})
packages/lockfile-lint/src/main.js:22
Method
validate
(schemes)
packages/lockfile-lint-api/src/validators/ValidateScheme.js:12
Method
validateSingle
(packageName)
packages/lockfile-lint-api/src/validators/ValidateIntegrity.js:55
Method
validateSingle
(packageName, hosts)
packages/lockfile-lint-api/src/validators/ValidateHost.js:76