@lydell/node-pty 1.2.0-beta.3 → 1.2.0-beta.7

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/README.md CHANGED
@@ -3,9 +3,9 @@
3
3
  Smaller distribution of [microsoft/node-pty](https://github.com/microsoft/node-pty).
4
4
 
5
5
  - microsoft/node-pty ships with prebuilt binaries for multiple platforms. @lydell/node-pty only installs the prebuilt binaries needed for the current platform (depends on your package manager).
6
- - microsoft/node-pty supports compiling using node-gyp on unsupported platforms, which requires more source files. @lydell/node-pty only works on platforms with prebuilt binaries and never calls node-gyp.
7
- - microsoft/node-pty ships with unneeded files, such as source code TypeScript files, source maps and test files. @lydell/node-pty removes those.
8
- - microsoft/node-pty is about 60 MiB. @lydell/node-pty is less than 1 MiB on macOS and Linux, and around 30 MiB on Windows.
6
+ - microsoft/node-pty supports compiling using node-gyp on unsupported platforms, which requires more source files (about two and a half megabytes). @lydell/node-pty only works on platforms with prebuilt binaries and never calls node-gyp.
7
+ - microsoft/node-pty ships with unneeded files, such as source code TypeScript files, source maps and test files. @lydell/node-pty removes those (about half a megabyte).
8
+ - microsoft/node-pty is tens of megabytes. @lydell/node-pty is way less than one megabyte on macOS and Linux, and around half of microsoft/node-pty on Windows. The thing that takes the most space is microsoft/node-pty are the two Windows binaries it ships.
9
9
 
10
10
  @lydell/node-pty is built like this:
11
11
 
@@ -26,7 +26,7 @@ Copyright (c) 2018, Microsoft Corporation (MIT License).
26
26
 
27
27
  ## Version
28
28
 
29
- @lydell/node-pty@1.2.0-beta.3 is based on node-pty@1.2.0-beta.3.
29
+ @lydell/node-pty@1.2.0-beta.7 is based on node-pty@1.2.0-beta.7.
30
30
 
31
31
  ## Prebuilt binaries
32
32
 
package/node-pty.d.ts CHANGED
@@ -86,13 +86,14 @@ declare module '@lydell/node-pty' {
86
86
  }
87
87
 
88
88
  export interface IWindowsPtyForkOptions extends IBasePtyForkOptions {
89
- /**
90
- * Whether to use the ConPTY system on Windows. When this is not set, ConPTY will be used when
91
- * the Windows build number is >= 18309 (instead of winpty). Note that ConPTY is available from
92
- * build 17134 but is too unstable to enable by default.
93
- *
94
- * This setting does nothing on non-Windows.
95
- */
89
+ /**
90
+ * Whether to use the ConPTY system on Windows. When this is not set, ConPTY will be used when
91
+ * the Windows build number is >= 18309 (instead of winpty). Note that ConPTY is available from
92
+ * build 17134 but is too unstable to enable by default.
93
+ *
94
+ * @deprecated This option is ignored and will be removed in a future version.
95
+ * https://github.com/microsoft/node-pty/issues/871
96
+ */
96
97
  useConpty?: boolean;
97
98
 
98
99
  /**
@@ -111,7 +112,7 @@ declare module '@lydell/node-pty' {
111
112
  }
112
113
 
113
114
  /**
114
- * An interface representing a pseudoterminal, on Windows this is emulated via the winpty library.
115
+ * An interface representing a pseudoterminal.
115
116
  */
116
117
  export interface IPty {
117
118
  /**
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@lydell/node-pty",
3
3
  "description": "Smaller distribution of node-pty.",
4
4
  "author": "Simon Lydell",
5
- "version": "1.2.0-beta.3",
5
+ "version": "1.2.0-beta.7",
6
6
  "license": "MIT",
7
7
  "type": "commonjs",
8
8
  "exports": "./index.js",
@@ -22,11 +22,11 @@
22
22
  "prebuilt"
23
23
  ],
24
24
  "optionalDependencies": {
25
- "@lydell/node-pty-darwin-arm64": "1.2.0-beta.3",
26
- "@lydell/node-pty-darwin-x64": "1.2.0-beta.3",
27
- "@lydell/node-pty-linux-arm64": "1.2.0-beta.3",
28
- "@lydell/node-pty-linux-x64": "1.2.0-beta.3",
29
- "@lydell/node-pty-win32-arm64": "1.2.0-beta.3",
30
- "@lydell/node-pty-win32-x64": "1.2.0-beta.3"
25
+ "@lydell/node-pty-darwin-arm64": "1.2.0-beta.7",
26
+ "@lydell/node-pty-darwin-x64": "1.2.0-beta.7",
27
+ "@lydell/node-pty-linux-arm64": "1.2.0-beta.7",
28
+ "@lydell/node-pty-linux-x64": "1.2.0-beta.7",
29
+ "@lydell/node-pty-win32-arm64": "1.2.0-beta.7",
30
+ "@lydell/node-pty-win32-x64": "1.2.0-beta.7"
31
31
  }
32
32
  }