long-task-queue-reader 0.7.1 → 0.7.3-test.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/CHANGELOG.md ADDED
@@ -0,0 +1,6 @@
1
+ ## [0.7.3-test.1](https://github.com/Parsimotion/long-task-queue-reader/compare/v0.7.2...v0.7.3-test.1) (2025-05-26)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **test:** test pre-release ([8a8ffbd](https://github.com/Parsimotion/long-task-queue-reader/commit/8a8ffbdde664d6b1bc7f650752407b93e082ea73))
@@ -40,7 +40,7 @@
40
40
  "job_error": function(arg) {
41
41
  var err, message, method;
42
42
  method = arg.method, message = arg.message, err = arg.err;
43
- return logger.error("An error has ocurred in " + method + "(" + (message.messageId || message.MessageId) + ")", err);
43
+ return logger.error("An error has ocurred in " + method + "(" + ((message != null ? message.messageId : void 0) || (message != null ? message.MessageId : void 0)) + ")", err);
44
44
  }
45
45
  };
46
46
  };
@@ -148,7 +148,8 @@
148
148
  return function(err) {
149
149
  return _this.emit("job_error", {
150
150
  method: "_execute",
151
- err: err
151
+ err: err,
152
+ message: message
152
153
  });
153
154
  };
154
155
  })(this)).tap(function() {
package/package.json CHANGED
@@ -1,17 +1,18 @@
1
1
  {
2
2
  "name": "long-task-queue-reader",
3
- "version": "0.7.1",
3
+ "version": "0.7.3-test.1",
4
4
  "description": "long-task-queue-reader",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "grunt test",
8
- "prepublish": "grunt build"
8
+ "build": "grunt build"
9
9
  },
10
10
  "repository": {
11
11
  "type": "git",
12
12
  "url": "git+https://github.com/Parsimotion/long-task-queue-reader.git"
13
13
  },
14
14
  "dependencies": {
15
+ "@producteca/releaseteca": "^1.2.0",
15
16
  "async": "~2.1.2",
16
17
  "aws-sdk": "^2.687.0",
17
18
  "azure-queue-node": "~1.1.0",
@@ -25,18 +26,26 @@
25
26
  "winston-cloudwatch": "^1.13.1"
26
27
  },
27
28
  "devDependencies": {
29
+ "@commitlint/cli": "^8.3.5",
30
+ "@commitlint/config-conventional": "^8.3.4",
28
31
  "coffee-script": "~1.11.0",
29
32
  "grunt": "~1.0.1",
30
33
  "grunt-bump": "~0.8.0",
31
34
  "grunt-contrib-clean": "~1.0.0",
32
35
  "grunt-contrib-coffee": "~1.0.0",
33
36
  "grunt-mocha-test": "~0.12.7",
37
+ "husky": "^3.1.0",
34
38
  "lodash": "^4.17.11",
35
39
  "mocha": "~3.0.2",
36
40
  "should": "~11.1.0",
37
41
  "should-sinon": "~0.0.5",
38
42
  "sinon": "~1.17.6"
39
43
  },
44
+ "husky": {
45
+ "hooks": {
46
+ "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
47
+ }
48
+ },
40
49
  "author": "Parsimotion",
41
50
  "license": "MIT",
42
51
  "bugs": {
@@ -1,14 +0,0 @@
1
- {
2
- "folders": [
3
- {
4
- "follow_symlinks": true,
5
- "path": ".",
6
- "folder_exclude_patterns": ["compiled","public",".*", "lib", "ci", "dist", "node_modules", "client/bower_components"],
7
- "file_exclude_patterns": ["asdf.*", "*.sublime-workspace"]
8
- }
9
- ],
10
- "settings": {
11
- "tab_size": 2,
12
- "translate_tabs_to_spaces": true
13
- }
14
- }