Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency @uiw/react-textarea-code-editor to v3 #18

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 1, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@uiw/react-textarea-code-editor (source) ^2.1.7 -> ^3.0.0 age adoption passing confidence

Release Notes

uiwjs/react-textarea-code-editor (@​uiw/react-textarea-code-editor)

v3.0.2

Compare Source

Buy me a coffee npm bundle size

Documentation v3.0.2: https://raw.githack.com/uiwjs/react-textarea-code-editor/e3e33bb/index.html\
Comparing Changes: uiwjs/react-textarea-code-editor@v3.0.2...v3.0.2

npm i @​uiw/react-textarea-code-editor@

v3.0.1

Compare Source

Buy me a coffee npm bundle size

Documentation v3.0.1: https://raw.githack.com/uiwjs/react-textarea-code-editor/e1e1ae9/index.html\
Comparing Changes: uiwjs/react-textarea-code-editor@v3.0.0...v3.0.1

npm i @​uiw/react-textarea-code-editor@3.0.1

v3.0.0

Compare Source

Buy me a coffee npm bundle size

Documentation v3.0.0: https://raw.githack.com/uiwjs/react-textarea-code-editor/fd37bcf/index.html\
Comparing Changes: uiwjs/react-textarea-code-editor@v2.1.9...v3.0.0

npm i @​uiw/react-textarea-code-editor@3.0.0

Remove Code Highlight

The following example can help you exclude code highlighting code from being included in the bundle. @uiw/react-textarea-code-editor/nohighlight component does not contain the rehype-prism-plus code highlighting package.

import React, { useState } from "react";
import CodeEditor from '@​uiw/react-textarea-code-editor/nohighlight';

export default function App() {
  const [code, setCode] = useState(
    `function add(a, b) {\n  return a + b;\n}`
  );
  return (
    <CodeEditor
      value={code}
      language="js"
      placeholder="Please enter JS code."
      onChange={(evn) => setCode(evn.target.value)}
      padding={15}
      style={{
        backgroundColor: "#f5f5f5",
        fontFamily: 'ui-monospace,SFMono-Regular,SF Mono,Consolas,Liberation Mono,Menlo,monospace',
      }}
    />
  );
}

v2.1.9

Compare Source

npm bundle size

Documentation v2.1.9: https://raw.githack.com/uiwjs/react-textarea-code-editor/4207e23/index.html\
Comparing Changes: uiwjs/react-textarea-code-editor@v2.1.8...v2.1.9

npm i @&#8203;uiw/react-textarea-code-editor@2.1.9

v2.1.8

Compare Source

npm bundle size

Documentation v2.1.8: https://raw.githack.com/uiwjs/react-textarea-code-editor/7276be9/index.html\
Comparing Changes: uiwjs/react-textarea-code-editor@v2.1.7...v2.1.8

npm i @&#8203;uiw/react-textarea-code-editor@2.1.8

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies label Dec 1, 2023
Copy link

Updated dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
@uiw/react-textarea-code-editor 2.1.7...3.0.2 None +37/-10 4.95 MB wcjiang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants