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

@sanity/code-input

Package Overview
Dependencies
Maintainers
44
Versions
848
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sanity/code-input - npm Package Versions

23
85

4.1.4

Diff

Changelog

Source

4.1.4 (2024-04-09)

Bug Fixes

  • remove incorrect autocomplete from GROQ (#103) (1f45acb)
sanity-io
published 4.1.3 •

Changelog

Source

4.1.3 (2024-02-21)

Bug Fixes

sanity-io
published 4.1.2 •

Changelog

Source

4.1.2 (2023-12-15)

Bug Fixes

  • deps: allow styled-components v6 as peer dependency (#89) (2ba3bf2)
  • deps: update codemirror (#52) (d883481)
  • deps: update codemirror (#65) (b866640)
  • deps: update codemirror (#66) (5d1605e)
  • deps: update dependencies (non-major) (#32) (5f2ab52)
  • deps: update dependencies (non-major) to v4.20.2 (#67) (ec2dcef)
  • update package description (codemirror, not ace) (3b769e2)
sanity-io
published 4.1.1 •

Changelog

Source

4.1.1 (2023-05-10)

Bug Fixes

  • editor should no longer crash when highlightlines are unsorted (e2f9d98)
sanity-io
published 4.1.0 •

Changelog

Source

4.1.0 (2023-03-01)

Features

sanity-io
published 4.0.0 •

Changelog

Source

4.0.0 (2023-01-16)

⚠ BREAKING CHANGES

  • api for configuring custom languages has changed. Consult the README for details.

Features

  • click line-number to highlight line (8e5cf07)
  • replaced AceEditor with CodeMirror as code editor (ef4fe48)

Bug Fixes

  • deps: applied npx @sanity/plugin-kit inject (9ccfe69)
  • implement sanity theming (9566cd2)
  • improved highlighted line color (c151e95)
  • refactored default language (2111776)
  • render focus ring (5fc3cc1)
  • wrap lines (301640e)
stipsan
published 3.0.1 •

Changelog

Source

3.0.1 (2022-12-06)

Bug Fixes

  • preview for portable text and arrays now works in 3.0.0+ (f4dfd0a)
stipsan
published 3.0.0 •

Changelog

Source

3.0.0 (2022-11-25)

⚠ BREAKING CHANGES

  • this version does not work in Sanity Studio v2

Features

  • initial Sanity Studio v3 release (045dd4b)

Bug Fixes

  • @sanity/ui 1.0.0-beta.31 (b4d6575)
  • code-definition extension to intrinsics should work again (c7b3c1f)
  • compiled for dev-preview.22 (bb9a6a7)
  • compiled for sanity 3.0.0-rc.0 (46085b7)
  • compiled for sanity 3.0.0-rc.0 (ccf2b61)
  • deps: dev-preview.21 (89ecdc3)
  • deps: pin dependencies (#28) (59d92d9)
  • deps: pkg-utils & @sanity/plugin-kit (ba975f9)
  • deps: react-dom as peer (bee9c70)
  • deps: sanity ^3.0.0 (works with rc.3) (764c10a)
  • deps: sanity 3.0.0-dev-preview.17 and ui 0.38 (4bef2ab)
  • deps: update dependency @sanity/icons to v1.3.9-beta.3 (#30) (9b49361)
  • deps: update dependency ace-builds to ^1.12.5 (#8) (ae169c7)
  • deps: update sanity packages to v1 (major) (#10) (260a911)
  • lazy load AceEditor to allow server side rendering the input (d1d173b)
  • makes PreviewCode also load ace async (#11) (16eb077)
  • preview component now uses v3 api correctly (280b620)
  • preview is now dev-preview.17 compatible (58a75d9)
  • setup changelog generator (a52df38)
  • update lockfile (cf401bb)
  • use @sanity/semantic-release-preset (fb0c785)
stipsan
published 2.36.0 •

stipsan
published 2.36.0-v2-studio.1 •

23
85
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