BUG: Package fails to build

Do you want to request a feature or report a bug?
Bug report; package fails to build as per instructions in main readme.md
Main readme.md states:
git clone https://github.com/facebook/draft-js.git
cd draft-js
yarn install
yarn run build

But when following those instructions the following logs are produced:
yarn install v1.22.4
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>|| ^6.0.0".
warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>|| ^3.0.0 || ^4.0.0".
warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>[4/4] 🔨  Building fresh packages...
[-/3] ⠈ waiting...
[-/3] ⠈ waiting...
warning Error running install script for optional dependency: "/Users/james/xdev/draft-js/node_modules/fsevents: Command failed.
Exit code: 1
Command: node install
Arguments:
Directory: /Users/james/xdev/draft-js/node_modules/fsevents
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using<EMAIL_ADDRESS>node-pre-gyp info using<EMAIL_ADDRESS>| darwin | x64
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp info check checked for \"/Users/james/xdev/draft-js/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node\" (not found)
node-pre-gyp http GET https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.7/fse-v1.2.7-node-v72-darwin-x64.tar.gz
node-pre-gyp http 404 https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.7/fse-v1.2.7-node-v72-darwin-x64.tar.gz
node-pre-gyp WARN Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.7/fse-v1.2.7-node-v72-darwin-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v72 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http 404 status code downloading tarball https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.7/fse-v1.2.7-node-v72-darwin-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not installable for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v72 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error Connection closed while downloading tarball file
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| darwin | x64
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| darwin | x64
gyp info ok
gyp info ok
gypgyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| darwin | x64
 info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| darwin | x64
gyp info find Python using Python version 3.7.3 found at \"/Users/james/.pyenv/versions/3.7.3/bin/python\"
gyp info find Python using Python version 3.7.3 found at \"/Users/james/.pyenv/versions/3.7.3/bin/python\"
gyp info spawn /Users/james/.pyenv/versions/3.7.3/bin/python
gyp info spawn args [
gyp info spawn args   '/Users/james/.nvm/versions/node/v12.18.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/james/xdev/draft-js/node_modules/fsevents/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/james/.nvm/versions/node/v12.18.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/james/Library/Caches/node-gyp/12.18.0/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/Users/james/Library/Caches/node-gyp/12.18.0',
gyp info spawn args   '-Dnode_gyp_dir=/Users/james/.nvm/versions/node/v12.18.0/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/Users/james/Library/Caches/node-gyp/12.18.0/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/Users/james/xdev/draft-js/node_modules/fsevents',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn /Users/james/.pyenv/versions/3.7.3/bin/python
gyp info spawn args [
gyp info spawn args   '/Users/james/.nvm/versions/node/v12.18.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/james/xdev/draft-js/node_modules/fsevents/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/james/.nvm/versions/node/v12.18.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/james/Library/Caches/node-gyp/12.18.0/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/Users/james/Library/Caches/node-gyp/12.18.0',
gyp info spawn args   '-Dnode_gyp_dir=/Users/james/.nvm/versions/node/v12.18.0/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/Users/james/Library/Caches/node-gyp/12.18.0/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/Users/james/xdev/draft-js/node_modules/fsevents',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
gyp info ok
gyp info ok
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| darwin | x64
gyp info it worked if it ends with ok
gypgyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| darwin | x64
 info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  SOLINK_MODULE(target) Release/.node
  SOLINK_MODULE(target) Release/.node
  CXX(target) Release/obj.target/fse/fsevents.o
  CXX(target) Release/obj.target/fse/fsevents.o
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:222:
In file included from ../../nan/nan_converters.h:67:
../../nan/nan_converters_43_inl.h:22:1: warning: 'ToBoolean' is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
X(Boolean)
^
../../nan/nan_converters_43_inl.h:18:12: note: expanded from macro 'X'
      val->To ## TYPE(isolate->GetCurrentContext())                            \\\n           ^
<scratch space>:42:1: note: expanded from here
ToBoolean
^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:2663:3: note: 'ToBoolean' has been explicitly marked deprecated here
  V8_DEPRECATED(\"ToBoolean can never throw. Use Local version.\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:222:
In file included from ../../nan/nan_converters.h:67:
../../nan/nan_converters_43_inl.h:40:1: warning: 'BooleanValue' is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations]
X(bool, Boolean)
^
../../nan/nan_converters_43_inl.h:37:15: note: expanded from macro 'X'
  return val->NAME ## Value(isolate->GetCurrentContext());                     \\\n              ^
<scratch space>:49:1: note: expanded from here
BooleanValue
^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:2701:3: note: 'BooleanValue' has been explicitly marked deprecated here
  V8_DEPRECATED(\"BooleanValue can never throw. Use Isolate version.\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:223:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:356:37: error: too few arguments to function call, expected 2, have 1
  return v8::StringObject::New(value).As<v8::StringObject>();
         ~~~~~~~~~~~~~~~~~~~~~      ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:5531:3: note: 'New' declared here
  static Local<Value> New(Isolate* isolate, Local<String> value);
  ^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:2722:
../../nan/nan_object_wrap.h:24:25: error: no member named 'IsNearDeath' in 'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
    assert(persistent().IsNearDeath());
           ~~~~~~~~~~~~ ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:2722:
../../nan/nan_object_wrap.h:127:26: error: no member named 'IsNearDeath' in 'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
    assert(wrap->handle_.IsNearDeath());
           ~~~~~~~~~~~~~ ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:222:
In file included from ../../nan/nan_converters.h:67:
../../nan/nan_converters_43_inl.h:22:1: warning: 'ToBoolean' is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
X(Boolean)
^
../../nan/nan_converters_43_inl.h:18:12: note: expanded from macro 'X'
      val->To ## TYPE(isolate->GetCurrentContext())                            \\\n           ^
<scratch space>:42:1: note: expanded from here
ToBoolean
^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:2663:3: note: 'ToBoolean' has been explicitly marked deprecated here
  V8_DEPRECATED(\"ToBoolean can never throw. Use Local version.\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:222:
In file included from ../../nan/nan_converters.h:67:
../../nan/nan_converters_43_inl.h:40:1: warning: 'BooleanValue' is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations]
X(bool, Boolean)
^
../../nan/nan_converters_43_inl.h:37:15: note: expanded from macro 'X'
  return val->NAME ## Value(isolate->GetCurrentContext());                     \\\n              ^
<scratch space>:49:1: note: expanded from here
BooleanValue
^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:2701:3: note: 'BooleanValue' has been explicitly marked deprecated here
  V8_DEPRECATED(\"BooleanValue can never throw. Use Isolate version.\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:223:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:356:37: error: too few arguments to function call, expected 2, have 1
  return v8::StringObject::New(value).As<v8::StringObject>();
         ~~~~~~~~~~~~~~~~~~~~~      ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:5531:3: note: 'New' declared here
  static Local<Value> New(Isolate* isolate, Local<String> value);
  ^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:2722:
../../nan/nan_object_wrap.h:24:25: error: no member named 'IsNearDeath' in 'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
    assert(persistent().IsNearDeath());
           ~~~~~~~~~~~~ ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:2722:
../../nan/nan_object_wrap.h:127:26: error: no member named 'IsNearDeath' in 'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
    assert(wrap->handle_.IsNearDeath());
           ~~~~~~~~~~~~~ ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
../fsevents.cc:43:32: error: no template named 'Handle' in namespace 'v8'
    static void Initialize(v8::Handle<v8::Object> exports);
                           ~~~~^
In file included from ../fsevents.cc:73:
../src/constants.cc:89:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagNone\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagNone));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:90:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagMustScanSubDirs\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagMustScanSubDirs));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:91:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagUserDropped\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagUserDropped));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:92:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagKernelDropped\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagKernelDropped));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:93:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagEventIdsWrapped\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagEventIdsWrapped));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:94:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagHistoryDone\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagHistoryDone));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:95:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagRootChanged\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagRootChanged));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:96:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagMount\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagMount));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:97:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagUnmount\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagUnmount));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:98:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemCreated\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemCreated));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:99:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemRemoved\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemRemoved));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:100:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemInodeMetaMod\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemInodeMetaMod));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:101:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemRenamed\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemRenamed));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:102:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemModified\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemModified));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:103:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemFinderInfoMod\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemFinderInfoMod));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:104:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemChangeOwner\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemChangeOwner));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:105:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemXattrMod\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemXattrMod));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:106:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemIsFile\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemIsFile));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:107:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemIsDir\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemIsDir));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:108:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemIsSymlink\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemIsSymlink));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
../fsevents.cc:43:32: error: no template named 'Handle' in namespace 'v8'
    static void Initialize(v8::Handle<v8::Object> exports);
                           ~~~~^
