You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

jsx-slack

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsx-slack - npm Package Versions

23

6.1.2

Diff
y
yhatt
published 6.1.2 •

Changelog

Source

v6.1.2 - 2024-10-31

Fixed

  • JSXSlackTemplateTag type now accepts pure readonly string array (#312)
  • Fix JSXSlack.Children.toArray to make flatten children correctly even if caused dual import of <Fragment> (#319, #320)

Changed

  • Upgrade Node.js and dependent packages (#313)
y
yhatt
published 6.1.1 •

Changelog

Source

v6.1.1 - 2023-12-14

Fixed

y
yhatt
published 6.1.0 •

Changelog

Source

v6.1.0 - 2023-12-14

Added

Changed

  • Upgrade Node.js and dependent packages (#303)

Fixed

  • Avoid using node_modules directory for pre-bundled external modules in ESM output (#308 by @nihalgonsalves)

Removed

  • Test against Node.js 14 (#303)
y
yhatt
published 6.0.0 •

Changelog

Source

v6.0.0 - 2023-02-22

Breaking

  • URLs in <a> tags have no longer been encoded by encodeURI() implicitly, excluding some characters that have conflicted with Slack's mrkdwn format (#288, #289 by @nholden)

For keeping to get the compatible output with v5, wrap the value of href attribute with encodeURI() explicitly.

 <Mrkdwn>
-  <a href={'https://example.com/?regex=<([^/]+?)>'}>Link</a>
+  <a href={encodeURI('https://example.com/?regex=<([^/]+?)>')}>Link</a>
 </Mrkdwn>

Changed

Removed

  • Removed deprecated types: VoidFunctionComponent, VFC, JSXSlack.FunctionalComponent, JSXSlack.VoidFunctionalComponent, and JSXSlack.Props (#293)
y
yhatt
published 5.3.1 •

Changelog

Source

v5.3.1 - 2023-02-19

Fixed

  • Define types field of conditional exports (#290 by @odanado)

Changed

  • Upgrade Node.js and dependent packages (#291)
y
yhatt
published 5.3.0 •

Changelog

Source

v5.3.0 - 2022-12-11

Added

  • Add description prop support to <Option> component (#284, #285)
y
yhatt
published 5.2.1 •

Changelog

Source

v5.2.1 - 2022-11-23

Fixed

  • Improve compatibility with npm support for Deno (#283)
y
yhatt
published 5.2.0 •

Changelog

Source

v5.2.0 - 2022-10-29

Added

Changed

  • Upgrade dependent packages to the latest version (#281)
y
yhatt
published 5.1.0 •

Changelog

Source

v5.1.0 - 2022-07-16

Added

Fixed

  • Make stable documentation anchor links (#274)
y
yhatt
published 5.0.0 •

Changelog

Source

v5.0.0 - 2022-06-19

Breaking

  • Dropped EoL Node.js 12 support (#271)

  • Removed implicit children prop from FunctionComponent to make compatible types with React 18 (Use PropsWithChildren<P> to include children prop) (#270)

    -JSXSlack.FunctionComponent<P>
    +JSXSlack.FunctionComponent<JSXSlack.PropsWithChildren<P>>
    -JSXSlack.FunctionComponent
    +JSXSlack.FunctionComponent<JSXSlack.PropsWithChildren<{}>>
    

Deprecated

  • VoidFunctionComponent, VFC, FunctionalComponent, VoidFunctionalComponent, and Props type (#270)

    | Depreacted | Replace to | | :-----------------------------: | :------------------------: | | VoidFunctionComponent / VFC | FunctionComponent / FC | | FunctionalComponent | FunctionComponent / FC | | VoidFunctionalComponent | FunctionComponent / FC | | Props<P> | P |

Changed

  • Upgrade Node and dependent packages to the latest version (#271)