Skip to content

Commit a5abd0b

Browse files
committed
chore: updated the contributing.md
1 parent 1448aac commit a5abd0b

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

CONTRIBUTING.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -376,16 +376,9 @@ We have added the ESM support for all Node.js versions, Since version 20.6, [ESM
376376

377377
Use the following command to enable experimental ESM support:
378378

379-
- For Node.js versions greater than or equal to 18.19:
380-
381379
```sh
382380
node --import /path/to/instana/node_modules/@instana/collector/esm-register.mjs entry-point
383381
```
384-
- For Node.js versions less than 18.19:
385-
386-
```sh
387-
node --experimental-loader /path/to/instana/node_modules/@instana/collector/esm-loader.mjs entry-point
388-
```
389382

390383
## Node.js prerelease
391384

packages/core/src/tracing/instrumentation/protocols/nativeFetch.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ let isActive = false;
3333
exports.shouldAddHeadersToOptionsUnconditionally = function () {
3434
return (
3535
semver.eq(process.version, '21.0.0') ||
36-
(semver.gte(process.version, '20.8.1') && semver.lt(process.version, '20.10.0')) ||
37-
(semver.gte(process.version, '18.18.2') && semver.lt(process.version, '18.19.0'))
36+
(semver.gte(process.version, '20.8.1') && semver.lt(process.version, '20.10.0'))
3837
);
3938
};
4039

0 commit comments

Comments
 (0)