Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Feb 29, 2024 via pnpm
Package summary
Share
7
issues
3
high severity
license
1
meta
2
4
moderate severity
vulnerability
4
8
licenses
124
MIT
10
ISC
6
Apache-2.0
10
other licenses
BSD-3-Clause
5
0BSD
2
(MIT OR WTFPL)
1
(BSD-2-Clause OR MIT OR Apache-2.0)
1
+ 1 more
Package created
10 Aug 2013
Version published
19 Aug 2021
Maintainers
4
Total deps
150
Direct deps
5
License
MIT

Issues

7

3 high severity issues

high
Recommendation: Validate that the license expression complies with your license policy
via: tedious@11.8.0
via: tedious@11.8.0
via: tedious@11.8.0
Collapse
Expand

4 moderate severity issues

moderate
Recommendation: Upgrade to version 9.0.0 or later
via: tedious@11.8.0
Recommendation: Upgrade to version 9.0.0 or later
via: tedious@11.8.0
Recommendation: Upgrade to version 9.0.0 or later
via: tedious@11.8.0
Recommendation: Upgrade to version 0.28.0 or later
via: tedious@11.8.0
Collapse
Expand

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
124 Packages, Including:
@azure/abort-controller@1.1.0
@azure/abort-controller@2.0.0
@azure/core-auth@1.6.0
@azure/core-client@1.8.0
@azure/core-http-compat@2.0.1
@azure/core-lro@2.6.0
@azure/core-paging@1.5.0
@azure/core-rest-pipeline@1.14.0
@azure/core-tracing@1.0.0-preview.12
@azure/core-tracing@1.0.1
@azure/core-util@1.7.0
@azure/identity@1.5.2
@azure/keyvault-keys@4.8.0
@azure/logger@1.0.4
@azure/ms-rest-azure-env@2.0.0
@azure/ms-rest-js@2.7.0
@azure/ms-rest-nodeauth@3.1.1
@azure/msal-common@4.5.1
@azure/msal-node@1.0.0-beta.6
@tediousjs/connection-string@0.3.0
@tootallnate/once@2.0.0
@types/node@20.11.24
@types/stoppable@1.1.3
@xmldom/xmldom@0.8.10
abort-controller@3.0.0
agent-base@6.0.2
async@2.6.4
asynckit@0.4.0
axios@0.21.4
base64-js@1.5.1
bl@4.1.0
bl@5.1.0
buffer@5.7.1
buffer@6.0.3
call-bind@1.0.7
combined-stream@1.0.8
date-utils@1.2.21
debug@4.3.4
decompress-response@6.0.0
deep-extend@0.6.0
define-data-property@1.1.4
delayed-stream@1.0.0
depd@2.0.0
end-of-stream@1.4.4
es-define-property@1.0.0
es-errors@1.3.0
event-target-shim@5.0.1
events@3.3.0
follow-redirects@1.15.5
form-data@2.5.1

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
10 Packages, Including:
chownr@1.1.4
inherits@2.0.4
ini@1.3.8
lru-cache@6.0.0
once@1.4.0
sax@1.3.0
semver@5.7.2
semver@7.6.0
wrappy@1.0.2
yallist@4.0.0

Apache License 2.0

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
use-patent-claims
place-warranty
Cannot
hold-liable
use-trademark
Must
include-copyright
include-license
state-changes
include-notice
6 Packages, Including:
@opentelemetry/api@1.8.0
adal-node@0.2.4
detect-libc@2.0.2
ecdsa-sig-formatter@1.0.11
jsbi@3.2.5
tunnel-agent@0.6.0

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
5 Packages, Including:
@js-joda/core@3.2.0
buffer-equal-constant-time@1.0.1
ieee754@1.2.1
qs@6.11.2
sprintf-js@1.1.3

BSD Zero Clause License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
include-copyright
include-license
include-original
Cannot
hold-liable
Must
2 Packages, Including:
tslib@1.14.1
tslib@2.6.2

(MIT OR WTFPL)

Permissive
1 Packages, Including:
expand-template@2.0.3

(BSD-2-Clause OR MIT OR Apache-2.0)

Expression
1 Packages, Including:
rc@1.2.8

BSD 2-Clause "Simplified" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
webidl-conversions@3.0.1
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

5
All Dependencies CSV
β“˜ This is a list of mssql 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
@tediousjs/connection-string0.3.04.43 kBMIT
prod
debug4.3.412.94 kBMIT
prod peer
rfdc1.3.16.04 kBMIT
prod
tarn3.0.210.6 kBMIT
prod
tedious11.8.092.31 kBMIT
prod
3
4

Visualizations

Frequently Asked Questions

What does mssql do?

MSSQL is a popular npm package that serves as a Microsoft SQL Server client for Node.js. It allows Node.js applications to interact with SQL Server databases, streamline database queries, and enact safe handling of different data types.

How do you use mssql?

Here are some examples of how you can use mssql:

Installation:

npm install mssql

Connect to Microsoft SQL Server using a connection string:

const sql = require('mssql')

async () => {
    try {
        await sql.connect('Server=localhost,1433;Database=database;User Id=username;Password=password;Encrypt=true')
        const result = await sql.query`select * from mytable where id = ${value}`
        console.dir(result)
    } catch (err) {
        // error checks
    }
}

Or, use a configuration object to connect to the database:

const sql = require('mssql')
const sqlConfig = {
  user: process.env.DB_USER,
  password: process.env.DB_PWD,
  database: process.env.DB_NAME,
  server: 'localhost',
  pool: {
    max: 10,
    min: 0,
    idleTimeoutMillis: 30000
  },
  options: {
    encrypt: true, // for azure
    trustServerCertificate: false // change to true for local dev/self-signed certs
  }
}

async () => {
 try {
  await sql.connect(sqlConfig)
  const result = await sql.query`select * from mytable where id = ${value}`
  console.dir(result)
 } catch (err) {
  // ... error checks
 }
}

Where are the mssql docs?

The comprehensive documentation for mssql is available directly on the GitHub page of the project: git+https://github.com/tediousjs/node-mssql.git. This provides detailed sections on different features, functionalities, methods, and classes available in the npm package, along with examples and instructions for different scenarios.