Compare commits

...

1 Commits

Author SHA1 Message Date
John-David Dalton
e931629bb8 Update primordials 2024-02-24 20:35:51 -08:00
4 changed files with 1588 additions and 206 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -109,7 +109,6 @@ const {
SetPrototypeValues,
String,
StringPrototypeCharCodeAt,
StringPrototypeCodePointAt,
StringPrototypeIncludes,
StringPrototypeIndexOf,
StringPrototypeLastIndexOf,

View File

@@ -25,8 +25,7 @@ const bunHTTP2Socket = Symbol.for("::bunhttp2socket::");
const bunHTTP2WantTrailers = Symbol.for("::bunhttp2WantTrailers::");
const bunHTTP2Session = Symbol.for("::bunhttp2session::");
const ReflectGetPrototypeOf = Reflect.getPrototypeOf;
const FunctionPrototypeBind = primordials.FunctionPrototypeBind;
const { FunctionPrototypeBind, ReflectGetPrototypeOf } = primordials;
const proxySocketHandler = {
get(session, prop) {

View File

@@ -1,12 +1,9 @@
import { AsyncLocalStorage } from "async_hooks";
import { hideFromStackTrace } from "harness";
import { createTest } from "node-harness";
const store = new AsyncLocalStorage();
const data = Symbol("verifier");
const { beforeAll, describe, expect, it, throws, assert, createCallCheckCtx, createDoneDotAll } = createTest(
import.meta.path,
);
const { assert, createCallCheckCtx } = createTest(import.meta.path);
test("node.js test test-async-local-storage-no-mix-contexts.js", async () => {
const asyncLocalStorage = new AsyncLocalStorage();