Socket
Socket
Sign inDemoInstall

mssql

Package Overview
Dependencies
Maintainers
4
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mssql - npm Package Compare versions

Comparing version 7.3.4 to 7.3.5

4

CHANGELOG.txt

@@ -0,1 +1,5 @@

v7.3.5 (2022-05-27)
-------------------
[fix] quote identifiers in table constraint declaration ([#1397](https://github.com/tediousjs/node-mssql/pull/1397))
v7.3.4 (2022-05-18)

@@ -2,0 +6,0 @@ -------------------

2

lib/table.js

@@ -112,3 +112,3 @@ 'use strict'

const constraint = pkey.length > 1 ? `, constraint PK_${this.temporary ? this.name.substr(1) : this.name} primary key (${pkey.join(', ')})` : ''
const constraint = pkey.length > 1 ? `, constraint [PK_${this.temporary ? this.name.substr(1) : this.name}] primary key (${pkey.join(', ')})` : ''
return `create table ${this.path} (${cols.join(', ')}${constraint})`

@@ -115,0 +115,0 @@ }

@@ -24,3 +24,3 @@ {

],
"version": "7.3.4",
"version": "7.3.5",
"main": "index.js",

@@ -27,0 +27,0 @@ "repository": "github:tediousjs/node-mssql",

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