File tree 5 files changed +11
-10
lines changed
5 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ name: Deploy Documentation
2
2
3
3
on :
4
4
push :
5
- tags :
6
- - " v*.*.* "
5
+ branches :
6
+ - " v2 "
7
7
workflow_dispatch :
8
8
9
9
jobs :
Original file line number Diff line number Diff line change 2
2
eslint.config.js
3
3
** /* .test.js
4
4
src /json /jsonast-util-tests /
5
- tsconfig.json
6
5
lib /jref /SPECIFICATION.md
7
6
scratch /
8
7
TODO *
Original file line number Diff line number Diff line change 37
37
},
38
38
"devDependencies" : {
39
39
"@stylistic/eslint-plugin" : " *" ,
40
- "@types/content-type" : " ^1.1.8 " ,
41
- "@types/moo" : " ^0.5.9 " ,
40
+ "@types/content-type" : " * " ,
41
+ "@types/moo" : " * " ,
42
42
"@types/node" : " *" ,
43
43
"@typescript-eslint/eslint-plugin" : " *" ,
44
44
"@typescript-eslint/parser" : " *" ,
45
45
"eslint-import-resolver-typescript" : " *" ,
46
46
"eslint-plugin-import" : " *" ,
47
- "typedoc" : " ^0.27.6 " ,
47
+ "typedoc" : " * " ,
48
48
"typescript-eslint" : " *" ,
49
- "undici" : " ^7.3.0 " ,
49
+ "undici" : " * " ,
50
50
"vitest" : " *"
51
51
},
52
52
"dependencies" : {
Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ import { mimeMatch } from "./utilities.js";
28
28
* }} GetOptions
29
29
*/
30
30
31
+ // TODO: Support filters
32
+
31
33
export class Hyperjump {
32
34
// TODO: Add config to enable schemes and media types
33
35
#config;
@@ -83,11 +85,11 @@ export class Hyperjump {
83
85
* @throws {@link JsonPointerError}
84
86
*/
85
87
async get ( uri , options = this . #defaultGetOptions) {
86
- uri = resolveIri ( uri , options . referencedFrom ?? contextUri ( ) ) ;
88
+ uri = resolveIri ( uri , contextUri ( ) ) ;
87
89
const id = toAbsoluteIri ( uri ) ;
88
90
let { fragment } = parseIri ( uri ) ;
89
91
90
- // TODO: Cached and registered should be decoupled
92
+ // TODO: How should cache work?
91
93
92
94
const cachedDocument = this . #cache[ id ] ;
93
95
const embeddedDocument = options ?. referencedFrom ? this . #cache[ options . referencedFrom ] . embedded ?. [ id ] : undefined ;
Original file line number Diff line number Diff line change 20
20
description : "CLI to process JRef" ,
21
21
extensions : [ "jref" ] ,
22
22
ignoreName : ".jrefignore" ,
23
- name : "rejref " ,
23
+ name : "jref " ,
24
24
packageField : "jrefConfig" ,
25
25
pluginPrefix : "jref" ,
26
26
processor : jref ,
You can’t perform that action at this time.
0 commit comments