Files
lancedb/nodejs
dependabot[bot] e0995c39c2 chore(deps): bump @opentelemetry/sdk-metrics from 2.12.0 to 2.12.1 in /nodejs (#5051)
Bumps the nodejs-deps group in /nodejs with 1 update:
[@opentelemetry/sdk-metrics](https://github.com/open-telemetry/opentelemetry-js).

Updates `@opentelemetry/sdk-metrics` from 2.12.0 to 2.12.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/open-telemetry/opentelemetry-js/releases">@​opentelemetry/sdk-metrics's
releases</a>.</em></p>
<blockquote>
<h2>v2.12.1</h2>
<h2>2.12.1</h2>
<h3>🐛 Bug Fixes</h3>
<ul>
<li>fix(resources): specify full path for ioreg command on Darwin, and
kenv command on BSD for <code>host.id</code> <a
href="https://github.com/trentm"><code>@​trentm</code></a></li>
<li>ci: update the W3C harness for Python 3.14 <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/7236">#7236</a>
<a
href="https://github.com/adityareddy-dev"><code>@​adityareddy-dev</code></a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/open-telemetry/opentelemetry-js/blob/v2.12.1/CHANGELOG.md">@​opentelemetry/sdk-metrics's
changelog</a>.</em></p>
<blockquote>
<h2>2.12.1</h2>
<h3>🐛 Bug Fixes</h3>
<ul>
<li>fix(resources): specify full path for ioreg command on Darwin, and
kenv command on BSD for <code>host.id</code> <a
href="https://github.com/trentm"><code>@​trentm</code></a></li>
<li>ci: update the W3C harness for Python 3.14 <a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/pull/7236">#7236</a>
<a
href="https://github.com/adityareddy-dev"><code>@​adityareddy-dev</code></a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/open-telemetry/opentelemetry-js/commit/8795a06d2c025d5dc454d85cec785849844cc5d9"><code>8795a06</code></a>
chore: prepare next v2.x release (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/issues/7296">#7296</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-js/commit/66a9cddb49bc01fcce1220f586dd8d2029814e55"><code>66a9cdd</code></a>
ci: update W3C harness for Python 3.14 (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/issues/7236">#7236</a>)
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/issues/7295">#7295</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-js/commit/55398d41c4e2174ab7fa40ed4cc3a3d2d44b337f"><code>55398d4</code></a>
fix(resources): specify full path for ioreg command on Darwin, and kenv
comma...</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-js/commit/f698f0ce71852c1743bc35ee077e31b61f636743"><code>f698f0c</code></a>
ci: drop 'latest' dist-tag option from v2.x publish workflow (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-js/issues/7222">#7222</a>)</li>
<li>See full diff in <a
href="https://github.com/open-telemetry/opentelemetry-js/compare/v2.12.0...v2.12.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@opentelemetry/sdk-metrics&package-manager=npm_and_yarn&previous-version=2.12.0&new-version=2.12.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-19 10:25:27 -08:00
..
2025-01-29 08:27:07 -08:00

LanceDB JavaScript SDK

A JavaScript library for LanceDB.

Installation

npm install @lancedb/lancedb

This will download the appropriate native library for your platform. We currently support:

  • Linux (x86_64 and aarch64 on glibc and musl)
  • MacOS (Intel and ARM/M1/M2)
  • Windows (x86_64 and aarch64)

Usage

Basic Example

import * as lancedb from "@lancedb/lancedb";
const db = await lancedb.connect("data/sample-lancedb");
const table = await db.createTable("my_table", [
  { id: 1, vector: [0.1, 1.0], item: "foo", price: 10.0 },
  { id: 2, vector: [3.9, 0.5], item: "bar", price: 20.0 },
]);
const results = await table.vectorSearch([0.1, 0.3]).limit(20).toArray();
console.log(results);

The quickstart contains more complete examples.

Development

See CONTRIBUTING.md for information on how to contribute to LanceDB.