New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

codice

Package Overview
Dependencies
Maintainers
0
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codice - npm Package Compare versions

Comparing version 1.0.0-beta.0 to 1.0.0-beta.1

dist/editor-client-CRByiQqq.js

3

dist/index.d.ts

@@ -15,3 +15,3 @@ import * as react_jsx_runtime from 'react/jsx-runtime';

declare function Code({ children: code, title, controls, preformatted, lineNumbers, highlightLines, ...props }: {
declare function Code({ children: code, title, controls, preformatted, lineNumbers, highlightLines, asMarkup, ...props }: {
children: string;

@@ -24,4 +24,5 @@ /** Whether to use a preformatted block <pre><code> */

highlightLines?: ([number, number] | number)[];
asMarkup?: boolean;
} & React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
export { Code, Editor };
import { jsxs, jsx } from 'react/jsx-runtime';
import { E as Editor$1 } from './editor-client-zXIq67GO.js';
export { C as Code } from './editor-client-zXIq67GO.js';
import { E as Editor$1 } from './editor-client-CRByiQqq.js';
export { C as Code } from './editor-client-CRByiQqq.js';

@@ -5,0 +5,0 @@ const R = '[data-codice="editor"]';

{
"name": "codice",
"version": "1.0.0-beta.0",
"version": "1.0.0-beta.1",
"type": "module",

@@ -5,0 +5,0 @@ "exports": "./dist/index.js",

@@ -61,2 +61,4 @@ # Codice

- `preformatted` (optional): A boolean value indicating whether the code should be displayed as preformatted text. If `true`, the code will be displayed in a `pre` and a `code` element. If `false`, the code will be displayed in a `div` element.
- `asMarkup` (optional): A boolean value indicating whether the code should be displayed as markup. If `true`, the code will be displayed with HTML entities escaped. If `false`, the code will be displayed as plain text. default is `false`.
- `children`: The code content to be displayed in the code block.

@@ -63,0 +65,0 @@ ### Styling

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