@arcblock/terminal 2.1.61 → 2.1.62
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/lib/Player.js +2 -2
- package/lib/{terminal.js → Terminal.js} +0 -0
- package/lib/index.js +9 -1
- package/package.json +4 -4
- package/src/Player.js +1 -1
- package/src/{terminal.js → Terminal.js} +0 -0
- package/src/index.js +4 -2
package/lib/Player.js
CHANGED
|
@@ -13,7 +13,7 @@ var _useInterval = _interopRequireDefault(require("@arcblock/react-hooks/lib/use
|
|
|
13
13
|
|
|
14
14
|
var _useWindowSize = _interopRequireDefault(require("react-use/lib/useWindowSize"));
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _Terminal = _interopRequireDefault(require("./Terminal"));
|
|
17
17
|
|
|
18
18
|
require("./player.css");
|
|
19
19
|
|
|
@@ -391,7 +391,7 @@ function Player(props) {
|
|
|
391
391
|
})]
|
|
392
392
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
393
393
|
className: "terminal-body",
|
|
394
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
394
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Terminal.default, {
|
|
395
395
|
ref: terminal,
|
|
396
396
|
options: terminalOptions
|
|
397
397
|
})
|
|
File without changes
|
package/lib/index.js
CHANGED
|
@@ -3,13 +3,21 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
Object.defineProperty(exports, "
|
|
6
|
+
Object.defineProperty(exports, "Terminal", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _Terminal.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "TerminalPlayer", {
|
|
7
13
|
enumerable: true,
|
|
8
14
|
get: function get() {
|
|
9
15
|
return _Player.default;
|
|
10
16
|
}
|
|
11
17
|
});
|
|
12
18
|
|
|
19
|
+
var _Terminal = _interopRequireDefault(require("./Terminal"));
|
|
20
|
+
|
|
13
21
|
var _Player = _interopRequireDefault(require("./Player"));
|
|
14
22
|
|
|
15
23
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcblock/terminal",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.62",
|
|
4
4
|
"description": "A react wrapper for xterm allowing you to easily render a terminal in the browser",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"react": ">=18.1.0"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "002cec5cff2f6f9505efabe358becd588acb2b19",
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@arcblock/react-hooks": "^2.1.
|
|
57
|
-
"@arcblock/ux": "^2.1.
|
|
56
|
+
"@arcblock/react-hooks": "^2.1.62",
|
|
57
|
+
"@arcblock/ux": "^2.1.62",
|
|
58
58
|
"@emotion/react": "^11.9.0",
|
|
59
59
|
"@emotion/styled": "^11.8.1",
|
|
60
60
|
"core-js": "^3.6.4",
|
package/src/Player.js
CHANGED
|
@@ -4,7 +4,7 @@ import PropTypes from 'prop-types';
|
|
|
4
4
|
import useInterval from '@arcblock/react-hooks/lib/useInterval';
|
|
5
5
|
import useWindowSize from 'react-use/lib/useWindowSize';
|
|
6
6
|
|
|
7
|
-
import Terminal from './
|
|
7
|
+
import Terminal from './Terminal';
|
|
8
8
|
|
|
9
9
|
import './player.css';
|
|
10
10
|
|
|
File without changes
|
package/src/index.js
CHANGED