react-design-editor 0.0.34 → 0.0.38

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 (44) hide show
  1. package/README.md +37 -33
  2. package/dist/react-design-editor.js +18164 -10291
  3. package/dist/react-design-editor.min.js +1 -1
  4. package/dist/react-design-editor.min.js.LICENSE.txt +0 -9
  5. package/lib/Canvas.d.ts +11 -25
  6. package/lib/Canvas.js +25 -15
  7. package/lib/constants/defaults.d.ts +2 -1
  8. package/lib/constants/defaults.js +1 -0
  9. package/lib/handlers/AnimationHandler.js +8 -5
  10. package/lib/handlers/CustomHandler.d.ts +7 -0
  11. package/lib/handlers/CustomHandler.js +10 -0
  12. package/lib/handlers/DrawingHandler.d.ts +1 -1
  13. package/lib/handlers/DrawingHandler.js +8 -8
  14. package/lib/handlers/EventHandler.d.ts +1 -1
  15. package/lib/handlers/EventHandler.js +7 -5
  16. package/lib/handlers/FiberHandler.d.ts +6 -0
  17. package/lib/handlers/FiberHandler.js +23 -0
  18. package/lib/handlers/GuidelineHandler.d.ts +1 -1
  19. package/lib/handlers/GuidelineHandler.js +1 -0
  20. package/lib/handlers/Handler.d.ts +15 -2
  21. package/lib/handlers/Handler.js +41 -15
  22. package/lib/handlers/InteractionHandler.d.ts +1 -1
  23. package/lib/handlers/InteractionHandler.js +6 -1
  24. package/lib/handlers/LinkHandler.d.ts +2 -2
  25. package/lib/handlers/LinkHandler.js +1 -1
  26. package/lib/handlers/NodeHandler.js +14 -14
  27. package/lib/handlers/TransactionHandler.js +1 -3
  28. package/lib/handlers/index.d.ts +2 -0
  29. package/lib/handlers/index.js +4 -0
  30. package/lib/index.d.ts +2 -1
  31. package/lib/index.js +2 -1
  32. package/lib/objects/Arrow.js +1 -0
  33. package/lib/objects/Chart.js +2 -1
  34. package/lib/objects/CurvedLink.js +2 -0
  35. package/lib/objects/Element.js +1 -0
  36. package/lib/objects/Gif.js +4 -1
  37. package/lib/objects/Iframe.js +1 -0
  38. package/lib/objects/Link.js +4 -2
  39. package/lib/objects/Node.js +3 -3
  40. package/lib/objects/OrthogonalLink.js +2 -0
  41. package/lib/objects/Svg.d.ts +1 -1
  42. package/lib/objects/Video.js +1 -0
  43. package/lib/utils/ObjectUtil.d.ts +8 -1
  44. package/package.json +35 -31
@@ -55,9 +55,9 @@ class NodeHandler {
55
55
  if (fromIndex >= 0 && targetObjects[fromIndex] && toIndex >= 0 && targetObjects[toIndex]) {
56
56
  object.set({
57
57
  opacity: 1,
58
- });
59
- object.setShadow({
60
- color: object.stroke,
58
+ shadow: {
59
+ color: object.stroke,
60
+ },
61
61
  });
62
62
  this.highlightingNode(object, 300);
63
63
  this.handler.canvas.requestRenderAll();
@@ -81,7 +81,7 @@ class NodeHandler {
81
81
  });
82
82
  }
