@@ -92,7 +92,7 @@ const getContainerTypeFromPath = (
9292} ;
9393
9494/**
95- * Inventories the given JSON Reference (i.e. records detailed information about it so we can
95+ * Inventories the given JSON Reference (i.e., records detailed information about it so we can
9696 * optimize all $refs in the schema), and then crawls the resolved value.
9797 */
9898const inventory$Ref = < S extends object = JSONSchema > ( {
@@ -214,9 +214,9 @@ const inventory$Ref = <S extends object = JSONSchema>({
214214
215215 const newEntry : InventoryEntry = {
216216 $ref, // The JSON Reference (e.g., {$ref: string})
217- circular : pointer . circular , // Is this $ref pointer DIRECTLY circular? (i.e. it references itself)
217+ circular : pointer . circular , // Is this $ref pointer DIRECTLY circular? (i.e., it references itself)
218218 depth, // How far from the JSON Schema root is this $ref pointer?
219- extended, // Does this $ref extend its resolved value? (i.e. it has extra properties, in addition to "$ref")
219+ extended, // Does this $ref extend its resolved value? (i.e., it has extra properties, in addition to "$ref")
220220 external, // Does this $ref pointer point to a file other than the main JSON Schema file?
221221 file, // The file that the $ref pointer resolves to
222222 hash, // The hash within `file` that the $ref pointer resolves to
@@ -570,7 +570,7 @@ function remap(parser: $RefParser, inventory: Array<InventoryEntry>) {
570570 }
571571
572572 // Keep internal refs internal. However, if the $ref extends the resolved value
573- // (i.e. it has additional properties in addition to "$ref"), then we must
573+ // (i.e., it has additional properties in addition to "$ref"), then we must
574574 // preserve the original $ref rather than rewriting it to the resolved hash.
575575 if ( ! entry . external ) {
576576 if ( ! entry . extended && entry . $ref && typeof entry . $ref === 'object' ) {
0 commit comments