ISO-Share/node_modules/prismjs/components/prism-hpkp.js
2024-11-26 21:16:11 +01:00

14 lines
309 B
JavaScript

/**
* Original by Scott Helme.
*
* Reference: https://scotthelme.co.uk/hpkp-cheat-sheet/
*/
Prism.languages.hpkp = {
'directive': {
pattern: /\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,
alias: 'property'
},
'operator': /=/,
'punctuation': /;/
};