You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

nan

Package Overview
Dependencies
Maintainers
2
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nan - npm Package Compare versions

Comparing version
2.23.0
to
2.23.1
+3
-1
.github/workflows/ci.yml

@@ -25,3 +25,3 @@ # https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

matrix:
node-version: [24.x, 23.x, 22.x, 21.x, 20.x, 19.x, 18.x, 17.x, 16.x]
node-version: [25.x, 24.x, 23.x, 22.x, 21.x, 20.x, 19.x, 18.x, 17.x, 16.x]
os: [windows-latest]

@@ -39,2 +39,4 @@ include:

os: windows-2025
- node-version: lts/*
os: windows-11-arm # Windows on arm64
runs-on: ${{ matrix.os }}

@@ -41,0 +43,0 @@ steps:

# NAN ChangeLog
**Version 2.23.0: current Node 24.4.0, Node 0.12: 0.12.18, Node 0.10: 0.10.48, iojs: 3.3.1**
**Version 2.23.1: current Node 25.1.0, Node 0.12: 0.12.18, Node 0.10: 0.10.48, iojs: 3.3.1**
### 2.23.1 Nov 05 2025
- Feature: Adding WriteUtf8V2() and SetPrototypeV2() methods to support v8 14.3 (#1004) 9e1106ab7b7036d262df7f430eee3bff33757e9a
### 2.23.0 Jul 10 2025

@@ -6,0 +9,0 @@

@@ -210,3 +210,7 @@ /*********************************************************************

v8::HandleScope scope(isolate);
return obj->SetPrototype(isolate->GetCurrentContext(), prototype);
#if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION >= 14)
return obj->SetPrototypeV2(isolate->GetCurrentContext(), prototype);
#else
return obj->SetPrototype(isolate->GetCurrentContext(), prototype);
#endif
}

@@ -213,0 +217,0 @@

{
"name": "nan",
"version": "2.23.0",
"description": "Native Abstractions for Node.js: C++ header for Node 0.8 -> 24 compatibility",
"version": "2.23.1",
"description": "Native Abstractions for Node.js: C++ header for Node 0.8 -> 25 compatibility",
"main": "include_dirs.js",

@@ -6,0 +6,0 @@ "repository": {

Native Abstractions for Node.js
===============================
**A header file filled with macro and utility goodness for making add-on development for Node.js easier across versions 8, 10, 12, 14, 16, 17, 18, 19, 20, 21, 22, 23 and 24.**
**A header file filled with macro and utility goodness for making add-on development for Node.js easier across versions 8, 10, 12, 14, 16, 17, 18, 19, 20, 21, 22, 23, 24 and 25.**
***Current version: 2.23.0***
***Current version: 2.23.1***

@@ -8,0 +8,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