Socket
Socket
Sign inDemoInstall

feathers-knex-modeler

Package Overview
Dependencies
9
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.4.3 to 1.4.4

2

package.json
{
"name": "feathers-knex-modeler",
"version": "1.4.3",
"version": "1.4.4",
"description": "This package allows you to easily extend a table while you are developing it without requiring you to drop tables.",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -109,5 +109,5 @@ /* eslint-disable no-console */

if (retries > 5) {
throw err
throw new Error(`hasColumn errored more than 5 times on table: ${tableName} column: ${columnName}.${err || ''}`)
} else {
self.hasColumn(tableName, columnName, retries)
return self.hasColumn(tableName, columnName, retries)
}

@@ -200,3 +200,3 @@ }

} catch (err) {
self.debug(err)
self.debug(`Alter column failed on column: ${column.name}. ${err || ''}`)
const alreadyExists = (err.message.indexOf('already exists') !== -1)

@@ -280,3 +280,2 @@ if (alreadyExists === false) {

} catch (err) {
console.log(err)
throw new Error('Failed creating columns', err)

@@ -283,0 +282,0 @@ }

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc