New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-mysql78

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-mysql78 - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

2

package.json
{
"name": "node-mysql78",
"version": "2.0.2",
"version": "2.0.3",
"description": "node-mysql78",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -118,2 +118,17 @@ # node-mysql78

>>### Get a MySQL connection and do whatever you want and release the connection.
```
let con=await mysql78.getConnection( ) ;
//do something
await mysql78.releaseConnection(con);
```
>>### Adding log information
```
let up = new UpInfo().getGuest();//Simulated user upload
mysql78.isLog = true;
let back=await mysql78._addWarn("info info ", "kind", up) ;
//We can query the log by kind or apisys or apiobj or upid or upby...
```
***

@@ -120,0 +135,0 @@ >## 框架简要说明

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