* @param {string} configPath * @param {object} data
(configPath, data)
| 51 | * @param {object} data |
| 52 | */ |
| 53 | constructor(configPath, data) { |
| 54 | this.#configPath = configPath; |
| 55 | this.#baseURL = new URL('./', pathToFileURL(configPath)); |
| 56 | this.#packages = new SafeMap(); |
| 57 | this.#pathToKey = new SafeMap(); |
| 58 | this.#pathToKeyCache = new SafeMap(); |
| 59 | |
| 60 | this.#parse(data); |
| 61 | } |
| 62 | |
| 63 | /** |
| 64 | * @param {object} data |
nothing calls this directly
no test coverage detected