In file included from ../fsevents.cc:73:
../src/constants.cc:89:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagNone\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagNone));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:90:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagMustScanSubDirs\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagMustScanSubDirs));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:91:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagUserDropped\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagUserDropped));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:92:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagKernelDropped\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagKernelDropped));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:93:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagEventIdsWrapped\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagEventIdsWrapped));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:94:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagHistoryDone\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagHistoryDone));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:95:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagRootChanged\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagRootChanged));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:96:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagMount\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagMount));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:97:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagUnmount\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagUnmount));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:98:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemCreated\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemCreated));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:99:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemRemoved\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemRemoved));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:100:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemInodeMetaMod\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemInodeMetaMod));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:101:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemRenamed\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemRenamed));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:102:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemModified\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemModified));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:103:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemFinderInfoMod\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemFinderInfoMod));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:104:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemChangeOwner\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemChangeOwner));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:105:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemXattrMod\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemXattrMod));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:106:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemIsFile\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemIsFile));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:107:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemIsDir\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemIsDir));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:108:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemIsSymlink\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemIsSymlink));
          ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use maybe version\",
  ^
/Users/james/Library/Caches/node-gyp/12.18.0/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
../fsevents.cc:76:16: error: variable has incomplete type 'void'
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
               ^
../fsevents.cc:76:31: error: no member named 'Handle' in namespace 'v8'
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
                          ~~~~^
../fsevents.cc:76:48: error: expected '(' for function-style cast or type construction
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
                                     ~~~~~~~~~~^
../fsevents.cc:76:16: error: variable has incomplete type 'void'
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
               ^
../fsevents.cc:76:50: error: use of undeclared identifier 'exports'
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
                                                 ^
../fsevents.cc:76:58: error: expected ';' after top level declarator
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
                                                         ^
                                                         ;
../fsevents.cc:76:31: error: no member named 'Handle' in namespace 'v8'
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
                          ~~~~^
../fsevents.cc:76:48: error: expected '(' for function-style cast or type construction
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
                                     ~~~~~~~~~~^
../fsevents.cc:76:50: error: use of undeclared identifier 'exports'
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
                                                 ^
../fsevents.cc:76:58: error: expected ';' after top level declarator
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
                                                         ^
                                                         ;
