Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 60c8115f6347d469a43a843fbef3aa2c19bbf3a4
Choose a base ref
...
head repository: nodejs/node
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3f27f02da04b70120b397eeee904ff92784644ac
Choose a head ref
  • 2 commits
  • 4 files changed
  • 1 contributor

Commits on Mar 7, 2017

  1. repl: remove magic mode semantics

    The workaround used in repl to support `let` and `const` in non-strict
    mode (known as "magic" mode) has been unnecessary since V8 v4.9 /
    Node.js v6.0.0. This commit functionally removes this workaround.
    
    PR-URL: #11599
    Refs: https://v8project.blogspot.com/2016/01/v8-release-49.html
    Refs: https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V6.md#6.0.0
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
    TimothyGu committed Mar 7, 2017
    Configuration menu
    Copy the full SHA
    b77c890 View commit details
    Browse the repository at this point in the history
  2. repl: docs-only deprecation of magic mode

    The workaround used in repl to support `let` and `const` in non-strict
    mode (known as "magic" mode) has been unnecessary since V8 v4.9 /
    Node.js v6.0.0. This commit doc-deprecate magic mode (which is now
    entirely equivalent to sloppy mode) in both `repl` module and in
    `internal/repl`, which is responsible for starting the REPL in `node`
    interactive mode.
    
    PR-URL: #11599
    Refs: https://v8project.blogspot.com/2016/01/v8-release-49.html
    Refs: https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V6.md#6.0.0
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
    TimothyGu committed Mar 7, 2017
    Configuration menu
    Copy the full SHA
    3f27f02 View commit details
    Browse the repository at this point in the history
Loading