gulp-cortex-handlebars-compiler
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -16,2 +16,3 @@ 'use strict'; | ||
var ngraph = require('neuron-graph'); | ||
var semver = require('semver-extra'); | ||
@@ -107,2 +108,10 @@ function compiler (options){ | ||
var pr = process.env.CORTEX_BUILD_PRERELEASE; | ||
if (pr) { | ||
var s = semver.parse(pkg.version); | ||
s.prerelease.length = 0; | ||
s.prerelease.push(pr); | ||
pkg.version = s.format(); | ||
} | ||
self._read_graph(pkg, function (err, graph, shrinkwrap) { | ||
@@ -109,0 +118,0 @@ if (err) { |
{ | ||
"name": "gulp-cortex-handlebars-compiler", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Gulp task builder for cortex-handlebars-compiler", | ||
@@ -39,4 +39,5 @@ "main": "index.js", | ||
"read-cortex-json": "^2.0.0", | ||
"semver-extra": "^1.0.5", | ||
"through2": "^0.4.2" | ||
} | ||
} |
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
7437
140
8
3
+ Addedsemver-extra@^1.0.5
+ Addedsemver@3.0.1(transitive)
+ Addedsemver-extra@1.0.5(transitive)