Comparing version 2.2.1 to 3.0.0
@@ -7,3 +7,2 @@ 'use strict'; | ||
var File = gutil.File; | ||
var extend = require('lodash').extend; | ||
@@ -23,3 +22,3 @@ /** | ||
var buffer = {}; | ||
options = extend({ | ||
options = Object.assign({ | ||
baseUrl: '', | ||
@@ -46,3 +45,3 @@ sort: 'url' | ||
} | ||
file.data = extend({ url: cleanUrl(file), dirtyUrl: url(file) }, file.data || {}); | ||
file.data = Object.assign({ url: cleanUrl(file), dirtyUrl: url(file) }, file.data || {}); | ||
buffer[cleanUrl(file)] = file; | ||
@@ -60,3 +59,3 @@ } | ||
var file = buffer[url]; | ||
file.data = extend({ | ||
file.data = Object.assign({ | ||
root: buffer[options.baseUrl] || null, | ||
@@ -63,0 +62,0 @@ parent: parent(url), |
{ | ||
"name": "gulp-ssg", | ||
"version": "2.2.1", | ||
"version": "3.0.0", | ||
"main": "index.js", | ||
@@ -20,26 +20,21 @@ "homepage": "https://github.com/paulwib/gulp-ssg", | ||
"dependencies": { | ||
"lodash": "~3.6.0", | ||
"gulp-util": "~3.0.1", | ||
"through": "~2.3.4" | ||
"gulp-util": "^3.0.1", | ||
"through": "^2.3.4" | ||
}, | ||
"devDependencies": { | ||
"chai": "~1.9.0", | ||
"del": "^1.1.1", | ||
"gray-matter": "^1.3.0", | ||
"chai": "^3.0.0", | ||
"del": "^2.0.0", | ||
"gray-matter": "^2.0.0", | ||
"gulp-data": "^1.2.0", | ||
"gulp-markdown": "^1.0.0", | ||
"gulp-rename": "^1.2.0", | ||
"gulp-wrap": "^0.11.0", | ||
"hogan.js": "^3.0.2", | ||
"mocha": "~2.0.1", | ||
"mversion": "^1.6.1" | ||
"gulp-wrap": "^0.13.0", | ||
"hogan.js": "^3.0.0", | ||
"mocha": "^3.0.0" | ||
}, | ||
"engines": { | ||
"node": ">=0.9" | ||
"node": ">=4" | ||
}, | ||
"scripts": { | ||
"test": "./node_modules/mocha/bin/mocha", | ||
"release-patch": "./node_modules/.bin/mversion patch -m 'Released patch version v%s'", | ||
"release-minor": "./node_modules/.bin/mversion minor -m 'Released minor version v%s'", | ||
"release-major": "./node_modules/.bin/mversion major -m 'Released major version v%s'" | ||
"test": "./node_modules/mocha/bin/mocha" | ||
}, | ||
@@ -46,0 +41,0 @@ "keywords": [ |
@@ -110,3 +110,3 @@ [gulp][]-ssg [![NPM version][npm-image]][npm-url] [![Dependency Status][depstat-image]][depstat-url] [![Build Status][travis-image]][travis-url] | ||
[travis-image]: http://img.shields.io/travis/paulwib/gulp-ssg/master.svg?style=flat | ||
[travis-image]: https://travis-ci.org/paulwib/gulp-ssg.svg?branch=master | ||
[travis-url]: https://travis-ci.org/paulwib/gulp-ssg |
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
2
9
23773
480
- Removedlodash@~3.6.0
- Removedlodash@3.6.0(transitive)
Updatedgulp-util@^3.0.1
Updatedthrough@^2.3.4