slack-message-parser
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -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 @@ |
"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; |
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40200
31
737