Skip to content
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

Add support for @direction. #7

Merged
merged 2 commits into from
Nov 25, 2024
Merged

Add support for @direction. #7

merged 2 commits into from
Nov 25, 2024

Conversation

gannan08
Copy link
Contributor

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Nov 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.12%. Comparing base (1dc8833) to head (874718c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #7      +/-   ##
==========================================
+ Coverage   97.10%   97.12%   +0.02%     
==========================================
  Files           6        6              
  Lines         138      139       +1     
==========================================
+ Hits          134      135       +1     
  Misses          4        4              
Files with missing lines Coverage Δ
lib/canonize.js 100.00% <100.00%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1dc8833...874718c. Read the comment docs.

---- 🚨 Try these New Features:

@gannan08 gannan08 changed the title Add support for . Add support for @direction. Nov 22, 2024
@gannan08 gannan08 requested a review from dlongley November 22, 2024 12:13
lib/canonize.js Outdated
Comment on lines 16 to 17
const opts = {
...options, produceGeneralizedRdf: false, rdfDirection: 'i18n-datatype'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const opts = {
...options, produceGeneralizedRdf: false, rdfDirection: 'i18n-datatype'
const opts = {
rdfDirection: 'i18n-datatype', ...options, produceGeneralizedRdf: false

lib/canonize.js Outdated
const opts = {...options, produceGeneralizedRdf: false};
const opts = {
...options, produceGeneralizedRdf: false, rdfDirection: 'i18n-datatype'
};
delete opts.format;
opts.produceGeneralizedRdf = false;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
opts.produceGeneralizedRdf = false;

@gannan08 gannan08 merged commit bb22f92 into main Nov 25, 2024
5 checks passed
@gannan08 gannan08 deleted the rdf-direction branch November 25, 2024 17:51
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.

3 participants