@lydell/node-pty 1.2.0-beta.7 → 1.2.0-beta.8
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 +4 -2
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -4,9 +4,11 @@ Smaller distribution of [microsoft/node-pty](https://github.com/microsoft/node-p
|
|
|
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
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
|
|
7
|
+
- microsoft/node-pty ships with Windows-specific and Unix-like-specific JavaScript code on all platforms. @lydell/node-pty only ships Windows-specific JavaScript files for Windows, and Unix-like-specific JavaScript files for non-Windows. This only saves a few tens of kilobytes, though.
|
|
8
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
|
+
All in all, once microsoft/node-pty [only ships the needed prebuilt binaries for the current platform](https://github.com/microsoft/node-pty/issues/864), there probably isn’t much of a point to @lydell/node-pty anymore. It would only save a couple of megabytes (at the expense of not being able to compile on unsupported platforms).
|
|
11
|
+
|
|
10
12
|
@lydell/node-pty is built like this:
|
|
11
13
|
|
|
12
14
|
1. Download the original node-pty npm package.
|
|
@@ -26,7 +28,7 @@ Copyright (c) 2018, Microsoft Corporation (MIT License).
|
|
|
26
28
|
|
|
27
29
|
## Version
|
|
28
30
|
|
|
29
|
-
@lydell/node-pty@1.2.0-beta.
|
|
31
|
+
@lydell/node-pty@1.2.0-beta.8 is based on node-pty@1.2.0-beta.8.
|
|
30
32
|
|
|
31
33
|
## Prebuilt binaries
|
|
32
34
|
|
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.
|
|
5
|
+
"version": "1.2.0-beta.8",
|
|
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.
|
|
26
|
-
"@lydell/node-pty-darwin-x64": "1.2.0-beta.
|
|
27
|
-
"@lydell/node-pty-linux-arm64": "1.2.0-beta.
|
|
28
|
-
"@lydell/node-pty-linux-x64": "1.2.0-beta.
|
|
29
|
-
"@lydell/node-pty-win32-arm64": "1.2.0-beta.
|
|
30
|
-
"@lydell/node-pty-win32-x64": "1.2.0-beta.
|
|
25
|
+
"@lydell/node-pty-darwin-arm64": "1.2.0-beta.8",
|
|
26
|
+
"@lydell/node-pty-darwin-x64": "1.2.0-beta.8",
|
|
27
|
+
"@lydell/node-pty-linux-arm64": "1.2.0-beta.8",
|
|
28
|
+
"@lydell/node-pty-linux-x64": "1.2.0-beta.8",
|
|
29
|
+
"@lydell/node-pty-win32-arm64": "1.2.0-beta.8",
|
|
30
|
+
"@lydell/node-pty-win32-x64": "1.2.0-beta.8"
|
|
31
31
|
}
|
|
32
32
|
}
|