83
83
  if (!object.animating) {
84
- object.setShadow({
84
+ object.set('shadow', {
85
85
  blur: 0,
86
86
  });
87
87
  }
@@ -89,9 +89,9 @@ class NodeHandler {
89
89
  targetObjects.forEach((object) => {
90
90
  object.set({
91
91
  opacity: 1,
92
- });
93
- object.setShadow({
94
- color: object.stroke,
92
+ shadow: {
93
+ color: object.stroke,
94
+ },
95
95
  });
96
96
  this.highlightingNode(object, 300);
97
97
  if (object.toPort) {
@@ -116,7 +116,7 @@ class NodeHandler {
116
116
  this.selectById = (id) => {
117
117
  this.handler.objects.forEach((object) => {
118
118
  if (id === object.id) {
119
- object.setShadow({
119
+ object.set('shadow', {
120
120
  color: object.stroke,
121
121
  blur: 50,
122
122
  });
@@ -125,7 +125,7 @@ class NodeHandler {
125
125
  else if (id === object.nodeId) {
126
126
  return;
127
127
  }
128
- object.setShadow({
128
+ object.set('shadow', {
129
129
  blur: 0,
130
130
  });
131
131
  });
@@ -154,7 +154,7 @@ class NodeHandler {
154
154
  }
155
155
  if (!object.animating) {
156
156
  const node = object;
157
- node.setShadow({
157
+ node.set('shadow', {
158
158
  blur: 0,
159
159
  });
160
160
  }
@@ -174,12 +174,12 @@ class NodeHandler {
174
174
  const lastObject = targetObjects.filter((obj) => obj.id === path[path.length - 1])[0];
175
175
  targetObjects.forEach((object) => {
176
176
  if (lastObject) {
177
- object.setShadow({
177
+ object.set('shadow', {
178
178
  color: lastObject.stroke,
179
179
  });
180
180
  }
181
181
  else {
182
- object.setShadow({
182
+ object.set('shadow', {
183
183
  color: object.stroke,
184
184
  });
185
185
  }
@@ -194,12 +194,12 @@ class NodeHandler {
194
194
  const toIndex = targetObjects.findIndex((obj) => obj.id === toNode.id);
195
195
  if (fromIndex >= 0 && targetObjects[fromIndex] && toIndex >= 0 && targetObjects[toIndex]) {
196
196
  if (lastObject) {
197
- object.setShadow({
197
+ object.set('shadow', {
198
198
  color: lastObject.stroke,
199
199
  });
200
200
  }
201
201
  else {
202
- object.setShadow({
202
+ object.set('shadow', {
203
203
  color: object.stroke,
204
204
  });
205
205
  }
@@ -131,9 +131,7 @@ class TransactionHandler {
131
131
  }, null);
132
132
  };
133
133
  this.handler = handler;
134
- if (this.handler.editable) {
135
- this.initialize();
136
- }
134
+ this.initialize();
137
135
  }
138
136
  }
139
137
  exports.default = TransactionHandler;
@@ -19,3 +19,5 @@ export { default as GuidelineHandler } from './GuidelineHandler';
19
19
  export { default as EventHandler } from './EventHandler';
20
20
  export { default as DrawingHandler } from './DrawingHandler';
21
21
  export { default as ShortcutHandler } from './ShortcutHandler';
22
+ export { default as FiberHandler } from './FiberHandler';
23
+ export { default as CustomHandler } from './CustomHandler';
@@ -42,3 +42,7 @@ var DrawingHandler_1 = require("./DrawingHandler");
42
42
  Object.defineProperty(exports, "DrawingHandler", { enumerable: true, get: function () { return DrawingHandler_1.default; } });
43
43
  var ShortcutHandler_1 = require("./ShortcutHandler");
44
44
  Object.defineProperty(exports, "ShortcutHandler", { enumerable: true, get: function () { return ShortcutHandler_1.default; } });
45
+ var FiberHandler_1 = require("./FiberHandler");
46
+ Object.defineProperty(exports, "FiberHandler", { enumerable: true, get: function () { return FiberHandler_1.default; } });
47
+ var CustomHandler_1 = require("./CustomHandler");
48
+ Object.defineProperty(exports, "CustomHandler", { enumerable: true, get: function () { return CustomHandler_1.default; } });
package/lib/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
+ export * from './Canvas';
1
2
  export { default as Canvas } from './Canvas';
2
3
  export { default as CanvasObject } from './CanvasObject';
3
4
  export * from './handlers';
4
- export * from './utils';
5
5
  export * from './objects';
6
+ export * from './utils';
package/lib/index.js CHANGED
@@ -10,10 +10,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
10
  for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./Canvas"), exports);
13
14
  var Canvas_1 = require("./Canvas");
14
15
  Object.defineProperty(exports, "Canvas", { enumerable: true, get: function () { return Canvas_1.default; } });
15
16
  var CanvasObject_1 = require("./CanvasObject");
16
17
  Object.defineProperty(exports, "CanvasObject", { enumerable: true, get: function () { return CanvasObject_1.default; } });
17
18
  __exportStar(require("./handlers"), exports);
18
- __exportStar(require("./utils"), exports);
19
19
  __exportStar(require("./objects"), exports);
20
+ __exportStar(require("./utils"), exports);
@@ -35,5 +35,6 @@ Arrow.fromObject = (options, callback) => {
35
35
  const { x1, x2, y1, y2 } = options;
36
36
  return callback(new Arrow([x1, y1, x2, y2], options));
37
37
  };
38
+ // @ts-ignore
38
39
  window.fabric.Arrow = Arrow;
39
40
  exports.default = Arrow;
@@ -19,8 +19,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
19
19
  return result;
20
20
  };
21
21
  Object.defineProperty(exports, "__esModule", { value: true });
22
- const fabric_1 = require("fabric");
23
22
  const echarts = __importStar(require("echarts"));
23
+ const fabric_1 = require("fabric");
24
24
  const utils_1 = require("../utils");
25
25
  const Chart = fabric_1.fabric.util.createClass(fabric_1.fabric.Rect, {
26
26
  type: 'chart',
@@ -119,5 +119,6 @@ const Chart = fabric_1.fabric.util.createClass(fabric_1.fabric.Rect, {
119
119
  Chart.fromObject = (options, callback) => {
120
120
  return callback(new Chart(options.chartOption, options));
121
121
  };
122
+ // @ts-ignore
122
123
  window.fabric.Chart = Chart;
123
124
  exports.default = Chart;
@@ -15,6 +15,7 @@ const CurvedLink = fabric_1.fabric.util.createClass(Link_1.default, {
15
15
  _render(ctx) {
16
16
  // Drawing curved link
17
17
  const { x1, y1, x2, y2 } = this;
18
+ ctx.lineWidth = this.strokeWidth;
18
19
  ctx.strokeStyle = this.stroke;
19
20
  const fp = { x: (x1 - x2) / 2, y: (y1 - y2) / 2 };
20
21
  const sp = { x: (x2 - x1) / 2, y: (y2 - y1) / 2 };
@@ -45,5 +46,6 @@ CurvedLink.fromObject = (options, callback) => {
45
46
  const { fromNode, fromPort, toNode, toPort } = options;
46
47
  return callback(new CurvedLink(fromNode, fromPort, toNode, toPort, options));
47
48
  };
49
+ // @ts-ignore
48
50
  window.fabric.CurvedLink = CurvedLink;
49
51
  exports.default = CurvedLink;
@@ -79,5 +79,6 @@ const Element = fabric_1.fabric.util.createClass(fabric_1.fabric.Rect, {
79
79
  Element.fromObject = (options, callback) => {
80
80
  return callback(new Element(options.code, options));
81
81
  };
82
+ // @ts-ignore
82
83
  window.fabric.Element = Element;
83
84
  exports.default = Element;
@@ -23,7 +23,9 @@ const Gif = fabric_1.fabric.util.createClass(fabric_1.fabric.Object, {
23
23
  this.callSuper('_render', ctx);
24
24
  if (!this.isStarted) {
25
25
  this.isStarted = true;
26
- window.gifler('./images/sample/earth.gif')
26
+ window
27
+ // @ts-ignore
28
+ .gifler('./images/sample/earth.gif')
27
29
  .frames(this.gifCanvas, (_c, frame) => {
28
30
  this.isStarted = true;
29
31
  this.drawFrame(ctx, frame);
@@ -34,5 +36,6 @@ const Gif = fabric_1.fabric.util.createClass(fabric_1.fabric.Object, {
34
36
  Gif.fromObject = (options, callback) => {
35
37
  return callback(new Gif(options));
36
38
  };
39
+ // @ts-ignore
37
40
  window.fabric.Gif = Gif;
38
41
  exports.default = Gif;
@@ -65,5 +65,6 @@ const Iframe = fabric_1.fabric.util.createClass(fabric_1.fabric.Rect, {
65
65
  Iframe.fromObject = (options, callback) => {
66
66
  return callback(new Iframe(options.src, options));
67
67
  };
68
+ // @ts-ignore
68
69
  window.fabric.Iframe = Iframe;
69
70
  exports.default = Iframe;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const fabric_1 = require("fabric");
4
- const uuid_1 = require("uuid");
4
+ const uuidv4_1 = require("uuidv4");
5
5
  const Node_1 = require("./Node");
6
6
  const Link = fabric_1.fabric.util.createClass(fabric_1.fabric.Line, {
7
7
  type: 'link',
@@ -12,7 +12,7 @@ const Link = fabric_1.fabric.util.createClass(fabric_1.fabric.Line, {
12
12
  this.callSuper('initialize', coords, options);
13
13
  this.set({
14
14
  strokeWidth: 4,
15
- id: options.id || uuid_1.v4(),
15
+ id: options.id || uuidv4_1.uuid(),
16
16
  originX: 'center',
17
17
  originY: 'center',
18
18
  lockScalingX: true,
@@ -91,6 +91,7 @@ const Link = fabric_1.fabric.util.createClass(fabric_1.fabric.Line, {
91
91
  ctx.lineTo(-5, -5);
92
92
  }
93
93
  ctx.closePath();
94
+ ctx.lineWidth = this.strokeWidth;
94
95
  ctx.fillStyle = this.stroke;
95
96
  ctx.fill();
96
97
  ctx.restore();
@@ -100,5 +101,6 @@ Link.fromObject = (options, callback) => {
100
101
  const { fromNode, fromPort, toNode, toPort } = options;
101
102
  return callback(new Link(fromNode, fromPort, toNode, toPort, options));
102
103
  };
104
+ // @ts-ignore
103
105
  window.fabric.Link = Link;
104
106
  exports.default = Link;
@@ -5,8 +5,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.getEllipsis = exports.DESCRIPTIONS = exports.OUT_PORT_TYPE = exports.NODE_COLORS = void 0;
7
7
  const fabric_1 = require("fabric");
8
- const uuid_1 = require("uuid");
9
8
  const i18next_1 = __importDefault(require("i18next"));
9
+ const uuidv4_1 = require("uuidv4");
10
10
  const Port_1 = __importDefault(require("./Port"));
11
11
  exports.NODE_COLORS = {
12
12
  TRIGGER: {
@@ -96,7 +96,7 @@ const Node = fabric_1.fabric.util.createClass(fabric_1.fabric.Group, {
96
96
  });
97
97
  const node = [rect, icon, this.label, this.errorFlag];
98
98
  const option = Object.assign({}, options, {
99
- id: options.id || uuid_1.v4(),
99
+ id: options.id || uuidv4_1.uuid(),
100
100
  width: 200,
101
101
  height: 40,
102
102
  originX: 'left',
@@ -251,7 +251,7 @@ const Node = fabric_1.fabric.util.createClass(fabric_1.fabric.Group, {
251
251
  },
252
252
  duplicate() {
253
253
  const options = this.toObject();
254
- options.id = uuid_1.v4();
254
+ options.id = uuidv4_1.uuid();
255
255
  options.name = `${options.name}_clone`;
256
256
  return new Node(options);
257
257
  },
@@ -15,6 +15,7 @@ const OrthogonalLink = fabric_1.fabric.util.createClass(Link_1.default, {
15
15
  _render(ctx) {
16
16
  // Drawing orthogonal link
17
17
  const { x1, y1, x2, y2 } = this;
18
+ ctx.lineWidth = this.strokeWidth;
18
19
  ctx.strokeStyle = this.stroke;
19
20
  const fp = { x: (x1 - x2) / 2, y: (y1 - y2) / 2 };
20
21
  const sp = { x: (x2 - x1) / 2, y: (y2 - y1) / 2 };
@@ -48,5 +49,6 @@ OrthogonalLink.fromObject = (options, callback) => {
48
49
  const { fromNode, fromPort, toNode, toPort } = options;
49
50
  return callback(new OrthogonalLink(fromNode, fromPort, toNode, toPort, options));
50
51
  };
52
+ // @ts-ignore
51
53
  window.fabric.OrthogonalLink = OrthogonalLink;
52
54
  exports.default = OrthogonalLink;
@@ -1,4 +1,4 @@
1
- import { FabricObject, FabricObjectOption, FabricGroup } from '../utils';
1
+ import { FabricGroup, FabricObject, FabricObjectOption } from '../utils';
2
2
  export declare type SvgObject = FabricGroup | FabricObject;
3
3
  export interface SvgOption extends FabricObjectOption {
4
4
  svg?: string;
@@ -115,5 +115,6 @@ const Video = fabric_1.fabric.util.createClass(fabric_1.fabric.Rect, {
115
115
  Video.fromObject = (options, callback) => {
116
116
  return callback(new Video(options.src || options.file, options));
117
117
  };
118
+ // @ts-ignore
118
119
  window.fabric.Video = Video;
119
120
  exports.default = Video;
@@ -21,7 +21,7 @@ export interface LinkProperty {
21
21
  enabled?: boolean;
22
22
  type?: string;
23
23
  state?: string;
24
- dashboard?: any;
24
+ [key: string]: any;
25
25
  }
26
26
  export interface TooltipProperty {
27
27
  enabled?: boolean;
@@ -166,6 +166,12 @@ export declare type FabricObjectOption<T extends any = fabric.IObjectOptions> =
166
166
  * @type {number}
167
167
  */
168
168
  rotation?: number;
169
+ /**
170
+ * Whether it can be clicked
171
+ *
172
+ * @type {boolean}
173
+ */
174
+ clickable?: boolean;
169
175
  [key: string]: any;
170
176
  };
171
177
  export declare type FabricObject<T extends any = fabric.Object> = T & FabricObjectOption;
@@ -366,6 +372,7 @@ export interface KeyEvent {
366
372
  * @type {boolean}
367
373
  */
368
374
  cut?: boolean;
375
+ grab?: boolean;
369
376
  }
370
377
  export declare type InteractionMode = 'selection' | 'grab' | 'polygon' | 'line' | 'arrow' | 'link' | 'crop';
371
378
  export interface FabricEvent<T extends any = Event> extends Omit<fabric.IEvent, 'e'> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-design-editor",
3
- "version": "0.0.34",
3
+ "version": "0.0.38",
4
4
  "description": "Design Editor Tools with React.js + ant.design + fabric.js",
5
5
  "main": "dist/react-design-editor.min.js",
6
6
  "typings": "lib/index.d.ts",
@@ -10,10 +10,10 @@
10
10
  ],
11
11
  "scripts": {
12
12
  "test": "echo \"Error: no test specified\" && exit 1",
13
- "build": "npm run clean && webpack -p --config webpack.prod.js && typedoc",
14
- "build:lib": "npm run tsc && webpack -p --config webpack.lib.js",
13
+ "build": "npm run clean && webpack --node-env production --config webpack.prod.js && typedoc",
14
+ "build:lib": "npm run tsc && webpack --node-env production --config webpack.lib.js",
15
15
  "start": "npm install && npm run start:dev",
16
- "start:dev": "webpack-dev-server --config webpack.dev.js --inline",
16
+ "start:dev": "webpack serve --config webpack.dev.js",
17
17
  "ghpages": "npm run build && node scripts/ghpages",
18
18
  "deploy": "npm run build:lib && npm publish",
19
19
  "lint": "npm run tsc",
@@ -40,10 +40,9 @@
40
40
  "homepage": "https://salgum1114.github.io/react-design-editor",
41
41
  "peerDependencies": {
42
42
  "animejs": "^3.0.0",
43
- "fabric": "^3.4.0",
44
- "react": "^16.4.1",
45
- "react-dom": "^16.4.1",
46
- "react-dom-factories": "^1.0.2"
43
+ "fabric": "^3.6.6",
44
+ "react": "^16.14.0",
45
+ "react-dom": "^16.14.0"
47
46
  },
48
47
  "dependencies": {
49
48
  "animejs": "^3.0.0",
@@ -51,7 +50,7 @@
51
50
  "classnames": "^2.2.6",
52
51
  "color": "^3.1.2",
53
52
  "echarts": "^4.7.0",
54
- "fabric": "^3.6.3",
53
+ "fabric": "^3.6.6",
55
54
  "gifler": "^0.1.0",
56
55
  "honeycomb-grid": "^3.1.7",
57
56
  "i18next": "^19.0.0",
@@ -59,50 +58,55 @@
59
58
  "lodash": "^4.17.10",
60
59
  "mediaelement": "^4.2.9",
61
60
  "prop-types": "^15.6.2",
62
- "react": "^16.13.1",
61
+ "react": "^16.14.0",
63
62
  "react-ace": "^8.1.0",
64
63
  "react-color": "^2.14.1",
65
64
  "react-custom-scrollbars": "^4.2.1",
66
- "react-dom": "^16.13.1",
67
- "react-dom-factories": "^1.0.2",
65
+ "react-dom": "^16.14.0",
68
66
  "react-helmet": "^5.2.0",
69
67
  "react-hot-loader": "^4.12.20",
70
68
  "react-json-view": "^1.19.1",
71
69
  "resize-observer-polyfill": "^1.5.1",
72
70
  "store": "^2.0.12",
73
71
  "uuid": "^7.0.3",
72
+ "uuidv4": "^6.2.8",
74
73
  "warning": "^4.0.3"
75
74
  },
76
75
  "devDependencies": {
77
- "@babel/core": "^7.9.0",
78
- "@babel/plugin-proposal-class-properties": "^7.8.3",
79
- "@babel/plugin-proposal-decorators": "^7.8.3",
80
- "@babel/plugin-proposal-object-rest-spread": "^7.9.5",
76
+ "@babel/core": "^7.16.0",
77
+ "@babel/plugin-proposal-class-properties": "^7.16.0",
78
+ "@babel/plugin-proposal-decorators": "^7.16.4",
79
+ "@babel/plugin-proposal-object-rest-spread": "^7.16.0",
80
+ "@babel/plugin-proposal-private-methods": "^7.16.0",
81
+ "@babel/plugin-proposal-private-property-in-object": "^7.16.0",
81
82
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
82
- "@babel/plugin-transform-runtime": "^7.9.0",
83
- "@babel/polyfill": "^7.8.7",
84
- "@babel/preset-env": "^7.9.5",
85
- "@babel/preset-react": "^7.9.4",
86
- "@babel/preset-typescript": "^7.9.0",
83
+ "@babel/plugin-transform-runtime": "^7.16.4",
84
+ "@babel/plugin-transform-typescript": "^7.16.1",
85
+ "@babel/preset-env": "^7.16.4",
86
+ "@babel/preset-react": "^7.16.0",
87
+ "@babel/preset-typescript": "^7.16.0",
88
+ "@hot-loader/react-dom": "^17.0.1",
87
89
  "@types/animejs": "^3.1.0",
88
90
  "@types/color": "^3.0.1",
89
91
  "@types/echarts": "^4.4.6",
90
- "@types/fabric": "^3.6.3",
92
+ "@types/fabric": "^4.2.6",
91
93
  "@types/lodash": "^4.14.150",
92
- "@types/react": "^16.9.34",
93
- "@types/react-dom": "^16.9.6",
94
+ "@types/react": "^16.14.21",
95
+ "@types/react-dom": "^16.9.14",
94
96
  "@types/react-helmet": "^5.0.15",
95
97
  "@types/uuid": "^7.0.2",
96
98
  "@types/warning": "^3.0.0",
99
+ "@types/webpack-env": "^1.16.0",
97
100
  "babel-eslint": "^10.1.0",
98
101
  "babel-loader": "^8.1.0",
99
102
  "babel-plugin-dynamic-import-webpack": "^1.1.0",
100
103
  "babel-plugin-import": "^1.13.0",
104
+ "core-js": "^3.19.1",
101
105
  "css-loader": "^3.5.2",
102
106
  "del": "^5.1.0",
103
- "eslint": "^6.8.0",
104
- "eslint-config-airbnb": "^17.1.0",
105
- "eslint-loader": "^4.0.0",
107
+ "eslint": "^8.3.0",
108
+ "eslint-config-airbnb": "^19.0.0",
109
+ "eslint-loader": "^4.0.2",
106
110
  "eslint-plugin-import": "^2.20.2",
107
111
  "eslint-plugin-jsx-a11y": "^6.2.3",
108
112
  "eslint-plugin-react": "^7.19.0",
@@ -115,15 +119,15 @@
115
119
  "path": "^0.12.7",
116
120
  "serve": "^11.3.0",
117
121
  "style-loader": "^1.1.4",
118
- "terser-webpack-plugin": "^2.3.5",
122
+ "terser-webpack-plugin": "^4.2.3",
119
123
  "tslint": "^6.1.1",
120
124
  "tslint-react": "^5.0.0",
121
125
  "typedoc": "^0.17.4",
122
126
  "typescript": "^3.9.3",
123
127
  "url-loader": "^4.1.0",
124
- "webpack": "^4.43.0",
125
- "webpack-cli": "^3.3.11",
126
- "webpack-dev-server": "^3.10.3",
128
+ "webpack": "^4.46.0",
129
+ "webpack-cli": "^4.9.1",
130
+ "webpack-dev-server": "^3.11.3",
127
131
  "webpack-merge": "^4.2.2",
128
132
  "workbox-webpack-plugin": "^5.1.2"
129
133
  }