-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps-dev): bump @types/node from 22.8.7 to 22.9.0 in the typescript group #1811
Merged
github-actions
merged 1 commit into
main
from
dependabot/npm_and_yarn/typescript-ade089374e
Nov 11, 2024
Merged
chore(deps-dev): bump @types/node from 22.8.7 to 22.9.0 in the typescript group #1811
github-actions
merged 1 commit into
main
from
dependabot/npm_and_yarn/typescript-ade089374e
Nov 11, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependabot
bot
added
dependencies
Pull requests that update a dependency file
javascript
Pull requests that update Javascript code
labels
Nov 11, 2024
Diff between @types/node 22.8.7 and 22.9.0diff --git a/README.md b/README.md
index v22.8.7..v22.9.0 100644
--- a/README.md
+++ b/README.md
@@ -9,5 +9,5 @@
### Additional Details
- * Last updated: Sun, 03 Nov 2024 04:02:17 GMT
+ * Last updated: Tue, 05 Nov 2024 01:29:26 GMT
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
diff --git a/package.json b/package.json
index v22.8.7..v22.9.0 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,5 @@
{
"name": "@types/node",
- "version": "22.8.7",
+ "version": "22.9.0",
"description": "TypeScript definitions for node",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
@@ -221,5 +221,5 @@
},
"peerDependencies": {},
- "typesPublisherContentHash": "eb4a12d3db7d5c2f973b35f0ccc659d77637fdcdc340900124be3f5602cc29bc",
+ "typesPublisherContentHash": "9fd729e1c7f77c7e5ce00a1690558c1aa810d60c39e52aefa248f3c6c5fb5e7a",
"typeScriptVersion": "4.8"
}
\ No newline at end of file
diff --git a/test.d.ts b/test.d.ts
index v22.8.7..v22.9.0 100644
--- a/test.d.ts
+++ b/test.d.ts
@@ -1798,4 +1798,23 @@
}>;
/**
+ * An object containing whether or not the coverage for
+ * each coverage type.
+ * @since v22.9.0
+ */
+ thresholds: {
+ /**
+ * The function coverage threshold.
+ */
+ function: number;
+ /**
+ * The branch coverage threshold.
+ */
+ branch: number;
+ /**
+ * The line coverage threshold.
+ */
+ line: number;
+ };
+ /**
* An object containing a summary of coverage for all files.
*/
diff --git a/tls.d.ts b/tls.d.ts
index v22.8.7..v22.9.0 100644
--- a/tls.d.ts
+++ b/tls.d.ts
@@ -811,4 +811,10 @@
ALPNCallback?: ((arg: { servername: string; protocols: string[] }) => string | undefined) | undefined;
/**
+ * Treat intermediate (non-self-signed)
+ * certificates in the trust CA certificate list as trusted.
+ * @since v22.9.0, v20.18.0
+ */
+ allowPartialTrustChain?: boolean | undefined;
+ /**
* Optionally override the trusted CA certificates. Default is to trust
* the well-known CAs curated by Mozilla. Mozilla's CAs are completely
diff --git a/util.d.ts b/util.d.ts
index v22.8.7..v22.9.0 100644
--- a/util.d.ts
+++ b/util.d.ts
@@ -109,4 +109,23 @@
stylize(text: string, styleType: Style): string;
}
+ export interface StacktraceObject {
+ /**
+ * Returns the name of the function associated with this stack frame.
+ */
+ functionName: string;
+ /**
+ * Returns the name of the resource that contains the script for the
+ * function for this StackFrame.
+ */
+ scriptName: string;
+ /**
+ * Returns the number, 1-based, of the line for the associate function call.
+ */
+ lineNumber: number;
+ /**
+ * Returns the 1-based column offset on the line for the associated function call.
+ */
+ column: number;
+ }
/**
* The `util.format()` method returns a formatted string using the first argument
@@ -168,4 +187,50 @@
export function formatWithOptions(inspectOptions: InspectOptions, format?: any, ...param: any[]): string;
/**
+ * Returns an array of stacktrace objects containing the stack of
+ * the caller function.
+ *
+ * ```js
+ * const util = require('node:util');
+ *
+ * function exampleFunction() {
+ * const callSites = util.getCallSite();
+ *
+ * console.log('Call Sites:');
+ * callSites.forEach((callSite, index) => {
+ * console.log(`CallSite ${index + 1}:`);
+ * console.log(`Function Name: ${callSite.functionName}`);
+ * console.log(`Script Name: ${callSite.scriptName}`);
+ * console.log(`Line Number: ${callSite.lineNumber}`);
+ * console.log(`Column Number: ${callSite.column}`);
+ * });
+ * // CallSite 1:
+ * // Function Name: exampleFunction
+ * // Script Name: /home/example.js
+ * // Line Number: 5
+ * // Column Number: 26
+ *
+ * // CallSite 2:
+ * // Function Name: anotherFunction
+ * // Script Name: /home/example.js
+ * // Line Number: 22
+ * // Column Number: 3
+ *
+ * // ...
+ * }
+ *
+ * // A function to simulate another stack layer
+ * function anotherFunction() {
+ * exampleFunction();
+ * }
+ *
+ * anotherFunction();
+ * ```
+ * @param frames Number of frames returned in the stacktrace.
+ * **Default:** `10`. Allowable range is between 1 and 200.
+ * @return An array of stacktrace objects
+ * @since v22.9.0
+ */
+ export function getCallSite(frames?: number): StacktraceObject[];
+ /**
* Returns the string name for a numeric error code that comes from a Node.js API.
* The mapping between error codes and error names is platform-dependent.
diff --git a/timers/promises.d.ts b/timers/promises.d.ts
index v22.8.7..v22.9.0 100644
--- a/timers/promises.d.ts
+++ b/timers/promises.d.ts
@@ -81,5 +81,5 @@
* @param [delay=1] The number of milliseconds to wait before fulfilling the promise.
*/
- wait: (delay?: number, options?: Pick<TimerOptions, "signal">) => Promise<void>;
+ wait: (delay?: number, options?: TimerOptions) => Promise<void>;
/**
* An experimental API defined by the [Scheduling APIs](https://nodejs.org/docs/latest-v20.x/api/async_hooks.html#promise-execution-tracking) draft specification
Command detailsnpm diff --diff=@types/node@22.8.7 --diff=@types/node@22.9.0 --diff-unified=2 See also the Reported by ybiquitous/npm-diff-action@v1.6.0 (Node.js 22.11.0 and npm 10.9.0) |
Bumps the typescript group with 1 update: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node). Updates `@types/node` from 22.8.7 to 22.9.0 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: typescript ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot
bot
force-pushed
the
dependabot/npm_and_yarn/typescript-ade089374e
branch
from
November 11, 2024 02:58
80d8cb7
to
1a3cb98
Compare
github-actions
bot
deleted the
dependabot/npm_and_yarn/typescript-ade089374e
branch
November 11, 2024 02:59
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
dependencies
Pull requests that update a dependency file
javascript
Pull requests that update Javascript code
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bumps the typescript group with 1 update: @types/node.
Updates
@types/node
from 22.8.7 to 22.9.0Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major version
will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor version
will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>
will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>
will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>
will remove the ignore condition of the specified dependency and ignore conditions