The npm package for version 5.0.1 does not include CommonJS resources
envgap__NaturalIntelligence__fast-xml-parser-713
01 / FAILURE SIGNATURE
As reported upstream
* [ ] Have you included sample input, output, error, and expected output?
Not a benchmark task.
- The project already builds and runs before the fix, so there is nothing to repair.
02 / ENVIRONMENT RECIPE
- Base commit
2f7d138af8338aaf65c1d98902f76259c7233373- Manifest
package.json- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
NaturalIntelligence/fast-xml-parser #713 · read the original issue
* [x] Are you running the latest version? * [ ] Have you included sample input, output, error, and expected output? * [ ] Have you checked if you are using correct configuration? * [ ] Did you try online [tool](https://naturalintelligence.github.io/fast-xml-parser/)? * [ ] Have you checked the [docs](https://github.com/NaturalIntelligence/fast-xml-parser/tree/master/docs) for helpful APIs and examples? ### Description <!-- Please provide following data to avoid long communication and fast resolution. --> The package.json files references the lib folder for CommonJS resources but they are not included in the package (the lib folder is missing). Only the ESM resources are available (in the lib folder). https://github.com/NaturalIntelligence/fast-xml-parser/blob/3bd66b992e38677594c58ee02a165791202bc4c8/package.json#L5-L16 See https://www.npmjs.com/package/fast-xml-parser/v/5.0.1?activeTab=code  <!-- ### Input <!- - Please include your sample code or steps to reproduce here - -> ### Code ```js Include the code being used for parsing ``` ### Output <!- - Please include output data or error here - -> ### expected data <!- - Please include expected output data here - -> --> **Would you like to work on this issue?** <!-- choose one by changing [ ] to [x] --> - [x] Yes - [ ] No I guess that adding the lib folder in the "files" attribute of the package.json file should fix the problem 😸 <!-- [Bookmark](https://github.com/NaturalIntelligence/fast-xml-parser/stargazers) this repository for further updates. Visit [SoloThought](https://solothought.com) to know about recent features. <!-- Love Fast-XML-Parser? Please consider supporting us: 👉 https://opencollective.com/fast-xml-parser/donate 👉 https://paypal.me/naturalintelligence 👉👉 https://github.com/sponsors/NaturalIntelligence -->
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]