Comparing version 1.2.3 to 1.2.4
'use strict'; | ||
var _path = require('path'); | ||
var Bluebird = require('bluebird'); | ||
var _path = require('path'); | ||
var helper = require('./helper'); | ||
var redefine = require('redefine'); | ||
@@ -16,14 +17,12 @@ | ||
if (this.path.match(/\.coffee$/)) { | ||
try { | ||
// 1.7.x compiler registration | ||
require('coffee-script/register'); | ||
} catch (e) { | ||
try { | ||
// Prior to 1.7.x compiler registration | ||
require('coffee-script'); | ||
} catch (e) { | ||
console.error('You have to add \"coffee-script\" to your package.json.'); | ||
process.exit(1); | ||
} | ||
} | ||
// 1.7.x compiler registration | ||
helper.resolve('coffee-script/register') || | ||
// Prior to 1.7.x compiler registration | ||
helper.resolve('coffee-script') || | ||
(function () { | ||
console.error('You have to add \"coffee-script\" to your package.json.'); | ||
process.exit(1); | ||
})(); | ||
} | ||
@@ -30,0 +29,0 @@ |
{ | ||
"name": "umzug", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "Framework agnostic migration tool for Node.JS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
77413
20
1860
13