Comparing version 0.0.2 to 0.1.0
@@ -7,4 +7,3 @@ #!/usr/bin/env node | ||
var _ = require("highland"), | ||
handlebars = require("handlebars"), | ||
yaml = require("js-yaml"); | ||
handlebars = require("handlebars"); | ||
@@ -35,8 +34,2 @@ if (process.env.DATABASE_URL) { | ||
}) | ||
.map(function(body) { | ||
return yaml.safeLoad(body); | ||
}) | ||
.map(function(body) { | ||
return JSON.stringify(body, null, " "); | ||
}) | ||
.pipe(process.stdout); |
{ | ||
"name": "interp", | ||
"version": "0.0.2", | ||
"description": "Interpolate environment vars into mustache YAML templates", | ||
"version": "0.1.0", | ||
"description": "Interpolate environment vars into mustache templates", | ||
"author": "Seth Fitzsimmons <seth@mojodna.net>", | ||
"license": "ISC", | ||
"bin": "index.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/stamen/interp.git" | ||
}, | ||
"dependencies": { | ||
"handlebars": "^2.0.0-alpha.4", | ||
"highland": "^1.25.4", | ||
"js-yaml": "^2.1.3" | ||
"handlebars": "^2.0.0-beta.1", | ||
"highland": "^1.28.0" | ||
} | ||
} |
# interp | ||
Interpolate environment variables into [mustache](http://mustache.github.io/) | ||
YAML templates provided to `STDIN` and output them as JSON. | ||
templates provided to `STDIN`. | ||
@@ -12,7 +12,1 @@ ## Special Environment Variables | ||
preferring those that have already been set. | ||
## TODO | ||
* Eliminate the YAML assumption | ||
([`js-yaml`'s](https://github.com/nodeca/js-yaml) binary doesn't know how to | ||
read from `STDIN`, at least in 3.1.0). |
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
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
2
4
13
1947
25
12
- Removedjs-yaml@^2.1.3
- Removedargparse@0.1.16(transitive)
- Removedesprima@1.0.4(transitive)
- Removedjs-yaml@2.1.3(transitive)
- Removedunderscore@1.7.0(transitive)
- Removedunderscore.string@2.4.0(transitive)
Updatedhandlebars@^2.0.0-beta.1
Updatedhighland@^1.28.0