New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@minatojs/driver-mysql

Package Overview
Dependencies
Maintainers
2
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@minatojs/driver-mysql - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

5

lib/index.js

@@ -86,2 +86,4 @@ "use strict";

const typename = def.split(/[ (]/)[0];
if (typename === "text")
return !column.DATA_TYPE.endsWith("text");
if (typename !== column.DATA_TYPE)

@@ -97,3 +99,3 @@ return true;

case "json":
return !!field.length && column.CHARACTER_MAXIMUM_LENGTH !== field.length;
return !!field.length && !!column.CHARACTER_MAXIMUM_LENGTH && column.CHARACTER_MAXIMUM_LENGTH !== field.length;
case "decimal":

@@ -265,2 +267,3 @@ return column.NUMERIC_PRECISION !== field.precision || column.NUMERIC_SCALE !== field.scale;

logger.info("auto updating table %c", name);
console.log(operations);
await this.queue(`ALTER TABLE ?? ${operations.join(", ")}`, [name]);

@@ -267,0 +270,0 @@ }

2

package.json
{
"name": "@minatojs/driver-mysql",
"version": "2.0.3",
"version": "2.0.4",
"description": "MySQL Driver for Minato",

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

Sorry, the diff of this file is not supported yet

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