structured-data-testing-tool icon indicating copy to clipboard operation
structured-data-testing-tool copied to clipboard

A library and command line tool to help inspect and test for Structured Data.

Results 29 structured-data-testing-tool issues
Sort by recently updated
recently updated
newest added

**Summary of proposed feature** Allow `@id` to be used to reference one schema from another schema on the same page. **Purpose of proposed feature** This format exists to publishers to...

enhancement

**Describe the bug** Incorrect error is displayed **To Reproduce** After run of ```javascript const { structuredDataTest } = require('structured-data-testing-tool') const url = 'https://www.bbc.co.uk/news/world-us-canada-49060410' const testUrl = 'https://www.bbc.co.uk/news/world-us-canada-49060410_EXTRA_TEXT' const CustomPreset =...

bug

**Describe the bug** The new Schema.org property tests (which are in master but not in the release version) should only apply to Schema.org schemas. Currently the tool *assumes* schemas are...

bug
pre-release

**Describe the bug** The new Schema.org property tests - that check if property names valid or not - should work with nested objects. **Note: Applies to the new Schema.org property...

bug
pre-release

**Summary of proposed feature** Add `url` property to tests and presets that can be used to link to documentation, and display the the URL in the CLI when a test...

documentation
enhancement
pre-release

# Summary Upgrade dependencies with critical npm security warnings # Detail After running npm audit we found that sdtt was having 1 critical notice: ```bash # npm audit report nth-check

Bumps [json5](https://github.com/json5/json5) from 2.1.3 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...

dependencies

Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3. Changelog Sourced from qs's changelog. 6.5.3 [Fix] parse: ignore __proto__ keys (#428) [Fix] utils.merge: avoid a crash with a null target and a truthy...

dependencies

Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...

dependencies