22 warnings and 9 errors generated.
make: *** [Release/obj.target/fse/fsevents.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/james/.nvm/versions/node/v12.18.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Darwin 19.6.0
gyp ERR! command \"/Users/james/.nvm/versions/node/v12.18.0/bin/node\" \"/Users/james/.nvm/versions/node/v12.18.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"build\" \"--fallback-to-build\" \"--module=/Users/james/xdev/draft-js/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node\" \"--module_name=fse\" \"--module_path=/Users/james/xdev/draft-js/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64\" \"--napi_version=6\" \"--node_abi_napi=napi\"
gyp ERR! cwd /Users/james/xdev/draft-js/node_modules/fsevents
gyp ERR! node -v v12.18.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/Users/james/.nvm/versions/node/v12.18.0/bin/node /Users/james/.nvm/versions/node/v12.18.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/james/xdev/draft-js/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node --module_name=fse --module_path=/Users/james/xdev/draft-js/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64 --napi_version=6 --node_abi_napi=napi' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/james/xdev/draft-js/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
node-pre-gyp ERR! System Darwin 19.6.0
node-pre-gyp ERR! command \"/Users/james/.nvm/versions/node/v12.18.0/bin/node\" \"/Users/james/xdev/draft-js/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"
node-pre-gyp ERR! cwd /Users/james/xdev/draft-js/node_modules/fsevents
node-pre-gyp ERR! node -v v12.18.0
node-pre-gyp ERR! node-pre-gyp -v v0.10.3
node-pre-gyp ERR! not ok
Failed to execute '/Users/james/.nvm/versions/node/v12.18.0/bin/node /Users/james/.nvm/versions/node/v12.18.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/james/xdev/draft-js/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node --module_name=fse --module_path=/Users/james/xdev/draft-js/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64 --napi_version=6 --node_abi_napi=napi' (1)
22 warnings and 9 errors generated.
make: *** [Release/obj.target/fse/fsevents.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/james/.nvm/versions/node/v12.18.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Darwin 19.6.0
gyp ERR! command \"/Users/james/.nvm/versions/node/v12.18.0/bin/node\" \"/Users/james/.nvm/versions/node/v12.18.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"build\" \"--fallback-to-build\" \"--module=/Users/james/xdev/draft-js/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node\" \"--module_name=fse\" \"--module_path=/Users/james/xdev/draft-js/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64\" \"--napi_version=6\" \"--node_abi_napi=napi\"
gyp ERR! cwd /Users/james/xdev/draft-js/node_modules/fsevents
gyp ERR! node -v v12.18.0
gyp ERR! node-gyp -v v5.1.0
$ npm run build
npm WARN lifecycle The node binary used for scripts is /var/folders/r8/334hl1617kgdh26r2l2qf77h0000gn/T/yarn--1628685793619-0.13495617128581072/node but npm is using /Users/james/.nvm/versions/node/v12.18.0/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.

><EMAIL_ADDRESS>build /Users/james/xdev/draft-js
> gulp

[13:43:30] Using gulpfile ~/xdev/draft-js/gulpfile.js
[13:43:30] Starting 'default'...
[13:43:30] Starting 'check_dependencies'...
[13:43:31] Finished 'check_dependencies' after 1.04 s
[13:43:31] Starting 'clean'...
[13:43:32] Finished 'clean' after 96 ms
[13:43:32] Starting 'modules'...
[13:43:32] Starting 'flow'...
[13:43:39] Finished 'modules' after 7 s
[13:43:39] Finished 'flow' after 7 s
[13:43:39] Starting 'modules'...
[13:43:39] Starting 'modules'...
[13:43:45] Finished 'modules' after 6.64 s
[13:43:45] Starting 'outputDistMin'...
[13:43:46] Finished 'modules' after 7.07 s
[13:43:46] Starting 'css'...
[13:43:46] Finished 'css' after 338 ms
[13:43:46] Starting 'outputDist'...
(node:40301) [DEP0097] DeprecationWarning: Using a domain property in MakeCallback is deprecated. Use the async_context variant of MakeCallback or the AsyncResource class instead.
Unhandled rejection Error in plugin "webpack-stream"
Message:
    ./lib/DefaultDraftBlockRenderMap.js
Module not found: Error: Can't resolve './react' in '/Users/james/xdev/draft-js/lib'
resolve './react' in '/Users/james/xdev/draft-js/lib'
  using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib/react)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react doesn't exist
      .wasm
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.wasm doesn't exist
      .mjs
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.mjs doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.json doesn't exist
      as directory
        /Users/james/xdev/draft-js/lib/react doesn't exist
[/Users/james/xdev/draft-js/lib/react]
[/Users/james/xdev/draft-js/lib/react.wasm]
[/Users/james/xdev/draft-js/lib/react.mjs]
[/Users/james/xdev/draft-js/lib/react.js]
[/Users/james/xdev/draft-js/lib/react.json]
 @ ./lib/DefaultDraftBlockRenderMap.js 18:12-30
 @ ./lib/Draft.js
./lib/DraftEditor.react.js
Module not found: Error: Can't resolve './react' in '/Users/james/xdev/draft-js/lib'
resolve './react' in '/Users/james/xdev/draft-js/lib'
  using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib/react)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react doesn't exist
      .wasm
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.wasm doesn't exist
      .mjs
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.mjs doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.json doesn't exist
      as directory
        /Users/james/xdev/draft-js/lib/react doesn't exist
[/Users/james/xdev/draft-js/lib/react]
[/Users/james/xdev/draft-js/lib/react.wasm]
[/Users/james/xdev/draft-js/lib/react.mjs]
[/Users/james/xdev/draft-js/lib/react.js]
[/Users/james/xdev/draft-js/lib/react.json]
 @ ./lib/DraftEditor.react.js 68:12-30
 @ ./lib/Draft.js
./lib/DraftEditorBlock.react.js
Module not found: Error: Can't resolve './react' in '/Users/james/xdev/draft-js/lib'
resolve './react' in '/Users/james/xdev/draft-js/lib'
  using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib/react)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react doesn't exist
      .wasm
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.wasm doesn't exist
      .mjs
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.mjs doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.json doesn't exist
      as directory
        /Users/james/xdev/draft-js/lib/react doesn't exist
[/Users/james/xdev/draft-js/lib/react]
[/Users/james/xdev/draft-js/lib/react.wasm]
[/Users/james/xdev/draft-js/lib/react.mjs]
[/Users/james/xdev/draft-js/lib/react.js]
[/Users/james/xdev/draft-js/lib/react.json]
 @ ./lib/DraftEditorBlock.react.js 49:12-30
 @ ./lib/Draft.js
./lib/DraftEditorPlaceholder.react.js
Module not found: Error: Can't resolve './react' in '/Users/james/xdev/draft-js/lib'
resolve './react' in '/Users/james/xdev/draft-js/lib'
  using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib/react)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react doesn't exist
      .wasm
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.wasm doesn't exist
      .mjs
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.mjs doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.json doesn't exist
      as directory
        /Users/james/xdev/draft-js/lib/react doesn't exist
[/Users/james/xdev/draft-js/lib/react]
[/Users/james/xdev/draft-js/lib/react.wasm]
[/Users/james/xdev/draft-js/lib/react.mjs]
[/Users/james/xdev/draft-js/lib/react.js]
[/Users/james/xdev/draft-js/lib/react.json]
 @ ./lib/DraftEditorPlaceholder.react.js 19:12-30
 @ ./lib/DraftEditor.react.js
 @ ./lib/Draft.js
./lib/DraftEditorLeaf.react.js
Module not found: Error: Can't resolve './react' in '/Users/james/xdev/draft-js/lib'
resolve './react' in '/Users/james/xdev/draft-js/lib'
  using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib/react)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react doesn't exist
      .wasm
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.wasm doesn't exist
      .mjs
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.mjs doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.json doesn't exist
      as directory
        /Users/james/xdev/draft-js/lib/react doesn't exist
