node-pty 1.1.0-beta31 → 1.1.0-beta32
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/deps/winpty/src/winpty.gyp +29 -1
- package/package.json +1 -1
- package/src/win/conpty.cc +2 -2
- package/third_party/conpty/1.22.250314001/win10-arm64/OpenConsole.exe +0 -0
- package/third_party/conpty/1.22.250314001/win10-arm64/conpty.dll +0 -0
- package/third_party/conpty/1.22.250314001/win10-x64/OpenConsole.exe +0 -0
- package/third_party/conpty/1.22.250314001/win10-x64/conpty.dll +0 -0
- package/third_party/conpty/1.22.250204002/win10-arm64/OpenConsole.exe +0 -0
- package/third_party/conpty/1.22.250204002/win10-arm64/conpty.dll +0 -0
- package/third_party/conpty/1.22.250204002/win10-x64/OpenConsole.exe +0 -0
- package/third_party/conpty/1.22.250204002/win10-x64/conpty.dll +0 -0
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
# Add the 'src/gen' directory to the include path and force gyp to
|
|
24
24
|
# run the script (re)generating the version header.
|
|
25
25
|
'<!(cmd /c "cd shared && UpdateGenVersion.bat <(WINPTY_COMMIT_HASH)")',
|
|
26
|
-
]
|
|
26
|
+
]
|
|
27
27
|
},
|
|
28
28
|
'targets' : [
|
|
29
29
|
{
|
|
@@ -40,12 +40,26 @@
|
|
|
40
40
|
'-lshell32',
|
|
41
41
|
'-luser32',
|
|
42
42
|
],
|
|
43
|
+
'msvs_configuration_attributes': {
|
|
44
|
+
'SpectreMitigation': 'Spectre'
|
|
45
|
+
},
|
|
43
46
|
'msvs_settings': {
|
|
44
47
|
# Specify this setting here to override a setting from somewhere
|
|
45
48
|
# else, such as node's common.gypi.
|
|
46
49
|
'VCCLCompilerTool': {
|
|
47
50
|
'ExceptionHandling': '1', # /EHsc
|
|
51
|
+
'AdditionalOptions': [
|
|
52
|
+
'/guard:cf',
|
|
53
|
+
'/w34244',
|
|
54
|
+
'/w34267',
|
|
55
|
+
'/ZH:SHA_256'
|
|
56
|
+
]
|
|
48
57
|
},
|
|
58
|
+
'VCLinkerTool': {
|
|
59
|
+
'AdditionalOptions': [
|
|
60
|
+
'/guard:cf'
|
|
61
|
+
]
|
|
62
|
+
}
|
|
49
63
|
},
|
|
50
64
|
'sources' : [
|
|
51
65
|
'agent/Agent.h',
|
|
@@ -128,12 +142,26 @@
|
|
|
128
142
|
'-ladvapi32',
|
|
129
143
|
'-luser32',
|
|
130
144
|
],
|
|
145
|
+
'msvs_configuration_attributes': {
|
|
146
|
+
'SpectreMitigation': 'Spectre'
|
|
147
|
+
},
|
|
131
148
|
'msvs_settings': {
|
|
132
149
|
# Specify this setting here to override a setting from somewhere
|
|
133
150
|
# else, such as node's common.gypi.
|
|
134
151
|
'VCCLCompilerTool': {
|
|
135
152
|
'ExceptionHandling': '1', # /EHsc
|
|
153
|
+
'AdditionalOptions': [
|
|
154
|
+
'/guard:cf',
|
|
155
|
+
'/w34244',
|
|
156
|
+
'/w34267',
|
|
157
|
+
'/ZH:SHA_256'
|
|
158
|
+
]
|
|
136
159
|
},
|
|
160
|
+
'VCLinkerTool': {
|
|
161
|
+
'AdditionalOptions': [
|
|
162
|
+
'/guard:cf'
|
|
163
|
+
]
|
|
164
|
+
}
|
|
137
165
|
},
|
|
138
166
|
'sources' : [
|
|
139
167
|
'include/winpty.h',
|
package/package.json
CHANGED
package/src/win/conpty.cc
CHANGED
|
@@ -153,8 +153,8 @@ bool createDataServerPipe(bool write,
|
|
|
153
153
|
/*dwOpenMode=*/winOpenMode,
|
|
154
154
|
/*dwPipeMode=*/PIPE_TYPE_BYTE | PIPE_READMODE_BYTE | PIPE_WAIT,
|
|
155
155
|
/*nMaxInstances=*/1,
|
|
156
|
-
/*nOutBufferSize=*/
|
|
157
|
-
/*nInBufferSize=*/
|
|
156
|
+
/*nOutBufferSize=*/128 * 1024,
|
|
157
|
+
/*nInBufferSize=*/128 * 1024,
|
|
158
158
|
/*nDefaultTimeOut=*/30000,
|
|
159
159
|
&sa);
|
|
160
160
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|