★ wanayoo — archive 1999 https://github.com/nodejs/node/commit/5e98f875b9Nouvelle recherche | Portail wanayoo
Skip to content
Permalink
Browse files
esm: fix typos
PR-URL: #27067
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
GeoffreyBooth authored and vsemozhetbyt committed Apr 3, 2019
1 parent d711b97 commit 5e98f875b93b7556458a6a274b09a36875207d9d
Showing with 4 additions and 4 deletions.
  1. +3 −3 doc/api/cli.md
  2. +1 −1 src/node_options.cc
@@ -131,6 +131,9 @@ conjunction with native stack and other runtime environment data.
added: v6.0.0
-->

Enable FIPS-compliant crypto at startup. (Requires Node.js to be built with
`./configure --openssl-fips`.)

### `--entry-type=type`
<!-- YAML
added: REPLACEME
@@ -144,9 +147,6 @@ the file extension and the `"type"` field in the nearest parent `package.json`.

Works for executing a file as well as `--eval`, `--print`, `STDIN`.

Enable FIPS-compliant crypto at startup. (Requires Node.js to be built with
`./configure --openssl-fips`.)

### `--es-module-specifier-resolution=mode`
<!-- YAML
added: REPLACEME
@@ -113,7 +113,7 @@ void EnvironmentOptions::CheckOptions(std::vector<std::string>* errors) {
"--experimental-modules to be enabled");
}
if (module_type != "commonjs" && module_type != "module") {
errors->push_back("--entry-type must \"module\" or \"commonjs\"");
errors->push_back("--entry-type must be \"module\" or \"commonjs\"");
}
}

0 comments on commit 5e98f87

Please sign in to comment.