couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [13/51] [abbrv] [partial] couchdb-nmo git commit: Remove node_modules from repo
Date Mon, 30 Nov 2015 09:36:55 GMT
http://git-wip-us.apache.org/repos/asf/couchdb-nmo/blob/6436833c/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_callbacks_12_inl.h
----------------------------------------------------------------------
diff --git a/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_callbacks_12_inl.h b/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_callbacks_12_inl.h
deleted file mode 100644
index 311e49a..0000000
--- a/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_callbacks_12_inl.h
+++ /dev/null
@@ -1,512 +0,0 @@
-/*********************************************************************
- * NAN - Native Abstractions for Node.js
- *
- * Copyright (c) 2015 NAN contributors
- *
- * MIT License <https://github.com/nodejs/nan/blob/master/LICENSE.md>
- ********************************************************************/
-
-#ifndef NAN_CALLBACKS_12_INL_H_
-#define NAN_CALLBACKS_12_INL_H_
-
-template<typename T>
-class ReturnValue {
-  v8::ReturnValue<T> value_;
-
- public:
-  template <class S>
-  explicit inline ReturnValue(const v8::ReturnValue<S> &value) :
-      value_(value) {}
-  template <class S>
-  explicit inline ReturnValue(const ReturnValue<S>& that)
-      : value_(that.value_) {
-    TYPE_CHECK(T, S);
-  }
-
-  // Handle setters
-  template <typename S> inline void Set(const v8::Local<S> &handle) {
-    TYPE_CHECK(T, S);
-    value_.Set(handle);
-  }
-
-  template <typename S> inline void Set(const Global<S> &handle) {
-    TYPE_CHECK(T, S);
-#if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION > 4 ||                      \
-  (V8_MAJOR_VERSION == 4 && defined(V8_MINOR_VERSION) &&                       \
-  (V8_MINOR_VERSION > 5 || (V8_MINOR_VERSION == 5 &&                           \
-  defined(V8_BUILD_NUMBER) && V8_BUILD_NUMBER >= 8))))
-    value_.Set(handle);
-#else
-    value_.Set(*reinterpret_cast<const v8::Persistent<S>*>(&handle));
-    const_cast<Global<S> &>(handle).Reset();
-#endif
-  }
-
-  // Fast primitive setters
-  inline void Set(bool value) {
-    TYPE_CHECK(T, v8::Boolean);
-    value_.Set(value);
-  }
-
-  inline void Set(double i) {
-    TYPE_CHECK(T, v8::Number);
-    value_.Set(i);
-  }
-
-  inline void Set(int32_t i) {
-    TYPE_CHECK(T, v8::Integer);
-    value_.Set(i);
-  }
-
-  inline void Set(uint32_t i) {
-    TYPE_CHECK(T, v8::Integer);
-    value_.Set(i);
-  }
-
-  // Fast JS primitive setters
-  inline void SetNull() {
-    TYPE_CHECK(T, v8::Primitive);
-    value_.SetNull();
-  }
-
-  inline void SetUndefined() {
-    TYPE_CHECK(T, v8::Primitive);
-    value_.SetUndefined();
-  }
-
-  inline void SetEmptyString() {
-    TYPE_CHECK(T, v8::String);
-    value_.SetEmptyString();
-  }
-
-  // Convenience getter for isolate
-  inline v8::Isolate *GetIsolate() const {
-    return value_.GetIsolate();
-  }
-
-  // Pointer setter: Uncompilable to prevent inadvertent misuse.
-  template<typename S>
-  inline void Set(S *whatever) { TYPE_CHECK(S*, v8::Primitive); }
-};
-
-template<typename T>
-class FunctionCallbackInfo {
-  const v8::FunctionCallbackInfo<T> &info_;
-  const v8::Local<v8::Value> data_;
-
- public:
-  explicit inline FunctionCallbackInfo(
-      const v8::FunctionCallbackInfo<T> &info
-    , v8::Local<v8::Value> data) :
-          info_(info)
-        , data_(data) {}
-
-  inline ReturnValue<T> GetReturnValue() const {
-    return ReturnValue<T>(info_.GetReturnValue());
-  }
-
-  inline v8::Local<v8::Function> Callee() const { return info_.Callee(); }
-  inline v8::Local<v8::Value> Data() const { return data_; }
-  inline v8::Local<v8::Object> Holder() const { return info_.Holder(); }
-  inline bool IsConstructCall() const { return info_.IsConstructCall(); }
-  inline int Length() const { return info_.Length(); }
-  inline v8::Local<v8::Value> operator[](int i) const { return info_[i]; }
-  inline v8::Local<v8::Object> This() const { return info_.This(); }
-  inline v8::Isolate *GetIsolate() const { return info_.GetIsolate(); }
-
-
- protected:
-  static const int kHolderIndex = 0;
-  static const int kIsolateIndex = 1;
-  static const int kReturnValueDefaultValueIndex = 2;
-  static const int kReturnValueIndex = 3;
-  static const int kDataIndex = 4;
-  static const int kCalleeIndex = 5;
-  static const int kContextSaveIndex = 6;
-  static const int kArgsLength = 7;
-
- private:
-  NAN_DISALLOW_ASSIGN_COPY_MOVE(FunctionCallbackInfo)
-};
-
-template<typename T>
-class PropertyCallbackInfo {
-  const v8::PropertyCallbackInfo<T> &info_;
-  const v8::Local<v8::Value> data_;
-
- public:
-  explicit inline PropertyCallbackInfo(
-      const v8::PropertyCallbackInfo<T> &info
-    , const v8::Local<v8::Value> &data) :
-          info_(info)
-        , data_(data) {}
-
-  inline v8::Isolate* GetIsolate() const { return info_.GetIsolate(); }
-  inline v8::Local<v8::Value> Data() const { return data_; }
-  inline v8::Local<v8::Object> This() const { return info_.This(); }
-  inline v8::Local<v8::Object> Holder() const { return info_.Holder(); }
-  inline ReturnValue<T> GetReturnValue() const {
-    return ReturnValue<T>(info_.GetReturnValue());
-  }
-
- protected:
-  static const int kHolderIndex = 0;
-  static const int kIsolateIndex = 1;
-  static const int kReturnValueDefaultValueIndex = 2;
-  static const int kReturnValueIndex = 3;
-  static const int kDataIndex = 4;
-  static const int kThisIndex = 5;
-  static const int kArgsLength = 6;
-
- private:
-  NAN_DISALLOW_ASSIGN_COPY_MOVE(PropertyCallbackInfo)
-};
-
-namespace imp {
-static
-void FunctionCallbackWrapper(const v8::FunctionCallbackInfo<v8::Value> &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  FunctionCallback callback = reinterpret_cast<FunctionCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kFunctionIndex).As<v8::External>()->Value()));
-  FunctionCallbackInfo<v8::Value>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  callback(cbinfo);
-}
-
-typedef void (*NativeFunction)(const v8::FunctionCallbackInfo<v8::Value> &);
-
-#if NODE_MODULE_VERSION > NODE_0_12_MODULE_VERSION
-static
-void GetterCallbackWrapper(
-    v8::Local<v8::Name> property
-  , const v8::PropertyCallbackInfo<v8::Value> &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<v8::Value>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  GetterCallback callback = reinterpret_cast<GetterCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kGetterIndex).As<v8::External>()->Value()));
-  callback(property.As<v8::String>(), cbinfo);
-}
-
-typedef void (*NativeGetter)
-    (v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value> &);
-
-static
-void SetterCallbackWrapper(
-    v8::Local<v8::Name> property
-  , v8::Local<v8::Value> value
-  , const v8::PropertyCallbackInfo<void> &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<void>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  SetterCallback callback = reinterpret_cast<SetterCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kSetterIndex).As<v8::External>()->Value()));
-  callback(property.As<v8::String>(), value, cbinfo);
-}
-
-typedef void (*NativeSetter)(
-    v8::Local<v8::Name>
-  , v8::Local<v8::Value>
-  , const v8::PropertyCallbackInfo<void> &);
-#else
-static
-void GetterCallbackWrapper(
-    v8::Local<v8::String> property
-  , const v8::PropertyCallbackInfo<v8::Value> &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<v8::Value>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  GetterCallback callback = reinterpret_cast<GetterCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kGetterIndex).As<v8::External>()->Value()));
-  callback(property, cbinfo);
-}
-
-typedef void (*NativeGetter)
-    (v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value> &);
-
-static
-void SetterCallbackWrapper(
-    v8::Local<v8::String> property
-  , v8::Local<v8::Value> value
-  , const v8::PropertyCallbackInfo<void> &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<void>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  SetterCallback callback = reinterpret_cast<SetterCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kSetterIndex).As<v8::External>()->Value()));
-  callback(property, value, cbinfo);
-}
-
-typedef void (*NativeSetter)(
-    v8::Local<v8::String>
-  , v8::Local<v8::Value>
-  , const v8::PropertyCallbackInfo<void> &);
-#endif
-
-#if NODE_MODULE_VERSION > NODE_0_12_MODULE_VERSION
-static
-void PropertyGetterCallbackWrapper(
-    v8::Local<v8::Name> property
-  , const v8::PropertyCallbackInfo<v8::Value> &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<v8::Value>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  PropertyGetterCallback callback = reinterpret_cast<PropertyGetterCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kPropertyGetterIndex)
-              .As<v8::External>()->Value()));
-  callback(property.As<v8::String>(), cbinfo);
-}
-
-typedef void (*NativePropertyGetter)
-    (v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value> &);
-
-static
-void PropertySetterCallbackWrapper(
-    v8::Local<v8::Name> property
-  , v8::Local<v8::Value> value
-  , const v8::PropertyCallbackInfo<v8::Value> &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<v8::Value>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  PropertySetterCallback callback = reinterpret_cast<PropertySetterCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kPropertySetterIndex)
-              .As<v8::External>()->Value()));
-  callback(property.As<v8::String>(), value, cbinfo);
-}
-
-typedef void (*NativePropertySetter)(
-    v8::Local<v8::Name>
-  , v8::Local<v8::Value>
-  , const v8::PropertyCallbackInfo<v8::Value> &);
-
-static
-void PropertyEnumeratorCallbackWrapper(
-    const v8::PropertyCallbackInfo<v8::Array> &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<v8::Array>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  PropertyEnumeratorCallback callback =
-      reinterpret_cast<PropertyEnumeratorCallback>(reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kPropertyEnumeratorIndex)
-              .As<v8::External>()->Value()));
-  callback(cbinfo);
-}
-
-typedef void (*NativePropertyEnumerator)
-    (const v8::PropertyCallbackInfo<v8::Array> &);
-
-static
-void PropertyDeleterCallbackWrapper(
-    v8::Local<v8::Name> property
-  , const v8::PropertyCallbackInfo<v8::Boolean> &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<v8::Boolean>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  PropertyDeleterCallback callback = reinterpret_cast<PropertyDeleterCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kPropertyDeleterIndex)
-              .As<v8::External>()->Value()));
-  callback(property.As<v8::String>(), cbinfo);
-}
-
-typedef void (NativePropertyDeleter)
-    (v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Boolean> &);
-
-static
-void PropertyQueryCallbackWrapper(
-    v8::Local<v8::Name> property
-  , const v8::PropertyCallbackInfo<v8::Integer> &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<v8::Integer>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  PropertyQueryCallback callback = reinterpret_cast<PropertyQueryCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kPropertyQueryIndex)
-              .As<v8::External>()->Value()));
-  callback(property.As<v8::String>(), cbinfo);
-}
-
-typedef void (*NativePropertyQuery)
-    (v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Integer> &);
-#else
-static
-void PropertyGetterCallbackWrapper(
-    v8::Local<v8::String> property
-  , const v8::PropertyCallbackInfo<v8::Value> &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<v8::Value>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  PropertyGetterCallback callback = reinterpret_cast<PropertyGetterCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kPropertyGetterIndex)
-              .As<v8::External>()->Value()));
-  callback(property, cbinfo);
-}
-
-typedef void (*NativePropertyGetter)
-    (v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value> &);
-
-static
-void PropertySetterCallbackWrapper(
-    v8::Local<v8::String> property
-  , v8::Local<v8::Value> value
-  , const v8::PropertyCallbackInfo<v8::Value> &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<v8::Value>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  PropertySetterCallback callback = reinterpret_cast<PropertySetterCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kPropertySetterIndex)
-              .As<v8::External>()->Value()));
-  callback(property, value, cbinfo);
-}
-
-typedef void (*NativePropertySetter)(
-    v8::Local<v8::String>
-  , v8::Local<v8::Value>
-  , const v8::PropertyCallbackInfo<v8::Value> &);
-
-static
-void PropertyEnumeratorCallbackWrapper(
-    const v8::PropertyCallbackInfo<v8::Array> &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<v8::Array>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  PropertyEnumeratorCallback callback =
-      reinterpret_cast<PropertyEnumeratorCallback>(reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kPropertyEnumeratorIndex)
-              .As<v8::External>()->Value()));
-  callback(cbinfo);
-}
-
-typedef void (*NativePropertyEnumerator)
-    (const v8::PropertyCallbackInfo<v8::Array> &);
-
-static
-void PropertyDeleterCallbackWrapper(
-    v8::Local<v8::String> property
-  , const v8::PropertyCallbackInfo<v8::Boolean> &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<v8::Boolean>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  PropertyDeleterCallback callback = reinterpret_cast<PropertyDeleterCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kPropertyDeleterIndex)
-              .As<v8::External>()->Value()));
-  callback(property, cbinfo);
-}
-
-typedef void (NativePropertyDeleter)
-    (v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Boolean> &);
-
-static
-void PropertyQueryCallbackWrapper(
-    v8::Local<v8::String> property
-  , const v8::PropertyCallbackInfo<v8::Integer> &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<v8::Integer>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  PropertyQueryCallback callback = reinterpret_cast<PropertyQueryCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kPropertyQueryIndex)
-              .As<v8::External>()->Value()));
-  callback(property, cbinfo);
-}
-
-typedef void (*NativePropertyQuery)
-    (v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Integer> &);
-#endif
-
-static
-void IndexGetterCallbackWrapper(
-    uint32_t index, const v8::PropertyCallbackInfo<v8::Value> &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<v8::Value>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  IndexGetterCallback callback = reinterpret_cast<IndexGetterCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kIndexPropertyGetterIndex)
-              .As<v8::External>()->Value()));
-  callback(index, cbinfo);
-}
-
-typedef void (*NativeIndexGetter)
-    (uint32_t, const v8::PropertyCallbackInfo<v8::Value> &);
-
-static
-void IndexSetterCallbackWrapper(
-    uint32_t index
-  , v8::Local<v8::Value> value
-  , const v8::PropertyCallbackInfo<v8::Value> &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<v8::Value>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  IndexSetterCallback callback = reinterpret_cast<IndexSetterCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kIndexPropertySetterIndex)
-              .As<v8::External>()->Value()));
-  callback(index, value, cbinfo);
-}
-
-typedef void (*NativeIndexSetter)(
-    uint32_t
-  , v8::Local<v8::Value>
-  , const v8::PropertyCallbackInfo<v8::Value> &);
-
-static
-void IndexEnumeratorCallbackWrapper(
-    const v8::PropertyCallbackInfo<v8::Array> &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<v8::Array>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  IndexEnumeratorCallback callback = reinterpret_cast<IndexEnumeratorCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(
-              kIndexPropertyEnumeratorIndex).As<v8::External>()->Value()));
-  callback(cbinfo);
-}
-
-typedef void (*NativeIndexEnumerator)
-    (const v8::PropertyCallbackInfo<v8::Array> &);
-
-static
-void IndexDeleterCallbackWrapper(
-    uint32_t index, const v8::PropertyCallbackInfo<v8::Boolean> &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<v8::Boolean>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  IndexDeleterCallback callback = reinterpret_cast<IndexDeleterCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kIndexPropertyDeleterIndex)
-              .As<v8::External>()->Value()));
-  callback(index, cbinfo);
-}
-
-typedef void (*NativeIndexDeleter)
-    (uint32_t, const v8::PropertyCallbackInfo<v8::Boolean> &);
-
-static
-void IndexQueryCallbackWrapper(
-    uint32_t index, const v8::PropertyCallbackInfo<v8::Integer> &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<v8::Integer>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  IndexQueryCallback callback = reinterpret_cast<IndexQueryCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kIndexPropertyQueryIndex)
-              .As<v8::External>()->Value()));
-  callback(index, cbinfo);
-}
-
-typedef void (*NativeIndexQuery)
-    (uint32_t, const v8::PropertyCallbackInfo<v8::Integer> &);
-}  // end of namespace imp
-
-#endif  // NAN_CALLBACKS_12_INL_H_

