File tree Expand file tree Collapse file tree
tests/observability/integration Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- // ------------------------------------------------------------------------------
2- // Copyright (c) Microsoft Corporation. All rights reserved.
3- // ------------------------------------------------------------------------------
1+ // Copyright (c) Microsoft Corporation.
2+ // Licensed under the MIT License.
43
54/**
65 * Node.js 18 polyfills for integration tests.
109 * context. @langchain/core (uuid/rng.ts) references `crypto` directly, so we
1110 * need to polyfill it here before any test modules are loaded.
1211 *
13- * In Node.js 19+ `crypto` was promoted to a first-class global; this guard
12+ * In Node.js 19+, `crypto` was promoted to a first-class global; this guard
1413 * ensures the polyfill is a no-op on newer runtimes.
1514 */
1615if ( typeof globalThis . crypto === "undefined" ) {
You can’t perform that action at this time.
0 commit comments