New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nodebb-plugin-poll

Package Overview
Dependencies
Maintainers
5
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodebb-plugin-poll - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

package-lock.json

2

package.json
{
"name": "nodebb-plugin-poll",
"version": "1.1.0",
"version": "1.1.1",
"description": "NodeBB Poll Plugin",

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

@@ -53,3 +53,4 @@ "use strict";

Serializer.canSerialize = function(post) {
return pollRegex.test(post) !== null;
pollRegex.lastIndex = 0;
return pollRegex.test(post);
};

@@ -62,3 +63,4 @@

Serializer.hasMarkup = function(content) {
const has = pollRegex.test(content) !== null;
pollRegex.lastIndex = 0;
const has = pollRegex.test(content);
return has;

@@ -65,0 +67,0 @@ };

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