http://git-wip-us.apache.org/repos/asf/couchdb-nmo/blob/6436833c/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_callbacks_pre_12_inl.h
----------------------------------------------------------------------
diff --git a/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_callbacks_pre_12_inl.h b/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_callbacks_pre_12_inl.h
deleted file mode 100644
index 316f506..0000000
--- a/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_callbacks_pre_12_inl.h
+++ /dev/null
@@ -1,506 +0,0 @@
-/*********************************************************************
- * NAN - Native Abstractions for Node.js
- *
- * Copyright (c) 2015 NAN contributors
- *
- * MIT License <https://github.com/nodejs/nan/blob/master/LICENSE.md>
- ********************************************************************/
-
-#ifndef NAN_CALLBACKS_PRE_12_INL_H_
-#define NAN_CALLBACKS_PRE_12_INL_H_
-
-namespace imp {
-template<typename T> class ReturnValueImp;
-}  // end of namespace imp
-
-template<typename T>
-class ReturnValue {
-  v8::Isolate *isolate_;
-  v8::Persistent<T> *value_;
-  friend class imp::ReturnValueImp<T>;
-
- public:
-  template <class S>
-  explicit inline ReturnValue(v8::Isolate *isolate, v8::Persistent<S> *p) :
-      isolate_(isolate), value_(p) {}
-  template <class S>
-  explicit inline ReturnValue(const ReturnValue<S>& that)
-      : isolate_(that.isolate_), value_(that.value_) {
-    TYPE_CHECK(T, S);
-  }
-
-  // Handle setters
-  template <typename S> inline void Set(const v8::Local<S> &handle) {
-    TYPE_CHECK(T, S);
-    value_->Dispose();
-    *value_ = v8::Persistent<T>::New(handle);
-  }
-
-  template <typename S> inline void Set(const Global<S> &handle) {
-    TYPE_CHECK(T, S);
-    value_->Dispose();
-    *value_ = v8::Persistent<T>::New(handle.persistent);
-    const_cast<Global<S> &>(handle).Reset();
-  }
-
-  // Fast primitive setters
-  inline void Set(bool value) {
-    TYPE_CHECK(T, v8::Boolean);
-    value_->Dispose();
-    *value_ = v8::Persistent<T>::New(v8::Boolean::New(value));
-  }
-
-  inline void Set(double i) {
-    TYPE_CHECK(T, v8::Number);
-    value_->Dispose();
-    *value_ = v8::Persistent<T>::New(v8::Number::New(i));
-  }
-
-  inline void Set(int32_t i) {
-    TYPE_CHECK(T, v8::Integer);
-    value_->Dispose();
-    *value_ = v8::Persistent<T>::New(v8::Int32::New(i));
-  }
-
-  inline void Set(uint32_t i) {
-    TYPE_CHECK(T, v8::Integer);
-    value_->Dispose();
-    *value_ = v8::Persistent<T>::New(v8::Uint32::New(i));
-  }
-
-  // Fast JS primitive setters
-  inline void SetNull() {
-    TYPE_CHECK(T, v8::Primitive);
-    value_->Dispose();
-    *value_ = v8::Persistent<T>::New(v8::Null());
-  }
-
-  inline void SetUndefined() {
-    TYPE_CHECK(T, v8::Primitive);
-    value_->Dispose();
-    *value_ = v8::Persistent<T>::New(v8::Undefined());
-  }
-
-  inline void SetEmptyString() {
-    TYPE_CHECK(T, v8::String);
-    value_->Dispose();
-    *value_ = v8::Persistent<T>::New(v8::String::Empty());
-  }
-
-  // Convenience getter for isolate
-  inline v8::Isolate *GetIsolate() const {
-    return isolate_;
-  }
-
-  // Pointer setter: Uncompilable to prevent inadvertent misuse.
-  template<typename S>
-  inline void Set(S *whatever) { TYPE_CHECK(S*, v8::Primitive); }
-};
-
-template<typename T>
-class FunctionCallbackInfo {
-  const v8::Arguments &args_;
-  v8::Local<v8::Value> data_;
-  ReturnValue<T> return_value_;
-  v8::Persistent<T> retval_;
-
- public:
-  explicit inline FunctionCallbackInfo(
-      const v8::Arguments &args
-    , v8::Local<v8::Value> data) :
-          args_(args)
-        , data_(data)
-        , return_value_(args.GetIsolate(), &retval_)
-        , retval_(v8::Persistent<T>::New(v8::Undefined())) {}
-
-  inline ~FunctionCallbackInfo() {
-    retval_.Dispose();
-    retval_.Clear();
-  }
-
-  inline ReturnValue<T> GetReturnValue() const {
-    return ReturnValue<T>(return_value_);
-  }
-
-  inline v8::Local<v8::Function> Callee() const { return args_.Callee(); }
-  inline v8::Local<v8::Value> Data() const { return data_; }
-  inline v8::Local<v8::Object> Holder() const { return args_.Holder(); }
-  inline bool IsConstructCall() const { return args_.IsConstructCall(); }
-  inline int Length() const { return args_.Length(); }
-  inline v8::Local<v8::Value> operator[](int i) const { return args_[i]; }
-  inline v8::Local<v8::Object> This() const { return args_.This(); }
-  inline v8::Isolate *GetIsolate() const { return args_.GetIsolate(); }
-
-
- protected:
-  static const int kHolderIndex = 0;
-  static const int kIsolateIndex = 1;
-  static const int kReturnValueDefaultValueIndex = 2;
-  static const int kReturnValueIndex = 3;
-  static const int kDataIndex = 4;
-  static const int kCalleeIndex = 5;
-  static const int kContextSaveIndex = 6;
-  static const int kArgsLength = 7;
-
- private:
-  NAN_DISALLOW_ASSIGN_COPY_MOVE(FunctionCallbackInfo)
-};
-
-template<typename T>
-class PropertyCallbackInfoBase {
-  const v8::AccessorInfo &info_;
-  const v8::Local<v8::Value> &data_;
-
- public:
-  explicit inline PropertyCallbackInfoBase(
-      const v8::AccessorInfo &info
-    , const v8::Local<v8::Value> &data) :
-          info_(info)
-        , data_(data) {}
-
-  inline v8::Isolate* GetIsolate() const { return info_.GetIsolate(); }
-  inline v8::Local<v8::Value> Data() const { return data_; }
-  inline v8::Local<v8::Object> This() const { return info_.This(); }
-  inline v8::Local<v8::Object> Holder() const { return info_.Holder(); }
-
- protected:
-  static const int kHolderIndex = 0;
-  static const int kIsolateIndex = 1;
-  static const int kReturnValueDefaultValueIndex = 2;
-  static const int kReturnValueIndex = 3;
-  static const int kDataIndex = 4;
-  static const int kThisIndex = 5;
-  static const int kArgsLength = 6;
-
- private:
-  NAN_DISALLOW_ASSIGN_COPY_MOVE(PropertyCallbackInfoBase)
-};
-
-template<typename T>
-class PropertyCallbackInfo : public PropertyCallbackInfoBase<T> {
-  ReturnValue<T> return_value_;
-  v8::Persistent<T> retval_;
-
- public:
-  explicit inline PropertyCallbackInfo(
-      const v8::AccessorInfo &info
-    , const v8::Local<v8::Value> &data) :
-          PropertyCallbackInfoBase<T>(info, data)
-        , return_value_(info.GetIsolate(), &retval_)
-        , retval_(v8::Persistent<T>::New(v8::Undefined())) {}
-
-  inline ~PropertyCallbackInfo() {
-    retval_.Dispose();
-    retval_.Clear();
-  }
-
-  inline ReturnValue<T> GetReturnValue() const { return return_value_; }
-};
-
-template<>
-class PropertyCallbackInfo<v8::Array> :
-    public PropertyCallbackInfoBase<v8::Array> {
-  ReturnValue<v8::Array> return_value_;
-  v8::Persistent<v8::Array> retval_;
-
- public:
-  explicit inline PropertyCallbackInfo(
-      const v8::AccessorInfo &info
-    , const v8::Local<v8::Value> &data) :
-          PropertyCallbackInfoBase<v8::Array>(info, data)
-        , return_value_(info.GetIsolate(), &retval_)
-        , retval_(v8::Persistent<v8::Array>::New(v8::Local<v8::Array>())) {}
-
-  inline ~PropertyCallbackInfo() {
-    retval_.Dispose();
-    retval_.Clear();
-  }
-
-  inline ReturnValue<v8::Array> GetReturnValue() const {
-    return return_value_;
-  }
-};
-
-template<>
-class PropertyCallbackInfo<v8::Boolean> :
-    public PropertyCallbackInfoBase<v8::Boolean> {
-  ReturnValue<v8::Boolean> return_value_;
-  v8::Persistent<v8::Boolean> retval_;
-
- public:
-  explicit inline PropertyCallbackInfo(
-      const v8::AccessorInfo &info
-    , const v8::Local<v8::Value> &data) :
-          PropertyCallbackInfoBase<v8::Boolean>(info, data)
-        , return_value_(info.GetIsolate(), &retval_)
-        , retval_(v8::Persistent<v8::Boolean>::New(v8::Local<v8::Boolean>())) {}
-
-  inline ~PropertyCallbackInfo() {
-    retval_.Dispose();
-    retval_.Clear();
-  }
-
-  inline ReturnValue<v8::Boolean> GetReturnValue() const {
-    return return_value_;
-  }
-};
-
-template<>
-class PropertyCallbackInfo<v8::Integer> :
-    public PropertyCallbackInfoBase<v8::Integer> {
-  ReturnValue<v8::Integer> return_value_;
-  v8::Persistent<v8::Integer> retval_;
-
- public:
-  explicit inline PropertyCallbackInfo(
-      const v8::AccessorInfo &info
-    , const v8::Local<v8::Value> &data) :
-          PropertyCallbackInfoBase<v8::Integer>(info, data)
-        , return_value_(info.GetIsolate(), &retval_)
-        , retval_(v8::Persistent<v8::Integer>::New(v8::Local<v8::Integer>())) {}
-
-  inline ~PropertyCallbackInfo() {
-    retval_.Dispose();
-    retval_.Clear();
-  }
-
-  inline ReturnValue<v8::Integer> GetReturnValue() const {
-    return return_value_;
-  }
-};
-
-namespace imp {
-template<typename T>
-class ReturnValueImp : public ReturnValue<T> {
- public:
-  explicit ReturnValueImp(ReturnValue<T> that) :
-      ReturnValue<T>(that) {}
-  NAN_INLINE v8::Handle<T> Value() {
-      return *ReturnValue<T>::value_;
-  }
-};
-
-static
-v8::Handle<v8::Value> FunctionCallbackWrapper(const v8::Arguments &args) {
-  v8::Local<v8::Object> obj = args.Data().As<v8::Object>();
-  FunctionCallback callback = reinterpret_cast<FunctionCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kFunctionIndex).As<v8::External>()->Value()));
-  FunctionCallbackInfo<v8::Value>
-      cbinfo(args, obj->GetInternalField(kDataIndex));
-  callback(cbinfo);
-  return ReturnValueImp<v8::Value>(cbinfo.GetReturnValue()).Value();
-}
-
-typedef v8::Handle<v8::Value> (*NativeFunction)(const v8::Arguments &);
-
-static
-v8::Handle<v8::Value> GetterCallbackWrapper(
-    v8::Local<v8::String> property, const v8::AccessorInfo &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<v8::Value>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  GetterCallback callback = reinterpret_cast<GetterCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kGetterIndex).As<v8::External>()->Value()));
-  callback(property, cbinfo);
-  return ReturnValueImp<v8::Value>(cbinfo.GetReturnValue()).Value();
-}
-
-typedef v8::Handle<v8::Value> (*NativeGetter)
-    (v8::Local<v8::String>, const v8::AccessorInfo &);
-
-static
-void SetterCallbackWrapper(
-    v8::Local<v8::String> property
-  , v8::Local<v8::Value> value
-  , const v8::AccessorInfo &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<void>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  SetterCallback callback = reinterpret_cast<SetterCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kSetterIndex).As<v8::External>()->Value()));
-  callback(property, value, cbinfo);
-}
-
-typedef void (*NativeSetter)
-    (v8::Local<v8::String>, v8::Local<v8::Value>, const v8::AccessorInfo &);
-
-static
-v8::Handle<v8::Value> PropertyGetterCallbackWrapper(
-    v8::Local<v8::String> property, const v8::AccessorInfo &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<v8::Value>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  PropertyGetterCallback callback = reinterpret_cast<PropertyGetterCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kPropertyGetterIndex)
-              .As<v8::External>()->Value()));
-  callback(property, cbinfo);
-  return ReturnValueImp<v8::Value>(cbinfo.GetReturnValue()).Value();
-}
-
-typedef v8::Handle<v8::Value> (*NativePropertyGetter)
-    (v8::Local<v8::String>, const v8::AccessorInfo &);
-
-static
-v8::Handle<v8::Value> PropertySetterCallbackWrapper(
-    v8::Local<v8::String> property
-  , v8::Local<v8::Value> value
-  , const v8::AccessorInfo &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<v8::Value>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  PropertySetterCallback callback = reinterpret_cast<PropertySetterCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kPropertySetterIndex)
-              .As<v8::External>()->Value()));
-  callback(property, value, cbinfo);
-  return ReturnValueImp<v8::Value>(cbinfo.GetReturnValue()).Value();
-}
-
-typedef v8::Handle<v8::Value> (*NativePropertySetter)
-    (v8::Local<v8::String>, v8::Local<v8::Value>, const v8::AccessorInfo &);
-
-static
-v8::Handle<v8::Array> PropertyEnumeratorCallbackWrapper(
-    const v8::AccessorInfo &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<v8::Array>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  PropertyEnumeratorCallback callback =
-      reinterpret_cast<PropertyEnumeratorCallback>(reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kPropertyEnumeratorIndex)
-              .As<v8::External>()->Value()));
-  callback(cbinfo);
-  return ReturnValueImp<v8::Array>(cbinfo.GetReturnValue()).Value();
-}
-
-typedef v8::Handle<v8::Array> (*NativePropertyEnumerator)
-    (const v8::AccessorInfo &);
-
-static
-v8::Handle<v8::Boolean> PropertyDeleterCallbackWrapper(
-    v8::Local<v8::String> property
-  , const v8::AccessorInfo &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<v8::Boolean>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  PropertyDeleterCallback callback = reinterpret_cast<PropertyDeleterCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kPropertyDeleterIndex)
-              .As<v8::External>()->Value()));
-  callback(property, cbinfo);
-  return ReturnValueImp<v8::Boolean>(cbinfo.GetReturnValue()).Value();
-}
-
-typedef v8::Handle<v8::Boolean> (NativePropertyDeleter)
-    (v8::Local<v8::String>, const v8::AccessorInfo &);
-
-static
-v8::Handle<v8::Integer> PropertyQueryCallbackWrapper(
-    v8::Local<v8::String> property, const v8::AccessorInfo &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<v8::Integer>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  PropertyQueryCallback callback = reinterpret_cast<PropertyQueryCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kPropertyQueryIndex)
-              .As<v8::External>()->Value()));
-  callback(property, cbinfo);
-  return ReturnValueImp<v8::Integer>(cbinfo.GetReturnValue()).Value();
-}
-
-typedef v8::Handle<v8::Integer> (*NativePropertyQuery)
-    (v8::Local<v8::String>, const v8::AccessorInfo &);
-
-static
-v8::Handle<v8::Value> IndexGetterCallbackWrapper(
-    uint32_t index, const v8::AccessorInfo &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<v8::Value>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  IndexGetterCallback callback = reinterpret_cast<IndexGetterCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kIndexPropertyGetterIndex)
-              .As<v8::External>()->Value()));
-  callback(index, cbinfo);
-  return ReturnValueImp<v8::Value>(cbinfo.GetReturnValue()).Value();
-}
-
-typedef v8::Handle<v8::Value> (*NativeIndexGetter)
-    (uint32_t, const v8::AccessorInfo &);
-
-static
-v8::Handle<v8::Value> IndexSetterCallbackWrapper(
-    uint32_t index
-  , v8::Local<v8::Value> value
-  , const v8::AccessorInfo &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<v8::Value>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  IndexSetterCallback callback = reinterpret_cast<IndexSetterCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kIndexPropertySetterIndex)
-              .As<v8::External>()->Value()));
-  callback(index, value, cbinfo);
-  return ReturnValueImp<v8::Value>(cbinfo.GetReturnValue()).Value();
-}
-
-typedef v8::Handle<v8::Value> (*NativeIndexSetter)
-    (uint32_t, v8::Local<v8::Value>, const v8::AccessorInfo &);
-
-static
-v8::Handle<v8::Array> IndexEnumeratorCallbackWrapper(
-    const v8::AccessorInfo &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<v8::Array>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  IndexEnumeratorCallback callback = reinterpret_cast<IndexEnumeratorCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kIndexPropertyEnumeratorIndex)
-              .As<v8::External>()->Value()));
-  callback(cbinfo);
-  return ReturnValueImp<v8::Array>(cbinfo.GetReturnValue()).Value();
-}
-
-typedef v8::Handle<v8::Array> (*NativeIndexEnumerator)
-    (const v8::AccessorInfo &);
-
-static
-v8::Handle<v8::Boolean> IndexDeleterCallbackWrapper(
-    uint32_t index, const v8::AccessorInfo &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<v8::Boolean>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  IndexDeleterCallback callback = reinterpret_cast<IndexDeleterCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kIndexPropertyDeleterIndex)
-              .As<v8::External>()->Value()));
-  callback(index, cbinfo);
-  return ReturnValueImp<v8::Boolean>(cbinfo.GetReturnValue()).Value();
-}
-
-typedef v8::Handle<v8::Boolean> (*NativeIndexDeleter)
-    (uint32_t, const v8::AccessorInfo &);
-
-static
-v8::Handle<v8::Integer> IndexQueryCallbackWrapper(
-    uint32_t index, const v8::AccessorInfo &info) {
-  v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
-  PropertyCallbackInfo<v8::Integer>
-      cbinfo(info, obj->GetInternalField(kDataIndex));
-  IndexQueryCallback callback = reinterpret_cast<IndexQueryCallback>(
-      reinterpret_cast<intptr_t>(
-          obj->GetInternalField(kIndexPropertyQueryIndex)
-              .As<v8::External>()->Value()));
-  callback(index, cbinfo);
-  return ReturnValueImp<v8::Integer>(cbinfo.GetReturnValue()).Value();
-}
-
-typedef v8::Handle<v8::Integer> (*NativeIndexQuery)
-    (uint32_t, const v8::AccessorInfo &);
-}  // end of namespace imp
-
-#endif  // NAN_CALLBACKS_PRE_12_INL_H_

http://git-wip-us.apache.org/repos/asf/couchdb-nmo/blob/6436833c/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_converters.h
----------------------------------------------------------------------
diff --git a/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_converters.h b/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_converters.h
deleted file mode 100644
index 6f08e68..0000000
--- a/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_converters.h
+++ /dev/null
@@ -1,64 +0,0 @@
-/*********************************************************************
- * NAN - Native Abstractions for Node.js
- *
- * Copyright (c) 2015 NAN contributors
- *
- * MIT License <https://github.com/nodejs/nan/blob/master/LICENSE.md>
- ********************************************************************/
-
-#ifndef NAN_CONVERTERS_H_
-#define NAN_CONVERTERS_H_
-
-namespace imp {
-template<typename T> struct ToFactoryBase {
-  typedef MaybeLocal<T> return_t;
-};
-template<typename T> struct ValueFactoryBase { typedef Maybe<T> return_t; };
-
-template<typename T> struct ToFactory;
-
-#define X(TYPE)                                                                \
-    template<>                                                                 \
-    struct ToFactory<v8::TYPE> : ToFactoryBase<v8::TYPE> {                     \
-      static inline return_t convert(v8::Local<v8::Value> val);                \
-    };
-
-X(Boolean)
-X(Number)
-X(String)
-X(Object)
-X(Integer)
-X(Uint32)
-X(Int32)
-
-#undef X
-
-#define X(TYPE)                                                                \
-    template<>                                                                 \
-    struct ToFactory<TYPE> : ValueFactoryBase<TYPE> {                          \
-      static inline return_t convert(v8::Local<v8::Value> val);                \
-    };
-
-X(bool)
-X(double)
-X(int64_t)
-X(uint32_t)
-X(int32_t)
-
-#undef X
-}  // end of namespace imp
-
-template<typename T>
-NAN_INLINE
-typename imp::ToFactory<T>::return_t To(v8::Local<v8::Value> val) {
-  return imp::ToFactory<T>::convert(val);
-}
-
-#if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION > 4 ||                      \
-  (V8_MAJOR_VERSION == 4 && defined(V8_MINOR_VERSION) && V8_MINOR_VERSION >= 3))
-# include "nan_converters_43_inl.h"
-#else
-# include "nan_converters_pre_43_inl.h"
-#endif
-
-#endif  // NAN_CONVERTERS_H_

