| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent ccc9b10 commit 55239a4
12 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1061,14 +1061,6 @@ added: | |||
| 1061 | 1061 | ||
| 1062 | 1062 | Use this flag to enable [ShadowRealm][] support. | |
| 1063 | 1063 | ||
| 1064 | - ### `--experimental-sqlite` | ||
| 1065 | - | ||
| 1066 | - <!-- YAML | ||
| 1067 | - added: v22.5.0 | ||
| 1068 | - --> | ||
| 1069 | - | ||
| 1070 | - Enable the experimental [`node:sqlite`][] module. | ||
| 1071 | - | ||
| 1072 | 1064 | ### `--experimental-strip-types` | |
| 1073 | 1065 | ||
| 1074 | 1066 | <!-- YAML | |
@@ -1688,6 +1680,18 @@ Disable support for loading a synchronous ES module graph in `require()`. | |||
| 1688 | 1680 | ||
| 1689 | 1681 | See [Loading ECMAScript modules using `require()`][]. | |
| 1690 | 1682 | ||
| 1683 | + ### `--no-experimental-sqlite` | ||
| 1684 | + | ||
| 1685 | + <!-- YAML | ||
| 1686 | + added: v22.5.0 | ||
| 1687 | + changes: | ||
| 1688 | + - version: REPLACEME | ||
| 1689 | + pr-url: https://github.com/nodejs/node/pull/55890 | ||
| 1690 | + description: SQLite is unflagged but still experimental. | ||
| 1691 | + --> | ||
| 1692 | + | ||
| 1693 | + Disable the experimental [`node:sqlite`][] module. | ||
| 1694 | + | ||
| 1691 | 1695 | ### `--no-experimental-websocket` | |
| 1692 | 1696 | ||
| 1693 | 1697 | <!-- YAML | |
@@ -3073,7 +3077,6 @@ one is included in the list below. | |||
| 3073 | 3077 | * `--experimental-require-module` | |
| 3074 | 3078 | * `--experimental-shadow-realm` | |
| 3075 | 3079 | * `--experimental-specifier-resolution` | |
| 3076 | - * `--experimental-sqlite` | ||
| 3077 | 3080 | * `--experimental-strip-types` | |
| 3078 | 3081 | * `--experimental-top-level-await` | |
| 3079 | 3082 | * `--experimental-transform-types` | |
@@ -3112,6 +3115,7 @@ one is included in the list below. | |||
| 3112 | 3115 | * `--no-experimental-global-navigator` | |
| 3113 | 3116 | * `--no-experimental-global-webcrypto` | |
| 3114 | 3117 | * `--no-experimental-repl-await` | |
| 3118 | + * `--no-experimental-sqlite` | ||
| 3115 | 3119 | * `--no-experimental-websocket` | |
| 3116 | 3120 | * `--no-extra-info-on-fatal-exception` | |
| 3117 | 3121 | * `--no-force-async-hooks-checks` | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,8 +6,7 @@ | |||
| 6 | 6 | added: v22.5.0 | |
| 7 | 7 | --> | |
| 8 | 8 | ||
| 9 | - > Stability: 1.1 - Active development. Enable this API with the | ||
| 10 | - > [`--experimental-sqlite`][] CLI flag. | ||
| 9 | + > Stability: 1.1 - Active development. | ||
| 11 | 10 | ||
| 12 | 11 | <!-- source_link=lib/sqlite.js --> | |
| 13 | 12 | ||
@@ -432,7 +431,6 @@ The following constants are meant for use with [`database.applyChangeset()`](#da | |||
| 432 | 431 | ||
| 433 | 432 | [Changesets and Patchsets]: https://www.sqlite.org/sessionintro.html#changesets_and_patchsets | |
| 434 | 433 | [SQL injection]: https://en.wikipedia.org/wiki/SQL_injection | |
| 435 | - [`--experimental-sqlite`]: cli.md#--experimental-sqlite | ||
| 436 | 434 | [`ATTACH DATABASE`]: https://www.sqlite.org/lang_attach.html | |
| 437 | 435 | [`PRAGMA foreign_keys`]: https://www.sqlite.org/pragma.html#pragma_foreign_keys | |
| 438 | 436 | [`sqlite3_changes64()`]: https://www.sqlite.org/c3ref/changes.html | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -182,9 +182,6 @@ Enable the experimental permission model. | |||
| 182 | 182 | .It Fl -experimental-shadow-realm | |
| 183 | 183 | Use this flag to enable ShadowRealm support. | |
| 184 | 184 | . | |
| 185 | - .It Fl -experimental-sqlite | ||
| 186 | - Enable the experimental node:sqlite module. | ||
| 187 | - . | ||
| 188 | 185 | .It Fl -experimental-test-coverage | |
| 189 | 186 | Enable code coverage in the test runner. | |
| 190 | 187 | . | |
@@ -224,6 +221,9 @@ Disable exposition of the Web Crypto API on the global scope. | |||
| 224 | 221 | .It Fl -no-experimental-repl-await | |
| 225 | 222 | Disable top-level await keyword support in REPL. | |
| 226 | 223 | . | |
| 224 | + .It Fl -no-experimental-sqlite | ||
| 225 | + Disable the experimental node:sqlite module. | ||
| 226 | + . | ||
| 227 | 227 | .It Fl -experimental-vm-modules | |
| 228 | 228 | Enable experimental ES module support in VM module. | |
| 229 | 229 | . | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -382,7 +382,7 @@ function setupWebCrypto() { | |||
| 382 | 382 | } | |
| 383 | 383 | ||
| 384 | 384 | function setupSQLite() { | |
| 385 | - if (!getOptionValue('--experimental-sqlite')) { | ||
| 385 | + if (getOptionValue('--no-experimental-sqlite')) { | ||
| 386 | 386 | return; | |
| 387 | 387 | } | |
| 388 | 388 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -430,7 +430,8 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() { | |||
| 430 | 430 | AddOption("--experimental-sqlite", | |
| 431 | 431 | "experimental node:sqlite module", | |
| 432 | 432 | &EnvironmentOptions::experimental_sqlite, | |
| 433 | - kAllowedInEnvvar); | ||
| 433 | + kAllowedInEnvvar, | ||
| 434 | + true); | ||
| 434 | 435 | AddOption("--experimental-webstorage", | |
| 435 | 436 | "experimental Web Storage API", | |
| 436 | 437 | &EnvironmentOptions::experimental_webstorage, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -123,7 +123,7 @@ class EnvironmentOptions : public Options { | |||
| 123 | 123 | bool experimental_eventsource = false; | |
| 124 | 124 | bool experimental_fetch = true; | |
| 125 | 125 | bool experimental_websocket = true; | |
| 126 | - bool experimental_sqlite = false; | ||
| 126 | + bool experimental_sqlite = true; | ||
| 127 | 127 | bool experimental_webstorage = false; | |
| 128 | 128 | std::string localstorage_file; | |
| 129 | 129 | bool experimental_global_customevent = true; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,3 @@ | |||
| 1 | - // Flags: --experimental-sqlite | ||
| 2 | 1 | 'use strict'; | |
| 3 | 2 | require('../common'); | |
| 4 | 3 | const tmpdir = require('../common/tmpdir'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,3 @@ | |||
| 1 | - // Flags: --experimental-sqlite | ||
| 2 | 1 | 'use strict'; | |
| 3 | 2 | require('../common'); | |
| 4 | 3 | const tmpdir = require('../common/tmpdir'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,3 @@ | |||
| 1 | - // Flags: --experimental-sqlite | ||
| 2 | 1 | 'use strict'; | |
| 3 | 2 | require('../common'); | |
| 4 | 3 | const tmpdir = require('../common/tmpdir'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,3 @@ | |||
| 1 | - // Flags: --experimental-sqlite | ||
| 2 | 1 | 'use strict'; | |
| 3 | 2 | require('../common'); | |
| 4 | 3 | const tmpdir = require('../common/tmpdir'); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments