From e34e85995d40ea0a0c47a28983d1989007a3a6c7 Mon Sep 17 00:00:00 2001 From: Wyatt Preul Date: Fri, 30 Sep 2016 12:34:30 -0500 Subject: [PATCH 1/2] test: fix running child-process-uid-gid as root This skips the child-test-uid-gid test when run as root. Previously, the test failed if executed as root. PR-URL: https://github.com/nodejs/node/pull/8864 Reviewed-By: Colin Ihrig Reviewed-By: Anna Henningsen Reviewed-By: James M Snell Reviewed-By: Ilkka Myller --- test/parallel/test-child-process-uid-gid.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/parallel/test-child-process-uid-gid.js b/test/parallel/test-child-process-uid-gid.js index 220cae633e112f..1ab514566cd93d 100644 --- a/test/parallel/test-child-process-uid-gid.js +++ b/test/parallel/test-child-process-uid-gid.js @@ -3,6 +3,11 @@ const common = require('../common'); const assert = require('assert'); const spawn = require('child_process').spawn; +if (process.getuid() === 0) { + common.skip('as this test should not be run as `root`'); + return; +} + const expectedError = common.isWindows ? /\bENOTSUP\b/ : /\bEPERM\b/; assert.throws(() => { From 507d652ab46a940631990d4c8c1c333468976324 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 3 Feb 2024 19:58:32 +0000 Subject: [PATCH 2/2] build(deps): bump the npm_and_yarn group across 2 directories with 1 update Bumps the npm_and_yarn group with 1 update in the /tools/doc directory: [marked](https://github.com/markedjs/marked). Updates `marked` from 0.3.19 to 12.0.0 - [Release notes](https://github.com/markedjs/marked/releases) - [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json) - [Commits](https://github.com/markedjs/marked/compare/v0.3.19...v12.0.0) --- updated-dependencies: - dependency-name: marked dependency-type: direct:production dependency-group: npm_and_yarn-security-group ... Signed-off-by: dependabot[bot] --- tools/doc/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/doc/package.json b/tools/doc/package.json index 41a50ac04ed188..749f7393732a1b 100644 --- a/tools/doc/package.json +++ b/tools/doc/package.json @@ -7,7 +7,7 @@ "node": ">=0.6.10" }, "dependencies": { - "marked": "^0.3.5", + "marked": "^12.0.0", "js-yaml": "^3.5.2" }, "devDependencies": {},