Socket
Book a DemoInstallSign in
Socket

@replit/codemirror-lang-nix

Package Overview
Dependencies
Maintainers
17
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@replit/codemirror-lang-nix - npm Package Compare versions

Comparing version

to
0.19.0

.cache/replit/nix/env.json

5

package.json
{
"name": "@replit/codemirror-lang-nix",
"description": "A Nix mode for CodeMirror 6",
"version": "0.0.5",
"version": "0.19.0",
"author": {

@@ -22,3 +22,4 @@ "name": "Connor Brewster",

"build": "cm-buildhelper src/index.ts",
"test": "cm-runtests"
"test": "cm-runtests",
"publish": "npm run build && npm publish"
},

@@ -25,0 +26,0 @@ "peerDependencies": {

3

README.md

@@ -19,3 +19,3 @@ # CodeMirror Nix Mode

state: EditorState.create({
`{ pkgs ? import <nixpkgs> {} }: pkgs.mkShell { buildInputs = [ pkgs.nodejs ]; }`,
doc: `{ pkgs ? import <nixpkgs> {} }: pkgs.mkShell { buildInputs = [ pkgs.nodejs ]; }`,
extensions: [basicSetup, nix()],

@@ -25,3 +25,2 @@ }),

});
console.log(printTree(parser.parse(doc), doc));
```