jodit-react 5.0.1-0 → 5.0.2

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.
Files changed (2) hide show
  1. package/LICENSE +1 -1
  2. package/package.json +18 -16
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2017 It can be easy
3
+ Copyright (c) 2025 It can be easy
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jodit-react",
3
- "version": "5.0.1-0",
3
+ "version": "5.0.2",
4
4
  "description": "Jodit is awesome and usefully wysiwyg editor with filebrowser",
5
5
  "main": "build/jodit-react.js",
6
6
  "author": "Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)",
@@ -23,30 +23,31 @@
23
23
  "react-dom": "~0.14 || ^15 || ^16 || ^17 || ^18 || ^19"
24
24
  },
25
25
  "devDependencies": {
26
- "@eslint/compat": "^1.2.4",
26
+ "@eslint/compat": "^1.2.5",
27
27
  "@swc-node/register": "^1.10.9",
28
- "@swc/core": "^1.10.1",
29
- "@types/react": "^19.0.1",
30
- "@types/react-dom": "^19.0.2",
31
- "@typescript-eslint/eslint-plugin": "^8.18.0",
28
+ "@swc/core": "^1.10.7",
29
+ "@types/react": "^19.0.7",
30
+ "@types/react-dom": "^19.0.3",
31
+ "@typescript-eslint/eslint-plugin": "^8.20.0",
32
32
  "css-loader": "^7.1.2",
33
- "eslint": "9.16.0",
34
- "eslint-config-prettier": "^9.1.0",
35
- "eslint-plugin-prettier": "^5.2.1",
36
- "eslint-plugin-react": "^7.37.2",
33
+ "eslint": "9.18.0",
34
+ "eslint-config-prettier": "^10.0.1",
35
+ "eslint-plugin-prettier": "^5.2.3",
36
+ "eslint-plugin-react": "^7.37.4",
37
37
  "eslint-plugin-react-hooks": "^5.1.0",
38
38
  "prettier": "^3.4.2",
39
- "react": "^18.3.1",
40
- "react-dom": "^18.3.1",
39
+ "react": "^19.0.0",
40
+ "react-dom": "^19.0.0",
41
+ "replace": "^1.2.2",
41
42
  "style-loader": "^4.0.0",
42
43
  "swc-loader": "^0.2.6",
43
- "typescript": "^5.7.2",
44
+ "typescript": "^5.7.3",
44
45
  "webpack": "^5.97.1",
45
- "webpack-cli": "^5.1.4",
46
- "webpack-dev-server": "^5.1.0"
46
+ "webpack-cli": "^6.0.1",
47
+ "webpack-dev-server": "^5.2.0"
47
48
  },
48
49
  "scripts": {
49
- "newversion": "npm version prerelease --no-git-tag-version && npm run github",
50
+ "newversion": "npm version patch --no-git-tag-version && npm run github",
50
51
  "lint": "npm run lint:ts && npm run lint:eslint",
51
52
  "lint:ts": "tsc --noEmit",
52
53
  "lint:eslint": "eslint ./",
@@ -55,6 +56,7 @@
55
56
  "build": "npm run build:react && npm run build:types",
56
57
  "build:react": "NODE_ENV=production node -r @swc-node/register ./node_modules/.bin/webpack --mode production",
57
58
  "build:types": "rm -rf ./build/types && tsc --project tsconfig.types.json --emitDeclarationOnly",
59
+ "remove-css": "replace \"import '[^']+.css';\" '' ./build/**/*.ts",
58
60
  "github": "npm run git && git push --tags origin HEAD:main",
59
61
  "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"
60
62
  },