slack-message-parser
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -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[]; |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
80
0
36195
23