Skip to content

Commit

Permalink
Support react from 16.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhstar committed Jul 12, 2022
1 parent 06ced93 commit b38f61e
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 9 deletions.
6 changes: 5 additions & 1 deletion dist/SunEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ var __assign = (this && this.__assign) || function () {
};
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
Expand Down
6 changes: 5 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
Expand Down
2 changes: 1 addition & 1 deletion dist/misc/getLanguage.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import Lang from "../types/lang";
declare const getLanguage: (lang?: Lang | undefined) => any;
declare const getLanguage: (lang?: Lang) => any;
export default getLanguage;
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "suneditor-react",
"version": "3.4.0",
"version": "3.4.1",
"description": "A React Component for Suneditor",
"repository": {
"type": "git",
Expand All @@ -23,14 +23,14 @@
"author": "Kusi Musah Hussein",
"license": "MIT",
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0",
"react-dom": "^16.9.0 || ^17.0.0",
"react": ">= 16.9.0",
"react-dom": ">= 16.9.0",
"suneditor": "^2.42.0"
},
"devDependencies": {
"@types/node": "^15.3.0",
"@types/react": "^17.0.5",
"react": "^17.0.2",
"@types/node": "^18.0.0",
"@types/react": "^18.0.14",
"react": "^18.2.0",
"suneditor": "^2.42.0",
"typescript": "^4.2.4"
},
Expand Down

0 comments on commit b38f61e

Please sign in to comment.