GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — esm: make hasAsyncGraph non-enumerable · nodejs/node@2b2591d

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • module_wrap.cc
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/module_wrap.cc‎

Copy file name to clipboardExpand all lines: src/module_wrap.cc
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ using v8::ObjectTemplate;
5656
using v8::PrimitiveArray;
5757
using v8::Promise;
5858
using v8::PromiseRejectEvent;
59+
using v8::PropertyAttribute;
5960
using v8::PropertyCallbackInfo;
6061
using v8::ScriptCompiler;
6162
using v8::ScriptOrigin;
@@ -1391,7 +1392,10 @@ void ModuleWrap::CreatePerIsolateProperties(IsolateData* isolate_data,
13911392
SetConstructorFunction(isolate, target, "ModuleWrap", tpl);
13921393

13931394
tpl->InstanceTemplate()->SetLazyDataProperty(
1394-
FIXED_ONE_BYTE_STRING(isolate, "hasAsyncGraph"), HasAsyncGraph);
1395+
FIXED_ONE_BYTE_STRING(isolate, "hasAsyncGraph"),
1396+
HasAsyncGraph,
1397+
Local<Value>(),
1398+
PropertyAttribute::DontEnum);
13951399

13961400
isolate_data->set_module_wrap_constructor_template(tpl);
13971401

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.