Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions notNeededPackages.json
Original file line number Diff line number Diff line change
Expand Up @@ -1601,6 +1601,10 @@
"libraryName": "detect-it",
"asOfVersion": "4.0.0"
},
"detect-libc": {
"libraryName": "detect-libc",
"asOfVersion": "2.0.0"
},
"detect-newline": {
"libraryName": "detect-newline",
"asOfVersion": "3.0.0"
Expand Down Expand Up @@ -3793,22 +3797,22 @@
"libraryName": "ldclient-js",
"asOfVersion": "1.1.11"
},
"leaflet.fullscreen": {
"libraryName": "leaflet.fullscreen",
"asOfVersion": "5.2.0"
},
"leaflet-geosearch": {
"libraryName": "leaflet-geosearch",
"asOfVersion": "3.0.0"
},
"leaflet.locatecontrol": {
"libraryName": "leaflet.locatecontrol",
"asOfVersion": "0.85.1"
},
"leaflet-offline": {
"libraryName": "leaflet.offline",
"asOfVersion": "3.0.0"
},
"leaflet.fullscreen": {
"libraryName": "leaflet.fullscreen",
"asOfVersion": "5.2.0"
},
"leaflet.locatecontrol": {
"libraryName": "leaflet.locatecontrol",
"asOfVersion": "0.85.1"
},
"leap-year": {
"libraryName": "leap-year",
"asOfVersion": "3.0.0"
Expand Down
2 changes: 0 additions & 2 deletions types/chrome/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13966,8 +13966,6 @@ declare namespace chrome {
topDomains?: string[] | undefined;

/**
* The rule will not match network requests when the associated top-level frame's domain
* matches one from the list of excludedTopDomains. If the list is empty or omitted,
* The rule will not match network requests when the associated top-level frame's domain matches one from the list of `excludedTopDomains`. If the list is empty or omitted, no domains are excluded. This takes precedence over `topDomains`.
*
* Notes:
Expand Down
5 changes: 0 additions & 5 deletions types/detect-libc/.npmignore

This file was deleted.

8 changes: 0 additions & 8 deletions types/detect-libc/detect-libc-tests.ts

This file was deleted.

6 changes: 0 additions & 6 deletions types/detect-libc/index.d.ts

This file was deleted.

17 changes: 0 additions & 17 deletions types/detect-libc/package.json

This file was deleted.

19 changes: 0 additions & 19 deletions types/detect-libc/tsconfig.json

This file was deleted.

6 changes: 5 additions & 1 deletion types/eslint-scope/eslint-scope-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ if (scope) {
scope.functionExpressionScope;
// $ExpectType Reference[]
scope.implicit.left;
// $ExpectType Map<string, Variable<Reference>>
scope.implicit.set;
// $ExpectType Variable<Reference>[]
scope.implicit.variables;
// $ExpectType Map<string, Variable>
scope.set;
// $ExpectType Reference[]
Expand Down Expand Up @@ -196,7 +200,7 @@ scopeInstance.childScopes;
scopeInstance.block;
// $ExpectType boolean
scopeInstance.functionExpressionScope;
// $ExpectType { left: Reference[]; set: Map<string, Variable<Reference>>; }
// $ExpectType { left: Reference[]; set: Map<string, Variable<Reference>>; variables: Variable<Reference>[]; }
scopeInstance.implicit;
// $ExpectType Map<string, Variable>
scopeInstance.set;
Expand Down
2 changes: 1 addition & 1 deletion types/eslint-scope/index.d.cts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export class Scope<TVariable extends Variable = Variable, TReference extends Ref
/**
* Implicit references (e.g., 'arguments' in functions).
*/
implicit: { left: TReference[]; set: Map<string, Variable> };
implicit: { left: TReference[]; set: Map<string, Variable>; variables: Variable[] };

/**
* Map of variable names to variables.
Expand Down
2 changes: 1 addition & 1 deletion types/eslint-scope/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@types/eslint-scope",
"version": "8.3.9999",
"version": "8.4.9999",
"type": "module",
"projects": [
"https://github.com/eslint/eslint-scope"
Expand Down
8 changes: 5 additions & 3 deletions types/oracledb/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1302,7 +1302,9 @@ declare namespace OracleDB {
*
* @since 6.9
*/
beginSessionlessTransaction(opts: SessionlessTransactionOpts): SessionlessTransactionOpts["transactionId"];
beginSessionlessTransaction(
opts: SessionlessTransactionOpts,
): Promise<SessionlessTransactionOpts["transactionId"]>;
beginSessionlessTransaction(opts: SessionlessTransactionOpts, callback: (error: DBError) => void): void;
/**
* Stops the currently running operation on the connection.
Expand Down Expand Up @@ -1681,7 +1683,7 @@ declare namespace OracleDB {
resumeSessionlessTransaction(
transactionId: SessionlessTransactionOpts["transactionId"],
resTxnOpts?: ResumeSessionlessTxnOpts,
): SessionlessTransactionOpts["transactionId"];
): Promise<SessionlessTransactionOpts["transactionId"]>;
resumeSessionlessTransaction(callback: (error: DBError) => void): void;
/**
* Rolls back the current transaction in progress on the connection.
Expand Down Expand Up @@ -1760,7 +1762,7 @@ declare namespace OracleDB {
*
* @since 6.9
*/
suspendSessionlessTransaction(): void;
suspendSessionlessTransaction(): Promise<void>;
suspendSessionlessTransaction(callback: (error: DBError) => void): void;
/**
* Unregister a Continuous Query Notification (CQN) subscription previously created with connection.subscribe().
Expand Down
13 changes: 9 additions & 4 deletions types/oracledb/oracledb-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -822,11 +822,16 @@ export const version6_9Tests = async (): Promise<void> => {
});

const txnId = "testId";
await connection.beginSessionlessTransaction({ transactionId: txnId, timeout: 2, deferRoundTrip: true });
const id1 = await connection.beginSessionlessTransaction({
transactionId: txnId,
timeout: 2,
deferRoundTrip: true,
});
console.log(id1.length);
await connection.execute("INSERT INTO TEST VALUES(1)", {}, { suspendOnSuccess: true });
await connection.suspendSessionlessTransaction();
await connection.resumeSessionlessTransaction(txnId, { deferRoundTrip: false });

await connection.suspendSessionlessTransaction().then();
const id2 = await connection.resumeSessionlessTransaction(txnId, { deferRoundTrip: false });
console.log(id2.length);
console.log(connection.ltxid);

await oracledb.createPool({
Expand Down