Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

prepare 5.0.2 release #98

Merged
merged 7 commits into from
Jun 15, 2018
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,21 @@ Quick setup

var ld_client = LaunchDarkly.init("YOUR SDK KEY")

HTTPS proxy
------------

Node provides built-in support for the use of an HTTPS proxy. You can use NPM to configure Node to proxy all network requests through the URL provided.
```
npm config set https-proxy https://web-proxy.domain.com:8080
```


If your proxy requires authentication then you can prefix the URN with your login information:
```
npm config set https-proxy http://user:pass@web-proxy.domain.com:8080
```


Your first feature flag
-----------------------

Expand Down
7 changes: 3 additions & 4 deletions eventsource.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// taken from https://github.com/aslakhellesoy/eventsource-node/blob/v0.1.6/package.json

var original = require('original')
, parse = require('url').parse
var parse = require('url').parse
, events = require('events')
, https = require('https')
, http = require('http')
Expand Down Expand Up @@ -206,8 +205,8 @@ function EventSource(url, eventSourceInitDict) {
var type = eventName || 'message';
_emit(type, new MessageEvent(type, {
data: data.slice(0, -1), // remove trailing newline
lastEventId: lastEventId,
origin: original(url)
lastEventId: lastEventId
//origin: original(url) // we're not using this - removed it so we can drop the dependency on "original"
}));
data = '';
}
Expand Down
27 changes: 0 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"lrucache": "^1.0.3",
"node-cache": "^3.2.1",
"node-sha1": "0.0.1",
"original": "~0.0.8",
"redis": "^2.6.0-2",
"request": "2.85.0",
"request-etag": "^2.0.3",
Expand Down