+4
-1
| # NAN ChangeLog | ||
| **Version 2.26.1: current Node 25.8.1, Node 0.12: 0.12.18, Node 0.10: 0.10.48, iojs: 3.3.1** | ||
| **Version 2.26.2: current Node 25.8.1, Node 0.12: 0.12.18, Node 0.10: 0.10.48, iojs: 3.3.1** | ||
| ### 2.26.2 Mar 18 2026 | ||
| - Bugfix: Fix nan_weak.h for V8 >= 14.2.194 (missing EmbedderDataTypeTag) (#1013) 794124c493555106eebaa3e82c0d6147d0213183 | ||
| ### 2.26.1 Mar 17 2026 | ||
@@ -6,0 +9,0 @@ - Bugfix: remove unintended copy-pasted line (#1011) 0456abb33a3ce412b644c45fb8401776d2f647eb |
+16
-0
@@ -279,3 +279,11 @@ /********************************************************************* | ||
| for (int i = 0; i < count && i < kInternalFieldsInWeakCallback; i++) { | ||
| #if (V8_MAJOR_VERSION > 14) || \ | ||
| (V8_MAJOR_VERSION == 14 && V8_MINOR_VERSION > 2) || \ | ||
| (V8_MAJOR_VERSION == 14 && V8_MINOR_VERSION == 2 && V8_BUILD_NUMBER >= 194) | ||
| internal_fields[i] = self->GetAlignedPointerFromInternalField( | ||
| i, v8::kEmbedderDataTypeTagDefault | ||
| ); | ||
| # else | ||
| internal_fields[i] = self->GetAlignedPointerFromInternalField(i); | ||
| # endif | ||
| } | ||
@@ -288,3 +296,11 @@ wcbd = new WeakCallbackInfo<P>( | ||
| , internal_fields[1]); | ||
| #if (V8_MAJOR_VERSION > 14) || \ | ||
| (V8_MAJOR_VERSION == 14 && V8_MINOR_VERSION > 2) || \ | ||
| (V8_MAJOR_VERSION == 14 && V8_MINOR_VERSION == 2 && V8_BUILD_NUMBER >= 194) | ||
| self->SetAlignedPointerInInternalField( | ||
| 0, wcbd, v8::kEmbedderDataTypeTagDefault | ||
| ); | ||
| # else | ||
| self->SetAlignedPointerInInternalField(0, wcbd); | ||
| # endif | ||
| v8::PersistentBase<T>::SetWeak( | ||
@@ -291,0 +307,0 @@ static_cast<WeakCallbackInfo<P>*>(0) |
+1
-1
| { | ||
| "name": "nan", | ||
| "version": "2.26.1", | ||
| "version": "2.26.2", | ||
| "description": "Native Abstractions for Node.js: C++ header for Node 0.8 -> 25 compatibility", | ||
@@ -5,0 +5,0 @@ "main": "include_dirs.js", |
+1
-1
@@ -6,3 +6,3 @@ Native Abstractions for Node.js | ||
| ***Current version: 2.26.1*** | ||
| ***Current version: 2.26.2*** | ||
@@ -9,0 +9,0 @@ *(See [CHANGELOG.md](https://github.com/nodejs/nan/blob/master/CHANGELOG.md) for complete ChangeLog)* |
Sorry, the diff of this file is too big to display
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
453821
0.16%