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.1.0 to 2.2.1

10

lib/index.d.ts

@@ -11,2 +11,12 @@ import type { Pool, PoolConfig } from 'mysql';

declare class MySQLBuilder extends Builder {
protected escapeMap: {
'\0': string;
'\b': string;
'\t': string;
'\n': string;
'\r': string;
'\u001A': string;
'\'': string;
'\\': string;
};
constructor(tables: Dict<Model>);

@@ -13,0 +23,0 @@ escape(value: any, field?: Field<any>): string;

@@ -113,2 +113,12 @@ "use strict";

super(tables);
this.escapeMap = {
"\0": "\\0",
"\b": "\\b",
" ": "\\t",
"\n": "\\n",
"\r": "\\r",
"": "\\Z",
"'": "\\'",
"\\": "\\\\"
};
this.define({

@@ -115,0 +125,0 @@ types: ["list"],

6

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

@@ -28,3 +28,3 @@ "main": "lib/index.js",

"peerDependencies": {
"@minatojs/core": "^2.1.0"
"@minatojs/core": "^2.1.1"
},

@@ -36,3 +36,3 @@ "devDependencies": {

"dependencies": {
"@minatojs/sql-utils": "^2.0.1",
"@minatojs/sql-utils": "^3.0.0",
"@vlasky/mysql": "^2.18.5",

@@ -39,0 +39,0 @@ "cosmokit": "^1.4.0",

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