Socket
Socket
Sign inDemoInstall

@contrast/assess

Package Overview
Dependencies
Maintainers
9
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contrast/assess - npm Package Compare versions

Comparing version 1.14.0 to 1.15.0

lib/session-configuration/install/hapi.js

2

lib/dataflow/propagation/install/escape-html.js

@@ -54,3 +54,3 @@ /*

const resultInfo = tracker.getData(result);
const history = [argInfo];
const history = [{ ...argInfo }];
const newTags = createFullLengthCopyTags(argInfo.tags, result.length);

@@ -57,0 +57,0 @@

@@ -220,3 +220,3 @@ /*

if (firstElement === '"') {
if (firstElement === '"' && lastElement === '"') {
return string(input, 1);

@@ -232,3 +232,3 @@ }

default:
throw new Error('bad JSON');
return string(input, 0);
}

@@ -235,0 +235,0 @@ }

@@ -20,4 +20,7 @@ /*

module.exports = function(core) {
function getPatcherArgs(obj) {
return typeof obj === 'object' ? [obj, 'default'] : [obj];
}
module.exports = function (core) {
const {

@@ -66,5 +69,4 @@ depHooks,

(index) => {
const patchFn = typeof index === 'object' ? index.default : index;
const name = `validator.${validator}`;
return patcher.patch(patchFn, {
return patcher.patch(...getPatcherArgs(index), {
name,

@@ -103,3 +105,3 @@ patchType,

{ name: 'validator', file: `lib/${untracker}` },
(index) => patcher.patch(index.default, {
(index) => patcher.patch(...getPatcherArgs(index), {
name: `validator.${untracker}`,

@@ -121,3 +123,3 @@ patchType,

{ name: 'validator', file: `lib/${sanitizer}` },
(index) => patcher.patch(index.default, {
(index) => patcher.patch(...getPatcherArgs(index), {
name: `validator.${sanitizer}`,

@@ -154,3 +156,3 @@ patchType,

{ name: 'validator', file: `lib/${method}` },
(index) => patcher.patch(index.default, {
(index) => patcher.patch(...getPatcherArgs(index), {
name: `validator.${method}`,

@@ -157,0 +159,0 @@ patchType,

@@ -37,3 +37,3 @@ /*

sinkEvent,
props: {
properties: {
evidence: cookieValue,

@@ -40,0 +40,0 @@ },

@@ -25,2 +25,3 @@ /*

require('./install/express-session')(core);
require('./install/hapi')(core);

@@ -27,0 +28,0 @@ sessionConfiguration.install = function() {

{
"name": "@contrast/assess",
"version": "1.14.0",
"version": "1.15.0",
"description": "Contrast service providing framework-agnostic Assess support",

@@ -5,0 +5,0 @@ "license": "SEE LICENSE IN LICENSE",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc