jodit-react 5.3.17 → 5.3.19

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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  JoditEditor_default
3
- } from "./chunk-IWOD2W62.mjs";
3
+ } from "./chunk-VZXEDNZT.mjs";
4
4
  export {
5
5
  JoditEditor_default as default
6
6
  };
@@ -2,9 +2,9 @@
2
2
  import { useEffect, useRef, forwardRef } from "react";
3
3
 
4
4
  // src/include.jodit.ts
5
- import { Jodit as JoditES5 } from "jodit/esm/index";
5
+ import { Jodit as JoditES5 } from "jodit/esm/index.js";
6
6
  import "jodit/es2021/jodit.min.css";
7
- import "jodit/esm/plugins/all";
7
+ import "jodit/esm/plugins/all.js";
8
8
  var Jodit = JoditES5;
9
9
 
10
10
  // src/JoditEditor.tsx
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Jodit,
3
3
  JoditEditor_default
4
- } from "./chunk-IWOD2W62.mjs";
4
+ } from "./chunk-VZXEDNZT.mjs";
5
5
 
6
6
  // src/index.ts
7
7
  var index_default = JoditEditor_default;
@@ -1,4 +1,4 @@
1
1
  import type { Jodit as JoditConstructorType } from 'jodit/esm/jodit';
2
- ./build/types/JoditEditor.d.ts
3
- import 'jodit/esm/plugins/all';
2
+
3
+ import 'jodit/esm/plugins/all.js';
4
4
  export declare const Jodit: typeof JoditConstructorType;
@@ -1,4 +1,4 @@
1
- import { Jodit as JoditES5 } from 'jodit/esm/index';
1
+ import { Jodit as JoditES5 } from 'jodit/esm/index.js';
2
2
  import 'jodit/es2021/jodit.min.css';
3
- import 'jodit/esm/plugins/all';
3
+ import 'jodit/esm/plugins/all.js';
4
4
  export const Jodit = JoditES5;
package/package.json CHANGED
@@ -1,126 +1,126 @@
1
1
  {
2
- "name": "jodit-react",
3
- "version": "5.3.17",
4
- "description": "Jodit is awesome and usefully wysiwyg editor with filebrowser",
5
- "main": "build/jodit-react.js",
6
- "module": "./build/esm/index.mjs",
7
- "types": "./build/types/index.d.ts",
8
- "exports": {
9
- ".": {
10
- "import": {
11
- "types": "./build/esm/index.d.mts",
12
- "default": "./build/esm/index.mjs"
13
- },
14
- "require": {
15
- "types": "./build/types/index.d.ts",
16
- "default": "./build/react-jodit.js"
17
- }
18
- },
19
- "./build/types/JoditEditor": {
20
- "import": {
21
- "types": "./build/esm/JoditEditor.d.mts",
22
- "default": "./build/esm/JoditEditor.mjs"
23
- },
24
- "require": {
25
- "types": "./build/types/JoditEditor.d.ts",
26
- "default": "./build/types/JoditEditor.js"
27
- }
28
- }
29
- },
30
- "files": [
31
- "build"
32
- ],
33
- "author": "Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)",
34
- "keywords": [
35
- "react",
36
- "jodit",
37
- "html",
38
- "text",
39
- "editor",
40
- "wysisyg",
41
- "rich editor",
42
- "rich text editor",
43
- "rte"
44
- ],
45
- "dependencies": {
46
- "jodit": "^4.8.8"
47
- },
48
- "peerDependencies": {
49
- "react": "~0.14 || ^15 || ^16 || ^17 || ^18 || ^19",
50
- "react-dom": "~0.14 || ^15 || ^16 || ^17 || ^18 || ^19"
51
- },
52
- "devDependencies": {
53
- "@eslint/compat": "^2.0.2",
54
- "@swc-node/register": "^1.11.1",
55
- "@swc/core": "^1.15.11",
56
- "@testing-library/dom": "^10.4.1",
57
- "@testing-library/react": "^16.3.2",
58
- "@testing-library/user-event": "^14.6.1",
59
- "@types/react": "^19.2.10",
60
- "@types/react-dom": "^19.2.3",
61
- "@typescript-eslint/eslint-plugin": "^8.54.0",
62
- "@typescript-eslint/parser": "^8.54.0",
63
- "cross-env": "^10.1.0",
64
- "css-loader": "^7.1.3",
65
- "eslint": "9.39.2",
66
- "eslint-config-prettier": "^10.1.8",
67
- "eslint-plugin-prettier": "^5.5.5",
68
- "eslint-plugin-react": "^7.37.5",
69
- "eslint-plugin-react-hooks": "^7.0.1",
70
- "eslint-plugin-vitest": "^0.5.4",
71
- "html-webpack-plugin": "^5.6.6",
72
- "jsdom": "^27.4.0",
73
- "prettier": "^3.8.1",
74
- "react": "^19.2.4",
75
- "react-dom": "^19.2.4",
76
- "replace": "^1.2.2",
77
- "style-loader": "^4.0.0",
78
- "swc-loader": "^0.2.7",
79
- "ts-node": "^10.9.2",
80
- "tsup": "^8.5.1",
81
- "typescript": "^5.9.3",
82
- "vitest": "^4.0.18",
83
- "webpack": "^5.104.1",
84
- "webpack-cli": "^6.0.1",
85
- "webpack-dev-server": "^5.2.3"
86
- },
87
- "scripts": {
88
- "newversion": "npm version patch --no-git-tag-version && npm run github",
89
- "lint": "npm run lint:ts && npm run lint:eslint",
90
- "lint:ts": "tsc --noEmit",
91
- "lint:eslint": "eslint ./",
92
- "demo": "cross-env NODE_ENV=development node -r @swc-node/register ./node_modules/.bin/webpack serve --mode development",
93
- "start": "npm run demo",
94
- "build": "npm run build:react && npm run build:types && npm run build:esm",
95
- "build:react": "cross-env NODE_ENV=production node -r @swc-node/register ./node_modules/.bin/webpack --mode production",
96
- "build:types": "rm -rf ./build/types && tsc --project tsconfig.types.json && npm run remove-css",
97
- "build:esm": "tsup src/index.ts src/JoditEditor.tsx --dts --format esm -d ./build/esm --clean",
98
- "remove-css": "replace \"import '[^']+.css';\" ''./build/**/*.ts",
99
- "github": "npm run git && git push --tags origin HEAD:main",
100
- "git": "git add --all && git commit -m \"New version $npm_package_version. Read more https://github.com/jodit/jodit-react/releases/tag/$npm_package_version \" && git tag $npm_package_version",
101
- "test": "vitest run",
102
- "test:watch": "vitest",
103
- "webpack": "./node_modules/.bin/webpack --config ./webpack.config.ts --mode production"
104
- },
105
- "repository": {
106
- "type": "git",
107
- "url": "git+https://github.com/jodit/jodit-react.git"
108
- },
109
- "license": "MIT",
110
- "bugs": {
111
- "url": "https://github.com/jodit/jodit-react/issues"
112
- },
113
- "homepage": "https://xdsoft.net/jodit/",
114
- "ava": {
115
- "extensions": [
116
- "ts",
117
- "tsx"
118
- ],
119
- "require": [
120
- "@swc-node/register"
121
- ],
122
- "files": [
123
- "packages/**/*.spec.{ts,tsx}"
124
- ]
125
- }
2
+ "name": "jodit-react",
3
+ "version": "5.3.19",
4
+ "description": "Jodit is awesome and usefully wysiwyg editor with filebrowser",
5
+ "main": "build/jodit-react.js",
6
+ "module": "./build/esm/index.mjs",
7
+ "types": "./build/types/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "import": {
11
+ "types": "./build/esm/index.d.mts",
12
+ "default": "./build/esm/index.mjs"
13
+ },
14
+ "require": {
15
+ "types": "./build/types/index.d.ts",
16
+ "default": "./build/react-jodit.js"
17
+ }
18
+ },
19
+ "./build/types/JoditEditor": {
20
+ "import": {
21
+ "types": "./build/esm/JoditEditor.d.mts",
22
+ "default": "./build/esm/JoditEditor.mjs"
23
+ },
24
+ "require": {
25
+ "types": "./build/types/JoditEditor.d.ts",
26
+ "default": "./build/types/JoditEditor.js"
27
+ }
28
+ }
29
+ },
30
+ "files": [
31
+ "build"
32
+ ],
33
+ "author": "Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)",
34
+ "keywords": [
35
+ "react",
36
+ "jodit",
37
+ "html",
38
+ "text",
39
+ "editor",
40
+ "wysisyg",
41
+ "rich editor",
42
+ "rich text editor",
43
+ "rte"
44
+ ],
45
+ "dependencies": {
46
+ "jodit": "^4.8.8"
47
+ },
48
+ "peerDependencies": {
49
+ "react": "~0.14 || ^15 || ^16 || ^17 || ^18 || ^19",
50
+ "react-dom": "~0.14 || ^15 || ^16 || ^17 || ^18 || ^19"
51
+ },
52
+ "devDependencies": {
53
+ "@eslint/compat": "^2.0.2",
54
+ "@swc-node/register": "^1.11.1",
55
+ "@swc/core": "^1.15.11",
56
+ "@testing-library/dom": "^10.4.1",
57
+ "@testing-library/react": "^16.3.2",
58
+ "@testing-library/user-event": "^14.6.1",
59
+ "@types/react": "^19.2.10",
60
+ "@types/react-dom": "^19.2.3",
61
+ "@typescript-eslint/eslint-plugin": "^8.54.0",
62
+ "@typescript-eslint/parser": "^8.54.0",
63
+ "cross-env": "^10.1.0",
64
+ "css-loader": "^7.1.3",
65
+ "eslint": "9.39.2",
66
+ "eslint-config-prettier": "^10.1.8",
67
+ "eslint-plugin-prettier": "^5.5.5",
68
+ "eslint-plugin-react": "^7.37.5",
69
+ "eslint-plugin-react-hooks": "^7.0.1",
70
+ "eslint-plugin-vitest": "^0.5.4",
71
+ "html-webpack-plugin": "^5.6.6",
72
+ "jsdom": "^27.4.0",
73
+ "prettier": "^3.8.1",
74
+ "react": "^19.2.4",
75
+ "react-dom": "^19.2.4",
76
+ "replace": "^1.2.2",
77
+ "style-loader": "^4.0.0",
78
+ "swc-loader": "^0.2.7",
79
+ "ts-node": "^10.9.2",
80
+ "tsup": "^8.5.1",
81
+ "typescript": "^5.9.3",
82
+ "vitest": "^4.0.18",
83
+ "webpack": "^5.104.1",
84
+ "webpack-cli": "^6.0.1",
85
+ "webpack-dev-server": "^5.2.3"
86
+ },
87
+ "scripts": {
88
+ "newversion": "npm version patch --no-git-tag-version && npm run github",
89
+ "lint": "npm run lint:ts && npm run lint:eslint",
90
+ "lint:ts": "tsc --noEmit",
91
+ "lint:eslint": "eslint ./",
92
+ "demo": "cross-env NODE_ENV=development node -r @swc-node/register ./node_modules/.bin/webpack serve --mode development",
93
+ "start": "npm run demo",
94
+ "build": "npm run build:react && npm run build:types && npm run build:esm",
95
+ "build:react": "cross-env NODE_ENV=production node -r @swc-node/register ./node_modules/.bin/webpack --mode production",
96
+ "build:types": "rm -rf ./build/types && tsc --project tsconfig.types.json && npm run remove-css",
97
+ "build:esm": "tsup src/index.ts src/JoditEditor.tsx --dts --format esm -d ./build/esm --clean",
98
+ "remove-css": "replace \"import '[^']+.css';\" \"\" ./build/**/*.ts",
99
+ "github": "npm run git && git push --tags origin HEAD:main",
100
+ "git": "git add --all && git commit -m \"New version $npm_package_version. Read more https://github.com/jodit/jodit-react/releases/tag/$npm_package_version \" && git tag $npm_package_version",
101
+ "test": "vitest run",
102
+ "test:watch": "vitest",
103
+ "webpack": "./node_modules/.bin/webpack --config ./webpack.config.ts --mode production"
104
+ },
105
+ "repository": {
106
+ "type": "git",
107
+ "url": "git+https://github.com/jodit/jodit-react.git"
108
+ },
109
+ "license": "MIT",
110
+ "bugs": {
111
+ "url": "https://github.com/jodit/jodit-react/issues"
112
+ },
113
+ "homepage": "https://xdsoft.net/jodit/",
114
+ "ava": {
115
+ "extensions": [
116
+ "ts",
117
+ "tsx"
118
+ ],
119
+ "require": [
120
+ "@swc-node/register"
121
+ ],
122
+ "files": [
123
+ "packages/**/*.spec.{ts,tsx}"
124
+ ]
125
+ }
126
126
  }