Skip to content

Commit 5a5c035

Browse files
Use canonical URLs
1 parent 063c1bc commit 5a5c035

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Lots of little bug fixes. The only major bug fix is to [support root-level `$re
8686

8787
This version includes a **complete rewrite** of the [`bundle` method](https://github.com/APIDevTools/json-schema-ref-parser/blob/master/docs/ref-parser.md#bundleschema-options-callback) method, mostly to fix [this bug](https://github.com/APIDevTools/swagger-parser/issues/16), but also to address a few [edge-cases](https://github.com/APIDevTools/json-schema-ref-parser/commit/ca9b322879519e4bcb2dcf6e63f08ac254b90868) that weren't handled before. As a side-effect of this rewrite, there was also some pretty significant refactoring and code-cleanup done throughout the codebase.
8888

89-
Despite the significant code changes, there were no changes to any public-facing APIs, and [all tests are passing](https://apidevtools.org/json-schema-ref-parser/test/index.html) as expected.
89+
Despite the significant code changes, there were no changes to any public-facing APIs, and [all tests are passing](https://apidevtools.org/json-schema-ref-parser/test/) as expected.
9090

9191
[Full Changelog](https://github.com/APIDevTools/json-schema-ref-parser/compare/v2.1.0...v2.2.0)
9292

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ JSON Schema $Ref Parser is a full [JSON Reference](https://tools.ietf.org/html/d
5050
- Supports `$ref` pointers to external files and URLs, as well as [custom sources](https://apidevtools.org/json-schema-ref-parser/docs/plugins/resolvers.html) such as databases
5151
- Can [bundle](https://apidevtools.org/json-schema-ref-parser/docs/ref-parser.html#bundlepath-options-callback) multiple files into a single schema that only has _internal_ `$ref` pointers
5252
- Can [dereference](https://apidevtools.org/json-schema-ref-parser/docs/ref-parser.html#dereferencepath-options-callback) your schema, producing a plain-old JavaScript object that's easy to work with
53-
- Supports [circular references](https://apidevtools.org/json-schema-ref-parser/docs/README.html#circular-refs), nested references, back-references, and cross-references between files
53+
- Supports [circular references](https://apidevtools.org/json-schema-ref-parser/docs/#circular-refs), nested references, back-references, and cross-references between files
5454
- Maintains object reference equality — `$ref` pointers to the same value always resolve to the same object instance
55-
- [Tested](https://apidevtools.org/json-schema-ref-parser/test/index.html) in Node, io.js, and all major web browsers on Windows, Mac, and Linux
55+
- [Tested](https://apidevtools.org/json-schema-ref-parser/test/) in Node, io.js, and all major web browsers on Windows, Mac, and Linux
5656

5757

5858
Example
@@ -143,7 +143,7 @@ To build/test the project locally on your computer:
143143
`npm test`
144144

145145
5. __Start the local web server__<br>
146-
`npm start` (then browse to [http://localhost:8080/test/index.html](https://apidevtools.org/json-schema-ref-parser/test/index.html))
146+
`npm start` (then browse to [http://localhost:8080/test/](http://localhost:8080/test/))
147147

148148

149149
License

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"upgrade": "npm-check -u",
5454
"bump": "bump --prompt --grep dist/* --tag --push --all",
5555
"release": "npm run upgrade && npm test && npm run bump && npm publish",
56-
"start": "http-server -c-1 -o http://localhost:8080/test/index.html"
56+
"start": "http-server -c-1 -o http://localhost:8080/test/"
5757
},
5858
"devDependencies": {
5959
"@types/json-schema": "^7.0.1",
@@ -88,4 +88,4 @@
8888
"js-yaml": "^3.12.0",
8989
"ono": "^4.0.10"
9090
}
91-
}
91+
}

0 commit comments

Comments
 (0)