Socket
Socket
Sign inDemoInstall

@devbookhq/code-editor

Package Overview
Dependencies
504
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.6 to 0.1.7

dist/index.js

4

dist/index.d.ts

@@ -1,2 +0,2 @@

import React from 'react';
import * as react from 'react';
import { Extension } from '@codemirror/state';

@@ -231,3 +231,3 @@ import { Session } from '@devbookhq/sdk';

}
declare const CodeEditor: React.ForwardRefExoticComponent<Props & React.RefAttributes<Handler>>;
declare const CodeEditor: react.ForwardRefExoticComponent<Props & react.RefAttributes<Handler>>;

@@ -234,0 +234,0 @@ declare function getFileURI(filepath: string): string;

@@ -17,3 +17,4 @@ {

"skipLibCheck": true,
"strict": true
"strict": true,
"target": "es2020"
},

@@ -20,0 +21,0 @@ "exclude": [

@@ -6,10 +6,10 @@ {

"compilerOptions": {
"jsx": "react",
"jsx": "react-jsx",
"lib": [
"dom",
"ES2020"
"ES2019"
],
"module": "ESNext",
"target": "es2020"
"target": "es6"
}
}
{
"name": "@devbookhq/code-editor",
"version": "0.1.6",
"main": "./dist/index.mjs",
"version": "0.1.7",
"main": "./dist/index.js",
"module": "./dist/index.mjs",

@@ -61,4 +61,4 @@ "types": "./dist/index.d.ts",

"scripts": {
"build": "tsup src/index.ts --format esm --dts --external react --external @devbookhq/sdk --loader .svg=text --sourcemap",
"dev": "tsup src/index.ts --format esm --dts --watch --external react --external @devbookhq/sdk --loader .svg=text --sourcemap",
"build": "tsup src/index.ts --target es2020 --format esm,cjs --dts --external react --external @devbookhq/sdk --loader .svg=text --sourcemap",
"dev": "tsup src/index.ts --target es2020 --format esm,cjs --dts --watch --external react --external @devbookhq/sdk --loader .svg=text --sourcemap",
"lint": "TIMING=1 eslint \"src/**/*.ts*\"",

@@ -65,0 +65,0 @@ "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc