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

xbbcode-parser

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xbbcode-parser - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "xbbcode-parser",
"version": "0.1.0",
"version": "0.1.1",
"description": "Allows you to parse BBCode and to extend the markup to add your own tags.",

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

@@ -40,3 +40,3 @@ /*

var me = {},
urlPattern = /^(?:https?|file|c):(?:\/{1,3}|\\{1})[-a-zA-Z0-9:;@#%&()~_?\+=\/\\\.]*$/,
urlPattern = /^(?:https?|file|c):(?:\/{1,3}|\\{1})[-a-zA-Z0-9:;,@#%&()~_?\+=\/\\\.]*$/,
colorNamePattern = /^(?:aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen)$/,

@@ -137,3 +137,4 @@ colorCodePattern = /^#?[a-fA-F0-9]{6}$/,

openTag: function(params,content) {
params = params || '';
var colorCode = (params.substr(1)).toLowerCase() || "black";

@@ -182,2 +183,3 @@ colorNamePattern.lastIndex = 0;

openTag: function(params,content) {
params = params || '';

@@ -199,2 +201,3 @@ var faceCode = params.substr(1) || "inherit";

openTag: function(params,content) {
params = params || '';

@@ -248,4 +251,4 @@ var faceCode = params.substr(1) || "inherit";

openTag: function(params,content) {
params = params || '';
params = params || '';
var colorCode = params.substr(1) || "inherit";

@@ -350,2 +353,3 @@ colorNamePattern.lastIndex = 0;

openTag: function(params,content) {
params = params || '';

@@ -365,4 +369,4 @@ var mySize = parseInt(params.substr(1),10) || 0;

openTag: function(params,content) {
params = params || '';
params = params || '';
var colorCode = params.substr(1) || "inherit";

@@ -789,3 +793,3 @@ colorNamePattern.lastIndex = 0;

}
ret.error = errQueue.length !== 0;

@@ -792,0 +796,0 @@ ret.errorQueue = errQueue;

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