This library (and @stoplight/json, probably others) has a runtime dependency on tslib in the compiled JavaScript. Use of that package gets emitted when using compiling with import helpers (e.g. this is set in Stoplight's main tsconfig.json). However the dependency is missing from package.json so using the package from JavaScript will usually fail.
This library (and
@stoplight/json
, probably others) has a runtime dependency ontslib
in the compiled JavaScript. Use of that package gets emitted when using compiling with import helpers (e.g. this is set in Stoplight's maintsconfig.json
). However the dependency is missing frompackage.json
so using the package from JavaScript will usually fail.