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

@uiw/react-codemirror

Package Overview
Dependencies
Maintainers
1
Versions
209
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/react-codemirror - npm Package Compare versions

Comparing version 1.0.19 to 1.0.21

.DS_Store

12

lib/CodeMirror.js

@@ -117,5 +117,7 @@ "use strict";

return function componentWillReceiveProps(_x) {
function componentWillReceiveProps(_x) {
return _componentWillReceiveProps.apply(this, arguments);
};
}
return componentWillReceiveProps;
}() // http://codemirror.net/doc/manual.html#config

@@ -170,5 +172,7 @@

return function setOptions(_x2) {
function setOptions(_x2) {
return _setOptions.apply(this, arguments);
};
}
return setOptions;
}()

@@ -175,0 +179,0 @@ }, {

@@ -28,6 +28,6 @@ "use strict";

var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));

@@ -55,3 +55,3 @@

_this = (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(ReactCodeMirror).call(this, props));
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)), "getInstance", function (instance) {
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "getInstance", function (instance) {
if (instance) {

@@ -101,5 +101,7 @@ _this.codemirror = instance.codemirror;

return function componentDidMount() {
function componentDidMount() {
return _componentDidMount.apply(this, arguments);
};
}
return componentDidMount;
}()

@@ -129,5 +131,7 @@ }, {

return function componentWillReceiveProps(_x) {
function componentWillReceiveProps(_x) {
return _componentWillReceiveProps.apply(this, arguments);
};
}
return componentWillReceiveProps;
}()

@@ -134,0 +138,0 @@ }, {

{
"name": "@uiw/react-codemirror",
"version": "1.0.19",
"version": "1.0.21",
"description": "CodeMirror component for React.",
"homepage": "https://uiw-react.github.io/react-codemirror/",
"homepage": "https://uiwjs.github.io/react-codemirror/",
"main": "lib/index.js",
"module": "esm/index.js",
"scripts": {
"deploy": "npm run build && kkt deploy -u git@github.com:uiw-react/react-codemirror.git",
"build:lib": "babel src --out-dir lib --copy-files --verbose",
"deploy": "gh-pages -d dist -r git@github.com:uiwjs/react-codemirror.git",
"build:cjs": "BABEL_ENV=cjs babel src --out-dir cjs --source-maps true --delete-dir-on-start --verbose",
"build:esm": "BABEL_ENV=esm babel src --out-dir esm --source-maps true --delete-dir-on-start --copy-files --verbose",
"start": "kkt start",
"build": "kkt build"
"build": "npm run build:cjs && npm run build:esm && kkt build"
},

@@ -39,8 +41,11 @@ "repository": {

"devDependencies": {
"@kkt/plugin-less": "^1.2.0",
"babel-plugin-transform-remove-imports": "^1.0.8",
"classnames": "^2.2.6",
"code-example": "^1.0.7",
"code-example": "^1.0.8",
"highlight.js": "^9.12.0",
"kkt": "^2.1.2",
"kkt": "^4.2.0",
"raw-loader": "^1.0.0",
"react-markdown": "^3.3.4"
}
}
react-codemirror
===
CodeMirror component for React. demo @[uiw-react.github.io/react-codemirror/](https://uiw-react.github.io/react-codemirror/)
CodeMirror component for React. demo @[uiwjs.github.io/react-codemirror/](https://uiwjs.github.io/react-codemirror/)
<a href="https://uiw-react.github.io/react-codemirror/"><img src="https://raw.githubusercontent.com/uiw-react/react-codemirror/master/react-codemirror.png" /></a>
<a href="https://uiwjs.github.io/react-codemirror/"><img src="https://raw.githubusercontent.com/uiwjs/react-codemirror/master/react-codemirror.png" /></a>

@@ -8,0 +8,0 @@ **Features:**

@@ -67,3 +67,3 @@ import React, { PureComponent } from 'react';

import logo from './logo.png';
import styles from './App.less';
import styles from './App.module.less';
import CodeMirror from '../src';

@@ -147,3 +147,3 @@

{
href: 'https://github.com/uiw-react/react-codemirror',
href: 'https://github.com/uiwjs/react-codemirror',
label: 'View on GitHub',

@@ -150,0 +150,0 @@ },

@@ -5,3 +5,3 @@ import React, { Component } from 'react';

import classNames from 'classnames';
import styles from './styles/index.less';
import styles from './styles/index.module.less';

@@ -8,0 +8,0 @@ hljs.configure({

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