Skip to content

Instantly share code, notes, and snippets.

@Leko

Leko/errors.md Secret

Last active October 1, 2020 15:38
Show Gist options
  • Save Leko/8e2e969d87d6a16f18da98619016f65a to your computer and use it in GitHub Desktop.
Save Leko/8e2e969d87d6a16f18da98619016f65a to your computer and use it in GitHub Desktop.
Temporary materials
/Users/leko/ghq/github.com/Leko/node/lib/assert.js
  267:20  error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  270:3   error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  275:3   error  Use `const { ErrorCaptureStackTrace } = primordials;` instead of the global  node-core/prefer-primordials
  276:3   error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  313:5   error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  357:5   error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  794:7   error  Use `const { ErrorIsPrototypeOf } = primordials;` instead of the global      node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/buffer.js
  337:30  error  Use `const { Uint8Array } = primordials;` instead of the global  node-core/prefer-primordials
  390:44  error  Use `const { Uint8Array } = primordials;` instead of the global  node-core/prefer-primordials
  391:34  error  Use `const { Uint8Array } = primordials;` instead of the global  node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/events.js
  294:9  error  Use `const { ErrorCaptureStackTrace } = primordials;` instead of the global  node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/internal/abort_controller.js
  27:16  error  Use `const { ObjectAssign } = primordials;` instead of the global            node-core/prefer-primordials
  44:1   error  Use `const { ObjectDefineProperties } = primordials;` instead of the global  node-core/prefer-primordials
  78:1   error  Use `const { ObjectDefineProperties } = primordials;` instead of the global  node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/internal/assert/assertion_error.js
  324:19  error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  325:5   error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  420:5   error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  447:5   error  Use `const { ErrorCaptureStackTrace } = primordials;` instead of the global  node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/internal/async_hooks.js
  163:5  error  Use `const { ErrorCaptureStackTrace } = primordials;` instead of the global  node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/internal/buffer.js
  38:31  error  Use `const { Uint8Array } = primordials;` instead of the global    node-core/prefer-primordials
  39:26  error  Use `const { Float64Array } = primordials;` instead of the global  node-core/prefer-primordials
  40:31  error  Use `const { Uint8Array } = primordials;` instead of the global    node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/internal/console/constructor.js
  392:5  error  Use `const { ErrorCaptureStackTrace } = primordials;` instead of the global  node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/internal/encoding.js
   72:19  error  Use `const { Uint8Array } = primordials;` instead of the global   node-core/prefer-primordials
  318:31  error  Use `const { Uint32Array } = primordials;` instead of the global  node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/internal/errors.js
  138:21  error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  139:7   error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  142:7   error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  255:21  error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  256:7   error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  259:7   error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  305:5   error  Use `const { ErrorCaptureStackTrace } = primordials;` instead of the global  node-core/prefer-primordials
  419:20  error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  420:3   error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  425:3   error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  443:3   error  Use `const { ErrorCaptureStackTrace } = primordials;` instead of the global  node-core/prefer-primordials
  472:20  error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  473:3   error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  476:3   error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  486:3   error  Use `const { ErrorCaptureStackTrace } = primordials;` instead of the global  node-core/prefer-primordials
  515:3   error  Use `const { ErrorCaptureStackTrace } = primordials;` instead of the global  node-core/prefer-primordials
  550:20  error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  551:3   error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  554:3   error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  564:3   error  Use `const { ErrorCaptureStackTrace } = primordials;` instead of the global  node-core/prefer-primordials
  597:20  error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  598:3   error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  601:3   error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  610:3   error  Use `const { ErrorCaptureStackTrace } = primordials;` instead of the global  node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/internal/event_target.js
   35:25  error  Use `const { SymbolFor } = primordials;` instead of the global               node-core/prefer-primordials
   92:18  error  Use `const { ObjectAssign } = primordials;` instead of the global            node-core/prefer-primordials
  154:1   error  Use `const { ObjectDefineProperty } = primordials;` instead of the global    node-core/prefer-primordials
  372:18  error  Use `const { ObjectAssign } = primordials;` instead of the global            node-core/prefer-primordials
  380:1   error  Use `const { ObjectDefineProperties } = primordials;` instead of the global  node-core/prefer-primordials
  385:1   error  Use `const { ObjectDefineProperty } = primordials;` instead of the global    node-core/prefer-primordials
  480:1   error  Use `const { ObjectDefineProperties } = primordials;` instead of the global  node-core/prefer-primordials
  548:3   error  Use `const { ObjectDefineProperty } = primordials;` instead of the global    node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/internal/freeze_intrinsics.js
   23:1   error  Unused eslint-disable directive (no problems were reported from 'no-restricted-globals')
   51:34  error  Use `const { SymbolIterator } = primordials;` instead of the global                       node-core/prefer-primordials
   54:32  error  Use `const { SymbolIterator } = primordials;` instead of the global                       node-core/prefer-primordials
   56:33  error  Use `const { SymbolIterator } = primordials;` instead of the global                       node-core/prefer-primordials
   58:30  error  Use `const { SymbolIterator } = primordials;` instead of the global                       node-core/prefer-primordials
   60:30  error  Use `const { SymbolIterator } = primordials;` instead of the global                       node-core/prefer-primordials
  135:34  error  Use `const { SymbolIterator } = primordials;` instead of the global                       node-core/prefer-primordials
  138:32  error  Use `const { SymbolIterator } = primordials;` instead of the global                       node-core/prefer-primordials
  140:33  error  Use `const { SymbolIterator } = primordials;` instead of the global                       node-core/prefer-primordials
  142:30  error  Use `const { SymbolIterator } = primordials;` instead of the global                       node-core/prefer-primordials
  144:30  error  Use `const { SymbolIterator } = primordials;` instead of the global                       node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/internal/fs/promises.js
  158:14  error  Use `const { PromiseResolve } = primordials;` instead of the global  node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/internal/fs/utils.js
  297:5  error  Use `const { ErrorCaptureStackTrace } = primordials;` instead of the global  node-core/prefer-primordials
  305:5  error  Use `const { ErrorCaptureStackTrace } = primordials;` instead of the global  node-core/prefer-primordials
  690:7  error  Use `const { NumberIsInteger } = primordials;` instead of the global         node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/internal/http2/util.js
  462:25  error  Use `const { StringFromCharCode } = primordials;` instead of the global  node-core/prefer-primordials
  462:25  error  Use `const { String } = primordials;` instead of the global              node-core/prefer-primordials
  463:24  error  Use `const { StringFromCharCode } = primordials;` instead of the global  node-core/prefer-primordials
  463:24  error  Use `const { String } = primordials;` instead of the global              node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/internal/main/print_help.js
    3:1   error  Unused eslint-disable directive (no problems were reported from 'no-restricted-globals')
    6:19  error  Use `const { Boolean } = primordials;` instead of the global                              node-core/prefer-primordials
   13:19  error  Use `const { ObjectKeys } = primordials;` instead of the global                           node-core/prefer-primordials
   19:21  error  Use `const { Map } = primordials;` instead of the global                                  node-core/prefer-primordials
  130:26  error  Use `const { MathMax } = primordials;` instead of the global                              node-core/prefer-primordials
  157:17  error  Use `const { MathMax } = primordials;` instead of the global                              node-core/prefer-primordials
  158:23  error  Use `const { MathFloor } = primordials;` instead of the global                            node-core/prefer-primordials
  159:24  error  Use `const { MathFloor } = primordials;` instead of the global                            node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/internal/modules/cjs/loader.js
  712:38  error  Use `const { Object } = primordials;` instead of the global  node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/internal/per_context/primordials.js
    3:1   error  Unused eslint-disable directive (no problems were reported from 'no-restricted-globals')
   15:22  error  Use `const { ReflectApply } = primordials;` instead of the global                         node-core/prefer-primordials
   15:22  error  Use `const { Reflect } = primordials;` instead of the global                              node-core/prefer-primordials
   29:21  error  Use `const { ReflectOwnKeys } = primordials;` instead of the global                       node-core/prefer-primordials
   30:10  error  Use `const { ReflectGetOwnPropertyDescriptor } = primordials;` instead of the global      node-core/prefer-primordials
   31:7   error  Use `const { ReflectDefineProperty } = primordials;` instead of the global                node-core/prefer-primordials
   34:9   error  Use `const { ReflectGetOwnPropertyDescriptor } = primordials;` instead of the global      node-core/prefer-primordials
   40:21  error  Use `const { ReflectOwnKeys } = primordials;` instead of the global                       node-core/prefer-primordials
   42:7   error  Use `const { ReflectDefineProperty } = primordials;` instead of the global                node-core/prefer-primordials
   45:9   error  Use `const { ReflectGetOwnPropertyDescriptor } = primordials;` instead of the global      node-core/prefer-primordials
   51:21  error  Use `const { ReflectOwnKeys } = primordials;` instead of the global                       node-core/prefer-primordials
   53:20  error  Use `const { ReflectGetOwnPropertyDescriptor } = primordials;` instead of the global      node-core/prefer-primordials
   57:7   error  Use `const { ReflectDefineProperty } = primordials;` instead of the global                node-core/prefer-primordials
   67:21  error  Use `const { ReflectOwnKeys } = primordials;` instead of the global                       node-core/prefer-primordials
   69:20  error  Use `const { ReflectGetOwnPropertyDescriptor } = primordials;` instead of the global      node-core/prefer-primordials
   73:7   error  Use `const { ReflectDefineProperty } = primordials;` instead of the global                node-core/prefer-primordials
   84:3   error  Use `const { ObjectSetPrototypeOf } = primordials;` instead of the global                 node-core/prefer-primordials
   85:3   error  Use `const { ObjectFreeze } = primordials;` instead of the global                         node-core/prefer-primordials
   86:3   error  Use `const { ObjectFreeze } = primordials;` instead of the global                         node-core/prefer-primordials
   93:3   error  Use `const { Map } = primordials;` instead of the global                                  node-core/prefer-primordials
   97:3   error  Use `const { WeakMap } = primordials;` instead of the global                              node-core/prefer-primordials
  101:3   error  Use `const { Set } = primordials;` instead of the global                                  node-core/prefer-primordials
  105:3   error  Use `const { Promise } = primordials;` instead of the global                              node-core/prefer-primordials
  166:1   error  Use `const { ObjectSetPrototypeOf } = primordials;` instead of the global                 node-core/prefer-primordials
  166:1   error  Use `const { Object } = primordials;` instead of the global                               node-core/prefer-primordials
  167:1   error  Use `const { ObjectFreeze } = primordials;` instead of the global                         node-core/prefer-primordials
  167:1   error  Use `const { Object } = primordials;` instead of the global                               node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/internal/process/promises.js
  239:15  error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global  node-core/prefer-primordials
  240:3   error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global  node-core/prefer-primordials
  243:3   error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global  node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/internal/process/warning.js
  156:25  error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  157:3   error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  160:3   error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  165:3   error  Use `const { ErrorCaptureStackTrace } = primordials;` instead of the global  node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/internal/quic/core.js
   245:21  error  Use `const { SymbolFor } = primordials;` instead of the global  node-core/prefer-primordials
  1023:17  error  Use `const { ArrayFrom } = primordials;` instead of the global  node-core/prefer-primordials
  1473:12  error  Use `const { ArrayFrom } = primordials;` instead of the global  node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/internal/readline/utils.js
  327:18  error  Use `const { StringFromCharCode } = primordials;` instead of the global  node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/internal/util/inspect.js
  135:26  error  Use `const { Uint8Array } = primordials;` instead of the global  node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/internal/util/types.js
  11:50  error  Use `const { Uint8Array } = primordials;` instead of the global  node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/internal/vm/module.js
  241:29  error  Use `const { SymbolToStringTag } = primordials;` instead of the global  node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/internal/worker.js
  389:33  error  Use `const { Float64Array } = primordials;` instead of the global  node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/os.js
  92:23  error  Use `const { Float64Array } = primordials;` instead of the global  node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/repl.js
  503:27  error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  504:15  error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  506:15  error  Use `const { ErrorStackTraceLimit } = primordials;` instead of the global    node-core/prefer-primordials
  560:20  error  Use `const { ErrorPrepareStackTrace } = primordials;` instead of the global  node-core/prefer-primordials
  561:18  error  Use `const { ErrorPrepareStackTrace } = primordials;` instead of the global  node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/timers.js
  164:1  error  Use `const { ObjectDefineProperty } = primordials;` instead of the global  node-core/prefer-primordials
  265:1  error  Use `const { ObjectDefineProperty } = primordials;` instead of the global  node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/tls.js
  143:27  error  Use `const { StringFromCharCode } = primordials;` instead of the global  node-core/prefer-primordials

/Users/leko/ghq/github.com/Leko/node/lib/zlib.js
  784:35  error  Use `const { Uint32Array } = primordials;` instead of the global  node-core/prefer-primordials

✖ 137 problems (137 errors, 0 warnings)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment