Require single quotes

This commit is contained in:
valadaptive
2023-12-02 13:04:51 -05:00
parent a06f1e8ad6
commit a37f874e38
76 changed files with 4135 additions and 4134 deletions

View File

@ -28,106 +28,106 @@ const DIRECTORIES = {
};
const UNSAFE_EXTENSIONS = [
".php",
".exe",
".com",
".dll",
".pif",
".application",
".gadget",
".msi",
".jar",
".cmd",
".bat",
".reg",
".sh",
".py",
".js",
".jse",
".jsp",
".pdf",
".html",
".htm",
".hta",
".vb",
".vbs",
".vbe",
".cpl",
".msc",
".scr",
".sql",
".iso",
".img",
".dmg",
".ps1",
".ps1xml",
".ps2",
".ps2xml",
".psc1",
".psc2",
".msh",
".msh1",
".msh2",
".mshxml",
".msh1xml",
".msh2xml",
".scf",
".lnk",
".inf",
".reg",
".doc",
".docm",
".docx",
".dot",
".dotm",
".dotx",
".xls",
".xlsm",
".xlsx",
".xlt",
".xltm",
".xltx",
".xlam",
".ppt",
".pptm",
".pptx",
".pot",
".potm",
".potx",
".ppam",
".ppsx",
".ppsm",
".pps",
".ppam",
".sldx",
".sldm",
".ws",
'.php',
'.exe',
'.com',
'.dll',
'.pif',
'.application',
'.gadget',
'.msi',
'.jar',
'.cmd',
'.bat',
'.reg',
'.sh',
'.py',
'.js',
'.jse',
'.jsp',
'.pdf',
'.html',
'.htm',
'.hta',
'.vb',
'.vbs',
'.vbe',
'.cpl',
'.msc',
'.scr',
'.sql',
'.iso',
'.img',
'.dmg',
'.ps1',
'.ps1xml',
'.ps2',
'.ps2xml',
'.psc1',
'.psc2',
'.msh',
'.msh1',
'.msh2',
'.mshxml',
'.msh1xml',
'.msh2xml',
'.scf',
'.lnk',
'.inf',
'.reg',
'.doc',
'.docm',
'.docx',
'.dot',
'.dotm',
'.dotx',
'.xls',
'.xlsm',
'.xlsx',
'.xlt',
'.xltm',
'.xltx',
'.xlam',
'.ppt',
'.pptm',
'.pptx',
'.pot',
'.potm',
'.potx',
'.ppam',
'.ppsx',
'.ppsm',
'.pps',
'.ppam',
'.sldx',
'.sldm',
'.ws',
];
const PALM_SAFETY = [
{
category: "HARM_CATEGORY_DEROGATORY",
threshold: "BLOCK_NONE"
category: 'HARM_CATEGORY_DEROGATORY',
threshold: 'BLOCK_NONE'
},
{
category: "HARM_CATEGORY_TOXICITY",
threshold: "BLOCK_NONE"
category: 'HARM_CATEGORY_TOXICITY',
threshold: 'BLOCK_NONE'
},
{
category: "HARM_CATEGORY_VIOLENCE",
threshold: "BLOCK_NONE"
category: 'HARM_CATEGORY_VIOLENCE',
threshold: 'BLOCK_NONE'
},
{
category: "HARM_CATEGORY_SEXUAL",
threshold: "BLOCK_NONE"
category: 'HARM_CATEGORY_SEXUAL',
threshold: 'BLOCK_NONE'
},
{
category: "HARM_CATEGORY_MEDICAL",
threshold: "BLOCK_NONE"
category: 'HARM_CATEGORY_MEDICAL',
threshold: 'BLOCK_NONE'
},
{
category: "HARM_CATEGORY_DANGEROUS",
threshold: "BLOCK_NONE"
category: 'HARM_CATEGORY_DANGEROUS',
threshold: 'BLOCK_NONE'
}
];