@node-core/utils 5.9.0 → 5.10.0

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.
@@ -101,7 +101,7 @@ export default class SecurityBlog extends SecurityRelease {
101
101
  dependencyUpdates: content.dependencies
102
102
  };
103
103
 
104
- const pathToBlogPosts = path.resolve(nodejsOrgFolder, 'apps/site/pages/en/blog/release');
104
+ const pathToBlogPosts = path.resolve(nodejsOrgFolder, 'apps/site/pages/en/blog/vulnerability');
105
105
  const pathToBannerJson = path.resolve(nodejsOrgFolder, 'apps/site/site.json');
106
106
 
107
107
  const preReleasePath = path.resolve(pathToBlogPosts, data.slug + '.md');
@@ -250,12 +250,8 @@ export default class SecurityBlog extends SecurityRelease {
250
250
  if (Object.keys(dependencyUpdates).length === 0) return '';
251
251
  let template = '\nThis security release includes the following dependency' +
252
252
  ' updates to address public vulnerabilities:\n';
253
- for (const dependencyUpdate of Object.values(dependencyUpdates)) {
254
- for (const dependency of dependencyUpdate) {
255
- const title = dependency.title.substring(dependency.title.indexOf(':') + ':'.length).trim();
256
- template += `- ${title}\
257
- on ${dependency.affectedVersions.join(', ')}\n`;
258
- }
253
+ for (const [dependency, { versions, affectedVersions }] of Object.entries(dependencyUpdates)) {
254
+ template += `- ${dependency} (${versions.join(', ')}) on ${affectedVersions.join(', ')}\n`;
259
255
  }
260
256
  return template;
261
257
  }
@@ -41,6 +41,9 @@ const fp16Ignore = `!/third_party/fp16
41
41
  const fastFloatReplace = `/third_party/fast_float/src/*
42
42
  !/third_party/fast_float/src/include`;
43
43
 
44
+ const highwayIgnore = `/third_party/highway/src/*
45
+ !/third_party/highway/src/hwy`;
46
+
44
47
  export const v8Deps = [
45
48
  {
46
49
  name: 'trace_event',
@@ -115,5 +118,14 @@ export const v8Deps = [
115
118
  replace: fastFloatReplace
116
119
  },
117
120
  since: 130
121
+ },
122
+ {
123
+ name: 'highway',
124
+ repo: 'third_party/highway/src',
125
+ gitignore: {
126
+ match: '/third_party/highway/src',
127
+ replace: highwayIgnore
128
+ },
129
+ since: 134
118
130
  }
119
131
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@node-core/utils",
3
- "version": "5.9.0",
3
+ "version": "5.10.0",
4
4
  "description": "Utilities for Node.js core collaborators",
5
5
  "type": "module",
6
6
  "engines": {
@@ -34,35 +34,35 @@
34
34
  ],
35
35
  "license": "MIT",
36
36
  "dependencies": {
37
- "@inquirer/prompts": "^6.0.1",
38
- "@listr2/prompt-adapter-enquirer": "^2.0.11",
37
+ "@inquirer/prompts": "^7.2.3",
38
+ "@listr2/prompt-adapter-enquirer": "^2.0.12",
39
39
  "@node-core/caritat": "^1.6.0",
40
40
  "@pkgjs/nv": "^0.2.2",
41
41
  "branch-diff": "^3.1.1",
42
- "chalk": "^5.3.0",
42
+ "chalk": "^5.4.1",
43
43
  "changelog-maker": "^4.3.1",
44
44
  "cheerio": "^1.0.0",
45
45
  "clipboardy": "^4.0.0",
46
46
  "core-validate-commit": "^4.1.0",
47
47
  "figures": "^6.1.0",
48
- "ghauth": "^6.0.7",
48
+ "ghauth": "^6.0.10",
49
49
  "git-secure-tag": "^2.3.1",
50
50
  "js-yaml": "^4.1.0",
51
- "listr2": "^8.2.4",
51
+ "listr2": "^8.2.5",
52
52
  "lodash": "^4.17.21",
53
53
  "log-symbols": "^7.0.0",
54
- "ora": "^8.1.0",
55
- "replace-in-file": "^8.2.0",
56
- "undici": "^6.19.8",
57
- "which": "^4.0.0",
54
+ "ora": "^8.1.1",
55
+ "replace-in-file": "^8.3.0",
56
+ "undici": "^7.2.2",
57
+ "which": "^5.0.0",
58
58
  "yargs": "^17.7.2"
59
59
  },
60
60
  "devDependencies": {
61
- "@reporters/github": "^1.7.1",
62
- "c8": "^10.1.2",
61
+ "@reporters/github": "^1.7.2",
62
+ "c8": "^10.1.3",
63
63
  "eslint": "^8.57.1",
64
64
  "eslint-config-standard": "^17.1.0",
65
- "eslint-plugin-import": "^2.30.0",
65
+ "eslint-plugin-import": "^2.31.0",
66
66
  "eslint-plugin-n": "^16.6.2",
67
67
  "eslint-plugin-promise": "^6.6.0",
68
68
  "sinon": "^19.0.2"