Daniel Rosenwasser
|
bd2b1d6be9
|
Merge pull request #26678 from DefinitelyTyped/strictAssert
Added 'strict' to the 'assert' module.
|
2018-07-05 15:59:21 -07:00 |
|
Akihiko Odaki
|
8691cd12f7
|
Add missing maxFreeSockets property of Agent class in node (#27014)
|
2018-07-05 12:51:29 -07:00 |
|
Jeff Jacobson
|
8d0b168575
|
[node] Added missing COPYFILE_* constants (#27036)
fixes #26534
|
2018-07-05 12:50:34 -07:00 |
|
Paul van Brenk
|
f4b16dbd4e
|
Merge pull request #26886 from kjin/buf-2-buf
[node] make crypto.randomFill[Sync] return type equal to first arg type
|
2018-06-28 11:17:16 -07:00 |
|
Kelvin Jin
|
feadd371da
|
[node] make crypto.randomFill[Sync] return type equal to first arg type
|
2018-06-27 15:46:27 -07:00 |
|
Gerhard Stoebich
|
382f56c51d
|
[node] add crypto.scrypt and crypto.scryptSync
|
2018-06-26 18:04:09 +02:00 |
|
ZaneHannanAU
|
36a8cba524
|
[@types/node] Add tests for extended InspectOptions
|
2018-06-23 10:06:59 +10:00 |
|
ZaneHannanAU
|
7f62a3c119
|
[@types/node] include NodeJS.InspectOptions.compact
Response to #26767
|
2018-06-23 10:01:03 +10:00 |
|
ZaneHannanAU
|
bcbc1c2eef
|
Remove SharedArrayBuffer from Buffer.from
Commented for the time being.
|
2018-06-22 13:35:17 +10:00 |
|
ZaneHannanAU
|
1d140253b6
|
buffer fixes
|
2018-06-22 08:49:21 +10:00 |
|
ZaneHannanAU
|
17b9d4da51
|
fix Buffer.of()
|
2018-06-20 22:00:47 +10:00 |
|
ZaneHannanAU
|
11dac82bbe
|
rewrite tests to pass linter
```
ERROR: 1175:53 whitespace missing whitespace
ERROR: 1189:1 no-consecutive-blank-lines Consecutive blank lines are forbidden
ERROR: 1203:60 semicolon Missing semicolon
ERROR: 1204:58 semicolon Missing semicolon
ERROR: 1205:52 semicolon Missing semicolon
ERROR: 1206:74 semicolon Missing semicolon
ERROR: 1245:13 expect TypeScript@next compile error:
Cannot redeclare block-scoped variable 'arr'.
ERROR: 1255:13 expect TypeScript@next compile error:
Cannot redeclare block-scoped variable 'arr'.
```
|
2018-06-20 20:37:03 +10:00 |
|
ZaneHannanAU
|
3d20d78318
|
... yeah; an required parameter cannot follow an optional one
```
ERROR: 5825:61 expect TypeScript@next compile error:
A required parameter cannot follow an optional parameter.
```
|
2018-06-20 20:33:09 +10:00 |
|
ZaneHannanAU
|
2bf2597fe7
|
Add ArrayBufferView to byteLength
|
2018-06-20 20:13:50 +10:00 |
|
ZaneHannanAU
|
1408e34280
|
Fix more tests
|
2018-06-20 20:04:39 +10:00 |
|
ZaneHannanAU
|
3363aac4f4
|
right type
|
2018-06-20 19:56:26 +10:00 |
|
ZaneHannanAU
|
da64ac90bb
|
fix excess whitespace, fix new DataView
|
2018-06-20 19:03:33 +10:00 |
|
ZaneHannanAU
|
952cb6b4dd
|
fix types and import stream
|
2018-06-20 19:00:16 +10:00 |
|
ZaneHannanAU
|
f08ee82ae4
|
Merge branch 'master' into ZaneHannanAU-patch-1
|
2018-06-20 17:25:10 +10:00 |
|
ZaneHannanAU
|
c1975b5541
|
use gcm, ccm. More cipher/decipher changes
|
2018-06-20 16:43:01 +10:00 |
|
ZaneHannanAU
|
cb0545f493
|
@types/node crypto: update (De)CipherCCM to be (De)CipherAAD
|
2018-06-20 10:22:24 +10:00 |
|
ZaneHannanAU
|
0f30c8503b
|
Input when encoding is specified probably no buf, add CCM
... There are way too many things that I don't know how to handle anymore.
Seriously the docs aren't consistent.
Now I'm going to try and fix the docs themselves anyway...
https://nodejs.org/docs/latest/api/crypto.html#crypto_ccm_mode
https://nodejs.org/docs/latest/api/crypto.html#crypto_decipher_setaad_buffer
*waltzes off to nodejs/node*
|
2018-06-20 10:04:53 +10:00 |
|
ZaneHannanAU
|
48d6e8ff19
|
Fix dumb mistakes that never should've occurred.
... Human error.
|
2018-06-20 09:18:28 +10:00 |
|
Daniel Rosenwasser
|
35b9eb2800
|
Added 'strict' to the 'assert' module.
|
2018-06-19 13:23:39 -07:00 |
|
ZaneHannanAU
|
bbab2bd291
|
Update crypto tests to use different ArrayBuffer types.
|
2018-06-19 16:12:45 +10:00 |
|
ZaneHannanAU
|
c98b858391
|
Update crypto to use ArrayBufferView values.
Currently throws on eg `crypto.timingSafeEqual(Buffer, Uint8Array)`.
|
2018-06-19 14:51:31 +10:00 |
|
Nathan Shively-Sanders
|
ba6955eb3f
|
Merge pull request #26613 from ZaneHannanAU/patch-2
Missing definition for `dns.resolveAny` and `dns.resolve(domain, 'ANY')` in `@types/node`
|
2018-06-18 15:13:59 -07:00 |
|
Nathan Shively-Sanders
|
c5097e289f
|
Merge pull request #26563 from ryanstaniforth/master
Fix Error type to be "Error | null" in node crypto methods
|
2018-06-18 11:05:41 -07:00 |
|
ZaneHannanAU
|
169b206383
|
... fix spelling mistake
|
2018-06-18 11:48:35 +10:00 |
|
ZaneHannanAU
|
057d36c588
|
add a semicolon
|
2018-06-18 11:44:19 +10:00 |
|
ZaneHannanAU
|
7521d75c2a
|
Fix references, add AnyTxtRecord
|
2018-06-18 10:52:32 +10:00 |
|
ZaneHannanAU
|
b3dfeb51e0
|
Add AnyTxtRecord
|
2018-06-18 10:52:13 +10:00 |
|
ZaneHannanAU
|
6edbf642ee
|
Add test for resolve(hostname, "ANY")
Test for `resolveAny` not added as other tests for the same haven't been added.
|
2018-06-18 10:34:39 +10:00 |
|
ZaneHannanAU
|
0fd0fa73ff
|
Add promisified version
|
2018-06-18 10:13:29 +10:00 |
|
ZaneHannanAU
|
915af93399
|
make travis-ci not throw
```ci
node failing:
Error: /home/travis/build/DefinitelyTyped/DefinitelyTyped/types/node/index.d.ts:2567:1
ERROR: 2567:1 no-trailing-whitespace trailing whitespace
ERROR: 2572:1 no-trailing-whitespace trailing whitespace
ERROR: 2587:22 semicolon Missing semicolon
at /home/travis/build/DefinitelyTyped/DefinitelyTyped/node_modules/dtslint/bin/index.js:101:19
at Generator.next (<anonymous>)
at fulfilled (/home/travis/build/DefinitelyTyped/DefinitelyTyped/node_modules/dtslint/bin/index.js:5:58)
at <anonymous>
```
|
2018-06-17 21:33:58 +10:00 |
|
ZaneHannanAU
|
d44f6de28b
|
Missing definitions in module "dns"
Add loads of `Any*Record` blocks to fill it in as well.
Missing definition for `dns.resolveAny` and `dns.resolve(domain, 'ANY')` in `@types/node`
|
2018-06-17 21:17:11 +10:00 |
|
islishude
|
9e33d7d953
|
fix(node): fix ECDH.converKey()
|
2018-06-17 10:58:28 +08:00 |
|
Ryan Staniforth
|
bd1a51cec4
|
Fix Error type to be "Error | null" in crypto methods
|
2018-06-14 10:25:43 +01:00 |
|
Mine Starks
|
6397998e23
|
Merge pull request #26512 from Flarna/node_correct_http2_status
[node] Correct type of incoming http2 ':status' header
|
2018-06-13 09:31:01 -07:00 |
|
Mine Starks
|
ee7ef14286
|
Merge pull request #26407 from r3nya/node-dns-lookup
[node] Add dns.lookupService method
|
2018-06-13 08:59:26 -07:00 |
|
Gerhard Stoebich
|
4b2b0cf993
|
[node] Correct type of incoming http2 ':status' header
|
2018-06-13 13:06:55 +02:00 |
|
Andrew Makarov
|
be6409bb59
|
Update tests
|
2018-06-10 23:08:28 +03:00 |
|
Andrew Makarov
|
9b615f3a76
|
Add dns.lookupService method
|
2018-06-09 23:09:07 +03:00 |
|
Sander Koenders
|
09ff4cfc0a
|
Fix(node 6): Use ProcessEnv in Process interface
|
2018-06-08 14:09:33 +02:00 |
|
Sander Koenders
|
8b140f037c
|
Docs(name): Add my name to contributors list
|
2018-06-08 13:54:51 +02:00 |
|
Sander Koenders
|
23bf075ab3
|
Test(Node 7): Alter test for ProcessEnv
|
2018-06-08 13:48:24 +02:00 |
|
Sander Koenders
|
c9bcd193cb
|
Test(Node 6): Alter test for ProcessEnv
|
2018-06-08 13:48:10 +02:00 |
|
Sander Koenders
|
bc22dd04a0
|
Test(Node 4): Alter test for ProcessEnv
|
2018-06-08 13:47:46 +02:00 |
|
Sander Koenders
|
f8ff96599a
|
Feat(Node 7): Add ProcessEnv interface
|
2018-06-08 13:00:51 +02:00 |
|
Sander Koenders
|
bb8dec6a26
|
Feat(Node 6): Add ProcessEnv interface
|
2018-06-08 13:00:25 +02:00 |
|