Skip to content

Commit 6891936

Browse files
committed
Keep old deprecated constant.
- Keep in case anyone was using it. Will remove later.
1 parent 303bc58 commit 6891936

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515

1616
### Changed
1717
- Keep term definitions mapping to null so they may be protected.
18+
- **NOTE**: `LINK_HEADER_REL` in `lib/constants.js` has been deprecated and
19+
renamed to `LINK_HEADER_CONTEXT`. It remains for now but will be removed in a
20+
future release.
1821

1922
## 2.0.2 - 2020-01-17
2023

lib/constants.js

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ const RDF = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#';
77
const XSD = 'http://www.w3.org/2001/XMLSchema#';
88

99
module.exports = {
10+
// TODO: Deprecated and will be removed later. Use LINK_HEADER_CONTEXT.
11+
LINK_HEADER_REL: 'http://www.w3.org/ns/json-ld#context',
12+
1013
LINK_HEADER_CONTEXT: 'http://www.w3.org/ns/json-ld#context',
1114

1215
RDF,

0 commit comments

Comments
 (0)