[/Users/james/xdev/draft-js/lib/react]
[/Users/james/xdev/draft-js/lib/react.wasm]
[/Users/james/xdev/draft-js/lib/react.mjs]
[/Users/james/xdev/draft-js/lib/react.js]
[/Users/james/xdev/draft-js/lib/react.json]
 @ ./lib/DraftEditorLeaf.react.js 27:12-30
 @ ./lib/DraftEditorBlock.react.js
 @ ./lib/Draft.js
./lib/DraftEditorContentsExperimental.react.js
Module not found: Error: Can't resolve './react' in '/Users/james/xdev/draft-js/lib'
resolve './react' in '/Users/james/xdev/draft-js/lib'
  using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib/react)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react doesn't exist
      .wasm
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.wasm doesn't exist
      .mjs
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.mjs doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.json doesn't exist
      as directory
        /Users/james/xdev/draft-js/lib/react doesn't exist
[/Users/james/xdev/draft-js/lib/react]
[/Users/james/xdev/draft-js/lib/react.wasm]
[/Users/james/xdev/draft-js/lib/react.mjs]
[/Users/james/xdev/draft-js/lib/react.js]
[/Users/james/xdev/draft-js/lib/react.json]
 @ ./lib/DraftEditorContentsExperimental.react.js 30:12-30
 @ ./lib/DraftEditorContents.react.js
 @ ./lib/DraftEditor.react.js
 @ ./lib/Draft.js
./lib/DraftEditorContents-core.react.js
Module not found: Error: Can't resolve './react' in '/Users/james/xdev/draft-js/lib'
resolve './react' in '/Users/james/xdev/draft-js/lib'
  using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib/react)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react doesn't exist
      .wasm
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.wasm doesn't exist
      .mjs
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.mjs doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.json doesn't exist
      as directory
        /Users/james/xdev/draft-js/lib/react doesn't exist
[/Users/james/xdev/draft-js/lib/react]
[/Users/james/xdev/draft-js/lib/react.wasm]
[/Users/james/xdev/draft-js/lib/react.mjs]
[/Users/james/xdev/draft-js/lib/react.js]
[/Users/james/xdev/draft-js/lib/react.json]
 @ ./lib/DraftEditorContents-core.react.js 33:12-30
 @ ./lib/DraftEditorContents.react.js
 @ ./lib/DraftEditor.react.js
 @ ./lib/Draft.js
./lib/DraftEditorTextNode.react.js
Module not found: Error: Can't resolve './react' in '/Users/james/xdev/draft-js/lib'
resolve './react' in '/Users/james/xdev/draft-js/lib'
  using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib/react)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react doesn't exist
      .wasm
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.wasm doesn't exist
      .mjs
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.mjs doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.json doesn't exist
      as directory
        /Users/james/xdev/draft-js/lib/react doesn't exist
[/Users/james/xdev/draft-js/lib/react]
[/Users/james/xdev/draft-js/lib/react.wasm]
[/Users/james/xdev/draft-js/lib/react.mjs]
[/Users/james/xdev/draft-js/lib/react.js]
[/Users/james/xdev/draft-js/lib/react.json]
 @ ./lib/DraftEditorTextNode.react.js 25:12-30
 @ ./lib/DraftEditorLeaf.react.js
 @ ./lib/DraftEditorBlock.react.js
 @ ./lib/Draft.js
./lib/DraftEditorBlockNode.react.js
Module not found: Error: Can't resolve './react' in '/Users/james/xdev/draft-js/lib'
resolve './react' in '/Users/james/xdev/draft-js/lib'
  using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib/react)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react doesn't exist
      .wasm
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.wasm doesn't exist
      .mjs
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.mjs doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.json doesn't exist
      as directory
        /Users/james/xdev/draft-js/lib/react doesn't exist
[/Users/james/xdev/draft-js/lib/react]
[/Users/james/xdev/draft-js/lib/react.wasm]
[/Users/james/xdev/draft-js/lib/react.mjs]
[/Users/james/xdev/draft-js/lib/react.js]
[/Users/james/xdev/draft-js/lib/react.json]
 @ ./lib/DraftEditorBlockNode.react.js 50:12-30
 @ ./lib/DraftEditorContentsExperimental.react.js
 @ ./lib/DraftEditorContents.react.js
 @ ./lib/DraftEditor.react.js
 @ ./lib/Draft.js
./lib/DraftEditorNode.react.js
Module not found: Error: Can't resolve './react' in '/Users/james/xdev/draft-js/lib'
resolve './react' in '/Users/james/xdev/draft-js/lib'
  using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib/react)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react doesn't exist
      .wasm
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.wasm doesn't exist
      .mjs
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.mjs doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.json doesn't exist
      as directory
        /Users/james/xdev/draft-js/lib/react doesn't exist
[/Users/james/xdev/draft-js/lib/react]
[/Users/james/xdev/draft-js/lib/react.wasm]
[/Users/james/xdev/draft-js/lib/react.mjs]
[/Users/james/xdev/draft-js/lib/react.js]
[/Users/james/xdev/draft-js/lib/react.json]
 @ ./lib/DraftEditorNode.react.js 28:12-30
 @ ./lib/DraftEditorBlockNode.react.js
 @ ./lib/DraftEditorContentsExperimental.react.js
 @ ./lib/DraftEditorContents.react.js
 @ ./lib/DraftEditor.react.js
 @ ./lib/Draft.js
./lib/DraftEditorDecoratedLeaves.react.js
Module not found: Error: Can't resolve './react' in '/Users/james/xdev/draft-js/lib'
resolve './react' in '/Users/james/xdev/draft-js/lib'
  using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib/react)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react doesn't exist
      .wasm
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.wasm doesn't exist
      .mjs
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.mjs doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.json doesn't exist
      as directory
        /Users/james/xdev/draft-js/lib/react doesn't exist
