Comparing version 1.0.2 to 1.0.3
@@ -190,3 +190,3 @@ // Generated by CoffeeScript 1.10.0 | ||
var port, portString; | ||
portString = process.env.VCAP_APP_PORT || process.env.PORT; | ||
portString = process.env.PORT || process.env.CF_INSTANCE_PORT || process.env.VCAP_APP_PORT; | ||
if (portString == null) { | ||
@@ -252,3 +252,3 @@ if (appEnv.name == null) { | ||
if (uris == null) { | ||
throwError("expecting VCAP_APPLICATION to contain uris when not runninng locally"); | ||
uris = ["localhost"]; | ||
} | ||
@@ -255,0 +255,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"description": "easy access to your Cloud Foundry application environment", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"author": "pmuellr", | ||
@@ -8,0 +8,0 @@ "license": "Apache-2.0", |
@@ -15,3 +15,2 @@ cfenv - easy access to your Cloud Foundry application environment | ||
quick start | ||
@@ -35,3 +34,2 @@ ================================================================================ | ||
running in Cloud Foundry vs locally | ||
@@ -53,3 +51,2 @@ ================================================================================ | ||
api | ||
@@ -61,3 +58,2 @@ ================================================================================ | ||
`getAppEnv(options)` | ||
@@ -133,2 +129,4 @@ -------------------------------------------------------------------------------- | ||
When running in Cloud Foundry, the `url` and `urls` values will have | ||
`localhost` as their hostname, if the actual hostnames cannot be determined. | ||
@@ -311,36 +309,11 @@ | ||
hacking | ||
changes | ||
================================================================================ | ||
If you want to modify the source to play with it, you'll also want to have the | ||
`jbuild` program installed. | ||
**1.0.3** - 2014/10/02 | ||
To install `jbuild` on Windows, use the command | ||
- fixes for compatibility with Diego - [issue #11][] | ||
npm -g install jbuild | ||
[issue #11]: https://github.com/cloudfoundry-community/node-cfenv/issues/11 | ||
To install `jbuild` on Mac or Linux, use the command | ||
sudo npm -g install jbuild | ||
The `jbuild` command runs tasks defined in the `jbuild.coffee` file. The | ||
task you will most likely use is `watch`, which you can run with the | ||
command: | ||
jbuild watch | ||
When you run this command, the application will be built from source, the server | ||
started, and tests run. When you subsequently edit and then save one of the | ||
source files, the application will be re-built, the server re-started, and the | ||
tests re-run. For ever. Use Ctrl-C to exit the `jbuild watch` loop. | ||
You can run those build, server, and test tasks separately. Run `jbuild` | ||
with no arguments to see what tasks are available, along with a short | ||
description of them. | ||
changes | ||
================================================================================ | ||
**1.0.2** - 2014/09/29 | ||
@@ -353,3 +326,3 @@ | ||
- remove node_modules from .cfignore - [issue #8](https://github.com/cloudfoundry-community/node-cfenv/issues/8) | ||
- remove node_modules from .cfignore - [issue #8][] | ||
- updated package dependencies | ||
@@ -359,2 +332,4 @@ - changed README.md to correct sample service to cf-env-test | ||
[issue #8]: https://github.com/cloudfoundry-community/node-cfenv/issues/8 | ||
**1.0.0** - 2014/09/03 | ||
@@ -364,2 +339,3 @@ | ||
license | ||
@@ -366,0 +342,0 @@ ================================================================================ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
73716
19
338
8