@stoplight/json-ref-resolver
Advanced tools
Comparing version 2.4.1 to 3.0.0
@@ -0,0 +0,0 @@ import * as Types from './types'; |
@@ -0,0 +0,0 @@ import { DepGraph } from 'dependency-graph'; |
export * from './resolver'; | ||
export { Cache } from './cache'; | ||
export { defaultGetRef } from './runner'; |
{ | ||
"name": "@stoplight/json-ref-resolver", | ||
"version": "2.4.1", | ||
"version": "3.0.0", | ||
"description": "Recursively resolve JSON pointers and remote authorities.", | ||
@@ -18,3 +18,2 @@ "keywords": [ | ||
], | ||
"main": "index.js", | ||
"sideEffects": false, | ||
@@ -35,8 +34,8 @@ "files": [ | ||
"@stoplight/json": "^3.1.2", | ||
"@stoplight/types": "^11.1.1", | ||
"@stoplight/path": "^1.3.0", | ||
"@stoplight/types": "^11.0.0", | ||
"@types/urijs": "1.x.x", | ||
"dependency-graph": "~0.8.0", | ||
"fast-memoize": "^2.5.1", | ||
"immer": "^3.2.0", | ||
"immer": "^4.0.1", | ||
"lodash": "^4.17.15", | ||
@@ -46,3 +45,5 @@ "tslib": "^1.10.0", | ||
}, | ||
"main": "index.cjs.js", | ||
"module": "index.es.js", | ||
"typings": "index.d.ts" | ||
} |
@@ -0,0 +0,0 @@ /// <reference types="urijs" /> |
@@ -9,3 +9,3 @@ /// <reference types="urijs" /> | ||
readonly uriCache: Types.ICache; | ||
readonly graph: DepGraph<any>; | ||
readonly graph: Types.IResolveRunner['graph']; | ||
readonly root: string; | ||
@@ -40,2 +40,4 @@ depth: number; | ||
private isFile; | ||
private _setGraphNodeData; | ||
private _setGraphNodeEdge; | ||
} |
/// <reference types="urijs" /> | ||
import { Segment } from '@stoplight/types'; | ||
import { Dictionary, Segment } from '@stoplight/types'; | ||
import { DepGraph } from 'dependency-graph'; | ||
@@ -28,3 +28,3 @@ export interface IResolverOpts { | ||
}; | ||
graph: DepGraph<any>; | ||
graph: DepGraph<IGraphNodeData>; | ||
errors: IResolveError[]; | ||
@@ -107,2 +107,6 @@ runner: IResolveRunner; | ||
} | ||
export interface IGraphNodeData { | ||
refMap: Dictionary<string>; | ||
data?: any; | ||
} | ||
export interface IResolveRunner { | ||
@@ -116,3 +120,3 @@ id: number; | ||
baseUri: uri.URI; | ||
graph: DepGraph<any>; | ||
graph: DepGraph<IGraphNodeData>; | ||
root: string; | ||
@@ -119,0 +123,0 @@ atMaxUriDepth: () => boolean; |
@@ -0,0 +0,0 @@ /// <reference types="urijs" /> |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
228467
6016
18
2
1
+ Addedimmer@4.0.2(transitive)
- Removedimmer@3.3.0(transitive)
Updated@stoplight/types@^11.1.1
Updatedimmer@^4.0.1