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 1.0.1 to 1.0.2

2

lib/createElement.d.ts
import { Component, Markdown } from "./model";
export declare function createElement(component: Component, attributes: {} | null, ...children: Markdown[]): Markdown | Markdown[];
export declare function createElement(component: Component, attributes: Record<string, unknown> | null, ...children: Markdown[]): Markdown | Markdown[];
export declare function createElement(nodeType: string, attributes: null, ...children: Markdown[]): Markdown | Markdown[];
export declare type Markdown = string | number | undefined;
export declare type Props = {};
export declare type Props = Record<string, unknown>;
export declare type Component<ComponentProps extends Props = Props> = (props: ComponentProps) => Markdown | Markdown[];
{
"name": "jsx-md",
"version": "1.0.1",
"version": "1.0.2",
"description": "Generate markdown files with a React-like syntax.",

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

"@types/jest": "^26.0.10",
"@typescript-eslint/parser": "^2.26.0",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"eslint": "^6.8.0",
"@typescript-eslint/parser": "^3.10.1",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"eslint": "^7.7.0",
"eslint-config-prettier": "^6.10.1",

@@ -35,0 +35,0 @@ "eslint-plugin-prettier": "^3.1.2",

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