Skip to content

Bump inquirer from 12.8.0 to 12.11.0#166

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/inquirer-12.11.0
Closed

Bump inquirer from 12.8.0 to 12.11.0#166
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/inquirer-12.11.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Nov 10, 2025

Bumps inquirer from 12.8.0 to 12.11.0.

Release notes

Sourced from inquirer's releases.

inquirer@12.11.0

  • feat @inquirer/input: Now support simple RegExp validation with pattern/patternError.
  • fix @inquirer/editor: Fix typo s/waitForUseInput/waitForUserInput
  • Bump dependencies

inquirer@12.10.0

  • New design for the keys help tip. Themable/localizable with theme.style.keysHelpTip.
  • Re-introduce option to match up/down actions with vim or emacs keybindings. Enable with theme.keybindings

inquirer@12.9.6

  • Reduce number of transitive dependencies

inquirer@12.9.5

  • Fix #1834: (rawlist) Allows specifying numbers as explicit keys of option within the list.

inquirer@12.9.4

  • fix: Remove "easter-egg" vim/emacs bindings conflicting with the type-to-search feature.

inquirer@12.9.3

  • Fix Unix yes not properly being processed by the confirm prompt. (yes | node confirm-script.js)

inquirer@12.9.2

  • Make @types/node an optional peer dependency.

inquirer@12.9.1

  • Replace external-editor dependency with new @inquirer/external-editor. This remove the vulnerable tmp transitive dependency from the dependency tree.

inquirer@12.9.0

  • Search prompt: New instructions config to allow localizing the help tips.

inquirer@12.8.2

  • Fix #1786 select prompt with indexMode: number theme option didn't properly calculate the items indexes if separators where present in between choices.

inquirer@12.8.1

  • Fixes: a transitive dependency (run-aysnc) loaded devDependencies unexpectedly. This is now fixed upstream. Rel #1791
