@contrast/protect
Advanced tools
Comparing version 1.1.0 to 1.1.1
'use strict'; | ||
const SecurityException = require('../../security-exception'); | ||
const { PATCH_TYPES } = require('@contrast/scopes/lib/constants'); | ||
const { patchType } = require('../constants'); | ||
module.exports = function(core) { | ||
@@ -21,3 +22,3 @@ const { | ||
name: 'Koa.Application', | ||
patchType: PATCH_TYPES.FRAMEWORK, | ||
patchType, | ||
pre(data) { | ||
@@ -27,3 +28,3 @@ const [ctx] = data.args; | ||
name: 'koa.ctx.onerror', | ||
patchType: PATCH_TYPES.FRAMEWORK, | ||
patchType, | ||
around(org, data) { | ||
@@ -30,0 +31,0 @@ const [err] = data.args; |
{ | ||
"name": "@contrast/protect", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Contrast service providing framework-agnostic Protect support", | ||
@@ -5,0 +5,0 @@ "license": "SEE LICENSE IN LICENSE", |
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
74205