[/Users/james/xdev/draft-js/lib/react]
[/Users/james/xdev/draft-js/lib/react.wasm]
[/Users/james/xdev/draft-js/lib/react.mjs]
[/Users/james/xdev/draft-js/lib/react.js]
[/Users/james/xdev/draft-js/lib/react.json]
 @ ./lib/DraftEditorDecoratedLeaves.react.js 28:12-30
 @ ./lib/DraftEditorNode.react.js
 @ ./lib/DraftEditorBlockNode.react.js
 @ ./lib/DraftEditorContentsExperimental.react.js
 @ ./lib/DraftEditorContents.react.js
 @ ./lib/DraftEditor.react.js
 @ ./lib/Draft.js

Unhandled rejection Error in plugin "webpack-stream"
Message:
    ./lib/DraftEditor.react.js
Module not found: Error: Can't resolve './react' in '/Users/james/xdev/draft-js/lib'
resolve './react' in '/Users/james/xdev/draft-js/lib'
  using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib/react)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react doesn't exist
      .wasm
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.wasm doesn't exist
      .mjs
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.mjs doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.json doesn't exist
      as directory
        /Users/james/xdev/draft-js/lib/react doesn't exist
[/Users/james/xdev/draft-js/lib/react]
[/Users/james/xdev/draft-js/lib/react.wasm]
[/Users/james/xdev/draft-js/lib/react.mjs]
[/Users/james/xdev/draft-js/lib/react.js]
[/Users/james/xdev/draft-js/lib/react.json]
 @ ./lib/DraftEditor.react.js 68:12-30
 @ ./lib/Draft.js
./lib/DraftEditorBlock.react.js
Module not found: Error: Can't resolve './react' in '/Users/james/xdev/draft-js/lib'
resolve './react' in '/Users/james/xdev/draft-js/lib'
  using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib/react)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react doesn't exist
      .wasm
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.wasm doesn't exist
      .mjs
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.mjs doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.json doesn't exist
      as directory
        /Users/james/xdev/draft-js/lib/react doesn't exist
[/Users/james/xdev/draft-js/lib/react]
[/Users/james/xdev/draft-js/lib/react.wasm]
[/Users/james/xdev/draft-js/lib/react.mjs]
[/Users/james/xdev/draft-js/lib/react.js]
[/Users/james/xdev/draft-js/lib/react.json]
 @ ./lib/DraftEditorBlock.react.js 49:12-30
 @ ./lib/Draft.js
./lib/DefaultDraftBlockRenderMap.js
Module not found: Error: Can't resolve './react' in '/Users/james/xdev/draft-js/lib'
resolve './react' in '/Users/james/xdev/draft-js/lib'
  using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib/react)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react doesn't exist
      .wasm
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.wasm doesn't exist
      .mjs
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.mjs doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.json doesn't exist
      as directory
        /Users/james/xdev/draft-js/lib/react doesn't exist
[/Users/james/xdev/draft-js/lib/react]
[/Users/james/xdev/draft-js/lib/react.wasm]
[/Users/james/xdev/draft-js/lib/react.mjs]
[/Users/james/xdev/draft-js/lib/react.js]
[/Users/james/xdev/draft-js/lib/react.json]
 @ ./lib/DefaultDraftBlockRenderMap.js 18:12-30
 @ ./lib/Draft.js
./lib/DraftEditorLeaf.react.js
Module not found: Error: Can't resolve './react' in '/Users/james/xdev/draft-js/lib'
resolve './react' in '/Users/james/xdev/draft-js/lib'
  using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib/react)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react doesn't exist
      .wasm
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.wasm doesn't exist
      .mjs
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.mjs doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.json doesn't exist
      as directory
        /Users/james/xdev/draft-js/lib/react doesn't exist
[/Users/james/xdev/draft-js/lib/react]
[/Users/james/xdev/draft-js/lib/react.wasm]
[/Users/james/xdev/draft-js/lib/react.mjs]
[/Users/james/xdev/draft-js/lib/react.js]
[/Users/james/xdev/draft-js/lib/react.json]
 @ ./lib/DraftEditorLeaf.react.js 27:12-30
 @ ./lib/DraftEditorBlock.react.js
 @ ./lib/Draft.js
./lib/DraftEditorPlaceholder.react.js
Module not found: Error: Can't resolve './react' in '/Users/james/xdev/draft-js/lib'
resolve './react' in '/Users/james/xdev/draft-js/lib'
  using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib/react)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react doesn't exist
      .wasm
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.wasm doesn't exist
      .mjs
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.mjs doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.json doesn't exist
      as directory
        /Users/james/xdev/draft-js/lib/react doesn't exist
[/Users/james/xdev/draft-js/lib/react]
[/Users/james/xdev/draft-js/lib/react.wasm]
[/Users/james/xdev/draft-js/lib/react.mjs]
[/Users/james/xdev/draft-js/lib/react.js]
[/Users/james/xdev/draft-js/lib/react.json]
 @ ./lib/DraftEditorPlaceholder.react.js 19:12-30
 @ ./lib/DraftEditor.react.js
 @ ./lib/Draft.js
./lib/DraftEditorContentsExperimental.react.js
Module not found: Error: Can't resolve './react' in '/Users/james/xdev/draft-js/lib'
resolve './react' in '/Users/james/xdev/draft-js/lib'
  using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib/react)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react doesn't exist
      .wasm
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.wasm doesn't exist
      .mjs
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.mjs doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.json doesn't exist
      as directory
        /Users/james/xdev/draft-js/lib/react doesn't exist
[/Users/james/xdev/draft-js/lib/react]
[/Users/james/xdev/draft-js/lib/react.wasm]
[/Users/james/xdev/draft-js/lib/react.mjs]
[/Users/james/xdev/draft-js/lib/react.js]
[/Users/james/xdev/draft-js/lib/react.json]
 @ ./lib/DraftEditorContentsExperimental.react.js 30:12-30
 @ ./lib/DraftEditorContents.react.js
 @ ./lib/DraftEditor.react.js
 @ ./lib/Draft.js
./lib/DraftEditorContents-core.react.js
Module not found: Error: Can't resolve './react' in '/Users/james/xdev/draft-js/lib'
resolve './react' in '/Users/james/xdev/draft-js/lib'
  using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib/react)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react doesn't exist
      .wasm
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.wasm doesn't exist
      .mjs
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.mjs doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.json doesn't exist
      as directory
        /Users/james/xdev/draft-js/lib/react doesn't exist
