@basthon/console-react 0.4.3 → 0.4.5

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@basthon/console-react",
3
- "version": "0.4.3",
3
+ "version": "0.4.5",
4
4
  "description": "Basthon - Console React Component",
5
5
  "homepage": "https://basthon.fr",
6
6
  "bugs": {
@@ -51,10 +51,11 @@
51
51
  },
52
52
  "scripts": {
53
53
  "build": "tsc && copyfiles -u 1 src/**/*.scss src/**/*.svg lib/",
54
+ "audit": "yarn npm audit --severity low --environment production",
54
55
  "clean": "rimraf lib/"
55
56
  },
56
57
  "dependencies": {
57
- "@basthon/gui-react": "0.76.0",
58
+ "@basthon/gui-react": "0.76.5",
58
59
  "@fontsource/open-sans": "^5.2.7",
59
60
  "@fortawesome/fontawesome-svg-core": "^7.1.0",
60
61
  "@fortawesome/free-regular-svg-icons": "^7.1.0",
@@ -64,7 +65,7 @@
64
65
  "constants-browserify": "^1.0.0",
65
66
  "immer": "^10.1.3",
66
67
  "jquery": "^3.6.4",
67
- "jquery.terminal": "patch:jquery.terminal@npm%3A2.45.2#~/.yarn/patches/jquery.terminal-npm-2.45.2-065beff1cb.patch",
68
+ "jquery.terminal": "patch:jquery.terminal@npm%3A2.45.2#./patches/jquery.terminal-npm-2.45.2-065beff1cb.patch",
68
69
  "notie": "^4.3.1",
69
70
  "react-ace": "^13.0.0",
70
71
  "tty-browserify": "^0.0.1",
@@ -72,8 +73,8 @@
72
73
  "vm-browserify": "^1.1.2"
73
74
  },
74
75
  "peerDependencies": {
75
- "react": "^18.2.0",
76
- "react-dom": "^18.2.0"
76
+ "react": "^18.3.1",
77
+ "react-dom": "^18.3.1"
77
78
  },
78
79
  "publishConfig": {
79
80
  "access": "public"
@@ -0,0 +1,13 @@
1
+ diff --git a/js/jquery.terminal.js b/js/jquery.terminal.js
2
+ index ed30f14fac229448c2b5b4ce8ed5437567723805..4aef6feaac0ba5a8ffc0dc34ac4e92e1ea725db5 100644
3
+ --- a/js/jquery.terminal.js
4
+ +++ b/js/jquery.terminal.js
5
+ @@ -1286,7 +1286,7 @@
6
+ var command_re = /((?:"[^"\\]*(?:\\[\S\s][^"\\]*)*"|'[^'\\]*(?:\\[\S\s][^'\\]*)*'|`[^`\\]*(?:\\[\S\s][^`\\]*)*`|\/[^\/\\]*(?:\\[\S\s][^\/\\]*)*\/[gimsuy]*(?=\s|$)|(?:\\\s|\S))+)(?=\s|$)/gi;
7
+ var extended_command_re = /^\s*((terminal|cmd)::([a-z_]+)\(([\s\S]*)\))\s*$/;
8
+ var format_exec_split_re = /(\[\[(?:-?[@!gbiusor])*;[^\]]+\](?:\\[[\]]|[^\]])*\]|\[\[[\s\S]+?\]\])/;
9
+ - var format_exec_re = /(\[\[[\s\S]+?\]\])/;
10
+ + var format_exec_re = /(\[\[(?:[^\][]|\\\])+\]\])/;
11
+ var float_re = /^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$/;
12
+ var re_re = /^\/((?:\\\/|[^/]|\[[^\]]*\/[^\]]*\])+)\/([gimsuy]*)$/;
13
+ var string_re = /("(?:[^"\\]|\\(?:\\\\)*"|\\\\)*"|'(?:[^'\\]|\\(?:\\\\)*'|\\\\)*'|`(?:[^`\\]|\\(?:\\\\)*`|\\\\)*`)/;