From 7975aff40f0d7f3855d2ff385fbde15f07e124b0 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Sun, 25 Oct 2020 16:32:46 +0900 Subject: [PATCH] 0.7.0 --- src/yode.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/yode.cc b/src/yode.cc index e9f5c96..7ca0baa 100644 --- a/src/yode.cc +++ b/src/yode.cc @@ -74,11 +74,11 @@ bool InitWrapper(node::Environment* env) { // Native methods. env->SetMethod(env->process_object(), "bootstrap", &Bootstrap); env->SetMethod(env->process_object(), "activateUvLoop", &ActivateUvLoop); - // versions.yode = 0.6.2 + // process.versions.yode v8::Local versions = env->process_object()->Get( env->context(), ToV8(env, "versions")).ToLocalChecked(); versions.As()->Set( - env->context(), ToV8(env, "yode"), ToV8(env, "0.6.2")).ToChecked(); + env->context(), ToV8(env, "yode"), ToV8(env, "0.7.0")).ToChecked(); env->process_object()->DefineOwnProperty( env->context(), ToV8(env, "versions"), versions, v8::ReadOnly).Check(); return true;