@uiw/react-codemirror 4.21.19 → 4.21.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@uiw/react-codemirror",
3
- "version": "4.21.19",
3
+ "version": "4.21.21",
4
4
  "description": "CodeMirror component for React.",
5
5
  "homepage": "https://uiwjs.github.io/react-codemirror",
6
+ "funding": "https://jaywcjlove.github.io/#/sponsor",
6
7
  "author": "kenny wong <wowohoo@qq.com>",
7
8
  "license": "MIT",
8
9
  "main": "./cjs/index.js",
@@ -12,9 +13,7 @@
12
13
  "bundle:watch": "ncc watch src/index.tsx --target web --filename codemirror",
13
14
  "bundle:min": "ncc build src/index.tsx --target web --filename codemirror --minify",
14
15
  "watch": "tsbb watch src/*.tsx --use-babel",
15
- "build": "tsbb build src/*.tsx --use-babel",
16
- "test": "tsbb test --env=jsdom",
17
- "coverage": "tsbb test --env=jsdom --coverage --bail"
16
+ "build": "tsbb build src/*.tsx --use-babel"
18
17
  },
19
18
  "repository": {
20
19
  "type": "git",
@@ -40,7 +39,7 @@
40
39
  "@codemirror/commands": "^6.1.0",
41
40
  "@codemirror/state": "^6.1.1",
42
41
  "@codemirror/theme-one-dark": "^6.0.0",
43
- "@uiw/codemirror-extensions-basic-setup": "4.21.19",
42
+ "@uiw/codemirror-extensions-basic-setup": "4.21.21",
44
43
  "codemirror": "^6.0.0"
45
44
  },
46
45
  "keywords": [
@@ -1,6 +1,3 @@
1
- /**
2
- * @jest-environment jsdom
3
- */
4
1
  /* eslint-disable jest/no-conditional-expect */
5
2
  import React, { useEffect, useRef } from 'react';
6
3
  import renderer from 'react-test-renderer';