gulp-yaml-include
Advanced tools
Comparing version 0.2.0 to 0.2.1
# Change Log | ||
## [0.2.1] - 2018-06-17 | ||
### Added | ||
- license infomation | ||
- add compare view's link in changelog | ||
### Changed | ||
- `new Buffer` to `Buffer.from` | ||
## [0.2.0] - 2017-01-02 | ||
@@ -10,2 +19,3 @@ ### Fixed | ||
## [0.1.1] - 2015-10-25 | ||
@@ -15,2 +25,8 @@ ### Changed | ||
## [0.1.0] - 2015-08-11 | ||
## 0.1.0 - 2015-08-11 | ||
[0.2.1]: https://github.com/aaharu/gulp-yaml-include/compare/v0.2.0...v0.2.1 | ||
[0.2.0]: https://github.com/aaharu/gulp-yaml-include/compare/v0.1.1...v0.2.0 | ||
[0.1.1]: https://github.com/aaharu/gulp-yaml-include/compare/v0.1.0...v0.1.1 |
{ | ||
"name": "gulp-yaml-include", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "A gulp plugin for yaml-include.", | ||
"main": "./src/index.js", | ||
"scripts": { | ||
"test": "mocha tests", | ||
"coverage": "istanbul cover $(npm bin)/_mocha tests --report lcovonly -- -R spec && cat ./coverage/lcov.info | $(npm bin)/coveralls && rm -rf ./coverage" | ||
"test": "istanbul cover $(npm bin)/_mocha tests --report lcovonly -- -R spec" | ||
}, | ||
@@ -22,9 +21,9 @@ "repository": { | ||
"devDependencies": { | ||
"coveralls": "^2.11.15", | ||
"eslint": "^3.12.2", | ||
"coveralls": "^3.0.1", | ||
"eslint": "^4.19.1", | ||
"event-stream": "^3.3.4", | ||
"gulp-util": "^3.0.8", | ||
"istanbul": "^0.4.5", | ||
"mocha": "^2.5.3", | ||
"mocha-lcov-reporter": "^1.2.0" | ||
"mocha": "^5.2.0", | ||
"mocha-lcov-reporter": "^1.3.0" | ||
}, | ||
@@ -35,3 +34,6 @@ "keywords": [ | ||
"gulpplugin" | ||
], | ||
"files": [ | ||
"src" | ||
] | ||
} |
@@ -6,4 +6,5 @@ # gulp-yaml-include | ||
[![npm version](https://img.shields.io/npm/v/gulp-yaml-include.svg)](https://www.npmjs.com/package/gulp-yaml-include) | ||
[![Build Status](https://img.shields.io/travis/aaharu/gulp-yaml-include.svg)](https://travis-ci.org/aaharu/gulp-yaml-include) [![Coverage Status](https://img.shields.io/coveralls/aaharu/gulp-yaml-include.svg)](https://coveralls.io/github/aaharu/gulp-yaml-include?branch=master) [![Dependency Status](https://img.shields.io/gemnasium/aaharu/gulp-yaml-include.svg)](https://gemnasium.com/aaharu/gulp-yaml-include) | ||
[![Build Status](https://img.shields.io/travis/aaharu/gulp-yaml-include.svg)](https://travis-ci.org/aaharu/gulp-yaml-include) [![Coverage Status](https://img.shields.io/coveralls/aaharu/gulp-yaml-include.svg)](https://coveralls.io/github/aaharu/gulp-yaml-include?branch=master) [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Faaharu%2Fgulp-yaml-include.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Faaharu%2Fgulp-yaml-include?ref=badge_shield) | ||
## Usage | ||
@@ -56,1 +57,4 @@ | ||
BSD-2-Clause | ||
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Faaharu%2Fgulp-yaml-include.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Faaharu%2Fgulp-yaml-include?ref=badge_large) |
@@ -0,1 +1,14 @@ | ||
/*! | ||
* @license gulp-yaml-include (c) 2015 aaharu | ||
* Copyrights licensed under the 2-clause BSD License. See the accompanying LICENSE file for terms. | ||
* | ||
* Includes: | ||
* - through2 | ||
* Copyright (c) 2016 Rod Vagg (the "Original Author") and additional contributors | ||
* - js-yaml | ||
* Copyright (C) 2011-2015 by Vitaly Puzrin | ||
* - yaml-include | ||
* Copyright (c) 2015, Clay Loveless | ||
*/ | ||
"use strict"; | ||
@@ -21,3 +34,3 @@ | ||
}); | ||
file.contents = new Buffer(yaml.dump(yml), enc); | ||
file.contents = Buffer.from(yaml.dump(yml), enc); | ||
} | ||
@@ -24,0 +37,0 @@ if (file.isStream()) { |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
59
0
5702
5
44