Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
analysis:
name: Scorecard analysis
# cannot use ubuntu-slim here because ossf/scorecard-action is dockerized
runs-on: ubuntu-24.04-arm
# cannot use ubuntu-24.04-arm here because the docker image is x86 only
runs-on: ubuntu-latest
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
Expand Down
10 changes: 5 additions & 5 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,11 @@ platforms. This is true regardless of entries in the table below.

Depending on the host platform, the selection of toolchains may vary.

| Operating System | Compiler Versions |
| ---------------- | -------------------------------------------------------------- |
| Linux | GCC >= 12.2 or Clang >= 19.1 |
| Windows | Visual Studio >= 2022 with the Windows 10 SDK on a 64-bit host |
| macOS | Xcode >= 16.4 (Apple LLVM >= 19) |
| Operating System | Compiler Versions |
| ---------------- | ------------------------------------------------------------------------- |
| Linux | GCC >= 12.2 or Clang >= 19.1 |
| Windows | Visual Studio 2022 or 2026 with the Windows 10 or 11 SDK on a 64-bit host |
| macOS | Xcode >= 16.4 (Apple LLVM >= 19) |

### Official binary platforms and toolchains

Expand Down
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V25.md#25.6.1">25.6.1</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V25.md#25.7.0">25.7.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V25.md#25.6.1">25.6.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V25.md#25.6.0">25.6.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V25.md#25.5.0">25.5.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V25.md#25.4.0">25.4.0</a><br/>
Expand All @@ -52,7 +53,8 @@ release.
<a href="doc/changelogs/CHANGELOG_V25.md#25.0.0">25.0.0</a><br/>
</td>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V24.md#24.13.1">24.13.1</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V24.md#24.14.0">24.14.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V24.md#24.13.1">24.13.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V24.md#24.13.0">24.13.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V24.md#24.12.0">24.12.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V24.md#24.11.1">24.11.1</a><br/>
Expand Down
36 changes: 36 additions & 0 deletions benchmark/util/strip-vt-control-characters.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
'use strict';

const common = require('../common.js');

const { stripVTControlCharacters } = require('node:util');
const assert = require('node:assert');

const bench = common.createBenchmark(main, {
input: ['noAnsi-short', 'noAnsi-long', 'ansi-short', 'ansi-long'],
n: [1e6],
});

function main({ input, n }) {
let str;
switch (input) {
case 'noAnsi-short':
str = 'This is a plain text string without any ANSI codes';
break;
case 'noAnsi-long':
str = 'Long plain text without ANSI. '.repeat(333);
break;
case 'ansi-short':
str = '\u001B[31mHello\u001B[39m';
break;
case 'ansi-long':
str = ('\u001B[31m' + 'colored text '.repeat(10) + '\u001B[39m').repeat(10);
break;
}

bench.start();
for (let i = 0; i < n; i++) {
const result = stripVTControlCharacters(str);
assert.ok(typeof result === 'string');
}
bench.end(n);
}
4 changes: 3 additions & 1 deletion deps/minimatch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@ Returns a function that tests its
supplied argument, suitable for use with `Array.filter`. Example:

```javascript
var javascripts = fileList.filter(minimatch.filter('*.js', { matchBase: true }))
var javascripts = fileList.filter(
minimatch.filter('*.js', { matchBase: true }),
)
```

### minimatch.escape(pattern, options = {})
Expand Down
2 changes: 1 addition & 1 deletion deps/minimatch/dist/commonjs/ast.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

64 changes: 37 additions & 27 deletions deps/minimatch/dist/commonjs/ast.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion deps/minimatch/dist/commonjs/ast.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion deps/minimatch/dist/commonjs/brace-expressions.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions deps/minimatch/dist/commonjs/brace-expressions.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading