Skip to content

Commit 4576d9a

Browse files
santigimenotrevnorris
authored andcommitted
src: NODE_RELEASE should be node
So we remain compatible with Node.js. PR-URL: #36 Reviewed-by: Trevor Norris <trev.norris@gmail.com>
1 parent 55a2d6c commit 4576d9a

9 files changed

Lines changed: 11 additions & 11 deletions

src/node_version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
#endif
4545

4646
#ifndef NODE_RELEASE
47-
#define NODE_RELEASE "nsolid"
47+
#define NODE_RELEASE "node"
4848
#endif
4949

5050
#ifndef NODE_TAG

test/message/unhandled_promise_trace_warnings.out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(nsolid:*) UnhandledPromiseRejectionWarning: Error: This was rejected
1+
(node:*) UnhandledPromiseRejectionWarning: Error: This was rejected
22
at * (*test*message*unhandled_promise_trace_warnings.js:*)
33
at *
44
at *
@@ -9,15 +9,15 @@
99
at *
1010
at *
1111
at *
12-
(nsolid:*) Error: This was rejected
12+
(node:*) Error: This was rejected
1313
at * (*test*message*unhandled_promise_trace_warnings.js:*)
1414
at *
1515
at *
1616
at *
1717
at *
1818
at *
1919
at *
20-
(nsolid:*) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1)
20+
(node:*) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1)
2121
at handledRejection (node:internal/process/promises:*)
2222
at promiseRejectHandler (node:internal/process/promises:*)
2323
at Promise.then *

test/message/v8_warning.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
(nsolid:*) V8: *v8_warning.js:* Invalid asm.js: Invalid return type
1+
(node:*) V8: *v8_warning.js:* Invalid asm.js: Invalid return type
22
(Use `* --trace-warnings ...` to show where the warning was created)

test/parallel/test-process-redirect-warnings-env.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ const warnpath = path.join(tmpdir.path, 'warnings.txt');
2121
fork(warnmod, { env: { ...process.env, NODE_REDIRECT_WARNINGS: warnpath } })
2222
.on('exit', common.mustCall(() => {
2323
fs.readFile(warnpath, 'utf8', common.mustSucceed((data) => {
24-
assert.match(data, /\(nsolid:\d+\) Warning: a bad practice warning/);
24+
assert.match(data, /\(node:\d+\) Warning: a bad practice warning/);
2525
}));
2626
}));

test/parallel/test-process-redirect-warnings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ const warnpath = path.join(tmpdir.path, 'warnings.txt');
2121
fork(warnmod, { execArgv: [`--redirect-warnings=${warnpath}`] })
2222
.on('exit', common.mustCall(() => {
2323
fs.readFile(warnpath, 'utf8', common.mustSucceed((data) => {
24-
assert.match(data, /\(nsolid:\d+\) Warning: a bad practice warning/);
24+
assert.match(data, /\(node:\d+\) Warning: a bad practice warning/);
2525
}));
2626
}));

test/parallel/test-process-release.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ require('../common');
55
const assert = require('assert');
66
const versionParts = process.versions.node.split('.');
77

8-
assert.strictEqual(process.release.name, 'nsolid');
8+
assert.strictEqual(process.release.name, 'node');
99

1010
// It's expected that future LTS release lines will have additional
1111
// branches in here
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11

2-
(nsolid:*) Warning: The 'NODE_DISABLE_COLORS' env is ignored due to the 'FORCE_COLOR' env being set.
2+
(node:*) Warning: The 'NODE_DISABLE_COLORS' env is ignored due to the 'FORCE_COLOR' env being set.
33
(Use `* --trace-warnings ...` to show where the warning was created)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11

2-
(nsolid:*) Warning: The 'NODE_DISABLE_COLORS' and 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
2+
(node:*) Warning: The 'NODE_DISABLE_COLORS' and 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
33
(Use `* --trace-warnings ...` to show where the warning was created)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
(nsolid:*) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
1+
(node:*) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
22
(Use `* --trace-warnings ...` to show where the warning was created)

0 commit comments

Comments
 (0)