@types/node 10.11.5 → 10.11.6
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.
- node/LICENSE +21 -21
- node/README.md +1 -1
- node/index.d.ts +5 -3
- node/package.json +2 -2
node/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE
|
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:
|
|
11
|
+
* Last updated: Tue, 09 Oct 2018 19:01:51 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: Buffer, NodeJS, SlowBuffer, Symbol, __dirname, __filename, clearImmediate, clearInterval, clearTimeout, console, exports, global, module, process, require, setImmediate, setInterval, setTimeout
|
|
14
14
|
|
node/index.d.ts
CHANGED
|
@@ -154,7 +154,7 @@ interface ErrorConstructor {
|
|
|
154
154
|
stackTraceLimit: number;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
// compat for TypeScript 1.8
|
|
157
|
+
// compat for TypeScript 1.8 and default es5 target
|
|
158
158
|
// if you use with --target es3 or --target es5 and use below definitions,
|
|
159
159
|
// use the lib.es6.d.ts that is bundled with TypeScript 1.8.
|
|
160
160
|
interface MapConstructor { }
|
|
@@ -162,6 +162,9 @@ interface WeakMapConstructor { }
|
|
|
162
162
|
interface SetConstructor { }
|
|
163
163
|
interface WeakSetConstructor { }
|
|
164
164
|
|
|
165
|
+
interface Set<T> {}
|
|
166
|
+
interface ReadonlySet<T> {}
|
|
167
|
+
|
|
165
168
|
// Forward-declare needed types from lib.es2015.d.ts (in case users are using `--lib es5`)
|
|
166
169
|
interface Iterable<T> { }
|
|
167
170
|
interface Iterator<T> {
|
|
@@ -811,8 +814,7 @@ declare namespace NodeJS {
|
|
|
811
814
|
* read-only `Set` of flags allowable within the [`NODE_OPTIONS`][]
|
|
812
815
|
* environment variable.
|
|
813
816
|
*/
|
|
814
|
-
|
|
815
|
-
allowedNodeEnvironmentFlags: Set<string>;
|
|
817
|
+
allowedNodeEnvironmentFlags: ReadonlySet<string>;
|
|
816
818
|
|
|
817
819
|
/**
|
|
818
820
|
* EventEmitter
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "10.11.
|
|
3
|
+
"version": "10.11.6",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -162,6 +162,6 @@
|
|
|
162
162
|
},
|
|
163
163
|
"scripts": {},
|
|
164
164
|
"dependencies": {},
|
|
165
|
-
"typesPublisherContentHash": "
|
|
165
|
+
"typesPublisherContentHash": "fabb6b5b637dc11048dbc88da927a5c704cc25a6bd2862fc3055219f578aefff",
|
|
166
166
|
"typeScriptVersion": "2.0"
|
|
167
167
|
}
|