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

jsx-md

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsx-md - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

CHANGELOG.md

4

lib/awaitComponent.d.ts

@@ -1,2 +0,2 @@

import { Component, MdFunctionElement } from ".";
import { Component, MarkdownElement } from ".";
/**

@@ -14,2 +14,2 @@ * Wraps a function that returns a promise to be a valid component

*/
export declare function awaitComponent<Props>(componentFn: (props: Props) => Promise<MdFunctionElement<Props>>): Component<Props>;
export declare function awaitComponent<Props>(componentFn: (props: Props) => Promise<MarkdownElement<Props> | null>): Component<Props>;

@@ -43,3 +43,3 @@ /** @internal */

mdAwait: {
children?: Promise<MdFunctionElement>;
children?: Promise<MarkdownElement<any> | null>;
};

@@ -46,0 +46,0 @@ }

{
"name": "jsx-md",
"version": "4.0.0",
"version": "4.0.1",
"description": "Generate markdown files with a React-like syntax.",

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

"@commitlint/config-conventional": "^9.1.2",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/git": "^9.0.0",
"@semantic-release/github": "^7.1.1",
"@types/jest": "^26.0.10",

@@ -37,0 +39,0 @@ "@types/react": "^16.9.49",

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