[/Users/james/xdev/draft-js/lib/react]
[/Users/james/xdev/draft-js/lib/react.wasm]
[/Users/james/xdev/draft-js/lib/react.mjs]
[/Users/james/xdev/draft-js/lib/react.js]
[/Users/james/xdev/draft-js/lib/react.json]
 @ ./lib/DraftEditorContents-core.react.js 33:12-30
 @ ./lib/DraftEditorContents.react.js
 @ ./lib/DraftEditor.react.js
 @ ./lib/Draft.js
./lib/DraftEditorTextNode.react.js
Module not found: Error: Can't resolve './react' in '/Users/james/xdev/draft-js/lib'
resolve './react' in '/Users/james/xdev/draft-js/lib'
  using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib/react)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react doesn't exist
      .wasm
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.wasm doesn't exist
      .mjs
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.mjs doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.json doesn't exist
      as directory
        /Users/james/xdev/draft-js/lib/react doesn't exist
[/Users/james/xdev/draft-js/lib/react]
[/Users/james/xdev/draft-js/lib/react.wasm]
[/Users/james/xdev/draft-js/lib/react.mjs]
[/Users/james/xdev/draft-js/lib/react.js]
[/Users/james/xdev/draft-js/lib/react.json]
 @ ./lib/DraftEditorTextNode.react.js 25:12-30
 @ ./lib/DraftEditorLeaf.react.js
 @ ./lib/DraftEditorBlock.react.js
 @ ./lib/Draft.js
./lib/DraftEditorBlockNode.react.js
Module not found: Error: Can't resolve './react' in '/Users/james/xdev/draft-js/lib'
resolve './react' in '/Users/james/xdev/draft-js/lib'
  using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib/react)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react doesn't exist
      .wasm
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.wasm doesn't exist
      .mjs
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.mjs doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.json doesn't exist
      as directory
        /Users/james/xdev/draft-js/lib/react doesn't exist
[/Users/james/xdev/draft-js/lib/react]
[/Users/james/xdev/draft-js/lib/react.wasm]
[/Users/james/xdev/draft-js/lib/react.mjs]
[/Users/james/xdev/draft-js/lib/react.js]
[/Users/james/xdev/draft-js/lib/react.json]
 @ ./lib/DraftEditorBlockNode.react.js 50:12-30
 @ ./lib/DraftEditorContentsExperimental.react.js
 @ ./lib/DraftEditorContents.react.js
 @ ./lib/DraftEditor.react.js
 @ ./lib/Draft.js
./lib/DraftEditorNode.react.js
Module not found: Error: Can't resolve './react' in '/Users/james/xdev/draft-js/lib'
resolve './react' in '/Users/james/xdev/draft-js/lib'
  using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib/react)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react doesn't exist
      .wasm
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.wasm doesn't exist
      .mjs
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.mjs doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.json doesn't exist
      as directory
        /Users/james/xdev/draft-js/lib/react doesn't exist
[/Users/james/xdev/draft-js/lib/react]
[/Users/james/xdev/draft-js/lib/react.wasm]
[/Users/james/xdev/draft-js/lib/react.mjs]
[/Users/james/xdev/draft-js/lib/react.js]
[/Users/james/xdev/draft-js/lib/react.json]
 @ ./lib/DraftEditorNode.react.js 28:12-30
 @ ./lib/DraftEditorBlockNode.react.js
 @ ./lib/DraftEditorContentsExperimental.react.js
 @ ./lib/DraftEditorContents.react.js
 @ ./lib/DraftEditor.react.js
 @ ./lib/Draft.js
./lib/DraftEditorDecoratedLeaves.react.js
Module not found: Error: Can't resolve './react' in '/Users/james/xdev/draft-js/lib'
resolve './react' in '/Users/james/xdev/draft-js/lib'
  using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /Users/james/xdev/draft-js/package.json (relative path: ./lib/react)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react doesn't exist
      .wasm
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.wasm doesn't exist
      .mjs
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.mjs doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /Users/james/xdev/draft-js/lib/react.json doesn't exist
      as directory
        /Users/james/xdev/draft-js/lib/react doesn't exist
[/Users/james/xdev/draft-js/lib/react]
[/Users/james/xdev/draft-js/lib/react.wasm]
[/Users/james/xdev/draft-js/lib/react.mjs]
[/Users/james/xdev/draft-js/lib/react.js]
[/Users/james/xdev/draft-js/lib/react.json]
 @ ./lib/DraftEditorDecoratedLeaves.react.js 28:12-30
 @ ./lib/DraftEditorNode.react.js
 @ ./lib/DraftEditorBlockNode.react.js
 @ ./lib/DraftEditorContentsExperimental.react.js
 @ ./lib/DraftEditorContents.react.js
 @ ./lib/DraftEditor.react.js
 @ ./lib/Draft.js

[13:43:58] The following tasks did not complete: default, <parallel>, <series>, <series>, outputDistMin, outputDist
[13:43:58] Did you forget to signal async completion?
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>build: `gulp`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      /Users/james/.npm/_logs/2021-08-11T12_43_58_272Z-debug.log
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

What is the expected behavior?
DraftJS should build correctly.
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
DraftJS 0.11.7
Node: 12
Yarn 1.22.4

me too

This broke after the following commit - db37abdcaa53f96e600c27dee61e4adee6f01476

Can we get some attention on this?

I'm also unable to build the package, I get the same error.

unable to build the package, I get the same error.

me too

It says build: error on the front page of the repo:

me too, anyone deal with this problem？

This one helped me: https://github.com/facebook/draft-js/issues/2864#issuecomment-996429585


Custom Worker for my own language

Hello,
I want to add a custom language worker, I don't want to use the existing ones for ts,js, html...,I want to create a new worker for my own language which will communicate with my language service, also I don't want to use monaco-languageclient because it uses an old version of monaco.
any help will be appreciated!
Thanks!

You have 2 issues with the same content

What are you trying to do with the worker? Provide language services? Highlighting? Something else?

There's pretty good documentation
https://microsoft.github.io/monaco-editor/api/modules/monaco.languages.html
You can also look at how monaco-languageclient is implemented and do the same thing

To elaborate on what @masad-frost said, https://microsoft.github.io/monaco-editor/api/modules/monaco.languages.html gives you several methods to register your own providers for certain editor functionalities, such as

