module: mark type stripping as stable · nodejs/node@727560a

@@ -973,7 +973,7 @@ only recognizes double `"` for quoting. In Powershell or Git bash, both `'`

973973

and `"` are usable.

974974975975

It is possible to run code containing inline types unless the

976-

[`--no-experimental-strip-types`][] flag is provided.

976+

[`--no-strip-types`][] flag is provided.

977977978978

### `--experimental-addon-modules`

979979

@@ -1582,7 +1582,7 @@ changes:

1582158215831583

This configures Node.js to interpret `--eval` or `STDIN` input as CommonJS or

15841584

as an ES module. Valid values are `"commonjs"`, `"module"`, `"module-typescript"` and `"commonjs-typescript"`.

1585-

The `"-typescript"` values are not available with the flag `--no-experimental-strip-types`.

1585+

The `"-typescript"` values are not available with the flag `--no-strip-types`.

15861586

The default is no value, or `"commonjs"` if `--no-experimental-detect-module` is passed.

1587158715881588

If `--input-type` is not provided,

@@ -1898,23 +1898,6 @@ changes:

1898189818991899

Disable the experimental [`node:sqlite`][] module.

190019001901-

### `--no-experimental-strip-types`

1902-1903-

<!-- YAML

1904-

added: v22.6.0

1905-

changes:

1906-

- version:

1907-

- v23.6.0

1908-

- v22.18.0

1909-

pr-url: https://github.com/nodejs/node/pull/56350

1910-

description: Type stripping is enabled by default.

1911-

-->

1912-1913-

> Stability: 1.2 - Release candidate

1914-1915-

Disable experimental type-stripping for TypeScript files.

1916-

For more information, see the [TypeScript type-stripping][] documentation.

1917-19181901

### `--no-experimental-websocket`

1919190219201903

<!-- YAML

@@ -1964,6 +1947,24 @@ changes:

19641947

Disables the family autoselection algorithm unless connection options explicitly

19651948

enables it.

196619491950+

### `--no-strip-types`

1951+1952+

<!-- YAML

1953+

added: v22.6.0

1954+

changes:

1955+

- version: REPLACEME

1956+

pr-url: https://github.com/nodejs/node/pull/60600

1957+

description: Type stripping is now stable.

1958+

- version:

1959+

- v23.6.0

1960+

- v22.18.0

1961+

pr-url: https://github.com/nodejs/node/pull/56350

1962+

description: Type stripping is enabled by default.

1963+

-->

1964+1965+

Disable type-stripping for TypeScript files.

1966+

For more information, see the [TypeScript type-stripping][] documentation.

1967+19671968

### `--no-warnings`

1968196919691970

<!-- YAML

@@ -3542,6 +3543,7 @@ one is included in the list below.

35423543

* `--no-force-async-hooks-checks`

35433544

* `--no-global-search-paths`

35443545

* `--no-network-family-autoselection`

3546+

* `--no-strip-types`

35453547

* `--no-warnings`

35463548

* `--no-webstorage`

35473549

* `--node-memory-debug`

@@ -4103,7 +4105,7 @@ node --stack-trace-limit=12 -p -e "Error.stackTraceLimit" # prints 12

41034105

[`--experimental-sea-config`]: single-executable-applications.md#generating-single-executable-preparation-blobs

41044106

[`--heap-prof-dir`]: #--heap-prof-dir

41054107

[`--import`]: #--importmodule

4106-

[`--no-experimental-strip-types`]: #--no-experimental-strip-types

4108+

[`--no-strip-types`]: #--no-strip-types

41074109

[`--openssl-config`]: #--openssl-configfile

41084110

[`--preserve-symlinks`]: #--preserve-symlinks

41094111

[`--print`]: #-p---print-script