Files
DefinitelyTyped-tools/packages/utils/test
Federico Panico fd4be462c3 fix: parser fails with older scoped packages. (#208)
* fix: parser fails with older scoped packages.

Given a path mapping as

```
"paths": {
	"@ckeditor/ckeditor5-utils": [
		"ckeditor__ckeditor5-utils/v10"
	]
}
```

definitions-parser failed to understand that `/v10` is not part of the
package name, and that the key of the mapping must be a scoped name.

* Resolve PR comments

- add test coverage
- simplify implementation

* Add test in definition-parser

* Use scopedPackageName in Error for missing mapping

Co-authored-by: Piotr Błażejewicz <peterblazejewicz@users.noreply.github.com>
2021-03-05 13:59:19 -05:00
..
2020-03-05 11:26:50 -08:00