registerCodeLensProvider
registerCompletionItemProvider
registerDocumentFormattingEditProvider
...

These providers return a ProviderResult:

A provider result represents the values a provider, like the HoverProvider, may return. For once this is the actual result type T, like Hover, or a thenable that resolves to that type T. In addition, null and undefined can be returned - either directly or from a thenable.

You register your own providers and return a promise, ie. return the actual provider result later. This also lets you query a web worker and return the result once the web worker is done. This approach leaves it up to you how you implement the web worker.
Here's a simple example you can try in the playground:
// Create a simple web worker
const workerScript = `
self.onmessage=function(e) {
    console.log("Worker: Receiving message", e.data);
    const data = {
        suggestions: [
            {
                label: "Foobar",
                detail: "Details for completion",
                insertText: "const x = 'Message from webworker';"
            }
        ]
    };
    postMessage({id: e.data.id, data: data, success: true});
}
`;
let blob;
try {
    blob = new Blob([workerScript], {type: 'application/javascript'});
} catch (e) { // Backwards-compatibility
    blob = new (window.BlobBuilder || window.WebKitBlobBuilder || window.MozBlobBuilder)();
    blob.append(workerScript);
    blob = blob.getBlob();
}
const worker = new Worker((window.URL || window.webkitURL).createObjectURL(blob));

// Handle messages from web worker
let id = 0;
/** @type {Map<string, {resolve: ()=>void, reject: ()=>void}>} */
const messageMap = new Map();
worker.onmessage = function(e) {
    console.log("Main: Receiving message", e.data);
    const promise = messageMap.get(e.data.id);
    if (promise) {
        messageMap.delete(e.data.id);
        if (e.data.success) promise.resolve(e.data.data);
        else promise.reject(e.data.data);
    }
}

// Register a completion item provider that queries the web worker
monaco.languages.registerCompletionItemProvider("javascript", {
    provideCompletionItems(model, position, context, token) {
        const currentId = ++id;
        const promise = new Promise((resolve, reject) => {
            messageMap.set(currentId, {resolve, reject});
        });
        worker.postMessage({id: currentId, data: undefined});
        return promise;
    },
    resolveCompletionItem(model, position, item, token) {
        return item;
    }
})

// Create a new monaco editor
monaco.editor.create(document.getElementById("container"), {
	value: "// Try typing 'Foobar'\n",
	language: "javascript"
});

Thanks guys


policies: Add check for dependency update configuration files

Implements the scorecard Dependency Update Tool check as an Allstar policy.
Fixes https://github.com/ossf/allstar/issues/113
Signed-off-by: Stephen Augustus<EMAIL_ADDRESS>

Heh, I copied the SECURITY.md policy and assumed this was a little simpler than it was (roughly a graphql query for some URL).
This actually more closely mimics the logic for branch protection.
We'll likely want to:

get a repo
get if automated alerts enabled
get file .github/dependabot.yml

Looking good so far, let me know if you want an early review, or have any questions about anything.

Turns out scorecard already has a policy for this: https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
So this is roughly copy/paste of the Binary Artifacts policy logic and now ready for review 🤞🏾 :)

So this is roughly copy/paste of the Binary Artifacts policy logic

Oh ok, so I actually have a couple of issues with this unfortunately.
For Scorecard integration, the initial thought was #22 and that policy would list the names of the checks. A main driver is that we didn't want to be downloading the repo tarball multiple times in Allstar. Also, to share code.
However, with the scorecard action that launched, it looks like a better path is #28. This will essentially enforce all checks in scorecard.
I do still think we can and should have a dependabot/renovatebot policy in Allstar if we gain anything by having access to the GitHub API, which scorecard does not get.

FYI scorecard maintainers (@inferno-chromium @laurentsimon @naveensrinivasan @azeemshaikh38) --
I'm working on a refactor of the scorecard cmd to more easily allow consumers access to the same options that the CLI tool has. Once it's tighter, I'll lift it in the scorecard repo.
Opting to work in a temp directory in this PR because:

I'm not positive of the final locations for various things
It's cumbersome to do the changes, push to https://github.com/ossf/scorecard/pull/1645, then grab the new SHA here

FYI scorecard maintainers (@inferno-chromium @laurentsimon @naveensrinivasan @azeemshaikh38) --
I'm working on a refactor of the scorecard cmd to more easily allow consumers access to the same options that the CLI tool has. Once it's tighter, I'll lift it in the scorecard repo.
Opting to work in a temp directory in this PR because:

I'm not positive of the final locations for various things
It's cumbersome to do the changes, push to ✨ [WIP] Miscellaneous refactors to ease downstream consumption scorecard#1645, then grab the new SHA here

I'm not sure I fully understand what this PR in AllStar is trying to achieve. Could you elaborate on:

what's the goal in this PR
how does it tie in with #28 which seems is the long term plan for AllStar


Added Nest Asyncio to Opensearch Client Init to Support ASGI applicat…

…ions
Description
The recent updates in 0.10.15 added support for async Opensearch. This worked perfectly within normal Python scripts, however, using the OpensearchVectorStore inside an ASGI application like a FastAPI app served with Uvicorn caused the following runtime error:
RuntimeError: this event loop is already running.
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f51d4335040>

Type of Change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Added new unit/integration tests
[ ] Added new notebook (that tests end-to-end)
[x] I stared at the code and made sure it makes sense

Suggested Checklist:

