Skip to content

Commit

Permalink
fix: use encodeQualifierValue for qualifierKey and qualifierValue
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalton committed Aug 14, 2024
1 parent ff590d2 commit f81a6be
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/purl-component.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ const {
encodeNamespace,
encodeVersion,
encodeQualifiers,
encodeQualifierKey,
encodeQualifierValue,
encodeQualifierParam,
encodeSubpath,
encodeURIComponent
} = require('./encode')
Expand Down Expand Up @@ -70,8 +69,8 @@ module.exports = {
namespace: encodeNamespace,
version: encodeVersion,
qualifiers: encodeQualifiers,
qualifierKey: encodeQualifierKey,
qualifierValue: encodeQualifierValue,
qualifierKey: encodeQualifierParam,
qualifierValue: encodeQualifierParam,
subpath: encodeSubpath
},
normalize: {
Expand Down

0 comments on commit f81a6be

Please sign in to comment.