@node-core/utils 4.1.0 → 4.2.1

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.
@@ -68,7 +68,7 @@
68
68
 
69
69
  * [ ] Post-release announcement in reply email: TBD
70
70
 
71
- * [ ] Create a new issue in nodejs/tweet
71
+ * [ ] Notify `#nodejs-social` about the release.
72
72
 
73
73
  * [ ] Comment in [docker-node][] issue that release is ready for integration.
74
74
  The docker-node team will build and release docker image updates.
@@ -82,7 +82,7 @@
82
82
 
83
83
  * [ ] PR machine-readable JSON descriptions of the vulnerabilities to the
84
84
  [core](https://github.com/nodejs/security-wg/tree/HEAD/vuln/core)
85
- vulnerability DB. https://github.com/nodejs/security-wg/pull/1029
85
+ vulnerability DB.
86
86
  * For each vulnerability add a `#.json` file, one can copy an existing
87
87
  [json](https://github.com/nodejs/security-wg/blob/0d82062d917cb9ddab88f910559469b2b13812bf/vuln/core/78.json)
88
88
  file, and increment the latest created file number and use that as the name
package/lib/run.js CHANGED
@@ -36,6 +36,7 @@ function runAsyncBase(cmd, args, {
36
36
  child.stdout.setEncoding('utf8');
37
37
  child.stdout.on('data', (chunk) => { stdout += chunk; });
38
38
  }
39
+ child.on('error', reject);
39
40
  child.on('close', (code) => {
40
41
  if (code !== 0) {
41
42
  if (ignoreFailure) {
@@ -30,6 +30,10 @@ const zlibIgnore = `!/third_party/zlib
30
30
  /third_party/zlib/contrib/tests
31
31
  /third_party/zlib/google/test`;
32
32
 
33
+ const abseilIgnore = `!/third_party/abseil-cpp
34
+ /third_party/abseil-cpp/.github
35
+ /third_party/abseil-cpp/ci`;
36
+
33
37
  export const v8Deps = [
34
38
  {
35
39
  name: 'trace_event',
@@ -82,5 +86,11 @@ export const v8Deps = [
82
86
  repo: 'third_party/ittapi',
83
87
  gitignore: '!/third_party/ittapi',
84
88
  since: 81
89
+ },
90
+ {
91
+ name: 'abseil',
92
+ repo: 'third_party/abseil-cpp',
93
+ gitignore: abseilIgnore,
94
+ since: 121
85
95
  }
86
96
  ];
@@ -3,7 +3,7 @@ import { promises as fs } from 'node:fs';
3
3
  import { Listr } from 'listr2';
4
4
 
5
5
  import { v8Git } from './constants.js';
6
- import { runAsync } from '../run.js';
6
+ import { forceRunAsync } from '../run.js';
7
7
 
8
8
  export default function updateV8Clone() {
9
9
  return {
@@ -19,7 +19,7 @@ function fetchOrigin() {
19
19
  title: 'Fetch V8',
20
20
  task: async(ctx, task) => {
21
21
  try {
22
- await runAsync('git', ['fetch', 'origin'], {
22
+ await forceRunAsync('git', ['fetch', 'origin'], {
23
23
  spawnArgs: { cwd: ctx.v8Dir, stdio: 'ignore' }
24
24
  });
25
25
  } catch (e) {
@@ -39,8 +39,8 @@ function createClone() {
39
39
  title: 'Clone V8',
40
40
  task: async(ctx) => {
41
41
  await fs.mkdir(ctx.baseDir, { recursive: true });
42
- await runAsync('git', ['clone', v8Git], {
43
- spawnArgs: { cwd: ctx.baseDir, stdio: 'ignore' }
42
+ await forceRunAsync('git', ['clone', v8Git, ctx.v8Dir], {
43
+ spawnArgs: { stdio: 'ignore' }
44
44
  });
45
45
  },
46
46
  enabled: (ctx) => ctx.shouldClone
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@node-core/utils",
3
- "version": "4.1.0",
3
+ "version": "4.2.1",
4
4
  "description": "Utilities for Node.js core collaborators",
5
5
  "type": "module",
6
6
  "engines": {
@@ -34,36 +34,36 @@
34
34
  ],
35
35
  "license": "MIT",
36
36
  "dependencies": {
37
- "@listr2/prompt-adapter-enquirer": "^1.0.1",
38
- "@node-core/caritat": "^1.2.0",
39
- "@pkgjs/nv": "^0.2.1",
40
- "branch-diff": "^2.1.4",
37
+ "@listr2/prompt-adapter-enquirer": "^1.0.2",
38
+ "@node-core/caritat": "^1.2.1",
39
+ "@pkgjs/nv": "^0.2.2",
40
+ "branch-diff": "^2.1.5",
41
41
  "chalk": "^5.3.0",
42
- "changelog-maker": "^3.2.4",
42
+ "changelog-maker": "^3.2.6",
43
43
  "cheerio": "^1.0.0-rc.12",
44
- "clipboardy": "^3.0.0",
44
+ "clipboardy": "^4.0.0",
45
45
  "core-validate-commit": "^4.0.0",
46
- "figures": "^5.0.0",
46
+ "figures": "^6.0.1",
47
47
  "ghauth": "^5.0.1",
48
48
  "inquirer": "^9.2.11",
49
49
  "js-yaml": "^4.1.0",
50
- "listr2": "^7.0.1",
50
+ "listr2": "^7.0.2",
51
51
  "lodash": "^4.17.21",
52
- "log-symbols": "^5.1.0",
52
+ "log-symbols": "^6.0.0",
53
53
  "ora": "^7.0.1",
54
- "replace-in-file": "^7.0.1",
55
- "undici": "^5.25.2",
54
+ "replace-in-file": "^7.0.2",
55
+ "undici": "^5.27.2",
56
56
  "which": "^4.0.0",
57
57
  "yargs": "^17.7.2"
58
58
  },
59
59
  "devDependencies": {
60
- "@reporters/github": "^1.5.2",
60
+ "@reporters/github": "^1.5.3",
61
61
  "c8": "^8.0.1",
62
- "eslint": "^8.50.0",
62
+ "eslint": "^8.53.0",
63
63
  "eslint-config-standard": "^17.1.0",
64
- "eslint-plugin-import": "^2.28.1",
65
- "eslint-plugin-n": "^16.1.0",
64
+ "eslint-plugin-import": "^2.29.0",
65
+ "eslint-plugin-n": "^16.2.0",
66
66
  "eslint-plugin-promise": "^6.1.1",
67
- "sinon": "^16.0.0"
67
+ "sinon": "^17.0.1"
68
68
  }
69
69
  }