Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

prism-neos

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prism-neos - npm Package Compare versions

Comparing version 0.0.2 to 0.1.0

test.html

16

index.js

@@ -206,3 +206,3 @@ (function (Prism) {

*
* Supports PHP 5.3 - 8.0
* Supports Neos Fusion
*/

@@ -279,7 +279,7 @@ Prism.languages.neosfusion = {

{
pattern: /(?:\/\/.*)|(?:#(?!\[).*)$/m,
pattern: /(?:\/\/|#).*$/m,
greedy: true
},
{
pattern: /\/\*[\s\S]*?(?:\*\/|$)/m,
pattern: /^(?!.*include:).*\/\*[\s\S]*?\*\//gm,
greedy: true

@@ -296,8 +296,10 @@ }

'include-statement': {
pattern: /^include:.*$/m,
pattern: /^\s*(include:.*)$/m,
alias: 'url',
lookbehind: true,
greedy: true,
inside: {
'punctuation': /(?<=include):/,
'punctuation': {
pattern: /(include):/,
lookbehind: true,
},
'keyword': {

@@ -323,3 +325,3 @@ pattern: /include/i,

'namespace': /\b[-.:@"'\w]+(?=:[-.:@"'\w]+)/,
'punctuation': /(?<!\\):/
'punctuation': /:/
}

@@ -326,0 +328,0 @@ },

{
"name": "prism-neos",
"version": "0.0.2",
"version": "0.1.0",
"description": "Neos Fusion & AFX language support",

@@ -5,0 +5,0 @@ "main": "index.js",

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