Socket
Socket
Sign inDemoInstall

tedious

Package Overview
Dependencies
Maintainers
7
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 9.1.0 to 9.1.1

2

lib/bulk-load.js

@@ -24,3 +24,3 @@ "use strict";

function _createForOfIteratorHelper(o) { if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (o = _unsupportedIterableToArray(o))) { var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var it, normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }

@@ -27,0 +27,0 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }

@@ -16,2 +16,4 @@ "use strict";

var _errors = require("./errors");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -62,2 +64,6 @@

if (length < _packet.HEADER_LENGTH) {
return callback(new _errors.ConnectionError('Unable to process incoming packet'));
}
if (this.bl.length >= length) {

@@ -64,0 +70,0 @@ const data = this.bl.slice(0, length);

@@ -50,2 +50,5 @@ "use strict";

});
this.incomingMessageStream.on('error', message => {
this.emit('error', message);
});
this.outgoingMessageStream = new _outgoingMessageStream.default(this.debug, {

@@ -52,0 +55,0 @@ packetSize: packetSize

@@ -30,3 +30,3 @@ {

"license": "MIT",
"version": "9.1.0",
"version": "9.1.1",
"main": "./lib/tedious.js",

@@ -45,7 +45,7 @@ "repository": {

"@azure/ms-rest-nodeauth": "2.0.2",
"@js-joda/core": "^2.0.0",
"@js-joda/core": "^3.1.0",
"bl": "^3.0.0",
"depd": "^2.0.0",
"iconv-lite": "^0.5.0",
"jsbi": "^3.1.1",
"iconv-lite": "^0.6.2",
"jsbi": "^3.1.3",
"native-duplexpair": "^1.0.0",

@@ -57,18 +57,18 @@ "punycode": "^2.1.0",

"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.6",
"@babel/node": "^7.8.7",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.9.6",
"@babel/preset-typescript": "^7.9.0",
"@babel/register": "^7.9.0",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@commitlint/travis-cli": "^8.3.5",
"@babel/cli": "^7.10.5",
"@babel/core": "^7.11.1",
"@babel/node": "^7.10.5",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/preset-env": "^7.11.0",
"@babel/preset-typescript": "^7.10.4",
"@babel/register": "^7.10.5",
"@commitlint/cli": "^9.1.2",
"@commitlint/config-conventional": "^9.1.1",
"@commitlint/travis-cli": "^9.1.1",
"@types/bl": "^2.1.0",
"@types/chai": "^4.2.11",
"@types/chai": "^4.2.12",
"@types/depd": "^1.1.32",
"@types/mocha": "^7.0.2",
"@types/node": "^13.5.1",
"@types/readable-stream": "^2.3.5",
"@types/node": "^14.0.27",
"@types/readable-stream": "^2.3.9",
"@types/sprintf-js": "^1.1.2",

@@ -80,12 +80,12 @@ "@typescript-eslint/eslint-plugin": "^2.18.0",

"chai": "^4.1.2",
"codecov": "^3.6.1",
"codecov": "^3.7.2",
"eslint": "^5.16.0",
"mitm": "^1.7.0",
"mocha": "^6.2.2",
"mitm": "^1.7.1",
"mocha": "^6.2.3",
"nyc": "^14.1.1",
"rimraf": "^3.0.0",
"rimraf": "^3.0.2",
"semantic-release": "^17.0.1",
"sinon": "^7.5.0",
"typedoc": "^0.17.0-3",
"typescript": "^3.8.3"
"typescript": "^3.9.7"
},

@@ -92,0 +92,0 @@ "scripts": {

Sorry, the diff of this file is too big to display

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