http://git-wip-us.apache.org/repos/asf/couchdb-nmo/blob/6436833c/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_converters_43_inl.h
----------------------------------------------------------------------
diff --git a/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_converters_43_inl.h b/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_converters_43_inl.h
deleted file mode 100644
index 596b8f1..0000000
--- a/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_converters_43_inl.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*********************************************************************
- * NAN - Native Abstractions for Node.js
- *
- * Copyright (c) 2015 NAN contributors
- *
- * MIT License <https://github.com/nodejs/nan/blob/master/LICENSE.md>
- ********************************************************************/
-
-#ifndef NAN_CONVERTERS_43_INL_H_
-#define NAN_CONVERTERS_43_INL_H_
-
-#define X(TYPE)                                                                \
-imp::ToFactory<v8::TYPE>::return_t                                             \
-imp::ToFactory<v8::TYPE>::convert(v8::Local<v8::Value> val) {                  \
-  return val->To ## TYPE(GetCurrentContext());                                 \
-}
-
-X(Boolean)
-X(Number)
-X(String)
-X(Object)
-X(Integer)
-X(Uint32)
-X(Int32)
-
-#undef X
-
-#define X(TYPE, NAME)                                                          \
-imp::ToFactory<TYPE>::return_t                                                 \
-imp::ToFactory<TYPE>::convert(v8::Local<v8::Value> val) {                      \
-  return val->NAME ## Value(GetCurrentContext());                              \
-}
-
-X(bool, Boolean)
-X(double, Number)
-X(int64_t, Integer)
-X(uint32_t, Uint32)
-X(int32_t, Int32)
-
-#undef X
-
-#endif  // NAN_CONVERTERS_43_INL_H_