Commits
  • 6881993 Publish
  • db2ffca feat(@​inquirer/input): Document pattern/patternError in README
  • 160958a chore: Bump dependencies (#1886)
  • c3bab7a feat: Improve Inquirer types to infer more valid types (#1880)
  • 48d0668 chore: Remove README sponsor block (#1885)
  • c562b2d chore: Refactor scaffolding script (#1884)
  • 655376c feat(input): add pattern-based validation and error handling for input prompt...
  • 919aebc Chore(deps): Bump chardet from 2.1.0 to 2.1.1
  • 269dcd8 Chore(deps-dev): Bump turbo from 2.5.8 to 2.6.0 in the build group
  • 05fdfe6 Chore(deps): Bump mute-stream from 2.0.0 to 3.0.0
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [inquirer](https://github.com/SBoudrias/Inquirer.js) from 12.8.0 to 12.11.0.
- [Release notes](https://github.com/SBoudrias/Inquirer.js/releases)
- [Commits](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.8.0...inquirer@12.11.0)

---
updated-dependencies:
- dependency-name: inquirer
  dependency-version: 12.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 10, 2025
@joelteply joelteply closed this Nov 20, 2025
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Nov 20, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/inquirer-12.11.0 branch November 20, 2025 00:29
joelteply added a commit that referenced this pull request Jun 3, 2026
…exes, BaseEntity composition (tasks #166 + #167)

The Rust analogue of TS class decorators for the substrate's ORM.
Write the struct once, get the schema, the typed store, and (next
slice) the TS bindings for free. Define-once-in-Rust-generate-
everywhere doctrine made structural, not aspirational.

Per Joel 2026-06-03: "Entities need to be defined, and in one place,
rust (we are headless), then generated for all places, easy to do this
elegantly like we did with decorators in ts, but for rust" and "If
you're building ORM anyway, do it right for long term ... let's you
optimize with index" and "provide a relational db this time."

### New crate: continuum-orm-derive

`#[derive(Entity)]` with `#[entity(...)]` field + struct attributes.
Walks the struct, infers `FieldType` from the Rust type, honors
attribute overrides, emits `impl OrmEntity for #name` automatically.
The 100-line hand-written `collection_schema()` block collapses to
per-field annotations.

**Type inference:**
- `String` / `&str` → `String`
- `Uuid` (by type-name match) → `Uuid`
- `bool` → `Boolean`
- All integer + float types → `Number`
- `Vec<_>` / `HashMap` / `BTreeMap` / `HashSet` → `Json`
- `Option<T>` → inner T's type + `nullable = true`
- Enum or other named struct → `Json` (override via `#[entity(json)]`)

**Field attributes:**
- `#[entity(indexed)]` / `#[entity(unique)]` / `#[entity(nullable)]`
- `#[entity(json)]` — force JSON column
- `#[entity(skip)]` — exclude from schema (pair with `#[serde(skip)]`
  if you also want it out of the wire payload)
- `#[entity(foreign_key("collection.field"[, on_delete = "..."][, on_update = "..."]))]`
  — declares a real FK. Cascade keywords:
  `"restrict" | "cascade" | "set_null" | "no_action"`.

**Struct attributes:**
- `#[entity(collection = "name")]` — REQUIRED
- `#[entity(index(name = "...", fields = [...], unique = ...))]` —
  composite index; repeat for multiple

**BaseEntity composition:** TS-decorator analogue done via Rust idiom:
```rust
#[derive(Entity)]
#[entity(collection = "engrams")]
pub struct Engram {
    #[serde(flatten)]
    pub base: BaseEntity,  // recognized by type name; expands to base_entity_fields()
    pub content: String,
    ...
}
```
The derive detects the embedded `BaseEntity` and adds its columns to
the schema via `base_entity_fields()` rather than treating it as one
big JSON blob.

### Relational schema — FKs are first-class

- `SchemaField.foreign_key: Option<ForeignKeyRef>` — new typed FK
  reference carrying `(collection, field, on_delete, on_update)`.
- `CascadeRule` enum with `Restrict / Cascade / SetNull / NoAction`.
- Both `SqliteAdapter` and `PostgresAdapter` emit `FOREIGN KEY (...)
  REFERENCES ...(...) ON DELETE ... ON UPDATE ...` in `CREATE TABLE`.
- `PRAGMA foreign_keys=ON` set per SQLite connection so the constraint
  is actually enforced (sqlite parses but doesn't enforce by default).
- Composite indexes already supported via `SchemaIndex`; the derive
  now feeds them automatically.

### Bug fixes surfaced by the new tests

1. **SQLite Number affinity → integers were coerced to floats.**
   Existing tests passed because nothing deserialized to `i32`/`i64`.
   The derive's test entity uses `delta: i32`; SQLite REAL affinity
   stored `-7` then returned `-7.0`, failing deserialize. Changed
   `FieldType::Number` to NUMERIC affinity — preserves integers as
   integers, floats as floats.
2. **Self-alias in lib.rs.** Macro emits `::continuum_core::orm::*`
   absolute paths; inside the home crate those resolved nowhere.
   Added `extern crate self as continuum_core;` so home-crate code
   resolves the derive's emitted paths. Standard proc-macro pattern.

### 9/9 derive tests + 89/89 ORM tests green

- `collection_constant_matches_struct_attribute`
- `schema_has_base_columns_plus_domain_fields_minus_skipped`
- `field_types_inferred_correctly`
- `indexed_and_unique_attributes_propagate`
- `option_translates_to_nullable`
- `round_trip_through_orm_store` — end-to-end save/find/find_all
  through real SQLite using the derived schema
- `composite_index_attributes_propagate`
- `foreign_key_attribute_populates_schema_field`
- `foreign_key_cascade_deletes_children_via_db_enforcement` —
  parent + child entities, child references parent via FK, deleting
  parent CASCADE-wipes the child row at the DB layer (not via
  application cleanup). The proof point that the ORM is now
  genuinely relational.

### Existing SchemaField construction sites (64 across the tree)

Scripted addition of `foreign_key: None` to every existing literal so
the field's required-by-Rust-literal rule doesn't break callers. No
behavior change — existing entities don't have FKs yet.

### Not yet shipped (follow-up #168)

- Engram + RecallMetadata migration to `#[derive(Entity)]`. Engram's
  hand-written `impl OrmEntity` block stays for now; #168 deletes it
  and adds RecallMetadata's FK-linked sidecar.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant