node-bin-darwin-arm64 16.6.0 → 16.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.
package/CHANGELOG.md CHANGED
@@ -10,6 +10,8 @@
10
10
  </tr>
11
11
  <tr>
12
12
  <td>
13
+ <a href="#16.6.2">16.6.2</a><br/>
14
+ <a href="#16.6.1">16.6.1</a><br/>
13
15
  <a href="#16.6.0">16.6.0</a><br/>
14
16
  <a href="#16.5.0">16.5.0</a><br/>
15
17
  <a href="#16.4.2">16.4.2</a><br/>
@@ -41,6 +43,51 @@
41
43
  * [io.js](CHANGELOG_IOJS.md)
42
44
  * [Archive](CHANGELOG_ARCHIVE.md)
43
45
 
46
+ <a id="16.6.2"></a>
47
+ ## 2021-08-11, Version 16.6.2 (Current), @BethGriggs
48
+
49
+ This is a security release.
50
+
51
+ ### Notable Changes
52
+
53
+ * **CVE-2021-3672/CVE-2021-22931**: Improper handling of untypical characters in domain names (High)
54
+ * Node.js was vulnerable to Remote Code Execution, XSS, application crashes due to missing input validation of hostnames returned by Domain Name Servers in the Node.js DNS library which can lead to the output of wrong hostnames (leading to Domain Hijacking) and injection vulnerabilities in applications using the library. You can read more about it at https://nvd.nist.gov/vuln/detail/CVE-2021-22931.
55
+ * **CVE-2021-22930**: Use after free on close http2 on stream canceling (High)
56
+ * Node.js was vulnerable to a use after free attack where an attacker might be able to exploit memory corruption to change process behavior. This release includes a follow-up fix for CVE-2021-22930 as the issue was not completely resolved by the previous fix. You can read more about it at https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22930.
57
+ * **CVE-2021-22939**: Incomplete validation of rejectUnauthorized parameter (Low)
58
+ * If the Node.js HTTPS API was used incorrectly and "undefined" was in passed for the "rejectUnauthorized" parameter, no error was returned and connections to servers with an expired certificate would have been accepted. You can read more about it at https://nvd.nist.gov/vuln/detail/CVE-2021-22939.
59
+
60
+ ### Commits
61
+
62
+ * [[`054537cdc2`](https://github.com/nodejs/node/commit/054537cdc2)] - **deps**: update c-ares to 1.17.2 (Beth Griggs) [#39724](https://github.com/nodejs/node/pull/39724)
63
+ * [[`ac544905b6`](https://github.com/nodejs/node/commit/ac544905b6)] - **deps**: reflect c-ares source tree (Beth Griggs) [#39653](https://github.com/nodejs/node/pull/39653)
64
+ * [[`a914b23cbc`](https://github.com/nodejs/node/commit/a914b23cbc)] - **deps**: apply missed updates from c-ares 1.17.1 (Beth Griggs) [#39653](https://github.com/nodejs/node/pull/39653)
65
+ * [[`31d5773654`](https://github.com/nodejs/node/commit/31d5773654)] - **http2**: add tests for cancel event while client is paused reading (Akshay K) [#39622](https://github.com/nodejs/node/pull/39622)
66
+ * [[`a3c33d4ce7`](https://github.com/nodejs/node/commit/a3c33d4ce7)] - **http2**: update handling of rst\_stream with error code NGHTTP2\_CANCEL (Akshay K) [#39622](https://github.com/nodejs/node/pull/39622)
67
+ * [[`6c7fff6f1d`](https://github.com/nodejs/node/commit/6c7fff6f1d)] - **tls**: validate "rejectUnauthorized: undefined" (Matteo Collina) [nodejs-private/node-private#276](https://github.com/nodejs-private/node-private/pull/276)
68
+
69
+ <a id="16.6.1"></a>
70
+ ## 2021-08-03, Version 16.6.1 (Current), @targos
71
+
72
+ ### Notable Changes
73
+
74
+ * Updated npm to 7.20.3 (npm team) [#39579](https://github.com/nodejs/node/pull/39579)
75
+ * Reverted an ABI-breaking change from V8 9.2 that could impact some native modules (Michaël Zasso) [#39624](https://github.com/nodejs/node/pull/39624)
76
+ * Fixed a bug in error handling known to affect at least Webpack and Jest (Guy Bedford) [#39593](https://github.com/nodejs/node/pull/39593)
77
+
78
+ ### Commits
79
+
80
+ * [[`6c769ccedf`](https://github.com/nodejs/node/commit/6c769ccedf)] - **build**: override python executable path on configure (legendecas) [#39465](https://github.com/nodejs/node/pull/39465)
81
+ * [[`cbf6a01c17`](https://github.com/nodejs/node/commit/cbf6a01c17)] - **crypto**: fix `generateKeyPair` with encoding 'jwk' (himself65) [#39319](https://github.com/nodejs/node/pull/39319)
82
+ * [[`3091295609`](https://github.com/nodejs/node/commit/3091295609)] - **deps**: revert ABI-breaking change from V8 9.2 (Michaël Zasso) [#39624](https://github.com/nodejs/node/pull/39624)
83
+ * [[`06d7b8e8c8`](https://github.com/nodejs/node/commit/06d7b8e8c8)] - **deps**: upgrade npm to 7.20.3 (npm team) [#39579](https://github.com/nodejs/node/pull/39579)
84
+ * [[`7b612fadc2`](https://github.com/nodejs/node/commit/7b612fadc2)] - **doc**: fix crypto.hkdf callback derivedKey type (Filip Skokan) [#39453](https://github.com/nodejs/node/pull/39453)
85
+ * [[`7a731efd97`](https://github.com/nodejs/node/commit/7a731efd97)] - **doc,lib,test**: rename HKDF 'key' argument (Tobias Nießen) [#39474](https://github.com/nodejs/node/pull/39474)
86
+ * [[`93bbaa0ce9`](https://github.com/nodejs/node/commit/93bbaa0ce9)] - **module**: fix ERR\_REQUIRE\_ESM error for null frames (Guy Bedford) [#39593](https://github.com/nodejs/node/pull/39593)
87
+ * [[`e13162de09`](https://github.com/nodejs/node/commit/e13162de09)] - **module**: refine `enrichCJSError` (Antoine du Hamel) [#39507](https://github.com/nodejs/node/pull/39507)
88
+ * [[`815fbec6f1`](https://github.com/nodejs/node/commit/815fbec6f1)] - **repl**: do not include legacy getter/setter methods in completion (Anna Henningsen) [#39576](https://github.com/nodejs/node/pull/39576)
89
+ * [[`0405c8d3f0`](https://github.com/nodejs/node/commit/0405c8d3f0)] - **zlib**: avoid converting `Uint8Array` instances to `Buffer` (Antoine du Hamel) [#39492](https://github.com/nodejs/node/pull/39492)
90
+
44
91
  <a id="16.6.0"></a>
45
92
  ## 2021-07-29, Version 16.6.0 (Current), @BethGriggs
46
93
 
package/bin/node CHANGED
Binary file
@@ -36,7 +36,7 @@
36
36
 
37
37
  # Reset this number to 0 on major V8 upgrades.
38
38
  # Increment by one for each non-official patch applied to deps/v8.
39
- 'v8_embedder_string': '-node.18',
39
+ 'v8_embedder_string': '-node.19',
40
40
 
41
41
  ##### V8 defaults for Node.js #####
42
42
 
@@ -24,7 +24,7 @@
24
24
 
25
25
  #define NODE_MAJOR_VERSION 16
26
26
  #define NODE_MINOR_VERSION 6
27
- #define NODE_PATCH_VERSION 0
27
+ #define NODE_PATCH_VERSION 2
28
28
 
29
29
  #define NODE_VERSION_IS_LTS 0
30
30
  #define NODE_VERSION_LTS_CODENAME ""
package/include/node/v8.h CHANGED
@@ -6796,6 +6796,17 @@ class V8_EXPORT FunctionTemplate : public Template {
6796
6796
  * API call, see the comment above the class declaration.
6797
6797
  */
6798
6798
  void SetCallHandler(
6799
+ FunctionCallback callback, Local<Value> data = Local<Value>(),
6800
+ SideEffectType side_effect_type = SideEffectType::kHasSideEffect,
6801
+ const CFunction* c_function = nullptr);
6802
+
6803
+ /**
6804
+ * Set the call-handler callback for a FunctionTemplate. This
6805
+ * callback is called whenever the function created from this
6806
+ * FunctionTemplate is called. The 'c_function' represents a fast
6807
+ * API call, see the comment above the class declaration.
6808
+ */
6809
+ void SetCallHandlerV8_92(
6799
6810
  FunctionCallback callback, Local<Value> data = Local<Value>(),
6800
6811
  SideEffectType side_effect_type = SideEffectType::kHasSideEffect,
6801
6812
  const MemorySpan<const CFunction>& c_function_overloads = {});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-bin-darwin-arm64",
3
- "version": "v16.6.0",
3
+ "version": "v16.6.2",
4
4
  "description": "node",
5
5
  "bin": {
6
6
  "node": "bin/node"