http://git-wip-us.apache.org/repos/asf/couchdb-nmo/blob/6436833c/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_converters_pre_43_inl.h
----------------------------------------------------------------------
diff --git a/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_converters_pre_43_inl.h b/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_converters_pre_43_inl.h
deleted file mode 100644
index 4fe2eb9..0000000
--- a/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_converters_pre_43_inl.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*********************************************************************
- * NAN - Native Abstractions for Node.js
- *
- * Copyright (c) 2015 NAN contributors
- *
- * MIT License <https://github.com/nodejs/nan/blob/master/LICENSE.md>
- ********************************************************************/
-
-#ifndef NAN_CONVERTERS_PRE_43_INL_H_
-#define NAN_CONVERTERS_PRE_43_INL_H_
-
-#define X(TYPE)                                                                \
-imp::ToFactory<v8::TYPE>::return_t                                             \
-imp::ToFactory<v8::TYPE>::convert(v8::Local<v8::Value> val) {                  \
-  return MaybeLocal<v8::TYPE>(val->To ## TYPE());                              \
-}
-
-X(Boolean)
-X(Number)
-X(String)
-X(Object)
-X(Integer)
-X(Uint32)
-X(Int32)
-
-#undef X
-
-#define X(TYPE, NAME)                                                          \
-imp::ToFactory<TYPE>::return_t                                                 \
-imp::ToFactory<TYPE>::convert(v8::Local<v8::Value> val) {                      \
-  return Just<TYPE>(val->NAME ##Value());                                      \
-}
-
-X(bool, Boolean)
-X(double, Number)
-X(int64_t, Integer)
-X(uint32_t, Uint32)
-X(int32_t, Int32)
-
-#undef X
-
-#endif  // NAN_CONVERTERS_PRE_43_INL_H_

http://git-wip-us.apache.org/repos/asf/couchdb-nmo/blob/6436833c/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_implementation_12_inl.h
----------------------------------------------------------------------
diff --git a/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_implementation_12_inl.h b/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_implementation_12_inl.h
deleted file mode 100644
index f71d7fe..0000000
--- a/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_implementation_12_inl.h
+++ /dev/null
@@ -1,399 +0,0 @@
-/*********************************************************************
- * NAN - Native Abstractions for Node.js
- *
- * Copyright (c) 2015 NAN contributors
- *
- * MIT License <https://github.com/nodejs/nan/blob/master/LICENSE.md>
- ********************************************************************/
-
-#ifndef NAN_IMPLEMENTATION_12_INL_H_
-#define NAN_IMPLEMENTATION_12_INL_H_
-//==============================================================================
-// node v0.11 implementation
-//==============================================================================
-
-namespace imp {
-
-//=== Array ====================================================================
-
-Factory<v8::Array>::return_t
-Factory<v8::Array>::New() {
-  return v8::Array::New(v8::Isolate::GetCurrent());
-}
-
-Factory<v8::Array>::return_t
-Factory<v8::Array>::New(int length) {
-  return v8::Array::New(v8::Isolate::GetCurrent(), length);
-}
-
-//=== Boolean ==================================================================
-
-Factory<v8::Boolean>::return_t
-Factory<v8::Boolean>::New(bool value) {
-  return v8::Boolean::New(v8::Isolate::GetCurrent(), value);
-}
-
-//=== Boolean Object ===========================================================
-
-Factory<v8::BooleanObject>::return_t
-Factory<v8::BooleanObject>::New(bool value) {
-  return v8::BooleanObject::New(value).As<v8::BooleanObject>();
-}
-
-//=== Context ==================================================================
-
-Factory<v8::Context>::return_t
-Factory<v8::Context>::New( v8::ExtensionConfiguration* extensions
-                         , v8::Local<v8::ObjectTemplate> tmpl
-                         , v8::Local<v8::Value> obj) {
-  return v8::Context::New(v8::Isolate::GetCurrent(), extensions, tmpl, obj);
-}
-
-//=== Date =====================================================================
-
-#if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION > 4 ||                      \
-  (V8_MAJOR_VERSION == 4 && defined(V8_MINOR_VERSION) && V8_MINOR_VERSION >= 3))
-Factory<v8::Date>::return_t
-Factory<v8::Date>::New(double value) {
-  v8::Local<v8::Date> ret;
-  if (v8::Date::New(GetCurrentContext(), value).
-      ToLocal(reinterpret_cast<v8::Local<v8::Value>*>(&ret))) {
-    return v8::MaybeLocal<v8::Date>(ret);
-  } else {
-    return v8::MaybeLocal<v8::Date>(ret);
-  }
-}
-#else
-Factory<v8::Date>::return_t
-Factory<v8::Date>::New(double value) {
-  return Factory<v8::Date>::return_t(
-      v8::Date::New(v8::Isolate::GetCurrent(), value).As<v8::Date>());
-}
-#endif
-
-//=== External =================================================================
-
-Factory<v8::External>::return_t
-Factory<v8::External>::New(void * value) {
-  return v8::External::New(v8::Isolate::GetCurrent(), value);
-}
-
-//=== Function =================================================================
-
-Factory<v8::Function>::return_t
-Factory<v8::Function>::New( FunctionCallback callback
-                          , v8::Local<v8::Value> data) {
-  v8::Isolate *isolate = v8::Isolate::GetCurrent();
-  v8::EscapableHandleScope scope(isolate);
-  v8::Local<v8::ObjectTemplate> tpl = v8::ObjectTemplate::New(isolate);
-  tpl->SetInternalFieldCount(imp::kFunctionFieldCount);
-  v8::Local<v8::Object> obj = NewInstance(tpl).ToLocalChecked();
-
-  obj->SetInternalField(
-      imp::kFunctionIndex
-    , v8::External::New(isolate, reinterpret_cast<void *>(callback)));
-
-  v8::Local<v8::Value> val = v8::Local<v8::Value>::New(isolate, data);
-
-  if (!val.IsEmpty()) {
-    obj->SetInternalField(imp::kDataIndex, val);
-  }
-
-  return scope.Escape(v8::Function::New( isolate
-                          , imp::FunctionCallbackWrapper
-                          , obj));
-}
-
-//=== Function Template ========================================================
-
-Factory<v8::FunctionTemplate>::return_t
-Factory<v8::FunctionTemplate>::New( FunctionCallback callback
-                                  , v8::Local<v8::Value> data
-                                  , v8::Local<v8::Signature> signature) {
-  v8::Isolate *isolate = v8::Isolate::GetCurrent();
-  if (callback) {
-    v8::EscapableHandleScope scope(isolate);
-    v8::Local<v8::ObjectTemplate> tpl = v8::ObjectTemplate::New(isolate);
-    tpl->SetInternalFieldCount(imp::kFunctionFieldCount);
-    v8::Local<v8::Object> obj = NewInstance(tpl).ToLocalChecked();
-
-    obj->SetInternalField(
-        imp::kFunctionIndex
-      , v8::External::New(isolate, reinterpret_cast<void *>(callback)));
-    v8::Local<v8::Value> val = v8::Local<v8::Value>::New(isolate, data);
-
-    if (!val.IsEmpty()) {
-      obj->SetInternalField(imp::kDataIndex, val);
-    }
-
-    return scope.Escape(v8::FunctionTemplate::New( isolate
-                                    , imp::FunctionCallbackWrapper
-                                    , obj
-                                    , signature));
-  } else {
-    return v8::FunctionTemplate::New(isolate, 0, data, signature);
-  }
-}
-
-//=== Number ===================================================================
-
-Factory<v8::Number>::return_t
-Factory<v8::Number>::New(double value) {
-  return v8::Number::New(v8::Isolate::GetCurrent(), value);
-}
-
-//=== Number Object ============================================================
-
-Factory<v8::NumberObject>::return_t
-Factory<v8::NumberObject>::New(double value) {
-  return v8::NumberObject::New( v8::Isolate::GetCurrent()
-                              , value).As<v8::NumberObject>();
-}
-
-//=== Integer, Int32 and Uint32 ================================================
-
-template <typename T>
-typename IntegerFactory<T>::return_t
-IntegerFactory<T>::New(int32_t value) {
-  return To<T>(T::New(v8::Isolate::GetCurrent(), value));
-}
-
-template <typename T>
-typename IntegerFactory<T>::return_t
-IntegerFactory<T>::New(uint32_t value) {
-  return To<T>(T::NewFromUnsigned(v8::Isolate::GetCurrent(), value));
-}
-
-Factory<v8::Uint32>::return_t
-Factory<v8::Uint32>::New(int32_t value) {
-  return To<v8::Uint32>(
-      v8::Uint32::NewFromUnsigned(v8::Isolate::GetCurrent(), value));
-}
-
-Factory<v8::Uint32>::return_t
-Factory<v8::Uint32>::New(uint32_t value) {
-  return To<v8::Uint32>(
-      v8::Uint32::NewFromUnsigned(v8::Isolate::GetCurrent(), value));
-}
-
-//=== Object ===================================================================
-
-Factory<v8::Object>::return_t
-Factory<v8::Object>::New() {
-  return v8::Object::New(v8::Isolate::GetCurrent());
-}
-
-//=== Object Template ==========================================================
-
-Factory<v8::ObjectTemplate>::return_t
-Factory<v8::ObjectTemplate>::New() {
-  return v8::ObjectTemplate::New(v8::Isolate::GetCurrent());
-}
-
-//=== RegExp ===================================================================
-
-#if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION > 4 ||                      \
-  (V8_MAJOR_VERSION == 4 && defined(V8_MINOR_VERSION) && V8_MINOR_VERSION >= 3))
-Factory<v8::RegExp>::return_t
-Factory<v8::RegExp>::New(
-    v8::Local<v8::String> pattern
-  , v8::RegExp::Flags flags) {
-  return v8::RegExp::New(GetCurrentContext(), pattern, flags);
-}
-#else
-Factory<v8::RegExp>::return_t
-Factory<v8::RegExp>::New(
-    v8::Local<v8::String> pattern
-  , v8::RegExp::Flags flags) {
-  return Factory<v8::RegExp>::return_t(v8::RegExp::New(pattern, flags));
-}
-#endif
-
-//=== Script ===================================================================
-
-#if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION > 4 ||                      \
-  (V8_MAJOR_VERSION == 4 && defined(V8_MINOR_VERSION) && V8_MINOR_VERSION >= 3))
-Factory<v8::Script>::return_t
-Factory<v8::Script>::New( v8::Local<v8::String> source) {
-  v8::ScriptCompiler::Source src(source);
-  return v8::ScriptCompiler::Compile(GetCurrentContext(), &src);
-}
-
-Factory<v8::Script>::return_t
-Factory<v8::Script>::New( v8::Local<v8::String> source
-                        , v8::ScriptOrigin const& origin) {
-  v8::ScriptCompiler::Source src(source, origin);
-  return v8::ScriptCompiler::Compile(GetCurrentContext(), &src);
-}
-#else
-Factory<v8::Script>::return_t
-Factory<v8::Script>::New( v8::Local<v8::String> source) {
-  v8::ScriptCompiler::Source src(source);
-  return Factory<v8::Script>::return_t(
-      v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src));
-}
-
-Factory<v8::Script>::return_t
-Factory<v8::Script>::New( v8::Local<v8::String> source
-                        , v8::ScriptOrigin const& origin) {
-  v8::ScriptCompiler::Source src(source, origin);
-  return Factory<v8::Script>::return_t(
-      v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src));
-}
-#endif
-
-//=== Signature ================================================================
-
-Factory<v8::Signature>::return_t
-Factory<v8::Signature>::New(Factory<v8::Signature>::FTH receiver) {
-  return v8::Signature::New(v8::Isolate::GetCurrent(), receiver);
-}
-
-//=== String ===================================================================
-
-Factory<v8::String>::return_t
-Factory<v8::String>::New() {
-  return Factory<v8::String>::return_t(
-      v8::String::Empty(v8::Isolate::GetCurrent()));
-}
-
-#if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION > 4 ||                      \
-  (V8_MAJOR_VERSION == 4 && defined(V8_MINOR_VERSION) && V8_MINOR_VERSION >= 3))
-Factory<v8::String>::return_t
-Factory<v8::String>::New(const char * value, int length) {
-  return v8::String::NewFromUtf8(
-      v8::Isolate::GetCurrent(), value, v8::NewStringType::kNormal, length);
-}
-
-Factory<v8::String>::return_t
-Factory<v8::String>::New(std::string const& value) {
-  assert(value.size() <= INT_MAX && "string too long");
-  return v8::String::NewFromUtf8(v8::Isolate::GetCurrent(),
-      value.data(), v8::NewStringType::kNormal, static_cast<int>(value.size()));
-}
-
-Factory<v8::String>::return_t
-Factory<v8::String>::New(const uint16_t * value, int length) {
-  return v8::String::NewFromTwoByte(v8::Isolate::GetCurrent(), value,
-        v8::NewStringType::kNormal, length);
-}
-
-Factory<v8::String>::return_t
-Factory<v8::String>::New(v8::String::ExternalStringResource * value) {
-  return v8::String::NewExternalTwoByte(v8::Isolate::GetCurrent(), value);
-}
-
-Factory<v8::String>::return_t
-Factory<v8::String>::New(ExternalOneByteStringResource * value) {
-  return v8::String::NewExternalOneByte(v8::Isolate::GetCurrent(), value);
-}
-#else
-Factory<v8::String>::return_t
-Factory<v8::String>::New(const char * value, int length) {
-  return Factory<v8::String>::return_t(
-      v8::String::NewFromUtf8(
-          v8::Isolate::GetCurrent()
-        , value
-        , v8::String::kNormalString
-        , length));
-}
-
-Factory<v8::String>::return_t
-Factory<v8::String>::New(
-    std::string const& value) /* NOLINT(build/include_what_you_use) */ {
-  assert(value.size() <= INT_MAX && "string too long");
-  return Factory<v8::String>::return_t(
-      v8::String::NewFromUtf8(
-          v8::Isolate::GetCurrent()
-        , value.data()
-        , v8::String::kNormalString
-        , static_cast<int>(value.size())));
-}
-
-Factory<v8::String>::return_t
-Factory<v8::String>::New(const uint16_t * value, int length) {
-  return Factory<v8::String>::return_t(
-      v8::String::NewFromTwoByte(
-          v8::Isolate::GetCurrent()
-        , value
-        , v8::String::kNormalString
-        , length));
-}
-
-Factory<v8::String>::return_t
-Factory<v8::String>::New(v8::String::ExternalStringResource * value) {
-  return Factory<v8::String>::return_t(
-      v8::String::NewExternal(v8::Isolate::GetCurrent(), value));
-}
-
-Factory<v8::String>::return_t
-Factory<v8::String>::New(ExternalOneByteStringResource * value) {
-  return Factory<v8::String>::return_t(
-      v8::String::NewExternal(v8::Isolate::GetCurrent(), value));
-}
-#endif
-
-//=== String Object ============================================================
-
-Factory<v8::StringObject>::return_t
-Factory<v8::StringObject>::New(v8::Local<v8::String> value) {
-  return v8::StringObject::New(value).As<v8::StringObject>();
-}
-
-//=== Unbound Script ===========================================================
-
-#if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION > 4 ||                      \
-  (V8_MAJOR_VERSION == 4 && defined(V8_MINOR_VERSION) && V8_MINOR_VERSION >= 3))
-Factory<v8::UnboundScript>::return_t
-Factory<v8::UnboundScript>::New(v8::Local<v8::String> source) {
-  v8::ScriptCompiler::Source src(source);
-  return v8::ScriptCompiler::CompileUnboundScript(
-      v8::Isolate::GetCurrent(), &src);
-}
-
-Factory<v8::UnboundScript>::return_t
-Factory<v8::UnboundScript>::New( v8::Local<v8::String> source
-                               , v8::ScriptOrigin const& origin) {
-  v8::ScriptCompiler::Source src(source, origin);
-  return v8::ScriptCompiler::CompileUnboundScript(
-      v8::Isolate::GetCurrent(), &src);
-}
-#else
-Factory<v8::UnboundScript>::return_t
-Factory<v8::UnboundScript>::New(v8::Local<v8::String> source) {
-  v8::ScriptCompiler::Source src(source);
-  return Factory<v8::UnboundScript>::return_t(
-      v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src));
-}
-
-Factory<v8::UnboundScript>::return_t
-Factory<v8::UnboundScript>::New( v8::Local<v8::String> source
-                               , v8::ScriptOrigin const& origin) {
-  v8::ScriptCompiler::Source src(source, origin);
-  return Factory<v8::UnboundScript>::return_t(
-      v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src));
-}
-#endif
-
-}  // end of namespace imp
-
-//=== Presistents and Handles ==================================================
-
-#if NODE_MODULE_VERSION < IOJS_3_0_MODULE_VERSION
-template <typename T>
-inline v8::Local<T> New(v8::Handle<T> h) {
-  return v8::Local<T>::New(v8::Isolate::GetCurrent(), h);
-}
-#endif
-
-template <typename T, typename M>
-inline v8::Local<T> New(v8::Persistent<T, M> const& p) {
-  return v8::Local<T>::New(v8::Isolate::GetCurrent(), p);
-}
-
-template <typename T, typename M>
-inline v8::Local<T> New(Persistent<T, M> const& p) {
-  return v8::Local<T>::New(v8::Isolate::GetCurrent(), p);
-}
-
-#endif  // NAN_IMPLEMENTATION_12_INL_H_

