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

tedious

Package Overview
Dependencies
Maintainers
4
Versions
227
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tedious - npm Package Compare versions

Comparing version 1.3.2 to 1.3.3

20

lib/bulk-load.js

@@ -94,3 +94,3 @@ // Generated by CoffeeScript 1.7.1

BulkLoad.prototype.getSql = function() {
BulkLoad.prototype.getBulkInsertSql = function() {
var c, i, sql, _i, _len, _ref;

@@ -110,2 +110,20 @@ sql = 'insert bulk ' + this.table + '(';

BulkLoad.prototype.getTableCreationSql = function() {
var c, i, sql, _i, _len, _ref;
sql = 'CREATE TABLE ' + this.table + '(\n';
_ref = this.columns;
for (i = _i = 0, _len = _ref.length; _i < _len; i = ++_i) {
c = _ref[i];
if (i !== 0) {
sql += ',\n';
}
sql += "[" + c.name + "] " + (c.type.declaration(c));
if (c.nullable !== void 0) {
sql += " " + (c.nullable ? "NULL" : "NOT NULL");
}
}
sql += '\n)';
return sql;
};
BulkLoad.prototype.getPayload = function() {

@@ -112,0 +130,0 @@ var done, length, metaData, payload, rows, status, tBuf;

2

lib/connection.js

@@ -865,3 +865,3 @@ // Generated by CoffeeScript 1.7.1

var request;
request = new Request(bulkLoad.getSql(), (function(_this) {
request = new Request(bulkLoad.getBulkInsertSql(), (function(_this) {
return function(error) {

@@ -868,0 +868,0 @@ if (error) {

@@ -29,3 +29,3 @@ {

],
"version": "1.3.2",
"version": "1.3.3",
"main": "./lib/tedious.js",

@@ -32,0 +32,0 @@ "repository": {

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