diff --git a/notNeededPackages.json b/notNeededPackages.json index 508636058d2295..54fab26c97bb0a 100644 --- a/notNeededPackages.json +++ b/notNeededPackages.json @@ -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" @@ -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" diff --git a/types/chrome/index.d.ts b/types/chrome/index.d.ts index e0d5ec0c0e1e68..c86df0f4fbfcbb 100644 --- a/types/chrome/index.d.ts +++ b/types/chrome/index.d.ts @@ -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: diff --git a/types/detect-libc/.npmignore b/types/detect-libc/.npmignore deleted file mode 100644 index 93e307400a5456..00000000000000 --- a/types/detect-libc/.npmignore +++ /dev/null @@ -1,5 +0,0 @@ -* -!**/*.d.ts -!**/*.d.cts -!**/*.d.mts -!**/*.d.*.ts diff --git a/types/detect-libc/detect-libc-tests.ts b/types/detect-libc/detect-libc-tests.ts deleted file mode 100644 index 597f6b0ce26868..00000000000000 --- a/types/detect-libc/detect-libc-tests.ts +++ /dev/null @@ -1,8 +0,0 @@ -import * as detectLibc from "detect-libc"; - -detectLibc.GLIBC; // $ExpectType "glibc" -detectLibc.MUSL; // $ExpectType "musl" -detectLibc.family; // $ExpectType "" | "glibc" | "musl" -detectLibc.isNonGlibcLinux; // $ExpectType boolean -detectLibc.method; // $ExpectType "" | "getconf" | "ldd" | "filesystem" -detectLibc.version; // $ExpectType string diff --git a/types/detect-libc/index.d.ts b/types/detect-libc/index.d.ts deleted file mode 100644 index f989198ab6b8c1..00000000000000 --- a/types/detect-libc/index.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export const GLIBC: "glibc"; -export const MUSL: "musl"; -export const family: "" | "glibc" | "musl"; -export const version: string; -export const method: "" | "getconf" | "ldd" | "filesystem"; -export const isNonGlibcLinux: boolean; diff --git a/types/detect-libc/package.json b/types/detect-libc/package.json deleted file mode 100644 index 95b9efd0e4877e..00000000000000 --- a/types/detect-libc/package.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "private": true, - "name": "@types/detect-libc", - "version": "1.0.9999", - "projects": [ - "https://github.com/lovell/detect-libc" - ], - "devDependencies": { - "@types/detect-libc": "workspace:." - }, - "owners": [ - { - "name": "Jamie Magee", - "githubUsername": "JamieMagee" - } - ] -} diff --git a/types/detect-libc/tsconfig.json b/types/detect-libc/tsconfig.json deleted file mode 100644 index 8122902d3b1893..00000000000000 --- a/types/detect-libc/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "module": "node16", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictFunctionTypes": true, - "strictNullChecks": true, - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "detect-libc-tests.ts" - ] -} diff --git a/types/eslint-scope/eslint-scope-tests.ts b/types/eslint-scope/eslint-scope-tests.ts index 7bc6fa40b5dc3c..b8dfd855f361ed 100644 --- a/types/eslint-scope/eslint-scope-tests.ts +++ b/types/eslint-scope/eslint-scope-tests.ts @@ -58,6 +58,10 @@ if (scope) { scope.functionExpressionScope; // $ExpectType Reference[] scope.implicit.left; + // $ExpectType Map> + scope.implicit.set; + // $ExpectType Variable[] + scope.implicit.variables; // $ExpectType Map scope.set; // $ExpectType Reference[] @@ -196,7 +200,7 @@ scopeInstance.childScopes; scopeInstance.block; // $ExpectType boolean scopeInstance.functionExpressionScope; -// $ExpectType { left: Reference[]; set: Map>; } +// $ExpectType { left: Reference[]; set: Map>; variables: Variable[]; } scopeInstance.implicit; // $ExpectType Map scopeInstance.set; diff --git a/types/eslint-scope/index.d.cts b/types/eslint-scope/index.d.cts index 63b76059641d64..0ef411ee4a85d9 100644 --- a/types/eslint-scope/index.d.cts +++ b/types/eslint-scope/index.d.cts @@ -201,7 +201,7 @@ export class Scope }; + implicit: { left: TReference[]; set: Map; variables: Variable[] }; /** * Map of variable names to variables. diff --git a/types/eslint-scope/package.json b/types/eslint-scope/package.json index fde21b8d58332a..da32b4722fa455 100644 --- a/types/eslint-scope/package.json +++ b/types/eslint-scope/package.json @@ -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" diff --git a/types/oracledb/index.d.ts b/types/oracledb/index.d.ts index 91d1f8556e7ef1..90e2df72ef9254 100644 --- a/types/oracledb/index.d.ts +++ b/types/oracledb/index.d.ts @@ -1302,7 +1302,9 @@ declare namespace OracleDB { * * @since 6.9 */ - beginSessionlessTransaction(opts: SessionlessTransactionOpts): SessionlessTransactionOpts["transactionId"]; + beginSessionlessTransaction( + opts: SessionlessTransactionOpts, + ): Promise; beginSessionlessTransaction(opts: SessionlessTransactionOpts, callback: (error: DBError) => void): void; /** * Stops the currently running operation on the connection. @@ -1681,7 +1683,7 @@ declare namespace OracleDB { resumeSessionlessTransaction( transactionId: SessionlessTransactionOpts["transactionId"], resTxnOpts?: ResumeSessionlessTxnOpts, - ): SessionlessTransactionOpts["transactionId"]; + ): Promise; resumeSessionlessTransaction(callback: (error: DBError) => void): void; /** * Rolls back the current transaction in progress on the connection. @@ -1760,7 +1762,7 @@ declare namespace OracleDB { * * @since 6.9 */ - suspendSessionlessTransaction(): void; + suspendSessionlessTransaction(): Promise; suspendSessionlessTransaction(callback: (error: DBError) => void): void; /** * Unregister a Continuous Query Notification (CQN) subscription previously created with connection.subscribe(). diff --git a/types/oracledb/oracledb-tests.ts b/types/oracledb/oracledb-tests.ts index 7d08a488096463..a4f4784f7fe76a 100644 --- a/types/oracledb/oracledb-tests.ts +++ b/types/oracledb/oracledb-tests.ts @@ -822,11 +822,16 @@ export const version6_9Tests = async (): Promise => { }); 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({