http://git-wip-us.apache.org/repos/asf/couchdb-nmo/blob/6436833c/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_implementation_pre_12_inl.h
----------------------------------------------------------------------
diff --git a/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_implementation_pre_12_inl.h b/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_implementation_pre_12_inl.h
deleted file mode 100644
index b666150..0000000
--- a/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_implementation_pre_12_inl.h
+++ /dev/null
@@ -1,259 +0,0 @@
-/*********************************************************************
- * NAN - Native Abstractions for Node.js
- *
- * Copyright (c) 2015 NAN contributors
- *
- * MIT License <https://github.com/nodejs/nan/blob/master/LICENSE.md>
- ********************************************************************/
-
-#ifndef NAN_IMPLEMENTATION_PRE_12_INL_H_
-#define NAN_IMPLEMENTATION_PRE_12_INL_H_
-
-//==============================================================================
-// node v0.10 implementation
-//==============================================================================
-
-namespace imp {
-
-//=== Array ====================================================================
-
-Factory<v8::Array>::return_t
-Factory<v8::Array>::New() {
-  return v8::Array::New();
-}
-
-Factory<v8::Array>::return_t
-Factory<v8::Array>::New(int length) {
-  return v8::Array::New(length);
-}
-
-//=== Boolean ==================================================================
-
-Factory<v8::Boolean>::return_t
-Factory<v8::Boolean>::New(bool value) {
-  return v8::Boolean::New(value)->ToBoolean();
-}
-
-//=== Boolean Object ===========================================================
-
-Factory<v8::BooleanObject>::return_t
-Factory<v8::BooleanObject>::New(bool value) {
-  return v8::BooleanObject::New(value).As<v8::BooleanObject>();
-}
-
-//=== Context ==================================================================
-
-Factory<v8::Context>::return_t
-Factory<v8::Context>::New( v8::ExtensionConfiguration* extensions
-                         , v8::Local<v8::ObjectTemplate> tmpl
-                         , v8::Local<v8::Value> obj) {
-  v8::Persistent<v8::Context> ctx = v8::Context::New(extensions, tmpl, obj);
-  v8::Local<v8::Context> lctx = v8::Local<v8::Context>::New(ctx);
-  ctx.Dispose();
-  return lctx;
-}
-
-//=== Date =====================================================================
-
-Factory<v8::Date>::return_t
-Factory<v8::Date>::New(double value) {
-  return Factory<v8::Date>::return_t(v8::Date::New(value).As<v8::Date>());
-}
-
-//=== External =================================================================
-
-Factory<v8::External>::return_t
-Factory<v8::External>::New(void * value) {
-  return v8::External::New(value);
-}
-
-//=== Function =================================================================
-
-Factory<v8::Function>::return_t
-Factory<v8::Function>::New( FunctionCallback callback
-                          , v8::Local<v8::Value> data) {
-  return Factory<v8::FunctionTemplate>::New( callback
-                                           , data
-                                           , v8::Local<v8::Signature>()
-                                           )->GetFunction();
-}
-
-
-//=== FunctionTemplate =========================================================
-
-Factory<v8::FunctionTemplate>::return_t
-Factory<v8::FunctionTemplate>::New( FunctionCallback callback
-                                  , v8::Local<v8::Value> data
-                                  , v8::Local<v8::Signature> signature) {
-  if (callback) {
-    v8::HandleScope scope;
-
-    v8::Local<v8::ObjectTemplate> tpl = v8::ObjectTemplate::New();
-    tpl->SetInternalFieldCount(imp::kFunctionFieldCount);
-    v8::Local<v8::Object> obj = tpl->NewInstance();
-
-    obj->SetInternalField(
-        imp::kFunctionIndex
-      , v8::External::New(reinterpret_cast<void *>(callback)));
-
-    v8::Local<v8::Value> val = v8::Local<v8::Value>::New(data);
-
-    if (!val.IsEmpty()) {
-      obj->SetInternalField(imp::kDataIndex, val);
-    }
-
-    // Note(agnat): Emulate length argument here. Unfortunately, I couldn't find
-    // a way. Have at it though...
-    return scope.Close(
-        v8::FunctionTemplate::New(imp::FunctionCallbackWrapper
-                                 , obj
-                                 , signature));
-  } else {
-    return v8::FunctionTemplate::New(0, data, signature);
-  }
-}
-
-//=== Number ===================================================================
-
-Factory<v8::Number>::return_t
-Factory<v8::Number>::New(double value) {
-  return v8::Number::New(value);
-}
-
-//=== Number Object ============================================================
-
-Factory<v8::NumberObject>::return_t
-Factory<v8::NumberObject>::New(double value) {
-  return v8::NumberObject::New(value).As<v8::NumberObject>();
-}
-
-//=== Integer, Int32 and Uint32 ================================================
-
-template <typename T>
-typename IntegerFactory<T>::return_t
-IntegerFactory<T>::New(int32_t value) {
-  return To<T>(T::New(value));
-}
-
-template <typename T>
-typename IntegerFactory<T>::return_t
-IntegerFactory<T>::New(uint32_t value) {
-  return To<T>(T::NewFromUnsigned(value));
-}
-
-Factory<v8::Uint32>::return_t
-Factory<v8::Uint32>::New(int32_t value) {
-  return To<v8::Uint32>(v8::Uint32::NewFromUnsigned(value));
-}
-
-Factory<v8::Uint32>::return_t
-Factory<v8::Uint32>::New(uint32_t value) {
-  return To<v8::Uint32>(v8::Uint32::NewFromUnsigned(value));
-}
-
-
-//=== Object ===================================================================
-
-Factory<v8::Object>::return_t
-Factory<v8::Object>::New() {
-  return v8::Object::New();
-}
-
-//=== Object Template ==========================================================
-
-Factory<v8::ObjectTemplate>::return_t
-Factory<v8::ObjectTemplate>::New() {
-  return v8::ObjectTemplate::New();
-}
-
-//=== RegExp ===================================================================
-
-Factory<v8::RegExp>::return_t
-Factory<v8::RegExp>::New(
-    v8::Local<v8::String> pattern
-  , v8::RegExp::Flags flags) {
-  return Factory<v8::RegExp>::return_t(v8::RegExp::New(pattern, flags));
-}
-
-//=== Script ===================================================================
-
-Factory<v8::Script>::return_t
-Factory<v8::Script>::New( v8::Local<v8::String> source) {
-  return Factory<v8::Script>::return_t(v8::Script::New(source));
-}
-Factory<v8::Script>::return_t
-Factory<v8::Script>::New( v8::Local<v8::String> source
-                        , v8::ScriptOrigin const& origin) {
-  return Factory<v8::Script>::return_t(
-      v8::Script::New(source, const_cast<v8::ScriptOrigin*>(&origin)));
-}
-
-//=== Signature ================================================================
-
-Factory<v8::Signature>::return_t
-Factory<v8::Signature>::New(Factory<v8::Signature>::FTH receiver) {
-  return v8::Signature::New(receiver);
-}
-
-//=== String ===================================================================
-
-Factory<v8::String>::return_t
-Factory<v8::String>::New() {
-  return Factory<v8::String>::return_t(v8::String::Empty());
-}
-
-Factory<v8::String>::return_t
-Factory<v8::String>::New(const char * value, int length) {
-  return Factory<v8::String>::return_t(v8::String::New(value, length));
-}
-
-Factory<v8::String>::return_t
-Factory<v8::String>::New(
-    std::string const& value) /* NOLINT(build/include_what_you_use) */ {
-  assert(value.size() <= INT_MAX && "string too long");
-  return Factory<v8::String>::return_t(
-      v8::String::New( value.data(), static_cast<int>(value.size())));
-}
-
-Factory<v8::String>::return_t
-Factory<v8::String>::New(const uint16_t * value, int length) {
-  return Factory<v8::String>::return_t(v8::String::New(value, length));
-}
-
-Factory<v8::String>::return_t
-Factory<v8::String>::New(v8::String::ExternalStringResource * value) {
-  return Factory<v8::String>::return_t(v8::String::NewExternal(value));
-}
-
-Factory<v8::String>::return_t
-Factory<v8::String>::New(v8::String::ExternalAsciiStringResource * value) {
-  return Factory<v8::String>::return_t(v8::String::NewExternal(value));
-}
-
-//=== String Object ============================================================
-
-Factory<v8::StringObject>::return_t
-Factory<v8::StringObject>::New(v8::Local<v8::String> value) {
-  return v8::StringObject::New(value).As<v8::StringObject>();
-}
-
-}  // end of namespace imp
-
-//=== Presistents and Handles ==================================================
-
-template <typename T>
-inline v8::Local<T> New(v8::Handle<T> h) {
-  return v8::Local<T>::New(h);
-}
-
-template <typename T>
-inline v8::Local<T> New(v8::Persistent<T> const& p) {
-  return v8::Local<T>::New(p);
-}
-
-template <typename T, typename M>
-inline v8::Local<T> New(Persistent<T, M> const& p) {
-  return v8::Local<T>::New(p.persistent);
-}
-
-#endif  // NAN_IMPLEMENTATION_PRE_12_INL_H_

http://git-wip-us.apache.org/repos/asf/couchdb-nmo/blob/6436833c/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_maybe_43_inl.h
----------------------------------------------------------------------
diff --git a/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_maybe_43_inl.h b/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_maybe_43_inl.h
deleted file mode 100644
index e06c8d2..0000000
--- a/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_maybe_43_inl.h
+++ /dev/null
@@ -1,224 +0,0 @@
-/*********************************************************************
- * NAN - Native Abstractions for Node.js
- *
- * Copyright (c) 2015 NAN contributors
- *
- * MIT License <https://github.com/nodejs/nan/blob/master/LICENSE.md>
- ********************************************************************/
-
-#ifndef NAN_MAYBE_43_INL_H_
-#define NAN_MAYBE_43_INL_H_
-
-template<typename T>
-using MaybeLocal = v8::MaybeLocal<T>;
-
-template<typename T>
-using Maybe = v8::Maybe<T>;
-
-template<typename T>
-NAN_INLINE Maybe<T> Nothing() {
-  return v8::Nothing<T>();
-}
-
-template<typename T>
-NAN_INLINE Maybe<T> Just(const T& t) {
-  return v8::Just<T>(t);
-}
-
-v8::Local<v8::Context> GetCurrentContext();
-
-NAN_INLINE
-MaybeLocal<v8::String> ToDetailString(v8::Local<v8::Value> val) {
-  return val->ToDetailString(GetCurrentContext());
-}
-
-NAN_INLINE
-MaybeLocal<v8::Uint32> ToArrayIndex(v8::Local<v8::Value> val) {
-  return val->ToArrayIndex(GetCurrentContext());
-}
-
-NAN_INLINE
-Maybe<bool> Equals(v8::Local<v8::Value> a, v8::Local<v8::Value>(b)) {
-  return a->Equals(GetCurrentContext(), b);
-}
-
-NAN_INLINE
-MaybeLocal<v8::Object> NewInstance(v8::Local<v8::Function> h) {
-  return MaybeLocal<v8::Object>(h->NewInstance(GetCurrentContext()));
-}
-
-NAN_INLINE
-MaybeLocal<v8::Object> NewInstance(
-      v8::Local<v8::Function> h
-    , int argc
-    , v8::Local<v8::Value> argv[]) {
-  return MaybeLocal<v8::Object>(h->NewInstance(GetCurrentContext(),
-                                argc, argv));
-}
-
-NAN_INLINE
-MaybeLocal<v8::Object> NewInstance(v8::Local<v8::ObjectTemplate> h) {
-  return MaybeLocal<v8::Object>(h->NewInstance(GetCurrentContext()));
-}
-
-
-NAN_INLINE MaybeLocal<v8::Function> GetFunction(
-    v8::Local<v8::FunctionTemplate> t) {
-  return t->GetFunction(GetCurrentContext());
-}
-
-NAN_INLINE Maybe<bool> Set(
-    v8::Local<v8::Object> obj
-  , v8::Local<v8::Value> key
-  , v8::Local<v8::Value> value) {
-  return obj->Set(GetCurrentContext(), key, value);
-}
-
-NAN_INLINE Maybe<bool> Set(
-    v8::Local<v8::Object> obj
-  , uint32_t index
-  , v8::Local<v8::Value> value) {
-  return obj->Set(GetCurrentContext(), index, value);
-}
-
-NAN_INLINE Maybe<bool> ForceSet(
-    v8::Local<v8::Object> obj
-  , v8::Local<v8::Value> key
-  , v8::Local<v8::Value> value
-  , v8::PropertyAttribute attribs = v8::None) {
-  return obj->ForceSet(GetCurrentContext(), key, value, attribs);
-}
-
-NAN_INLINE MaybeLocal<v8::Value> Get(
-    v8::Local<v8::Object> obj
-  , v8::Local<v8::Value> key) {
-  return obj->Get(GetCurrentContext(), key);
-}
-
-NAN_INLINE
-MaybeLocal<v8::Value> Get(v8::Local<v8::Object> obj, uint32_t index) {
-  return obj->Get(GetCurrentContext(), index);
-}
-
-NAN_INLINE v8::PropertyAttribute GetPropertyAttributes(
-    v8::Local<v8::Object> obj
-  , v8::Local<v8::Value> key) {
-  return obj->GetPropertyAttributes(GetCurrentContext(), key).FromJust();
-}
-
-NAN_INLINE Maybe<bool> Has(
-    v8::Local<v8::Object> obj
-  , v8::Local<v8::String> key) {
-  return obj->Has(GetCurrentContext(), key);
-}
-
-NAN_INLINE Maybe<bool> Has(v8::Local<v8::Object> obj, uint32_t index) {
-  return obj->Has(GetCurrentContext(), index);
-}
-
-NAN_INLINE Maybe<bool> Delete(
-    v8::Local<v8::Object> obj
-  , v8::Local<v8::String> key) {
-  return obj->Delete(GetCurrentContext(), key);
-}
-
-NAN_INLINE
-Maybe<bool> Delete(v8::Local<v8::Object> obj, uint32_t index) {
-  return obj->Delete(GetCurrentContext(), index);
-}
-
-NAN_INLINE
-MaybeLocal<v8::Array> GetPropertyNames(v8::Local<v8::Object> obj) {
-  return obj->GetPropertyNames(GetCurrentContext());
-}
-
-NAN_INLINE
-MaybeLocal<v8::Array> GetOwnPropertyNames(v8::Local<v8::Object> obj) {
-  return obj->GetOwnPropertyNames(GetCurrentContext());
-}
-
-NAN_INLINE Maybe<bool> SetPrototype(
-    v8::Local<v8::Object> obj
-  , v8::Local<v8::Value> prototype) {
-  return obj->SetPrototype(GetCurrentContext(), prototype);
-}
-
-NAN_INLINE MaybeLocal<v8::String> ObjectProtoToString(
-    v8::Local<v8::Object> obj) {
-  return obj->ObjectProtoToString(GetCurrentContext());
-}
-
-NAN_INLINE Maybe<bool> HasOwnProperty(
-    v8::Local<v8::Object> obj
-  , v8::Local<v8::String> key) {
-  return obj->HasOwnProperty(GetCurrentContext(), key);
-}
-
-NAN_INLINE Maybe<bool> HasRealNamedProperty(
-    v8::Local<v8::Object> obj
-  , v8::Local<v8::String> key) {
-  return obj->HasRealNamedProperty(GetCurrentContext(), key);
-}
-
-NAN_INLINE Maybe<bool> HasRealIndexedProperty(
-    v8::Local<v8::Object> obj
-  , uint32_t index) {
-  return obj->HasRealIndexedProperty(GetCurrentContext(), index);
-}
-
-NAN_INLINE Maybe<bool> HasRealNamedCallbackProperty(
-    v8::Local<v8::Object> obj
-  , v8::Local<v8::String> key) {
-  return obj->HasRealNamedCallbackProperty(GetCurrentContext(), key);
-}
-
-NAN_INLINE MaybeLocal<v8::Value> GetRealNamedPropertyInPrototypeChain(
-    v8::Local<v8::Object> obj
-  , v8::Local<v8::String> key) {
-  return obj->GetRealNamedPropertyInPrototypeChain(GetCurrentContext(), key);
-}
-
-NAN_INLINE MaybeLocal<v8::Value> GetRealNamedProperty(
-    v8::Local<v8::Object> obj
-  , v8::Local<v8::String> key) {
-  return obj->GetRealNamedProperty(GetCurrentContext(), key);
-}
-
-NAN_INLINE MaybeLocal<v8::Value> CallAsFunction(
-    v8::Local<v8::Object> obj
-  , v8::Local<v8::Object> recv
-  , int argc
-  , v8::Local<v8::Value> argv[]) {
-  return obj->CallAsFunction(GetCurrentContext(), recv, argc, argv);
-}
-
-NAN_INLINE MaybeLocal<v8::Value> CallAsConstructor(
-    v8::Local<v8::Object> obj
-  , int argc, v8::Local<v8::Value> argv[]) {
-  return obj->CallAsConstructor(GetCurrentContext(), argc, argv);
-}
-
-NAN_INLINE
-MaybeLocal<v8::String> GetSourceLine(v8::Local<v8::Message> msg) {
-  return msg->GetSourceLine(GetCurrentContext());
-}
-
-NAN_INLINE Maybe<int> GetLineNumber(v8::Local<v8::Message> msg) {
-  return msg->GetLineNumber(GetCurrentContext());
-}
-
-NAN_INLINE Maybe<int> GetStartColumn(v8::Local<v8::Message> msg) {
-  return msg->GetStartColumn(GetCurrentContext());
-}
-
-NAN_INLINE Maybe<int> GetEndColumn(v8::Local<v8::Message> msg) {
-  return msg->GetEndColumn(GetCurrentContext());
-}
-
-NAN_INLINE MaybeLocal<v8::Object> CloneElementAt(
-    v8::Local<v8::Array> array
-  , uint32_t index) {
-  return array->CloneElementAt(GetCurrentContext(), index);
-}
-
-#endif  // NAN_MAYBE_43_INL_H_

