Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nan

Package Overview
Dependencies
Maintainers
2
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nan - npm Package Versions

1
79

1.1.0

Diff

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()
rvagg
published 0.8.0 •

Changelog

Source

0.8.0 Jan 9 2014

  • NanDispose -> NanDisposePersistent, deprecate NanDispose
  • Extract NANRETURN_TYPE, pull up NAN()
rvagg
published 0.7.1 •

Changelog

Source

0.7.1 Jan 9 2014

  • Fixes to work against debug builds of Node
  • Safer NanPersistentToLocal (avoid reinterpret_cast)
  • Speed up common NanRawString case by only extracting flattened string when necessary
rvagg
published 0.7.0 •

Changelog

Source

0.7.0 Dec 17 2013

  • New no-arg form of NanCallback() constructor.
  • NanCallback#Call takes Handle rather than Local
  • Removed deprecated NanCallback#Run method, use NanCallback#Call instead
  • Split off NAN_ARGS_TYPE from NAN_ARGS
  • Restore (unofficial) Node 0.6 compatibility at NanCallback#Call()
  • Introduce NanRawString() for char* (or appropriate void*) from v8::String (replacement for NanFromV8String)
  • Introduce NanCString() for null-terminated char* from v8::String
rvagg
published 0.6.0 •

Changelog

Source

0.6.0 Nov 21 2013

  • Introduce NanNewLocal<T>(v8::Handle<T> value) for use in place of v8::Local<T>::New(...) since v8 started requiring isolate in Node 0.11.9
rvagg
published 0.5.2 •

Changelog

Source

0.5.2 Nov 16 2013

  • Convert SavePersistent and GetFromPersistent in NanAsyncWorker from protected and public
rvagg
published 0.5.1 •

Changelog

Source

0.5.1 Nov 12 2013

  • Use node::MakeCallback() instead of direct v8::Function::Call()
rvagg
published 0.5.0 •

Changelog

Source

0.5.0 Nov 11 2013

  • Added @TooTallNate as collaborator
  • New, much simpler, "include_dirs" for binding.gyp
  • Added full range of NAN_INDEX_* macros to match NAN_PROPERTY_* macros
rvagg
published 0.4.4 •

Changelog

Source

0.4.4 Nov 2 2013

  • Isolate argument from v8::Persistent::MakeWeak removed for 0.11.8+
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