Skip to content

fix: include CommonJS resources in the npm package #714

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

tbouffard
Copy link
Contributor

@tbouffard tbouffard commented Feb 19, 2025

Purpose / Goal

The package.json file didn't declare a "files" attribute, so default files were included, but not the files in the lib folder (which includes CommonJS resources)

Closes #713

I have run npm pack with the new configuration to verify that the content is the same as in https://www.npmjs.com/package/fast-xml-parser/v/5.0.1?activeTab=code and includes the lib folder.

Type

Please mention the type of PR

  • Bug Fix
  • Refactoring / Technology upgrade
  • New Feature

Sorry, something went wrong.

The `package.json` file didn't declare a "files" attribute, so default files were included, but not the files in the lib folder (which includes CommonJS resources)
Copy link

guardrails bot commented Feb 19, 2025

⚠️ We detected 1 security issue in this pull request:

Vulnerable Libraries (1)
Severity Details
Medium xml2js@0.4.23 (t) upgrade to: >=0.6.2

More info on how to fix Vulnerable Libraries in JavaScript.


👉 Go to the dashboard for detailed results.

📥 Happy? Share your feedback with us.

@amitguptagwl amitguptagwl merged commit 5d9f416 into NaturalIntelligence:master Feb 20, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The npm package for version 5.0.1 does not include CommonJS resources
2 participants