Skip to content

Conversation

@herzog31
Copy link
Member

Description

  • Removed internal dependency to node fs library, so that the project can be executed in the browser context.
  • Added a section to the README which explains how to run the project in the browser.
  • Constructor signature of main Validator class has changed slightly as it now takes the schema.org schema as JSON object instead of a path.
  • Fixed minor bug in Product validator which caused an empty issue to be returned.

How Has This Been Tested?

  • Updated unit tests.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@herzog31 herzog31 merged commit 159d9fb into main Jul 31, 2025
4 checks passed
@herzog31 herzog31 deleted the browser-support branch July 31, 2025 13:09
github-actions bot pushed a commit that referenced this pull request Jul 31, 2025
## [1.2.4](v1.2.3...v1.2.4) (2025-07-31)

### Bug Fixes

* Allow execution in the browser ([#31](#31)) ([159d9fb](159d9fb))
@github-actions
Copy link

🎉 This PR is included in version 1.2.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant