tedious 2.3.0 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/connection.js CHANGED
@@ -326,7 +326,7 @@ var Connection = function (_EventEmitter) {
326
326
  }
327
327
 
328
328
  if (config.options.port) {
329
- if (config.options.port < 0 || config.options.port > 65536) {
329
+ if (config.options.port <= 0 || config.options.port >= 65536) {
330
330
  throw new RangeError('Port must be > 0 and < 65536');
331
331
  }
332
332
 
package/package.json CHANGED
@@ -27,7 +27,7 @@
27
27
  "homepage": "https://github.com/tediousjs/tedious",
28
28
  "bugs": "https://github.com/tediousjs/tedious/issues",
29
29
  "license": "MIT",
30
- "version": "2.3.0",
30
+ "version": "2.3.1",
31
31
  "main": "./lib/tedious.js",
32
32
  "repository": {
33
33
  "type": "git",
@@ -62,7 +62,7 @@
62
62
  "mitm": "^1.3.2",
63
63
  "nodeunit": "^0.11.0",
64
64
  "rimraf": "^2.6.1",
65
- "semantic-release": "^6.3.2",
65
+ "semantic-release": "^12.2.5",
66
66
  "sinon": "^1.17.5"
67
67
  },
68
68
  "scripts": {
@@ -72,7 +72,7 @@
72
72
  "test-all": "nodeunit --reporter minimal test/setup.js test/unit/ test/unit/token/ test/unit/tracking-buffer test/integration/",
73
73
  "build": "rimraf lib && babel src --out-dir lib",
74
74
  "prepublish": "npm run build",
75
- "semantic-release": "semantic-release pre && npm publish && semantic-release post"
75
+ "semantic-release": "semantic-release"
76
76
  },
77
77
  "babel": {
78
78
  "presets": [
@@ -89,8 +89,5 @@
89
89
  "plugins": [
90
90
  "transform-runtime"
91
91
  ]
92
- },
93
- "release": {
94
- "verifyConditions": "semantic-release/src/lib/plugin-noop"
95
92
  }
96
- }
93
+ }