Skip to content

Code And Learn 2018 #1

Closed
Closed
@hiroppy

Description

@hiroppy

[lib]: Convert to Arrow Function

  • lib/_http_client.js
  • lib/_http_common.js
  • lib/_http_outgoing.js
  • lib/_stream_readable.js
  • lib/_tls_common.js
  • lib/fs.js
  • lib/internal/bootstrap_node.js
  • lib/internal/child_process.js
  • lib/internal/crypto/cipher.js
  • lib/internal/process.js
  • lib/internal/process/warning.js
  • lib/internal/repl.js:148
  • lib/internal/socket_list.js
  • lib/internal/streams/async_iterator.js
  • lib/internal/v8_prof_processor.js
  • lib/net.js
  • lib/punycode.js
  • lib/readline.js
  • lib/repl.js
  • lib/zlib.js

[src]: deprecated V8 API migration (ref)

  • src/bootstrapper.cc
  • src/node_serdes.cc
  • src/node_util.cc
  • src/string_decoder.cc
  • src/timer_wrap.cc
  • src/uv.cc

[test]: assert.strictEqual (ref)

  • test/parallel/test-child-process-cwd.js
  • test/parallel/test-buffer-alloc.js
  • test/parallel/test-crypto-fips.js
  • test/parallel/test-crypto-lazy-transform-writable.js
  • test/parallel/test-event-emitter-remove-all-listeners.js
  • test/parallel/test-file-write-stream.js
  • test/parallel/test-fs-write-buffer.js
  • test/parallel/test-fs-write-string-coerce.js
  • test/parallel/test-fs-write.js
  • test/parallel/test-http-1.0.js
  • test/parallel/test-http-default-encoding.js
  • test/parallel/test-http-parser.js
  • test/parallel/test-http-pause.js
  • test/parallel/test-http-request-end.js
  • test/parallel/test-http-upgrade-agent.js
  • test/parallel/test-http-upgrade-client.js
  • test/parallel/test-http.js
  • test/parallel/test-http2-binding.js
  • test/parallel/test-http2-multiheaders-raw.js
  • test/parallel/test-readline.js
  • test/parallel/test-repl-envvars.js
  • test/parallel/test-repl-persistent-history.js
  • test/parallel/test-repl-underscore.js
  • test/parallel/test-stream-readable-destroy.js
  • test/parallel/test-stream-writable-destroy.js
  • test/parallel/test-stream-writev.js
  • test/parallel/test-stream2-basic.js
  • test/parallel/test-util-deprecate.js
  • test/pummel/test-http-many-keep-alive-connections.js

[docs]: replace anonymous function with arrow function (ref)

  • doc/api/async_hooks.md
  • doc/api/errors.md
  • doc/api/util.md
  • doc/api/v8.md
  • doc/guides/writing-and-running-benchmarks.md
  • doc/guides/writing-tests.md

[docs]: typo

  • Typo "this this" doc/api/http2.md:973

Others

Let’s rename all error arguments in documentation to err

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions