mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
JS: change note
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
category: minorAnalysis
|
||||
---
|
||||
|
||||
- Added a support of sub modules in `node_modules`.
|
||||
@@ -14,7 +14,7 @@ class PackageJson extends JsonObject {
|
||||
|
||||
/**
|
||||
* Gets the name of this package.
|
||||
* If the package is located under the package `foo` and its relative path is `bar`, it can be `foo/bar`
|
||||
* If the package is located under the package `pkg1` and its relative path is `foo/bar`, it can be `pkg1/foo/bar`
|
||||
*/
|
||||
string getPackageName() {
|
||||
result = this.getPropStringValue("name")
|
||||
|
||||
Reference in New Issue
Block a user