Initial Commit
This commit is contained in:
14
node_modules/prismjs/components/prism-hpkp.js
generated
vendored
Normal file
14
node_modules/prismjs/components/prism-hpkp.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* 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': /;/
|
||||
};
|
Reference in New Issue
Block a user