File tree Expand file tree Collapse file tree 6 files changed +14
-11
lines changed Expand file tree Collapse file tree 6 files changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ name: Deploy Documentation
22
33on :
44 push :
5- tags :
6- - " v*.*.* "
5+ branches :
6+ - " v2 "
77 workflow_dispatch :
88
99jobs :
Original file line number Diff line number Diff line change 11.github /
22eslint.config.js
33** /* .test.js
4- src / json / jsonast-util-tests /
4+ bin /
55tsconfig.json
6+ tsconfig.build.json
7+ src /json /jsonast-util-tests /
68lib /jref /SPECIFICATION.md
79scratch /
810TODO *
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ export default tseslint.config(
1212 arrowParens : true ,
1313 braceStyle : "1tbs" ,
1414 commaDangle : "never" ,
15- flat : true ,
1615 jsx : false ,
1716 quotes : "double" ,
1817 semi : true
Original file line number Diff line number Diff line change 3737 },
3838 "devDependencies" : {
3939 "@stylistic/eslint-plugin" : " *" ,
40- "@types/content-type" : " ^1.1.8 " ,
41- "@types/moo" : " ^0.5.9 " ,
40+ "@types/content-type" : " * " ,
41+ "@types/moo" : " * " ,
4242 "@types/node" : " *" ,
4343 "@typescript-eslint/eslint-plugin" : " *" ,
4444 "@typescript-eslint/parser" : " *" ,
4545 "eslint-import-resolver-typescript" : " *" ,
4646 "eslint-plugin-import" : " *" ,
47- "typedoc" : " ^0.27.6 " ,
47+ "typedoc" : " * " ,
4848 "typescript-eslint" : " *" ,
49- "undici" : " ^7.3.0 " ,
49+ "undici" : " * " ,
5050 "vitest" : " *"
5151 },
5252 "dependencies" : {
Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ import { mimeMatch } from "./utilities.js";
2828 * }} GetOptions
2929 */
3030
31+ // TODO: Support filters
32+
3133export class Hyperjump {
3234 // TODO: Add config to enable schemes and media types
3335 #config;
@@ -83,11 +85,11 @@ export class Hyperjump {
8385 * @throws {@link JsonPointerError}
8486 */
8587 async get ( uri , options = this . #defaultGetOptions) {
86- uri = resolveIri ( uri , options . referencedFrom ?? contextUri ( ) ) ;
88+ uri = resolveIri ( uri , contextUri ( ) ) ;
8789 const id = toAbsoluteIri ( uri ) ;
8890 let { fragment } = parseIri ( uri ) ;
8991
90- // TODO: Cached and registered should be decoupled
92+ // TODO: How should cache work?
9193
9294 const cachedDocument = this . #cache[ id ] ;
9395 const embeddedDocument = options ?. referencedFrom ? this . #cache[ options . referencedFrom ] . embedded ?. [ id ] : undefined ;
Original file line number Diff line number Diff line change 2020 description : "CLI to process JRef" ,
2121 extensions : [ "jref" ] ,
2222 ignoreName : ".jrefignore" ,
23- name : "rejref " ,
23+ name : "jref " ,
2424 packageField : "jrefConfig" ,
2525 pluginPrefix : "jref" ,
2626 processor : jref ,
You can’t perform that action at this time.
0 commit comments