Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mysqldump

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mysqldump - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

data.sql

5

index.js

@@ -80,2 +80,3 @@ var async = require('async');

ifNotExist:true,
autoIncrement:true,
dest:'./data.sql',

@@ -124,3 +125,5 @@ }

var r = data[i][0]['Create Table']+";";
resp.push(options.ifNotExist ? r.replace(/CREATE TABLE `/,'CREATE TABLE IF NOT EXISTS `') : r)
if(options.ifNotExist) r = r.replace(/CREATE TABLE `/,'CREATE TABLE IF NOT EXISTS `');
if(!options.autoIncrement) r = r.replace(/AUTO_INCREMENT=\d+ /g,'');
resp.push(r)
}

@@ -127,0 +130,0 @@ callback(err,resp);

2

package.json
{
"name": "mysqldump",
"version": "1.0.1",
"version": "1.0.2",
"description": "Create a DUMP from MySQL",

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

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