@@ -2869,6 +2869,12 @@ This property is deprecated. Please use `crypto.setFips()` and
2869
2869
2870
2870
<!-- YAML
2871
2871
added: v15.8.0
2872
+ changes:
2873
+ - version: REPLACEME
2874
+ pr-url: https://github.com/nodejs/node/pull/41678
2875
+ description: Passing an invalid callback to the `callback` argument
2876
+ now throws `ERR_INVALID_ARG_TYPE` instead of
2877
+ `ERR_INVALID_CALLBACK`.
2872
2878
-->
2873
2879
2874
2880
* ` candidate ` {ArrayBuffer|SharedArrayBuffer|TypedArray|Buffer|DataView|bigint}
@@ -3547,6 +3553,12 @@ Both keys must have the same `asymmetricKeyType`, which must be one of `'dh'`
3547
3553
3548
3554
<!-- YAML
3549
3555
added: v15.0.0
3556
+ changes:
3557
+ - version: REPLACEME
3558
+ pr-url: https://github.com/nodejs/node/pull/41678
3559
+ description: Passing an invalid callback to the `callback` argument
3560
+ now throws `ERR_INVALID_ARG_TYPE` instead of
3561
+ `ERR_INVALID_CALLBACK`.
3550
3562
-->
3551
3563
3552
3564
* ` type ` : {string} The intended use of the generated secret key. Currently
@@ -3592,6 +3604,11 @@ generateKey('hmac', { length: 64 }, (err, key) => {
3592
3604
<!-- YAML
3593
3605
added: v10.12.0
3594
3606
changes:
3607
+ - version: REPLACEME
3608
+ pr-url: https://github.com/nodejs/node/pull/41678
3609
+ description: Passing an invalid callback to the `callback` argument
3610
+ now throws `ERR_INVALID_ARG_TYPE` instead of
3611
+ `ERR_INVALID_CALLBACK`.
3595
3612
- version: v16.10.0
3596
3613
pr-url: https://github.com/nodejs/node/pull/39927
3597
3614
description: Add ability to define `RSASSA-PSS-params` sequence parameters
@@ -3852,6 +3869,12 @@ console.log(key.export().toString('hex')); // e89..........41e
3852
3869
3853
3870
<!-- YAML
3854
3871
added: v15.8.0
3872
+ changes:
3873
+ - version: REPLACEME
3874
+ pr-url: https://github.com/nodejs/node/pull/41678
3875
+ description: Passing an invalid callback to the `callback` argument
3876
+ now throws `ERR_INVALID_ARG_TYPE` instead of
3877
+ `ERR_INVALID_CALLBACK`.
3855
3878
-->
3856
3879
3857
3880
* ` size ` {number} The size (in bits) of the prime to generate.
@@ -4118,6 +4141,12 @@ A convenient alias for [`crypto.webcrypto.getRandomValues()`][].
4118
4141
4119
4142
<!-- YAML
4120
4143
added: v15.0.0
4144
+ changes:
4145
+ - version: REPLACEME
4146
+ pr-url: https://github.com/nodejs/node/pull/41678
4147
+ description: Passing an invalid callback to the `callback` argument
4148
+ now throws `ERR_INVALID_ARG_TYPE` instead of
4149
+ `ERR_INVALID_CALLBACK`.
4121
4150
-->
4122
4151
4123
4152
* ` digest ` {string} The digest algorithm to use.
@@ -4221,6 +4250,11 @@ console.log(Buffer.from(derivedKey).toString('hex')); // '24156e2...5391653'
4221
4250
<!-- YAML
4222
4251
added: v0.5.5
4223
4252
changes:
4253
+ - version: REPLACEME
4254
+ pr-url: https://github.com/nodejs/node/pull/41678
4255
+ description: Passing an invalid callback to the `callback` argument
4256
+ now throws `ERR_INVALID_ARG_TYPE` instead of
4257
+ `ERR_INVALID_CALLBACK`.
4224
4258
- version: v15.0.0
4225
4259
pr-url: https://github.com/nodejs/node/pull/35093
4226
4260
description: The password and salt arguments can also be ArrayBuffer
@@ -4602,6 +4636,11 @@ be passed instead of a public key.
4602
4636
<!-- YAML
4603
4637
added: v0.5.8
4604
4638
changes:
4639
+ - version: REPLACEME
4640
+ pr-url: https://github.com/nodejs/node/pull/41678
4641
+ description: Passing an invalid callback to the `callback` argument
4642
+ now throws `ERR_INVALID_ARG_TYPE` instead of
4643
+ `ERR_INVALID_CALLBACK`.
4605
4644
- version: v9.0.0
4606
4645
pr-url: https://github.com/nodejs/node/pull/16454
4607
4646
description: Passing `null` as the `callback` argument now throws
@@ -4782,6 +4821,11 @@ added:
4782
4821
- v7.10.0
4783
4822
- v6.13.0
4784
4823
changes:
4824
+ - version: REPLACEME
4825
+ pr-url: https://github.com/nodejs/node/pull/41678
4826
+ description: Passing an invalid callback to the `callback` argument
4827
+ now throws `ERR_INVALID_ARG_TYPE` instead of
4828
+ `ERR_INVALID_CALLBACK`.
4785
4829
- version: v9.0.0
4786
4830
pr-url: https://github.com/nodejs/node/pull/15231
4787
4831
description: The `buffer` argument may be any `TypedArray` or `DataView`.
@@ -4918,6 +4962,12 @@ request.
4918
4962
added:
4919
4963
- v14.10.0
4920
4964
- v12.19.0
4965
+ changes:
4966
+ - version: REPLACEME
4967
+ pr-url: https://github.com/nodejs/node/pull/41678
4968
+ description: Passing an invalid callback to the `callback` argument
4969
+ now throws `ERR_INVALID_ARG_TYPE` instead of
4970
+ `ERR_INVALID_CALLBACK`.
4921
4971
-->
4922
4972
4923
4973
* ` min ` {integer} Start of random range (inclusive). ** Default:** ` 0 ` .
@@ -5021,6 +5071,11 @@ cryptographic pseudorandom number generator.
5021
5071
<!-- YAML
5022
5072
added: v10.5.0
5023
5073
changes:
5074
+ - version: REPLACEME
5075
+ pr-url: https://github.com/nodejs/node/pull/41678
5076
+ description: Passing an invalid callback to the `callback` argument
5077
+ now throws `ERR_INVALID_ARG_TYPE` instead of
5078
+ `ERR_INVALID_CALLBACK`.
5024
5079
- version: v15.0.0
5025
5080
pr-url: https://github.com/nodejs/node/pull/35093
5026
5081
description: The password and salt arguments can also be ArrayBuffer
@@ -5244,6 +5299,11 @@ Throws an error if FIPS mode is not available.
5244
5299
<!-- YAML
5245
5300
added: v12.0.0
5246
5301
changes:
5302
+ - version: REPLACEME
5303
+ pr-url: https://github.com/nodejs/node/pull/41678
5304
+ description: Passing an invalid callback to the `callback` argument
5305
+ now throws `ERR_INVALID_ARG_TYPE` instead of
5306
+ `ERR_INVALID_CALLBACK`.
5247
5307
- version: v15.12.0
5248
5308
pr-url: https://github.com/nodejs/node/pull/37500
5249
5309
description: Optional callback argument added.
@@ -5340,6 +5400,11 @@ not introduce timing vulnerabilities.
5340
5400
<!-- YAML
5341
5401
added: v12.0.0
5342
5402
changes:
5403
+ - version: REPLACEME
5404
+ pr-url: https://github.com/nodejs/node/pull/41678
5405
+ description: Passing an invalid callback to the `callback` argument
5406
+ now throws `ERR_INVALID_ARG_TYPE` instead of
5407
+ `ERR_INVALID_CALLBACK`.
5343
5408
- version: v15.12.0
5344
5409
pr-url: https://github.com/nodejs/node/pull/37500
5345
5410
description: Optional callback argument added.
0 commit comments