Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade msnodesqlv8 from 4.1.2 to 4.2.1 #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vladalanova
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

Snyk has created this PR to upgrade msnodesqlv8 from 4.1.2 to 4.2.1.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 2 versions ahead of your current version.

  • The recommended version was released on a month ago.

Release notes
Package name: msnodesqlv8
  • 4.2.1 - 2024-04-23
    description link
    next js example, note cant run driver on UI thread. todo-with-nextjs_msnodesqlv8
    using in typescript msnodesqlv8_ts_sample
    js example typings in IDE msnodesqlv8_yarn_sample
    using sequelize msnodesqlv8-sequelize
    1. release binaries for electron v29,v30 (v28 not supported) #324
    2. node v22 binaries
    3. patch PR from contributor on date parsing #318
    4. update packages to latest
    5. reworked typings to better interop with JS/TS
    import sql from 'msnodesqlv8'
    import Connection = MsNodeSqlV8.Connection
    import ConnectionPromises = MsNodeSqlV8.ConnectionPromises
    async function t() {
    const connectionString = "Driver={ODBC Driver 17 for SQL Server};Server=(localdb)\node;Database=scratch;Trusted_Connection=yes;"
    const con:Connection = await sql.promises.open(connectString)
    const promises:ConnectionPromises = con.promises
    const res = await promises.query('select @@ servername as server')
    console.log(JSON.stringify(res, null, 4))
    await con.promises.close()
    }

    t().then(() => {
    console.log('closed')
    })

    const connectionString = "Driver={ODBC Driver 17 for SQL Server};Server=(localdb)\node;Database=scratch;Trusted_Connection=yes;"

    const sql = require('msnodesqlv8')

    const query = 'SELECT top 2 * FROM syscolumns'

    async function runner() {
    console.log(using connection '<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">connectionString</span><span class="pl-kos">}</span></span>' run query '<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">query</span><span class="pl-kos">}</span></span>')
    const res = await sql.promises.query(connectionString, query)
    console.log(JSON.stringify(res, null, 4))
    }

    runner().then(() => {
    console.log('done.')
    }).catch(e => {
    console.error(e)
    })

    image

  • 4.2.0 - 2024-04-23

    Merge pull request #326 from TimelordUK/electron.v29

    Electron.v29

  • 4.1.2 - 2023-11-19

    NextJS patch

    please see https://github.com/TimelordUK/todo-with-nextjs_msnodesqlv8

    for a sample NextJS application using msnodesqlv8

from msnodesqlv8 GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade msnodesqlv8 from 4.1.2 to 4.2.1.

See this package in npm:
msnodesqlv8

See this project in Snyk:
https://app.snyk.io/org/lanovaia02y/project/4d11851f-ce46-4244-beb4-f1d0a2117b0c?utm_source=github&utm_medium=referral&page=upgrade-pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants