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

slack-message-parser

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slack-message-parser - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

6

CHANGELOG.md

@@ -10,2 +10,8 @@ # Changelog

## [1.0.7] - 2020-12-10
### Fixed
- Add more disallowed characters to emoji regex (PR: [#28](https://github.com/pocka/slack-message-parser/pull/28)).
## [1.0.6] - 2019-11-08

@@ -12,0 +18,0 @@

1

lib/combinator.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.topOfLine = exports.explicit = exports.regexp = exports.or = void 0;
exports.or = (parsers) => {

@@ -4,0 +5,0 @@ const { length } = parsers;

16

lib/index.js
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = void 0;
const Node_1 = require("./types/Node");

@@ -45,3 +53,3 @@ const parser_1 = require("./parser");

exports.default = exports.parse;
__export(require("./types/Node"));
__exportStar(require("./types/Node"), exports);
//# sourceMappingURL=index.js.map

@@ -84,3 +84,3 @@ "use strict";

}));
const parseEmoji = combinator_1.regexp(/^:([^:<`*#@!\s]+):(:(skin-tone-.+?):)?/, (match, text, position) => {
const parseEmoji = combinator_1.regexp(/^:([^:<`*#@!\s()$%]+):(:(skin-tone-.+?):)?/, (match, text, position) => {
const [matchedText, name, _, variation] = match;

@@ -87,0 +87,0 @@ return [

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NodeType = void 0;
var NodeType;

@@ -4,0 +5,0 @@ (function (NodeType) {

{
"name": "slack-message-parser",
"version": "1.0.6",
"version": "1.0.7",
"description": "Parser for Slack message",

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

@@ -126,3 +126,3 @@ import { NodeType } from './types/Node'

const parseEmoji = regexp(
/^:([^:<`*#@!\s]+):(:(skin-tone-.+?):)?/,
/^:([^:<`*#@!\s()$%]+):(:(skin-tone-.+?):)?/,
(match, text, position) => {

@@ -129,0 +129,0 @@ const [matchedText, name, _, variation] = match

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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