[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added Google Colab support for the newly added notebooks.
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I ran make format; make lint to appease the lint gods

@bwhartlove if you bump the version in the pyproject.toml for the package, it will be published as soon as it merges

Roger, bumped the version to 0.1.6.


K8SPG-383 fix pmm secret label

CHANGE DESCRIPTION
Problem:
Short explanation of the problem.
Add labels to pmm secret always (even if key is empty)
Cause:
Short explanation of the root cause of the issue if applicable.
Solution:
Short explanation of the solution we are providing with this PR.
CHECKLIST
Jira

[ ] Is the Jira ticket created and referenced properly?
[ ] Does the Jira ticket have the proper statuses for documentation (Needs Doc) and QA (Needs QA)?
[ ] Does the Jira ticket link to the proper milestone (Fix Version field)?

Tests

[ ] Is an E2E test/test case added for the new feature/change?
[ ] Are unit tests added where appropriate?

Config/Logging/Testability

[ ] Are all needed new/changed options added to default YAML files?
[ ] Are the manifests (crd/bundle) regenerated if needed?
[ ] Did we add proper logging messages for operator actions?
[ ] Did we ensure compatibility with the previous version or cluster upgrade process?
[ ] Does the change support oldest and newest supported PG version?
[ ] Does the change support oldest and newest supported Kubernetes version?

Test name
Status

init-deploy
passed

demand-backup
passed

scaling
passed

scheduled-backup
passed

start-from-backup
passed

monitoring
passed

telemetry-transfer
passed

users
failed

We run 8 out of 8

commit: https://github.com/percona/percona-postgresql-operator/pull/468/commits/eca96e7ddaa581f2ecc246beb474193df435a8ee
image: perconalab/percona-postgresql-operator:PR-468-eca96e7dd

Test name
Status

init-deploy
passed

demand-backup
passed

scaling
passed

scheduled-backup
passed

start-from-backup
passed

monitoring
failed

telemetry-transfer
passed

users
failed

We run 8 out of 8

commit: https://github.com/percona/percona-postgresql-operator/pull/468/commits/94e3788472722e9e3c038a55434a7139fd2e314f
image: perconalab/percona-postgresql-operator:PR-468-94e378847

Test name
Status

init-deploy
passed

demand-backup
passed

scaling
passed

scheduled-backup
passed

start-from-backup
passed

monitoring
passed

telemetry-transfer
passed

users
failed

We run 8 out of 8

commit: https://github.com/percona/percona-postgresql-operator/pull/468/commits/6ea6b5fe24bce620b6d9cb4e7cda2c3cce814644
image: perconalab/percona-postgresql-operator:PR-468-6ea6b5fe2

Test name
Status

init-deploy
passed

demand-backup
passed

scaling
passed

scheduled-backup
passed

start-from-backup
passed

monitoring
passed

telemetry-transfer
passed

users
failed

We run 8 out of 8

commit: https://github.com/percona/percona-postgresql-operator/pull/468/commits/4b191795a97cc5b25e6a0545ad1f6c3a862083f4
image: perconalab/percona-postgresql-operator:PR-468-4b191795a

Test name
Status

init-deploy
passed

demand-backup
passed

scaling
passed

scheduled-backup
passed

start-from-backup
passed

monitoring
passed

telemetry-transfer
passed

users
failed

We run 8 out of 8

commit: https://github.com/percona/percona-postgresql-operator/pull/468/commits/4b191795a97cc5b25e6a0545ad1f6c3a862083f4
image: perconalab/percona-postgresql-operator:PR-468-4b191795a


hubot deploys app/branch in env ignores branch

Seems like this is not a bug, just not implemented yet. Figure I'd add a ticket to track it

Yeah, I'm not sure if I want to add this.  Non-master branches tend to be short lived, so I wanted this to reflect the most recent deployments across all branches in an environment.

SGTM. May want to simply update the help messages to reflect this. Thanks!


Need to decide on intent of the Makefile

This conversation started in #89 . What features do we actually want to have in the Makefile for the final "release"? Should we still have code to download new data?

I think I got a little lost in this conversation during class. I think it would be good for reproducibility purposes to show (either an outside user or ourselves at a later date) exactly what we did to download the data. So having a command that does this is good.
I think we should just be clear what that command is doing (downloading new data that is similar to what we used but not exactly the same) and have a record of the actual data that we used so that our visualizations are backed up. This way a user can download new data if they want, see how we originally downloaded the data, but still see the exact csv's we used at the point in time the visuals were made.
Is this along the lines of what y'all were thinking?

Closed in class conversation and by #94


Improve documentation for all operations.

Improve the description of when std::runtime_error is raised.
Described when the operations are idempotent.
In the cases where there are multiple examples use a paragraph for each
one so they are more readable in the generated pages.
Some stuff was not formatted right because of missing backticks.

This change is

/cc: @houglum

PTAL.

PTAL.


Cannot install jupyterlab-vim

When trying to install this, I get the following error:
❯ jupyter labextension install jupyterlab-vim
An error occurred.
ValueError: "jupyterlab-vim" is not a valid npm package

Not sure how to resolve, any help would be appreciated.
(Issue 97 didn't help me, as I wasn't sure what removing the HTTPS proxy meant)

This is abandoned. Use this instead.


scripts: Add spec.py check for ext changes

When the surrounding asciidoctor conditionals of a VUID change it may
impact validation even if the VUID text does not change.  Detect this in
spec.py and flag for manual intervention.
Change-Id: Idf802955ba9bbfe911edd4114fb28bdddf5fcc9b

The change is fine but the hard out w/ manual intervention is tough if this happens much. Is the intended manual action to update the validation code immediately and then change DB file to have new extension text so that error is gone for re-run?

The idea with the hard exit is to break the update process similar to what currently happens when a VUID changes and the build or doc validator or vuid_mapping fails.  The remedy is exactly as you described.  I don't have any data for how often this happens, but my hunch is that it is rare and many of the cases will be semantically equivalent DB updates with no code changes.
If it becomes too frequent we can print a warning and NOT update the ext column.  Then there would be a periodic task to work through the warnings in batches but it wouldn't block the header update.


Add Fjell Undomskule

Institution/School Name
Fjell Ungdomskule
Instiution/School Website
https://www.oygarden.kommune.no/fjellungdomsskule/
Email Users
Please place an x between the square brackets if yes

[ X] Students
[ ] Academic/Teaching Staff
[ ] Other/Support Staff
[ ] Alumni

Education Levels
Please place an x between the square brackets if yes

[ ] Post-graduate research
[ ] Graduate School
[ ] College (University) or Undergraduate School or equivalent
[ ] Community College or equivalent
[ ] High School or equivalent
[ X] Elementary School or equivalent

format of email: "first 3 initial of first name""first 3 initial of last name""number".oygardenskule.no
example<EMAIL_ADDRESS>

@Zondyz First stage of verification passed, official domain is oygarden.kommune.no as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision. Proof of domain ownership: https://www.oygarden.kommune.no/spildepollenskule/_f/p68/i45e5ff09-bfe6-4506-9bab-d466a0920926/spildepollen-3-44-1.pdf

@Zondyz Thank you for your patience while waiting for a review and processing your request. Pull request merged.