Socket
Socket
Sign inDemoInstall

hapi-csv

Package Overview
Dependencies
121
Maintainers
3
Versions
41
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.1.4 to 5.2.0

.github/workflows/ci.yml

12

lib/index.js

@@ -11,3 +11,3 @@ 'use strict';

routeMap: new Map(),
riskyCharacters: ["=", "+", "-", "@"]
riskyCharacters: ['=', '+', '-', '@']
};

@@ -405,7 +405,7 @@

internals.csvInjectionProtector = (string) => {
if (!string) {
return "";
};
if (!string) {
return '';
}
if (typeof string !== 'string' && !(string instanceof String)) {

@@ -418,3 +418,3 @@ return string;

if(!isInjected) {
if (!isInjected) {
return string;

@@ -421,0 +421,0 @@ }

{
"name": "hapi-csv",
"version": "5.1.4",
"version": "5.2.0",
"description": "Hapi plugin for converting a Joi response schema and dataset to csv",
"main": "lib/index.js",
"scripts": {
"test": "lab -a @hapi/code -vL --lint-fix -t 98 -I cptable"
"test": "lab -a @hapi/code -vL --lint-fix -t 96 -I cptable"
},

@@ -26,12 +26,12 @@ "repository": {

"dependencies": {
"@hapi/hoek": "^9.2.0",
"exceljs": "^4.2.1",
"@hapi/hoek": "^9.2.1",
"exceljs": "^4.3.0",
"fast-csv": "^4.3.6",
"xlsx": "^0.18.0"
"xlsx": "^0.18.2"
},
"devDependencies": {
"@hapi/code": "^8.0.3",
"joi": "^17.4.1",
"@hapi/lab": "^24.3.2",
"@hapi/hapi": "^20.1.5"
"@hapi/code": "^8.0.7",
"@hapi/hapi": "^20.2.1",
"@hapi/lab": "^24.5.1",
"joi": "^17.6.0"
},

@@ -38,0 +38,0 @@ "peerDependencies": {

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc