@replit/codemirror-interact
Advanced tools
Comparing version 0.19.2 to 0.20.0
{ | ||
"name": "@replit/codemirror-interact", | ||
"description": "Interact with custom values", | ||
"version": "0.19.2", | ||
"version": "0.20.0", | ||
"license": "MIT", | ||
@@ -29,12 +29,12 @@ "author": { | ||
"peerDependencies": { | ||
"@codemirror/state": "0.19.x", | ||
"@codemirror/view": "0.19.x" | ||
"@codemirror/state": "^0.20.0", | ||
"@codemirror/view": "0.20.0" | ||
}, | ||
"devDependencies": { | ||
"@codemirror/basic-setup": "^0.19.1", | ||
"@codemirror/buildhelper": "^0.1.11", | ||
"@codemirror/lang-javascript": "^0.19.3", | ||
"@codemirror/view": "^0.19.35", | ||
"@codemirror/basic-setup": "^0.20.0", | ||
"@codemirror/buildhelper": "^0.1.15", | ||
"@codemirror/lang-javascript": "^0.20.0", | ||
"@codemirror/view": "^0.20.1", | ||
"vite": "^2.7.4" | ||
} | ||
} |
# CodeMirror Interact | ||
A codemirror extension that lets you interact with different values (clicking, dragging, etc). | ||
<span><a href="https://replit.com/@util/codemirror-interact" title="Run on Replit badge"><img src="https://replit.com/badge/github/replit/codemirror-interact" alt="Run on Replit badge" /></a></span> | ||
<span><a href="https://www.npmjs.com/package/@replit/codemirror-interact" title="NPM version badge"><img src="https://img.shields.io/npm/v/@replit/codemirror-interact?color=blue" alt="NPM version badge" /></a></span> | ||
A CodeMirror extension that lets you interact with different values (clicking, dragging, etc). | ||
https://user-images.githubusercontent.com/9929523/147966613-270cdece-564f-4906-b6e8-b48975a0d9e2.mp4 | ||
[demo](https://replit.com/@slmjkdbtl/codemirror-interact) | ||
[demo](https://replit.com/@util/codemirror-interact) | ||
@@ -9,0 +12,0 @@ ### Usage |
// TODO: don't use document.style.cursor | ||
// TODO: custom style | ||
// TODO: custom state for each rule? | ||
import { | ||
@@ -12,3 +11,2 @@ EditorView, | ||
} from '@codemirror/view' | ||
import { | ||
@@ -15,0 +13,0 @@ StateEffect, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22344
45
1