| Modifier and Type | Method and Description |
|---|---|
protected static List<Tokenizer.Token> |
Tokenizer.tokenize(String requirement,
Semver.SemverType type)
Takes a NPM requirement string and creates a list of tokens by performing 3 operations:
- If the token is a version, it will add the version string
- If the token is an operator, it will add the operator
- It will insert missing "AND" operators for ranges
|
Copyright © 2021. All rights reserved.