Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

umzug

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

umzug - npm Package Compare versions

Comparing version 1.2.3 to 1.2.4

lib/helper.js

25

lib/migration.js
'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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc