Socket
Socket
Sign inDemoInstall

nan

Package Overview
Dependencies
Maintainers
2
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nan - npm Package Versions

1
9

1.4.2

Diff

Changelog

Source

1.4.2 Jan 15 2015

  • Feature: Support io.js 0dbc5e8
kkoopa
published 1.5.0 •

Changelog

Source

1.5.0 Jan 14 2015

  • Feature: Support io.js b003843
  • Correctness: Improved NanNew internals 9cd4f6a
  • Feature: Implement progress to NanAsyncWorker 8d6a160
kkoopa
published 1.4.1 •

Changelog

Source

1.4.1 Nov 8 2014

  • Bugfix: Handle DEBUG definition correctly
  • Bugfix: Accept int as Boolean
rvagg
published 1.4.0 •

Changelog

Source

1.4.0 Nov 1 2014

  • Feature: Added NAN_GC_CALLBACK 6a5c245
  • Performance: Removed unnecessary local handle creation 18a7243, 41fe2f8
  • Correctness: Added constness to references in NanHasInstance 02c61cd
  • Warnings: Fixed spurious warnings from -Wundef and -Wshadow, 541b122, 99d8cb6
  • Windoze: Shut Visual Studio up when compiling 8d558c1
  • License: Switch to plain MIT from custom hacked MIT license 11de983
  • Build: Added test target to Makefile e232e46
  • Performance: Removed superfluous scope in NanAsyncWorker f4b7821
  • Sugar/Feature: Added NanReturnThis() and NanReturnHolder() shorthands 237a5ff, d697208
  • Feature: Added suitable overload of NanNew for v8::Integer::NewFromUnsigned b27b450
rvagg
published 1.3.0 •

Changelog

Source

1.3.0 Aug 2 2014

  • Added NanNew<v8::String, std::string>(std::string)
  • Added NanNew<v8::String, std::string&>(std::string&)
  • Added NanAsciiString helper class
  • Added NanUtf8String helper class
  • Added NanUcs2String helper class
  • Deprecated NanRawString()
  • Deprecated NanCString()
  • Added NanGetIsolateData(v8::Isolate *isolate)
  • Added NanMakeCallback(v8::Handlev8::Object target, v8::Handlev8::Function func, int argc, v8::Handlev8::Value* argv)
  • Added NanMakeCallback(v8::Handlev8::Object target, v8::Handlev8::String symbol, int argc, v8::Handlev8::Value* argv)
  • Added NanMakeCallback(v8::Handlev8::Object target, const char* method, int argc, v8::Handlev8::Value* argv)
  • Added NanSetTemplate(v8::Handlev8::Template templ, v8::Handlev8::String name , v8::Handlev8::Data value, v8::PropertyAttribute attributes)
  • Added NanSetPrototypeTemplate(v8::Localv8::FunctionTemplate templ, v8::Handlev8::String name, v8::Handlev8::Data value, v8::PropertyAttribute attributes)
  • Added NanSetInstanceTemplate(v8::Localv8::FunctionTemplate templ, const char *name, v8::Handlev8::Data value)
  • Added NanSetInstanceTemplate(v8::Localv8::FunctionTemplate templ, v8::Handlev8::String name, v8::Handlev8::Data value, v8::PropertyAttribute attributes)
rvagg
published 1.2.0 •

Changelog

Source

1.2.0 Jun 5 2014

  • Add NanSetPrototypeTemplate
  • Changed NAN_WEAK_CALLBACK internals, switched _NanWeakCallbackData to class, introduced _NanWeakCallbackDispatcher
  • Removed -Wno-unused-local-typedefs from test builds
  • Made test builds Windows compatible ('Sleep()')
rvagg
published 1.1.2 •

Changelog

Source

1.1.2 May 28 2014

  • Release to fix more stuff-ups in 1.1.1
rvagg
published 1.1.1 •

Changelog

Source

1.1.1 May 28 2014

  • Release to fix version mismatch in nan.h and lack of changelog entry for 1.1.0
rvagg
published 1.1.0 •

Changelog

Source

1.1.0 May 25 2014

  • Remove nan_isolate, use v8::Isolate::GetCurrent() internally instead
  • Additional explicit overloads for NanNew(): (char*,int), (uint8_t*[,int]), (uint16_t*[,int), double, int, unsigned int, bool, v8::String::ExternalStringResource*, v8::String::ExternalAsciiStringResource*
  • Deprecate NanSymbol()
  • Added SetErrorMessage() and ErrorMessage() to NanAsyncWorker
rvagg
published 1.0.0 •

Changelog

Source

1.0.0 May 4 2014

  • Heavy API changes for V8 3.25 / Node 0.11.13
  • Use cpplint.py
  • Removed NanInitPersistent
  • Removed NanPersistentToLocal
  • Removed NanFromV8String
  • Removed NanMakeWeak
  • Removed NanNewLocal
  • Removed NAN_WEAK_CALLBACK_OBJECT
  • Removed NAN_WEAK_CALLBACK_DATA
  • Introduce NanNew, replaces NanNewLocal, NanPersistentToLocal, adds many overloaded typed versions
  • Introduce NanUndefined, NanNull, NanTrue and NanFalse
  • Introduce NanEscapableScope and NanEscapeScope
  • Introduce NanMakeWeakPersistent (requires a special callback to work on both old and new node)
  • Introduce NanMakeCallback for node::MakeCallback
  • Introduce NanSetTemplate
  • Introduce NanGetCurrentContext
  • Introduce NanCompileScript and NanRunScript
  • Introduce NanAdjustExternalMemory
  • Introduce NanAddGCEpilogueCallback, NanAddGCPrologueCallback, NanRemoveGCEpilogueCallback, NanRemoveGCPrologueCallback
  • Introduce NanGetHeapStatistics
  • Rename NanAsyncWorker#SavePersistent() to SaveToPersistent()
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc