Skip to content
Browse files

docs: replace the headers URL with (#18328)

  • Loading branch information...
MarshallOfSound authored and zcbenz committed May 21, 2019
1 parent d1207e9 commit e73a0e6cc66665d83242e263bc8718c42ffd7c7e
@@ -8,6 +8,16 @@ The `FIXME` string is used in code comments to denote things that should be fixe

## Planned Breaking API Changes (7.0)

### Node Headers URL

This is the URL specified as `disturl` in a `.npmrc` file or as the `--dist-url`
command line flag when building native Node modules. Both will be supported for
the forseeable future but it is reccomened that you switch.


Replace with:

### `session.clearAuthCache(options)`

The `session.clearAuthCache` API no longer accepts options for what to clear, and instead unconditionally clears the whole cache.
@@ -55,7 +55,7 @@ export npm_config_target=1.2.3
export npm_config_arch=x64
export npm_config_target_arch=x64
# Download headers for Electron.
export npm_config_disturl=
export npm_config_disturl=
# Tell node-pre-gyp that we are building for Electron.
export npm_config_runtime=electron
# Tell node-pre-gyp to build module from source code.
@@ -72,7 +72,7 @@ use `node-gyp` directly to build for Electron:

cd /path-to-module/
HOME=~/.electron-gyp node-gyp rebuild --target=1.2.3 --arch=x64 --dist-url=
HOME=~/.electron-gyp node-gyp rebuild --target=1.2.3 --arch=x64 --dist-url=

* `HOME=~/.electron-gyp` changes where to find development headers.
@@ -53,4 +53,4 @@ void Initialize(v8::Handle<v8::Object> exports) {

@@ -10,7 +10,7 @@
from lib.config import s3_config
from lib.util import download, rm_rf, s3put, safe_mkdir


def main():
@@ -2,7 +2,7 @@ var app = require('electron').app
var fs = require('fs')
var request = require('request')

var TARGET_URL = ''
var TARGET_URL = ''

function getDate () {
var today = new Date()

0 comments on commit e73a0e6

Please sign in to comment.
You can’t perform that action at this time.