@stoplight/prism-core
Advanced tools
Comparing version 3.2.5 to 3.2.6-3.3.0-alpha.1.0
@@ -10,7 +10,5 @@ "use strict"; | ||
this.detail = detail; | ||
Error.captureStackTrace(this, ProblemJsonError); | ||
} | ||
static fromTemplate(template, detail) { | ||
const error = new ProblemJsonError(`https://stoplight.io/prism/errors#${template.type}`, template.title, template.status, detail || ''); | ||
Error.captureStackTrace(error, ProblemJsonError); | ||
return error; | ||
@@ -17,0 +15,0 @@ } |
{ | ||
"name": "@stoplight/prism-core", | ||
"version": "3.2.5", | ||
"version": "3.2.6-3.3.0-alpha.1.0", | ||
"main": "dist/index.js", | ||
@@ -26,3 +26,3 @@ "types": "dist/index.d.ts", | ||
}, | ||
"gitHead": "233fb96d22cc8752773b90519d03e59cfb37d716" | ||
"gitHead": "633905da52ce828ab54f9183b8f30211b9e30767" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19499
198
1
2