JS: change note

This commit is contained in:
tyage
2023-04-30 18:26:46 +09:00
parent 71952fe551
commit 80d401fba8
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
category: minorAnalysis
---
- Added a support of sub modules in `node_modules`.

View File

@@ -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")