Huge News!Announcing our $40M Series B led by Abstract Ventures.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.7.4 to 2.7.5

2

lib/index.js

@@ -515,3 +515,3 @@ "use strict";

const output = builder.parseEval(expr, false);
const ref = inner.startsWith("(") && inner.endsWith(")") ? sel.ref : "";
const ref = (0, import_sql_utils.isBracketed)(inner) ? sel.ref : "";
const [data] = await this.queue(`SELECT ${output} AS value FROM ${inner} ${ref}`);

@@ -518,0 +518,0 @@ return builder.load(data.value);

{
"name": "@minatojs/driver-mysql",
"version": "2.7.4",
"version": "2.7.5",
"description": "MySQL Driver for Minato",

@@ -32,11 +32,11 @@ "main": "lib/index.js",

"devDependencies": {
"@minatojs/tests": "^1.8.4",
"@minatojs/tests": "^1.8.5",
"@types/mysql": "^2.15.24"
},
"dependencies": {
"@minatojs/sql-utils": "^4.2.1",
"@minatojs/sql-utils": "^4.2.2",
"@vlasky/mysql": "^2.18.6",
"cosmokit": "^1.5.1",
"cosmokit": "^1.5.2",
"reggol": "^1.6.3"
}
}

@@ -5,3 +5,3 @@ import { createPool, format } from '@vlasky/mysql'

import { Database, Driver, Eval, executeUpdate, Field, isEvalExpr, Model, RuntimeError, Selection } from '@minatojs/core'
import { Builder, escapeId } from '@minatojs/sql-utils'
import { Builder, escapeId, isBracketed } from '@minatojs/sql-utils'
import Logger from 'reggol'

@@ -539,3 +539,3 @@

const output = builder.parseEval(expr, false)
const ref = inner.startsWith('(') && inner.endsWith(')') ? sel.ref : ''
const ref = isBracketed(inner) ? sel.ref : ''
const [data] = await this.queue(`SELECT ${output} AS value FROM ${inner} ${ref}`)

@@ -542,0 +542,0 @@ return builder.load(data.value)

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