@types/node 15.6.1 → 15.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. node/README.md +1 -1
  2. node/package.json +4 -3
  3. node/perf_hooks.d.ts +5 -2
node/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (http://nodejs.org/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 25 May 2021 00:01:37 GMT
11
+ * Last updated: Wed, 02 Jun 2021 07:31:33 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
14
14
 
node/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "15.6.1",
3
+ "version": "15.6.2",
4
4
  "description": "TypeScript definitions for Node.js",
5
+ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
5
6
  "license": "MIT",
6
7
  "contributors": [
7
8
  {
@@ -226,6 +227,6 @@
226
227
  },
227
228
  "scripts": {},
228
229
  "dependencies": {},
229
- "typesPublisherContentHash": "f8f8a539a80cc272f918927a96e6cef5cc69df79ec257791f25651eb317ea354",
230
- "typeScriptVersion": "3.5"
230
+ "typesPublisherContentHash": "f62422deccbd466260cb63740d207022259eb7fc7b6e7c406be463b9d1b0cd19",
231
+ "typeScriptVersion": "3.6"
231
232
  }
node/perf_hooks.d.ts CHANGED
@@ -88,7 +88,10 @@ declare module 'perf_hooks' {
88
88
  * @param util1 The result of a previous call to eventLoopUtilization()
89
89
  * @param util2 The result of a previous call to eventLoopUtilization() prior to util1
90
90
  */
91
- type EventLoopUtilityFunction = (util1?: EventLoopUtilization, util2?: EventLoopUtilization) => EventLoopUtilization;
91
+ type EventLoopUtilityFunction = (
92
+ util1?: EventLoopUtilization,
93
+ util2?: EventLoopUtilization,
94
+ ) => EventLoopUtilization;
92
95
 
93
96
  interface Performance {
94
97
  /**
@@ -122,7 +125,7 @@ declare module 'perf_hooks' {
122
125
  * @param startMark
123
126
  * @param endMark
124
127
  */
125
- measure(name: string, startMark: string, endMark: string): void;
128
+ measure(name: string, startMark?: string, endMark?: string): void;
126
129
 
127
130
  /**
128
131
  * An instance of the PerformanceNodeTiming class that provides performance metrics for specific Node.js operational milestones.