@vibedeckx/darwin-arm64 0.3.54 → 0.3.56

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.
@@ -261,6 +261,10 @@ var UnixTerminal = /** @class */ (function (_super) {
261
261
  };
262
262
  UnixTerminal.prototype.clear = function () {
263
263
  };
264
+ UnixTerminal.prototype.setParentWindow = function (handle) {
265
+ // Windows only
266
+ return false;
267
+ };
264
268
  UnixTerminal.prototype._sanitizeEnv = function (env) {
265
269
  // Make sure we didn't start our server from inside tmux.
266
270
  delete env['TMUX'];
@@ -181,6 +181,15 @@ var WindowsPtyAgent = /** @class */ (function () {
181
181
  WindowsPtyAgent.prototype.clear = function () {
182
182
  this._ptyNative.clear(this._pty, this._useConptyDll);
183
183
  };
184
+ /**
185
+ * Tells ConPTY which top-level window hosts the terminal (ConptyReparentPseudoConsole). The
186
+ * window becomes the owner of the console window returned by GetConsoleWindow(), so dialogs
187
+ * that console apps parent to it (e.g. WAM sign-in) stack above the host window. Returns
188
+ * whether the request was sent to ConPTY, which applies it asynchronously.
189
+ */
190
+ WindowsPtyAgent.prototype.setParentWindow = function (handle) {
191
+ return this._ptyNative.reparent(this._pty, handle, this._useConptyDll);
192
+ };
184
193
  WindowsPtyAgent.prototype.kill = function () {
185
194
  var _this = this;
186
195
  // Prevent deferred connection from completing after kill
@@ -148,6 +148,11 @@ var WindowsTerminal = /** @class */ (function (_super) {
148
148
  _this._agent.clear();
149
149
  });
150
150
  };
151
+ WindowsTerminal.prototype.setParentWindow = function (handle) {
152
+ // Not deferred: the pseudoconsole exists as soon as the agent is created, and the owner
153
+ // should be requested before the shell starts asking for it.
154
+ return this._agent.setParentWindow(handle);
155
+ };
151
156
  WindowsTerminal.prototype.destroy = function () {
152
157
  var _this = this;
153
158
  this._deferNoArgs(function () {
@@ -4,7 +4,7 @@
4
4
  "author": {
5
5
  "name": "Microsoft Corporation"
6
6
  },
7
- "version": "1.2.0-beta.15",
7
+ "version": "1.2.0-beta.18",
8
8
  "license": "MIT",
9
9
  "main": "./lib/index.js",
10
10
  "types": "./typings/node-pty.d.ts",
@@ -20,6 +20,18 @@
20
20
  "bugs": {
21
21
  "url": "https://github.com/microsoft/node-pty/issues"
22
22
  },
23
+ "devEngines": {
24
+ "runtime": {
25
+ "name": "node",
26
+ "version": ">=24",
27
+ "onFail": "error"
28
+ },
29
+ "packageManager": {
30
+ "name": "npm",
31
+ "version": ">=11.6.3",
32
+ "onFail": "error"
33
+ }
34
+ },
23
35
  "keywords": [
24
36
  "pty",
25
37
  "tty",
@@ -29,15 +41,14 @@
29
41
  "openpty"
30
42
  ],
31
43
  "devDependencies": {
32
- "@types/mocha": "^7.0.2",
44
+ "@types/mocha": "^10.0.10",
33
45
  "@types/node": "12",
34
46
  "@typescript-eslint/eslint-plugin": "^8.0.0",
35
47
  "@typescript-eslint/parser": "^8.0.0",
36
48
  "cross-env": "^5.1.4",
37
49
  "eslint": "^10.4.0",
38
50
  "globals": "^14.0.0",
39
- "mocha": "10",
40
- "node-gyp": "^11.4.2",
51
+ "mocha": "12.0.2",
41
52
  "ps-list": "^6.0.0",
42
53
  "typescript": "^5.0.0"
43
54
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibedeckx/darwin-arm64",
3
- "version": "0.3.54",
3
+ "version": "0.3.56",
4
4
  "description": "Vibedeckx platform binaries for macOS ARM64",
5
5
  "repository": {
6
6
  "type": "git",