Skip to content

Commit

Permalink
Deploying to gh-pages from @ fc06359 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
nin-jin committed Dec 15, 2024
1 parent 19686c9 commit 3d0fcf9
Show file tree
Hide file tree
Showing 13 changed files with 28 additions and 44 deletions.
2 changes: 1 addition & 1 deletion node.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2808,7 +2808,7 @@ declare namespace $ {
declare namespace $ {
class $mol_syntax2<Lexems extends {
[name: string]: RegExp;
}> {
} = {}> {
lexems: Lexems;
constructor(lexems: Lexems);
rules: Array<{
Expand Down
2 changes: 1 addition & 1 deletion node.deps.json

Large diffs are not rendered by default.

11 changes: 4 additions & 7 deletions node.js
Original file line number Diff line number Diff line change
Expand Up @@ -792,13 +792,12 @@ var $;
break;
}
if ($mol_promise_like(result) && !handled.has(result)) {
handled.add(result);
const put = (res) => {
if (this.cache === result)
this.put(res);
return res;
};
result = Object.assign(result.then(put, put), { destructor: result.destructor });
result = result.then(put, put);
}
}
catch (error) {
Expand All @@ -809,11 +808,10 @@ var $;
result = new Error(String(error), { cause: error });
}
if ($mol_promise_like(result) && !handled.has(result)) {
handled.add(result);
result = Object.assign(result.finally(() => {
result = result.finally(() => {
if (this.cache === result)
this.absorb();
}), { destructor: result.destructor });
});
}
}
if ($mol_promise_like(result) && !handled.has(result)) {
Expand Down Expand Up @@ -17296,10 +17294,9 @@ var $;
$.$mol_fetch_response = $mol_fetch_response;
class $mol_fetch extends $mol_object2 {
static request(input, init = {}) {
const native = globalThis.fetch ?? $node['undici'].fetch;
const controller = new AbortController();
let done = false;
const promise = native(input, {
const promise = globalThis.fetch(input, {
...init,
signal: controller.signal,
}).finally(() => {
Expand Down
2 changes: 1 addition & 1 deletion node.js.map

Large diffs are not rendered by default.

11 changes: 4 additions & 7 deletions node.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -792,13 +792,12 @@ var $;
break;
}
if ($mol_promise_like(result) && !handled.has(result)) {
handled.add(result);
const put = (res) => {
if (this.cache === result)
this.put(res);
return res;
};
result = Object.assign(result.then(put, put), { destructor: result.destructor });
result = result.then(put, put);
}
}
catch (error) {
Expand All @@ -809,11 +808,10 @@ var $;
result = new Error(String(error), { cause: error });
}
if ($mol_promise_like(result) && !handled.has(result)) {
handled.add(result);
result = Object.assign(result.finally(() => {
result = result.finally(() => {
if (this.cache === result)
this.absorb();
}), { destructor: result.destructor });
});
}
}
if ($mol_promise_like(result) && !handled.has(result)) {
Expand Down Expand Up @@ -17296,10 +17294,9 @@ var $;
$.$mol_fetch_response = $mol_fetch_response;
class $mol_fetch extends $mol_object2 {
static request(input, init = {}) {
const native = globalThis.fetch ?? $node['undici'].fetch;
const controller = new AbortController();
let done = false;
const promise = native(input, {
const promise = globalThis.fetch(input, {
...init,
signal: controller.signal,
}).finally(() => {
Expand Down
11 changes: 4 additions & 7 deletions node.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -783,13 +783,12 @@ var $;
break;
}
if ($mol_promise_like(result) && !handled.has(result)) {
handled.add(result);
const put = (res) => {
if (this.cache === result)
this.put(res);
return res;
};
result = Object.assign(result.then(put, put), { destructor: result.destructor });
result = result.then(put, put);
}
}
catch (error) {
Expand All @@ -800,11 +799,10 @@ var $;
result = new Error(String(error), { cause: error });
}
if ($mol_promise_like(result) && !handled.has(result)) {
handled.add(result);
result = Object.assign(result.finally(() => {
result = result.finally(() => {
if (this.cache === result)
this.absorb();
}), { destructor: result.destructor });
});
}
}
if ($mol_promise_like(result) && !handled.has(result)) {
Expand Down Expand Up @@ -17287,10 +17285,9 @@ var $;
$.$mol_fetch_response = $mol_fetch_response;
class $mol_fetch extends $mol_object2 {
static request(input, init = {}) {
const native = globalThis.fetch ?? $node['undici'].fetch;
const controller = new AbortController();
let done = false;
const promise = native(input, {
const promise = globalThis.fetch(input, {
...init,
signal: controller.signal,
}).finally(() => {
Expand Down
2 changes: 1 addition & 1 deletion node.test.js.map

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,6 @@
],
"dependencies": {
"jsdom": "*",
"chokidar": "*",
"undici": "*"
"chokidar": "*"
}
}
2 changes: 1 addition & 1 deletion web.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2684,7 +2684,7 @@ declare namespace $ {
declare namespace $ {
class $mol_syntax2<Lexems extends {
[name: string]: RegExp;
}> {
} = {}> {
lexems: Lexems;
constructor(lexems: Lexems);
rules: Array<{
Expand Down
2 changes: 1 addition & 1 deletion web.deps.json

Large diffs are not rendered by default.

11 changes: 4 additions & 7 deletions web.js
Original file line number Diff line number Diff line change
Expand Up @@ -777,13 +777,12 @@ var $;
break;
}
if ($mol_promise_like(result) && !handled.has(result)) {
handled.add(result);
const put = (res) => {
if (this.cache === result)
this.put(res);
return res;
};
result = Object.assign(result.then(put, put), { destructor: result.destructor });
result = result.then(put, put);
}
}
catch (error) {
Expand All @@ -794,11 +793,10 @@ var $;
result = new Error(String(error), { cause: error });
}
if ($mol_promise_like(result) && !handled.has(result)) {
handled.add(result);
result = Object.assign(result.finally(() => {
result = result.finally(() => {
if (this.cache === result)
this.absorb();
}), { destructor: result.destructor });
});
}
}
if ($mol_promise_like(result) && !handled.has(result)) {
Expand Down Expand Up @@ -4062,10 +4060,9 @@ var $;
$.$mol_fetch_response = $mol_fetch_response;
class $mol_fetch extends $mol_object2 {
static request(input, init = {}) {
const native = globalThis.fetch ?? $node['undici'].fetch;
const controller = new AbortController();
let done = false;
const promise = native(input, {
const promise = globalThis.fetch(input, {
...init,
signal: controller.signal,
}).finally(() => {
Expand Down
2 changes: 1 addition & 1 deletion web.js.map

Large diffs are not rendered by default.

11 changes: 4 additions & 7 deletions web.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -777,13 +777,12 @@ var $;
break;
}
if ($mol_promise_like(result) && !handled.has(result)) {
handled.add(result);
const put = (res) => {
if (this.cache === result)
this.put(res);
return res;
};
result = Object.assign(result.then(put, put), { destructor: result.destructor });
result = result.then(put, put);
}
}
catch (error) {
Expand All @@ -794,11 +793,10 @@ var $;
result = new Error(String(error), { cause: error });
}
if ($mol_promise_like(result) && !handled.has(result)) {
handled.add(result);
result = Object.assign(result.finally(() => {
result = result.finally(() => {
if (this.cache === result)
this.absorb();
}), { destructor: result.destructor });
});
}
}
if ($mol_promise_like(result) && !handled.has(result)) {
Expand Down Expand Up @@ -4062,10 +4060,9 @@ var $;
$.$mol_fetch_response = $mol_fetch_response;
class $mol_fetch extends $mol_object2 {
static request(input, init = {}) {
const native = globalThis.fetch ?? $node['undici'].fetch;
const controller = new AbortController();
let done = false;
const promise = native(input, {
const promise = globalThis.fetch(input, {
...init,
signal: controller.signal,
}).finally(() => {
Expand Down

0 comments on commit 3d0fcf9

Please sign in to comment.