Skip to content

Bug: Uses http://schema.org/ instead of https://schema.org/ #3

@melvincarvalho

Description

@melvincarvalho

Description

The JSON-LD parser hardcodes http://schema.org/ for the schema: prefix expansion, but schema.org now prefers https://.

Locations

src/index.ts line 45:

const typeUri = node['@type'].replace('schema:', 'http://schema.org/')

src/index.ts line 52:

const pred = $rdf.sym(key.replace('schema:', 'http://schema.org/'))

Fix

Change both occurrences to use https://schema.org/.

Impact

Panes that use https://schema.org/ namespace won't find properties stored with http://schema.org/.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions