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
26
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 0.4.3 to 0.4.4

dist/editor-client-pYX-H5aS.js

4

dist/index.js
import { jsxs, jsx } from 'react/jsx-runtime';
import { E as Editor$1 } from './editor-client-BpS6B1az.js';
export { C as Code } from './editor-client-BpS6B1az.js';
import { E as Editor$1 } from './editor-client-pYX-H5aS.js';
export { C as Code } from './editor-client-pYX-H5aS.js';

@@ -5,0 +5,0 @@ const css = `

{
"name": "codice",
"version": "0.4.3",
"version": "0.4.4",
"type": "module",

@@ -11,10 +11,2 @@ "exports": "./dist/index.js",

],
"scripts": {
"prepare": "bunchee",
"build": "bunchee",
"test": "vitest",
"dev": "bunchee --watch",
"site": "next dev site",
"prepublishOnly": "rm -rf dist && pnpm run build"
},
"peerDependencies": {

@@ -32,3 +24,8 @@ "react": "^17.0.0 || ^18.0.0 || ^19.0.0"

},
"packageManager": "pnpm@9.15.4"
}
"scripts": {
"build": "bunchee",
"test": "vitest",
"dev": "bunchee --watch",
"site": "next dev site"
}
}

@@ -34,2 +34,3 @@ # Codice

- `onChange` (optional): A function called when the code in the editor changes. The function will receive the updated code as its argument.
- `controls` (optional): A boolean value indicating whether to display the controls for the editor.
- `highlight` (optional): A function used to provide syntax highlighting for the code. It should accept the code as an argument and return the highlighted code as an HTML string. You can use any syntax highlighting library (e.g., [Prism](https://prismjs.com/)) to implement this functionality.

@@ -54,2 +55,3 @@

- `title` (optional): A string representing the title of the code block.
- `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.

@@ -56,0 +58,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