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 3.0.0 to 3.0.1

2

docs/installation.md

@@ -25,3 +25,3 @@ # Installation

```js
import { parse } from "https://deno.land/x/slack_message_parser@3.0.0/mod.ts";
import { parse } from "https://deno.land/x/slack_message_parser@v3.0.0/mod.ts";

@@ -28,0 +28,0 @@ console.dir(parse("Slack *message* ~to~ _parse_"));

@@ -6,3 +6,3 @@ {

"name": "slack-message-parser",
"version": "3.0.0",
"version": "3.0.1",
"description": "Parser for Slack message",

@@ -26,8 +26,8 @@ "repository": {

"import": {
"default": "./esm/mod.js",
"types": "./types/mod.d.ts"
"types": "./types/mod.d.ts",
"default": "./esm/mod.js"
},
"require": {
"default": "./script/mod.js",
"types": "./types/mod.d.ts"
"types": "./types/mod.d.ts",
"default": "./script/mod.js"
}

@@ -40,6 +40,6 @@ }

"devDependencies": {
"@types/node": "16.11.37",
"chalk": "4.1.2",
"@deno/shim-deno": "~0.10.0"
"@types/node": "^18.11.9",
"chalk": "^4.1.2",
"@deno/shim-deno": "~0.14.0"
}
}
# slack-message-parser
[![npm](https://img.shields.io/npm/v/slack-message-parser)](https://www.npmjs.com/package/slack-message-parser)
[![Lint Workflow Status](https://img.shields.io/github/workflow/status/pocka/slack-message-parser/Lint%20files?label=lint)](https://github.com/pocka/slack-message-parser/actions/workflows/lint.yml)
[![Test Workflow Status](https://img.shields.io/github/workflow/status/pocka/slack-message-parser/Test%20and%20collect%20coverage?label=test)](https://github.com/pocka/slack-message-parser/actions/workflows/test.yml)
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/pocka/slack-message-parser/Deploy%20Docs?label=docs%20deploy)](https://github.com/pocka/slack-message-parser/actions/workflows/docs-deploy.yml)
[![Deno](https://deno.land/badge/slack_message_parser/version)](https://deno.land/x/slack_message_parser)
[![Lint Workflow Status](https://img.shields.io/github/actions/workflow/status/pocka/slack-message-parser/lint.yml?label=lint&branch=master)](https://github.com/pocka/slack-message-parser/actions/workflows/lint.yml)
[![Test Workflow Status](https://img.shields.io/github/actions/workflow/status/pocka/slack-message-parser/test.yml?label=test&branch=master)](https://github.com/pocka/slack-message-parser/actions/workflows/test.yml)
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/pocka/slack-message-parser/docs-deploy.yml?label=docs%20deploy&branch=master)](https://github.com/pocka/slack-message-parser/actions/workflows/docs-deploy.yml)
[![codecov](https://img.shields.io/codecov/c/github/pocka/slack-message-parser)](https://codecov.io/gh/pocka/slack-message-parser)

@@ -8,0 +9,0 @@

@@ -48,3 +48,3 @@ /**

*/
export declare type Node = Text | ChannelLink | UserLink | URL | Command | Emoji | PreText | Code | Italic | Bold | Strike | Quote | Root;
export type Node = Text | ChannelLink | UserLink | URL | Command | Emoji | PreText | Code | Italic | Bold | Strike | Quote | Root;
export interface NodeBase {

@@ -51,0 +51,0 @@ type: NodeType;

import { Node } from "./Node.js";
export declare type Parser = (text: string, position: number, parseText: ParseText) => [Node, number] | null;
export declare type ParseText = (text: string) => Node[];
export type Parser = (text: string, position: number, parseText: ParseText) => [Node, number] | null;
export type ParseText = (text: string) => Node[];
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