* dns: add a cancel() method to the promise Resolver * events: add max listener warning for EventTarget * http: add support for abortsignal to http.request * http2: allow setting the local window size of a session * lib: add throws option to fs.f/l/statSync * path: add path/posix and path/win32 alias modules * readline: add getPrompt to get the current prompt * src: add loop idle time in diagnostic report * util: add util/types alias module - New upstream version 15.2.1: OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs15?expand=0&rev=10
27 lines
1.2 KiB
Diff
27 lines
1.2 KiB
Diff
Index: node-v15.3.0/configure
|
|
===================================================================
|
|
--- node-v15.3.0.orig/configure
|
|
+++ node-v15.3.0/configure
|
|
@@ -21,7 +21,7 @@ import sys
|
|
from distutils.spawn import find_executable
|
|
|
|
print('Node.js configure: Found Python {0}.{1}.{2}...'.format(*sys.version_info))
|
|
-acceptable_pythons = ((3, 9), (3, 8), (3, 7), (3, 6), (3, 5), (2, 7))
|
|
+acceptable_pythons = ((3, 9), (3, 8), (3, 7), (3, 6), (3, 5), (3, 4), (2, 7))
|
|
if sys.version_info[:2] in acceptable_pythons:
|
|
import configure
|
|
else:
|
|
Index: node-v15.3.0/deps/npm/node_modules/node-gyp/lib/find-python.js
|
|
===================================================================
|
|
--- node-v15.3.0.orig/deps/npm/node_modules/node-gyp/lib/find-python.js
|
|
+++ node-v15.3.0/deps/npm/node_modules/node-gyp/lib/find-python.js
|
|
@@ -18,7 +18,7 @@ PythonFinder.prototype = {
|
|
log: logWithPrefix(log, 'find Python'),
|
|
argsExecutable: ['-c', 'import sys; print(sys.executable);'],
|
|
argsVersion: ['-c', 'import sys; print("%s.%s.%s" % sys.version_info[:3]);'],
|
|
- semverRange: '2.7.x || >=3.5.0',
|
|
+ semverRange: '2.7.x || >=3.4.0',
|
|
|
|
// These can be overridden for testing:
|
|
execFile: cp.execFile,
|