(url)
| 955 | } |
| 956 | } |
| 957 | LOOKUP_PACKAGE_SCOPE(url) { |
| 958 | let scopeURL = url; |
| 959 | while (scopeURL != "file:///") { |
| 960 | scopeURL = this.getParentURL(scopeURL); |
| 961 | if (scopeURL.endsWith("/node_modules")) |
| 962 | return null; |
| 963 | let pjsonURL = scopeURL + "/package.json"; |
| 964 | if (this.urlToFilePath(pjsonURL)) |
| 965 | return scopeURL; |
| 966 | } |
| 967 | return null; |
| 968 | } |
| 969 | READ_PACKAGE_JSON(packageURL) { |
| 970 | let pjson = this.packages.get(packageURL); |
| 971 | if (pjson !== undefined) |
no test coverage detected