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

@chatopera/ms-parser

Package Overview
Dependencies
Maintainers
4
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chatopera/ms-parser - npm Package Compare versions

Comparing version 1.2.2 to 1.2.5

tmp/.gitignore

4

lib/parseContents.js

@@ -261,5 +261,7 @@ 'use strict';

// Add punctuation at the end so can still match replies that have punctuation
const pattern = new RegExp(`^${gambit.conversation.clean}\\s*[?!.]*$`, 'i');
const pattern = new RegExp(`^${gambit.conversation.clean}\\s*[?!.?!。,]*$`, 'i');
if (pattern.test(reply.string.replace(/\\n/g, ' '))) {
repliesMatched.push(id);
} else if (gambit.conversation.clean.trim() === reply.string.trim()) {
repliesMatched.push(id);
}

@@ -266,0 +268,0 @@ });

{
"name": "@chatopera/ms-parser",
"version": "1.2.2",
"description": "The parser interface for SuperScript",
"version": "1.2.5",
"description": "The parser interface for Manuscript",
"main": "./lib/index.js",

@@ -6,0 +6,0 @@ "repository": {

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