🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

nodebb-plugin-mega-colors

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodebb-plugin-mega-colors - npm Package Compare versions

Comparing version
0.10.20
to
0.10.21
+2
-2
library.js
(function (module) {
'use strict';
var Plugin = {},
codeRegex = /(?:<pre>.*?<\/pre>|<code>.*?<\/code>)/gi,
codeRegex = /(?:<pre>(?:.|\n)*?<\/pre>|<code>(?:.|\n)*?<\/code>)/gi,
colorRegex = /%\((#(?:[A-Fa-f0-9]{3}(?:[A-Fa-f0-9]{3})?)|(?:rgb\(\d{1,3},\d{1,3},\d{1,3}\))|(?:[a-zа-я]){3,})\)\[(.+?)\]/gi;

@@ -42,3 +42,3 @@

data = data.replace(/___CODE___/g, function (match) {
data = data.replace(/___CODE___/gi, function (match) {
return codeTags.shift();

@@ -45,0 +45,0 @@ });

{
"name": "nodebb-plugin-mega-colors",
"version": "0.10.20",
"version": "0.10.21",
"nbbpm": {

@@ -5,0 +5,0 @@ "compatibility": "^0.7.1 || ^0.8.0 || ^0.9.0 || ^1.0.0"