http://git-wip-us.apache.org/repos/asf/couchdb-nmo/blob/6436833c/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_maybe_pre_43_inl.h
----------------------------------------------------------------------
diff --git a/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_maybe_pre_43_inl.h b/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_maybe_pre_43_inl.h
deleted file mode 100644
index 0857347..0000000
--- a/node_modules/couchbulkimporter/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/node_modules/nan/nan_maybe_pre_43_inl.h
+++ /dev/null
@@ -1,295 +0,0 @@
-/*********************************************************************
- * NAN - Native Abstractions for Node.js
- *
- * Copyright (c) 2015 NAN contributors
- *
- * MIT License <https://github.com/nodejs/nan/blob/master/LICENSE.md>
- ********************************************************************/
-
-#ifndef NAN_MAYBE_PRE_43_INL_H_
-#define NAN_MAYBE_PRE_43_INL_H_
-
-template<typename T>
-class MaybeLocal {
- public:
-  NAN_INLINE MaybeLocal() : val_(v8::Local<T>()) {}
-
-  template<typename S>
-# if NODE_MODULE_VERSION >= NODE_0_12_MODULE_VERSION
-  NAN_INLINE MaybeLocal(v8::Local<S> that) : val_(that) {}
-# else
-  NAN_INLINE MaybeLocal(v8::Local<S> that) :
-      val_(*reinterpret_cast<v8::Local<T>*>(&that)) {}
-# endif
-
-  NAN_INLINE bool IsEmpty() const { return val_.IsEmpty(); }
-
-  template<typename S>
-  NAN_INLINE bool ToLocal(v8::Local<S> *out) const {
-    *out = val_;
-    return !IsEmpty();
-  }
-
-  NAN_INLINE v8::Local<T> ToLocalChecked() const {
-#if defined(V8_ENABLE_CHECKS)
-    assert(!IsEmpty() && "ToLocalChecked is Empty");
-#endif  // V8_ENABLE_CHECKS
-    return val_;
-  }
-
-  template<typename S>
-  NAN_INLINE v8::Local<S> FromMaybe(v8::Local<S> default_value) const {
-    return IsEmpty() ? default_value : val_;
-  }
-
- private:
-  v8::Local<T> val_;
-};
-
-template<typename T>
-class Maybe {
- public:
-  NAN_INLINE bool IsNothing() const { return !has_value_; }
-  NAN_INLINE bool IsJust() const { return has_value_; }
-
-  NAN_INLINE T FromJust() const {
-#if defined(V8_ENABLE_CHECKS)
-    assert(IsJust() && "FromJust is Nothing");
-#endif  // V8_ENABLE_CHECKS
-    return value_;
-  }
-
-  NAN_INLINE T FromMaybe(const T& default_value) const {
-    return has_value_ ? value_ : default_value;
-  }
-
-  NAN_INLINE bool operator==(const Maybe &other) const {
-    return (IsJust() == other.IsJust()) &&
-        (!IsJust() || FromJust() == other.FromJust());
-  }
-
-  NAN_INLINE bool operator!=(const Maybe &other) const {
-    return !operator==(other);
-  }
-
- private:
-  Maybe() : has_value_(false) {}
-  explicit Maybe(const T& t) : has_value_(true), value_(t) {}
-  bool has_value_;
-  T value_;
-
-  template<typename U>
-  friend Maybe<U> Nothing();
-  template<typename U>
-  friend Maybe<U> Just(const U& u);
-};
-
-template<typename T>
-inline Maybe<T> Nothing() {
-  return Maybe<T>();
-}
-
-template<typename T>
-inline Maybe<T> Just(const T& t) {
-  return Maybe<T>(t);
-}
-
-NAN_INLINE
-MaybeLocal<v8::String> ToDetailString(v8::Handle<v8::Value> val) {
-  return MaybeLocal<v8::String>(val->ToDetailString());
-}
-
-NAN_INLINE
-MaybeLocal<v8::Uint32> ToArrayIndex(v8::Handle<v8::Value> val) {
-  return MaybeLocal<v8::Uint32>(val->ToArrayIndex());
-}
-
-NAN_INLINE
-Maybe<bool> Equals(v8::Handle<v8::Value> a, v8::Handle<v8::Value>(b)) {
-  return Just<bool>(a->Equals(b));
-}
-
-NAN_INLINE
-MaybeLocal<v8::Object> NewInstance(v8::Handle<v8::Function> h) {
-  return MaybeLocal<v8::Object>(h->NewInstance());
-}
-
-NAN_INLINE
-MaybeLocal<v8::Object> NewInstance(
-      v8::Local<v8::Function> h
-    , int argc
-    , v8::Local<v8::Value> argv[]) {
-  return MaybeLocal<v8::Object>(h->NewInstance(argc, argv));
-}
-
-NAN_INLINE
-MaybeLocal<v8::Object> NewInstance(v8::Handle<v8::ObjectTemplate> h) {
-  return MaybeLocal<v8::Object>(h->NewInstance());
-}
-
-NAN_INLINE
-MaybeLocal<v8::Function> GetFunction(v8::Handle<v8::FunctionTemplate> t) {
-  return MaybeLocal<v8::Function>(t->GetFunction());
-}
-
-NAN_INLINE Maybe<bool> Set(
-    v8::Handle<v8::Object> obj
-  , v8::Handle<v8::Value> key
-  , v8::Handle<v8::Value> value) {
-  return Just<bool>(obj->Set(key, value));
-}
-
-NAN_INLINE Maybe<bool> Set(
-    v8::Handle<v8::Object> obj
-  , uint32_t index
-  , v8::Handle<v8::Value> value) {
-  return Just<bool>(obj->Set(index, value));
-}
-
-NAN_INLINE Maybe<bool> ForceSet(
-    v8::Handle<v8::Object> obj
-  , v8::Handle<v8::Value> key
-  , v8::Handle<v8::Value> value
-  , v8::PropertyAttribute attribs = v8::None) {
-  return Just<bool>(obj->ForceSet(key, value, attribs));
-}
-
-NAN_INLINE MaybeLocal<v8::Value> Get(
-    v8::Handle<v8::Object> obj
-  , v8::Handle<v8::Value> key) {
-  return MaybeLocal<v8::Value>(obj->Get(key));
-}
-
-NAN_INLINE MaybeLocal<v8::Value> Get(
-    v8::Handle<v8::Object> obj
-  , uint32_t index) {
-  return MaybeLocal<v8::Value>(obj->Get(index));
-}
-
-NAN_INLINE Maybe<v8::PropertyAttribute> GetPropertyAttributes(
-    v8::Handle<v8::Object> obj
-  , v8::Handle<v8::Value> key) {
-  return Just<v8::PropertyAttribute>(obj->GetPropertyAttributes(key));
-}
-
-NAN_INLINE Maybe<bool> Has(
-    v8::Handle<v8::Object> obj
-  , v8::Handle<v8::String> key) {
-  return Just<bool>(obj->Has(key));
-}
-
-NAN_INLINE Maybe<bool> Has(
-    v8::Handle<v8::Object> obj
-  , uint32_t index) {
-  return Just<bool>(obj->Has(index));
-}
-
-NAN_INLINE Maybe<bool> Delete(
-    v8::Handle<v8::Object> obj
-  , v8::Handle<v8::String> key) {
-  return Just<bool>(obj->Delete(key));
-}
-
-NAN_INLINE Maybe<bool> Delete(
-    v8::Handle<v8::Object> obj
-  , uint32_t index) {
-  return Just<bool>(obj->Delete(index));
-}
-
-NAN_INLINE
-MaybeLocal<v8::Array> GetPropertyNames(v8::Handle<v8::Object> obj) {
-  return MaybeLocal<v8::Array>(obj->GetPropertyNames());
-}
-
-NAN_INLINE
-MaybeLocal<v8::Array> GetOwnPropertyNames(v8::Handle<v8::Object> obj) {
-  return MaybeLocal<v8::Array>(obj->GetOwnPropertyNames());
-}
-
-NAN_INLINE Maybe<bool> SetPrototype(
-    v8::Handle<v8::Object> obj
-  , v8::Handle<v8::Value> prototype) {
-  return Just<bool>(obj->SetPrototype(prototype));
-}
-
-NAN_INLINE MaybeLocal<v8::String> ObjectProtoToString(
-    v8::Handle<v8::Object> obj) {
-  return MaybeLocal<v8::String>(obj->ObjectProtoToString());
-}
-
-NAN_INLINE Maybe<bool> HasOwnProperty(
-    v8::Handle<v8::Object> obj
-  , v8::Handle<v8::String> key) {
-  return Just<bool>(obj->HasOwnProperty(key));
-}
-
-NAN_INLINE Maybe<bool> HasRealNamedProperty(
-    v8::Handle<v8::Object> obj
-  , v8::Handle<v8::String> key) {
-  return Just<bool>(obj->HasRealNamedProperty(key));
-}
-
-NAN_INLINE Maybe<bool> HasRealIndexedProperty(
-    v8::Handle<v8::Object> obj
-  , uint32_t index) {
-  return Just<bool>(obj->HasRealIndexedProperty(index));
-}
-
-NAN_INLINE Maybe<bool> HasRealNamedCallbackProperty(
-    v8::Handle<v8::Object> obj
-  , v8::Handle<v8::String> key) {
-  return Just<bool>(obj->HasRealNamedCallbackProperty(key));
-}
-
-NAN_INLINE MaybeLocal<v8::Value> GetRealNamedPropertyInPrototypeChain(
-    v8::Handle<v8::Object> obj
-  , v8::Handle<v8::String> key) {
-  return MaybeLocal<v8::Value>(
-      obj->GetRealNamedPropertyInPrototypeChain(key));
-}
-
-NAN_INLINE MaybeLocal<v8::Value> GetRealNamedProperty(
-    v8::Handle<v8::Object> obj
-  , v8::Handle<v8::String> key) {
-  return MaybeLocal<v8::Value>(obj->GetRealNamedProperty(key));
-}
-
-NAN_INLINE MaybeLocal<v8::Value> CallAsFunction(
-    v8::Handle<v8::Object> obj
-  , v8::Handle<v8::Object> recv
-  , int argc
-  , v8::Handle<v8::Value> argv[]) {
-  return MaybeLocal<v8::Value>(obj->CallAsFunction(recv, argc, argv));
-}
-
-NAN_INLINE MaybeLocal<v8::Value> CallAsConstructor(
-    v8::Handle<v8::Object> obj
-  , int argc
-  , v8::Local<v8::Value> argv[]) {
-  return MaybeLocal<v8::Value>(obj->CallAsConstructor(argc, argv));
-}
-
-NAN_INLINE
-MaybeLocal<v8::String> GetSourceLine(v8::Handle<v8::Message> msg) {
-  return MaybeLocal<v8::String>(msg->GetSourceLine());
-}
-
-NAN_INLINE Maybe<int> GetLineNumber(v8::Handle<v8::Message> msg) {
-  return Just<int>(msg->GetLineNumber());
-}
-
-NAN_INLINE Maybe<int> GetStartColumn(v8::Handle<v8::Message> msg) {
-  return Just<int>(msg->GetStartColumn());
-}
-
-NAN_INLINE Maybe<int> GetEndColumn(v8::Handle<v8::Message> msg) {
-  return Just<int>(msg->GetEndColumn());
-}
-
-NAN_INLINE MaybeLocal<v8::Object> CloneElementAt(
-    v8::Handle<v8::Array> array
-  , uint32_t index) {
-  return MaybeLocal<v8::Object>(array->CloneElementAt(index));
-}
-
-#endif  // NAN_MAYBE_PRE_43_INL_H_


Mime
View raw message